Skip SNMPv1/2 (V-38660) checks in gate

The CI gate job images have SNMPv1/2 configurations applied and
they are in the process of being removed. This patch should get
the openstack-ansible-security gate jobs unblocked by skipping
V-38660 temporarily.

When https://review.openstack.org/#/c/354819/ merges and new
images are deployed, this task won't need to be skipped.

Change-Id: I2bad2ce8bb5ba73356d224ce1093bc4f19fe75b9
This commit is contained in:
Major Hayden 2016-08-16 10:40:43 -05:00
parent 1fab6db099
commit f85e9e4b72
1 changed files with 6 additions and 3 deletions

View File

@ -167,21 +167,24 @@ 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): Skipping V-38660 since openstack-infra has SNMP v1/2 in
# the images. This can be added back in once
# https://review.openstack.org/#/c/354819/ merges.
ansible-playbook --check \
-i {toxinidir}/tests/inventory \
-e "rolename={toxinidir}" \
-e "install_test_packages=True" \
--skip-tag V-38462 \
--skip-tag V-38462,V-38660 \
{toxinidir}/tests/test_check.yml
ansible-playbook -i {toxinidir}/tests/inventory \
-e "rolename={toxinidir}" \
-e "install_test_packages=True" \
--skip-tag V-38462 \
--skip-tag V-38462,V-38660 \
{toxinidir}/tests/test.yml
bash -c 'ansible-playbook -i {toxinidir}/tests/inventory \
-e "rolename={toxinidir}" \
-e "install_test_packages=True" \
--skip-tag V-38462 \
--skip-tag V-38462,V-38660 \
{toxinidir}/tests/test.yml \
| tee /tmp/idempotence_test_output.txt'
bash -c 'grep -q "changed=0.*failed=0" /tmp/idempotence_test_output.txt \