tempest/roles/run-tempest-26
Lukáš Piwowarski bd6481d934 Fix default values for variables in run-tempest role
With the new version of tox the parsing of postargs value has changed.
Previously an empty string was discarded by tox if it appeared in the
postargs value in contrast with the latest version of tox which
leaves the empty string intact.

The behavior of the latest tox version makes some jobs fail as some
variables in the run-tempest role have an empty string as a default
value. This leads in some cases to the execution of an incorrect tempest
command, for example:

tempest run --regex '[.*\bsmoke\b.*]' '' --concurrency=2

The patch changes the default value for blacklist_option,
exclude_list_option and tempest_test_regex variables to None to prevent
an empty string from being passed to postargs variable in tox.

Change-Id: I006e33c5ea0753b68cf1feb8580cb029209af9a8
2023-01-31 14:14:45 +01:00
..
defaults Use older run-tempest for stable branches 2021-07-14 10:38:16 -05:00
tasks Fix default values for variables in run-tempest role 2023-01-31 14:14:45 +01:00
README.rst Remove references to 'all-plugin' tox environment 2022-10-10 14:01:49 +02:00

Run Tempest

The result of the tempest run is stored in the tempest_run_result variable (through the register statement).

Role Variables

Specifies a blacklist file to skip tests that are not needed.

Pass a full path to the file.