Regardless of whether the linux-kvm maintainer decides to enable this
option, the test should not fail if the option is disabled. I'll fix qrt
to check for CONFIG_STACKTRACE.

Thanks!

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

Title:
  /proc/self/stack does not exist in kvm kernel, causing failures in
  kernel security test

Status in QA Regression Testing:
  New
Status in ubuntu-kernel-tests:
  New
Status in linux-kvm package in Ubuntu:
  New

Bug description:
  Linux larry 4.18.0-1005-kvm #5-Ubuntu SMP Thu Nov 15 20:22:03 UTC 2018
  x86_64 x86_64 x86_64 GNU/Linux

  # ls /proc/self/stack
  ls: cannot access '/proc/self/stack': No such file or directory

  Thus:
  FAIL: test_095_kernel_symbols_missing_proc_self_stack 
(__main__.KernelSecurityTest)
  kernel addresses in /proc/self/stack are zeroed out
  ----------------------------------------------------------------------
  Traceback (most recent call last):
  File "./test-kernel-security.py", line 1352, in 
test_095_kernel_symbols_missing_proc_self_stack
  self._check_pK_files(self._095_kernel_symbols_missing_proc_self_stack, 
expected=expected)
  File "./test-kernel-security.py", line 1199, in _check_pK_files
  test_function(expected_restricted)
  File "./test-kernel-security.py", line 1296, in 
_095_kernel_symbols_missing_proc_self_stack
  '/proc/self/stack does not exist')
  AssertionError: /proc/self/stack does not exist

To manage notifications about this bug go to:
https://bugs.launchpad.net/qa-regression-testing/+bug/1805105/+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