Skip to content

Commit

Permalink
test: Drop AppArmor expected messages for ubuntu-stable
Browse files Browse the repository at this point in the history
This was only relevant while ubuntu-stable was 23.10. It works fine in
24.04 LTS.
  • Loading branch information
martinpitt committed Aug 27, 2024
1 parent 2616fac commit 4b8ec52
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test/machineslib.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,9 +444,6 @@ def stop_all():
self.allow_journal_messages(r'.* type=1400 .* apparmor="DENIED" operation="capable" profile="\S*libvirtd.* capname="sys_rawio".*')
# AppArmor doesn't like the non-standard path for our storage pools
self.allow_journal_messages('.* type=1400 .* apparmor="DENIED" operation="open".* profile="virt-aa-helper" name="%s.*' % self.vm_tmpdir)
if m.image in ["ubuntu-stable"]:
self.allow_journal_messages('.* type=1400 .* apparmor="DENIED" operation="open" profile="libvirt.* name="/" .* denied_mask="r" .*')
self.allow_journal_messages('.* type=1400 .* apparmor="DENIED" operation="open" profile="libvirt.* name="/sys/bus/nd/devices/" .* denied_mask="r" .*')

# FIXME: Testing on Arch Linux fails randomly with networkmanager time outs while the test passes.
if m.image == 'arch':
Expand Down

0 comments on commit 4b8ec52

Please sign in to comment.