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

Bug #1786392 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QA Regression Testing
Fix Released
Undecided
Steve Beattie
ubuntu-kernel-tests
Fix Released
Undecided
Unassigned
linux-aws (Ubuntu)
Invalid
Undecided
Unassigned
Declined for Xenial by Steve Beattie

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.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

This test has passed on Trusty 4.4 AWS

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

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
assignee: nobody → Steve Beattie (sbeattie)
Changed in linux-aws (Ubuntu):
status: New → Invalid
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Re-tested on X-AWS, the fix works as expected.

Changed in ubuntu-kernel-tests:
status: New → 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.