Skip to contentSkip to conversation

30367: regressions - FAIL

xen-4.4-testing test xen.org 3 participants 5 messages Sep 24, 2014

lore
Share & tools
lore

xen.org

author Acked-by Keir Fraser Tested-by Andrei LUTAS Reviewed-by Jan Beulich Reviewed-by Tim Deegan
#0 lore raw

flight 30367 xen-4.4-testing real [real]
http://www.chiark.greenend.org.uk/~xensrcts/logs/30367/

Regressions :-(

Tests which did not succeed and are blocking,
including tests which could not be run:
test-amd64-amd64-xl-win7-amd64 7 windows-install fail REGR. vs. 30239

Tests which did not succeed, but are not blocking:
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-i386-libvirt       9 guest-start                  fail   never pass
 test-amd64-amd64-libvirt      9 guest-start                  fail   never pass
 test-armhf-armhf-xl          10 migrate-support-check        fail   never pass
 test-armhf-armhf-libvirt      9 guest-start                  fail   never pass
 test-amd64-amd64-xl-pcipt-intel  9 guest-start                 fail never pass
 build-amd64-rumpuserxen       6 xen-build                    fail   never pass
 build-i386-rumpuserxen        6 xen-build                    fail   never pass
 test-amd64-amd64-xl-qemut-win7-amd64 14 guest-stop             fail never pass
 test-amd64-i386-xend-qemut-winxpsp3 17 leak-check/check        fail never pass
 test-amd64-amd64-xl-qemut-winxpsp3 14 guest-stop               fail never pass
 test-amd64-i386-xl-qemuu-win7-amd64 14 guest-stop              fail never pass
 test-amd64-i386-xl-qemuu-winxpsp3-vcpus1 14 guest-stop         fail never pass
 test-amd64-amd64-xl-qemuu-winxpsp3 14 guest-stop               fail never pass
 test-amd64-i386-xend-winxpsp3 17 leak-check/check             fail  never pass
 test-amd64-i386-xl-qemut-winxpsp3-vcpus1 14 guest-stop         fail never pass
 test-amd64-amd64-xl-qemuu-win7-amd64 14 guest-stop             fail never pass
 test-amd64-i386-xl-winxpsp3-vcpus1 14 guest-stop               fail never pass

test-amd64-i386-xl-win7-amd64 14 guest-stop fail never pass
test-amd64-i386-xl-qemut-win7-amd64 14 guest-stop fail never pass
test-amd64-amd64-xl-winxpsp3 14 guest-stop fail never pass

version targeted for testing:
xen a299a3e88a387de88489d6a6f61bebdafc95ebe5
baseline version:
xen be84c34e642f06107be8096b7e90dd0c86f13164

------------------------------------------------------------
People who touched revisions under test:
Andrei LUTAS <[email protected]>
Andrew Cooper <[email protected]>
Jan Beulich <[email protected]>
Keir Fraser <[email protected]>
------------------------------------------------------------

jobs:

 build-amd64-xend                                             pass    
 build-i386-xend                                              pass    
 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                                          pass    
 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                              pass    
 test-amd64-amd64-xl-qemuu-ovmf-amd64                         pass    
 test-amd64-i386-xl-qemuu-ovmf-amd64                          pass    
 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-amd64-i386-xl-credit2                                   pass    
 test-amd64-i386-freebsd10-i386                               pass    
 test-amd64-i386-rumpuserxen-i386                             blocked 
 test-amd64-amd64-xl-pcipt-intel                              fail    
 test-amd64-i386-rhel6hvm-intel                               pass    
 test-amd64-i386-qemut-rhel6hvm-intel                         pass    
 test-amd64-i386-qemuu-rhel6hvm-intel                         pass    
 test-amd64-amd64-libvirt                                     fail    
 test-armhf-armhf-libvirt                                     fail    
 test-amd64-i386-libvirt                                      fail    
 test-amd64-i386-xl-multivcpu                                 pass    
 test-amd64-amd64-pair                                        pass    
 test-amd64-i386-pair                                         pass    
 test-amd64-amd64-xl-sedf-pin                                 pass    
 test-amd64-amd64-pv                                          pass    
 test-amd64-i386-pv                                           pass    
 test-amd64-amd64-xl-sedf                                     pass    
 test-amd64-i386-xl-qemut-winxpsp3-vcpus1                     fail    
 test-amd64-i386-xl-qemuu-winxpsp3-vcpus1                     fail    
 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.cam.xci-test.com
logs: /home/xc_osstest/logs
images: /home/xc_osstest/images

Logs, config files, etc. are available at
http://www.chiark.greenend.org.uk/~xensrcts/logs

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

Not pushing.

------------------------------------------------------------
commit a299a3e88a387de88489d6a6f61bebdafc95ebe5

Author: Jan Beulich <[email protected]>
Date:   Tue Sep 23 14:40:51 2014 +0200

x86emul: only emulate software interrupt injection for real mode

Protected mode emulation currently lacks proper privilege checking of the referenced IDT entry, and there's currently no legitimate way for any of the respective instructions to reach the emulator when the guest is in protected mode.

This is XSA-106.

master commit: 346d4545569928b652c40c7815c1732676f8587c master date: 2014-09-23 14:33:50 +0200

commit 510f1717827b54e27acd86e1781bb472a10cc72a

Author: Andrew Cooper <[email protected]>
Date:   Tue Sep 23 14:40:12 2014 +0200

x86/emulate: check cpl for all privileged instructions

Without this, it is possible for userspace to load its own IDT or GDT.

This is XSA-105.

master commit: 0e442727ceccfa32a7276cccd205b4722e68fdc1 master date: 2014-09-23 14:33:06 +0200

commit 20429b1274fe9ed0b40e73c295fa79b70c1bf80e

Author: Andrew Cooper <[email protected]>
Date:   Tue Sep 23 14:39:05 2014 +0200

x86/shadow: fix race condition sampling the dirty vram state

d->arch.hvm_domain.dirty_vram must be read with the domain's paging lock held.

If not, two concurrent hypercalls could both end up attempting to free dirty_vram (the second of which will free a wild pointer), or both end up allocating a new dirty_vram structure (the first of which will be leaked).

This is XSA-104.

master commit: 46a49b91f1026f64430b84dd83e845a33f06415e master date: 2014-09-23 14:31:47 +0200
(qemu changes not included)

#1 lore raw
Quoted 8 lines · xen.org

flight 30367 xen-4.4-testing real [real]
http://www.chiark.greenend.org.uk/~xensrcts/logs/30367/

Regressions :-(

Tests which did not succeed and are blocking,
including tests which could not be run:
test-amd64-amd64-xl-win7-amd64 7 windows-install fail REGR. vs. 30239

Can we just nuke this test? It has never worked reliably, and now only serves to delay movement from staging-4.4 to stable-4.4

~Andrew

Quoted 174 lines

Tests which did not succeed, but are not blocking:
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-i386-libvirt       9 guest-start                  fail   never pass
 test-amd64-amd64-libvirt      9 guest-start                  fail   never pass
 test-armhf-armhf-xl          10 migrate-support-check        fail   never pass
 test-armhf-armhf-libvirt      9 guest-start                  fail   never pass
 test-amd64-amd64-xl-pcipt-intel  9 guest-start                 fail never pass
 build-amd64-rumpuserxen       6 xen-build                    fail   never pass
 build-i386-rumpuserxen        6 xen-build                    fail   never pass
 test-amd64-amd64-xl-qemut-win7-amd64 14 guest-stop             fail never pass
 test-amd64-i386-xend-qemut-winxpsp3 17 leak-check/check        fail never pass
 test-amd64-amd64-xl-qemut-winxpsp3 14 guest-stop               fail never pass
 test-amd64-i386-xl-qemuu-win7-amd64 14 guest-stop              fail never pass
 test-amd64-i386-xl-qemuu-winxpsp3-vcpus1 14 guest-stop         fail never pass
 test-amd64-amd64-xl-qemuu-winxpsp3 14 guest-stop               fail never pass
 test-amd64-i386-xend-winxpsp3 17 leak-check/check             fail  never pass
 test-amd64-i386-xl-qemut-winxpsp3-vcpus1 14 guest-stop         fail never pass
 test-amd64-amd64-xl-qemuu-win7-amd64 14 guest-stop             fail never pass
 test-amd64-i386-xl-winxpsp3-vcpus1 14 guest-stop               fail never pass

test-amd64-i386-xl-win7-amd64 14 guest-stop fail never pass
test-amd64-i386-xl-qemut-win7-amd64 14 guest-stop fail never pass
test-amd64-amd64-xl-winxpsp3 14 guest-stop fail never pass

version targeted for testing:
xen a299a3e88a387de88489d6a6f61bebdafc95ebe5
baseline version:
xen be84c34e642f06107be8096b7e90dd0c86f13164

------------------------------------------------------------
People who touched revisions under test:
Andrei LUTAS <[email protected]>
Andrew Cooper <[email protected]>
Jan Beulich <[email protected]>
Keir Fraser <[email protected]>
------------------------------------------------------------

jobs:

 build-amd64-xend                                             pass    
 build-i386-xend                                              pass    
 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                                          pass    
 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                              pass    
 test-amd64-amd64-xl-qemuu-ovmf-amd64                         pass    
 test-amd64-i386-xl-qemuu-ovmf-amd64                          pass    
 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-amd64-i386-xl-credit2                                   pass    
 test-amd64-i386-freebsd10-i386                               pass    
 test-amd64-i386-rumpuserxen-i386                             blocked 
 test-amd64-amd64-xl-pcipt-intel                              fail    
 test-amd64-i386-rhel6hvm-intel                               pass    
 test-amd64-i386-qemut-rhel6hvm-intel                         pass    
 test-amd64-i386-qemuu-rhel6hvm-intel                         pass    
 test-amd64-amd64-libvirt                                     fail    
 test-armhf-armhf-libvirt                                     fail    
 test-amd64-i386-libvirt                                      fail    
 test-amd64-i386-xl-multivcpu                                 pass    
 test-amd64-amd64-pair                                        pass    
 test-amd64-i386-pair                                         pass    
 test-amd64-amd64-xl-sedf-pin                                 pass    
 test-amd64-amd64-pv                                          pass    
 test-amd64-i386-pv                                           pass    
 test-amd64-amd64-xl-sedf                                     pass    
 test-amd64-i386-xl-qemut-winxpsp3-vcpus1                     fail    
 test-amd64-i386-xl-qemuu-winxpsp3-vcpus1                     fail    
 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.cam.xci-test.com
logs: /home/xc_osstest/logs
images: /home/xc_osstest/images

Logs, config files, etc. are available at
http://www.chiark.greenend.org.uk/~xensrcts/logs

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

Not pushing.

------------------------------------------------------------
commit a299a3e88a387de88489d6a6f61bebdafc95ebe5

Author: Jan Beulich <[email protected]>
Date:   Tue Sep 23 14:40:51 2014 +0200

x86emul: only emulate software interrupt injection for real mode

Protected mode emulation currently lacks proper privilege checking of the referenced IDT entry, and there's currently no legitimate way for any of the respective instructions to reach the emulator when the guest is in protected mode.

This is XSA-106.

master commit: 346d4545569928b652c40c7815c1732676f8587c master date: 2014-09-23 14:33:50 +0200

commit 510f1717827b54e27acd86e1781bb472a10cc72a

Author: Andrew Cooper <[email protected]>
Date:   Tue Sep 23 14:40:12 2014 +0200

x86/emulate: check cpl for all privileged instructions

Without this, it is possible for userspace to load its own IDT or GDT.

This is XSA-105.

master commit: 0e442727ceccfa32a7276cccd205b4722e68fdc1 master date: 2014-09-23 14:33:06 +0200

commit 20429b1274fe9ed0b40e73c295fa79b70c1bf80e

Author: Andrew Cooper <[email protected]>
Date:   Tue Sep 23 14:39:05 2014 +0200

x86/shadow: fix race condition sampling the dirty vram state

d->arch.hvm_domain.dirty_vram must be read with the domain's paging lock held.

If not, two concurrent hypercalls could both end up attempting to free dirty_vram (the second of which will free a wild pointer), or both end up allocating a new dirty_vram structure (the first of which will be leaked).

This is XSA-104.

master commit: 46a49b91f1026f64430b84dd83e845a33f06415e master date: 2014-09-23 14:31:47 +0200
(qemu changes not included)

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#2 lore raw
Quoted 4 lines · Andrew Cooper
Quoted 3 lines · xen.org

flight 30367 xen-4.4-testing real [real]
http://www.chiark.greenend.org.uk/~xensrcts/logs/30367/

Quoted 8 lines
Quoted 5 lines

Regressions :-(

Tests which did not succeed and are blocking,
including tests which could not be run:
test-amd64-amd64-xl-win7-amd64 7 windows-install fail REGR. vs. 30239

Can we just nuke this test? It has never worked reliably, and now only serves to delay movement from staging-4.4 to stable-4.4

Surely then we should fix the issue (be it a xen.git or an osstest.git thing), not sweep the issue under the carpet.

Ian.

#3 lore raw
Quoted 5 lines · Ian Campbell
Quoted 4 lines · Andrew Cooper
Quoted 3 lines · xen.org

flight 30367 xen-4.4-testing real [real]
http://www.chiark.greenend.org.uk/~xensrcts/logs/30367/

Quoted 8 lines
Quoted 7 lines
Quoted 5 lines

Regressions :-(

Tests which did not succeed and are blocking,
including tests which could not be run:
test-amd64-amd64-xl-win7-amd64 7 windows-install fail REGR. vs. 30239

Can we just nuke this test? It has never worked reliably, and now only serves to delay movement from staging-4.4 to stable-4.4

Surely then we should fix the issue

Yes absolutely, but this is *never* done OSSTest. This is largely as a result of the absurd notion of "tests which are expected to fail, so lets exit 1 in the hope someone will implement a test in the future" which a) waste time, and b) actively bad, as serves to train people to ignore failures.

These tests should be a single pass/fail with no intermediate delineation.

Any failure is then either
a) a bad test (delete/fix test)
b) an infrastructure issues (new/fix infrastructure)
c) a genuine regression between staging and master

