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
This commit is contained in:
Ghanshyam Mann
2023-07-20 15:38:37 -05:00
parent d71aad0e06
commit 33e4e24df5

View File

@@ -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