guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: building "guix deploy"


From: Ludovic Courtès
Subject: Re: building "guix deploy"
Date: Tue, 12 Mar 2019 14:08:14 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Howdy!

Christopher Lemmer Webber <address@hidden> skribis:

> Ludovic Courtès 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 ‘guix’ and ‘guile’ in $PATH on the remote machine, for
>>      non-interactive shells?
>>
>>   2. Is ‘guix repl’ 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 ‘guix copy’ fail similarly when sending files to that host?
>
> It seems it does:
>
> address@hidden:~/devel/librelounge-audio$ guix copy 
> --to=test.activitypub.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] 
> Remote channel is closed: #<input-output: channel (open) 46f5e60>
> Backtrace:
>           11 (primitive-load "/home/cwebber/.config/guix/current/bin…")
> In guix/ui.scm:
>   1654:12 10 (run-guix-command _ . _)
> In ice-9/boot-9.scm:
>     829:9  9 (catch _ _ #<procedure 7fca74f959b8 at guix/ui.scm:624…> …)
>     829:9  8 (catch _ _ #<procedure 7fca74f959d0 at guix/ui.scm:750…> …)
> 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 #<store-connection 256.97 27a5eb0> _ _ # _ # …)
> In guix/store.scm:
>   1505:12  4 (export-paths #<store-connection 256.97 27a5eb0> _ #<i…> …)
>   1485:22  3 (export-path #<store-connection 256.97 27a5eb0> _ #<in…> …)
>    683:13  2 (process-stderr _ _)
>    646:10  1 (dump-port #<input-output: socket 14> #<input-output: …> …)
> In unknown file:
>            0 (put-bytevector #<input-output: channel (open) 46f5e60> …)
>
> ERROR: In procedure put-bytevector:
> Throw to key `guile-ssh-error' with args `("write_to_channel_port" "Remote 
> channel is closed" #<input-output: channel (open) 46f5e60> #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 ‘sshd’ process.

And after that, re-run ‘guix copy’, and grab the ‘log’.

Thanks,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]