Skip to contentSkip to conversation

122785: regressions - FAIL

xen-4.9-testing test osstest service owner 1 participant 1 message May 16, 2018

lore
Share & tools
lore

osstest service owner

author Reviewed-by George Dunlap Reviewed-by Jan Beulich Reviewed-by Jan Beulich Reviewed-by Jan Beulich Reviewed-by Jan Beulich
#0 lore raw

flight 122785 xen-4.9-testing real [real]
http://logs.test-lab.xenproject.org/osstest/logs/122785/

Regressions :-(

Tests which did not succeed and are blocking,
including tests which could not be run:

 test-arm64-arm64-xl             <job status>                 broken  in 122710
 test-arm64-arm64-libvirt-xsm    <job status>                 broken  in 122710
 test-arm64-arm64-xl-credit2     <job status>                 broken  in 122710
 test-arm64-arm64-xl-xsm         <job status>                 broken  in 122710

test-amd64-amd64-xl-qemut-ws16-amd64 16 guest-localmigrate/x10 fail in 122659 REGR. vs. 122512

Tests which are failing intermittently (not blocking):
test-arm64-arm64-libvirt-xsm 4 host-install(4) broken in 122710 pass in 122785

 test-arm64-arm64-xl-xsm      4 host-install(4) broken in 122710 pass in 122785
 test-arm64-arm64-xl-credit2  4 host-install(4) broken in 122710 pass in 122785
 test-arm64-arm64-xl          4 host-install(4) broken in 122710 pass in 122785
 test-amd64-amd64-xl-credit2  12 guest-start      fail in 122659 pass in 122785
 test-amd64-amd64-xl          12 guest-start      fail in 122659 pass in 122785
 test-amd64-i386-pair       21 guest-start/debian fail in 122659 pass in 122785
 test-amd64-amd64-i386-pvgrub 11 guest-start      fail in 122659 pass in 122785
 test-amd64-amd64-xl-multivcpu 20 guest-start/debian.repeat fail in 122659 pass in 122785
 test-armhf-armhf-xl-xsm      12 guest-start      fail in 122659 pass in 122785
 test-amd64-i386-xl-qemut-debianhvm-amd64 16 guest-localmigrate/x10 fail in 122659 pass in 122785
 test-armhf-armhf-xl-arndale  17 guest-start.2    fail in 122659 pass in 122785
 test-amd64-amd64-xl-qemut-stubdom-debianhvm-amd64-xsm 18 guest-start/debianhvm.repeat fail in 122659 pass in 122785
 test-amd64-amd64-amd64-pvgrub 20 guest-start.2   fail in 122659 pass in 122785
 test-armhf-armhf-xl-credit2  12 guest-start      fail in 122659 pass in 122785
 test-armhf-armhf-libvirt-xsm 12 guest-start      fail in 122659 pass in 122785

test-amd64-i386-xl-qemut-ws16-amd64 16 guest-localmigrate/x10 fail in 122659 pass in 122785 test-armhf-armhf-xl-cubietruck 16 guest-start/debian.repeat fail in 122659 pass in 122785
test-armhf-armhf-xl-multivcpu 17 guest-start.2 fail in 122659 pass in 122785
test-armhf-armhf-libvirt 16 guest-start/debian.repeat fail in 122659 pass in 122785 test-amd64-amd64-xl-qemut-ws16-amd64 15 guest-saverestore.2 fail in 122710 pass in 122659 test-amd64-amd64-xl-qemuu-ovmf-amd64 16 guest-localmigrate/x10 fail pass in 122659
test-armhf-armhf-xl 7 xen-boot fail pass in 122710
test-amd64-amd64-xl-qemut-ws16-amd64 14 guest-localmigrate fail pass in 122710 test-amd64-amd64-rumprun-amd64 17 rumprun-demo-xenstorels/xenstorels.repeat fail pass in 122710
test-amd64-i386-xl-qemut-debianhvm-amd64 17 guest-stop fail pass in 122710

Tests which did not succeed, but are not blocking:
test-amd64-amd64-xl-qemuu-ws16-amd64 17 guest-stop fail blocked in 122512
test-amd64-i386-xl-qemut-win7-amd64 16 guest-localmigrate/x10 fail in 122659 like 122472 test-amd64-i386-xl-qemuu-debianhvm-amd64-xsm 16 guest-localmigrate/x10 fail in 122659 like 122512 test-amd64-amd64-xl-qemuu-ws16-amd64 16 guest-localmigrate/x10 fail in 122710 blocked in 122512 test-amd64-i386-xl-qemuu-ws16-amd64 18 guest-start/win.repeat fail in 122710 like 122417 test-amd64-amd64-xl-qemut-win7-amd64 16 guest-localmigrate/x10 fail in 122710 like 122472
test-amd64-i386-xl-qemuu-win7-amd64 17 guest-stop fail in 122710 like 122512
test-amd64-amd64-xl-qemuu-win7-amd64 16 guest-localmigrate/x10 fail in 122710 like 122512 test-armhf-armhf-xl-rtds 16 guest-start/debian.repeat fail in 122710 like 122512
test-armhf-armhf-xl-rtds 13 migrate-support-check fail in 122710 never pass
test-armhf-armhf-xl-rtds 14 saverestore-support-check fail in 122710 never pass
test-armhf-armhf-xl 13 migrate-support-check fail in 122710 never pass
test-armhf-armhf-xl 14 saverestore-support-check fail in 122710 never pass
test-amd64-amd64-xl-qemuu-win7-amd64 17 guest-stop fail like 122417
test-armhf-armhf-xl-rtds 12 guest-start fail like 122472
test-amd64-i386-xl-qemuu-win7-amd64 16 guest-localmigrate/x10 fail like 122472

 test-amd64-i386-xl-qemuu-ws16-amd64 17 guest-stop             fail like 122472
 test-amd64-i386-xl-qemut-ws16-amd64 17 guest-stop             fail like 122512
 test-amd64-amd64-xl-qemut-win7-amd64 17 guest-stop            fail like 122512
 test-amd64-i386-xl-qemut-win7-amd64 17 guest-stop             fail like 122512
 test-amd64-amd64-libvirt     13 migrate-support-check        fail   never pass
 test-amd64-i386-libvirt      13 migrate-support-check        fail   never pass
 test-amd64-amd64-libvirt-xsm 13 migrate-support-check        fail   never pass
 test-amd64-i386-libvirt-xsm  13 migrate-support-check        fail   never pass
 test-arm64-arm64-xl-credit2  13 migrate-support-check        fail   never pass
 test-arm64-arm64-xl-credit2  14 saverestore-support-check    fail   never pass
 test-arm64-arm64-xl-xsm      13 migrate-support-check        fail   never pass
 test-arm64-arm64-xl-xsm      14 saverestore-support-check    fail   never pass
 test-arm64-arm64-libvirt-xsm 13 migrate-support-check        fail   never pass
 test-arm64-arm64-libvirt-xsm 14 saverestore-support-check    fail   never pass
 test-arm64-arm64-xl          13 migrate-support-check        fail   never pass
 test-arm64-arm64-xl          14 saverestore-support-check    fail   never pass
 test-amd64-i386-libvirt-qemuu-debianhvm-amd64-xsm 11 migrate-support-check fail never pass
 test-amd64-amd64-libvirt-qemuu-debianhvm-amd64-xsm 11 migrate-support-check fail never pass
 test-armhf-armhf-xl-arndale  13 migrate-support-check        fail   never pass
 test-armhf-armhf-xl-arndale  14 saverestore-support-check    fail   never pass
 test-armhf-armhf-xl-xsm      13 migrate-support-check        fail   never pass
 test-armhf-armhf-xl-xsm      14 saverestore-support-check    fail   never pass
 test-amd64-amd64-qemuu-nested-amd 17 debian-hvm-install/l1/l2  fail never pass
 test-amd64-amd64-libvirt-vhd 12 migrate-support-check        fail   never pass
 test-armhf-armhf-xl-multivcpu 13 migrate-support-check        fail  never pass
 test-armhf-armhf-xl-multivcpu 14 saverestore-support-check    fail  never pass
 test-armhf-armhf-libvirt     13 migrate-support-check        fail   never pass
 test-armhf-armhf-libvirt     14 saverestore-support-check    fail   never pass
 test-armhf-armhf-xl-credit2  13 migrate-support-check        fail   never pass
 test-armhf-armhf-xl-credit2  14 saverestore-support-check    fail   never pass
 test-armhf-armhf-xl-cubietruck 13 migrate-support-check        fail never pass
 test-armhf-armhf-xl-cubietruck 14 saverestore-support-check    fail never pass
 test-armhf-armhf-libvirt-xsm 13 migrate-support-check        fail   never pass
 test-armhf-armhf-libvirt-xsm 14 saverestore-support-check    fail   never pass
 test-armhf-armhf-libvirt-raw 12 migrate-support-check        fail   never pass
 test-armhf-armhf-libvirt-raw 13 saverestore-support-check    fail   never pass
 test-armhf-armhf-xl-vhd      12 migrate-support-check        fail   never pass
 test-armhf-armhf-xl-vhd      13 saverestore-support-check    fail   never pass
 test-amd64-amd64-xl-qemut-win10-i386 10 windows-install        fail never pass
 test-amd64-i386-xl-qemuu-win10-i386 10 windows-install         fail never pass
 test-amd64-i386-xl-qemut-win10-i386 10 windows-install         fail never pass
 test-amd64-amd64-xl-qemuu-win10-i386 10 windows-install        fail never pass

version targeted for testing:
xen dbb06d3bfc9ea8856a8cc864d62b924afe2a7d9e
baseline version:
xen 7866e115f9c624b0669997fcc393b489ef3c38a2

Last test of basis   122512  2018-04-29 11:10:59 Z   17 days
Testing same since   122659  2018-05-08 17:36:27 Z    7 days    3 attempts

------------------------------------------------------------
People who touched revisions under test:
Andrew Cooper <[email protected]> Jan Beulich <[email protected]>
Roger Pau Monné <[email protected]>
Xen Project Security Team <[email protected]>

jobs:

 build-amd64-xsm                                              pass    
 build-arm64-xsm                                              pass    
 build-armhf-xsm                                              pass    
 build-i386-xsm                                               pass    
 build-amd64-xtf                                              pass    
 build-amd64                                                  pass    
 build-arm64                                                  pass    
 build-armhf                                                  pass    
 build-i386                                                   pass    
 build-amd64-libvirt                                          pass    
 build-arm64-libvirt                                          pass    
 build-armhf-libvirt                                          pass    
 build-i386-libvirt                                           pass    
 build-amd64-prev                                             pass    
 build-i386-prev                                              pass    
 build-amd64-pvops                                            pass    
 build-arm64-pvops                                            pass    
 build-armhf-pvops                                            pass    
 build-i386-pvops                                             pass    
 build-amd64-rumprun                                          pass    
 build-i386-rumprun                                           pass    
 test-xtf-amd64-amd64-1                                       pass    
 test-xtf-amd64-amd64-2                                       pass    
 test-xtf-amd64-amd64-3                                       pass    
 test-xtf-amd64-amd64-4                                       pass    
 test-xtf-amd64-amd64-5                                       pass    
 test-amd64-amd64-xl                                          pass    
 test-arm64-arm64-xl                                          pass    
 test-armhf-armhf-xl                                          fail    
 test-amd64-i386-xl                                           pass    
 test-amd64-amd64-xl-qemut-debianhvm-amd64-xsm                pass    
 test-amd64-i386-xl-qemut-debianhvm-amd64-xsm                 pass    
 test-amd64-amd64-libvirt-qemuu-debianhvm-amd64-xsm           pass    
 test-amd64-i386-libvirt-qemuu-debianhvm-amd64-xsm            pass    
 test-amd64-amd64-xl-qemuu-debianhvm-amd64-xsm                pass    
 test-amd64-i386-xl-qemuu-debianhvm-amd64-xsm                 pass    
 test-amd64-amd64-xl-qemut-stubdom-debianhvm-amd64-xsm        pass    
 test-amd64-i386-xl-qemut-stubdom-debianhvm-amd64-xsm         pass    
 test-amd64-amd64-libvirt-xsm                                 pass    
 test-arm64-arm64-libvirt-xsm                                 pass    
 test-armhf-armhf-libvirt-xsm                                 pass    
 test-amd64-i386-libvirt-xsm                                  pass    
 test-amd64-amd64-xl-xsm                                      pass    
 test-arm64-arm64-xl-xsm                                      pass    
 test-armhf-armhf-xl-xsm                                      pass    
 test-amd64-i386-xl-xsm                                       pass    
 test-amd64-amd64-qemuu-nested-amd                            fail    
 test-amd64-i386-qemut-rhel6hvm-amd                           pass    
 test-amd64-i386-qemuu-rhel6hvm-amd                           pass    
 test-amd64-amd64-xl-qemut-debianhvm-amd64                    pass    
 test-amd64-i386-xl-qemut-debianhvm-amd64                     fail    
 test-amd64-amd64-xl-qemuu-debianhvm-amd64                    pass    
 test-amd64-i386-xl-qemuu-debianhvm-amd64                     pass    
 test-amd64-i386-freebsd10-amd64                              pass    
 test-amd64-amd64-xl-qemuu-ovmf-amd64                         fail    
 test-amd64-i386-xl-qemuu-ovmf-amd64                          pass    
 test-amd64-amd64-rumprun-amd64                               fail    
 test-amd64-amd64-xl-qemut-win7-amd64                         fail    
 test-amd64-i386-xl-qemut-win7-amd64                          fail    
 test-amd64-amd64-xl-qemuu-win7-amd64                         fail    
 test-amd64-i386-xl-qemuu-win7-amd64                          fail    
 test-amd64-amd64-xl-qemut-ws16-amd64                         fail    
 test-amd64-i386-xl-qemut-ws16-amd64                          fail    
 test-amd64-amd64-xl-qemuu-ws16-amd64                         fail    
 test-amd64-i386-xl-qemuu-ws16-amd64                          fail    
 test-armhf-armhf-xl-arndale                                  pass    
 test-amd64-amd64-xl-credit2                                  pass    
 test-arm64-arm64-xl-credit2                                  pass    
 test-armhf-armhf-xl-credit2                                  pass    
 test-armhf-armhf-xl-cubietruck                               pass    
 test-amd64-i386-freebsd10-i386                               pass    
 test-amd64-i386-rumprun-i386                                 pass    
 test-amd64-amd64-xl-qemut-win10-i386                         fail    
 test-amd64-i386-xl-qemut-win10-i386                          fail    
 test-amd64-amd64-xl-qemuu-win10-i386                         fail    
 test-amd64-i386-xl-qemuu-win10-i386                          fail    
 test-amd64-amd64-qemuu-nested-intel                          pass    
 test-amd64-i386-qemut-rhel6hvm-intel                         pass    
 test-amd64-i386-qemuu-rhel6hvm-intel                         pass    
 test-amd64-amd64-libvirt                                     pass    
 test-armhf-armhf-libvirt                                     pass    
 test-amd64-i386-libvirt                                      pass    
 test-amd64-amd64-livepatch                                   pass    
 test-amd64-i386-livepatch                                    pass    
 test-amd64-amd64-migrupgrade                                 pass    
 test-amd64-i386-migrupgrade                                  pass    
 test-amd64-amd64-xl-multivcpu                                pass    
 test-armhf-armhf-xl-multivcpu                                pass    
 test-amd64-amd64-pair                                        pass    
 test-amd64-i386-pair                                         pass    
 test-amd64-amd64-libvirt-pair                                pass    
 test-amd64-i386-libvirt-pair                                 pass    
 test-amd64-amd64-amd64-pvgrub                                pass    
 test-amd64-amd64-i386-pvgrub                                 pass    
 test-amd64-amd64-pygrub                                      pass    
 test-amd64-amd64-xl-qcow2                                    pass    
 test-armhf-armhf-libvirt-raw                                 pass    
 test-amd64-i386-xl-raw                                       pass    
 test-amd64-amd64-xl-rtds                                     pass    
 test-armhf-armhf-xl-rtds                                     fail    
 test-amd64-amd64-xl-qemuu-debianhvm-amd64-shadow             pass    
 test-amd64-i386-xl-qemuu-debianhvm-amd64-shadow              pass    
 test-amd64-amd64-xl-shadow                                   pass    
 test-amd64-i386-xl-shadow                                    pass    
 test-amd64-amd64-libvirt-vhd                                 pass    
 test-armhf-armhf-xl-vhd                                      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

broken-job test-arm64-arm64-xl broken
broken-job test-arm64-arm64-libvirt-xsm broken
broken-job test-arm64-arm64-xl-credit2 broken
broken-job test-arm64-arm64-xl-xsm broken

Not pushing.

------------------------------------------------------------
commit dbb06d3bfc9ea8856a8cc864d62b924afe2a7d9e

Author: Jan Beulich <[email protected]>
Date:   Tue May 8 18:18:58 2018 +0100

x86/HVM: guard against emulator driving ioreq state in weird ways

In the case where hvm_wait_for_io() calls wait_on_xen_event_channel(), p->state ends up being read twice in succession: once to determine that state != p->state, and then again at the top of the loop. This gives a compromised emulator a chance to change the state back between the two reads, potentially keeping Xen in a loop indefinitely.

Instead:
* Read p->state once in each of the wait_on_xen_event_channel() tests,
* re-use that value the next time around,
* and insist that the states continue to transition "forward" (with the exception of the transition to STATE_IOREQ_NONE).

This is XSA-262.

commit 24fa3fa31076cc62f374a1e9f7cfa22bc1e68d06

Author: Xen Project Security Team <[email protected]>
Date:   Tue May 8 18:18:24 2018 +0100

x86/vpt: add support for IO-APIC routed interrupts

And modify the HPET code to make use of it. Currently HPET interrupts are always treated as ISA and thus injected through the vPIC. This is wrong because HPET interrupts when not in legacy mode should be injected from the IO-APIC.

To make things worse, the supported interrupt routing values are set to [20..23], which clearly falls outside of the ISA range, thus leading to an ASSERT in debug builds or memory corruption in non-debug builds because the interrupt injection code will write out of the bounds of the arch.hvm_domain.vpic array.

Since the HPET interrupt source can change between ISA and IO-APIC always destroy the timer before changing the mode, or else Xen risks changing it while the timer is active.

Note that vpt interrupt injection is racy in the sense that the vIO-APIC RTE entry can be written by the guest in between the call to pt_irq_masked and hvm_ioapic_assert, or the call to pt_update_irq and pt_intr_post. Those are not deemed to be security issues, but rather quirks of the current implementation. In the worse case the guest might lose interrupts or get multiple interrupt vectors injected for the same timer source.

This is part of XSA-261.

Address actual and potential compiler warnings. Fix formatting.

commit b9b5a031112478f849fefd9686502735c25c1bbb

Author: Andrew Cooper <[email protected]>
Date:   Tue May 8 18:16:37 2018 +0100

x86/traps: Fix handling of #DB exceptions in hypervisor context

The WARN_ON() can be triggered by guest activities, and emits a full stack trace without rate limiting. Swap it out for a ratelimited printk with just enough information to work out what is going on.

Not all #DB exceptions are traps, so blindly continuing is not a safe action to take. We don't let PV guests select these settings in the real %dr7 to begin with, but for added safety against unexpected situations, detect the fault cases and crash in an obvious manner.

This is part of XSA-260 / CVE-2018-8897.

commit 35a71c61a357fff0ca89e2b7d2e8e2058f7e6db5

Author: Andrew Cooper <[email protected]>
Date:   Tue May 8 18:16:37 2018 +0100

x86/traps: Use an Interrupt Stack Table for #DB

PV guests can use architectural corner cases to cause #DB to be raised after transitioning into supervisor mode.

Use an interrupt stack table for #DB to prevent the exception being taken with a guest controlled stack pointer.

This is part of XSA-260 / CVE-2018-8897.

commit b844573da09387e87d453421cd54f1bb5448ffdb

Author: Andrew Cooper <[email protected]>
Date:   Tue May 8 18:16:37 2018 +0100

x86/pv: Move exception injection into {,compat_}test_all_events()

This allows paths to jump straight to {,compat_}test_all_events() and have injection of pending exceptions happen automatically, rather than requiring all calling paths to handle exceptions themselves.

The normal exception path is simplified as a result, and compat_post_handle_exception() is removed entirely.

This is part of XSA-260 / CVE-2018-8897.

commit 48dd5431f84f4ffaf2a1427697855822ce0651a9

Author: Andrew Cooper <[email protected]>
Date:   Tue May 8 18:16:37 2018 +0100

x86/traps: Fix %dr6 handing in #DB handler

Most bits in %dr6 accumulate, rather than being set directly based on the current source of #DB. Have the handler follow the manuals guidance, which avoids leaking hypervisor debugging activities into guest context.

This is part of XSA-260 / CVE-2018-8897.

(qemu changes not included)

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel