canonical-ubuntu-qa team mailing list archive
-
canonical-ubuntu-qa team
-
Mailing list archive
-
Message #01862
[Bug 2036955] Re: test_unconfined_userns from ubuntu_qrt_apparmor failed with J-oem-6.5
Proposed fix in https://code.launchpad.net/~alexmurray/qa-regression-
testing/+git/qa-regression-testing/+merge/455162
** Changed in: qa-regression-testing
Status: New => In Progress
--
You received this bug notification because you are a member of Canonical
Platform QA Team, which is subscribed to ubuntu-kernel-tests.
https://bugs.launchpad.net/bugs/2036955
Title:
test_unconfined_userns from ubuntu_qrt_apparmor failed with J-oem-6.5
Status in QA Regression Testing:
In Progress
Status in ubuntu-kernel-tests:
New
Bug description:
Issue found with J-oem-6.5.0-1004.4
After checking with the test history of -1003, this appears to be a new test case added last week:
https://git.launchpad.net/qa-regression-testing/commit/?id=6f2c5ab7c8659174adac772ce0e894328bb5045d
Test failed with:
Running test: './test-apparmor.py' distro: 'Ubuntu 22.04' kernel: '6.5.0-1004.4 (Ubuntu 6.5.0-1004.4-oem 6.5.3)' arch: 'amd64' init: 'systemd' uid: 0/0 SUDO_USER: 'ubuntu')
Skipping private tests
stderr:
test_unconfined_userns (__main__.ApparmorTest)
Test that unconfined userns restrictions are applied ... (disabling userns restrictions) (checking unshare works as normal) (enabling userns restrictions) (checking unshare fails) (creating unconfined mode profile for unshare with userns permission) FAIL
======================================================================
FAIL: test_unconfined_userns (__main__.ApparmorTest)
Test that unconfined userns restrictions are applied
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/ubuntu/autotest/client/tmp/ubuntu_qrt_apparmor/src/qa-regression-testing/scripts/./test-apparmor.py", line 1549, in test_unconfined_userns
self.assertEqual(expected, rc, result + report)
AssertionError: 0 != 1 : Got exit code 1, expected 0
AppArmor parser error for /tmp/testlibh44rj8zq/unshare.profile in profile /tmp/testlibh44rj8zq/unshare.profile at line 1: syntax error, unexpected TOK_END_OF_RULE, expecting TOK_MODE
----------------------------------------------------------------------
Ran 1 test in 1.290s
FAILED (failures=1)
To manage notifications about this bug go to:
https://bugs.launchpad.net/qa-regression-testing/+bug/2036955/+subscriptions
References