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 D4848396E873 for ; Wed, 8 Jun 2022 19:54:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D4848396E873 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 (deer0x09.wildebeest.org [172.31.17.139]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gnu.wildebeest.org (Postfix) with ESMTPSA id 1A0143000B37; Wed, 8 Jun 2022 21:54:21 +0200 (CEST) Received: by reform (Postfix, from userid 1000) id 2B76B2E83DB0; Wed, 8 Jun 2022 21:54:05 +0200 (CEST) From: Mark Wielaard To: buildbot@sourceware.org Cc: Mark Wielaard Subject: [COMMITTED] Set DockerLatentWorker build_wait_timeout back to zero Date: Wed, 8 Jun 2022 21:54:02 +0200 Message-Id: <20220608195402.676642-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: Wed, 08 Jun 2022 19:54:25 -0000 This was set to 5 minutes when we saw switching containers was leaking ssh connections. But this issue is fixed. Shutting down and starting a container is near instantaneous now. So just doing it always is fine. --- builder/master.cfg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/builder/master.cfg b/builder/master.cfg index af4f65f..b4b42ae 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=60 * 5, + build_wait_timeout=0, 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=60 * 5, + build_wait_timeout=0, 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=60 * 5, + build_wait_timeout=0, max_builds=1, properties={'ncpus': 8}); c['workers'].append(bb3_worker) -- 2.30.2