Switch to new rolevar for run-tempest role

Tempest replaced the below rolevar for run-tempest role
- tempest_test_blacklist is replaced by tempest_test_exclude_list
- tempest_black_regex is replaced by tempest_exclude_regex

old name are still supported for compatiblity but we recommend
to switch to new one.

Change-Id: I4f2d01a4cf443f9c539158e77032cd3d8ce24ad7
This commit is contained in:
Ghanshyam Mann 2021-02-10 17:02:43 -06:00 committed by Ghanshyam
parent 5b52db409b
commit 9d285e0bb4
2 changed files with 8 additions and 8 deletions

View File

@ -136,12 +136,12 @@
- ^tox.ini$ - ^tox.ini$
vars: vars:
# We use the "all" environment for tempest_test_regex and # We use the "all" environment for tempest_test_regex and
# tempest_black_regex. # tempest_exclude_regex.
tox_envlist: all tox_envlist: all
# Only run compute API tests. # Only run compute API tests.
tempest_test_regex: ^tempest\.api\.compute tempest_test_regex: ^tempest\.api\.compute
# Skip slow tests. # Skip slow tests.
tempest_black_regex: .*\[.*\bslow\b.*\] tempest_exclude_regex: .*\[.*\bslow\b.*\]
devstack_local_conf: devstack_local_conf:
test-config: test-config:
$TEMPEST_CONFIG: $TEMPEST_CONFIG:
@ -185,7 +185,7 @@
post-run: playbooks/nova-next/post.yaml post-run: playbooks/nova-next/post.yaml
vars: vars:
# We use the "all" environment for tempest_test_regex and # We use the "all" environment for tempest_test_regex and
# tempest_black_regex. # tempest_exclude_regex.
tox_envlist: all tox_envlist: all
# Run all compute API tests and most scenario tests at the default # Run all compute API tests and most scenario tests at the default
# concurrency (nproc/2 which is normally 4 in the gate). # concurrency (nproc/2 which is normally 4 in the gate).
@ -193,8 +193,8 @@
# The tempest.scenario.test_network* tests are skipped because they # The tempest.scenario.test_network* tests are skipped because they
# (1) take a long time and (2) are already covered in the # (1) take a long time and (2) are already covered in the
# tempest-slow* job. If this regex gets more complicated use # tempest-slow* job. If this regex gets more complicated use
# tempest_test_blacklist. # tempest_test_exclude_list.
tempest_black_regex: ^tempest.scenario.test_network tempest_exclude_regex: ^tempest.scenario.test_network
devstack_local_conf: devstack_local_conf:
post-config: post-config:
$NOVA_CPU_CONF: $NOVA_CPU_CONF:
@ -303,11 +303,11 @@
irrelevant-files: *dsvm-irrelevant-files irrelevant-files: *dsvm-irrelevant-files
vars: vars:
# We use the "all" environment for tempest_test_regex and # We use the "all" environment for tempest_test_regex and
# tempest_test_blacklist. # tempest_test_exclude_list.
tox_envlist: all tox_envlist: all
# Run compute API and scenario tests. # Run compute API and scenario tests.
tempest_test_regex: ^tempest\.(scenario|(api\.compute)) tempest_test_regex: ^tempest\.(scenario|(api\.compute))
tempest_test_blacklist: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/nova"].src_dir }}/devstack/nova-multi-cell-blacklist.txt' tempest_test_exclude_list: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/nova"].src_dir }}/devstack/nova-multi-cell-exclude-list.txt'
devstack_local_conf: devstack_local_conf:
post-config: post-config:
$NOVA_CONF: $NOVA_CONF:

View File

@ -1,4 +1,4 @@
# --blacklist-file contents for the nova-multi-cell job defined in .zuul.yaml # --exclude-list contents for the nova-multi-cell job defined in .zuul.yaml
# See: https://stestr.readthedocs.io/en/latest/MANUAL.html#test-selection # See: https://stestr.readthedocs.io/en/latest/MANUAL.html#test-selection
# Exclude tempest.scenario.test_network tests since they are slow and # Exclude tempest.scenario.test_network tests since they are slow and