unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Frequently testing fixed output derivations
@ 2020-12-29  9:27 Christopher Baines
  2021-01-14 21:18 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Christopher Baines @ 2020-12-29  9:27 UTC (permalink / raw)
  To: guix-devel

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Frequently testing fixed output derivations
  2020-12-29  9:27 Frequently testing fixed output derivations Christopher Baines
@ 2021-01-14 21:18 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2021-01-14 21:18 UTC (permalink / raw)
  To: Christopher Baines; +Cc: guix-devel

Hi,

Christopher Baines <mail@cbaines.net> skribis:

> 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

Nice.

One could also run ‘guix lint -c source’, but it takes ages and misses
hash mismatches (it just checks whether there’s “something” at the given
URL).

> 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.

That’s a great idea.  Would it be also an option to have plots of the
fraction of origin derivations that fail over time?  We’d start an
emergency rescue plan on IRC every time we cross a certain threshold.

Thanks,
Ludo’.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-14 21:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-29  9:27 Frequently testing fixed output derivations Christopher Baines
2021-01-14 21:18 ` Ludovic Courtès

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).