GNU bug report logs - #46186
Some substitutes are broken (TLS error)

Previous Next

Package: guix;

Reported by: Maxime Devos <maximedevos <at> telenet.be>

Date: Sat, 30 Jan 2021 09:53:02 UTC

Severity: important

Done: Maxime Devos <maximedevos <at> telenet.be>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 46186 in the body.
You can then email your comments to 46186 AT debbugs.gnu.org in the normal way.

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#46186; Package guix. (Sat, 30 Jan 2021 09:53:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maxime Devos <maximedevos <at> telenet.be>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 30 Jan 2021 09:53:02 GMT) Full text and rfc822 format available.

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

From: Maxime Devos <maximedevos <at> telenet.be>
To: bug-guix <at> gnu.org
Subject: Some substitutes are broken (TLS error)
Date: Sat, 30 Jan 2021 10:52:14 +0100
[Message part 1 (text/plain, inline)]
Hi Guix,

When running "guix package -u libreoffice", substituting libreoffice
is fast at first, then it hangs at ~50%, then after a while it seems
to get unstuck, going to 50.6% or so (the exact percentage varies
with each attempt).

Output of "guix package -u libreoffice":
[Message part 2 (text/plain, inline)]
The following package will be upgraded:
   libreoffice (dependencies or package changed)
substitute: guix substitute: warning: twinkling-star.local: host not found: System error
downloading from https://ci.guix.gnu.org/nar/lzip/hrdzapsn1sxsybl1x2yfjj31lp84wi4s-libreoffice-6.4.7.2 ...
 libreoffice-6.4.7.2  117.1MiB                                 2.5MiB/s 00:23 [########          ]  50.0%
 libreoffice-6.4.7.2  117.1MiB                                 486KiB/s 02:08 [#########         ]  51.8%
[Message part 3 (text/plain, inline)]
This time, it seems like "guix package -u libreoffice" is just going on
forever, but in the past, I've got the following error message:
[Message part 4 (text/plain, inline)]
guix substitute: error: TLS error in procedure 'read_from_session_record_port': Error decoding the received TLS packet.
substitution of /gnu/store/hrdzapsn1sxsybl1x2yfjj31lp84wi4s-libreoffice-6.4.7.2 failed
guix package: error: some substitutes for the outputs of derivation `/gnu/store/h53qbz8hnam2nd99byi4kzwy20fjy0pz-libreoffice-6.4.7.2.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source 
[Message part 5 (text/plain, inline)]
Oddly, downloading
<https://ci.guix.gnu.org/nar/lzip/hrdzapsn1sxsybl1x2yfjj31lp84wi4s-libreoffice-6.4.7.2>
with the browser (IceCat) or `guix download` works just fine
(fast and 100% completion).

To reproduce:
guix time-machine --commit=23a5dcce1d893b8f5c5301ae3c1af863776ed3cf \
  build libreoffice

Some other packages seem to be affected as well, but I don't recall
exactly which.

Maxime
[signature.asc (application/pgp-signature, inline)]

Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 04 Feb 2021 12:51:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#46186; Package guix. (Sun, 07 Feb 2021 21:14:01 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Maxime Devos <maximedevos <at> telenet.be>
Cc: 46186 <at> debbugs.gnu.org
Subject: Re: bug#46186: Some substitutes are broken (TLS error)
Date: Sun, 07 Feb 2021 22:12:56 +0100
Hi,

Maxime Devos <maximedevos <at> telenet.be> skribis:

> When running "guix package -u libreoffice", substituting libreoffice
> is fast at first, then it hangs at ~50%, then after a while it seems
> to get unstuck, going to 50.6% or so (the exact percentage varies
> with each attempt).
>
> Output of "guix package -u libreoffice":
>
> The following package will be upgraded:
>    libreoffice (dependencies or package changed)
> substitute: guix substitute: warning: twinkling-star.local: host not found: System error
> downloading from https://ci.guix.gnu.org/nar/lzip/hrdzapsn1sxsybl1x2yfjj31lp84wi4s-libreoffice-6.4.7.2 ...
>  libreoffice-6.4.7.2  117.1MiB                                 2.5MiB/s 00:23 [########          ]  50.0%
>  libreoffice-6.4.7.2  117.1MiB                                 486KiB/s 02:08 [#########         ]  51.8%
>
>
> This time, it seems like "guix package -u libreoffice" is just going on
> forever, but in the past, I've got the following error message:
>
> guix substitute: error: TLS error in procedure 'read_from_session_record_port': Error decoding the received TLS packet.
> substitution of /gnu/store/hrdzapsn1sxsybl1x2yfjj31lp84wi4s-libreoffice-6.4.7.2 failed
> guix package: error: some substitutes for the outputs of derivation `/gnu/store/h53qbz8hnam2nd99byi4kzwy20fjy0pz-libreoffice-6.4.7.2.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source 

This could related to <https://issues.guix.gnu.org/46330>.

Is it still happening, consistently?  Or did you eventually manage to
download that substitute?

> To reproduce:
> guix time-machine --commit=23a5dcce1d893b8f5c5301ae3c1af863776ed3cf \
>   build libreoffice

I tried just in case but couldn’t reproduce it.  What matters here is
the guix-daemon in use (which store item?), but I suspect it’s
non-deterministic anyway.

Thanks,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#46186; Package guix. (Mon, 08 Feb 2021 08:51:02 GMT) Full text and rfc822 format available.

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

From: Maxime Devos <maximedevos <at> telenet.be>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 46186 <at> debbugs.gnu.org
Subject: Re: bug#46186: Some substitutes are broken (TLS error)
Date: Mon, 08 Feb 2021 09:49:40 +0100
[Message part 1 (text/plain, inline)]
On Sun, 2021-02-07 at 22:12 +0100, Ludovic Courtès wrote:
> Is it still happening, consistently?  Or did you eventually manage to
> download that substitute?

IIRC, I eventually just build libreoffice with --no-substitutes or
--fallback.  I'll have to check if this still happens, though I
don't know how at the moment  (an up-to-date libreoffice and emacs
is currently installed).

> This could related to <https://issues.guix.gnu.org/46330>.

Seems plausible to me.

> > To reproduce:
> > guix time-machine --commit=23a5dcce1d893b8f5c5301ae3c1af863776ed3cf \
> >   build libreoffice
> 
> I tried just in case but couldn’t reproduce it.  What matters here is
> the guix-daemon in use (which store item?), but I suspect it’s
> non-deterministic anyway.

I looked at the "guix pull --list-generations" output, and I couldn't
find the commit 23a5dcce1d893b8f5c5301ae3c1af863776ed3cf, weird.  (I
was trying to find the corresponding date and then look in the closest
guix system generation for the guix-daemon version)

Thanks,
Maxime.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#46186; Package guix. (Mon, 08 Feb 2021 09:33:02 GMT) Full text and rfc822 format available.

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

From: Maxime Devos <maximedevos <at> telenet.be>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 46186 <at> debbugs.gnu.org
Subject: Re: bug#46186: Some substitutes are broken (TLS error)
Date: Mon, 08 Feb 2021 10:31:52 +0100
[Message part 1 (text/plain, inline)]
> I looked at the "guix pull --list-generations" output, and I couldn't
> find the commit 23a5dcce1d893b8f5c5301ae3c1af863776ed3cf, weird.  (I
> was trying to find the corresponding date and then look in the closest
> guix system generation for the guix-daemon version)

Correction: it's between these two guix system generations:

Generation 62   Jan 28 2021 21:21:55
  file name: /var/guix/profiles/system-62-link
  canonical file name: /gnu/store/iqh6ddfsizv0anjpsbwvn9l45i04g2ak-system
  label: GNU with [custom linux package] 5.10.6
  bootloader: grub
  root device: /dev/mapper/cryptroot
  kernel: /gnu/store/[custom linux package]-5.10.6/bzImage
  channels:
    guix:
      repository URL: https://git.savannah.gnu.org/git/guix.git
      branch: master
      commit: c2538db5617032788ac2f140496d00d8107579c8
  configuration file: /gnu/store/ha1lci8g21gv2lg3wsagj112z909b6cl-configuration.scm
Generation 63   Jan 29 2021 21:30:22
  file name: /var/guix/profiles/system-63-link
  canonical file name: /gnu/store/fv2kl8x76n9ygk6673pmk6ss1iyhyxya-system
  label: GNU with [custom linux package] 5.10.6
  bootloader: grub
  root device: /dev/mapper/cryptroot
  kernel: /gnu/store/[custom linux package]-5.10.6/bzImage
  channels:
    guix:
      repository URL: https://git.savannah.gnu.org/git/guix.git
      branch: master
      commit: 23a5dcce1d893b8f5c5301ae3c1af863776ed3cf
  configuration file: /gnu/store/ha1lci8g21gv2lg3wsagj112z909b6cl-configuration.scm

The package for the guix daemon was not customised.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#46186; Package guix. (Tue, 09 Feb 2021 08:38:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Maxime Devos <maximedevos <at> telenet.be>
Cc: 46186 <at> debbugs.gnu.org
Subject: Re: bug#46186: Some substitutes are broken (TLS error)
Date: Tue, 09 Feb 2021 09:36:54 +0100
Hi,

Maxime Devos <maximedevos <at> telenet.be> skribis:

> On Sun, 2021-02-07 at 22:12 +0100, Ludovic Courtès wrote:
>> Is it still happening, consistently?  Or did you eventually manage to
>> download that substitute?

[...]

>> This could related to <https://issues.guix.gnu.org/46330>.
>
> Seems plausible to me.

Could you reconfigure your system with the fix for the bug above and let
us know if it ever shows up again?

Thanks,
Ludo’.




Reply sent to Maxime Devos <maximedevos <at> telenet.be>:
You have taken responsibility. (Tue, 09 Feb 2021 12:31:01 GMT) Full text and rfc822 format available.

Notification sent to Maxime Devos <maximedevos <at> telenet.be>:
bug acknowledged by developer. (Tue, 09 Feb 2021 12:31:01 GMT) Full text and rfc822 format available.

Message #24 received at 46186-done <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 46186-done <at> debbugs.gnu.org
Subject: Re: bug#46186: Some substitutes are broken (TLS error)
Date: Tue, 09 Feb 2021 13:29:45 +0100
[Message part 1 (text/plain, inline)]
On Tue, 2021-02-09 at 09:36 +0100, Ludovic Courtès wrote:
> [...]
> Could you reconfigure your system with the fix for the bug above and let
> us know if it ever shows up again?

I'm reconfiguring the system now.  I'll reopen the bug if it
shows up again.

Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 10 Mar 2021 12:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 185 days ago.

Previous Next


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