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

OpenSubmitted by Maxime Devos.
Details
2 participants
  • Maxime Devos
  • Mathieu Othacehe
Owner
unassigned
Severity
normal
M
M
Maxime Devos wrote on 18 Jun 16:22 +0200
(address . bug-guix@gnu.org)
8eb5d6bfda699cb40a632c8dafccd796746652a9.camel@telenet.be
tags: + substituter
Hi,
Version:
$ /run/current-system/profile/bin/guix-daemon --versionguix-daemon (GNU Guix) 1.3.0-2.9f2b2c4
$ guix --versionguix (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 verlopensubstitute: substitute: lijst van substitutes van ‘[...].gr’ aan het bijwerken... 0.0%guix substitute: warning: guix.tobias.gr: connection failed: Netwerk is onbereikbaarsubstitute: 16,4 MB zal binnengehaald wordensubstitute: 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 bekendguix substitute: warning: tijdens het binnenhalen van https://ci.guix.gnu.org/nar/lzip/r8a9kzhhx89rmmkz66i3324acgliqdwa-gdm-3.34.1:de server is een beetje traagguix substitute: warning: probeer ‘--no-substitutes’ als het probleem hardnekkig isguix substitute: error: connect*: Verbinding is verlopenvervanging van /gnu/store/r8a9kzhhx89rmmkz66i3324acgliqdwa-gdm-3.34.1 misluktguix 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 startbuilding from source, as the substitution failed.
-----BEGIN PGP SIGNATURE-----
iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYMysIBccbWF4aW1lZGV2b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7skuAQC/UIlz5mY7z/Ag4ZEfWGtmUyVwdNLipP8GO79rH9r1swD8CNjlpjIfPTPGLVCafhkkHqgXSMemhoQUmZ58jn52qwk==Ltjd-----END PGP SIGNATURE-----

M
M
Mathieu Othacehe wrote on 18 Jun 17:36 +0200
(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 isthat you could not connect to the berlin publish server in less than 5seconds (the timeout duration).
I have already observed such problems on the build farm and reported ithere: https://issues.guix.gnu.org/48468.It has been mitigated byimplementing keep-alive support[1]. However, I suppose that theunderlying issue is that guix-publish is in some cases over-flood andfails 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'thave any effect.
Thanks,
Mathieu
[1]: https://issues.guix.gnu.org/48556
M
M
Maxime Devos wrote on 1 Jul 20:31 +0200
(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/xccbWF4aW1lZGV2b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7j7aAQCif7DXmsPKBkOJgcI1yonvUF+n5FN3KL7xytnc4pfoAwD9GwaLul9ljGmuNzbUpHjLwMC4pUZ+oDaL9x87KCbWtwE==lBBN-----END PGP SIGNATURE-----

?
Your comment

Commenting via the web interface is currently disabled.

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