From a475aefdcb87977be514a9fb3a1d90e8a99a6777 Mon Sep 17 00:00:00 2001 From: yatinkarel Date: Mon, 16 Dec 2024 14:01:31 +0530 Subject: [PATCH] [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 --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index c043d115d0f..049639a6d92 100644 --- a/tox.ini +++ b/tox.ini @@ -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]