From 96079d2280bf52713ac321f33c1a8024aed7aced Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Tue, 8 Mar 2016 12:45:03 -0600 Subject: [PATCH] Security: Disable AppArmor check Some OpenStack infra images don't have AppArmor enabled by default and this causes V-51337 to fail. This patch skips the task where AppArmor tag is checked. Closes-Bug: 1554654 Change-Id: Icf653e2b8f84dbaee76d77f99020879d2e5aa4ea --- tox.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 754a8a70..f4d42bab 100644 --- a/tox.ini +++ b/tox.ini @@ -103,6 +103,8 @@ commands = # NOTE(odyssey4me): We have to skip V-38462 as openstack-infra are now building # images with apt config Apt::Get::AllowUnauthenticated set # to true. +# NOTE(mhayden): Some infra images don't have AppArmor enabled, so V-51337 +# must be skipped. commands = rm -rf {homedir}/.ansible git clone https://git.openstack.org/openstack/openstack-ansible-plugins \ @@ -110,7 +112,7 @@ commands = ansible-playbook -i {toxinidir}/tests/inventory \ -e "rolename={toxinidir}" \ {toxinidir}/tests/test.yml \ - --skip-tag V-38462 + --skip-tag V-38462,V-51337 [testenv:linters]