From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: Re: building "guix deploy" Date: Tue, 12 Mar 2019 14:08:14 +0100 Message-ID: <87r2bcfdfl.fsf@gnu.org> References: <87k2wx6t1e.fsf@fsf.org> <87h8da5u5k.fsf@dustycloud.org> <87h8ca1v92.fsf@gnu.org> <87zhq1mq1b.fsf@dustycloud.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:50830) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h3h8k-0005n1-68 for guix-devel@gnu.org; Tue, 12 Mar 2019 09:08:19 -0400 In-Reply-To: <87zhq1mq1b.fsf@dustycloud.org> (Christopher Lemmer Webber's message of "Mon, 11 Mar 2019 10:41:52 -0400") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Christopher Lemmer Webber Cc: guix-devel Howdy! Christopher Lemmer Webber skribis: > Ludovic Court=C3=A8s writes: [...] >> Error reporting in (guix ssh) is, ahem, not as good as it could be. >> >> Apparently the SSH channel was closed prematurely, which could be due to >> a number of things: >> >> 1. Are =E2=80=98guix=E2=80=99 and =E2=80=98guile=E2=80=99 in $PATH on = the remote machine, for >> non-interactive shells? >> >> 2. Is =E2=80=98guix repl=E2=80=99 available in the remote machine? >> >> You can test this with: >> >> ssh HOST guile --version >> ssh HOST guix repl --version > > Yep, both respond with > guile (GNU Guile) 2.2.4 > and > guix (GNU Guix) 0.16.0-10.2637cfd > respectively. > >> Also, does =E2=80=98guix copy=E2=80=99 fail similarly when sending files= to that host? > > It seems it does: > > cwebber@jasmine:~/devel/librelounge-audio$ guix copy --to=3Dtest.activity= pub.rocks pidgin > guile: warning: failed to install locale > sending 37 store items (336 MiB) to 'test.activitypub.rocks'... > ;;; [2019/03/11 10:39:25.573104, 0] write_to_channel_port: [GSSH ERROR] R= emote channel is closed: # > Backtrace: > 11 (primitive-load "/home/cwebber/.config/guix/current/bin=E2= =80=A6") > In guix/ui.scm: > 1654:12 10 (run-guix-command _ . _) > In ice-9/boot-9.scm: > 829:9 9 (catch _ _ # =E2=80=A6) > 829:9 8 (catch _ _ # =E2=80=A6) > In guix/status.scm: > 810:4 7 (call-with-status-report _ _) > In guix/scripts/copy.scm: > 81:27 6 (send-to-remote-host _ _) > In guix/ssh.scm: > 313:4 5 (send-files # _ _ # _ # =E2= =80=A6) > In guix/store.scm: > 1505:12 4 (export-paths # _ # =E2=80=A6) > 1485:22 3 (export-path # _ # =E2=80=A6) > 683:13 2 (process-stderr _ _) > 646:10 1 (dump-port # # =E2=80=A6) > In unknown file: > 0 (put-bytevector # =E2= =80=A6) > > ERROR: In procedure put-bytevector: > Throw to key `guile-ssh-error' with args `("write_to_channel_port" "Remot= e channel is closed" # #f)'. > > I wonder what got screwed up! Could you, on test.activitypub.rocks, do something along these lines: sudo strace -p PID -s 300 -o log -f where PID is the PID of the main =E2=80=98sshd=E2=80=99 process. And after that, re-run =E2=80=98guix copy=E2=80=99, and grab the =E2=80=98l= og=E2=80=99. Thanks, Ludo=E2=80=99.