canonical-ubuntu-qa team mailing list archive
-
canonical-ubuntu-qa team
-
Mailing list archive
-
Message #06709
[Bug 1816467] Re: test_ulimit_stack_small in ubuntu_qrt_kernel_security failed on PPC64
*** This bug is a duplicate of bug 1814295 ***
https://bugs.launchpad.net/bugs/1814295
** Tags added: kernel-daily-bug
--
You received this bug notification because you are a member of Canonical
Platform QA Team, which is subscribed to ubuntu-kernel-tests.
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