From 70c57e964450f4563858ec900703a38bde7eef7b Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 1 Sep 2022 10:57:45 +1000 Subject: CI: drop the job count for the valgrind test suite to 2 Too many timing-related failures with 4 or (the default) 8 jobs, clearly our runners aren't fast enough. Signed-off-by: Peter Hutterer --- .gitlab-ci.yml | 10 ++++++++++ .gitlab-ci/ci.template | 2 ++ 2 files changed, 12 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 13cd24f5..e84b696b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: diff --git a/.gitlab-ci/ci.template b/.gitlab-ci/ci.template index dd7de663..f332bcb4 100644 --- a/.gitlab-ci/ci.template +++ b/.gitlab-ci/ci.template @@ -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 #} -- cgit v1.2.1