test_ulimit_stack_small in ubuntu_qrt_kernel_security regression with the fix for 64k pages

Bug #2002997 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QA Regression Testing
Fix Released
Undecided
Unassigned
ubuntu-kernel-tests
Fix Released
Undecided
Unassigned

Bug Description

Issue found after the fix for 1949645
https://git.launchpad.net/qa-regression-testing/commit/?id=72e44713abe3872468b82199882e9d4c19536106

This test starts failing on non-64k pages kernels constantly after this patch has landed.

Maybe we should have an if statement to run different commands with different page setting.

Related branches

Revision history for this message
Roxana Nicolescu (roxanan) wrote :

I was able to reproduce on a local vm (jammy). PAGESIZE=4k.
Looking closely at the change for 1949645 https://git.launchpad.net/qa-regression-testing/commit/?id=72e44713abe3872468b82199882e9d4c19536106
It seems that `/bin/true` does not execute at all because `seq 0 10` crashes.

`for i in `seq 0 10`; do /bin/true ; done` returns 0.
for i in 0 1 2 3 4 5 6 7 8 9 10; do /bin/true;done returns 139 exit code 11 times.

Revision history for this message
Thadeu Lima de Souza Cascardo (cascardo) wrote :
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Patch landed, I have tests restarted.

Changed in qa-regression-testing:
status: New → Fix Released
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
tags: added: sru-20230130
Changed in qa-regression-testing:
status: Fix Released → Confirmed
status: Confirmed → Fix Released
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Sorry I misread the bug, this is about the fix for bug 1949645 causing regression on other kernels.

Since the commit has been reverted as in comment #4, this regression has gone. Marking this as fix-released.

Changed in ubuntu-kernel-tests:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.