At this point, the expected result from OSSTest is PASS, and any failures should be investigated ASAP. This is the whole point of a smoketest.

At the moment, I see "[Xen-devel] [xen-4.4-testing test] $FLIGHT:
regressions - FAIL" and think to myself "Ah - that will be the intermittent test-amd64-amd64-xl-win7-amd64 again, wont it?". And clearly, this is a similar thought as everyone else on xen-devel by virtue of the the issue having never even been investigated.

We had a similar issue in XenRT. Over time, there were an increasing number of tests which were intermittently failing, which caused uncertainty at whether a new change had caused a regression or not. About a year ago, the intermittent tests were disabled and put to one side. This immediately upped the confidence in the reliable tests making it much clearer whether regressions had occurred. Over time, the tests were reviewed by QA and either declared good (i.e. showed real intermittent product problems), fixed up (so as to be reliable again), or discarded due to serving no useful purpose.

The overall result is that we still have almost all the same tests as previously, but a far higher confidence in the result, and well as it being much more obvious when issues have occurred.

Quoted 5 lines

(be it a xen.git or an osstest.git
thing), not sweep the issue under the carpet.

Ian.

I can state with absolute certainty that Windows 7 is not broken under XenServer, which is currently Xen 4.4.1, and with almost complete certainly that we don't have a patch in our patch queue which would be relevant.

That would make this issue either an xl, libxl (or possibly qemu-upstream if I could work out which qemu is actually in use). However, the best I can work from the OSSTest logs is that it timed out attempting to boot.

~Andrew

#4 lore raw

Andrew Cooper writes ("Re: [Xen-devel] [xen-4.4-testing test] 30367: regressions - FAIL"):

Quoted 5 lines

At the moment, I see "[Xen-devel] [xen-4.4-testing test] $FLIGHT:
regressions - FAIL" and think to myself "Ah - that will be the intermittent test-amd64-amd64-xl-win7-amd64 again, wont it?". And clearly, this is a similar thought as everyone else on xen-devel by virtue of the the issue having never even been investigated.

Do we still have a catastrophic performance problem with some HVM guests on AMD ? ISTR investigating a heisenbug of this kind before and concluding that that was the root cause.

Ian.