From: "Ludovic Courtès" <ludo@gnu.org>
To: 73916@debbugs.gnu.org
Subject: bug#73916: [Cuirass] Queued derivations have their GC roots removed
Date: Sun, 10 Nov 2024 12:49:47 +0100 [thread overview]
Message-ID: <87frnzwbok.fsf@gnu.org> (raw)
In-Reply-To: <87cyjuk088.fsf@inria.fr> ("Ludovic Courtès"'s message of "Sun, 20 Oct 2024 22:06:47 +0200")
Ludovic Courtès <ludovic.courtes@inria.fr> skribis:
> Cuirass stores GC roots for all the derivations of its jobsets under
> /var/guix/profiles/per-user/cuirass/cuirass (or similar).
>
> The ‘delete-old-gc-roots’ periodically deletes these GC roots (which are
> not just derivations), but it’s supposed to keep GC roots to derivations
> that are queued: that was done in
> 55af0f70c0d4938b8eda777382bbc4d8f5698a37.
>
> Unfortunately, there’s 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 ‘remote-server’.
This was fixed or at least mitigated by these Cuirass commits:
e96f088 * register: Add ‘--derivation-ttl’ option, default to twice ‘--ttl’.
304c09b * base: Be more conservative in deciding whether to remove a .drv GC root.
In particular, .drv for builds currently in ‘failed-derivation’ status
are no longer GC’d when other builds in that evaluation might eventually
trigger a failed-derivation -> scheduled transition.
Ludo’.
prev parent reply other threads:[~2024-11-10 13:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-20 20:06 bug#73916: [Cuirass] Queued derivations have their GC roots removed Ludovic Courtès
2024-11-10 11:49 ` Ludovic Courtès [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87frnzwbok.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=73916@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).