mantic:linux: ubuntu_qrt_kernel_security: KernelSecurityConfigTest.test_290_config_hardened_usercopy skipped

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

Bug Description

6395s 11:42:55 DEBUG| Running 'python3 ./test-kernel-security.py -v KernelSecurityConfigTest.test_290_config_hardened_usercopy'

6395s 11:42:55 DEBUG| [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')

6395s 11:42:55 ERROR| [stderr] test_290_config_hardened_usercopy (__main__.KernelSecurityConfigTest.test_290_config_hardened_usercopy)
6395s 11:42:55 ERROR| [stderr] Ensure CONFIG_HARDENED_USERCOPY is set ... (skipped: HARDENED_USERCOPY depends on the allocator and strict devmem) FAIL
6395s 11:42:55 ERROR| [stderr]
6395s 11:42:55 ERROR| [stderr] ======================================================================
6395s 11:42:55 ERROR| [stderr] FAIL: test_290_config_hardened_usercopy (__main__.KernelSecurityConfigTest.test_290_config_hardened_usercopy)
6395s 11:42:55 ERROR| [stderr] Ensure CONFIG_HARDENED_USERCOPY is set
6395s 11:42:55 ERROR| [stderr] ----------------------------------------------------------------------
6395s 11:42:55 ERROR| [stderr] Traceback (most recent call last):
6395s 11:42:55 ERROR| [stderr] File "/tmp/autopkgtest.Si3gP4/build.moT/src/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/./test-kernel-security.py", line 2724, in test_290_config_hardened_usercopy
6395s 11:42:55 ERROR| [stderr] self.assertKernelConfigUnset(config_name)
6395s 11:42:55 ERROR| [stderr] File "/tmp/autopkgtest.Si3gP4/build.moT/src/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/./test-kernel-security.py", line 223, in assertKernelConfigUnset
6395s 11:42:55 ERROR| [stderr] self.assertFalse(self._test_config(name),
6395s 11:42:55 ERROR| [stderr] AssertionError: True is not false : HARDENED_USERCOPY option was expected to be unset in the kernel config

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.