Skip to content

Commit

Permalink
test: Add AppArmor message ignore to testConfigureBeforeInstall
Browse files Browse the repository at this point in the history
This also checks TPM, so use the same ignore as in
testConfigureBeforeInstallBiosTPM.

This is a race condition/flake.
  • Loading branch information
martinpitt authored and jelly committed Nov 5, 2024
1 parent 323eacd commit 61fe894
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/check-machines-create
Original file line number Diff line number Diff line change
Expand Up @@ -2265,6 +2265,9 @@ vnc_password= "{vnc_passwd}"

self.allow_browser_errors("Failed when connecting: Connection closed")
self.allow_journal_messages(".* couldn't shutdown fd: Transport endpoint is not connected")
# https://launchpad.net/bugs/1968187
if m.image == 'debian-stable':
self.allow_journal_messages('.*apparmor="DENIED".*name="/etc/ssl/openssl.cnf".*comm="swtpm".*')

def testConfigureBeforeInstallBios(self):
TestMachinesCreate.CreateVmRunner(self)
Expand Down

0 comments on commit 61fe894

Please sign in to comment.