[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-3.14 bisection] complete test-amd64-amd64-qemuu-nested-intel



branch xen-unstable
xenbranch xen-unstable
job test-amd64-amd64-qemuu-nested-intel
testid xen-boot/l1

Tree: linux 
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
Tree: linuxfirmware git://xenbits.xen.org/osstest/linux-firmware.git
Tree: qemu git://xenbits.xen.org/qemu-xen-traditional.git
Tree: qemuu git://xenbits.xen.org/qemu-xen.git
Tree: xen git://xenbits.xen.org/xen.git

*** Found and reproduced problem changeset ***

  Bug is in tree:  xen git://xenbits.xen.org/xen.git
  Bug introduced:  c52319642bb9069436d4aec75361049f5fac63ed
  Bug not present: 268ead59ce10967cf7490353d743ebc1bb7a9a4c
  Last fail repro: http://logs.test-lab.xenproject.org/osstest/logs/95708/


  commit c52319642bb9069436d4aec75361049f5fac63ed
  Author: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  Date:   Thu Jun 2 12:08:42 2016 +0100
  
      x86/cpuid: Calculate a guests xfeature_mask from its featureset
      
      libxc current performs the xstate calculation for guests, and provides the
      information to Xen to be used when satisfying CPUID traps.  (There is 
further
      work planned to improve this arrangement, but the worst a buggy toolstack 
can
      do is make junk appear in the cpuid leaves for the guest.)
      
      dom0 however has no policy constructed for it, and certain fields filter
      straight through from hardware.
      
      Linux queries CPUID.7[0].{EAX/EDX} alone to choose a setting for %xcr0, 
which
      is a valid action to take, but features such as MPX and PKRU are not 
supported
      for PV guests.  As a result, Linux, using leaked hardware information, 
fails
      to set %xcr0 on newer Skylake hardware with PKRU support, and crashes.
      
      As an interim solution, dynamically calculate the correct xfeature_mask 
and
      xstate_size to report to the guest for CPUID.7[0] queries.  This ensures 
that
      domains don't see leaked hardware values, even when no cpuid policy is
      provided.
      
      Similarly, CPUID.7[1]{ECX/EDX} represents the applicable settings for 
MSR_XSS.
      As Xen doesn't yet support any XSS states in guests, unconditionally zero
      them.
      
      Reported-by: Luwei Kang <luwei.kang@xxxxxxxxx>
      Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
      Tested-by: Luwei Kang <luwei.kang@xxxxxxxxx>
      Release-acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>
      Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>


For bisection revision-tuple graph see:
   
http://logs.test-lab.xenproject.org/osstest/results/bisect/linux-3.14/test-amd64-amd64-qemuu-nested-intel.xen-boot--l1.html
Revision IDs in each graph node refer, respectively, to the Trees above.

----------------------------------------
Running cs-bisection-step 
--graph-out=/home/logs/results/bisect/linux-3.14/test-amd64-amd64-qemuu-nested-intel.xen-boot--l1
 --summary-out=tmp/95708.bisection-summary --basis-template=95164 
--blessings=real,real-bisect linux-3.14 test-amd64-amd64-qemuu-nested-intel 
xen-boot/l1
Searching for failure / basis pass:
 95514 fail [host=huxelrebe1] / 95164 [host=baroque1] 94568 [host=chardonnay0] 
