Rename test_regex to test_white_regex

* https://review.openstack.org/551441 introduced test_black_regex
  in order to skip test directly from featureset files. In order
  to avoid confusion between test_regex and test_black_regex, we
  are renaming test_regex to test_white_regex.
 * It will fix all the featuresets.

Depends-On: https://review.openstack.org/560006
Change-Id: If66225c2e2f8c571cc85aebacee01431e4f64dcc
This commit is contained in:
Chandan Kumar 2018-04-06 12:17:16 +05:30
parent 68a6226299
commit 4a7bbb4599
24 changed files with 24 additions and 24 deletions

View File

@ -121,7 +121,7 @@ if [ "$JOB_TYPE" = "promote" ]; then
OPT_VARS+=("-e tempest_config=true")
OPT_VARS+=("-e run_tempest=true")
OPT_VARS+=("-e tempest_workers=4")
OPT_VARS+=("-e test_regex=smoke|test_minimum_basic|test_network_basic_ops|test_snapshot_pattern|test_volume_boot_pattern")
OPT_VARS+=("-e test_white_regex=smoke|test_minimum_basic|test_network_basic_ops|test_snapshot_pattern|test_volume_boot_pattern")
fi
# This passes the correct tq release config file for rdo on rhel

View File

@ -154,7 +154,7 @@ installer:
- none
tempest:
skip_file: rdoci-rdo-liberty-rdo-manager
test_regex: .*smoke
test_white_regex: .*smoke
enabled: true
cirros_alt:
url: http://download.cirros-cloud.net/0.3.4/

View File

@ -32,7 +32,7 @@ test_ping: false
tempest_config: true
run_tempest: true
tempest_workers: 4
test_regex: smoke|test_minimum_basic|test_network_basic_ops|test_snapshot_pattern|test_volume_boot_pattern
test_white_regex: smoke|test_minimum_basic|test_network_basic_ops|test_snapshot_pattern|test_volume_boot_pattern
# options below direct automatic doc generation by tripleo-collect-logs
artcl_gen_docs: true

View File

@ -116,7 +116,7 @@ run_tempest: >-
true
{%- endif -%}
test_regex: ''
test_white_regex: ''
tempest_whitelist:
- 'tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_network_basic_ops'

View File

@ -84,7 +84,7 @@ run_tempest: >-
true
{%- endif -%}
test_regex: ''
test_white_regex: ''
tempest_whitelist:
- 'tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_network_basic_ops'

View File

@ -21,7 +21,7 @@ run_tempest: >-
true
{%- endif -%}
test_regex: ''
test_white_regex: ''
# This enables the run of several tripleo-validations tests through Mistral
run_tripleo_validations: True

View File

@ -45,7 +45,7 @@ run_tempest: >-
true
{%- endif -%}
test_regex: ''
test_white_regex: ''
tempest_whitelist_old:
# Testing zaqar doesn't work yet, but it's in progress
# - 'zaqar.tests.tempest_plugin.tests.v2.test_queues.TestManageQueue'

View File

@ -45,7 +45,7 @@ run_tempest: >-
true
{%- endif -%}
test_regex: ''
test_white_regex: ''
tempest_whitelist:
- 'tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_network_basic_ops'
- 'sahara_tempest_plugin.tests.api.test_data_sources.DataSourceTest'

View File

@ -45,7 +45,7 @@ run_tempest: >-
true
{%- endif -%}
test_regex: ''
test_white_regex: ''
tempest_whitelist:
- 'tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_network_basic_ops'

View File

@ -25,7 +25,7 @@ exit_on_validations_failure: False
# run them.
test_ping: false
run_tempest: true
test_regex: 'tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_network_basic_ops'
test_white_regex: 'tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_network_basic_ops'
composable_roles: true
overcloud_roles:
- name: Controller

View File

@ -80,7 +80,7 @@ run_tempest: >-
true
{%- endif -%}
test_regex: ''
test_white_regex: ''
tempest_whitelist_old:
- 'tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern.test_volume_boot_pattern'
- 'ceilometer.tests.tempest.scenario.test_telemetry_integration.TestTelemetryIntegration'

View File

@ -78,7 +78,7 @@ run_tempest: >-
true
{%- endif -%}
test_regex: ''
test_white_regex: ''
# TODO(emilien) run ec2api tests when ec2api is supported in python-tempestconf
# 'ec2api.tests.functional.api.test_key_pairs.KeyPairTest'
tempest_whitelist_new:

View File

@ -78,7 +78,7 @@ run_tempest: >-
true
{%- endif -%}
test_regex: ''
test_white_regex: ''
tempest_whitelist:
- 'tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_network_basic_ops'
- 'sahara_tempest_plugin.tests.api.test_data_sources.DataSourceTest'

View File

@ -78,7 +78,7 @@ run_tempest: >-
true
{%- endif -%}
test_regex: ''
test_white_regex: ''
tempest_whitelist:
- 'tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_network_basic_ops'

View File

@ -31,7 +31,7 @@ extra_args: >-
# Tempest
run_tempest: true
test_regex: '.*'
test_white_regex: '.*'
test_ping: false
# For full tempest run we need to make sure concurrency is not too high
tempest_workers: 3

View File

@ -46,6 +46,6 @@ overcloud_roles:
test_ping: false
run_tempest: true
test_regex: ''
test_white_regex: ''
tempest_whitelist:
- 'tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_network_basic_ops'

View File

@ -39,7 +39,7 @@ extra_args: >-
tempest_config: true
test_ping: false
run_tempest: true
test_regex: ''
test_white_regex: ''
tempest_whitelist:
- 'tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_network_basic_ops'

View File

@ -18,7 +18,7 @@ ssl_overcloud: false
# run them.
test_ping: false
run_tempest: true
test_regex: 'tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_network_basic_ops'
test_white_regex: 'tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_network_basic_ops'
composable_roles: false
# Note(trown): The tripleo-ci repo is used here because we do not yet support

View File

@ -62,7 +62,7 @@ artcl_create_docs_payload:
test_ping: false
run_tempest: true
test_regex: ''
test_white_regex: ''
tempest_whitelist:
- 'tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_network_basic_ops'

View File

@ -8,7 +8,7 @@ test_ping: false
run_tempest: false
test_regex: ''
test_white_regex: ''
# This enables the run of several tripleo-validations tests through Mistral
run_tripleo_validations: false

View File

@ -27,7 +27,7 @@ exit_on_validations_failure: false
# job run time
test_ping: false
run_tempest: false
# test_regex: 'tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_network_basic_ops'
# test_white_regex: 'tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_network_basic_ops'
composable_roles: true
overcloud_roles:

View File

@ -63,7 +63,7 @@ artcl_create_docs_payload:
test_ping: false
run_tempest: true
test_regex: ''
test_white_regex: ''
tempest_whitelist:
- 'tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_network_basic_ops'

View File

@ -81,7 +81,7 @@ test_ping: >-
# looking for a small set of tempest tests to validate
# tempest config and execution are working
run_tempest: true
test_regex: 'tempest.api.compute.admin'
test_white_regex: 'tempest.api.compute.admin'
deploy_steps_ansible_workflow: >-
{% if release not in ['newton','ocata','pike'] -%}

View File

@ -85,7 +85,7 @@ run_tempest: >-
true
{%- endif -%}
test_regex: ''
test_white_regex: ''
tempest_whitelist:
- 'tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_network_basic_ops'