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 93A69382C5EB for ; Fri, 3 Jun 2022 23:29:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 93A69382C5EB 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 (deer0x0f.wildebeest.org [172.31.17.145]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gnu.wildebeest.org (Postfix) with ESMTPSA id 863AB301FE82; Sat, 4 Jun 2022 01:29:05 +0200 (CEST) Received: by reform (Postfix, from userid 1000) id 531472E83DA3; Sat, 4 Jun 2022 01:28:49 +0200 (CEST) From: Mark Wielaard To: buildbot@sourceware.org Cc: Mark Wielaard Subject: [COMMITTED] Set DockerLatentWorker build_wait_timeout to 5 minutes Date: Sat, 4 Jun 2022 01:28:45 +0200 Message-Id: <20220603232845.632071-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.5 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: Fri, 03 Jun 2022 23:29:07 -0000 Keep the container around for 5 minutes so it can immediately be reused for another build. --- builder/master.cfg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/builder/master.cfg b/builder/master.cfg index 0c270f5..b7ccfb7 100644 --- a/builder/master.cfg +++ b/builder/master.cfg @@ -142,7 +142,7 @@ bb1_worker = worker.DockerLatentWorker("bb1", docker_host="ssh://builder@bb.wildebeest.org:2021", dockerfile=util.Interpolate('%(prop:container-file)s'), volumes=["/home/builder/shared:/home/builder/shared"], - build_wait_timeout=0, + build_wait_timeout=60 * 5, max_builds=1, properties={'ncpus': 8}); c['workers'].append(bb1_worker) @@ -153,7 +153,7 @@ bb2_worker = worker.DockerLatentWorker("bb2", docker_host="ssh://builder@bb.wildebeest.org:2022", dockerfile=util.Interpolate('%(prop:container-file)s'), volumes=["/home/builder/shared:/home/builder/shared"], - build_wait_timeout=0, + build_wait_timeout=60 * 5, max_builds=1, properties={'ncpus': 8}); c['workers'].append(bb2_worker) @@ -164,7 +164,7 @@ bb3_worker = worker.DockerLatentWorker("bb3", docker_host="ssh://builder@bb.wildebeest.org:2023", dockerfile=util.Interpolate('%(prop:container-file)s'), volumes=["/home/builder/shared:/home/builder/shared"], - build_wait_timeout=0, + build_wait_timeout=60 * 5, max_builds=1, properties={'ncpus': 8}); c['workers'].append(bb3_worker) -- 2.30.2