Hello,
It looks like this is a bit flaky for i386,
I can see this failure with 4.18.0-19.20~18.04.1-generic on i386 node "onza", fail rate 2 out of 3 attempts.
======================================================================
FAIL: test_ulimit_stack_small (__main__.KernelNonSecurityTest)
Ensure small stack limits are enforced
----------------------------------------------------------------------
Traceback (most recent call last):
File "./test-kernel-security.py", line 2896, in test_ulimit_stack_small
self.assertShellExitIn(expected, self._unpriv_cmd(["sh", "-c", "ulimit -s 1 && /bin/true"]))
File "/home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/testlib.py", line 1151, in assertShellExitIn
self.assertIn(rc, expected, msg + result + report)
AssertionError: Got exit code 0, expected one of 139
Command: 'sudo', '-u', 'ubuntu', 'sh', '-c', 'ulimit -s 1 && /bin/true'
Output:
Hello, 19.20~18. 04.1-generic on i386 node "onza", fail rate 2 out of 3 attempts.
It looks like this is a bit flaky for i386,
I can see this failure with 4.18.0-
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= stack_small (__main_ _.KernelNonSecu rityTest) ------- ------- ------- ------- ------- ------- ------- ------- ------- kernel- security. py", line 2896, 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 1151, 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: