CI: drop the job count for the valgrind test suite to 2
authorPeter Hutterer <peter.hutterer@who-t.net>
Thu, 1 Sep 2022 00:57:45 +0000 (10:57 +1000)
committerBenjamin Tissoires <benjamin.tissoires@gmail.com>
Fri, 2 Sep 2022 06:41:34 +0000 (08:41 +0200)
Too many timing-related failures with 4 or (the default) 8 jobs, clearly
our runners aren't fast enough.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
.gitlab-ci.yml
.gitlab-ci/ci.template

index 13cd24f..e84b696 100644 (file)
@@ -490,6 +490,7 @@ freebsd:13.0@container-clean:
     - if ! [[ -z $SUITE_NAMES ]]; then SUITES=$(echo $SUITE_NAMES | sed 's/\([^ ]*\)/libinput-test-suite-\1/g'); fi
     - echo "Testing $SUITES"
     - export MESON_TEST_ARGS="$MESON_TEST_ARGS $SUITES"
+    - export LITEST_JOBS="2"
 
 
 .fedora:36@test-suite-vm:
@@ -627,6 +628,7 @@ vm-valgrind-touchpad:
     - vm-touchpad
   variables:
     MESON_TEST_ARGS: '--setup=valgrind'
+    LITEST_JOBS: 4
 
 vm-valgrind-tap:
   stage: valgrind
@@ -634,6 +636,7 @@ vm-valgrind-tap:
     - vm-tap
   variables:
     MESON_TEST_ARGS: '--setup=valgrind'
+    LITEST_JOBS: 4
 
 vm-valgrind-touchpad-buttons:
   stage: valgrind
@@ -641,6 +644,7 @@ vm-valgrind-touchpad-buttons:
     - vm-touchpad-buttons
   variables:
     MESON_TEST_ARGS: '--setup=valgrind'
+    LITEST_JOBS: 4
 
 vm-valgrind-tablet:
   stage: valgrind
@@ -648,6 +652,7 @@ vm-valgrind-tablet:
     - vm-tablet
   variables:
     MESON_TEST_ARGS: '--setup=valgrind'
+    LITEST_JOBS: 4
 
 vm-valgrind-gestures-device:
   stage: valgrind
@@ -655,6 +660,7 @@ vm-valgrind-gestures-device:
     - vm-gestures-device
   variables:
     MESON_TEST_ARGS: '--setup=valgrind'
+    LITEST_JOBS: 4
 
 vm-valgrind-backends:
   stage: valgrind
@@ -662,6 +668,7 @@ vm-valgrind-backends:
     - vm-backends
   variables:
     MESON_TEST_ARGS: '--setup=valgrind'
+    LITEST_JOBS: 4
 
 vm-valgrind-misc:
   stage: valgrind
@@ -669,6 +676,7 @@ vm-valgrind-misc:
     - vm-misc
   variables:
     MESON_TEST_ARGS: '--setup=valgrind'
+    LITEST_JOBS: 4
 
 vm-valgrind-other devices:
   stage: valgrind
@@ -676,6 +684,7 @@ vm-valgrind-other devices:
     - vm-other devices
   variables:
     MESON_TEST_ARGS: '--setup=valgrind'
+    LITEST_JOBS: 4
 
 vm-valgrind-pointer:
   stage: valgrind
@@ -683,6 +692,7 @@ vm-valgrind-pointer:
     - vm-pointer
   variables:
     MESON_TEST_ARGS: '--setup=valgrind'
+    LITEST_JOBS: 4
 
 
 .fedora-build@template:
index dd7de66..f332bcb 100644 (file)
@@ -366,6 +366,7 @@ check-commit:
     - if ! [[ -z $SUITE_NAMES ]]; then SUITES=$(echo $SUITE_NAMES | sed 's/\([^ ]*\)/libinput-test-suite-\1/g'); fi
     - echo "Testing $SUITES"
     - export MESON_TEST_ARGS="$MESON_TEST_ARGS $SUITES"
+    - export LITEST_JOBS="2"
 
 
 {# qemu tests are only done for the latest version of any distribution #}
@@ -405,6 +406,7 @@ vm-valgrind-{{suite.name}}:
     - vm-{{suite.name}}
   variables:
     MESON_TEST_ARGS: '--setup=valgrind'
+    LITEST_JOBS: 4
 
 {% endfor %}
 {% endfor %}{# for if distro.use_for_qemu_tests #}