From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gnu.wildebeest.org (gnu.wildebeest.org [45.83.234.184]) by sourceware.org (Postfix) with ESMTPS id 931303858294 for ; Sun, 26 Jun 2022 13:18:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 931303858294 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=klomp.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=klomp.org Received: from reform (deer0x0e.wildebeest.org [172.31.17.144]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gnu.wildebeest.org (Postfix) with ESMTPSA id 1C99A30005B6; Sun, 26 Jun 2022 15:18:43 +0200 (CEST) Received: by reform (Postfix, from userid 1000) id 8D7CF2E83468; Sun, 26 Jun 2022 15:18:42 +0200 (CEST) From: Mark Wielaard To: buildbot@sourceware.org Cc: Mark Wielaard Subject: [COMMITTED] Add retry, with 30 seconds delay and 3 tries, to all steps.Git Date: Sun, 26 Jun 2022 15:18:40 +0200 Message-Id: <20220626131840.30730-1-mark@klomp.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.6 required=5.0 tests=BAYES_00, GIT_PATCH_0, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: buildbot@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "The https://builder.sourceware.org/ buildbot" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jun 2022 13:18:46 -0000 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