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 C5941382C5F2 for ; Fri, 3 Jun 2022 23:19:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C5941382C5F2 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 02A14301FE82; Sat, 4 Jun 2022 01:19:34 +0200 (CEST) Received: by reform (Postfix, from userid 1000) id AE6172E83DA3; Sat, 4 Jun 2022 01:19:18 +0200 (CEST) From: Mark Wielaard To: buildbot@sourceware.org Cc: Mark Wielaard Subject: [PATCH] SETUP: buildbot-stop.sh should not use --clean Date: Sat, 4 Jun 2022 01:19:15 +0200 Message-Id: <20220603231915.631645-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:19:39 -0000 Using --clean means the buildbot will not stop till all workers are done. Which can take hours. Just stop, which interrupts the builds. They will be retried when the master starts. --- SETUP | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SETUP b/SETUP index ed82db3..c9f7005 100644 --- a/SETUP +++ b/SETUP @@ -62,7 +62,7 @@ buildbot start --start_timeout=120 /sourceware/builder/buildbot/builder - buildbot-stop.sh #!/bin/bash source /sourceware/builder/buildbot-env/bin/activate -buildbot stop --clean /sourceware/builder/buildbot/builder +buildbot stop /sourceware/builder/buildbot/builder - buildbot-reload.sh #!/bin/bash source /sourceware/builder/buildbot-env/bin/activate @@ -145,4 +145,4 @@ key pair under /sourceware/builder/.ssh (ssh-keygen) with the public part going into the docker_host builder user .ssh/authorized_keys. So the DockerLatentWorker can run docker system dial-stdio on the docker_host. Since the buildbot will use the ~/.ssh config make sure -that the hosts are in .known_hosts (by logging in by hand once). \ No newline at end of file +that the hosts are in .known_hosts (by logging in by hand once). -- 2.30.2