qrt apparmor tests failing on Xenial amd64

Bug #1630015 reported by Brad Figg
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QA Regression Testing
New
Undecided
Unassigned

Bug Description

utils:0153| [stderr] Run libapparmor testsuite ... FAIL
utils:0153| [stderr] test_libapparmor_testsuite3 (__main__.ApparmorTestsuites)
utils:0153| [stdout] preparing apparmor_2.10.95-0ubuntu2.4.dsc...
utils:0153| [stderr] Run libapparmor testsuite (with python3) ... FAIL
utils:0153| [stderr] test_parser_testsuite (__main__.ApparmorTestsuites)
utils:0153| [stdout] preparing apparmor_2.10.95-0ubuntu2.4.dsc...
utils:0153| [stderr] Run parser regression tests ... FAIL
utils:0153| [stderr] test_regression_testsuite (__main__.ApparmorTestsuites)
utils:0153| [stdout] preparing apparmor_2.10.95-0ubuntu2.4.dsc...
utils:0153| [stderr] Run kernel regression tests ... FAIL
utils:0153| [stderr] test_stress_parser_testsuite (__main__.ApparmorTestsuites)
utils:0153| [stderr] Run parser stress test ... ok
utils:0153| [stderr] test_stress_subdomain_testsuite (__main__.ApparmorTestsuites)
utils:0153| [stderr] Run subdomain stress test ... ok
utils:0153| [stderr] test_utils_testsuite (__main__.ApparmorTestsuites)
utils:0153| [stdout] preparing apparmor_2.10.95-0ubuntu2.4.dsc...(skipped: use --with-parser-stress to enable) (skipped: use --with-subdomain-stress to enable)
utils:0153| [stderr] Run utils (make check) ... FAIL
utils:0153| [stderr] test_utils_testsuite3 (__main__.ApparmorTestsuites)
utils:0153| [stdout] preparing apparmor_2.10.95-0ubuntu2.4.dsc...
utils:0153| [stderr] Run utils (make check with python3) ... FAIL
utils:0153| [stderr] test_zz_cleanup_source_tree (__main__.ApparmorTestsuites)
utils:0153| [stderr] Cleanup downloaded source ... ok
utils:0153| [stdout] preparing apparmor_2.10.95-0ubuntu2.4.dsc...
utils:0153| [stderr]
utils:0153| [stderr] ======================================================================
utils:0153| [stderr] FAIL: test_libapparmor_testsuite (__main__.ApparmorTestsuites)
utils:0153| [stderr] Run libapparmor testsuite
utils:0153| [stderr] ----------------------------------------------------------------------
utils:0153| [stderr] Traceback (most recent call last):
utils:0153| [stderr] File "./test-apparmor.py", line 1693, in test_libapparmor_testsuite
utils:0153| [stderr] self._prepare_source()
utils:0153| [stderr] File "./test-apparmor.py", line 1547, in _prepare_source
utils:0153| [stderr] self.assertShellExitEquals(0, ['quilt', 'push'])
utils:0153| [stderr] File "/home/ubuntu/autotest/client/tmp/ubuntu_qrt_apparmor/src/qa-regression-testing/scripts/testlib.py", line 1124, in assertShellExitEquals
utils:0153| [stderr] self.assertEqual(expected, rc, msg + result + report)
utils:0153| [stderr] AssertionError: Got exit code 1, expected 0
utils:0153| [stderr] Command: 'quilt', 'push'
utils:0153| [stderr] Output:
utils:0153| [stderr] Applying patch debian/patches/apparmor-tests-rev3505.patch
utils:0153| [stderr] patching file tests/regression/apparmor/socketpair.sh
utils:0153| [stderr] Hunk #1 succeeded at 21 with fuzz 2 (offset 2 lines).
utils:0153| [stderr] patching file tests/regression/apparmor/stackonexec.sh
utils:0153| [stderr] Hunk #1 FAILED at 71.
utils:0153| [stderr] 1 out of 1 hunk FAILED -- rejects in file tests/regression/apparmor/stackonexec.sh
utils:0153| [stderr] patching file tests/regression/apparmor/stackprofile.sh
utils:0153| [stderr] Hunk #1 FAILED at 70.
utils:0153| [stderr] 1 out of 1 hunk FAILED -- rejects in file tests/regression/apparmor/stackprofile.sh
utils:0153| [stderr] patching file tests/regression/apparmor/xattrs.sh
utils:0153| [stderr] Hunk #1 succeeded at 38 with fuzz 2 (offset 2 lines).
utils:0153| [stderr] Patch debian/patches/apparmor-tests-rev3505.patch can be reverse-applied
utils:0153| [stderr]
utils:0153| [stderr]
utils:0153| [stderr] ======================================================================
utils:0153| [stderr] FAIL: test_libapparmor_testsuite3 (__main__.ApparmorTestsuites)
utils:0153| [stderr] Run libapparmor testsuite (with python3)
utils:0153| [stderr] ----------------------------------------------------------------------
utils:0153| [stderr] Traceback (most recent call last):
utils:0153| [stderr] File "./test-apparmor.py", line 1716, in test_libapparmor_testsuite3
utils:0153| [stderr] self._prepare_source()
utils:0153| [stderr] File "./test-apparmor.py", line 1547, in _prepare_source
utils:0153| [stderr] self.assertShellExitEquals(0, ['quilt', 'push'])
utils:0153| [stderr] File "/home/ubuntu/autotest/client/tmp/ubuntu_qrt_apparmor/src/qa-regression-testing/scripts/testlib.py", line 1124, in assertShellExitEquals
utils:0153| [stderr] self.assertEqual(expected, rc, msg + result + report)
utils:0153| [stderr] AssertionError: Got exit code 1, expected 0
utils:0153| [stderr] Command: 'quilt', 'push'
utils:0153| [stderr] Output:
utils:0153| [stderr] Applying patch debian/patches/apparmor-tests-rev3505.patch
utils:0153| [stderr] patching file tests/regression/apparmor/socketpair.sh
utils:0153| [stderr] Hunk #1 succeeded at 21 with fuzz 2 (offset 2 lines).
utils:0153| [stderr] patching file tests/regression/apparmor/stackonexec.sh
utils:0153| [stderr] Hunk #1 FAILED at 71.
utils:0153| [stderr] 1 out of 1 hunk FAILED -- rejects in file tests/regression/apparmor/stackonexec.sh
utils:0153| [stderr] patching file tests/regression/apparmor/stackprofile.sh
utils:0153| [stderr] Hunk #1 FAILED at 70.
utils:0153| [stderr] 1 out of 1 hunk FAILED -- rejects in file tests/regression/apparmor/stackprofile.sh
utils:0153| [stderr] patching file tests/regression/apparmor/xattrs.sh
utils:0153| [stderr] Hunk #1 succeeded at 38 with fuzz 2 (offset 2 lines).
utils:0153| [stderr] Patch debian/patches/apparmor-tests-rev3505.patch can be reverse-applied
utils:0153| [stderr]
utils:0153| [stderr]
utils:0153| [stderr] ======================================================================
utils:0153| [stderr] FAIL: test_parser_testsuite (__main__.ApparmorTestsuites)
utils:0153| [stderr] Run parser regression tests
utils:0153| [stderr] ----------------------------------------------------------------------
utils:0153| [stderr] Traceback (most recent call last):
utils:0153| [stderr] File "./test-apparmor.py", line 1665, in test_parser_testsuite
utils:0153| [stderr] self._prepare_source()
utils:0153| [stderr] File "./test-apparmor.py", line 1547, in _prepare_source
utils:0153| [stderr] self.assertShellExitEquals(0, ['quilt', 'push'])
utils:0153| [stderr] File "/home/ubuntu/autotest/client/tmp/ubuntu_qrt_apparmor/src/qa-regression-testing/scripts/testlib.py", line 1124, in assertShellExitEquals
utils:0153| [stderr] self.assertEqual(expected, rc, msg + result + report)
utils:0153| [stderr] AssertionError: Got exit code 1, expected 0
utils:0153| [stderr] Command: 'quilt', 'push'
utils:0153| [stderr] Output:
utils:0153| [stderr] Applying patch debian/patches/apparmor-tests-rev3505.patch
utils:0153| [stderr] patching file tests/regression/apparmor/socketpair.sh
utils:0153| [stderr] Hunk #1 succeeded at 21 with fuzz 2 (offset 2 lines).
utils:0153| [stderr] patching file tests/regression/apparmor/stackonexec.sh
utils:0153| [stderr] Hunk #1 FAILED at 71.
utils:0153| [stderr] 1 out of 1 hunk FAILED -- rejects in file tests/regression/apparmor/stackonexec.sh
utils:0153| [stderr] patching file tests/regression/apparmor/stackprofile.sh
utils:0153| [stderr] Hunk #1 FAILED at 70.
utils:0153| [stderr] 1 out of 1 hunk FAILED -- rejects in file tests/regression/apparmor/stackprofile.sh
utils:0153| [stderr] patching file tests/regression/apparmor/xattrs.sh
utils:0153| [stderr] Hunk #1 succeeded at 38 with fuzz 2 (offset 2 lines).
utils:0153| [stderr] Patch debian/patches/apparmor-tests-rev3505.patch can be reverse-applied
utils:0153| [stderr]
utils:0153| [stderr]
utils:0153| [stderr] ======================================================================
utils:0153| [stderr] FAIL: test_regression_testsuite (__main__.ApparmorTestsuites)
utils:0153| [stderr] Run kernel regression tests
utils:0153| [stderr] ----------------------------------------------------------------------
utils:0153| [stderr] Traceback (most recent call last):
utils:0153| [stderr] File "./test-apparmor.py", line 1570, in test_regression_testsuite
utils:0153| [stderr] self._prepare_source()
utils:0153| [stderr] File "./test-apparmor.py", line 1547, in _prepare_source
utils:0153| [stderr] self.assertShellExitEquals(0, ['quilt', 'push'])
utils:0153| [stderr] File "/home/ubuntu/autotest/client/tmp/ubuntu_qrt_apparmor/src/qa-regression-testing/scripts/testlib.py", line 1124, in assertShellExitEquals
utils:0153| [stderr] self.assertEqual(expected, rc, msg + result + report)
utils:0153| [stderr] AssertionError: Got exit code 1, expected 0
utils:0153| [stderr] Command: 'quilt', 'push'
utils:0153| [stderr] Output:
utils:0153| [stderr] Applying patch debian/patches/apparmor-tests-rev3505.patch
utils:0153| [stderr] patching file tests/regression/apparmor/socketpair.sh
utils:0153| [stderr] Hunk #1 succeeded at 21 with fuzz 2 (offset 2 lines).
utils:0153| [stderr] patching file tests/regression/apparmor/stackonexec.sh
utils:0153| [stderr] Hunk #1 FAILED at 71.
utils:0153| [stderr] 1 out of 1 hunk FAILED -- rejects in file tests/regression/apparmor/stackonexec.sh
utils:0153| [stderr] patching file tests/regression/apparmor/stackprofile.sh
utils:0153| [stderr] Hunk #1 FAILED at 70.
utils:0153| [stderr] 1 out of 1 hunk FAILED -- rejects in file tests/regression/apparmor/stackprofile.sh
utils:0153| [stderr] patching file tests/regression/apparmor/xattrs.sh
utils:0153| [stderr] Hunk #1 succeeded at 38 with fuzz 2 (offset 2 lines).
utils:0153| [stderr] Patch debian/patches/apparmor-tests-rev3505.patch can be reverse-applied
utils:0153| [stderr]
utils:0153| [stderr]
utils:0153| [stderr] ======================================================================
utils:0153| [stderr] FAIL: test_utils_testsuite (__main__.ApparmorTestsuites)
utils:0153| [stderr] Run utils (make check)
utils:0153| [stderr] ----------------------------------------------------------------------
utils:0153| [stderr] Traceback (most recent call last):
utils:0153| [stderr] File "./test-apparmor.py", line 1629, in test_utils_testsuite
utils:0153| [stderr] self._prepare_source()
utils:0153| [stderr] File "./test-apparmor.py", line 1547, in _prepare_source
utils:0153| [stderr] self.assertShellExitEquals(0, ['quilt', 'push'])
utils:0153| [stderr] File "/home/ubuntu/autotest/client/tmp/ubuntu_qrt_apparmor/src/qa-regression-testing/scripts/testlib.py", line 1124, in assertShellExitEquals
utils:0153| [stderr] self.assertEqual(expected, rc, msg + result + report)
utils:0153| [stderr] AssertionError: Got exit code 1, expected 0
utils:0153| [stderr] Command: 'quilt', 'push'
utils:0153| [stderr] Output:
utils:0153| [stderr] Applying patch debian/patches/apparmor-tests-rev3505.patch
utils:0153| [stderr] patching file tests/regression/apparmor/socketpair.sh
utils:0153| [stderr] Hunk #1 succeeded at 21 with fuzz 2 (offset 2 lines).
utils:0153| [stderr] patching file tests/regression/apparmor/stackonexec.sh
utils:0153| [stderr] Hunk #1 FAILED at 71.
utils:0153| [stderr] 1 out of 1 hunk FAILED -- rejects in file tests/regression/apparmor/stackonexec.sh
utils:0153| [stderr] patching file tests/regression/apparmor/stackprofile.sh
utils:0153| [stderr] Hunk #1 FAILED at 70.
utils:0153| [stderr] 1 out of 1 hunk FAILED -- rejects in file tests/regression/apparmor/stackprofile.sh
utils:0153| [stderr] patching file tests/regression/apparmor/xattrs.sh
utils:0153| [stderr] Hunk #1 succeeded at 38 with fuzz 2 (offset 2 lines).
utils:0153| [stderr] Patch debian/patches/apparmor-tests-rev3505.patch can be reverse-applied
utils:0153| [stderr]
utils:0153| [stderr]
utils:0153| [stderr] ======================================================================
utils:0153| [stderr] FAIL: test_utils_testsuite3 (__main__.ApparmorTestsuites)
utils:0153| [stderr] Run utils (make check with python3)
utils:0153| [stderr] ----------------------------------------------------------------------
utils:0153| [stderr] Traceback (most recent call last):
utils:0153| [stderr] File "./test-apparmor.py", line 1641, in test_utils_testsuite3
utils:0153| [stderr] self._prepare_source()
utils:0153| [stderr] File "./test-apparmor.py", line 1547, in _prepare_source
utils:0153| [stderr] self.assertShellExitEquals(0, ['quilt', 'push'])
utils:0153| [stderr] File "/home/ubuntu/autotest/client/tmp/ubuntu_qrt_apparmor/src/qa-regression-testing/scripts/testlib.py", line 1124, in assertShellExitEquals
utils:0153| [stderr] self.assertEqual(expected, rc, msg + result + report)
utils:0153| [stderr] AssertionError: Got exit code 1, expected 0
utils:0153| [stderr] Command: 'quilt', 'push'
utils:0153| [stderr] Output:
utils:0153| [stderr] Applying patch debian/patches/apparmor-tests-rev3505.patch
utils:0153| [stderr] patching file tests/regression/apparmor/socketpair.sh
utils:0153| [stderr] Hunk #1 succeeded at 21 with fuzz 2 (offset 2 lines).
utils:0153| [stderr] patching file tests/regression/apparmor/stackonexec.sh
utils:0153| [stderr] Hunk #1 FAILED at 71.
utils:0153| [stderr] 1 out of 1 hunk FAILED -- rejects in file tests/regression/apparmor/stackonexec.sh
utils:0153| [stderr] patching file tests/regression/apparmor/stackprofile.sh
utils:0153| [stderr] Hunk #1 FAILED at 70.
utils:0153| [stderr] 1 out of 1 hunk FAILED -- rejects in file tests/regression/apparmor/stackprofile.sh
utils:0153| [stderr] patching file tests/regression/apparmor/xattrs.sh
utils:0153| [stderr] Hunk #1 succeeded at 38 with fuzz 2 (offset 2 lines).
utils:0153| [stderr] Patch debian/patches/apparmor-tests-rev3505.patch can be reverse-applied
utils:0153| [stderr]
utils:0153| [stderr]
utils:0153| [stderr] ----------------------------------------------------------------------
utils:0153| [stderr] Ran 53 tests in 227.680s
utils:0153| [stderr]
utils:0153| [stderr] FAILED (failures=6)
 test:0414| Exception escaping from test:
Traceback (most recent call last):
  File "/home/ubuntu/autotest/client/shared/test.py", line 411, in _exec
    _call_test_function(self.execute, *p_args, **p_dargs)
  File "/home/ubuntu/autotest/client/shared/test.py", line 823, in _call_test_function
    return func(*args, **dargs)
  File "/home/ubuntu/autotest/client/shared/test.py", line 291, in execute
    postprocess_profiled_run, args, dargs)
  File "/home/ubuntu/autotest/client/shared/test.py", line 212, in _call_run_once
    self.run_once(*args, **dargs)
  File "/home/ubuntu/autotest/client/tests/ubuntu_qrt_apparmor/ubuntu_qrt_apparmor.py", line 74, in run_once
    self.results = utils.system_output(cmd, retain_output=True)
  File "/home/ubuntu/autotest/client/shared/utils.py", line 1267, in system_output
    verbose=verbose, args=args).stdout
  File "/home/ubuntu/autotest/client/shared/utils.py", line 918, in run
    "Command returned non-zero exit status")
CmdError: Command <python ./test-apparmor.py -v> failed, rc=1, Command returned non-zero exit status
* Command:
    python ./test-apparmor.py -v
Exit status: 1
Duration: 227.964162827

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.