* [xen-unstable-smoke test] 183276: regressions - FAIL
@ 2023-10-06 3:32 osstest service owner
2023-10-06 8:42 ` Roger Pau Monné
0 siblings, 1 reply; 2+ messages in thread
From: osstest service owner @ 2023-10-06 3:32 UTC (permalink / raw)
To: xen-devel
flight 183276 xen-unstable-smoke real [real]
flight 183279 xen-unstable-smoke real-retest [real]
http://logs.test-lab.xenproject.org/osstest/logs/183276/
http://logs.test-lab.xenproject.org/osstest/logs/183279/
Regressions :-(
Tests which did not succeed and are blocking,
including tests which could not be run:
test-armhf-armhf-xl 18 guest-start/debian.repeat fail REGR. vs. 183270
Tests which did not succeed, but are not blocking:
test-amd64-amd64-libvirt 15 migrate-support-check fail never pass
test-arm64-arm64-xl-xsm 15 migrate-support-check fail never pass
test-arm64-arm64-xl-xsm 16 saverestore-support-check fail never pass
test-armhf-armhf-xl 15 migrate-support-check fail never pass
test-armhf-armhf-xl 16 saverestore-support-check fail never pass
version targeted for testing:
xen 295514ff7550626de4fb5e43b51deb25d9331cd5
baseline version:
xen 02c98966360b76052779b0186784437af88f301e
Last test of basis 183270 2023-10-05 13:03:52 Z 0 days
Testing same since 183272 2023-10-05 16:00:24 Z 0 days 2 attempts
------------------------------------------------------------
People who touched revisions under test:
Jan Beulich <jbeulich@suse.com>
Julien Grall <jgrall@amazon.com>
Roger Pau Monne <roger.pau@citrix.com>
Roger Pau Monné <roger.pau@citrix.com>
Tamas K Lengyel <tamas@tklengyel.com>
jobs:
build-arm64-xsm pass
build-amd64 pass
build-armhf pass
build-amd64-libvirt pass
test-armhf-armhf-xl fail
test-arm64-arm64-xl-xsm pass
test-amd64-amd64-xl-qemuu-debianhvm-amd64 pass
test-amd64-amd64-libvirt pass
------------------------------------------------------------
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 295514ff7550626de4fb5e43b51deb25d9331cd5
Author: Jan Beulich <jbeulich@suse.com>
Date: Mon Oct 2 17:11:27 2023 +0200
common: convert vCPU info area registration
Switch to using map_guest_area(). Noteworthy differences from
map_vcpu_info():
- remote vCPU-s are paused rather than checked for being down (which in
principle can change right after the check),
- the domain lock is taken for a much smaller region,
- the error code for an attempt to re-register the area is now -EBUSY,
- we could in principle permit de-registration when no area was
previously registered (which would permit "probing", if necessary for
anything).
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Julien Grall <jgrall@amazon.com>
Release-acked-by: Henry Wang <Henry.Wang@arm.com>
commit 60e544a8c58fdc720de05f6a721178f9516436d1
Author: Jan Beulich <jbeulich@suse.com>
Date: Mon Oct 2 17:11:26 2023 +0200
x86: introduce GADDR based secondary time area registration alternative
The registration by virtual/linear address has downsides: The access is
expensive for HVM/PVH domains. Furthermore for 64-bit PV domains the area
is inaccessible (and hence cannot be updated by Xen) when in guest-user
mode.
Introduce a new vCPU operation allowing to register the secondary time
area by guest-physical address.
An at least theoretical downside to using physically registered areas is
that PV then won't see dirty (and perhaps also accessed) bits set in its
respective page table entries.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Julien Grall <jgrall@amazon.com>
Release-acked-by: Henry Wang <Henry.Wang@arm.com>
commit d5df44275e7af690ef18b56cc58762ce33a37149
Author: Jan Beulich <jbeulich@suse.com>
Date: Mon Oct 2 17:11:25 2023 +0200
domain: introduce GADDR based runstate area registration alternative
The registration by virtual/linear address has downsides: At least on
x86 the access is expensive for HVM/PVH domains. Furthermore for 64-bit
PV domains the area is inaccessible (and hence cannot be updated by Xen)
when in guest-user mode.
Introduce a new vCPU operation allowing to register the runstate area by
guest-physical address.
An at least theoretical downside to using physically registered areas is
that PV then won't see dirty (and perhaps also accessed) bits set in its
respective page table entries.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Julien Grall <jgrall@amazon.com>
Release-acked-by: Henry Wang <Henry.Wang@arm.com>
commit eadc288cbb0ddc432ff8c9c639fb25b7538325de
Author: Jan Beulich <jbeulich@suse.com>
Date: Mon Oct 2 17:11:24 2023 +0200
domain: map/unmap GADDR based shared guest areas
The registration by virtual/linear address has downsides: At least on
x86 the access is expensive for HVM/PVH domains. Furthermore for 64-bit
PV domains the areas are inaccessible (and hence cannot be updated by
Xen) when in guest-user mode, and for HVM guests they may be
inaccessible when Meltdown mitigations are in place. (There are yet
more issues.)
In preparation of the introduction of new vCPU operations allowing to
register the respective areas (one of the two is x86-specific) by
guest-physical address, flesh out the map/unmap functions.
Noteworthy differences from map_vcpu_info():
- areas can be registered more than once (and de-registered),
- remote vCPU-s are paused rather than checked for being down (which in
principle can change right after the check),
- the domain lock is taken for a much smaller region.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Julien Grall <jgrall@amazon.com>
Release-acked-by: Henry Wang <Henry.Wang@arm.com>
commit c4dde71e3e6961f817e2a574ce4918041cb30fb9
Author: Jan Beulich <jbeulich@suse.com>
Date: Wed Oct 4 15:53:31 2023 +0200
x86/mem-sharing: copy GADDR based shared guest areas
In preparation of the introduction of new vCPU operations allowing to
register the respective areas (one of the two is x86-specific) by
guest-physical address, add the necessary fork handling (with the
backing function yet to be filled in).
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Tamas K Lengyel <tamas@tklengyel.com>
Release-acked-by: Henry Wang <Henry.Wang@arm.com>
commit c2e285ea0e6dea9cc6f4578e49d76075a153baa0
Author: Jan Beulich <jbeulich@suse.com>
Date: Mon Oct 2 17:11:22 2023 +0200
x86: update GADDR based secondary time area
Before adding a new vCPU operation to register the secondary time area
by guest-physical address, add code to actually keep such areas up-to-
date.
Note that pages aren't marked dirty when written to (matching the
handling of space mapped by map_vcpu_info()), on the basis that the
registrations are lost anyway across migration (or would need re-
populating at the target for transparent migration). Plus the contents
of the areas in question have to be deemed volatile in the first place
(so saving a "most recent" value is pretty meaningless even for e.g.
snapshotting).
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Release-acked-by: Henry Wang <Henry.Wang@arm.com>
commit e1ddb822ca2e3c332d42d508e2a5fbd7be018815
Author: Jan Beulich <jbeulich@suse.com>
Date: Mon Oct 2 17:11:21 2023 +0200
domain: update GADDR based runstate guest area
Before adding a new vCPU operation to register the runstate area by
guest-physical address, add code to actually keep such areas up-to-date.
Note that updating of the area will be done exclusively following the
model enabled by VMASST_TYPE_runstate_update_flag for virtual-address
based registered areas.
Note further that pages aren't marked dirty when written to (matching
the handling of space mapped by map_vcpu_info()), on the basis that the
registrations are lost anyway across migration (or would need re-
populating at the target for transparent migration). Plus the contents
of the areas in question have to be deemed volatile in the first place
(so saving a "most recent" value is pretty meaningless even for e.g.
snapshotting).
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Julien Grall <jgrall@amazon.com>
Release-acked-by: Henry Wang <Henry.Wang@arm.com>
commit c4630e316240508f3fb619678adc4cfb47bf13d2
Author: Jan Beulich <jbeulich@suse.com>
Date: Mon Oct 2 17:11:20 2023 +0200
domain: GADDR based shared guest area registration alternative - teardown
In preparation of the introduction of new vCPU operations allowing to
register the respective areas (one of the two is x86-specific) by
guest-physical address, add the necessary domain cleanup hooks.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Julien Grall <jgrall@amazon.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
Release-acked-by: Henry Wang <Henry.Wang@arm.com>
commit 826da6e30cf37a22b3f32dba33477856125df91b
Author: Jan Beulich <jbeulich@suse.com>
Date: Mon Oct 2 17:11:19 2023 +0200
x86/shim: zap runstate and time area handles during shutdown
While likely the guest would just re-register the same areas after
a possible resume, let's not take this for granted and avoid the risk of
otherwise corrupting guest memory.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
Release-acked-by: Henry Wang <Henry.Wang@arm.com>
commit 9a499a84a2724757ad59b684e7858dfb60521290
Author: Roger Pau Monne <roger.pau@citrix.com>
Date: Mon Oct 2 17:11:18 2023 +0200
mem_sharing/fork: do not attempt to populate vcpu_info page
Instead let map_vcpu_info() and it's call to get_page_from_gfn()
populate the page in the child as needed. Also remove the bogus
copy_domain_page(): should be placed before the call to map_vcpu_info(),
as the later can update the contents of the vcpu_info page.
Note that this eliminates a bug in copy_vcpu_settings(): The function did
allocate a new page regardless of the GFN already having a mapping, thus in
particular breaking the case of two vCPU-s having their info areas on the same
page.
Fixes: 41548c5472a3 ('mem_sharing: VM forking')
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Tamas K Lengyel <tamas@tklengyel.com>
Release-acked-by: Henry Wang <Henry.Wang@arm.com>
(qemu changes not included)
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [xen-unstable-smoke test] 183276: regressions - FAIL
2023-10-06 3:32 [xen-unstable-smoke test] 183276: regressions - FAIL osstest service owner
@ 2023-10-06 8:42 ` Roger Pau Monné
0 siblings, 0 replies; 2+ messages in thread
From: Roger Pau Monné @ 2023-10-06 8:42 UTC (permalink / raw)
To: osstest service owner; +Cc: xen-devel
On Fri, Oct 06, 2023 at 03:32:00AM +0000, osstest service owner wrote:
> flight 183276 xen-unstable-smoke real [real]
> flight 183279 xen-unstable-smoke real-retest [real]
> http://logs.test-lab.xenproject.org/osstest/logs/183276/
> http://logs.test-lab.xenproject.org/osstest/logs/183279/
>
> Regressions :-(
>
> Tests which did not succeed and are blocking,
> including tests which could not be run:
> test-armhf-armhf-xl 18 guest-start/debian.repeat fail REGR. vs. 183270
We have an assert triggering:
Oct 6 02:37:53.413781 (XEN) Assertion 'IS_ALIGNED(s, PAGE_SIZE)' failed at arch/arm/mm.c:1243
Oct 6 02:37:54.325736 (XEN) ----[ Xen-4.18-rc arm32 debug=y Not tainted ]----
Oct 6 02:37:54.337773 (XEN) CPU: 0
Oct 6 02:37:54.337824 (XEN) PC: 00271a38 destroy_xen_mappings+0x50/0x5c
Oct 6 02:37:54.337891 (XEN) CPSR: 200b005a MODE:Hypervisor
Oct 6 02:37:54.337896 (XEN) R0: 10020340 R1: 10021340 R2: 00000021 R3: 00000340
Oct 6 02:37:54.349762 (XEN) R4: 43fea008 R5: 10020340 R6: 43fdf010 R7: 10020340
Oct 6 02:37:54.349814 (XEN) R8: be82e278 R9: db750000 R10:be82e278 R11:43fd7e04 R12:00000001
Oct 6 02:37:54.361680 (XEN) HYP: SP: 43fd7df4 LR: 00235aa8
Oct 6 02:37:54.361817 (XEN)
Oct 6 02:37:54.361830 (XEN) VTCR_EL2: 80003558
Oct 6 02:37:54.361830 (XEN) VTTBR_EL2: 00010000bef8a000
Oct 6 02:37:54.373811 (XEN)
Oct 6 02:37:54.373874 (XEN) SCTLR_EL2: 30cd187f
Oct 6 02:37:54.373919 (XEN) HCR_EL2: 007c663f
Oct 6 02:37:54.373963 (XEN) TTBR0_EL2: 000000004113b000
Oct 6 02:37:54.374007 (XEN)
Oct 6 02:37:54.374046 (XEN) ESR_EL2: 00000000
Oct 6 02:37:54.385729 (XEN) HPFAR_EL2: 00104810
Oct 6 02:37:54.385760 (XEN) HDFAR: e0800f00
Oct 6 02:37:54.385784 (XEN) HIFAR: c08b1490
Oct 6 02:37:54.385808 (XEN)
Oct 6 02:37:54.385829 (XEN) Xen stack trace from sp=43fd7df4:
Oct 6 02:37:54.397760 (XEN) 00000000 43fea008 02be1a40 43fd7e0c 0026ad88 43fd7e24 00208e38 43fdf000
Oct 6 02:37:54.397760 (XEN) 00000000 43fea000 c933e480 43fd7e3c 00208f98 43fdf000 b6fb4010 00000000
Oct 6 02:37:54.409834 (XEN) c933e480 43fd7f34 00239e3c 00007176 0000dc11 43ffc4d0 00000000 00000000
Oct 6 02:37:54.409843 (XEN) 0000ee6b 00002800 00000000 00000000 00000000 00000000 00000000 002b401c
Oct 6 02:37:54.421847 (XEN) 00000000 3b9aca00 cd3b5dc0 00000002 00000016 00000001 b6d0854c b6fbb898
Oct 6 02:37:54.433745 (XEN) 0051a3f0 00000000 005171d0 00000001 0051a3f0 00522398 b6fba490 b6f74018
Oct 6 02:37:54.433757 (XEN) b6fad480 b6fad940 00000000 00000001 b6a00ea0 be82e3c4 b6f9efa3 b6fb0348
Oct 6 02:37:54.445757 (XEN) 00000001 00000005 00000000 00000000 b6d0854c ffffffff 005188d0 00000001
Oct 6 02:37:54.445799 (XEN) 00520490 005199d0 00520484 0051aea0 b6fa304c 00521f68 00000001 43fd7f24
Oct 6 02:37:54.457800 (XEN) 43fdc000 43fd7f58 00000024 c933e480 be82e278 db750000 be82e278 43fd7f54
Oct 6 02:37:54.469777 (XEN) 0027ae34 c933e480 be82e278 db750000 00000000 c14751d9 00000000 43fd7f58
Oct 6 02:37:54.469843 (XEN) 002019f0 b6fb4010 00000000 00000000 00000000 00000000 c14751d9 00000000
Oct 6 02:37:54.481786 (XEN) c933e480 be82e278 db750000 be82e278 d7324398 00000024 ffffffff b6bba670
Oct 6 02:37:54.481851 (XEN) c030925c 600b0013 4a000ea1 be82e26c c1676f80 c0301a20 db751e44 c08362bc
Oct 6 02:37:54.493787 (XEN) c1676f8c c0301da0 c1676f98 c0301e60 00000000 00000000 00000000 00000000
Oct 6 02:37:54.505735 (XEN) 00000000 c1676fa4 c1676fa4 600b0013 200b0193 200d0093 600b0193 00000000
Oct 6 02:37:54.505802 (XEN) 00000000 00000000 00000001
Oct 6 02:37:54.505827 (XEN) Xen call trace:
Oct 6 02:37:54.517793 (XEN) [<00271a38>] destroy_xen_mappings+0x50/0x5c (PC)
Oct 6 02:37:54.517856 (XEN) [<00235aa8>] vunmap+0x30/0x1a0 (LR)
Oct 6 02:37:54.517902 (XEN) [<0026ad88>] unmap_domain_page_global+0x10/0x20
Oct 6 02:37:54.529782 (XEN) [<00208e38>] unmap_guest_area+0x90/0xec
Oct 6 02:37:54.529842 (XEN) [<00208f98>] domain_kill+0x104/0x180
Oct 6 02:37:54.529889 (XEN) [<00239e3c>] do_domctl+0x8ac/0x14fc
Oct 6 02:37:54.541775 (XEN) [<0027ae34>] do_trap_guest_sync+0x570/0x66c
Oct 6 02:37:54.541836 (XEN) [<002019f0>] arch/arm/arm32/entry.o#return_from_trap+0/0x4
Oct 6 02:37:54.553792 (XEN)
Oct 6 02:37:54.553852 (XEN)
Oct 6 02:37:54.553891 (XEN) ****************************************
Oct 6 02:37:54.553935 (XEN) Panic on CPU 0:
Oct 6 02:37:54.553977 (XEN) Assertion 'IS_ALIGNED(s, PAGE_SIZE)' failed at arch/arm/mm.c:1243
Oct 6 02:37:54.565724 (XEN) ****************************************
Oct 6 02:37:54.565755 (XEN)
Oct 6 02:37:54.565776 (XEN) Manual reset required ('noreboot' specified)
Looking into it right now.
Roger.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-10-06 8:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-06 3:32 [xen-unstable-smoke test] 183276: regressions - FAIL osstest service owner
2023-10-06 8:42 ` Roger Pau Monné
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.