The test script didn't take into account that modinfo hides modules that
are aliased away under alternative locations; I've fixed it to just
check the module .ko files it finds directly. This is fixed in QRT
commit https://git.launchpad.net/qa-regression-
testing/commit/?id=9040cc59e48f12a8aa586db383464553956ed656

Thanks!

** Changed in: qa-regression-testing
       Status: New => Fix Released

** Changed in: qa-regression-testing
     Assignee: (unassigned) => Steve Beattie (sbeattie)

** Changed in: linux-aws (Ubuntu)
       Status: New => Invalid

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

Title:
  test_350_retpolined_modules from ubuntu_qrt_kernel_security failed
  with AWS X-4.4 (Module crc32 not found)

Status in QA Regression Testing:
  Fix Released
Status in ubuntu-kernel-tests:
  New
Status in linux-aws package in Ubuntu:
  Invalid

Bug description:
  FAIL: test_350_retpolined_modules (__main__.KernelSecurityTest)
  Test to ensure all modules are built with retpoline on x86
  ----------------------------------------------------------------------
  Traceback (most recent call last):
  File "./test-kernel-security.py", line 2021, in test_350_retpolined_modules
  modinfo_output = self.assertShellExitEquals(0, ['modinfo', '-F', 'retpoline', 
'-k', self.kernel_version, module], bare_report=True)
  File 
"/home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/testlib.py",
 line 1140, in assertShellExitEquals
  self.assertEqual(expected, rc, msg + result + report)
  AssertionError: Got exit code 1, expected 0
  Command: 'modinfo', '-F', 'retpoline', '-k', '4.4.0-1064-aws', 'crc32'
  Output:
  modinfo: ERROR: Module crc32 not found.

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