94027 [host=chardonnay1] 93503 [host=italia1] 92198 [host=godello1] 91148 
[host=chardonnay1] 86411 [host=huxelrebe0] 85851 [host=baroque0] 85253 
[host=chardonnay1] 84125 [host=italia1] 83009 [host=baroque1] 79698 
[host=chardonnay1] 79562 [host=italia0] 79452 [host=godello0] 79397 
[host=godello1] 78986 [host=baroque0] 66306 [host=chardonnay1] 65787 
[host=godello0] 65709 [host=godello0] 65633 [host=godello0] template as basis? 
using template as basis.
Failure / basis pass flights: 95514 / 95164
(tree with no url: minios)
(tree with no url: ovmf)
(tree with no url: seabios)
Tree: linux 
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
Tree: linuxfirmware git://xenbits.xen.org/osstest/linux-firmware.git
Tree: qemu git://xenbits.xen.org/qemu-xen-traditional.git
Tree: qemuu git://xenbits.xen.org/qemu-xen.git
Tree: xen git://xenbits.xen.org/xen.git
Latest 022aafd04696a3c6b7ad47ab83a9650646287bf8 
c530a75c1e6a472b0eb9558310b518f0dfcd8860 
df553c056104e3dd8a2bd2e72539a57c4c085bae 
44a072f0de0d57c95c2212bbce02888832b7b74f 
c2a17869d5dcd845d646bf4db122cad73596a2be
Basis pass f06cb456a442c7df95a4ba6e2f3a341cf925d7cf 
c530a75c1e6a472b0eb9558310b518f0dfcd8860 
df553c056104e3dd8a2bd2e72539a57c4c085bae 
44a072f0de0d57c95c2212bbce02888832b7b74f 
1dda826420fff634983e94f97fb8411486acda0d
Generating revisions with ./adhoc-revtuple-generator  
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git#f06cb456a442c7df95a4ba6e2f3a341cf925d7cf-022aafd04696a3c6b7ad47ab83a9650646287bf8
 
git://xenbits.xen.org/osstest/linux-firmware.git#c530a75c1e6a472b0eb9558310b518f0dfcd8860-c530a75c1e6a472b0eb9558310b518f0dfcd8860
 
git://xenbits.xen.org/qemu-xen-traditional.git#df553c056104e3dd8a2bd2e72539a57c4c085bae-df553c056104e3dd8a2bd2e72539a57c4c085bae
 
git://xenbits.xen.org/qemu-xen.git#44a072f0de0d57c95c2212bbce02888832b7b74f-44a072f0de0d57c95c2212bbce02888832b7b74f
 
git://xenbits.xen.org/xen.git#1dda826420fff634983e94f97fb8411486acda0d-c2a17869d5dcd845d646bf4db122cad73596a2be
Loaded 2001 nodes in revision graph
Searching for test results:
 95164 [host=baroque1]
 95407 fail 022aafd04696a3c6b7ad47ab83a9650646287bf8 
c530a75c1e6a472b0eb9558310b518f0dfcd8860 
df553c056104e3dd8a2bd2e72539a57c4c085bae 
44a072f0de0d57c95c2212bbce02888832b7b74f 
c2a17869d5dcd845d646bf4db122cad73596a2be
 95453 fail 022aafd04696a3c6b7ad47ab83a9650646287bf8 
c530a75c1e6a472b0eb9558310b518f0dfcd8860 
df553c056104e3dd8a2bd2e72539a57c4c085bae 
44a072f0de0d57c95c2212bbce02888832b7b74f 
c2a17869d5dcd845d646bf4db122cad73596a2be
 95514 fail 022aafd04696a3c6b7ad47ab83a9650646287bf8 
c530a75c1e6a472b0eb9558310b518f0dfcd8860 
df553c056104e3dd8a2bd2e72539a57c4c085bae 
44a072f0de0d57c95c2212bbce02888832b7b74f 
c2a17869d5dcd845d646bf4db122cad73596a2be
 95664 fail 022aafd04696a3c6b7ad47ab83a9650646287bf8 
c530a75c1e6a472b0eb9558310b518f0dfcd8860 
df553c056104e3dd8a2bd2e72539a57c4c085bae 
44a072f0de0d57c95c2212bbce02888832b7b74f 
c2a17869d5dcd845d646bf4db122cad73596a2be
 95656 fail 022aafd04696a3c6b7ad47ab83a9650646287bf8 
c530a75c1e6a472b0eb9558310b518f0dfcd8860 
df553c056104e3dd8a2bd2e72539a57c4c085bae 
44a072f0de0d57c95c2212bbce02888832b7b74f 
c2a17869d5dcd845d646bf4db122cad73596a2be
 95697 pass f06cb456a442c7df95a4ba6e2f3a341cf925d7cf 
