From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 4IdXMfC6MGeJ7AAAqHPOHw:P1 (envelope-from ) for ; Sun, 10 Nov 2024 13:53:53 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 4IdXMfC6MGeJ7AAAqHPOHw (envelope-from ) for ; Sun, 10 Nov 2024 14:53:52 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=IlT0NhdX; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=Ds5XoPvh; dmarc=pass (policy=none) header.from=gnu.org; 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-Seal: i=1; s=key1; d=yhetil.org; t=1731246832; a=rsa-sha256; cv=none; b=lOnZXXzQAFBj2h15A6s0rnQ2ej8R10oVSQFsRottki3AzT8FWpWcQqTlQvJV+kbO3fqvSx xjkNFZYgXhmFSAtxRWFocqgeWWtRBW4y/ewiwtcHANFUzqY6aYTkr5x+jfvorqGeNZqbxe ehZFO0ibtRIjku/Pp+t5AXnPtobcZG8H43qU2sSW9Reh12CODxKKG/qoGtmqjMMYBeFxlI tnSe1yNXRzkOuTSJKN2i8DPzzqubHNMyaQpTxAWD9dp2RLeXHwAKRPDRYBY5eDNfE5medB 9R3Xufcm6hIxpQlmKxHjoQze9GHDfaFdef/4a2rutR6WCKehr610+b85dNhGrw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=IlT0NhdX; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=Ds5XoPvh; dmarc=pass (policy=none) header.from=gnu.org; 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=1731246832; 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: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=kw6z+H9uUZMrdtHKzIYPOzLg7YleLN7vZw4EXh7+a1A=; b=Xl1lpAakn1LyrFP/Xc7QxaQSiq+tSdgI/hOCeRkma0hrcneawV7iNyksVS3PsfRn9XyGxA AGQluymBOSVPxeLcDK5NwE4pYPFHPS65BHyYcqOgkhtWsRUiPzbAacpMv/LAVCnPgUWzpZ 4JBH6C2tAshgkr0+Dg+46AW4Zzn4hB0leIEcRkkxvOQ6uBm8mzUuKVVqi7aDPucMrILFxF i9GiHt70aGSo4JqwZt/BC6dCRr79flaUOIbFJLaOSZo83uWMdS5kDJOiMG8R0c4w2jQ11K IjbbdYWspK0yElEyXpjWOFOqxGeT22WFgDRSXEjpMleVAHRs/x8NI5iz+5XZ3Q== 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 6DCCF871B7 for ; Sun, 10 Nov 2024 14:53:52 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tA6SB-0006og-Tw; Sun, 10 Nov 2024 06:50:03 -0500 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 1tA6SA-0006oV-Gp for bug-guix@gnu.org; Sun, 10 Nov 2024 06:50:02 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tA6SA-00015L-74 for bug-guix@gnu.org; Sun, 10 Nov 2024 06:50:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=kw6z+H9uUZMrdtHKzIYPOzLg7YleLN7vZw4EXh7+a1A=; b=IlT0NhdX9/0bHMHL2HYmCxERAyxlVzzSVl2w27+HBBQnaAkfzZWzXXKU5OQbHU3e17ETSUhvt6AlRk5t08+BT5i9USVMoeBBbOoqW4p7cAfVGxuG/RrEaDTDlKOt8BkWHrUd6n8THemfvgBunRTg291uY51H3qtiPGl5U9GrVf/Fqr5PCNSorApHzKzLZVsAu8uIWo1d480lerups/qgO6rI9kAtKj+CJK53g6SzT1euFRwL2yRswpilYGuofr2rG4KvEcncIvO49LwnGejG1z5dUg235P+zBQtz8GinCV/2X1ix/dxUWZcH9ECJC1y6yWoJ/3pdKk3UVKVy2uD+/A==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tA6SA-0005t5-2q for bug-guix@gnu.org; Sun, 10 Nov 2024 06:50:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#73916: [Cuirass] Queued derivations have their GC roots removed Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 10 Nov 2024 11:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73916 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 73916@debbugs.gnu.org Received: via spool by 73916-submit@debbugs.gnu.org id=B73916.173123939822615 (code B ref 73916); Sun, 10 Nov 2024 11:50:02 +0000 Received: (at 73916) by debbugs.gnu.org; 10 Nov 2024 11:49:58 +0000 Received: from localhost ([127.0.0.1]:55994 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tA6S6-0005sh-9p for submit@debbugs.gnu.org; Sun, 10 Nov 2024 06:49:58 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57848) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tA6S3-0005sU-E1 for 73916@debbugs.gnu.org; Sun, 10 Nov 2024 06:49:56 -0500 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 1tA6Ry-00012u-7x for 73916@debbugs.gnu.org; Sun, 10 Nov 2024 06:49:50 -0500 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=kw6z+H9uUZMrdtHKzIYPOzLg7YleLN7vZw4EXh7+a1A=; b=Ds5XoPvh+5WsCiJk6CyF y17Il57syJ1YI69cXD6hfQ6FAxU6vGhuVDX4cXkBNkgFdFoumraSAxuokv0/aXslU3Tewz01cuP3a uhUwYAz581piXKdFs8uznMds+r/OOaUrVFVndTk7Wb+PwHwRJOlWHGXi8yVaPqbyCBbV95LcU7xIh 8ulQX8uS3V0QS5DLz9AHbgGlUoml/tKNQQ5RH531qSXUBGYyJbNCX6o6Qav7oolBEVqmHp/unKcRI uKcsUD4TIrp5p2tBknioMCxg06vbRJNCbyQ99GdPceB3e48/qmmJGTEyByDMvVh4dJQohbf028O5F rUtnWWXICJSpBA==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <87cyjuk088.fsf@inria.fr> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Sun, 20 Oct 2024 22:06:47 +0200") References: <87cyjuk088.fsf@inria.fr> Date: Sun, 10 Nov 2024 12:49:47 +0100 Message-ID: <87frnzwbok.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-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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.55 X-Spam-Score: -3.55 X-Migadu-Queue-Id: 6DCCF871B7 X-Migadu-Scanner: mx10.migadu.com X-TUID: Q/slEN6PGV1l Ludovic Court=C3=A8s skribis: > Cuirass stores GC roots for all the derivations of its jobsets under > /var/guix/profiles/per-user/cuirass/cuirass (or similar). > > The =E2=80=98delete-old-gc-roots=E2=80=99 periodically deletes these GC r= oots (which are > not just derivations), but it=E2=80=99s supposed to keep GC roots to deri= vations > that are queued: that was done in > 55af0f70c0d4938b8eda777382bbc4d8f5698a37. > > Unfortunately, there=E2=80=99s ample evidence on berlin that GC roots of = .drv > currently queued get removed anyway. This causes workers to try in vain > to substitute them, to eventually reject the build, which gets canceled > by =E2=80=98remote-server=E2=80=99. This was fixed or at least mitigated by these Cuirass commits: e96f088 * register: Add =E2=80=98--derivation-ttl=E2=80=99 option, defaul= t to twice =E2=80=98--ttl=E2=80=99. 304c09b * base: Be more conservative in deciding whether to remove a .drv= GC root. In particular, .drv for builds currently in =E2=80=98failed-derivation=E2= =80=99 status are no longer GC=E2=80=99d when other builds in that evaluation might event= ually trigger a failed-derivation -> scheduled transition. Ludo=E2=80=99.