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

[Xen-devel] [xen-unstable 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://xenbits.xen.org/linux-pvops.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/95743/


  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/xen-unstable/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/xen-unstable/test-amd64-amd64-qemuu-nested-intel.xen-boot--l1
 --summary-out=tmp/95743.bisection-summary --basis-template=95353 
--blessings=real,real-bisect xen-unstable test-amd64-amd64-qemuu-nested-intel 
xen-boot/l1
Searching for failure / basis pass:
 95543 fail [host=godello1] / 95353 [host=italia1] 95309 [host=fiano1] 95281 
[host=fiano0] 95242 [host=baroque1] 95222 [host=huxelrebe1] 95203 
[host=huxelrebe0] 95174 [host=elbling0] 95129 [host=elbling1] 95086 
[host=baroque0] 94967 [host=chardonnay0] 94959 [host=chardonnay1] 94895 
[host=fiano1] 94876 [host=baroque1] 94852 [host=italia0] 94802 [host=fiano0] 
94789 [host=elbling0] 94780 [host=huxelrebe0] 94770 [host=elbling1] 94756 
[host=chardonnay0] 94746 [host=baroque1] 94740 [host=chardonnay1] 94730 
[host=baroque0] 94718 [host=huxelrebe1] 94699 [host=elbling0] 94639 
[host=italia0] 94616 [host=fiano1] 94610 [host=fiano0] 94580 [host=italia1] 
94536 [host=elbling1] 94507 [host=baroque1] 94495 [host=baroque0] 94487 
[host=huxelrebe1] 94461 [host=chardonnay1] 94442 [host=fiano1] 94070 
[host=chardonnay0] 94021 [host=fiano0] 93963 [host=baroque1] 93920 
[host=elbling1] 93873 [host=huxelrebe1] 93813 [host=baroque0] 93725 
[host=italia0] 93638 [host=italia1] 93612 [host=huxelrebe0] 93587 [host=fiano1] 
93563 [host=fiano0] 93515 [host=chardonnay1] 93496 [host=elbling0] 93408 
[host=baroque1] 93381 [host=elbling1] 93364 [host=italia1] 93337 
[host=huxelrebe0] 93296 [host=baroque0] 93272 [host=chardonnay0] 93256 
[host=fiano1] 93225 [host=fiano0] 93001 [host=huxelrebe1] 92925 [host=baroque0] 
92791 [host=elbling1] 92651 [host=italia0] 92543 [host=godello0] 92456 
[host=huxelrebe0] 92263 [host=chardonnay1] 92185 ok.
Failure / basis pass flights: 95543 / 92185
(tree with no url: minios)
(tree with no url: ovmf)
(tree with no url: seabios)
Tree: linux git://xenbits.xen.org/linux-pvops.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 f06cb456a442c7df95a4ba6e2f3a341cf925d7cf 
c530a75c1e6a472b0eb9558310b518f0dfcd8860 
6e20809727261599e8527c456eb078c0e89139a1 
44a072f0de0d57c95c2212bbce02888832b7b74f 
6e908ee108caec78f95e639b8ef43ac5dd1d5e45
Basis pass 55d37e17318fd5cf40b62fd02ce6ff75e422d862 
c530a75c1e6a472b0eb9558310b518f0dfcd8860 
21f6526d1da331611ac5fe12967549d1a04e149b 
316a862e5534249a6e6d876b4e203342d3fb870e 
4e4689e74d012b737bbca820cfe52c689c7d9cef
Generating revisions with ./adhoc-revtuple-generator  
git://xenbits.xen.org/linux-pvops.git#55d37e17318fd5cf40b62fd02ce6ff75e422d862-f06cb456a442c7df95a4ba6e2f3a341cf925d7cf
 
git://xenbits.xen.org/osstest/linux-firmware.git#c530a75c1e6a472b0eb9558310b518f0dfcd8860-c530a75c1e6a472b0eb9558310b518f0dfcd8860
 
git://xenbits.xen.org/qemu-xen-traditional.git#21f6526d1da331611ac5fe12967549d1a04e149b-6e20809727261599e8527c456eb078c0e89139a1
 
git://xenbits.xen.org/qemu-xen.git#316a862e5534249a6e6d876b4e203342d3fb870e-44a072f0de0d57c95c2212bbce02888832b7b74f
 
git://xenbits.xen.org/xen.git#4e4689e74d012b737bbca820cfe52c689c7d9cef-6e908ee108caec78f95e639b8ef43ac5dd1d5e45
Loaded 10934 nodes in revision graph
Searching for test results:
 92185 pass 55d37e17318fd5cf40b62fd02ce6ff75e422d862 
c530a75c1e6a472b0eb9558310b518f0dfcd8860 
21f6526d1da331611ac5fe12967549d1a04e149b 
316a862e5534249a6e6d876b4e203342d3fb870e 
4e4689e74d012b737bbca820cfe52c689c7d9cef
 92263 [host=chardonnay1]
 92456 [host=huxelrebe0]
 92543 [host=godello0]
 92651 [host=italia0]
 92791 [host=elbling1]
 92925 [host=baroque0]
 93001 [host=huxelrebe1]
 93225 [host=fiano0]
 93256 [host=fiano1]
 93272 [host=chardonnay0]
 93296 [host=baroque0]
 93364 [host=italia1]
 93337 [host=huxelrebe0]
 93381 [host=elbling1]
 93408 [host=baroque1]
 93496 [host=elbling0]
 93515 [host=chardonnay1]
 93563 [host=fiano0]
 93587 [host=fiano1]
 93612 [host=huxelrebe0]
 93638 [host=italia1]
 93725 [host=italia0]
 93813 [host=baroque0]
 93873 [host=huxelrebe1]
 93963 [host=baroque1]
 93920 [host=elbling1]
 94021 [host=fiano0]
 94070 [host=chardonnay0]
 94442 [host=fiano1]
 94461 [host=chardonnay1]
 94495 [host=baroque0]
 94487 [host=huxelrebe1]
 94507 [host=baroque1]
 94536 [host=elbling1]
 94563 [host=italia1]
 94581 [host=italia1]
 94585 [host=italia1]
 94580 [host=italia1]
 94610 [host=fiano0]
 94616 [host=fiano1]
 94639 [host=italia0]
 94699 [host=elbling0]
 94718 [host=huxelrebe1]
 94740 [host=chardonnay1]
 94730 [host=baroque0]
 94746 [host=baroque1]
 94756 [host=chardonnay0]
 94770 [host=elbling1]
 94789 [host=elbling0]
 94780 [host=huxelrebe0]
 94802 [host=fiano0]
 94852 [host=italia0]
 94876 [host=baroque1]
 94959 [host=chardonnay1]
 94895 [host=fiano1]
 94905 [host=italia1]
 94967 [host=chardonnay0]
 95086 [host=baroque0]
 95098 []
 95129 [host=elbling1]
 95174 [host=elbling0]
 95203 [host=huxelrebe0]
 95222 [host=huxelrebe1]
 95242 [host=baroque1]
 95281 [host=fiano0]
 95309 [host=fiano1]
 95353 [host=italia1]
 95469 fail f06cb456a442c7df95a4ba6e2f3a341cf925d7cf 
c530a75c1e6a472b0eb9558310b518f0dfcd8860 
df553c056104e3dd8a2bd2e72539a57c4c085bae 
44a072f0de0d57c95c2212bbce02888832b7b74f 
74a7ec196f819271dff2676a79ef916c50d88342
 95541 pass 55d37e17318fd5cf40b62fd02ce6ff75e422d862 
c530a75c1e6a472b0eb9558310b518f0dfcd8860 
21f6526d1da331611ac5fe12967549d1a04e149b 
316a862e5534249a6e6d876b4e203342d3fb870e 
4e4689e74d012b737bbca820cfe52c689c7d9cef
 95543 fail f06cb456a442c7df95a4ba6e2f3a341cf925d7cf 
c530a75c1e6a472b0eb9558310b518f0dfcd8860 
6e20809727261599e8527c456eb078c0e89139a1 
44a072f0de0d57c95c2212bbce02888832b7b74f 
6e908ee108caec78f95e639b8ef43ac5dd1d5e45
 95601 fail f06cb456a442c7df95a4ba6e2f3a341cf925d7cf 
c530a75c1e6a472b0eb9558310b518f0dfcd8860 
df553c056104e3dd8a2bd2e72539a57c4c085bae 
44a072f0de0d57c95c2212bbce02888832b7b74f 
74a7ec196f819271dff2676a79ef916c50d88342
 95607 pass 48763742b1bceb119b04656b8dd06e0617dfa89a 
c530a75c1e6a472b0eb9558310b518f0dfcd8860 
21f6526d1da331611ac5fe12967549d1a04e149b 
62b3d206425c245ed0a020390a64640d40d97471 
60935158cbf74f4cd6f69190ced9be0391cfa506
 95610 pass c977650a67e6ca6c3cff9548b031d072d00db80a 
c530a75c1e6a472b0eb9558310b518f0dfcd8860 
df553c056104e3dd8a2bd2e72539a57c4c085bae 
c2092c20d6ad5e26375ec680c504fe584ae5d4b5 
1260c7fdb91dfe0033d6eef0e94b93607be020a9
 95702 pass 55d37e17318fd5cf40b62fd02ce6ff75e422d862 
c530a75c1e6a472b0eb9558310b518f0dfcd8860 
21f6526d1da331611ac5fe12967549d1a04e149b 
316a862e5534249a6e6d876b4e203342d3fb870e 
4e4689e74d012b737bbca820cfe52c689c7d9cef
 95730 fail f06cb456a442c7df95a4ba6e2f3a341cf925d7cf 
c530a75c1e6a472b0eb9558310b518f0dfcd8860 
df553c056104e3dd8a2bd2e72539a57c4c085bae 
44a072f0de0d57c95c2212bbce02888832b7b74f 
c52319642bb9069436d4aec75361049f5fac63ed
 95706 fail f06cb456a442c7df95a4ba6e2f3a341cf925d7cf 
c530a75c1e6a472b0eb9558310b518f0dfcd8860 
6e20809727261599e8527c456eb078c0e89139a1 
44a072f0de0d57c95c2212bbce02888832b7b74f 
6e908ee108caec78f95e639b8ef43ac5dd1d5e45
 95710 pass f06cb456a442c7df95a4ba6e2f3a341cf925d7cf 
c530a75c1e6a472b0eb9558310b518f0dfcd8860 
df553c056104e3dd8a2bd2e72539a57c4c085bae 
44a072f0de0d57c95c2212bbce02888832b7b74f 
ca04e01490acc333b43cfc784751d09134e65e18
 95734 pass f06cb456a442c7df95a4ba6e2f3a341cf925d7cf 
c530a75c1e6a472b0eb9558310b518f0dfcd8860 
df553c056104e3dd8a2bd2e72539a57c4c085bae 
44a072f0de0d57c95c2212bbce02888832b7b74f 
268ead59ce10967cf7490353d743ebc1bb7a9a4c
 95737 fail f06cb456a442c7df95a4ba6e2f3a341cf925d7cf 
c530a75c1e6a472b0eb9558310b518f0dfcd8860 
df553c056104e3dd8a2bd2e72539a57c4c085bae 
44a072f0de0d57c95c2212bbce02888832b7b74f 
c52319642bb9069436d4aec75361049f5fac63ed
 95714 pass f06cb456a442c7df95a4ba6e2f3a341cf925d7cf 
c530a75c1e6a472b0eb9558310b518f0dfcd8860 
df553c056104e3dd8a2bd2e72539a57c4c085bae 
44a072f0de0d57c95c2212bbce02888832b7b74f 
fc326b7480ea4d7ca8662b185cc296cac27eb8c9
 95719 fail f06cb456a442c7df95a4ba6e2f3a341cf925d7cf 
c530a75c1e6a472b0eb9558310b518f0dfcd8860 
df553c056104e3dd8a2bd2e72539a57c4c085bae 
44a072f0de0d57c95c2212bbce02888832b7b74f 
bacbf0cb73490ff12dba9436e4a038a4774a0037
 95723 fail f06cb456a442c7df95a4ba6e2f3a341cf925d7cf 
c530a75c1e6a472b0eb9558310b518f0dfcd8860 
df553c056104e3dd8a2bd2e72539a57c4c085bae 
44a072f0de0d57c95c2212bbce02888832b7b74f 
b9daff9d811285f1e40669bc621c2241793f7a95
 95739 pass f06cb456a442c7df95a4ba6e2f3a341cf925d7cf 
c530a75c1e6a472b0eb9558310b518f0dfcd8860 
df553c056104e3dd8a2bd2e72539a57c4c085bae 
44a072f0de0d57c95c2212bbce02888832b7b74f 
268ead59ce10967cf7490353d743ebc1bb7a9a4c
 95726 pass f06cb456a442c7df95a4ba6e2f3a341cf925d7cf 
c530a75c1e6a472b0eb9558310b518f0dfcd8860 
df553c056104e3dd8a2bd2e72539a57c4c085bae 
44a072f0de0d57c95c2212bbce02888832b7b74f 
268ead59ce10967cf7490353d743ebc1bb7a9a4c
 95743 fail f06cb456a442c7df95a4ba6e2f3a341cf925d7cf 
c530a75c1e6a472b0eb9558310b518f0dfcd8860 
df553c056104e3dd8a2bd2e72539a57c4c085bae 
44a072f0de0d57c95c2212bbce02888832b7b74f 
c52319642bb9069436d4aec75361049f5fac63ed
Searching for interesting versions
 Result found: flight 92185 (pass), for basis pass
 Result found: flight 95543 (fail), for basis failure
 Repro found: flight 95702 (pass), for basis pass
 Repro found: flight 95706 (fail), for basis failure
 0 revisions at f06cb456a442c7df95a4ba6e2f3a341cf925d7cf 
c530a75c1e6a472b0eb9558310b518f0dfcd8860 
df553c056104e3dd8a2bd2e72539a57c4c085bae 
44a072f0de0d57c95c2212bbce02888832b7b74f 
268ead59ce10967cf7490353d743ebc1bb7a9a4c
No revisions left to test, checking graph state.
 Result found: flight 95726 (pass), for last pass
 Result found: flight 95730 (fail), for first failure
 Repro found: flight 95734 (pass), for last pass
 Repro found: flight 95737 (fail), for first failure
 Repro found: flight 95739 (pass), for last pass
 Repro found: flight 95743 (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/95743/


  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>

pnmtopng: 93 colors found
Revision graph left in 
/home/logs/results/bisect/xen-unstable/test-amd64-amd64-qemuu-nested-intel.xen-boot--l1.{dot,ps,png,html,svg}.
----------------------------------------
95743: tolerable ALL FAIL

flight 95743 xen-unstable real-bisect [real]
http://logs.test-lab.xenproject.org/osstest/logs/95743/

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


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

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