canonical-ubuntu-qa team mailing list archive
-
canonical-ubuntu-qa team
-
Mailing list archive
-
Message #04531
[Bug 2071593] Re: utils_testsuite fails in ubuntu_qrt_apparmor
Attachment is the full test log.
** Description changed:
The test complains about the following issues on linux-oem-6.8
6.8.0-1007.7.
- ApparmorTestsuites.test_utils_testsuite:
- http://10.246.75.167/s2024.04.29/noble/linux-oem-6.8/6.8.0-1007.7/sru-oem-openstack-builder-cpu2-ram4-disk20.amd64-ubuntu_qrt_apparmor-log.html#ApparmorTestsuites.test_utils_testsuite-start
+ Both ApparmorTestsuites.test_utils_testsuite and
+ ApparmorTestsuites.test_utils_testsuite3 failed with:
- ApparmorTestsuites.test_utils_testsuite3:
- http://10.246.75.167/s2024.04.29/noble/linux-oem-6.8/6.8.0-1007.7/sru-oem-openstack-builder-cpu2-ram4-disk20.amd64-ubuntu_qrt_apparmor-log.html#ApparmorTestsuites.test_utils_testsuite3-start
-
-
- === test-mount.py ===
- Traceback (most recent call last):
- ...
- apparmor.common.AppArmorException: "Path doesn't start with / or variable: **"
- make[1]: *** [Makefile:85: check] Error 1
- make[1]: Leaving directory '/tmp/testlibsrtkus2p/source/noble/apparmor-4.0.1/utils/test'
- make: *** [Makefile:103: check] Error 2
+ === test-mount.py ===
+ Traceback (most recent call last):
+ File "/tmp/testlibq6i9amf6/source/noble/apparmor-4.0.1/utils/test/test-mount.py", line 28, in
+ class MountTestParse(AATest):
+ File "/tmp/testlibq6i9amf6/source/noble/apparmor-4.0.1/utils/test/test-mount.py", line 32, in MountTestParse
+ ('mount -> **,', MountRule('mount', MountRule.ALL, MountRule.ALL, MountRule.ALL, '**', False, False, False, '' )),
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ File "/usr/lib/python3/dist-packages/apparmor/rule/mount.py", line 145, in __init__
+ self.dest, self.all_dest = self._aare_or_all(dest, 'dest', is_path=True, log_event=log_event)
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ File "/usr/lib/python3/dist-packages/apparmor/rule/__init__.py", line 74, in _aare_or_all
+ return AARE(rulepart, is_path=is_path, log_event=log_event), False
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ File "/usr/lib/python3/dist-packages/apparmor/aare.py", line 34, in __init__
+ raise AppArmorException("Path doesn't start with / or variable: %s" % regex)
+ apparmor.common.AppArmorException: "Path doesn't start with / or variable: **"
+ make[1]: *** [Makefile:85: check] Error 1
+ make[1]: Leaving directory '/tmp/testlibq6i9amf6/source/noble/apparmor-4.0.1/utils/test'
+ make: *** [Makefile:103: check] Error 2
+
+
+ ----------------------------------------------------------------------
+ Ran 1 test in 33.812s
+
+ FAILED (failures=1)
** Tags added: 6.8 noble oem sru-s20240429 ubuntu-qrt-apparmor
** Also affects: qa-regression-testing
Importance: Undecided
Status: New
** Attachment added: "n-oem-6.8-ubuntu-qrt-apparmor.log"
https://bugs.launchpad.net/qa-regression-testing/+bug/2071593/+attachment/5793711/+files/n-oem-6.8-ubuntu-qrt-apparmor.log
** Summary changed:
- utils_testsuite fails in ubuntu_qrt_apparmor
+ utils_testsuite fails with test-mount.py in ubuntu_qrt_apparmor on N-oem-6.8
--
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/2071593
Title:
utils_testsuite fails with test-mount.py in ubuntu_qrt_apparmor on
N-oem-6.8
Status in QA Regression Testing:
New
Status in ubuntu-kernel-tests:
New
Bug description:
The test complains about the following issues on linux-oem-6.8
6.8.0-1007.7.
Both ApparmorTestsuites.test_utils_testsuite and
ApparmorTestsuites.test_utils_testsuite3 failed with:
=== test-mount.py ===
Traceback (most recent call last):
File "/tmp/testlibq6i9amf6/source/noble/apparmor-4.0.1/utils/test/test-mount.py", line 28, in
class MountTestParse(AATest):
File "/tmp/testlibq6i9amf6/source/noble/apparmor-4.0.1/utils/test/test-mount.py", line 32, in MountTestParse
('mount -> **,', MountRule('mount', MountRule.ALL, MountRule.ALL, MountRule.ALL, '**', False, False, False, '' )),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/apparmor/rule/mount.py", line 145, in __init__
self.dest, self.all_dest = self._aare_or_all(dest, 'dest', is_path=True, log_event=log_event)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/apparmor/rule/__init__.py", line 74, in _aare_or_all
return AARE(rulepart, is_path=is_path, log_event=log_event), False
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/apparmor/aare.py", line 34, in __init__
raise AppArmorException("Path doesn't start with / or variable: %s" % regex)
apparmor.common.AppArmorException: "Path doesn't start with / or variable: **"
make[1]: *** [Makefile:85: check] Error 1
make[1]: Leaving directory '/tmp/testlibq6i9amf6/source/noble/apparmor-4.0.1/utils/test'
make: *** [Makefile:103: check] Error 2
----------------------------------------------------------------------
Ran 1 test in 33.812s
FAILED (failures=1)
To manage notifications about this bug go to:
https://bugs.launchpad.net/qa-regression-testing/+bug/2071593/+subscriptions
References