[functional][CI] split tests in more runs

With some CI nodes which runs with 4 CPU we seeing
random failures in functional jobs as some processes
getting oom-killed.
With this patch splitting tests in more runs so
memory not remain utilized till completion of all the tests.

Related-Bug: #2091855
Change-Id: I01bd8eb72aa5545b072bccec4a75f6062529b1c5
This commit is contained in:
yatinkarel 2024-12-16 14:01:31 +05:30
parent 79067358f4
commit a475aefdcb

View File

@ -87,7 +87,8 @@ setenv = {[testenv:dsvm-functional]setenv}
deps = {[testenv:dsvm-functional]deps}
commands =
bash {toxinidir}/tools/deploy_rootwrap.sh {toxinidir} {envdir}/etc {envdir}/bin
stestr run --slowest --exclude-regex (.*MySQL\.|.*test_get_all_devices|.*TestMetadataAgent\.|.*BaseOVSTestCase\.|.*test_periodic_sync_routers_task) {posargs}
stestr run --slowest --exclude-regex (.*MySQL\.|.*test_get_all_devices|.*TestMetadataAgent\.|.*BaseOVSTestCase\.|.*test_periodic_sync_routers_task) neutron.tests.functional.agent.l3 {posargs}
stestr run --slowest --combine --exclude-regex (.*MySQL\.|.*test_get_all_devices|.*TestMetadataAgent\.|.*BaseOVSTestCase\.|.*test_periodic_sync_routers_task|neutron.tests.functional.agent.l3.*) {posargs}
stestr run --slowest --combine --concurrency 1 (.*MySQL\.|.*test_get_all_devices|.*TestMetadataAgent\.|.*BaseOVSTestCase\.|.*test_periodic_sync_routers_task) {posargs}
[testenv:dsvm-fullstack]