xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: osstest service owner <osstest-admin@xenproject.org>
To: xen-devel@lists.xensource.com, osstest-admin@xenproject.org
Subject: [linux-3.14 bisection] complete test-amd64-i386-freebsd10-amd64
Date: Wed, 15 Jun 2016 07:26:51 +0000	[thread overview]
Message-ID: <E1bD5Dv-0001v5-OY@osstest.test-lab.xenproject.org> (raw)

branch xen-unstable
xenbranch xen-unstable
job test-amd64-i386-freebsd10-amd64
testid guest-start

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


  commit c52319642bb9069436d4aec75361049f5fac63ed
  Author: Andrew Cooper <andrew.cooper3@citrix.com>
  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@intel.com>
      Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
      Tested-by: Luwei Kang <luwei.kang@intel.com>
      Release-acked-by: Wei Liu <wei.liu2@citrix.com>
      Reviewed-by: Jan Beulich <jbeulich@suse.com>


For bisection revision-tuple graph see:
   http://logs.test-lab.xenproject.org/osstest/results/bisect/linux-3.14/test-amd64-i386-freebsd10-amd64.guest-start.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-i386-freebsd10-amd64.guest-start --summary-out=tmp/95758.bisection-summary --basis-template=95164 --blessings=real,real-bisect linux-3.14 test-amd64-i386-freebsd10-amd64 guest-start
Searching for failure / basis pass:
 95514 fail [host=baroque1] / 95164 [host=elbling0] 94568 ok.
