From 8e8eacbb03a57c7db603a17286eefad1161d857b Mon Sep 17 00:00:00 2001 From: Takashi Kajinami <kajinamit@oss.nttdata.com> Date: Thu, 14 Dec 2023 10:19:36 +0900 Subject: [PATCH] Simplify tempest tests config Telemetry integration test is explicitly enabled but it is later disabled. We can just skip enabling it. Change-Id: I48aedb22ac32d651db4029330d54ce25eb314764 --- run_tests.sh | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/run_tests.sh b/run_tests.sh index b688f61a1..0718c055c 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -291,8 +291,9 @@ echo "telemetry_tempest_plugin.gnocchi" >> /tmp/openstack/tempest/test-include-l # Vitrage echo "TestEvents" >> /tmp/openstack/tempest/test-include-list.txt -# Test Autoscaling with Telemetry (need panko, ubuntu doesn't ship it) -uses_debs || echo "test_telemetry_integration" >> /tmp/openstack/tempest/test-include-list.txt +# Test Autoscaling with Telemetry +# TODO(tkajinam): This test case is disabled because of instability +#echo "test_telemetry_integration" >> /tmp/openstack/tempest/test-include-list.txt # Ironic # Note: running all Ironic tests under SSL is not working @@ -346,16 +347,11 @@ echo 'manila_tempest_tests.tests.api.test_shares.SharesCephFSTest.test_create_ge echo 'manila_tempest_tests.tests.api.test_shares.SharesNFSTest.test_create_get_delete_share' >> /tmp/openstack/tempest/test-include-list.txt if uses_debs; then - echo "telemetry_tempest_plugin.scenario.test_telemetry_integration.TestTelemetryIntegration" >> /tmp/openstack/tempest/test-exclude-list.txt - EXCLUDES="--exclude-list=/tmp/openstack/tempest/test-exclude-list.txt" - + #EXCLUDES="--exclude-regex=..." + EXCLUDES="" else - # https://review.opendev.org/#/c/504345/ has changed the behavior of tempest when running with --regex and --include-list-file - # and now operator between them is OR when filtering tests (which is how it was documented, btw). In order to promote - # we need to remove this regex option and implement https://review.opendev.org/#/c/547278 when ready. - # Note these tests were disabled in https://review.opendev.org/#/c/461969/ and hopefully it's more stable now and allows - # us to run it until we can implement --exclude-list-file in a stable way. - EXCLUDES="--exclude-regex=^telemetry_tempest_plugin.scenario.test_telemetry_integration.TestTelemetryIntegration" + #EXCLUDES="--exclude-regex=..." + EXCLUDES="" fi print_header 'Running Tempest' cd /tmp/openstack/tempest