115515: regressions - FAIL
osstest service owner
Acked-by Wei Liu Tested-by Julien Grall Reviewed-by Juergen Gross Reviewed-by Roger Pau Monné Acked-by Wei Liu Tested-by Julien Grall Reviewed-by Roger Pau Monné Acked-by Wei Liu Tested-by Julien Grall Acked-by Wei Liu Tested-by Julien Grall Reviewed-by Roger Pau Monné Acked-by Wei Liu Tested-by Julien Grallflight 115515 xen-unstable-smoke real [real]
http://logs.test-lab.xenproject.org/osstest/logs/115515/
Regressions :-(
Tests which did not succeed and are blocking,
including tests which could not be run:
test-amd64-amd64-libvirt 15 guest-saverestore fail REGR. vs. 115490
test-amd64-amd64-xl-qemuu-debianhvm-i386 13 guest-saverestore fail REGR. vs. 115490
Tests which did not succeed, but are not blocking:
test-amd64-amd64-libvirt 13 migrate-support-check fail never pass test-armhf-armhf-xl 13 migrate-support-check fail never pass test-armhf-armhf-xl 14 saverestore-support-check fail never pass
version targeted for testing:
xen 29028ed8db226ad3b7bc576c1e8891983acaa3ff
baseline version:
xen ff93dc55431517ed29c70dbff6721c6b0803acf9
Last test of basis 115490 2017-11-02 17:01:26 Z 0 days Testing same since 115497 2017-11-02 20:01:37 Z 0 days 6 attempts
------------------------------------------------------------
People who touched revisions under test:
Andrew Cooper <[email protected]>
Julien Grall <[email protected]>
Wei Liu <[email protected]>
jobs:
build-amd64 pass build-armhf pass build-amd64-libvirt pass test-armhf-armhf-xl pass test-amd64-amd64-xl-qemuu-debianhvm-i386 fail test-amd64-amd64-libvirt fail
------------------------------------------------------------
sg-report-flight on osstest.test-lab.xenproject.org
logs: /home/logs/logs
images: /home/logs/images
Logs, config files, etc. are available at
http://logs.test-lab.xenproject.org/osstest/logs
Explanation of these reports, and of osstest in general, is at
http://xenbits.xen.org/gitweb/?p=osstest.git;a=blob;f=README.email;hb=master
http://xenbits.xen.org/gitweb/?p=osstest.git;a=blob;f=README;hb=master
Test harness code can be found at
http://xenbits.xen.org/gitweb?p=osstest.git;a=summary
Not pushing.
------------------------------------------------------------
commit 29028ed8db226ad3b7bc576c1e8891983acaa3ff
Merge: 9ff6dbf ff93dc5
Author: Wei Liu <[email protected]>
Date: Thu Nov 2 17:07:58 2017 +0000
Merge remote-tracking branch 'origin/staging' into staging
commit 9ff6dbfa7576cc1c5d6f9a3c59c69a8503e36f11
Author: Andrew Cooper <[email protected]> Date: Thu Oct 12 20:19:09 2017 +0100
tools/dombuilder: Prevent failures of xc_dom_gnttab_init()
Recent changes in grant table configuration have caused calls to xc_dom_gnttab_init() to fail if not proceeded with a call to xc_domain_set_gnttab_limits(). This is backwards from the point of view of 3rd party dombuilder users.
Add max_{grant,maptrack}_frames parameters to struct xc_dom_image, and require them to be set by callers using xc_dom_gnttab_init(). Libxl, which uses xc_dom_gnttab_init() itself is updated appropriately.
commit 87b0ae7e8277d2fa13486ce2e11a941e55f8df40
Author: Andrew Cooper <[email protected]> Date: Thu Oct 12 20:19:08 2017 +0100
tools/dombuilder: Fix asymmetry when setting up console and xenstore rings
libxl always uses xc_dom_gnttab_init(), which internally calls xc_dom_gnttab{_hvm,}_seed() to set up the grants point at the console and xenstore rings. For HVM guests, libxl then asks Xen for the information set up previously, and calls xc_dom_gnttab_hvm_seed() a second time, which is wasteful. ARM construction expects libxl to have set up dom->{console,xenstore}_evtchn earlier, so only actually functions because of this second call.
Rationalise everything and make it consistent for all guests.
1) Users of the domain builder are expected to provide dom->{console,xenstore}_{evtchn,domid} unconditionally. This is checked by setting invalid values in xc_dom_allocate(), and checking in xc_dom_boot_image().
2) For x86 HVM and ARM guests, the event channels are given to Xen at the same time as the ring gfns. ARM already did this, but x86 is updated to match. x86 PV already provides this information in the start_info page.
3) Libxl is updated to drop all relevant functionality from hvm_build_set_params(), and behave consistently with PV guests when it comes to the handling of dom->{console,xenstore}_{evtchn,domid,gfn}.
This removes several redundant hypercalls (including a foreign mapping) from the x86 HVM and ARM construction paths.
commit f48b5449dabc770acdde6d25cfbd265cfb71034d
Author: Wei Liu <[email protected]> Date: Thu Oct 12 20:19:07 2017 +0100
tools/dombuilder: Switch to using gfn terminology for console and xenstore rings
The sole use of xc_dom_translated() and xc_dom_p2m() outside of the domain builder is for libxl_dom() to translate the console and xenstore pfns back into useful values. PV guest pfns are only interesting to the domain builder, and gfns are the address space used by all other hypercalls.
Renaming the fields in xc_dom_image is deliberate, as it will cause out-of-tree users of the dombuilder to notice the different semantics.
Correct the terminology throughout xc_dom_gnttab{_hvm,}_seed(), which are all using gfns despite the existing variable names.
commit 86cf189a957129ea1ad6468fe9a0887b9e2819f3
Author: Andrew Cooper <[email protected]> Date: Thu Oct 12 20:19:06 2017 +0100
tools/dombuilder: Remove clear_page() from xc_dom_boot.c
pfn 0 is a legitimate (albeit unlikely) frame to use, so skipping it is wrong. This behaviour appears to exists simply to cover the fact that zero is the default value of an uninitialised field in dom.
ARM already clears the frames at the point that the pfns are allocated, meaning that the added clear_page() is wasteful. Alter x86 to match ARM and clear the page when it is allocated.
commit 716273c94077e354194c7236623fe3dfa34572d3
Author: Andrew Cooper <[email protected]> Date: Thu Oct 12 20:19:05 2017 +0100
tools/dombuilder: Drop more PVH v1 leftovers
alloc_magic_pages() is renamed to alloc_magic_pages_pv() to mirror its alloc_magic_pages_hvm() counterpart. Delete a redundant comment, introduce some newlines clarity, and remove a logically dead allocation of shared info.
(qemu changes not included)
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Hi,
Quoted 11 lines · osstest service owner
flight 115515 xen-unstable-smoke real [real]
http://logs.test-lab.xenproject.org/osstest/logs/115515/Regressions :-(
Tests which did not succeed and are blocking,
including tests which could not be run:
test-amd64-amd64-libvirt 15 guest-saverestore fail REGR. vs. 115490
test-amd64-amd64-xl-qemuu-debianhvm-i386 13 guest-saverestore fail REGR. vs. 115490Tests which did not succeed, but are not blocking:
Quoted 8 lines
test-amd64-amd64-libvirt 13 migrate-support-check fail never pass test-armhf-armhf-xl 13 migrate-support-check fail never pass test-armhf-armhf-xl 14 saverestore-support-check fail never passversion targeted for testing:
xen29028ed8db226ad3b7bc576c1e8891983acaa3ff
baseline version:
xenff93dc55431517ed29c70dbff6721c6b0803acf9
The only difference between the two is the series from Andrew about the tools. Any idea, why it would break?
Cheers,
Quoted 172 lines
Last test of basis 115490 2017-11-02 17:01:26 Z 0 days Testing same since 115497 2017-11-02 20:01:37 Z 0 days 6 attempts------------------------------------------------------------
People who touched revisions under test:
Andrew Cooper <[email protected]>
Julien Grall <[email protected]>
Wei Liu <[email protected]>jobs:
build-amd64 pass build-armhf pass build-amd64-libvirt pass test-armhf-armhf-xl pass test-amd64-amd64-xl-qemuu-debianhvm-i386 fail test-amd64-amd64-libvirt fail------------------------------------------------------------
sg-report-flight on osstest.test-lab.xenproject.org
logs:/home/logs/logs
images:/home/logs/imagesLogs, config files, etc. are available at
http://logs.test-lab.xenproject.org/osstest/logsExplanation of these reports, and of osstest in general, is at
http://xenbits.xen.org/gitweb/?p=osstest.git;a=blob;f=README.email;hb=master
http://xenbits.xen.org/gitweb/?p=osstest.git;a=blob;f=README;hb=masterTest harness code can be found at
http://xenbits.xen.org/gitweb?p=osstest.git;a=summaryNot pushing.
------------------------------------------------------------
commit29028ed8db226ad3b7bc576c1e8891983acaa3ff
Merge: 9ff6dbf ff93dc5
Author: Wei Liu <[email protected]>
Date: Thu Nov 2 17:07:58 2017 +0000Merge remote-tracking branch 'origin/staging' into staging
commit
9ff6dbfa7576cc1c5d6f9a3c59c69a8503e36f11Author: Andrew Cooper <[email protected]> Date: Thu Oct 12 20:19:09 2017 +0100
tools/dombuilder: Prevent failures ofxc_dom_gnttab_init()Recent changes in grant table configuration have caused calls to
xc_dom_gnttab_init()to fail if not proceeded with a call toxc_domain_set_gnttab_limits(). This is backwards from the point of view of 3rd party dombuilder users.Add max_{grant,maptrack}_frames parameters to struct
xc_dom_image, and require them to be set by callers usingxc_dom_gnttab_init(). Libxl, which usesxc_dom_gnttab_init()itself is updated appropriately.Signed-off-by Andrew Cooper <[email protected]>Acked-by Wei Liu <[email protected]>Tested-by Julien Grall <[email protected]>Reviewed-by Juergen Gross <[email protected]>Release-acked-by Julien Grall <[email protected]>commit
87b0ae7e8277d2fa13486ce2e11a941e55f8df40Author: Andrew Cooper <[email protected]> Date: Thu Oct 12 20:19:08 2017 +0100
tools/dombuilder: Fix asymmetry when setting up console and xenstore ringslibxl always uses
xc_dom_gnttab_init(), which internally calls xc_dom_gnttab{_hvm,}_seed() to set up the grants point at the console and xenstore rings. For HVM guests, libxl then asks Xen for the information set up previously, and callsxc_dom_gnttab_hvm_seed()a second time, which is wasteful. ARM construction expects libxl to have set up dom->{console,xenstore}_evtchn earlier, so only actually functions because of this second call.Rationalise everything and make it consistent for all guests.
1) Users of the domain builder are expected to provide dom->{console,xenstore}_{evtchn,domid} unconditionally. This is checked by setting invalid values in
xc_dom_allocate(), and checking inxc_dom_boot_image().2) For x86 HVM and ARM guests, the event channels are given to Xen at the same time as the ring gfns. ARM already did this, but x86 is updated to match. x86 PV already provides this information in the
start_infopage.3) Libxl is updated to drop all relevant functionality from
hvm_build_set_params(), and behave consistently with PV guests when it comes to the handling of dom->{console,xenstore}_{evtchn,domid,gfn}.This removes several redundant hypercalls (including a foreign mapping) from the x86 HVM and ARM construction paths.
Signed-off-by Andrew Cooper <[email protected]>Reviewed-by Roger Pau Monné <[email protected]>Acked-by Wei Liu <[email protected]>Tested-by Julien Grall <[email protected]>Release-acked-by Julien Grall <[email protected]>commit
f48b5449dabc770acdde6d25cfbd265cfb71034dAuthor: Wei Liu <[email protected]> Date: Thu Oct 12 20:19:07 2017 +0100
tools/dombuilder: Switch to using gfn terminology for console and xenstore ringsThe sole use of
xc_dom_translated()andxc_dom_p2m()outside of the domain builder is forlibxl_dom()to translate the console and xenstore pfns back into useful values. PV guest pfns are only interesting to the domain builder, and gfns are the address space used by all other hypercalls.Renaming the fields in
xc_dom_imageis deliberate, as it will cause out-of-tree users of the dombuilder to notice the different semantics.Correct the terminology throughout xc_dom_gnttab{_hvm,}_seed(), which are all using gfns despite the existing variable names.
Signed-off-by Andrew Cooper <[email protected]>Reviewed-by Roger Pau Monné <[email protected]>Acked-by Wei Liu <[email protected]>Tested-by Julien Grall <[email protected]>Release-acked-by Julien Grall <[email protected]>[ wei: fix stubdom build ]Signed-off-by Wei Liu <[email protected]>commit
86cf189a957129ea1ad6468fe9a0887b9e2819f3Author: Andrew Cooper <[email protected]> Date: Thu Oct 12 20:19:06 2017 +0100
tools/dombuilder: Removeclear_page()fromxc_dom_boot.cpfn 0 is a legitimate (albeit unlikely) frame to use, so skipping it is wrong. This behaviour appears to exists simply to cover the fact that zero is the default value of an uninitialised field in dom.
ARM already clears the frames at the point that the pfns are allocated, meaning that the added
clear_page()is wasteful. Alter x86 to match ARM and clear the page when it is allocated.Signed-off-by Andrew Cooper <[email protected]>Acked-by Wei Liu <[email protected]>Tested-by Julien Grall <[email protected]>Release-acked-by Julien Grall <[email protected]>commit
716273c94077e354194c7236623fe3dfa34572d3Author: Andrew Cooper <[email protected]> Date: Thu Oct 12 20:19:05 2017 +0100
tools/dombuilder: Drop more PVH v1 leftovers
alloc_magic_pages()is renamed toalloc_magic_pages_pv()to mirror itsalloc_magic_pages_hvm()counterpart. Delete a redundant comment, introduce some newlines clarity, and remove a logically dead allocation of shared info.Signed-off-by Andrew Cooper <[email protected]>Reviewed-by Roger Pau Monné <[email protected]>Acked-by Wei Liu <[email protected]>Tested-by Julien Grall <[email protected]>Release-acked-by Julien Grall <[email protected]>(qemu changes not included)
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Signature · 6 lines
Julien Grall _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Quoted 18 lines · Julien Grall
Hi,
Quoted 15 lines · osstest service owner
flight 115515 xen-unstable-smoke real [real]
http://logs.test-lab.xenproject.org/osstest/logs/115515/Regressions :-(
Tests which did not succeed and are blocking,
including tests which could not be run:
test-amd64-amd64-libvirt 15 guest-saverestore fail REGR. vs. 115490
test-amd64-amd64-xl-qemuu-debianhvm-i386 13 guest-saverestore fail REGR. vs. 115490Tests which did not succeed, but are not blocking:
test-amd64-amd64-libvirt 13 migrate-support-check fail never pass test-armhf-armhf-xl 13 migrate-support-check fail never pass test-armhf-armhf-xl 14 saverestore-support-check fail never pass
Quoted 8 lines
Quoted 4 lines
version targeted for testing:
xen29028ed8db226ad3b7bc576c1e8891983acaa3ff
baseline version:
xenff93dc55431517ed29c70dbff6721c6b0803acf9The only difference between the two is the series from Andrew about the tools. Any idea, why it would break?
This
libxl-save-helper: debug: starting restore: Success
xc: detail: fd 9, dom 3, hvm 0, pae 0, stream_type 0
xc: info: Found x86 HVM domain from Xen 4.10
xc: info: Restoring domain
domainbuilder: detail: xc_dom_gnttab_hvm_seed: called, scratch gfn=0x148850
xc: error: panic: xc_dom_boot.c:392: xc_dom_gnttab_hvm_seed: failed to add gnttab to physmap [errno=22] : Internal error
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 30 lines · Wei Liu
Quoted 18 lines · Julien Grall
Hi,
Quoted 15 lines · osstest service owner
flight 115515 xen-unstable-smoke real [real]
http://logs.test-lab.xenproject.org/osstest/logs/115515/Regressions :-(
Tests which did not succeed and are blocking,
including tests which could not be run:
test-amd64-amd64-libvirt 15 guest-saverestore fail REGR. vs. 115490
test-amd64-amd64-xl-qemuu-debianhvm-i386 13 guest-saverestore fail REGR. vs. 115490Tests which did not succeed, but are not blocking:
test-amd64-amd64-libvirt 13 migrate-support-check fail never pass test-armhf-armhf-xl 13 migrate-support-check fail never pass test-armhf-armhf-xl 14 saverestore-support-check fail never passQuoted 8 lines
Quoted 4 lines
version targeted for testing:
xen29028ed8db226ad3b7bc576c1e8891983acaa3ff
baseline version:
xenff93dc55431517ed29c70dbff6721c6b0803acf9The only difference between the two is the series from Andrew about the tools. Any idea, why it would break?
This
Quoted 7 lines
libxl-save-helper: debug: starting restore: Success
xc: detail: fd 9, dom 3, hvm 0, pae 0,stream_type0
xc: info: Found x86 HVM domain from Xen 4.10
xc: info: Restoring domain
domainbuilder: detail:xc_dom_gnttab_hvm_seed: called, scratch gfn=0x148850
xc: error: panic: xc_dom_boot.c:392:xc_dom_gnttab_hvm_seed: failed to add gnttab to physmap [errno=22] : Internal error
My bisection shows the following commit is the culprit.
9ff6dbfa7576cc1c5d6f9a3c59c69a8503e36f11 is the first bad commit commit 9ff6dbfa7576cc1c5d6f9a3c59c69a8503e36f11
Author: Andrew Cooper <[email protected]> Date: Thu Oct 12 20:19:09 2017 +0100
tools/dombuilder: Prevent failures of xc_dom_gnttab_init()
Recent changes in grant table configuration have caused calls to xc_dom_gnttab_init() to fail if not proceeded with a call to xc_domain_set_gnttab_limits(). This is backwards from the point of view of 3rd party dombuilder users.
Add max_{grant,maptrack}_frames parameters to struct xc_dom_image, and require them to be set by callers using xc_dom_gnttab_init(). Libxl, which uses xc_dom_gnttab_init() itself is updated appropriately.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 58 lines · Wei Liu
Quoted 30 lines · Wei Liu
Quoted 18 lines · Julien Grall
Hi,
Quoted 15 lines · osstest service owner
flight 115515 xen-unstable-smoke real [real]
http://logs.test-lab.xenproject.org/osstest/logs/115515/Regressions :-(
Tests which did not succeed and are blocking,
including tests which could not be run:
test-amd64-amd64-libvirt 15 guest-saverestore fail REGR. vs. 115490
test-amd64-amd64-xl-qemuu-debianhvm-i386 13 guest-saverestore fail REGR. vs. 115490Tests which did not succeed, but are not blocking:
test-amd64-amd64-libvirt 13 migrate-support-check fail never pass test-armhf-armhf-xl 13 migrate-support-check fail never pass test-armhf-armhf-xl 14 saverestore-support-check fail never passQuoted 8 lines
Quoted 4 lines
version targeted for testing:
xen29028ed8db226ad3b7bc576c1e8891983acaa3ff
baseline version:
xenff93dc55431517ed29c70dbff6721c6b0803acf9The only difference between the two is the series from Andrew about the tools. Any idea, why it would break?
This
Quoted 7 lines
libxl-save-helper: debug: starting restore: Success
xc: detail: fd 9, dom 3, hvm 0, pae 0,stream_type0
xc: info: Found x86 HVM domain from Xen 4.10
xc: info: Restoring domain
domainbuilder: detail:xc_dom_gnttab_hvm_seed: called, scratch gfn=0x148850
xc: error: panic: xc_dom_boot.c:392:xc_dom_gnttab_hvm_seed: failed to add gnttab to physmap [errno=22] : Internal errorMy bisection shows the following commit is the culprit.
9ff6dbfa7576cc1c5d6f9a3c59c69a8503e36f11is the first bad commit commit9ff6dbfa7576cc1c5d6f9a3c59c69a8503e36f11Author: Andrew Cooper <[email protected]> Date: Thu Oct 12 20:19:09 2017 +0100
tools/dombuilder: Prevent failures ofxc_dom_gnttab_init()Recent changes in grant table configuration have caused calls to
xc_dom_gnttab_init()to fail if not proceeded with a call toxc_domain_set_gnttab_limits(). This is backwards from the point of view of 3rd party dombuilder users.Add max_{grant,maptrack}_frames parameters to struct
xc_dom_image, and require them to be set by callers usingxc_dom_gnttab_init(). Libxl, which usesxc_dom_gnttab_init()itself is updated appropriately.
Quoted 6 lines
Signed-off-by Andrew Cooper <[email protected]>Acked-by Wei Liu <[email protected]>Tested-by Julien Grall <[email protected]>Reviewed-by Juergen Gross <[email protected]>Release-acked-by Julien Grall <[email protected]>
I have reverted this since I won't have time to fix it this afternoon and I don't want to block the pushgate during w/e.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel