GNU bug report logs - #58204
guix system reconfigure hangs silently when substitute server is unreachable

Previous Next

Package: guix;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Fri, 30 Sep 2022 21:16:02 UTC

Severity: normal

To reply to this bug, email your comments to 58204 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#58204; Package guix. (Fri, 30 Sep 2022 21:16:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 30 Sep 2022 21:16:02 GMT) Full text and rfc822 format available.

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

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: bug-guix <bug-guix <at> gnu.org>
Subject: guix system reconfigure hangs silently when substitute server is
 unreachable
Date: Fri, 30 Sep 2022 17:15:32 -0400
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




Information forwarded to bug-guix <at> gnu.org:
bug#58204; Package guix. (Mon, 03 Oct 2022 21:31:03 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 58204 <at> debbugs.gnu.org
Subject: Re: bug#58204: guix system reconfigure hangs silently when
 substitute server is unreachable
Date: Mon, 03 Oct 2022 23:29:57 +0200
Hi,

Maxim Cournoyer <maxim.cournoyer <at> 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’.




Information forwarded to bug-guix <at> gnu.org:
bug#58204; Package guix. (Tue, 04 Oct 2022 01:48:01 GMT) Full text and rfc822 format available.

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

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 58204 <at> debbugs.gnu.org
Subject: Re: bug#58204: guix system reconfigure hangs silently when
 substitute server is unreachable
Date: Mon, 03 Oct 2022 21:46:52 -0400
Hi,

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

> Hi,
>
> Maxim Cournoyer <maxim.cournoyer <at> 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




This bug report was last modified 1 year and 177 days ago.

Previous Next


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