As this is failing on ADT, it is failing on VMs on an environment we
don't have much control of. This could be caused by host kernel, qemu or
libvirt combinations that will make the guest kernel observe a given
mitigation while it's not really in place.

This test was added after 5.4, so the failure won't be observed on
kernels before 5.11. I have fixed it once so it detects the Vulnerable
case and have the test return the SKIP code.

We need to fix this sooner rather than later, otherwise ADT test results
will continue to fail. The other option is to skip this on our tests.

Cascardo.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1953366

Title:
  spectre_v2 from ubuntu_kernel_selftests ADT test failure with
  5.13/5.11 ppc64el

Status in ubuntu-kernel-tests:
  New
Status in linux package in Ubuntu:
  Incomplete

Bug description:
  This is a scripted bug report about ADT failures while running linux
  tests for linux/5.13.0-23.23 on impish. Whether this is caused by the
  dep8 tests of the tested source or the kernel has yet to be
  determined.

  This test was previously being skipped. After recent test changes,
  it's now showing up as a failure. Not a regression.

  ubuntu_kernel_selftests.powerpc/security:spectre_v2 consistently
  failing on 5.13 and 5.11

  Found failing on:
    Impish/linux 5.13.0-23.23
    Hirsute/linux 5.11.0-42.46 (passed on first run, though failing after 
retrigger)
    Foal/hwe-5.13 5.13.0-23.23~20.04.1
    Focal/hwe-5.11 5.11.0-42.46~20.04.1

  23:45:31 DEBUG| [stdout] # selftests: powerpc/security: spectre_v2
  23:45:31 DEBUG| [stdout] # test: spectre_v2
  23:45:31 DEBUG| [stdout] # tags: git_version:d9c024c2-dirty
  23:45:50 DEBUG| [stdout] # sysfs reports: 'Mitigation: Software count cache 
flush, Software link stack flush'
  23:45:50 DEBUG| [stdout] #  PM_BR_PRED_CCACHE: result 2147483649 
running/enabled 19680067308
  23:45:50 DEBUG| [stdout] # PM_BR_MPRED_CCACHE: result 2147475077 
running/enabled 19680064034
  23:45:50 DEBUG| [stdout] #  PM_BR_PRED_PCACHE: result          0 
running/enabled 19680062840
  23:45:50 DEBUG| [stdout] # PM_BR_MPRED_PCACHE: result          0 
running/enabled 19680061722
  23:45:50 DEBUG| [stdout] # Miss percent 99 %
  23:45:50 DEBUG| [stdout] # Branch misses > 15% unexpected in this 
configuration!
  23:45:50 DEBUG| [stdout] # Possible mis-match between reported & actual 
mitigation
  23:45:50 DEBUG| [stdout] # failure: spectre_v2
  23:45:50 DEBUG| [stdout] not ok 1 selftests: powerpc/security: spectre_v2 # 
exit=1
  23:45:50 DEBUG| [stdout] make: Leaving directory 
'/tmp/autopkgtest.XkeXuO/build.i7C/src/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/powerpc/security'

  Testing failed on:
      ppc64el: 
https://autopkgtest.ubuntu.com/results/autopkgtest-impish/impish/ppc64el/l/linux/20211204_000820_141a2@/log.gz

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1953366/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to