From 2fe672ecee96aa68b57c35d8348caf73ca47e1b9 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 20 Jan 2020 11:25:22 +1000 Subject: [PATCH] gitlab CI: retry the VM jobs on script failure Unfortunately the various VM jobs are timing sensitive and create a bunch of false positives if the runners are under load and miss out on some of the events (the tablet proximity handling is a particularly bad test here). Let's retry on failure first to give the CI more opportunity to maybe succeed. Signed-off-by: Peter Hutterer --- .gitlab-ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 472fb560..c4d7756c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -531,6 +531,9 @@ freebsd:11.2@container-clean: junit: $MESON_BUILDDIR/junit-*.xml allow_failure: true + retry: + max: 2 + when: script_failure needs: ['fedora:30@qemu-prep'] # in reverse order of duration to get the slowest ones started first