qa-regression-testing test_ulimit_stack_small fails on ppc64el/i386

Bug #1814295 reported by Seth Forshee on 2019-02-01
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
QA Regression Testing
Undecided
Unassigned
ubuntu-kernel-tests
Undecided
Unassigned
linux (Ubuntu)
Undecided
Unassigned

Bug Description

https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-disco/disco/ppc64el/l/linux/20190201_153123_8340c@/log.gz

  ======================================================================
  FAIL: test_ulimit_stack_small (__main__.KernelNonSecurityTest)
  Ensure small stack limits are enforced
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "./test-kernel-security.py", line 2847, in test_ulimit_stack_small
      self.assertShellExitIn(expected, self._unpriv_cmd(["sh", "-c", "ulimit -s 1 && /bin/true"]))
    File "/tmp/autopkgtest.aOkL2y/build.mxm/src/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
  Command: 'sudo', '-u', 'ubuntu', 'sh', '-c', 'ulimit -s 1 && /bin/true'
  Output:

  ----------------------------------------------------------------------

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1814295

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Seth Forshee (sforshee) on 2019-02-01
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Po-Hsu Lin (cypressyew) wrote :

BTW this test has been disabled for PPC

       if self.dpkg_arch == 'ppc64el':
            '''https://bugs.launchpad.net/bugs/1814295'''
            return self._skipped('WARN: intermittent failures on ppc64el (LP: #1814295)')

summary: - qa-regression-testing test_ulimit_stack_small fails on ppc64el
+ qa-regression-testing test_ulimit_stack_small fails on ppc64el/i386
Steve Beattie (sbeattie) wrote :

Hrm, I am unable to reproduce this on i386 in either trusty with lts-xenial or in xenial directly, despite attempting to reproduce the test failure repeatedly.

Po-Hsu Lin (cypressyew) wrote :

Hello,
It looks like this is a bit flaky for i386,
I can see this failure with 4.18.0-19.20~18.04.1-generic on i386 node "onza", fail rate 2 out of 3 attempts.

======================================================================
FAIL: test_ulimit_stack_small (__main__.KernelNonSecurityTest)
Ensure small stack limits are enforced
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./test-kernel-security.py", line 2896, 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
Command: 'sudo', '-u', 'ubuntu', 'sh', '-c', 'ulimit -s 1 && /bin/true'
Output:

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers