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
changes/80/634380/40
Chandan Kumar 4 years ago committed by Arx Cruz
parent ba36f35301
commit 316ca33d2d
  1. 13
      playbooks/tempest.yml
  2. 1
      setup.cfg
  3. 1
      vars

@ -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

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

@ -0,0 +1 @@
roles/validate-tempest/vars
Loading…
Cancel
Save