Skip to contentSkip to conversation

50431: regressions - trouble: blocked/broken/fail/pass

xen-4.3-testing test osstest service user 1 participant 1 message Apr 18, 2015

lore
Share & tools
lore

osstest service user

author Reviewed-by Jan Beulich Acked-by Ian Campbell Acked-by Jan Beulich Acked-by Ian Campbell
#0 lore raw

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

Regressions :-(

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

 build-i386-rumpuserxen        4 capture-logs    !broken in 50358 [st=!broken!]
 build-amd64-rumpuserxen       4 capture-logs    !broken in 50358 [st=!broken!]

build-i386-rumpuserxen 3 host-install(3) broken in 50358 REGR. vs. 36755
build-amd64-rumpuserxen 3 host-install(3) broken in 50358 REGR. vs. 36755
test-amd64-i386-freebsd10-i386 10 guest-start fail REGR. vs. 36755

Tests which are failing intermittently (not blocking):
test-armhf-armhf-xl-sedf 3 host-install(3) broken pass in 50409
test-amd64-i386-xl-qemuu-winxpsp3-vcpus1 3 host-install(3) broken pass in 50409 test-amd64-amd64-xl-qemuu-winxpsp3 15 guest-localmigrate/x10 fail in 50358 pass in 50431 test-amd64-i386-xl-qemuu-win7-amd64 15 guest-localmigrate/x10 fail in 50409 pass in 50358
test-amd64-i386-xl-win7-amd64 12 guest-localmigrate fail pass in 50409
test-amd64-i386-xl-qemuu-win7-amd64 14 guest-localmigrate.2 fail pass in 50409
test-amd64-i386-freebsd10-amd64 16 guest-localmigrate/x10 fail pass in 50409

Regressions which are regarded as allowable (not blocking):
test-armhf-armhf-xl-sedf 4 capture-logs(4) broken in 50358 blocked in 36755
test-armhf-armhf-xl-credit2 7 capture-logs(7) broken in 50358 blocked in 36755 test-armhf-armhf-xl-cubietruck 7 capture-logs(7) broken in 50358 blocked in 36755
test-armhf-armhf-libvirt 7 capture-logs(7) broken in 50358 blocked in 36755
test-armhf-armhf-xl 7 capture-logs(7) broken in 50358 blocked in 36755
test-armhf-armhf-xl-multivcpu 7 capture-logs(7) broken in 50358 blocked in 36755 test-armhf-armhf-xl-sedf-pin 7 capture-logs(7) broken in 50358 blocked in 36755 test-armhf-armhf-xl-arndale 7 capture-logs(7) broken in 50358 blocked in 36755
test-amd64-i386-pair 21 guest-migrate/src_host/dst_host fail like 36755

Tests which did not succeed, but are not blocking:
test-amd64-i386-rumpuserxen-i386 1 build-check(1) blocked n/a
test-amd64-amd64-rumpuserxen-amd64 1 build-check(1) blocked n/a

 test-amd64-i386-xl-qemuu-win7-amd64 16 guest-stop     fail in 50358 never pass
 test-armhf-armhf-xl-sedf      6 xen-boot              fail in 50409 never pass
 test-amd64-i386-xl-win7-amd64 16 guest-stop           fail in 50409 never pass
 test-amd64-i386-xl-qemuu-winxpsp3-vcpus1 16 guest-stop fail in 50409 never pass
 test-amd64-amd64-xl-qemuu-ovmf-amd64  9 debian-hvm-install     fail never pass
 test-amd64-i386-xl-qemuu-ovmf-amd64  9 debian-hvm-install      fail never pass
 test-armhf-armhf-xl-credit2   6 xen-boot                     fail   never pass
 test-armhf-armhf-xl-cubietruck  6 xen-boot                     fail never pass
 test-armhf-armhf-libvirt      6 xen-boot                     fail   never pass
 test-amd64-amd64-libvirt     12 migrate-support-check        fail   never pass
 test-amd64-amd64-xl-qemut-winxpsp3 16 guest-stop               fail never pass
 test-amd64-i386-libvirt      12 migrate-support-check        fail   never pass
 test-amd64-amd64-xl-qemuu-win7-amd64 16 guest-stop             fail never pass
 test-amd64-amd64-xl-win7-amd64 16 guest-stop                   fail never pass
 test-amd64-amd64-xl-qemut-win7-amd64 16 guest-stop             fail never pass
 test-amd64-amd64-xl-qemuu-winxpsp3 16 guest-stop               fail never pass
 test-amd64-i386-xl-qemut-winxpsp3-vcpus1 16 guest-stop         fail never pass
 test-amd64-i386-xend-winxpsp3 20 leak-check/check             fail  never pass
 test-amd64-i386-xl-qemut-win7-amd64 16 guest-stop              fail never pass
 test-amd64-amd64-xl-winxpsp3 16 guest-stop                   fail   never pass
 build-i386-rumpuserxen        6 xen-build                    fail   never pass
 build-amd64-rumpuserxen       6 xen-build                    fail   never pass
 test-amd64-i386-xl-winxpsp3-vcpus1 16 guest-stop               fail never pass
 test-armhf-armhf-xl           6 xen-boot                     fail   never pass
 test-armhf-armhf-xl-multivcpu  6 xen-boot                     fail  never pass
 test-armhf-armhf-xl-sedf-pin  6 xen-boot                     fail   never pass
 test-armhf-armhf-xl-arndale   6 xen-boot                     fail   never pass

test-amd64-i386-xend-qemut-winxpsp3 20 leak-check/check fail never pass

version targeted for testing:
xen 46ed0083a76efa82713ea979b312fa69250380b2
baseline version:
xen c58b16ef1572176cf2f6a424b527b5ed4bb73f17

------------------------------------------------------------
People who touched revisions under test:
Andrew Cooper <[email protected]>
Ian Campbell <[email protected]>
Ian Jackson <[email protected]>
Jan Beulich <[email protected]>
Konrad Rzeszutek Wilk <[email protected]>
------------------------------------------------------------

jobs:

 build-amd64                                                  pass    
 build-armhf                                                  pass    
 build-i386                                                   pass    
 build-amd64-libvirt                                          pass    
 build-armhf-libvirt                                          pass    
 build-i386-libvirt                                           pass    
 build-amd64-pvops                                            pass    
 build-armhf-pvops                                            pass    
 build-i386-pvops                                             pass    
 build-amd64-rumpuserxen                                      fail    
 build-i386-rumpuserxen                                       fail    
 test-amd64-amd64-xl                                          pass    
 test-armhf-armhf-xl                                          fail    
 test-amd64-i386-xl                                           pass    
 test-amd64-i386-rhel6hvm-amd                                 pass    
 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                     pass    
 test-amd64-amd64-xl-qemuu-debianhvm-amd64                    pass    
 test-amd64-i386-xl-qemuu-debianhvm-amd64                     pass    
 test-amd64-i386-freebsd10-amd64                              fail    
 test-amd64-amd64-xl-qemuu-ovmf-amd64                         fail    
 test-amd64-i386-xl-qemuu-ovmf-amd64                          fail    
 test-amd64-amd64-rumpuserxen-amd64                           blocked 
 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-win7-amd64                               fail    
 test-amd64-i386-xl-win7-amd64                                fail    
 test-armhf-armhf-xl-arndale                                  fail    
 test-amd64-amd64-xl-credit2                                  pass    
 test-armhf-armhf-xl-credit2                                  fail    
 test-armhf-armhf-xl-cubietruck                               fail    
 test-amd64-i386-freebsd10-i386                               fail    
 test-amd64-i386-rumpuserxen-i386                             blocked 
 test-amd64-i386-rhel6hvm-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                                     fail    
 test-amd64-i386-libvirt                                      pass    
 test-amd64-amd64-xl-multivcpu                                pass    
 test-armhf-armhf-xl-multivcpu                                fail    
 test-amd64-amd64-pair                                        pass    
 test-amd64-i386-pair                                         fail    
 test-amd64-amd64-xl-sedf-pin                                 pass    
 test-armhf-armhf-xl-sedf-pin                                 fail    
 test-amd64-amd64-pv                                          pass    
 test-amd64-i386-pv                                           pass    
 test-amd64-amd64-xl-sedf                                     pass    
 test-armhf-armhf-xl-sedf                                     broken  
 test-amd64-i386-xl-qemut-winxpsp3-vcpus1                     fail    
 test-amd64-i386-xl-qemuu-winxpsp3-vcpus1                     broken  
 test-amd64-i386-xl-winxpsp3-vcpus1                           fail    
 test-amd64-i386-xend-qemut-winxpsp3                          fail    
 test-amd64-amd64-xl-qemut-winxpsp3                           fail    
 test-amd64-amd64-xl-qemuu-winxpsp3                           fail    
 test-amd64-i386-xend-winxpsp3                                fail    
 test-amd64-amd64-xl-winxpsp3                                 fail    

------------------------------------------------------------
sg-report-flight on osstest.test-lab.xenproject.org
logs: /home/osstest/pub/logs
images: /home/osstest/pub/images

Logs, config files, etc. are available at
http://logs.test-lab.xenproject.org/osstest/logs

Test harness code can be found at
http://xenbits.xen.org/gitweb?p=osstest.git;a=summary

broken-step test-armhf-armhf-xl-sedf host-install(3) broken-step test-amd64-i386-xl-qemuu-winxpsp3-vcpus1 host-install(3) broken build-i386-rumpuserxen capture-logs !broken
broken build-amd64-rumpuserxen capture-logs !broken

Not pushing.

------------------------------------------------------------
commit 46ed0083a76efa82713ea979b312fa69250380b2

Author: Andrew Cooper <[email protected]>
Date:   Wed Apr 1 10:11:30 2015 +0100

domctl: don't allow a toolstack domain to call domain_pause() on itself

These DOMCTL subops were accidentally declared safe for disaggregation in the wake of XSA-77.

This is XSA-127 / CVE-2015-2751.

commit 18856366dceb254f16577113e11e4bb94cdc59d9

Author: Konrad Rzeszutek Wilk <[email protected]>
Date:   Wed Apr 1 10:11:28 2015 +0100

Limit XEN_DOMCTL_memory_mapping hypercall to only process up to 64 GFNs (or less)

Said hypercall for large BARs can take quite a while. As such we can require that the hypercall MUST break up the request in smaller values.

Another approach is to add preemption to it - whether we do the preemption using hypercall_create_continuation or returning EAGAIN to userspace (and have it re-invocate the call) - either way the issue we cannot easily solve is that in 'map_mmio_regions' if we encounter an error we MUST call 'unmap_mmio_regions' for the whole BAR region.

Since the preemption would re-use input fields such as nr_mfns, first_gfn, first_mfn - we would lose the original values - and only undo what was done in the current round (i.e. ignoring anything that was done prior to earlier preemptions).

Unless we re-used the return value as 'EAGAIN|nr_mfns_done<<10' but that puts a limit (since the return value is a long) on the amount of nr_mfns that can provided.

This patch sidesteps this problem by:
- Setting an hard limit of nr_mfns having to be 64 or less.
- Toolstack adjusts correspondingly to the nr_mfn limit.
- If the there is an error when adding the toolstack will call the remove operation to remove the whole region.

The need to break this hypercall down is for large BARs can take more than the guest (initial domain usually) time-slice. This has the negative result in that the guest is locked out for a long duration and is unable to act on any pending events.

We also augment the code to return zero if nr_mfns instead of trying to the hypercall.

This is XSA-125 / CVE-2015-2752.

commit 2d63e96d82f67371cb55c7b13b1a80e9a7fac496

Author: Ian Jackson <[email protected]>
Date:   Tue Mar 31 16:31:37 2015 +0100

QEMU_TAG update
(qemu changes not included)