Comment 5 for bug 1814295

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

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: