From: zimoun <zimon.toutoune@gmail.com>
To: Brendan Tildesley <mail@brendan.scot>
Cc: 41878@debbugs.gnu.org
Subject: bug#41878: 'guix substitute' and 'guix pull' fail gracelessly on flaky networks
Date: Fri, 11 Sep 2020 16:17:05 +0200 [thread overview]
Message-ID: <871rj8gzz2.fsf@gmail.com> (raw)
In-Reply-To: <2486f02b-b36f-7747-4eb0-b43d9215dd9f@brendan.scot> (Brendan Tildesley's message of "Sun, 30 Aug 2020 20:06:58 +1000")
Dear,
On Sun, 30 Aug 2020 at 20:06, Brendan Tildesley <mail@brendan.scot> wrote:
> I have not looked closely but from observation I think currently guix first
> decides if it is going to commit to using a substitute, or falling back to
> building locally, by checking if substitutes are available then committing to
> a method. This differs from the concept of a fallback in my head, which would
> involve trying option B only after option A has been tried and failed. guix's
> way means there are a class of failures where guix simply gives up and stops
> instead of falling back.
What do you mean?
> In my experience, probably 10% of the time I try a guix pull; guix package -u
> ., there is some weird network error that doesn't happen the second time I run
> it. Perhaps it would be sufficient to simply try twice for every substitute;
> accumulate a list of failed substitutes and retry them after iterating through
> the list of substitutes to download, then if that fails try building from
> source. only then are we allowed to give up.
It rings a bell to me. Something about the configuration of Cuirass and
the build farm serving the substitutes; related to caching. But I am
not able to find the relevant pointer.
All the best,
simon
prev parent reply other threads:[~2020-09-11 14:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-15 16:30 bug#41878: Handshake Error Quinten Gruenthal
2020-06-15 19:42 ` Ludovic Courtès
2020-06-15 21:55 ` Quinten Gruenthal
2020-06-16 8:07 ` Ludovic Courtès
2020-06-16 9:31 ` Bengt Richter
2020-06-16 14:57 ` Quinten Gruenthal
2020-06-17 12:03 ` Ludovic Courtès
2020-08-30 10:06 ` bug#41878: 'guix substitute' and 'guix pull' fail gracelessly on flaky networks Brendan Tildesley
2020-09-11 14:17 ` zimoun [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=871rj8gzz2.fsf@gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=41878@debbugs.gnu.org \
--cc=mail@brendan.scot \
/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).