Received: (at 34015) by debbugs.gnu.org; 10 Jan 2019 09:49:20 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 10 04:49:20 2019 Received: from localhost ([127.0.0.1]:52951 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ghWxk-0004SL-Gz for submit <at> debbugs.gnu.org; Thu, 10 Jan 2019 04:49:20 -0500 Received: from mail-wr1-f46.google.com ([209.85.221.46]:44449) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <clement.lassieur@HIDDEN>) id 1ghWxi-0004Ru-4d for 34015 <at> debbugs.gnu.org; Thu, 10 Jan 2019 04:49:18 -0500 Received: by mail-wr1-f46.google.com with SMTP id z5so10547644wrt.11 for <34015 <at> debbugs.gnu.org>; Thu, 10 Jan 2019 01:49:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-transfer-encoding; bh=JzDG5yV+rP7GwiYs2zoK1hJNJEsNxhMylH76LhiU0o0=; b=R7be5x4fv466Tujw15xhH2OxJDU6k0SikB1/CXPcCnk/6R462Rqm5phZzoUV0Kq9un 0ED5i2AYIusN2syEy2AWsxMy636if3iDQcRrYcI8gHsiuEGdhU/t1qQxk0o6+h2rkbcv RfBMZ+qWGLcwxapfM5hWJXT6mIBUgSFdAw1vvskh3tjrOms7pijtMLuFRJH6xHpfhVeC kpwRQqTkZZdvmFKeX970TfnVerstaUf2W1aWEriRwgr4C/32oc8/WOTj0xL534+qF3rS Dj+50raD21eAb9N3o2c78XZeUgtI6raYwGWI9n8qaHVZL2wVVnwPlX6Yv6VRjjmVzVu4 sOTw== X-Gm-Message-State: AJcUukeDSXXBSarYVf2rSwcXPh0dSnetDyOYl6hP9SHbGafDuaN4SasG 6peADUMT3NgLgZULWu/SSbO6vjLeYNk= X-Google-Smtp-Source: ALg8bN622XNmqr8g1W08JkzwSkNhRWwyK7/USYpkU0AVEDVd/FZ0T6/GOMgsUDIA6r3Q56nn/GAy/g== X-Received: by 2002:adf:e78f:: with SMTP id n15mr8552670wrm.115.1547113752029; Thu, 10 Jan 2019 01:49:12 -0800 (PST) Received: from newt (smtp.parrot.biz. [62.23.167.188]) by smtp.gmail.com with ESMTPSA id m4sm4412946wmi.3.2019.01.10.01.49.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 10 Jan 2019 01:49:11 -0800 (PST) References: <87bm4rnnnf.fsf@HIDDEN> <87imyx1q7d.fsf@HIDDEN> User-agent: mu4e 1.0; emacs 26.1 From: =?utf-8?Q?Cl=C3=A9ment?= Lassieur <clement@HIDDEN> To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN> Subject: Re: bug#34015: guix copy error message is quite difficult to understand In-reply-to: <87imyx1q7d.fsf@HIDDEN> Date: Thu, 10 Jan 2019 10:49:10 +0100 Message-ID: <87h8egalm1.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 34015 Cc: 34015 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hi Ludovic, Ludovic Court=C3=A8s <ludo@HIDDEN> writes: > Hello Cl=C3=A9ment, > > Cl=C3=A9ment Lassieur <clement@HIDDEN> skribis: > >> This is what happens when /etc/profile isn't sourced in the remote >> non-interactive shell on guix copy. > > Do you know specifically which environment variable was missing and what > caused the backtrace? I don't know. (I can't test right now.) > Also, what commit are you using? I=E2=80=99m asking because commit > ed7b44370f71126087eb953f36aad8dc4c44109f changed the way we talk to a > remote Guix over SSH. It was 627e6d8c116573e4d76a4548282532cfe3c97d54, so I had the recent changes. >> I find it difficult to understand. I think the error message should >> lead us to a way to fix the issue. >> >> sending 1 store item (0 MiB) to '192.168.0.51'... >> ;;; [2019/01/08 16:48:31.587577, 0] write_to_channel_port: [GSSH ERROR] = Remote channel is closed: #<input-output: channel (open) 16bba60> >> Backtrace: >> 10 (primitive-load "/home/clement/.config/guix/current/bin=E2= =80=A6") >> In guix/ui.scm: >> 1644:12 9 (run-guix-command _ . _) >> In ice-9/boot-9.scm: >> 829:9 8 (catch srfi-34 #<procedure 169c020 at guix/ui.scm:622:=E2= =80=A6> =E2=80=A6) >> 829:9 7 (catch system-error #<procedure 169c0c0 at guix/script=E2= =80=A6> =E2=80=A6) >> In guix/scripts/copy.scm: >> 80:27 6 (send-to-remote-host _ _) >> In guix/ssh.scm: >> 313:4 5 (send-files #<build-daemon 256.99 1694f00> _ _ # _ # _) >> In guix/store.scm: >> 1466:12 4 (export-paths #<build-daemon 256.99 1694f00> _ #<input=E2= =80=A6> =E2=80=A6) >> 1446:22 3 (export-path #<build-daemon 256.99 1694f00> _ #<input-=E2= =80=A6> =E2=80=A6) >> 644:13 2 (process-stderr _ _) >> 607:10 1 (dump-port #<input-output: socket 14> #<input-output: =E2= =80=A6> =E2=80=A6) >> In unknown file: >> 0 (put-bytevector #<input-output: channel (open) 16bba60> =E2= =80=A6) >> >> ERROR: In procedure put-bytevector: >> Throw to key `guile-ssh-error' with args `("write_to_channel_port" "Remo= te channel is closed" #<input-output: channel (open) 16bba60> #f)'. > > I agree the message could be=E2=80=A6 ahem=E2=80=A6 clearer. :-) :-) Thanks, Cl=C3=A9ment
bug-guix@HIDDEN
:bug#34015
; Package guix
.
Full text available.Received: (at 34015) by debbugs.gnu.org; 9 Jan 2019 21:22:36 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 09 16:22:36 2019 Received: from localhost ([127.0.0.1]:52638 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ghLJ5-0003rP-Qs for submit <at> debbugs.gnu.org; Wed, 09 Jan 2019 16:22:36 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:50860) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1ghLJ4-0003rG-2f for 34015 <at> debbugs.gnu.org; Wed, 09 Jan 2019 16:22:34 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id CE82417B8; Wed, 9 Jan 2019 22:22:32 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ex_rXli8LlaG; Wed, 9 Jan 2019 22:22:32 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 34DE517ED; Wed, 9 Jan 2019 22:22:31 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> To: =?utf-8?Q?Cl=C3=A9ment?= Lassieur <clement@HIDDEN> Subject: Re: bug#34015: guix copy error message is quite difficult to understand References: <87bm4rnnnf.fsf@HIDDEN> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 20 =?utf-8?Q?Niv=C3=B4se?= an 227 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 09 Jan 2019 22:22:30 +0100 In-Reply-To: <87bm4rnnnf.fsf@HIDDEN> (=?utf-8?Q?=22Cl=C3=A9ment?= Lassieur"'s message of "Tue, 08 Jan 2019 17:02:12 +0100") Message-ID: <87imyx1q7d.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 34015 Cc: 34015 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) Hello Cl=C3=A9ment, Cl=C3=A9ment Lassieur <clement@HIDDEN> skribis: > This is what happens when /etc/profile isn't sourced in the remote > non-interactive shell on guix copy. Do you know specifically which environment variable was missing and what caused the backtrace? Also, what commit are you using? I=E2=80=99m asking because commit ed7b44370f71126087eb953f36aad8dc4c44109f changed the way we talk to a remote Guix over SSH. > I find it difficult to understand. I think the error message should > lead us to a way to fix the issue. > > sending 1 store item (0 MiB) to '192.168.0.51'... > ;;; [2019/01/08 16:48:31.587577, 0] write_to_channel_port: [GSSH ERROR] R= emote channel is closed: #<input-output: channel (open) 16bba60> > Backtrace: > 10 (primitive-load "/home/clement/.config/guix/current/bin=E2= =80=A6") > In guix/ui.scm: > 1644:12 9 (run-guix-command _ . _) > In ice-9/boot-9.scm: > 829:9 8 (catch srfi-34 #<procedure 169c020 at guix/ui.scm:622:=E2=80= =A6> =E2=80=A6) > 829:9 7 (catch system-error #<procedure 169c0c0 at guix/script=E2=80= =A6> =E2=80=A6) > In guix/scripts/copy.scm: > 80:27 6 (send-to-remote-host _ _) > In guix/ssh.scm: > 313:4 5 (send-files #<build-daemon 256.99 1694f00> _ _ # _ # _) > In guix/store.scm: > 1466:12 4 (export-paths #<build-daemon 256.99 1694f00> _ #<input=E2=80= =A6> =E2=80=A6) > 1446:22 3 (export-path #<build-daemon 256.99 1694f00> _ #<input-=E2=80= =A6> =E2=80=A6) > 644:13 2 (process-stderr _ _) > 607:10 1 (dump-port #<input-output: socket 14> #<input-output: =E2=80= =A6> =E2=80=A6) > In unknown file: > 0 (put-bytevector #<input-output: channel (open) 16bba60> =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" #<input-output: channel (open) 16bba60> #f)'. I agree the message could be=E2=80=A6 ahem=E2=80=A6 clearer. :-) Thanks, Ludo=E2=80=99.
bug-guix@HIDDEN
:bug#34015
; Package guix
.
Full text available.Received: (at submit) by debbugs.gnu.org; 8 Jan 2019 16:02:44 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 08 11:02:44 2019 Received: from localhost ([127.0.0.1]:50142 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ggtq0-0005i9-9T for submit <at> debbugs.gnu.org; Tue, 08 Jan 2019 11:02:44 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58955) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <clement.lassieur@HIDDEN>) id 1ggtpy-0005hx-J6 for submit <at> debbugs.gnu.org; Tue, 08 Jan 2019 11:02:43 -0500 Received: from lists.gnu.org ([209.51.188.17]:54791) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <clement.lassieur@HIDDEN>) id 1ggtps-0007fK-Cp for submit <at> debbugs.gnu.org; Tue, 08 Jan 2019 11:02:37 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40877) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <clement.lassieur@HIDDEN>) id 1ggtpp-00033S-Fy for bug-guix@HIDDEN; Tue, 08 Jan 2019 11:02:35 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <clement.lassieur@HIDDEN>) id 1ggtpn-0007T6-HI for bug-guix@HIDDEN; Tue, 08 Jan 2019 11:02:33 -0500 Received: from mail-ed1-f67.google.com ([209.85.208.67]:41199) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <clement.lassieur@HIDDEN>) id 1ggtpd-0006q9-3Q for bug-guix@HIDDEN; Tue, 08 Jan 2019 11:02:25 -0500 Received: by mail-ed1-f67.google.com with SMTP id a20so4709019edc.8 for <bug-guix@HIDDEN>; Tue, 08 Jan 2019 08:02:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version:content-transfer-encoding; bh=WzKkrfJ7NMhBDRCA7KaKVDzul2aLVqKAtXeXto1FCYM=; b=EUjguDDvaIphoLSCcL31BIq8YqHE8LRNWvxTJOKLmOVsYKEhPHJnSPRUdnIfenf7B9 GYG748fQe4/Lpah3UTLQwox+WJbjYdsdkTAh9wDxv1UoSEvzXwLwPJV2w8Ez8dpPj01z 3ujFcE0rqDqe4obGYfjgtCFnOSSWfvqP4VtqHip4z9tnvjQQ7V4tvZtw3BzVfOIOAx// Exkiw6dHUjUaeETp6HdM/96Uo5UWgyxOTTUOcsbj67lllfhExqM2cU5dj+UktKnezRxp W5tvZAZqmnukxWX4uR0fFCh2Dmsx9/LvGyx1KIB4sPHUVdrvsyDIyw2YSd62eI32Ik8M a3IA== X-Gm-Message-State: AJcUukeWu9X6DwPkVbOvodiwclUHvpu26ZlikI9jJrkw/F1xgUxO8RGE aObpLIJilrHEwcCT+DZWvIxF6zXhpF8= X-Google-Smtp-Source: ALg8bN50Vm43RBBSOP1LBkwUY6a9CpccFh8OnwMxgHam6Y3O7Wo1nh3aWhuPT+hIKlUfWL1VR469rQ== X-Received: by 2002:a17:906:27c6:: with SMTP id k6-v6mr2388638ejc.112.1546963334558; Tue, 08 Jan 2019 08:02:14 -0800 (PST) Received: from newt (smtp.parrot.biz. [62.23.167.188]) by smtp.gmail.com with ESMTPSA id t26sm281719eda.22.2019.01.08.08.02.13 for <bug-guix@HIDDEN> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 08 Jan 2019 08:02:13 -0800 (PST) User-agent: mu4e 1.0; emacs 26.1 From: =?utf-8?Q?Cl=C3=A9ment?= Lassieur <clement@HIDDEN> To: bug-guix@HIDDEN Subject: guix copy error message is quite difficult to understand Date: Tue, 08 Jan 2019 17:02:12 +0100 Message-ID: <87bm4rnnnf.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.208.67 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) Hi, This is what happens when /etc/profile isn't sourced in the remote non-interactive shell on guix copy. I find it difficult to understand. I think the error message should lead us to a way to fix the issue. --8<---------------cut here---------------start------------->8--- sending 1 store item (0 MiB) to '192.168.0.51'... ;;; [2019/01/08 16:48:31.587577, 0] write_to_channel_port: [GSSH ERROR] Rem= ote channel is closed: #<input-output: channel (open) 16bba60> Backtrace: 10 (primitive-load "/home/clement/.config/guix/current/bin=E2=80= =A6") In guix/ui.scm: 1644:12 9 (run-guix-command _ . _) In ice-9/boot-9.scm: 829:9 8 (catch srfi-34 #<procedure 169c020 at guix/ui.scm:622:=E2=80= =A6> =E2=80=A6) 829:9 7 (catch system-error #<procedure 169c0c0 at guix/script=E2=80= =A6> =E2=80=A6) In guix/scripts/copy.scm: 80:27 6 (send-to-remote-host _ _) In guix/ssh.scm: 313:4 5 (send-files #<build-daemon 256.99 1694f00> _ _ # _ # _) In guix/store.scm: 1466:12 4 (export-paths #<build-daemon 256.99 1694f00> _ #<input=E2=80= =A6> =E2=80=A6) 1446:22 3 (export-path #<build-daemon 256.99 1694f00> _ #<input-=E2=80= =A6> =E2=80=A6) 644:13 2 (process-stderr _ _) 607:10 1 (dump-port #<input-output: socket 14> #<input-output: =E2=80= =A6> =E2=80=A6) In unknown file: 0 (put-bytevector #<input-output: channel (open) 16bba60> =E2=80= =A6) 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) 16bba60> #f)'. --8<---------------cut here---------------end--------------->8--- Cheers, Cl=C3=A9ment
Clément Lassieur <clement@HIDDEN>
:bug-guix@HIDDEN
.
Full text available.bug-guix@HIDDEN
:bug#34015
; Package guix
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.