public inbox for buildbot@sourceware.org
 help / color / mirror / Atom feed
* [COMMITTED] Add retry, with 30 seconds delay and 3 tries, to all steps.Git
@ 2022-06-26 13:18 Mark Wielaard
  0 siblings, 0 replies; only message in thread
From: Mark Wielaard @ 2022-06-26 13:18 UTC (permalink / raw)
  To: buildbot; +Cc: Mark Wielaard

Although we have retryFetch=True on all steps.Git a checkout still
sometimes fails on the workers. Try also adding retry=(30,3) to all
steps to make sure the full checkout is retried at least 3 times, with
a delay of 30 seconds.
---
 builder/master.cfg | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/builder/master.cfg b/builder/master.cfg
index 3c21d52..644af50 100644
--- a/builder/master.cfg
+++ b/builder/master.cfg
@@ -768,7 +768,7 @@ def bunsen_logfile_upload_cpio_steps(paths,
 bzip2_step_git = steps.Git(
         repourl=bzip2_repourl,
         mode='full', method='fresh',
-        retryFetch=True,
+        retryFetch=True, retry=(30,3),
         name="git checkout",
         haltOnFailure=True)
 bzip2_step_git_tests = steps.Git(
@@ -777,7 +777,7 @@ bzip2_step_git_tests = steps.Git(
         branch='master',
         alwaysUseLatest=True,
         mode='full', method='fresh',
-        retryFetch=True,
+        retryFetch=True, retry=(30,3),
         name="git checkout bzip2-tests",
         haltOnFailure=True)
 bzip2_step_make = make_step
@@ -901,7 +901,7 @@ debugedit_factory.addStep(
 debugedit_factory.addStep(steps.Git(
         repourl=debugedit_repourl,
         mode='full', method='fresh',
-        retryFetch=True,
+        retryFetch=True, retry=(30,3),
         name="git checkout",
         haltOnFailure=True))
 debugedit_factory.addStep(autoreconf_step)
@@ -1013,7 +1013,7 @@ dwz_factory = util.BuildFactory()
 dwz_factory.addStep(steps.Git(
         repourl=dwz_repourl,
         mode='full', method='fresh',
-        retryFetch=True,
+        retryFetch=True, retry=(30,3),
         name="git checkout",
         haltOnFailure=True))
 dwz_factory.addStep(make_step)
@@ -1116,7 +1116,7 @@ elfutils_set_package_step = steps.SetProperty(
 elfutils_git_step = steps.Git(
         repourl=elfutils_repourl,
         mode='full', method='fresh',
-        retryFetch=True,
+        retryFetch=True, retry=(30,3),
         name="git checkout",
         haltOnFailure=True)
 # configure with running tests under valgrind enabled.
@@ -1313,7 +1313,7 @@ gccrust_git_step = steps.Git(
         workdir='gccrs',
         repourl=gccrust_repourl,
         mode='full', method='fresh',
-        retryFetch=True,
+        retryFetch=True, retry=(30,3),
         name="git checkout",
         haltOnFailure=True)
 
@@ -1475,7 +1475,7 @@ binutils_step_git = steps.Git(
         workdir='binutils-gdb',
         repourl=binutils_gdb_repourl,
         mode='full', method='fresh',
-        retryFetch=True,
+        retryFetch=True, retry=(30,3),
         name="git checkout",
         haltOnFailure=True)
 binutils_step_rm_build_dir = steps.ShellCommand(
@@ -1687,7 +1687,7 @@ gdb_git_step = steps.Git(
         workdir='binutils-gdb',
         repourl=binutils_gdb_repourl,
         mode='full', method='fresh',
-        retryFetch=True,
+        retryFetch=True, retry=(30,3),
         name="git checkout",
         haltOnFailure=True)
 gdb_rm_step = steps.ShellCommand(
@@ -1940,7 +1940,7 @@ def binutils_gdb_factory_factory(runtestflags=None):
         binutils_gdb_factory.addStep(steps.Git(
                 repourl=binutils_gdb_repourl,
                 mode='full', method='fresh',
-                retryFetch=True,
+                retryFetch=True, retry=(30,3),
                 name="git checkout",
                 haltOnFailure=True))
         binutils_gdb_factory.addStep(steps.Configure(
@@ -2002,7 +2002,7 @@ gcc_factory = util.BuildFactory()
 gcc_factory.addStep(steps.Git(
         repourl=gcc_repourl,
         mode='full', method='fresh',
-        retryFetch=True,
+        retryFetch=True, retry=(30,3),
         name="git checkout",
         haltOnFailure=True))
 gcc_factory.addStep(steps.Configure(
@@ -2041,7 +2041,7 @@ glibc_git_step = steps.Git(
         workdir='glibc',
         repourl=glibc_repourl,
         mode='full', method='fresh',
-        retryFetch=True,
+        retryFetch=True, retry=(30,3),
         name="git checkout",
         haltOnFailure=True)
 
@@ -2166,7 +2166,7 @@ libabigail_package_name_step = steps.SetProperty(
 libabigail_git_step = steps.Git(
         repourl=libabigail_repourl,
         mode='full', method='fresh',
-        retryFetch=True,
+        retryFetch=True, retry=(30,3),
         name="git checkout",
         haltOnFailure=True)
 libabigail_make_check_test_suite_step = steps.Test(
@@ -2296,7 +2296,7 @@ c['builders'].append(libabigail_opensuseleap_x86_64_builder)
 valgrind_git_step = steps.Git(
         repourl=valgrind_repourl,
         mode='full', method='fresh',
-        retryFetch=True,
+        retryFetch=True, retry=(30,3),
         name="git checkout",
         haltOnFailure=True)
 valgrind_autogen_step = steps.ShellCommand(
-- 
2.30.2


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-26 13:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-26 13:18 [COMMITTED] Add retry, with 30 seconds delay and 3 tries, to all steps.Git Mark Wielaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).