.gitlab-ci.yml: re-add maxschedchunk, it provides massive speedups -- ~2x on CI
authorJacob Lifshay <programmerjake@gmail.com>
Tue, 19 Dec 2023 01:46:13 +0000 (17:46 -0800)
committerJacob Lifshay <programmerjake@gmail.com>
Tue, 19 Dec 2023 01:49:51 +0000 (17:49 -0800)
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

index f19fc478489c429dfbce0e09b11c2e2d8f7f4af6..1cfbf1fc9a1d8973949481ecd26f408d08f6a432 100644 (file)
@@ -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