From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mikael Djurfeldt Subject: bug#40125: Problem with guix offload: Remote channel closed Date: Sat, 21 Mar 2020 17:05:20 +0100 Message-ID: References: <87eetl1zce.fsf@gnu.org> Reply-To: mikael@djurfeldt.com Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000007dd7cc05a15f92e2" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:46699) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jFgdQ-0007d8-4V for bug-guix@gnu.org; Sat, 21 Mar 2020 12:06:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jFgdO-0002Vp-Nb for bug-guix@gnu.org; Sat, 21 Mar 2020 12:06:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41862) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jFgdO-0002Vk-L3 for bug-guix@gnu.org; Sat, 21 Mar 2020 12:06:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jFgdO-0005oj-E5 for bug-guix@gnu.org; Sat, 21 Mar 2020 12:06:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87eetl1zce.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 40125@debbugs.gnu.org --0000000000007dd7cc05a15f92e2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Ludovic! :-) I did generate the signing key on wand. (But is this sensitive to what user I used? O might have done it as root rather than as the ssh user used to login on wand.) I will look at the other buh reports. Meanwhile, do you have any hint on where to look/insert logging code in order to see what is going on? Best regards, Mikael Den l=C3=B6r 21 mars 2020 16:50Ludovic Court=C3=A8s skrev: > Hi Mikael! > > Good to see you here. :-) > > Mikael Djurfeldt skribis: > > > mdj@hat:~$ guix offload test > > guix offload: testing 1 build machines defined in > > '/etc/guix/machines.scm'... > > guix offload: Guix is usable on 'wand.pdc.kth.se' (test returned > > "/gnu/store/883yjkl46dxw9mzykykmbs0yzwyxm17z-test") > > guix offload: 'wand.pdc.kth.se' is running GNU Guile 3.0.1 > > sending 1 store item (0 MiB) to 'wand.pdc.kth.se'... > > exporting path `/gnu/store/gl7dps3yx0vrxz16sj7q3w7gs3vdbxj4-export-test= ' > > ;;; [2020/03/18 20:53:04.930901, 0] write_to_channel_port: [GSSH ERROR] > > Remote channel is closed: # > > Backtrace: > > 1 (primitive-load "/home/mdj/.config/guix/current/bin/guix") > > In guix/ui.scm: > > 1833:12 0 (run-guix-command _ . _) > > > > guix/ui.scm:1833:12: In procedure run-guix-command: > > Throw to key `guile-ssh-error' with args `("write_to_channel_port" > "Remote > > channel is closed" # #f)'. > > Did you generate a signing key on wand.pdc.kth.se? Specifically with: > > sudo guix archive --generate-key > > (See > >.) > > Error reporting in guix offload is currently suboptimal as you have > seen. There=E2=80=99s a couple of bug reports open on that topic, so hop= efully > we=E2=80=99ll get there soon! > > Ludo=E2=80=99. > --0000000000007dd7cc05a15f92e2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Ludovic! :-)
=
I did generate the signing key on wand. (But is this sensitive to= what user I used? O might have done it as root rather than as the ssh user= used to login on wand.)

I wil= l look at the other buh reports. Meanwhile, do you have any hint on where t= o look/insert logging code in order to see what is going on?

Best regards,
= Mikael

Den l=C3=B6r 21 mars 2020 16:50Ludovic Court=C3=A8s <ludo@gnu.org> skrev:
Hi Mikael!

Good to see you here.=C2=A0 :-)

Mikael Djurfeldt <mikael@djurfeldt.com> skribis:

> mdj@hat:~$ guix offload test
> guix offload: testing 1 build machines defined in
> '/etc/guix/machines.scm'...
> guix offload: Guix is usable on 'wand.pdc.kth.se' = (test returned
> "/gnu/store/883yjkl46dxw9mzykykmbs0yzwyxm17z-test")
> guix offload: 'wand.pdc.kth.se' is running GNU Gui= le 3.0.1
> sending 1 store item (0 MiB) to 'wand.pdc.kth.se'.= ..
> exporting path `/gnu/store/gl7dps3yx0vrxz16sj7q3w7gs3vdbxj4-export-tes= t'
> ;;; [2020/03/18 20:53:04.930901, 0] write_to_channel_port: [GSSH ERROR= ]
> Remote channel is closed: #<input-output: channel (open) 7f5ed680e7= 80>
> Backtrace:
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 1 (primitive-load "/home= /mdj/.config/guix/current/bin/guix")
> In guix/ui.scm:
>=C2=A0 =C2=A01833:12=C2=A0 0 (run-guix-command _ . _)
>
> guix/ui.scm:1833:12: In procedure run-guix-command:
> Throw to key `guile-ssh-error' with args `("write_to_channel_= port" "Remote
> channel is closed" #<input-output: channel (open) 7f5ed680e780= > #f)'.

Did you generate a signing key on wand.pdc.kth.se?=C2=A0 Specif= ically with:

=C2=A0 sudo guix archive --generate-key

(See
<https://guix= .gnu.org/manual/devel/en/html_node/Invoking-guix-archive.html>.)

Error reporting in guix offload is currently suboptimal as you have
seen.=C2=A0 There=E2=80=99s a couple of bug reports open on that topic, so = hopefully
we=E2=80=99ll get there soon!

Ludo=E2=80=99.
--0000000000007dd7cc05a15f92e2--