unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#49089: --fallback doesn't do anything when 'connect*' fails
@ 2021-06-18 14:22 Maxime Devos
  2021-06-18 15:36 ` Mathieu Othacehe
  0 siblings, 1 reply; 3+ messages in thread
From: Maxime Devos @ 2021-06-18 14:22 UTC (permalink / raw)
  To: 49089

[-- Attachment #1: Type: text/plain, Size: 1647 bytes --]

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.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

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

* bug#49089: --fallback doesn't do anything when 'connect*' fails
  2021-06-18 14:22 bug#49089: --fallback doesn't do anything when 'connect*' fails Maxime Devos
@ 2021-06-18 15:36 ` Mathieu Othacehe
  2021-07-01 18:31   ` Maxime Devos
  0 siblings, 1 reply; 3+ messages in thread
From: Mathieu Othacehe @ 2021-06-18 15:36 UTC (permalink / raw)
  To: Maxime Devos; +Cc: 49089


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




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

* bug#49089: --fallback doesn't do anything when 'connect*' fails
  2021-06-18 15:36 ` Mathieu Othacehe
@ 2021-07-01 18:31   ` Maxime Devos
  0 siblings, 0 replies; 3+ messages in thread
From: Maxime Devos @ 2021-07-01 18:31 UTC (permalink / raw)
  To: Mathieu Othacehe; +Cc: 49089

[-- Attachment #1: Type: text/plain, Size: 819 bytes --]

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.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

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

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-18 14:22 bug#49089: --fallback doesn't do anything when 'connect*' fails Maxime Devos
2021-06-18 15:36 ` Mathieu Othacehe
2021-07-01 18:31   ` Maxime Devos

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