diff --git a/molecule/testinfra/app/test_apparmor.py b/molecule/testinfra/app/test_apparmor.py index dba702410e..3b96a8f9ee 100644 --- a/molecule/testinfra/app/test_apparmor.py +++ b/molecule/testinfra/app/test_apparmor.py @@ -103,5 +103,10 @@ def test_aa_no_denies_in_syslog(host): found = [] for line in lines: if 'apparmor="DENIED"' in line: + if 'apparmor="DENIED" operation="mknod" profile="ubuntu_pro_apt_news"' in line: + # This failure is a known bug in Ubuntu that happens before SD + # is installed and disables ubuntu-pro stuff. See + # . + continue found.append(line) assert found == []