c530a75c1e6a472b0eb9558310b518f0dfcd8860 
df553c056104e3dd8a2bd2e72539a57c4c085bae 
44a072f0de0d57c95c2212bbce02888832b7b74f 
268ead59ce10967cf7490353d743ebc1bb7a9a4c
 95677 pass f06cb456a442c7df95a4ba6e2f3a341cf925d7cf 
c530a75c1e6a472b0eb9558310b518f0dfcd8860 
df553c056104e3dd8a2bd2e72539a57c4c085bae 
44a072f0de0d57c95c2212bbce02888832b7b74f 
e228585d122817f987806145b09de7914c42a5fe
 95647 pass f06cb456a442c7df95a4ba6e2f3a341cf925d7cf 
c530a75c1e6a472b0eb9558310b518f0dfcd8860 
df553c056104e3dd8a2bd2e72539a57c4c085bae 
44a072f0de0d57c95c2212bbce02888832b7b74f 
1dda826420fff634983e94f97fb8411486acda0d
 95659 pass f06cb456a442c7df95a4ba6e2f3a341cf925d7cf 
c530a75c1e6a472b0eb9558310b518f0dfcd8860 
df553c056104e3dd8a2bd2e72539a57c4c085bae 
44a072f0de0d57c95c2212bbce02888832b7b74f 
1dda826420fff634983e94f97fb8411486acda0d
 95671 fail 79925b261448de46f9b4a63fd7bc957953dda170 
c530a75c1e6a472b0eb9558310b518f0dfcd8860 
df553c056104e3dd8a2bd2e72539a57c4c085bae 
44a072f0de0d57c95c2212bbce02888832b7b74f 
c2a17869d5dcd845d646bf4db122cad73596a2be
 95668 pass f06cb456a442c7df95a4ba6e2f3a341cf925d7cf 
c530a75c1e6a472b0eb9558310b518f0dfcd8860 
df553c056104e3dd8a2bd2e72539a57c4c085bae 
44a072f0de0d57c95c2212bbce02888832b7b74f 
f7653d0d151732dd6dd8fcf84d94179fa8b6d4a5
 95687 pass f06cb456a442c7df95a4ba6e2f3a341cf925d7cf 
c530a75c1e6a472b0eb9558310b518f0dfcd8860 
df553c056104e3dd8a2bd2e72539a57c4c085bae 
44a072f0de0d57c95c2212bbce02888832b7b74f 
268ead59ce10967cf7490353d743ebc1bb7a9a4c
 95680 fail f06cb456a442c7df95a4ba6e2f3a341cf925d7cf 
c530a75c1e6a472b0eb9558310b518f0dfcd8860 
df553c056104e3dd8a2bd2e72539a57c4c085bae 
44a072f0de0d57c95c2212bbce02888832b7b74f 
b9daff9d811285f1e40669bc621c2241793f7a95
 95691 fail f06cb456a442c7df95a4ba6e2f3a341cf925d7cf 
c530a75c1e6a472b0eb9558310b518f0dfcd8860 
df553c056104e3dd8a2bd2e72539a57c4c085bae 
44a072f0de0d57c95c2212bbce02888832b7b74f 
c52319642bb9069436d4aec75361049f5fac63ed
 95699 fail f06cb456a442c7df95a4ba6e2f3a341cf925d7cf 
c530a75c1e6a472b0eb9558310b518f0dfcd8860 
df553c056104e3dd8a2bd2e72539a57c4c085bae 
44a072f0de0d57c95c2212bbce02888832b7b74f 
c52319642bb9069436d4aec75361049f5fac63ed
 95704 pass f06cb456a442c7df95a4ba6e2f3a341cf925d7cf 
c530a75c1e6a472b0eb9558310b518f0dfcd8860 
df553c056104e3dd8a2bd2e72539a57c4c085bae 
44a072f0de0d57c95c2212bbce02888832b7b74f 
268ead59ce10967cf7490353d743ebc1bb7a9a4c
 95708 fail f06cb456a442c7df95a4ba6e2f3a341cf925d7cf 