Failure / basis pass flights: 95514 / 94568
(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 c977650a67e6ca6c3cff9548b031d072d00db80a c530a75c1e6a472b0eb9558310b518f0dfcd8860 e4ceb77cf88bc44f0b7fe39225c49d660735f327 62b3d206425c245ed0a020390a64640d40d97471 ad4aa3619f436e3ed79eea8498ac18aa8d5e6b83
Generating revisions with ./adhoc-revtuple-generator  git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git#c977650a67e6ca6c3cff9548b031d072d00db80a-022aafd04696a3c6b7ad47ab83a9650646287bf8 git://xenbits.xen.org/osstest/linux-firmware.git#c530a75c1e6a472b0eb9558310b518f0dfcd8860-c530a75c1e6a472b0eb9558310b518f0dfcd8860 git://xenbits.xen.org/qemu-xen-traditional.git#e4ceb77cf88bc44f0b7fe39225c49d660735f327-df553c056104e3dd8a2bd2e72539a57c4c085bae git://xenbits.xen.org/qemu-xen.git#62b3d206425c245ed0a020390a64640d40d97471-44a072f0de0d57c95c2212bbce02888832b7b74f git://xenbits.xen.org/xen.git#ad4aa3619f436e3ed79eea8498ac18aa8d5e6b83-c2a17869d5dcd845d646bf4db122cad73596a2be
Loaded 7026 nodes in revision graph
Searching for test results:
 94568 pass c977650a67e6ca6c3cff9548b031d072d00db80a c530a75c1e6a472b0eb9558310b518f0dfcd8860 e4ceb77cf88bc44f0b7fe39225c49d660735f327 62b3d206425c245ed0a020390a64640d40d97471 ad4aa3619f436e3ed79eea8498ac18aa8d5e6b83
 95164 [host=elbling0]
 95407 fail 022aafd04696a3c6b7ad47ab83a9650646287bf8 c530a75c1e6a472b0eb9558310b518f0dfcd8860 df553c056104e3dd8a2bd2e72539a57c4c085bae 44a072f0de0d57c95c2212bbce02888832b7b74f c2a17869d5dcd845d646bf4db122cad73596a2be
 95453 fail 022aafd04696a3c6b7ad47ab83a9650646287bf8 c530a75c1e6a472b0eb9558310b518f0dfcd8860 df553c056104e3dd8a2bd2e72539a57c4c085bae 44a072f0de0d57c95c2212bbce02888832b7b74f c2a17869d5dcd845d646bf4db122cad73596a2be
 95514 fail 022aafd04696a3c6b7ad47ab83a9650646287bf8 c530a75c1e6a472b0eb9558310b518f0dfcd8860 df553c056104e3dd8a2bd2e72539a57c4c085bae 44a072f0de0d57c95c2212bbce02888832b7b74f c2a17869d5dcd845d646bf4db122cad73596a2be
 95752 fail f06cb456a442c7df95a4ba6e2f3a341cf925d7cf c530a75c1e6a472b0eb9558310b518f0dfcd8860 df553c056104e3dd8a2bd2e72539a57c4c085bae 44a072f0de0d57c95c2212bbce02888832b7b74f c52319642bb9069436d4aec75361049f5fac63ed
 95731 pass f06cb456a442c7df95a4ba6e2f3a341cf925d7cf c530a75c1e6a472b0eb9558310b518f0dfcd8860 df553c056104e3dd8a2bd2e72539a57c4c085bae 44a072f0de0d57c95c2212bbce02888832b7b74f de55e5a0b36591ef0407931b61deb29289275f51
 95711 pass c977650a67e6ca6c3cff9548b031d072d00db80a c530a75c1e6a472b0eb9558310b518f0dfcd8860 e4ceb77cf88bc44f0b7fe39225c49d660735f327 62b3d206425c245ed0a020390a64640d40d97471 ad4aa3619f436e3ed79eea8498ac18aa8d5e6b83
 95715 fail 022aafd04696a3c6b7ad47ab83a9650646287bf8 c530a75c1e6a472b0eb9558310b518f0dfcd8860 df553c056104e3dd8a2bd2e72539a57c4c085bae 44a072f0de0d57c95c2212bbce02888832b7b74f c2a17869d5dcd845d646bf4db122cad73596a2be
 95716 pass f06cb456a442c7df95a4ba6e2f3a341cf925d7cf c530a75c1e6a472b0eb9558310b518f0dfcd8860 df553c056104e3dd8a2bd2e72539a57c4c085bae 44a072f0de0d57c95c2212bbce02888832b7b74f 75cb0a1325d1b65fd64591a07e8476d5cfabba01
 95736 pass f06cb456a442c7df95a4ba6e2f3a341cf925d7cf c530a75c1e6a472b0eb9558310b518f0dfcd8860 df553c056104e3dd8a2bd2e72539a57c4c085bae 44a072f0de0d57c95c2212bbce02888832b7b74f e228585d122817f987806145b09de7914c42a5fe
 95740 pass f06cb456a442c7df95a4ba6e2f3a341cf925d7cf c530a75c1e6a472b0eb9558310b518f0dfcd8860 df553c056104e3dd8a2bd2e72539a57c4c085bae 44a072f0de0d57c95c2212bbce02888832b7b74f 9ab1bd9ab64799816c8223a5f210b7a767ab4ccc
 95720 pass f06cb456a442c7df95a4ba6e2f3a341cf925d7cf c530a75c1e6a472b0eb9558310b518f0dfcd8860 df553c056104e3dd8a2bd2e72539a57c4c085bae 44a072f0de0d57c95c2212bbce02888832b7b74f 03273df2ecbe04bdb16dab1b6dacf8175a0fe84a
 95725 fail 4b7bac82604956ecda33c48bdbfb33ca37b7f632 c530a75c1e6a472b0eb9558310b518f0dfcd8860 df553c056104e3dd8a2bd2e72539a57c4c085bae 44a072f0de0d57c95c2212bbce02888832b7b74f c2a17869d5dcd845d646bf4db122cad73596a2be
 95754 pass f06cb456a442c7df95a4ba6e2f3a341cf925d7cf c530a75c1e6a472b0eb9558310b518f0dfcd8860 df553c056104e3dd8a2bd2e72539a57c4c085bae 44a072f0de0d57c95c2212bbce02888832b7b74f 268ead59ce10967cf7490353d743ebc1bb7a9a4c
 95727 fail f06cb456a442c7df95a4ba6e2f3a341cf925d7cf c530a75c1e6a472b0eb9558310b518f0dfcd8860 df553c056104e3dd8a2bd2e72539a57c4c085bae 44a072f0de0d57c95c2212bbce02888832b7b74f c52319642bb9069436d4aec75361049f5fac63ed
 95742 pass f06cb456a442c7df95a4ba6e2f3a341cf925d7cf c530a75c1e6a472b0eb9558310b518f0dfcd8860 df553c056104e3dd8a2bd2e72539a57c4c085bae 44a072f0de0d57c95c2212bbce02888832b7b74f 268ead59ce10967cf7490353d743ebc1bb7a9a4c
 95746 fail f06cb456a442c7df95a4ba6e2f3a341cf925d7cf c530a75c1e6a472b0eb9558310b518f0dfcd8860 df553c056104e3dd8a2bd2e72539a57c4c085bae 44a072f0de0d57c95c2212bbce02888832b7b74f c52319642bb9069436d4aec75361049f5fac63ed
 95749 pass f06cb456a442c7df95a4ba6e2f3a341cf925d7cf c530a75c1e6a472b0eb9558310b518f0dfcd8860 df553c056104e3dd8a2bd2e72539a57c4c085bae 44a072f0de0d57c95c2212bbce02888832b7b74f 268ead59ce10967cf7490353d743ebc1bb7a9a4c
 95758 fail f06cb456a442c7df95a4ba6e2f3a341cf925d7cf c530a75c1e6a472b0eb9558310b518f0dfcd8860 df553c056104e3dd8a2bd2e72539a57c4c085bae 44a072f0de0d57c95c2212bbce02888832b7b74f c52319642bb9069436d4aec75361049f5fac63ed
Searching for interesting versions
 Result found: flight 94568 (pass), for basis pass
 Result found: flight 95407 (fail), for basis failure
 Repro found: flight 95711 (pass), for basis pass
 Repro found: flight 95715 (fail), for basis failure
 0 revisions at f06cb456a442c7df95a4ba6e2f3a341cf925d7cf c530a75c1e6a472b0eb9558310b518f0dfcd8860 df553c056104e3dd8a2bd2e72539a57c4c085bae 44a072f0de0d57c95c2212bbce02888832b7b74f 268ead59ce10967cf7490353d743ebc1bb7a9a4c
No revisions left to test, checking graph state.
 Result found: flight 95742 (pass), for last pass
 Result found: flight 95746 (fail), for first failure
 Repro found: flight 95749 (pass), for last pass
 Repro found: flight 95752 (fail), for first failure
 Repro found: flight 95754 (pass), for last pass
 Repro found: flight 95758 (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/95758/


  commit c52319642bb9069436d4aec75361049f5fac63ed
  Author: Andrew Cooper <andrew.cooper3@citrix.com>
  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@intel.com>
      Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
      Tested-by: Luwei Kang <luwei.kang@intel.com>
      Release-acked-by: Wei Liu <wei.liu2@citrix.com>
      Reviewed-by: Jan Beulich <jbeulich@suse.com>

Revision graph left in /home/logs/results/bisect/linux-3.14/test-amd64-i386-freebsd10-amd64.guest-start.{dot,ps,png,html,svg}.
----------------------------------------
95758: tolerable ALL FAIL

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

Failures :-/ but no regressions.

Tests which did not succeed,
including tests which could not be run:
 test-amd64-i386-freebsd10-amd64 10 guest-start          fail baseline untested


jobs:
 test-amd64-i386-freebsd10-amd64                              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@lists.xen.org
http://lists.xen.org/xen-devel

                 reply	other threads:[~2016-06-15  7:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1bD5Dv-0001v5-OY@osstest.test-lab.xenproject.org \
    --to=osstest-admin@xenproject.org \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).