test_lp1231778 from ubuntu_qrt_apparmor ApparmorTest failed with N-oem-6.10

Bug #2071302 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QA Regression Testing
New
Undecided
Unassigned
ubuntu-kernel-tests
New
Undecided
Unassigned

Bug Description

Issue found with N-oem-6.10.0-1005.5

Test failed with:
ubuntu@ivysaur:~/autotest/client/tmp/ubuntu_qrt_apparmor/src/qa-regression-testing/scripts$ sudo python3 ./test-apparmor.py -v ApparmorTest.test_lp1231778
Running test: './test-apparmor.py' distro: 'Ubuntu 24.04' kernel: '6.10.0-1005.5 (Ubuntu 6.10.0-1005.5-oem 6.10.0-rc4)' arch: 'amd64' init: 'systemd' uid: 0/0 SUDO_USER: 'ubuntu')
Skipping private tests

WARN: kernel rate limiting in effect
Disabling ratelimiting until the next reboot. To renable, run:
# sysctl -w kernel.printk_ratelimit=5

test_lp1231778 (__main__.ApparmorTest.test_lp1231778)
Test apparmor_parser LP: #1231778 ... FAIL

======================================================================
FAIL: test_lp1231778 (__main__.ApparmorTest.test_lp1231778)
Test apparmor_parser LP: #1231778
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/ubuntu/autotest/client/tmp/ubuntu_qrt_apparmor/src/qa-regression-testing/scripts/./test-apparmor.py", line 1011, in test_lp1231778
    self.assertTrue(search in report, "Did not find '%s' in report:\n%s" % (search, report))
AssertionError: False is not true : Did not find 'dbus rules not enforced' in report:

----------------------------------------------------------------------
Ran 1 test in 0.172s

Po-Hsu Lin (cypressyew)
summary: - test_lp1231778 from ubuntu_qrt_apparmor failed with N-oem-6.10
+ test_lp1231778 from ubuntu_qrt_apparmor ApparmorTest failed with
+ N-oem-6.10
Revision history for this message
Georgia Garcia (georgiag) wrote :

As in Bug 2071305, the apparmor kernel patches were not yet applied on -rc4, so some tests will fail on this version. They are only present in -rc7 or Ubuntu-unstable-6.10.0-14.14

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.