Skip to contentSkip to conversation

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

xen-4.2-testing test osstest service user 1 participant 1 message Apr 20, 2015

lore
Share & tools
lore

osstest service user

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

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

Regressions :-(

Tests which did not succeed and are blocking,
including tests which could not be run:
build-i386-rumpuserxen 3 host-install(3) broken REGR. vs. 36512
test-amd64-i386-pair 21 guest-migrate/src_host/dst_host fail REGR. vs. 36512
test-amd64-i386-qemuu-freebsd10-i386 10 guest-start fail in 50412 REGR. vs. 36512 test-i386-i386-pair 21 guest-migrate/src_host/dst_host fail in 50412 REGR. vs. 36512

Tests which are failing intermittently (not blocking):

 test-amd64-i386-pv            3 host-install(3)           broken pass in 50412
 test-amd64-amd64-xl-qemuu-ovmf-amd64  3 host-install(3)   broken pass in 50412
 test-amd64-amd64-xl-winxpsp3  3 host-install(3)           broken pass in 50412
 test-amd64-i386-rhel6hvm-intel  3 host-install(3)         broken pass in 50412
 test-i386-i386-xl-qemut-winxpsp3  3 host-install(3)       broken pass in 50412
 test-amd64-i386-qemuu-freebsd10-amd64  3 host-install(3)  broken pass in 50412
 test-amd64-i386-libvirt       3 host-install(3)           broken pass in 50412
 test-i386-i386-xl-sedf        3 host-install(3)           broken pass in 50412
 test-amd64-i386-xl-qemuu-ovmf-amd64  3 host-install(3)    broken pass in 50412
 test-amd64-i386-xl            3 host-install(3)           broken pass in 50412
 test-amd64-i386-xl-win7-amd64  3 host-install(3)          broken pass in 50412
 test-amd64-i386-qemuu-rhel6hvm-amd  3 host-install(3)     broken pass in 50412
 test-amd64-i386-xl-qemuu-debianhvm-amd64 3 host-install(3) broken pass in 50412
 test-i386-i386-xl-credit2     3 host-install(3)           broken pass in 50412
 test-amd64-i386-qemuu-rhel6hvm-intel  3 host-install(3)   broken pass in 50412
 test-i386-i386-xl             3 host-install(3)           broken pass in 50412
 test-amd64-i386-xend-winxpsp3  3 host-install(3)          broken pass in 50412
 test-amd64-i386-xl-winxpsp3-vcpus1  3 host-install(3)     broken pass in 50412
 test-amd64-amd64-xl-qemut-win7-amd64  3 host-install(3)   broken pass in 50412
 test-amd64-i386-xl-qemut-win7-amd64  3 host-install(3)    broken pass in 50412
 test-amd64-i386-xl-qemuu-win7-amd64  3 host-install(3)    broken pass in 50412
 test-i386-i386-xl-winxpsp3    3 host-install(3)           broken pass in 50412
 test-amd64-amd64-xl-qemuu-winxpsp3  3 host-install(3)     broken pass in 50412
 test-amd64-amd64-xl-qemuu-win7-amd64  3 host-install(3)   broken pass in 50412
 test-amd64-i386-qemut-rhel6hvm-amd  3 host-install(3)     broken pass in 50412
 test-amd64-i386-xl-qemut-debianhvm-amd64 3 host-install(3) broken pass in 50412
 test-amd64-i386-rhel6hvm-amd  3 host-install(3)           broken pass in 50412
 test-amd64-i386-xend-qemut-winxpsp3  3 host-install(3)    broken pass in 50412
 test-amd64-amd64-xl-win7-amd64  3 host-install(3)         broken pass in 50412
 test-i386-i386-pair           4 host-install/dst_host(4)  broken pass in 50412
 test-i386-i386-pair           3 host-install/src_host(3)  broken pass in 50412

test-i386-i386-xl-qemuu-winxpsp3 15 guest-localmigrate/x10 fail in 50412 pass in 50437

Regressions which are regarded as allowable (not blocking):
test-amd64-i386-qemuu-freebsd10-i386 3 host-install(3) broken like 50722-bisect

Tests which did not succeed, but are not blocking:
test-i386-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-rumpuserxen-i386 1 build-check(1) blocked n/a
test-amd64-amd64-xl-qemuu-ovmf-amd64 9 debian-hvm-install fail in 50412 never pass
test-amd64-amd64-xl-winxpsp3 16 guest-stop fail in 50412 never pass
test-i386-i386-xl-qemut-winxpsp3 16 guest-stop fail in 50412 never pass
test-amd64-i386-libvirt 12 migrate-support-check fail in 50412 never pass
test-amd64-i386-xl-qemuu-ovmf-amd64 9 debian-hvm-install fail in 50412 never pass

 test-amd64-i386-xl-win7-amd64 16 guest-stop           fail in 50412 never pass
 test-amd64-i386-xend-winxpsp3 20 leak-check/check     fail in 50412 never pass
 test-amd64-i386-xl-winxpsp3-vcpus1 16 guest-stop      fail in 50412 never pass
 test-amd64-amd64-xl-qemut-win7-amd64 16 guest-stop    fail in 50412 never pass
 test-amd64-i386-xl-qemut-win7-amd64 16 guest-stop     fail in 50412 never pass
 test-amd64-i386-xl-qemuu-win7-amd64 16 guest-stop     fail in 50412 never pass
 test-i386-i386-xl-winxpsp3   16 guest-stop            fail in 50412 never pass
 test-amd64-amd64-xl-qemuu-winxpsp3 16 guest-stop      fail in 50412 never pass
 test-amd64-amd64-xl-qemuu-win7-amd64 16 guest-stop    fail in 50412 never pass
 build-i386-rumpuserxen        5 rumpuserxen-build     fail in 50412 never pass
 test-amd64-i386-xend-qemut-winxpsp3 20 leak-check/check fail in 50412 never pass
 test-amd64-amd64-xl-win7-amd64 16 guest-stop          fail in 50412 never pass
 test-amd64-amd64-libvirt     12 migrate-support-check        fail   never pass
 test-i386-i386-libvirt       12 migrate-support-check        fail   never pass
 test-i386-i386-xl-qemuu-winxpsp3 16 guest-stop                 fail never pass
 test-amd64-amd64-xl-qemut-winxpsp3 16 guest-stop               fail never pass
 test-amd64-i386-xl-qemut-winxpsp3-vcpus1 16 guest-stop         fail never pass

build-amd64-rumpuserxen 5 rumpuserxen-build fail never pass
test-amd64-i386-xl-qemuu-winxpsp3-vcpus1 16 guest-stop fail never pass

version targeted for testing:
xen e3bfa4003ceaa2746cdd77655953ab2601acaf9c
baseline version:
xen 5bec01c19839e150e489dd04376c65f961830c86

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

jobs:

 build-amd64                                                  pass    
 build-i386                                                   pass    
 build-amd64-libvirt                                          pass    
 build-i386-libvirt                                           pass    
 build-amd64-pvops                                            pass    
 build-i386-pvops                                             pass    
 build-amd64-rumpuserxen                                      fail    
 build-i386-rumpuserxen                                       broken  
 test-amd64-amd64-xl                                          pass    
 test-amd64-i386-xl                                           broken  
 test-i386-i386-xl                                            broken  
 test-amd64-i386-rhel6hvm-amd                                 broken  
 test-amd64-i386-qemut-rhel6hvm-amd                           broken  
 test-amd64-i386-qemuu-rhel6hvm-amd                           broken  
 test-amd64-amd64-xl-qemut-debianhvm-amd64                    pass    
 test-amd64-i386-xl-qemut-debianhvm-amd64                     broken  
 test-amd64-amd64-xl-qemuu-debianhvm-amd64                    pass    
 test-amd64-i386-xl-qemuu-debianhvm-amd64                     broken  
 test-amd64-i386-qemuu-freebsd10-amd64                        broken  
 test-amd64-amd64-xl-qemuu-ovmf-amd64                         broken  
 test-amd64-i386-xl-qemuu-ovmf-amd64                          broken  
 test-amd64-amd64-rumpuserxen-amd64                           blocked 
 test-amd64-amd64-xl-qemut-win7-amd64                         broken  
 test-amd64-i386-xl-qemut-win7-amd64                          broken  
 test-amd64-amd64-xl-qemuu-win7-amd64                         broken  
 test-amd64-i386-xl-qemuu-win7-amd64                          broken  
 test-amd64-amd64-xl-win7-amd64                               broken  
 test-amd64-i386-xl-win7-amd64                                broken  
 test-amd64-amd64-xl-credit2                                  pass    
 test-i386-i386-xl-credit2                                    broken  
 test-amd64-i386-qemuu-freebsd10-i386                         broken  
 test-amd64-i386-rumpuserxen-i386                             blocked 
 test-i386-i386-rumpuserxen-i386                              blocked 
 test-amd64-i386-rhel6hvm-intel                               broken  
 test-amd64-i386-qemut-rhel6hvm-intel                         pass    
 test-amd64-i386-qemuu-rhel6hvm-intel                         broken  
 test-amd64-amd64-libvirt                                     pass    
 test-amd64-i386-libvirt                                      broken  
 test-i386-i386-libvirt                                       pass    
 test-amd64-amd64-xl-multivcpu                                pass    
 test-i386-i386-xl-multivcpu                                  pass    
 test-amd64-amd64-pair                                        pass    
 test-amd64-i386-pair                                         fail    
 test-i386-i386-pair                                          broken  
 test-amd64-amd64-xl-sedf-pin                                 pass    
 test-i386-i386-xl-sedf-pin                                   pass    
 test-amd64-amd64-pv                                          pass    
 test-amd64-i386-pv                                           broken  
 test-i386-i386-pv                                            pass    
 test-amd64-amd64-xl-sedf                                     pass    
 test-i386-i386-xl-sedf                                       broken  
 test-amd64-i386-xl-qemut-winxpsp3-vcpus1                     fail    
 test-amd64-i386-xl-qemuu-winxpsp3-vcpus1                     fail    
 test-amd64-i386-xl-winxpsp3-vcpus1                           broken  
 test-amd64-i386-xend-qemut-winxpsp3                          broken  
 test-amd64-amd64-xl-qemut-winxpsp3                           fail    
 test-i386-i386-xl-qemut-winxpsp3                             broken  
 test-amd64-amd64-xl-qemuu-winxpsp3                           broken  
 test-i386-i386-xl-qemuu-winxpsp3                             fail    
 test-amd64-i386-xend-winxpsp3                                broken  
 test-amd64-amd64-xl-winxpsp3                                 broken  
 test-i386-i386-xl-winxpsp3                                   broken  

------------------------------------------------------------
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-amd64-i386-pv host-install(3) broken-step test-amd64-amd64-xl-qemuu-ovmf-amd64 host-install(3) broken-step test-amd64-amd64-xl-winxpsp3 host-install(3) broken-step test-amd64-i386-rhel6hvm-intel host-install(3) broken-step test-i386-i386-xl-qemut-winxpsp3 host-install(3) broken-step test-amd64-i386-qemuu-freebsd10-amd64 host-install(3) broken-step test-amd64-i386-libvirt host-install(3) broken-step test-amd64-i386-qemuu-freebsd10-i386 host-install(3) broken-step test-i386-i386-xl-sedf host-install(3) broken-step test-amd64-i386-xl-qemuu-ovmf-amd64 host-install(3) broken-step test-amd64-i386-xl host-install(3) broken-step test-amd64-i386-xl-win7-amd64 host-install(3) broken-step test-amd64-i386-qemuu-rhel6hvm-amd host-install(3) broken-step test-amd64-i386-xl-qemuu-debianhvm-amd64 host-install(3) broken-step test-i386-i386-xl-credit2 host-install(3) broken-step test-amd64-i386-qemuu-rhel6hvm-intel host-install(3) broken-step test-i386-i386-xl host-install(3)
broken-step test-amd64-i386-xend-winxpsp3 host-install(3) broken-step test-amd64-i386-xl-winxpsp3-vcpus1 host-install(3) broken-step test-amd64-amd64-xl-qemut-win7-amd64 host-install(3) broken-step test-amd64-i386-xl-qemut-win7-amd64 host-install(3) broken-step test-amd64-i386-xl-qemuu-win7-amd64 host-install(3) broken-step test-i386-i386-xl-winxpsp3 host-install(3) broken-step test-amd64-amd64-xl-qemuu-winxpsp3 host-install(3) broken-step test-amd64-amd64-xl-qemuu-win7-amd64 host-install(3) broken-step test-amd64-i386-qemut-rhel6hvm-amd host-install(3) broken-step test-amd64-i386-xl-qemut-debianhvm-amd64 host-install(3) broken-step test-amd64-i386-rhel6hvm-amd host-install(3) broken-step build-i386-rumpuserxen host-install(3) broken-step test-amd64-i386-xend-qemut-winxpsp3 host-install(3) broken-step test-amd64-amd64-xl-win7-amd64 host-install(3) broken-step test-i386-i386-pair host-install/dst_host(4) broken-step test-i386-i386-pair host-install/src_host(3)

Not pushing.

------------------------------------------------------------
commit e3bfa4003ceaa2746cdd77655953ab2601acaf9c

Author: Konrad Rzeszutek Wilk <[email protected]>
Date:   Wed Apr 1 10:12:19 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 70bca60d35f02f512548d15b62863d366461be6f

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

QEMU_TAG update
(qemu changes not included)