Skip to contentSkip to conversation

31315: regressions - FAIL

xen-unstable test New xen.org 3 participants 7 messages Nov 2, 2014 – Nov 5, 2014

lore
Share & tools
lore

xen.org

author Reviewed-by Andrew Cooper Reviewed-by Boris Ostrovsky Acked-by Kevin Tian Reviewed-by Tim Deegan Reviewed-by Andrew Cooper Acked-by Kevin Tian Reviewed-by Dario Faggioli
#0 lore raw

flight 31315 xen-unstable real [real]
http://www.chiark.greenend.org.uk/~xensrcts/logs/31315/

Regressions :-(

Tests which did not succeed and are blocking,
including tests which could not be run:
test-amd64-amd64-pair 8 xen-boot/dst_host fail REGR. vs. 31285

Regressions which are regarded as allowable (not blocking):
test-armhf-armhf-xl 9 guest-start fail like 31285
test-amd64-amd64-xl-sedf 5 xen-boot fail REGR. vs. 31285
test-amd64-i386-pair 17 guest-migrate/src_host/dst_host fail like 31285

Tests which did not succeed, but are not blocking:

 test-amd64-i386-libvirt       9 guest-start                  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
 test-amd64-amd64-libvirt      9 guest-start                  fail   never pass
 test-amd64-i386-xl-qemut-winxpsp3 14 guest-stop                fail never pass
 test-amd64-i386-xl-qemuu-winxpsp3-vcpus1 14 guest-stop         fail never pass
 test-amd64-i386-xl-qemut-winxpsp3-vcpus1 14 guest-stop         fail never pass
 test-amd64-i386-xl-qemuu-winxpsp3 14 guest-stop                fail never pass
 test-amd64-i386-xl-qemuu-win7-amd64 14 guest-stop              fail never pass
 test-amd64-i386-xl-winxpsp3-vcpus1 14 guest-stop               fail never pass
 test-amd64-amd64-xl-qemuu-win7-amd64 14 guest-stop             fail never pass
 test-amd64-amd64-xl-qemut-win7-amd64 14 guest-stop             fail never pass

test-amd64-i386-xl-winxpsp3 14 guest-stop fail never pass
test-amd64-amd64-xl-win7-amd64 14 guest-stop fail never pass
test-amd64-amd64-xl-winxpsp3 14 guest-stop fail never pass
test-amd64-amd64-xl-qemut-winxpsp3 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-qemuu-winxpsp3 14 guest-stop fail never pass

version targeted for testing:
xen 5283b310e14884341f51be35253cdd59c4cb034c
baseline version:
xen 0f2bde078ace619fe8e26730495b6ef2c3a2e9bf

------------------------------------------------------------
People who touched revisions under test:
Andrew Cooper <[email protected]>
Jan Beulich <[email protected]>
Kevin Tian <[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-oldkern                                          pass    
 build-i386-oldkern                                           pass    
 build-amd64-pvops                                            pass    
 build-armhf-pvops                                            pass    
 build-i386-pvops                                             pass    
 build-amd64-rumpuserxen                                      pass    
 build-i386-rumpuserxen                                       pass    
 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                              pass    
 test-amd64-amd64-xl-qemuu-ovmf-amd64                         pass    
 test-amd64-i386-xl-qemuu-ovmf-amd64                          pass    
 test-amd64-amd64-rumpuserxen-amd64                           pass    
 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                             pass    
 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                                        fail    
 test-amd64-i386-pair                                         fail    
 test-amd64-amd64-xl-sedf-pin                                 pass    
 test-amd64-amd64-xl-sedf                                     fail    
 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-amd64-xl-qemut-winxpsp3                           fail    
 test-amd64-i386-xl-qemut-winxpsp3                            fail    
 test-amd64-amd64-xl-qemuu-winxpsp3                           fail    
 test-amd64-i386-xl-qemuu-winxpsp3                            fail    
 test-amd64-amd64-xl-winxpsp3                                 fail    
 test-amd64-i386-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 5283b310e14884341f51be35253cdd59c4cb034c

Author: Jan Beulich <[email protected]>
Date:   Fri Oct 31 11:32:27 2014 +0100

x86/HVM: only kill guest when unknown VM exit occurred in guest kernel mode

A recent KVM change by Nadav Amit <[email protected]> pointed out that unconditional VM exits (like VMX'es ones for the INVEPT, INVVPID, and XSETBV instructions) may result from guest user mode activity (in the example cases, e.g. prior to a privilege level check being done). Consequently convert the unconditional domain_crash() to a conditional one (when guest is in kernel mode) with the alternative of injecting #UD (when in user mode).

This is meant to be a precaution against in-guest security issues introduced when any such VM exit becomes possible (on newer hardware) without the hypervisor immediately being aware of it. There are no such unhandled VM exits currently (and hence this is not an active security issue), but old (no longer security maintained) versions exhibit issues in the cases given as examples above.

commit 93cc5c6f1641e90eb120826d42f103b7726efb8e

Author: Jan Beulich <[email protected]>
Date:   Fri Oct 31 11:31:11 2014 +0100

VMX: values written to MSR_IA32_SYSENTER_E[IS]P should be canonical

A recent KVM change by Nadav Amit <[email protected]> helped spot that we have the same issue as they did.

commit 9cf71226edabd8b9bc81a5eb57823dacbe8b4bd8

Author: Andrew Cooper <[email protected]>
Date:   Fri Oct 31 11:28:36 2014 +0100

process softirqs while dumping domains

Process softirqs once per domain, and once every 64 vcpus in a guest to avoid being hit by the NMI watchdog. Discovered against a VM which had accidentally been assigned 8192 vcpus.

(qemu changes not included)

#1 lore raw
Quoted 9 lines
Quoted 1 line
Quoted 1 line · On 02.11.14 at 18:43, <[email protected]> wrote:

flight 31315 xen-unstable real [real]
http://www.chiark.greenend.org.uk/~xensrcts/logs/31315/

Regressions :-(

Tests which did not succeed and are blocking,
including tests which could not be run:
test-amd64-amd64-pair 8 xen-boot/dst_host fail REGR. vs. 31285

Looking at fire-frog's serial log I see that booting started 09:34:37 and debug output was forced at 09:35:47; the login prompt appeared at 09:36:11. The gap between the NTP server getting started and the login prompt appearing seems pretty large, but is that really an indication of something being wrong in the being tested software? The 3 commits under test don't really look like being candidate for a boot time (performance) regression.

Jan

#2 lore raw
Quoted 6 lines · Jan Beulich
Quoted 6 lines
Quoted 1 line
Quoted 1 line · On 02.11.14 at 18:43, <[email protected]> wrote:

flight 31315 xen-unstable real [real]
http://www.chiark.greenend.org.uk/~xensrcts/logs/31315/

Regressions :-(

Quoted 8 lines
Quoted 3 lines

Tests which did not succeed and are blocking,
including tests which could not be run:
test-amd64-amd64-pair 8 xen-boot/dst_host fail REGR. vs. 31285

Looking at fire-frog's serial log I see that booting started 09:34:37 and debug output was forced at 09:35:47; the login prompt appeared at 09:36:11. The gap between the NTP server getting started and the login prompt appearing seems pretty large,

There is also a login prompt at 09:35:25. I think the one at 09:36 is because something appeared (probably the log collection process) to press Enter.

It's a shame /etc/init.d/osstest-confirm-booted isn't more verbose on the console, since this is what appears to have failed (i.e. the ssh bit seems to have worked, so I don't think it was networking/dns/etc).

Quoted 4 lines

but
is that really an indication of something being wrong in the being tested software? The 3 commits under test don't really look like being candidate for a boot time (performance) regression.

It does seem somewhat unlikely.

Ian.

#4 lore raw

PATCH 1/2 poll_loop: Restore diversion of logm

In reply to Ian Jackson

poll_loop is supposed to divert the logging away so that you don't have to see a pile of repetitive logging if the operation succeeds.

But this was broken when the code was moved from the perl module Osstest to Osstest::TestSupport. Fix it.

---
 Osstest/TestSupport.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Osstest/TestSupport.pm +1 -1
index 1d77933..ef2a853 100644
@@ -611,7 +611,7 @@ sub poll_loop ($$$&) {
         $logmtmpfile= IO::File::new_tmpfile or die $!;
 
         if (!eval {
-            local ($Osstest::logm_handle) = ($logmtmpfile);
+            local ($Osstest::TestSupport::logm_handle) = ($logmtmpfile);
             $bad= $code->();
             1;
         }) {
Signature · 1 line
1.7.10.4
#5 lore raw

PATCH 2/2 osstest-confirm-booted: Log processes

Run a ps if osstest-confirm-booted does not exist, and stash the output where we read it during log capture.

---
 Osstest/TestSupport.pm |    7 ++++---
 ts-logs-capture        |    2 ++
 2 files changed, 6 insertions(+), 3 deletions(-)
Osstest/TestSupport.pm +4 -3
index ef2a853..b348a7e 100644
@@ -914,9 +914,10 @@ sub host_reboot ($) {
     poll_loop(40,2, 'reboot-confirm-booted', sub {
         my $output;
         if (!eval {
-            $output= target_cmd_output($ho,
-                "stat /dev/shm/osstest-confirm-booted 2>&1 >/dev/null ||:",
-                                       40);
+            $output= target_cmd_output($ho, <<END, 40);
+stat /dev/shm/osstest-confirm-booted 2>&1 >/dev/null \\
+ || ps -efH >osstest-confirm-booted.log
+END
             1;
         }) {
             return $@;
ts-logs-capture +2 -0
index 3ccfc00..21974a9 100755
@@ -130,6 +130,8 @@ sub fetch_logs_host_guests () {
 
                   /etc/xen/*
 
+                  /home/osstest/osstest-confirm-booted.log
+
                   )];
     if (!try_fetch_logs($ho, $logs)) {
         logm("log fetching failed, trying hard host reboot...");
Signature · 1 line
1.7.10.4
#3 lore raw
In reply to Ian Campbell

Ian Campbell writes ("Re: [Xen-devel] [xen-unstable test] 31315: regressions - FAIL"):

Quoted 3 lines

It's a shame /etc/init.d/osstest-confirm-booted isn't more verbose on the console, since this is what appears to have failed (i.e. the ssh bit seems to have worked, so I don't think it was networking/dns/etc).

I have some patches to fix this, which I will send in just a moment.

Ian.

#6 lore raw
Quoted 6 lines · Ian Jackson

Ian Campbell writes ("Re: [Xen-devel] [xen-unstable test] 31315: regressions - FAIL"):

Quoted 3 lines

It's a shame /etc/init.d/osstest-confirm-booted isn't more verbose on the console, since this is what appears to have failed (i.e. the ssh bit seems to have worked, so I don't think it was networking/dns/etc).

I have some patches to fix this, which I will send in just a moment.

Both look good to me, Acked-by: Ian Campbell <[email protected]>