public inbox for buildbot@sourceware.org
 help / color / mirror / Atom feed
From: Mark Wielaard <mark@klomp.org>
To: buildbot@sourceware.org
Cc: Mark Wielaard <mark@klomp.org>
Subject: [COMMITTED] Add retry, with 30 seconds delay and 3 tries, to all steps.Git
Date: Sun, 26 Jun 2022 15:18:40 +0200	[thread overview]
Message-ID: <20220626131840.30730-1-mark@klomp.org> (raw)

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


                 reply	other threads:[~2022-06-26 13:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220626131840.30730-1-mark@klomp.org \
    --to=mark@klomp.org \
    --cc=buildbot@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).