Finding two failures in test-kernel-security.py from ubuntu_qrt_kernel_security fails on impish (test_ulimit_stack_small / test_030_mmap_min). These are found on previous kernels from Impish, so not considered a regression.
hosts: generic-64k dazzle and helo-kernel
test_ulimit_stack_small (__main__.KernelNonSecurityTest)
Ensure small stack limits are enforced ... FAIL
Finding two failures in test-kernel- security. py from ubuntu_ qrt_kernel_ security fails on impish (test_ulimit_ stack_small / test_030_mmap_min). These are found on previous kernels from Impish, so not considered a regression.
hosts: generic-64k dazzle and helo-kernel
test_ulimit_ stack_small (__main_ _.KernelNonSecu rityTest)
Ensure small stack limits are enforced ... FAIL
.....
test_030_mmap_min (__main_ _.KernelSecurit yTest)
10/22 01:49:47 ERROR| utils:0153| [stderr] Low memory allocation respects mmap_min_addr ... (arm kernel with 64K pages configured (LP:#1931393) (65536) FAIL
.....
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= stack_small (__main_ _.KernelNonSecu rityTest) ------- ------- ------- ------- ------- ------- ------- ------- ------- kernel- security. py", line 3014, in test_ulimit_ stack_small assertShellExit In(expected, self._unpriv_ cmd(["sh" , "-c", "ulimit -s 1 && /bin/true"])) ubuntu/ autotest/ client/ tmp/ubuntu_ qrt_kernel_ security/ src/qa- regression- testing/ scripts/ testlib. py", line 1218, in assertShellExitIn assertIn( rc, expected, msg + result + report)
FAIL: test_ulimit_
Ensure small stack limits are enforced
-------
Traceback (most recent call last):
File "./test-
self.
File "/home/
self.
AssertionError: Got exit code 0, expected one of 139
Command: 'sudo', '-u', 'ubuntu', 'sh', '-c', 'ulimit -s 1 && /bin/true'
Output:
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= _.KernelSecurit yTest) ------- ------- ------- ------- ------- ------- ------- ------- ------- kernel- security. py", line 285, in test_030_mmap_min sysctl_ value(' vm/mmap_ min_addr' , wanted, "is wine or qemu-kvm- extras- static installed?") ubuntu/ autotest/ client/ tmp/ubuntu_ qrt_kernel_ security/ src/qa- regression- testing/ scripts/ testlib. py", line 1269, in _test_sysctl_value assertEqual( value, expected, report) vm/mmap_ min_addr is not 65536: 32768 (is wine or qemu-kvm- extras- static installed?)
FAIL: test_030_mmap_min (__main_
Low memory allocation respects mmap_min_addr
-------
Traceback (most recent call last):
File "./test-
mmap_limit = self._test_
File "/home/
self.
AssertionError: /proc/sys/
------- ------- ------- ------- ------- ------- ------- ------- ------- -------
Ran 125 tests in 26.120s
FAILED (failures=2)