c530a75c1e6a472b0eb9558310b518f0dfcd8860 
df553c056104e3dd8a2bd2e72539a57c4c085bae 
44a072f0de0d57c95c2212bbce02888832b7b74f 
c52319642bb9069436d4aec75361049f5fac63ed
Searching for interesting versions
 Result found: flight 95647 (pass), for basis pass
 Result found: flight 95656 (fail), for basis failure
 Repro found: flight 95659 (pass), for basis pass
 Repro found: flight 95664 (fail), for basis failure
 0 revisions at f06cb456a442c7df95a4ba6e2f3a341cf925d7cf 
c530a75c1e6a472b0eb9558310b518f0dfcd8860 
df553c056104e3dd8a2bd2e72539a57c4c085bae 
44a072f0de0d57c95c2212bbce02888832b7b74f 
268ead59ce10967cf7490353d743ebc1bb7a9a4c
No revisions left to test, checking graph state.
 Result found: flight 95687 (pass), for last pass
 Result found: flight 95691 (fail), for first failure
 Repro found: flight 95697 (pass), for last pass
 Repro found: flight 95699 (fail), for first failure
 Repro found: flight 95704 (pass), for last pass
 Repro found: flight 95708 (fail), for first failure

*** Found and reproduced problem changeset ***

  Bug is in tree:  xen git://xenbits.xen.org/xen.git
  Bug introduced:  c52319642bb9069436d4aec75361049f5fac63ed
  Bug not present: 268ead59ce10967cf7490353d743ebc1bb7a9a4c
  Last fail repro: http://logs.test-lab.xenproject.org/osstest/logs/95708/


  commit c52319642bb9069436d4aec75361049f5fac63ed
  Author: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  Date:   Thu Jun 2 12:08:42 2016 +0100
  
      x86/cpuid: Calculate a guests xfeature_mask from its featureset
      
      libxc current performs the xstate calculation for guests, and provides the
      information to Xen to be used when satisfying CPUID traps.  (There is 
further
      work planned to improve this arrangement, but the worst a buggy toolstack 
can
      do is make junk appear in the cpuid leaves for the guest.)
      
      dom0 however has no policy constructed for it, and certain fields filter
      straight through from hardware.
      
      Linux queries CPUID.7[0].{EAX/EDX} alone to choose a setting for %xcr0, 
which
      is a valid action to take, but features such as MPX and PKRU are not 
supported
      for PV guests.  As a result, Linux, using leaked hardware information, 
fails
      to set %xcr0 on newer Skylake hardware with PKRU support, and crashes.
      
      As an interim solution, dynamically calculate the correct xfeature_mask 
and
      xstate_size to report to the guest for CPUID.7[0] queries.  This ensures 
that
      domains don't see leaked hardware values, even when no cpuid policy is
      provided.
      
      Similarly, CPUID.7[1]{ECX/EDX} represents the applicable settings for 
MSR_XSS.
      As Xen doesn't yet support any XSS states in guests, unconditionally zero
      them.
      
      Reported-by: Luwei Kang <luwei.kang@xxxxxxxxx>
      Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
      Tested-by: Luwei Kang <luwei.kang@xxxxxxxxx>
      Release-acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>
      Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>

Revision graph left in 
/home/logs/results/bisect/linux-3.14/test-amd64-amd64-qemuu-nested-intel.xen-boot--l1.{dot,ps,png,html,svg}.
----------------------------------------
95708: tolerable ALL FAIL

flight 95708 linux-3.14 real-bisect [real]
http://logs.test-lab.xenproject.org/osstest/logs/95708/

Failures :-/ but no regressions.

Tests which did not succeed,
including tests which could not be run:
 test-amd64-amd64-qemuu-nested-intel 13 xen-boot/l1      fail baseline untested


jobs:
 test-amd64-amd64-qemuu-nested-intel                          fail    


------------------------------------------------------------
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


_______________________________________________
osstest-output mailing list
osstest-output@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/osstest-output

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.