← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2071593] Re: utils_testsuite fails with test-mount.py in ubuntu_qrt_apparmor on N-oem-6.8

 

Hello Garcia,
Thanks for the suggestion, I have this retested with 4.0.1-0ubuntu0.24.04.2 and it has passed.

We have this discrepancy because -proposed was enabled when testing
noble. I will ask around to see if this is still needed.

-- 
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