Reuse the validate-tempest skip list in os_tempest

Before porting all the jobs to os_tempest from validate-tempest
we need to make sure that we are using the existing master skip
list otherwise it will leads to lots of failures.

Change-Id: I90641ae636287ae1b6c5c225f7812431e28a39d5
This commit is contained in:
Chandan Kumar 2019-02-01 14:14:10 +05:30 committed by Arx Cruz
parent ba36f35301
commit 316ca33d2d
3 changed files with 15 additions and 0 deletions

View File

@ -46,10 +46,23 @@
- 'tempest.api.volume.admin.test_multi_backend'
- 'tempest.scenario.test_object_storage_basic_ops'
- name: Load tempest skiplist file
include_vars: "{{ playbook_dir | dirname }}/vars/tempest_skip_{{ release | default('master') }}.yml"
# TODO(arxcruz): For now this is the easiest way to fix this:
# os_tempest uses the variable tempest_test_blacklist while we use
# known_failures. Change now, means a lot of changes on other parts of the code
# (tempestmail, validate-tempest, etc). Once we migrate to os_tempest we can
# switch that.
- name: Set tempest_test_blacklist
set_fact:
tempest_test_blacklist: "{{ known_failures | default([])}}"
- name: Run os_tempest role
vars:
ansible_become: true
debug: true
tempest_run: 'yes'
gather_facts: true
include_role:
name: os_tempest

View File

@ -27,6 +27,7 @@ setup-hooks =
data_files =
config = config/*
playbooks = playbooks/*
vars = vars/*
usr/local/share/ansible/roles = roles/*
[wheel]

1
vars Symbolic link
View File

@ -0,0 +1 @@
roles/validate-tempest/vars