mantic:linux ubuntu_qrt_kernel_security.KernelSecurityTest.test_082_stack_guard_kernel: Could not find a suitable kernel module to test

Bug #2038437 reported by Stefan Bader
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Triaged
Medium
Unassigned
Mantic
Triaged
Medium
Unassigned

Bug Description

Running the ubuntu_qrt_kernel_security suite as part of the linux (selftest) suite produces the following error:

stdout:
Running test: './test-kernel-security.py' distro: 'Ubuntu 23.10' kernel: '6.5.0-7.7
 (Ubuntu 6.5.0-7.7-generic 6.5.3)' arch: 'amd64' init: 'systemd' uid: 0/0 SUDO_USER: 'ubuntu')

stderr:
test_082_stack_guard_kernel (__main__.KernelSecurityTest.test_082_stack_guard_kernel)
Kernel stack guard ... FAIL

======================================================================
FAIL: test_082_stack_guard_kernel (__main__.KernelSecurityTest.test_082_stack_guard_kernel)
Kernel stack guard
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/autopkgtest.Si3gP4/build.moT/src/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/./test-kernel-security.py", line 758, in test_082_stack_guard_kernel
    self.assertTrue(module, 'Could not find a suitable kernel module to test')
AssertionError: '' is not true : Could not find a suitable kernel module to test

There is no clear indication which module(s) are attempted but probably those got renamed or this is due to compressing the modules resulting in different filename extensions.

Stefan Bader (smb)
affects: ubuntu → linux (Ubuntu)
Revision history for this message
Andrea Righi (arighi) wrote :

Patch in attach (against qa-regression-testing) allows to fix this issue.

tags: added: patch
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.