Comment 3 for bug 1799401

Revision history for this message
Paul Larson (pwlars) wrote :

on the snap testing, it fails test_095_kernel_symbols_missing from the kernel security tests because it is unable to read /proc/self/stack as a normal user. Can you confirm if this is expected?

======================================================================
FAIL: test_095_kernel_symbols_missing (test_kernel_security.KernelSecurityTest)
kernel addresses in kallsyms and modules are zeroed out
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/ubuntu/snap/checkbox-snappy/1418/.cache/plainbox/sessions/smoke-test-2018-10-30T13.32.02.session/CHECKBOX_DATA/test_kernel_security.py", line 1499, in test_095_kernel_symbols_missing
    self._check_pK_files(expected)
  File "/home/ubuntu/snap/checkbox-snappy/1418/.cache/plainbox/sessions/smoke-test-2018-10-30T13.32.02.session/CHECKBOX_DATA/test_kernel_security.py", line 1474, in _check_pK_files
    expected, retry=True)
  File "/home/ubuntu/snap/checkbox-snappy/1418/.cache/plainbox/sessions/smoke-test-2018-10-30T13.32.02.session/CHECKBOX_DATA/test_kernel_security.py", line 1378, in _read_twice
    self.assertEqual(rc, 0, regular)
AssertionError: 1 != 0 : cat: /proc/self/stack: Permission denied