armhf DEP8 runners not apparmor-compatible

Bug #2014366 reported by Andreas Hasenack
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
isc-kea (Ubuntu)
Fix Released
Undecided
Andreas Hasenack

Bug Description

The isc-kea DEP8 tests fail[1] on Ubuntu armhf DEP8 infrastructure because it doesn't allow manipulating the apparmor profiles. Here is an example with a plain simple install of the package:

Setting up kea-common (2.2.0-5ubuntu2) ...
apparmor_parser: Unable to replace "kea-lfc". Permission denied; attempted to load a profile while confined?

Or even in other packages:
apparmor_parser: Unable to replace "rsyslogd". Permission denied; attempted to load a profile while confined?

The DEP8 tests actually pass, but since this error is sent to stderr, they are flagged as having failed:

## Running test_configured_password
## Reconfiguring kea-ctrl-agent with password secret_password_7241
apparmor_parser: Unable to replace "kea-ctrl-agent". Permission denied; attempted to load a profile while confined?

And the summary at the end:
kea-ctrl-agent-debconf FAIL stderr: apparmor_parser: Unable to replace "kea-ctrl-agent". Permission denied; attempted to load a profile while confined?

The fix is to allow stderr in these tests.

1. https://autopkgtest.ubuntu.com/results/autopkgtest-lunar/lunar/armhf/i/isc-kea/20230331_223007_ed838@/log.gz

tags: added: update-excuse
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package isc-kea - 2.2.0-5ubuntu3

---------------
isc-kea (2.2.0-5ubuntu3) lunar; urgency=medium

  * d/t/control: allow-stderr for the kea-ctrl-agent-debconf DEP8 test
    which produces stderr error messages on armhf due to apparmor not
    working in the DEP8 runners for that particular architecture
    (LP: #2014366)

 -- Andreas Hasenack <email address hidden> Fri, 31 Mar 2023 21:24:53 -0300

Changed in isc-kea (Ubuntu):
status: In Progress → Fix Released
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.