Public bug reported: This test is expecting to throw a return code 137 or 139, but it got 0 instead
ulimit -s 1 && /bin/true echo $? After that, if you try to run top command, it will failed with segfault. FAIL: test_ulimit_stack_small (__main__.KernelNonSecurityTest) Ensure small stack limits are enforced ---------------------------------------------------------------------- Traceback (most recent call last): File "./test-kernel-security.py", line 2855, 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, 137 Command: 'sudo', '-u', 'ubuntu', 'sh', '-c', 'ulimit -s 1 && /bin/true' Output: ** Affects: ubuntu-kernel-tests Importance: Undecided Status: New ** Affects: linux (Ubuntu) Importance: Undecided Status: Incomplete ** Also affects: ubuntu-kernel-tests Importance: Undecided Status: New -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1816467 Title: test_ulimit_stack_small in ubuntu_qrt_kernel_security failed on PPC64 Status in ubuntu-kernel-tests: New Status in linux package in Ubuntu: Incomplete Bug description: This test is expecting to throw a return code 137 or 139, but it got 0 instead ulimit -s 1 && /bin/true echo $? After that, if you try to run top command, it will failed with segfault. FAIL: test_ulimit_stack_small (__main__.KernelNonSecurityTest) Ensure small stack limits are enforced ---------------------------------------------------------------------- Traceback (most recent call last): File "./test-kernel-security.py", line 2855, 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, 137 Command: 'sudo', '-u', 'ubuntu', 'sh', '-c', 'ulimit -s 1 && /bin/true' Output: To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1816467/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp