--fallback doesn't do anything when 'connect*' fails

  • Open
  • quality assurance status badge
Details
2 participants
  • Maxime Devos
  • Mathieu Othacehe
Owner
unassigned
Submitted by
Maxime Devos
Severity
normal
M
M
Maxime Devos wrote on 18 Jun 2021 16:22
(address . bug-guix@gnu.org)
8eb5d6bfda699cb40a632c8dafccd796746652a9.camel@telenet.be
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.
-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYMysIBccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7skuAQC/UIlz5mY7z/Ag4ZEfWGtmUyVw
dNLipP8GO79rH9r1swD8CNjlpjIfPTPGLVCafhkkHqgXSMemhoQUmZ58jn52qwk=
=Ltjd
-----END PGP SIGNATURE-----


M
M
Mathieu Othacehe wrote on 18 Jun 2021 17:36
(name . Maxime Devos)(address . maximedevos@telenet.be)(address . 49089@debbugs.gnu.org)
87tulv422k.fsf@gnu.org
Hello Maxime,

Toggle quote (5 lines)
> 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.

Toggle quote (3 lines)
> 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

M
M
Maxime Devos wrote on 1 Jul 2021 20:31
(name . Mathieu Othacehe)(address . othacehe@gnu.org)(address . 49089@debbugs.gnu.org)
e76a9e3d2222feb5af89127450af29d7b07fb70a.camel@telenet.be
Mathieu Othacehe schreef op vr 18-06-2021 om 17:36 [+0200]:
Toggle quote (11 lines)
> 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.
-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYN4J/xccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7j7aAQCif7DXmsPKBkOJgcI1yonvUF+n
5FN3KL7xytnc4pfoAwD9GwaLul9ljGmuNzbUpHjLwMC4pUZ+oDaL9x87KCbWtwE=
=lBBN
-----END PGP SIGNATURE-----


?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 49089@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 49089
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch