GNU bug report logs - #49089
--fallback doesn't do anything when 'connect*' fails

Previous Next

Package: guix;

Reported by: Maxime Devos <maximedevos <at> telenet.be>

Date: Fri, 18 Jun 2021 14:24:01 UTC

Severity: normal

To reply to this bug, email your comments to 49089 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#49089; Package guix. (Fri, 18 Jun 2021 14:24:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maxime Devos <maximedevos <at> telenet.be>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 18 Jun 2021 14:24:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: bug-guix <at> gnu.org
Subject: --fallback doesn't do anything when 'connect*' fails
Date: Fri, 18 Jun 2021 16:22:24 +0200
[Message part 1 (text/plain, inline)]
tags: + substituter

Hi,

Version:

$ /run/current-system/profile/bin/guix-daemon --version
guix-daemon (GNU Guix) 1.3.0-2.9f2b2c4

$ guix --version
guix (GNU Guix) e3d67b71cb0ccd5ad5563ebaffe6adc6c96c0c7c

Command:

$ guix system -L . reconfigure [...].scm  --fallback
[...]
substitute: lijst van substitutes van ‘[...].local:8080’ aan het bijwerken... 100.0%
substitute: lijst van substitutes van ‘https://ci.guix.gnu.org’ aan het bijwerken...   0.0%guix substitute: warning: ci.guix.gnu.org: connection failed: Verbinding is verlopen
substitute: 
substitute: lijst van substitutes van ‘[...].gr’ aan het bijwerken...   0.0%guix substitute: warning: guix.tobias.gr: connection failed: Netwerk is onbereikbaar
substitute: 
16,4 MB zal binnengehaald worden
substitute: lijst van substitutes van ‘[...]:8080’ aan het bijwerken...   0.0%
[8 repetitions of the line above]
guix substitute: warning: [...].local: host not found: Naam of dienst is niet bekend
guix substitute: warning: tijdens het binnenhalen van https://ci.guix.gnu.org/nar/lzip/r8a9kzhhx89rmmkz66i3324acgliqdwa-gdm-3.34.1: de server is een beetje traag
guix substitute: warning: probeer ‘--no-substitutes’ als het probleem hardnekkig is
guix substitute: error: connect*: Verbinding is verlopen
vervanging van /gnu/store/r8a9kzhhx89rmmkz66i3324acgliqdwa-gdm-3.34.1 mislukt
guix system: error: beschadigde invoer tijdens het terugplaatsen van het archief uit #<closed: file 7f0d323528c0>


What I would expect:

As I specified the --fallback option, I would expect guix to start
building from source, as the substitution failed.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#49089; Package guix. (Fri, 18 Jun 2021 15:37:02 GMT) Full text and rfc822 format available.

Message #8 received at 49089 <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Othacehe <othacehe <at> gnu.org>
To: Maxime Devos <maximedevos <at> telenet.be>
Cc: 49089 <at> debbugs.gnu.org
Subject: Re: bug#49089: --fallback doesn't do anything when 'connect*' fails
Date: Fri, 18 Jun 2021 17:36:35 +0200
Hello Maxime,

> guix substitute: warning: [...].local: host not found: Naam of dienst is niet bekend
> guix substitute: warning: tijdens het binnenhalen van https://ci.guix.gnu.org/nar/lzip/r8a9kzhhx89rmmkz66i3324acgliqdwa-gdm-3.34.1: de server is een beetje traag
> guix substitute: warning: probeer ‘--no-substitutes’ als het probleem hardnekkig is
> guix substitute: error: connect*: Verbinding is verlopen

There are actually two bugs withing a single one here. The first one is
that you could not connect to the berlin publish server in less than 5
seconds (the timeout duration).

I have already observed such problems on the build farm and reported it
here: https://issues.guix.gnu.org/48468. It has been mitigated by
implementing keep-alive support[1]. However, I suppose that the
underlying issue is that guix-publish is in some cases over-flood and
fails to accept new connections.

> As I specified the --fallback option, I would expect guix to start
> building from source, as the substitution failed.

The second issue is that as you noticed, the fallback option doesn't
have any effect.

Thanks,

Mathieu

[1]: https://issues.guix.gnu.org/48556




Information forwarded to bug-guix <at> gnu.org:
bug#49089; Package guix. (Thu, 01 Jul 2021 18:32:01 GMT) Full text and rfc822 format available.

Message #11 received at 49089 <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: Mathieu Othacehe <othacehe <at> gnu.org>
Cc: 49089 <at> debbugs.gnu.org
Subject: Re: bug#49089: --fallback doesn't do anything when 'connect*' fails
Date: Thu, 01 Jul 2021 20:31:27 +0200
[Message part 1 (text/plain, inline)]
Mathieu Othacehe schreef op vr 18-06-2021 om 17:36 [+0200]:
> Hello Maxime,
> 
> > guix substitute: warning: [...].local: host not found: Naam of dienst is niet bekend
> > guix substitute: warning: tijdens het binnenhalen van https://ci.guix.gnu.org/nar/lzip/r8a9kzhhx89rmmkz66i3324acgliqdwa-gdm-3.34.1: de server is een beetje traag
> > guix substitute: warning: probeer ‘--no-substitutes’ als het probleem hardnekkig is
> > guix substitute: error: connect*: Verbinding is verlopen
> 
> There are actually two bugs withing a single one here. The first one is
> that you could not connect to the berlin publish server in less than 5
> seconds (the timeout duration).

FWIW, the network connection was very flaky then.
Taking more than 5 seconds to connect seems plausible here.

Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 2 years and 271 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.