unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Christopher Baines <mail@cbaines.net>
To: guix-devel@gnu.org
Subject: Frequently testing fixed output derivations
Date: Tue, 29 Dec 2020 09:27:10 +0000	[thread overview]
Message-ID: <87pn2t9d3l.fsf@cbaines.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 1647 bytes --]

Hey,

Something I noticed when looking at things guix.cbaines.net failed to
build, is that some failures were because a fixed output derivation had
failed (because of a 404 or hash mismatch for example).

I've got around to adding a page to the Guix Data Service to list all
the fixed output derivations that are related to packages, which also
shows the latest build for that particular derivation. It's very slow at
the moment, I need to work more on the PostgreSQL query it uses, but I
have done most of the builds for all the ~15000 (x86_64-linux)
derivations now. If this link loads for you, it should show ~28
derivations that failed to build [1].

1: https://data.guix-patches.cbaines.net/revision/78fd422cd0e1c894280ef48de8b3a5d42db2eb80/fixed-output-package-derivations?system=x86_64-linux&target=none&latest_build_status=failed&all_results=on

There's some nuance here, not all these derivations could cause
problems, as a user might have a substitute available for them, but they
might cause problems for those building without substitutes (although
substitutes should always be fine to use for fixed output
derivations). Because the fixed output derivations themselves attempt to
fallback to mirrors or fetching via the hash, this isn't yet a good test
on whether a file download necessarily works for example. Maybe there
could be a way of disabling that functionality for testing.

My plan is to improve the performace issues with this page, and schedule
builds each week for every derivation (spread out over the week). That
way there should be up to date information, making it possible to fix
things soon after they break.

Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

             reply	other threads:[~2020-12-29  9:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-29  9:27 Christopher Baines [this message]
2021-01-14 21:18 ` Frequently testing fixed output derivations Ludovic Courtès

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=87pn2t9d3l.fsf@cbaines.net \
    --to=mail@cbaines.net \
    --cc=guix-devel@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).