test_062_guard_page_split in ubuntu_qrt_kernel_security failed with T-i386

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

Bug Description

This issue was only spotted on T-i386, works fine with AMD64 / ARM64 / P8

FAIL: test_062_guard_page_split (__main__.KernelSecurityTest)
Make sure the stack guard page does not split the stack on mlock
----------------------------------------------------------------------
Traceback (most recent call last):
File "./test-kernel-security.py", line 587, in test_062_guard_page_split
self.assertShellExitEquals(expected, self._unpriv_cmd(["./split-stack"]))
File "/home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/testlib.py", line 1140, in assertShellExitEquals
self.assertEqual(expected, rc, msg + result + report)
AssertionError: Got exit code 3, expected 0
Command: 'sudo', '-u', 'ubuntu', './split-stack'
Output:
Could not find '[stack]' in /proc/self/maps!

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

Can't see this when verifying this manually, re-triggered on the jenkins.

Po-Hsu Lin (cypressyew)
Changed in ubuntu-kernel-tests:
status: New → Incomplete
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

It's failing with another issue:
FAIL: test_ulimit_stack_small (__main__.KernelNonSecurityTest)

Kinda weird...
But as this issue does not exist anymore I will mark this as Invalid.

Changed in qa-regression-testing:
status: New → Invalid
Changed in ubuntu-kernel-tests:
status: Incomplete → Invalid
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

I can see this again, and just like what happened here a re-run make this go away.
Maybe the test is not very robust?

This will need some investigations.

Changed in ubuntu-kernel-tests:
status: Invalid → Confirmed
Changed in qa-regression-testing:
status: Invalid → Confirmed
Po-Hsu Lin (cypressyew)
tags: added: ubuntu-qrt-kernel-security
tags: added: i386 trusty
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

This issue can be found on T-amd64 in this cycle (3.13.0-177.228) on two different amd64 node "onibi" and "kili"

Now retesting those.

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

This issue can be found on Precise 3.13.0-181.232~12.04.1 i386 with KVM node precise-i386

tags: added: sru-20200608
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

It looks like this was caused by ubuntu_qrt_kernel_panic test which was executed before the security test.

If you just run the ubuntu-qrt-kernel-security it will pass without any issue.

Po-Hsu Lin (cypressyew)
tags: added: 3.13
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.