All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ci: add automatic retry
@ 2026-10-20 23:16 Pierrick Bouvier
  2026-10-21  2:41 ` Brian Cain
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Pierrick Bouvier @ 2026-10-20 23:16 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Alex Bennée, Stefan Hajnoczi,
	Daniel P . Berrangé, Richard Henderson, Pierrick Bouvier,
	Philippe Mathieu-Daudé, Paolo Bonzini

When merging PR on the project, it's possible to observe failures on CI
that can be related to sporadic test failures or infrastructure issues
(pod eviction with Kubernetes). As a result, it adds latency on the
process and workload for our top maintainers.

This patch sets an automatic retry (supported by gitlab out of the box),
so failing jobs are automatically retriggered.

It's important to note that in case there is a real test or build
failure, concerned jobs will run a second time, and fail again. That
said, it happens seldomly since sub maintainers are supposed to test for
this before sending it. Also, the retry is limited to the job that
failed, so it should be cheap in terms of CI minutes.

Signed-off-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
---
 .gitlab-ci.d/base.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.d/base.yml b/.gitlab-ci.d/base.yml
index 8fe00809357..63ba82e3632 100644
--- a/.gitlab-ci.d/base.yml
+++ b/.gitlab-ci.d/base.yml
@@ -31,8 +31,9 @@ variables:
     # Ensure docker.py / tests/docker/Makefile.include always displays stdout
     # from any docker commands to aid debugging of failures
     DOCKER_V: 1
-
   interruptible: true
+  # automatic retry on failure (sporadic test failures or infra issues)
+  retry: 2
 
   rules:
     #############################################################
-- 
2.53.0



^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-10-22 17:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-20 23:16 [PATCH] ci: add automatic retry Pierrick Bouvier
2026-10-21  2:41 ` Brian Cain
2026-10-21  5:09   ` Pierrick Bouvier
2026-10-21  9:20   ` Peter Maydell
2026-10-21 10:56     ` Alex Bennée
2026-10-21 15:59       ` Pierrick Bouvier
2026-10-21  8:16 ` Richard Henderson
2026-10-22 17:41 ` Pierrick Bouvier

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.