From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id uC2fKktyW2TI3AAASxT56A (envelope-from ) for ; Wed, 10 May 2023 12:30:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 4J2nKktyW2SzQQAA9RJhRA (envelope-from ) for ; Wed, 10 May 2023 12:30:35 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4CE17C09C for ; Wed, 10 May 2023 12:30:35 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pwh5G-0003SH-9U; Wed, 10 May 2023 06:30:10 -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 1pwh5B-0003Rn-9O for bug-guix@gnu.org; Wed, 10 May 2023 06:30:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pwh59-0007vE-O5 for bug-guix@gnu.org; Wed, 10 May 2023 06:30:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pwh59-0003NN-98 for bug-guix@gnu.org; Wed, 10 May 2023 06:30:03 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#63413: Stop and restart builds in cuirass Resent-From: Andreas Enge Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 10 May 2023 10:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63413 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 63413@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168371455212885 (code B ref -1); Wed, 10 May 2023 10:30:03 +0000 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 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683714635; a=rsa-sha256; cv=none; b=kHVEwG2UT138uOhzm0wOl/eYSC+sC8DmOUmIDkseQxSQYEAQPiw/GMiJ7/egfy4T6vqHu5 tc1kf6Y86CDnZx7crPK0hJTgXBpzkUP7jXumzFNEKIGjI1hiR9NXVrNHTws4gJhgxAcRkd JTcJfgBPDq9S8YmVxQkxXIo+JK2Go/qwiXzqwHep2T9olfNVzepJALtlkdO/M94QXOExY8 pQlZ0NSMxWKLuHzqdkXUp9qyuezB9jXhSJXO5GjnEMoEe/+SXmyYpc6HFr54fVAvpbDR5S 7Lu2bzcLPtC1Ky8/NwVIZw63cz+I+p1D9p6+8lxOhcekF1rUz4lnzO5ID/Ys8w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683714635; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post; bh=8zMC1Sm4Ifby5dckcSS31EobjdGPCDen6PRC3af4EaE=; b=YO+DqlmVOlsyx8Eh1UVIyJDgiRgg6rDPPQRXNLG873QlOq0JwkPsDykc3VCR+A+GjzYt6h x1Kc3nUIEtEIGNOMz2OHzQXPM9y/fkeM65ENZi3LP8WwQ0uEUgyn2oZfKuHoPR5lJ+um8l P49Hoggnn3t3Fk+oJzB2lQh31VaBbT3LNZZNd/nehA7nGuSmMFZOCtwdoWIC3aBeYsqww8 uBZJaM5pjEAV5SxeUsxSQ58YPQQQ20/8xNETWp3OtTW6y7TfBhxsKP8xmlaHxSltu1EWZr hHdVlWoBjg0bf1PpVBtw28rBIReV9PzF4xTgFu6PjR1qfKeaM20bSDKJsCuoeg== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.88 X-Spam-Score: -2.88 X-Migadu-Queue-Id: 4CE17C09C X-TUID: W6x0W3EdA9pg 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