all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#58204: guix system reconfigure hangs silently when substitute server is unreachable
@ 2022-09-30 21:15 Maxim Cournoyer
  2022-10-03 21:29 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Maxim Cournoyer @ 2022-09-30 21:15 UTC (permalink / raw)
  To: 58204

Hi,

While fixing up Berlin today, I had to use '--no-substitutes' on the
daemon started per 'info (guix)Chrooting', otherwise it'd hang up
without printing any of the warnings (totally silent).  Using strace, I
could see:

--8<---------------cut here---------------start------------->8---
guix substitute: warning: ci.guix.gnu.org: host not found: System error
--8<---------------cut here---------------end--------------->8---

It'd be nice if these warnings were propagated all the way up so the
user would realize what is happening and take action.

-- 
Thanks,
Maxim




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

* bug#58204: guix system reconfigure hangs silently when substitute server is unreachable
  2022-09-30 21:15 bug#58204: guix system reconfigure hangs silently when substitute server is unreachable Maxim Cournoyer
@ 2022-10-03 21:29 ` Ludovic Courtès
  2022-10-04  1:46   ` Maxim Cournoyer
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2022-10-03 21:29 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: 58204

Hi,

Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:

> While fixing up Berlin today, I had to use '--no-substitutes' on the
> daemon started per 'info (guix)Chrooting', otherwise it'd hang up
> without printing any of the warnings (totally silent).  Using strace, I
> could see:
>
> guix substitute: warning: ci.guix.gnu.org: host not found: System error
>
> It'd be nice if these warnings were propagated all the way up so the
> user would realize what is happening and take action.

I think it’s supposed to be propagated.

In the example above, I guess there were cached ci.guix.gnu.org narinfos
for those substitutes and the “host not found” error arose when actually
trying to substitute these, right?

I’m surprised substitution didn’t just crash.

Thanks,
Ludo’.




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

* bug#58204: guix system reconfigure hangs silently when substitute server is unreachable
  2022-10-03 21:29 ` Ludovic Courtès
@ 2022-10-04  1:46   ` Maxim Cournoyer
  0 siblings, 0 replies; 3+ messages in thread
From: Maxim Cournoyer @ 2022-10-04  1:46 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 58204

Hi,

Ludovic Courtès <ludo@gnu.org> writes:

> Hi,
>
> Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:
>
>> While fixing up Berlin today, I had to use '--no-substitutes' on the
>> daemon started per 'info (guix)Chrooting', otherwise it'd hang up
>> without printing any of the warnings (totally silent).  Using strace, I
>> could see:
>>
>> guix substitute: warning: ci.guix.gnu.org: host not found: System error
>>
>> It'd be nice if these warnings were propagated all the way up so the
>> user would realize what is happening and take action.
>
> I think it’s supposed to be propagated.

It wasn't :-/.

> In the example above, I guess there were cached ci.guix.gnu.org narinfos
> for those substitutes and the “host not found” error arose when actually
> trying to substitute these, right?

I guess so!  It's not an easily situation to reproduce, so perhaps the
best we can do is assume this was the case and validate the
corresponding code path.

Thanks,

-- 
Maxim




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

end of thread, other threads:[~2022-10-04  1:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-30 21:15 bug#58204: guix system reconfigure hangs silently when substitute server is unreachable Maxim Cournoyer
2022-10-03 21:29 ` Ludovic Courtès
2022-10-04  1:46   ` Maxim Cournoyer

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.