security test - 095_kernel_symbols_missing failed on 18.04 classic image

Bug #1773335 reported by Betty Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Provider for Plainbox - Snappy
Fix Released
High
Unassigned

Bug Description

Description:
Run security tests and failed one item: test_095_kernel_symbols_missing

Test command:
command: export PATH=$PLAINBOX_PROVIDER_DATA/kernel-security/_mocks:$PATH && cd $PLAINBOX_SESSION_SHARE && python3 -m unittest {pyobj}

Failed report:
https://certification.canonical.com/hardware/201803-26151/submission/130241/test/68593/result/9725596/

F
======================================================================
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/admin/.cache/plainbox/sessions/caracalla-test-runner-2018-05-24T02.39.58.session/CHECKBOX_DATA/test_kernel_security.py", line 1499, in test_095_kernel_symbols_missing
    self._check_pK_files(expected)
  File "/home/admin/.cache/plainbox/sessions/caracalla-test-runner-2018-05-24T02.39.58.session/CHECKBOX_DATA/test_kernel_security.py", line 1440, in _check_pK_files
    expected)
  File "/home/admin/.cache/plainbox/sessions/caracalla-test-runner-2018-05-24T02.39.58.session/CHECKBOX_DATA/test_kernel_security.py", line 1378, in _read_twice
    self.assertEqual(rc, 0, regular)
AssertionError: 1 != 0 : cat: /sys/module/hid/sections/.text: Permission denied

----------------------------------------------------------------------
Ran 1 test in 0.982s

FAILED (failures=1)

Changed in plainbox-provider-snappy:
assignee: nobody → Maciej Kisielewski (kissiel)
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Chris Wayne (cwayne) wrote :

We've removed kern-sec tests from checkbox, marking this fixed

Changed in plainbox-provider-snappy:
status: Confirmed → Fix Committed
assignee: Maciej Kisielewski (kissiel) → nobody
Changed in plainbox-provider-snappy:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.