2021-11-03 22:54:34 |
Kelsey Steele |
bug |
|
|
added bug |
2021-11-05 01:42:25 |
Po-Hsu Lin |
bug task added |
|
qa-regression-testing |
|
2022-06-06 05:12:21 |
Po-Hsu Lin |
summary |
test-kernel-security.py from ubuntu_qrt_kernel_security fails on impish (test_ulimit_stack_small / test_030_mmap_min) |
test_ulimit_stack_small from ubuntu_qrt_kernel_security fails on I/J arm64k |
|
2022-06-06 05:18:13 |
Po-Hsu Lin |
description |
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
.....
test_030_mmap_min (__main__.KernelSecurityTest)
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
.....
======================================================================
FAIL: test_ulimit_stack_small (__main__.KernelNonSecurityTest)
Ensure small stack limits are enforced
----------------------------------------------------------------------
Traceback (most recent call last):
File "./test-kernel-security.py", line 3014, 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 1218, 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:
======================================================================
FAIL: test_030_mmap_min (__main__.KernelSecurityTest)
Low memory allocation respects mmap_min_addr
----------------------------------------------------------------------
Traceback (most recent call last):
File "./test-kernel-security.py", line 285, in test_030_mmap_min
mmap_limit = self._test_sysctl_value('vm/mmap_min_addr', wanted, "is wine or qemu-kvm-extras-static installed?")
File "/home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/testlib.py", line 1269, in _test_sysctl_value
self.assertEqual(value, expected, report)
AssertionError: /proc/sys/vm/mmap_min_addr is not 65536: 32768 (is wine or qemu-kvm-extras-static installed?)
----------------------------------------------------------------------
Ran 125 tests in 26.120s
FAILED (failures=2) |
Note: I decided to split this report into two, let's track the test_030_mmap_min failure in bug 1931393 - PHLin
Test test_ulimit_stack_small from ubuntu_qrt_kernel_security is failing on Impish / Jammy ARM64k with:
FAIL: test_ulimit_stack_small (__main__.KernelNonSecurityTest)
Ensure small stack limits are enforced
----------------------------------------------------------------------
Traceback (most recent call last):
File "./test-kernel-security.py", line 3020, 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 1218, 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:
----------------------------------------------------------------------
Ran 1 test in 0.016s
[Original Bug Report]
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
.....
test_030_mmap_min (__main__.KernelSecurityTest)
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
.....
======================================================================
FAIL: test_ulimit_stack_small (__main__.KernelNonSecurityTest)
Ensure small stack limits are enforced
----------------------------------------------------------------------
Traceback (most recent call last):
File "./test-kernel-security.py", line 3014, 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 1218, 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:
======================================================================
FAIL: test_030_mmap_min (__main__.KernelSecurityTest)
Low memory allocation respects mmap_min_addr
----------------------------------------------------------------------
Traceback (most recent call last):
File "./test-kernel-security.py", line 285, in test_030_mmap_min
mmap_limit = self._test_sysctl_value('vm/mmap_min_addr', wanted, "is wine or qemu-kvm-extras-static installed?")
File "/home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/testlib.py", line 1269, in _test_sysctl_value
self.assertEqual(value, expected, report)
AssertionError: /proc/sys/vm/mmap_min_addr is not 65536: 32768 (is wine or qemu-kvm-extras-static installed?)
----------------------------------------------------------------------
Ran 125 tests in 26.120s
FAILED (failures=2) |
|
2022-06-06 05:19:40 |
Po-Hsu Lin |
description |
Note: I decided to split this report into two, let's track the test_030_mmap_min failure in bug 1931393 - PHLin
Test test_ulimit_stack_small from ubuntu_qrt_kernel_security is failing on Impish / Jammy ARM64k with:
FAIL: test_ulimit_stack_small (__main__.KernelNonSecurityTest)
Ensure small stack limits are enforced
----------------------------------------------------------------------
Traceback (most recent call last):
File "./test-kernel-security.py", line 3020, 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 1218, 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:
----------------------------------------------------------------------
Ran 1 test in 0.016s
[Original Bug Report]
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
.....
test_030_mmap_min (__main__.KernelSecurityTest)
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
.....
======================================================================
FAIL: test_ulimit_stack_small (__main__.KernelNonSecurityTest)
Ensure small stack limits are enforced
----------------------------------------------------------------------
Traceback (most recent call last):
File "./test-kernel-security.py", line 3014, 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 1218, 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:
======================================================================
FAIL: test_030_mmap_min (__main__.KernelSecurityTest)
Low memory allocation respects mmap_min_addr
----------------------------------------------------------------------
Traceback (most recent call last):
File "./test-kernel-security.py", line 285, in test_030_mmap_min
mmap_limit = self._test_sysctl_value('vm/mmap_min_addr', wanted, "is wine or qemu-kvm-extras-static installed?")
File "/home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/testlib.py", line 1269, in _test_sysctl_value
self.assertEqual(value, expected, report)
AssertionError: /proc/sys/vm/mmap_min_addr is not 65536: 32768 (is wine or qemu-kvm-extras-static installed?)
----------------------------------------------------------------------
Ran 125 tests in 26.120s
FAILED (failures=2) |
Note: I decided to split this report into two, let's track the test_030_mmap_min failure in bug 1931393 - PHLin
Test test_ulimit_stack_small from ubuntu_qrt_kernel_security is failing on Impish / Jammy ARM64k with:
FAIL: test_ulimit_stack_small (__main__.KernelNonSecurityTest)
Ensure small stack limits are enforced
----------------------------------------------------------------------
Traceback (most recent call last):
File "./test-kernel-security.py", line 3020, 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 1218, 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:
----------------------------------------------------------------------
Ran 1 test in 0.016s
This is not failing on ARM64, but failing with generic-64k flavour instead.
[Original Bug Report]
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
.....
test_030_mmap_min (__main__.KernelSecurityTest)
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
.....
======================================================================
FAIL: test_ulimit_stack_small (__main__.KernelNonSecurityTest)
Ensure small stack limits are enforced
----------------------------------------------------------------------
Traceback (most recent call last):
File "./test-kernel-security.py", line 3014, 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 1218, 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:
======================================================================
FAIL: test_030_mmap_min (__main__.KernelSecurityTest)
Low memory allocation respects mmap_min_addr
----------------------------------------------------------------------
Traceback (most recent call last):
File "./test-kernel-security.py", line 285, in test_030_mmap_min
mmap_limit = self._test_sysctl_value('vm/mmap_min_addr', wanted, "is wine or qemu-kvm-extras-static installed?")
File "/home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/testlib.py", line 1269, in _test_sysctl_value
self.assertEqual(value, expected, report)
AssertionError: /proc/sys/vm/mmap_min_addr is not 65536: 32768 (is wine or qemu-kvm-extras-static installed?)
----------------------------------------------------------------------
Ran 125 tests in 26.120s
FAILED (failures=2) |
|
2023-01-16 14:59:19 |
Po-Hsu Lin |
qa-regression-testing: status |
New |
Fix Committed |
|
2023-01-19 09:16:55 |
Po-Hsu Lin |
qa-regression-testing: status |
Fix Committed |
New |
|
2023-04-06 06:37:44 |
Po-Hsu Lin |
tags |
arm64 impish sru-20211018 ubuntu-qrt-kernel-security |
arm64 impish sru-20211018 sru-20230320 ubuntu-qrt-kernel-security |
|
2023-05-08 13:28:33 |
Roxana Nicolescu |
tags |
arm64 impish sru-20211018 sru-20230320 ubuntu-qrt-kernel-security |
arm64 impish sru-20211018 sru-20230320 sru-20230417 ubuntu-qrt-kernel-security |
|
2023-06-06 10:25:31 |
Roxana Nicolescu |
tags |
arm64 impish sru-20211018 sru-20230320 sru-20230417 ubuntu-qrt-kernel-security |
arm64 impish sru-20211018 sru-20230320 sru-20230417 sru-20230515 ubuntu-qrt-kernel-security |
|
2023-07-21 04:05:03 |
Po-Hsu Lin |
tags |
arm64 impish sru-20211018 sru-20230320 sru-20230417 sru-20230515 ubuntu-qrt-kernel-security |
arm64 impish sru-20211018 sru-20230320 sru-20230417 sru-20230515 sru-20230612 ubuntu-qrt-kernel-security |
|
2023-12-07 08:47:52 |
Po-Hsu Lin |
tags |
arm64 impish sru-20211018 sru-20230320 sru-20230417 sru-20230515 sru-20230612 ubuntu-qrt-kernel-security |
arm64 impish sru-20211018 sru-20230320 sru-20230417 sru-20230515 sru-20230612 sru-20231030 ubuntu-qrt-kernel-security |
|
2023-12-07 08:48:58 |
Po-Hsu Lin |
summary |
test_ulimit_stack_small from ubuntu_qrt_kernel_security fails on I/J arm64k |
test_ulimit_stack_small from ubuntu_qrt_kernel_security fails on I/J/M arm64k |
|
2023-12-07 08:49:09 |
Po-Hsu Lin |
tags |
arm64 impish sru-20211018 sru-20230320 sru-20230417 sru-20230515 sru-20230612 sru-20231030 ubuntu-qrt-kernel-security |
6.5 arm64 impish sru-20211018 sru-20230320 sru-20230417 sru-20230515 sru-20230612 sru-20231030 ubuntu-qrt-kernel-security |
|
2024-03-18 04:48:07 |
Po-Hsu Lin |
tags |
6.5 arm64 impish sru-20211018 sru-20230320 sru-20230417 sru-20230515 sru-20230612 sru-20231030 ubuntu-qrt-kernel-security |
6.5 arm64 impish jammy oracle sru-20211018 sru-20230320 sru-20230417 sru-20230515 sru-20230612 sru-20231030 sru-s20240205 ubuntu-qrt-kernel-security |
|
2024-07-05 02:10:09 |
Po-Hsu Lin |
tags |
6.5 arm64 impish jammy oracle sru-20211018 sru-20230320 sru-20230417 sru-20230515 sru-20230612 sru-20231030 sru-s20240205 ubuntu-qrt-kernel-security |
6.5 arm64 impish jammy noble oracle sru-20211018 sru-20230320 sru-20230417 sru-20230515 sru-20230612 sru-20231030 sru-s20240205 ubuntu-qrt-kernel-security |
|
2024-07-05 02:10:26 |
Po-Hsu Lin |
tags |
6.5 arm64 impish jammy noble oracle sru-20211018 sru-20230320 sru-20230417 sru-20230515 sru-20230612 sru-20231030 sru-s20240205 ubuntu-qrt-kernel-security |
6.5 6.8 arm64 impish jammy noble oracle sru-20211018 sru-20230320 sru-20230417 sru-20230515 sru-20230612 sru-20231030 sru-s20240205 ubuntu-qrt-kernel-security |
|