From unknown Tue Sep 23 19:07:59 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#63413 <63413@debbugs.gnu.org> To: bug#63413 <63413@debbugs.gnu.org> Subject: Status: Stop and restart builds in cuirass Reply-To: bug#63413 <63413@debbugs.gnu.org> Date: Wed, 24 Sep 2025 02:07:59 +0000 retitle 63413 Stop and restart builds in cuirass reassign 63413 guix submitter 63413 Andreas Enge severity 63413 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed May 10 06:29:12 2023 Received: (at submit) by debbugs.gnu.org; 10 May 2023 10:29:12 +0000 Received: from localhost ([127.0.0.1]:45288 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwh4K-0003Lk-9A for submit@debbugs.gnu.org; Wed, 10 May 2023 06:29:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:42230) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwh4G-0003Lb-JQ for submit@debbugs.gnu.org; Wed, 10 May 2023 06:29:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pwh4D-0003O8-63 for bug-guix@gnu.org; Wed, 10 May 2023 06:29:07 -0400 Received: from hera.aquilenet.fr ([2a0c:e300::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pwh4A-0007jr-4V for bug-guix@gnu.org; Wed, 10 May 2023 06:29:04 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id B5C46283; Wed, 10 May 2023 12:28:57 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qeXuHJGmk7J6; Wed, 10 May 2023 12:28:57 +0200 (CEST) Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 203241CF; Wed, 10 May 2023 12:28:57 +0200 (CEST) Date: Wed, 10 May 2023 12:28:55 +0200 From: Andreas Enge To: bug-guix@gnu.org Subject: Stop and restart builds in cuirass Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Received-SPF: pass client-ip=2a0c:e300::1; envelope-from=andreas@enge.fr; helo=hera.aquilenet.fr X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Stopping and starting builds in cuirass is not very comfortable. When working on core-updates, I stopped builds for some old evaluations on aarch64, where our build power would not be enough, assuming that many of the old builds were made obsolete by newer changes. (For instance, these could be builds in branches that were already merged to master.) However, this also stopped the builds that were not obsolete. And if the derivation was unchanged in a later evaluation (or a different branch), it would be kept as failed and not be restarted. I would argue that the desirable behaviour would be to try all derivations in a new evaluation, regardless of whether they were stopped in a previous evaluation. A use case are feature branches: Assume x-team and y-team are branches that are developed simultaneously; now x-team is ready first and gets merged to master. All builds of y-team are stopped (since there is no point in continuing with builds made obsolete by changes in x-team), the branch is rebased on master, and now all builds need to be restarted on the rebuilt branch. There is a button for this, but it also restarts genuinely failed builds, if I remember correctly. (In any case it did not solve the problem, but I have forgotten the details.) Restarting builds manually requires to take the dependency order into account. If x->y->z is a dependency chain, x has been stopped, and y or z are restarted, they will immediately fail since x is not available; otherwise said, restarting manually requires a manual traversal of the dependency graph, which should be automated. It would also be a useful feature to restart all builds of dependent packages: If x is "repaired" and manually started, it would be nice to be able to start all its dependents (ordered automatically by cuirass) to see whether they now succeed, instead of forcing us to manually traverse the graph again. For instance, we recently got a report on guix-devel of "no space left on device" for icedtea@3. This would be easy to solve by a "guix gc" on the build machines, but we currently have no way of restarting the many builds dependent on icedtea@3 other than restarting all packages. Andreas From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 04 10:00:21 2024 Received: (at 63413-done) by debbugs.gnu.org; 4 Jun 2024 14:00:21 +0000 Received: from localhost ([127.0.0.1]:53744 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sEUi4-0004oK-OY for submit@debbugs.gnu.org; Tue, 04 Jun 2024 10:00:21 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sEUi1-0004Mu-NP for 63413-done@debbugs.gnu.org; Tue, 04 Jun 2024 10:00:19 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sEUhh-00074n-Bv; Tue, 04 Jun 2024 09:59:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=+78cOQz+ez9cnqaaoei1RYZsm15BfjThnmhf6TH+Crg=; b=Tx0QN9kj2gTOzLiRoxH9 tJY6559Hz/yHzaV7CU7xHEYpeLVePasUpgrORzjO3KMK6r5ePXG7qooJamD9SUpihbG5HMrb+T6Ch h8iGP2invOl4dKYsgIyieH7TnfLxDbxedSXTzJAEk7f4m1qb3bdDXZI4zPPG2lB/YRW2YApQkw0CB uuFQ8snqM0bT6fmqNvnIWY1sfkccHtQZiEW1nlbqD5G9UNKchPLwbI0NlHI3qhcpQXDiLqBeKGaNM UhpRzvF6kpA3IKi7L4PMx8dM/XEBTAxne4WKRuU1Xou5CiNUvTnR5rA/YspO4AIRzC24+OPgWLqGW TNgYqFnqdwEzuA==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Andreas Enge Subject: Re: bug#63413: Stop and restart builds in cuirass In-Reply-To: (Andreas Enge's message of "Wed, 10 May 2023 12:28:55 +0200") References: Date: Tue, 04 Jun 2024 15:59:53 +0200 Message-ID: <87frts7qqu.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 63413-done Cc: 63413-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Andreas, Andreas Enge skribis: > Stopping and starting builds in cuirass is not very comfortable. > > When working on core-updates, I stopped builds for some old evaluations > on aarch64, where our build power would not be enough, assuming that many > of the old builds were made obsolete by newer changes. (For instance, > these could be builds in branches that were already merged to master.) > > However, this also stopped the builds that were not obsolete. And if the > derivation was unchanged in a later evaluation (or a different branch), > it would be kept as failed and not be restarted. I would argue that the > desirable behaviour would be to try all derivations in a new evaluation, > regardless of whether they were stopped in a previous evaluation. (For clarity: s/stop/cancel/ above.) I=E2=80=99m happy to report that this bug should be fixed in the snapshot recently deployed on ci.guix.gnu.org. The fix is here: https://git.savannah.gnu.org/cgit/guix/guix-cuirass.git/commit/?id=3D12d7= 9854ee7685b356a72ca374f2a90b8efe5903 Lemme know if it turns out to be a broken fix! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 05 09:30:46 2024 Received: (at 63413) by debbugs.gnu.org; 5 Jun 2024 13:30:47 +0000 Received: from localhost ([127.0.0.1]:33534 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sEqj0-0006VC-2r for submit@debbugs.gnu.org; Wed, 05 Jun 2024 09:30:46 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:52792) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sEqix-0006Uf-1c for 63413@debbugs.gnu.org; Wed, 05 Jun 2024 09:30:43 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 0AC1F1CAF; Wed, 5 Jun 2024 15:29:53 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ID308Toj12c2; Wed, 5 Jun 2024 15:29:52 +0200 (CEST) Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 70F261D3; Wed, 5 Jun 2024 15:29:52 +0200 (CEST) Date: Wed, 5 Jun 2024 15:29:50 +0200 From: Andreas Enge To: Ludovic =?iso-8859-15?Q?Court=E8s?= Subject: Re: bug#63413: Stop and restart builds in cuirass Message-ID: References: <87frts7qqu.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87frts7qqu.fsf@gnu.org> X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 63413 Cc: 63413@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Am Tue, Jun 04, 2024 at 03:59:53PM +0200 schrieb Ludovic Courtès: > I’m happy to report that this bug should be fixed in the snapshot > recently deployed on ci.guix.gnu.org. The fix is here: > https://git.savannah.gnu.org/cgit/guix/guix-cuirass.git/commit/?id=12d79854ee7685b356a72ca374f2a90b8efe5903 this looks good, thanks a lot for fixing this long standing annoyance! Andreas From unknown Tue Sep 23 19:07:59 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 04 Jul 2024 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator