From be18b88c043589b66f8cb6bdd18e9ee274768e76 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Mon, 18 Dec 2023 17:46:13 -0800 Subject: [PATCH] .gitlab-ci.yml: re-add maxschedchunk, it provides massive speedups -- ~2x on CI this essentially reverts bfb9d7f312ebb5f394414b5e1ea8f03728af4489 on CI, bfb9d7f312ebb5f394414b5e1ea8f03728af4489 took 5h45m: https://salsa.debian.org/Kazan-team/mirrors/openpower-isa/-/jobs/5038101 the parent commit took 2h37m: https://salsa.debian.org/Kazan-team/mirrors/openpower-isa/-/jobs/5034703 --- .gitlab-ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f19fc478..1cfbf1fc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -126,4 +126,10 @@ build: - python3 -m openpower.syscalls json linux > src/openpower/syscalls/syscalls.json - - SILENCELOG=1 SIM_NO_VCD=1 pytest -v --maxfail=10 + # maxschedchunk substantially speeds up testing -- by ~2x on CI + # it is supported by the version of pytest-xdist used by both this file + # and the dev-env-setup scripts (which should be the same versions). + # + # maxfail=10 because otherwise the output log is too long and gitlab + # truncates it, removing the testing summary. + - SILENCELOG=1 SIM_NO_VCD=1 pytest -v --maxfail=10 --maxschedchunk=1 -- 2.30.2