Merge "Resolve ansible-lint test failures"

This commit is contained in:
Zuul 2017-11-21 16:36:04 +00:00 committed by Gerrit Code Review
commit 8e20393c6f
2 changed files with 16 additions and 0 deletions

View File

@ -23,6 +23,9 @@
with_items:
- calico-felix
- calico-dhcp-age
tags:
- skip_ansible_lint
- name: Ensure that the Calico Felix agent is alive
command: openstack --os-cloud default network agent list -f json
register: calico_felix_agent
@ -36,5 +39,8 @@
with_items: "{{ ansible_play_hosts }}"
delegate_to: "{{ groups['utility_all'][0] }}"
run_once: yes
tags:
- skip_ansible_lint
vars_files:
- common/test-vars.yml

View File

@ -31,18 +31,28 @@
python -m subunit.run discover dragonflow.tests.fullstack > /var/log/dragonflow-fullstack.subunit
subunit2html /var/log/dragonflow-fullstack.subunit /var/log/dragonflow-fullstack.html
register: dragonflow_fullstack_tests
tags:
- skip_ansible_lint
- name: Ensure etc folder exists in logs
file:
path: /var/log/etc
state: directory
- name: Copy config files
shell: |
cp -r /etc/neutron /var/log/etc
register: dragonflow_fullstack_log_copy
tags:
- skip_ansible_lint
- name: Verify tests have passed
shell: |
. {{ tempest_venv_bin }}/activate
subunit-filter --without {{ dragonflow_fullstack_failing_tests | join(' --without ') }} -s /var/log/dragonflow-fullstack.subunit | subunit2pyunit
exit $?
tags:
- skip_ansible_lint
vars_files:
- common/test-vars.yml