From 33e4e24df59605a9e2187f410f470a11d0549c8f Mon Sep 17 00:00:00 2001 From: Ghanshyam Mann Date: Thu, 20 Jul 2023 15:38:37 -0500 Subject: [PATCH] Run test_port_security_macspoofing_port slow tests serially Below commit made all the slow test run parallel which has improved the tempest-slow time to almost half. But there are some issue in running the test_port_security_macspoofing_port slow scenario tests in parallel and it fail many time https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_db5/887220/5/check/tempest-slow-py3/db5adef/testr_results.html Let's run this test in serial and see if we hit any other test like this which is causing issue while running on parallel. Change-Id: Id0762a51f7ff72905c6c05bdff2e18321d616c91 --- tox.ini | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 47ef5ebc29..027442a3d6 100644 --- a/tox.ini +++ b/tox.ini @@ -328,10 +328,15 @@ basepython = {[tempestenv]basepython} setenv = {[tempestenv]setenv} deps = {[tempestenv]deps} # The regex below is used to select the slow tagged tests: -regex = '\[.*\bslow\b.*\]' +regex1 = '(.*\[.*\bslow\b.*\])' +regex2 = 'test_port_security_macspoofing_port' +# The regex below is used to run slow test in parallel except +# test_port_security_macspoofing_port which fail many times +# while running in parallel commands = find . -type f -name "*.pyc" -delete - tempest run --regex {[testenv:slow]regex} {posargs} + tempest run --regex {[testenv:slow]regex1} --exclude-regex {[testenv:slow]regex2} {posargs} + tempest run --combine --serial --regex {[testenv:slow]regex2} {posargs} [testenv:multinode] envdir = .tox/tempest