linux 4.17.0-3.4 ADT test failure with linux 4.17.0-3.4

Bug #1779314 reported by Seth Forshee
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
AppArmor
In Progress
Undecided
Steve Beattie
QA Regression Testing
Fix Released
Undecided
Steve Beattie
linux (Ubuntu)
Invalid
Undecided
Unassigned
Revision history for this message
Seth Forshee (sforshee) wrote :

First failure:

  ======================================================================
  FAIL: test_075_config_stack_protector (__main__.KernelSecurityTest)
  CONFIG_CC_STACKPROTECTOR set
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "./test-kernel-security.py", line 921, in test_075_config_stack_protector
      self.assertEqual(self._get_config('CC_STACKPROTECTOR'), expected)
  AssertionError: None != 'y'

  ----------------------------------------------------------------------

Test needs to be updated for changes in kernel config options.

tags: added: kernel-adt-failure
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1779314

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Seth Forshee (sforshee) wrote :

Second failure:

  ======================================================================
  FAIL: test_7 (__main__.AaTest_get_interpreter_and_abstraction)
  test '#!/usr/bin/python'
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/tmp/testlibpNQhZk/source/cosmic/apparmor-2.12/utils/test/common_test.py", line 88, in stub_test
      self._run_test(test_data, expected)
    File "test-aa.py", line 187, in _run_test
      self.assertEqual(interpreter_path, exp_interpreter_path)
  AssertionError: '/usr/bin/python2.7' != '/usr/bin/python2'
  - /usr/bin/python2.7
  ? --
  + /usr/bin/python2

Which seems to be an issue with the test itself.

Steve Beattie (sbeattie)
Changed in linux (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Steve Beattie (sbeattie) wrote :

The CONFIG_CC_STACKPROTECTOR issue was addressed in bug 1776242, leaving the apparmor test failure to resolve.

Revision history for this message
Steve Beattie (sbeattie) wrote :

For the apparmor failure, this is caused by /usr/bin/python being a symlink to python2, which is in turn a symlink to python2.7, which caught the tests unprepared to handle nested symlinks like that. A fix has been proposed at https://gitlab.com/apparmor/apparmor/merge_requests/147 and committed to the qa-regression-testing tree in https://git.launchpad.net/qa-regression-testing/commit/?id=30c513e222cadc8abe24463cefadce53bf0e277a .

Thanks.

Changed in qa-regression-testing:
status: New → Fix Released
Changed in apparmor:
status: New → In Progress
assignee: nobody → Steve Beattie (sbeattie)
Changed in qa-regression-testing:
assignee: nobody → Steve Beattie (sbeattie)
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.