X-Loop: help-debbugs@HIDDEN Subject: bug#40082: guix offload error messages need improvements Resent-From: levenson@HIDDEN Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Sun, 15 Mar 2020 18:58:02 +0000 Resent-Message-ID: <handler.40082.B.158429864519230 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 40082 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 40082 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-guix@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.158429864519230 (code B ref -1); Sun, 15 Mar 2020 18:58:02 +0000 Received: (at submit) by debbugs.gnu.org; 15 Mar 2020 18:57:25 +0000 Received: from localhost ([127.0.0.1]:35587 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1jDYRw-000506-Qe for submit <at> debbugs.gnu.org; Sun, 15 Mar 2020 14:57:25 -0400 Received: from lists.gnu.org ([209.51.188.17]:50107) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <levenson@HIDDEN>) id 1jDYRv-0004zy-2y for submit <at> debbugs.gnu.org; Sun, 15 Mar 2020 14:57:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55708) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <levenson@HIDDEN>) id 1jDYRt-0002lR-3C for bug-guix@HIDDEN; Sun, 15 Mar 2020 14:57:22 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_05,PDS_BTC_ID autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <levenson@HIDDEN>) id 1jDYRr-0001TM-Dn for bug-guix@HIDDEN; Sun, 15 Mar 2020 14:57:21 -0400 Received: from mx4.mail.mmer.org ([178.22.66.29]:56339) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <levenson@HIDDEN>) id 1jDYRq-0001NM-SX for bug-guix@HIDDEN; Sun, 15 Mar 2020 14:57:19 -0400 Received: from delta (unknown [10.147.19.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx4.mail.mmer.org (Postfix) with ESMTPSA id C713E9CC41 for <bug-guix@HIDDEN>; Sun, 15 Mar 2020 18:26:26 +0000 (UTC) From: levenson@HIDDEN Date: Sun, 15 Mar 2020 19:57:07 +0100 Message-ID: <84mu8higzg.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 178.22.66.29 X-Spam-Score: 0.5 (/) 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.5 (/) Hi Guix, guix offload error messages are cumbersome. With a help from guys on irc channel(many thanks), I finally manage it to work by installing guix and guile packages under the remote user. --8<---------------cut here---------------start------------->8--- # local aabramov@delta:~/factory/guix$ guix describe Generation 340 Mar 12 2020 18:23:16 (current) guix be78906 repository URL: file:///home/aabramov/factory/guix branch: master commit: be78906592c761aa2a67e979074561e459efdcac # remote [aabramov@minion100 ~]$ guix describe Generation 2 Mar 15 2020 17:42:04 (current) guix be78906 repository URL: file:///home/aabramov/guix branch: master commit: be78906592c761aa2a67e979074561e459efdcac --8<---------------cut here---------------end--------------->8--- machines.scm is ready, and here is my fist attempt to run offload test. --8<---------------cut here---------------start------------->8--- aabramov@delta:~/factory/guix$ guix offload test guix offload: testing 1 build machines defined in '/etc/guix/machines.scm'... guix offload: Guix is usable on 'minion100' (test returned "/gnu/store/883yjkl46dxw9mzykykmbs0yzwyxm17z-test") guix offload: 'minion100' is running GNU Guile 3.0.1 guix offload: error: failed to connect to `#<input-output: channel (open) 7fc8c903a260>': Protocol error --8<---------------cut here---------------end--------------->8--- There is no errors in my local guix-daemon nor remote one. --debugs doesn't help either Same thing with copy. --8<---------------cut here---------------start------------->8--- aabramov@delta:~/factory/guix$ guix copy --to=minion100 hello guix copy: error: failed to connect to `#<input-output: channel (open) 7f64d7d18de0>': Protocol error aabramov@delta:~/factory/guix$ guix copy --from=minion100 hello guix copy: error: failed to connect to `#<input-output: channel (open) 7f314e202cc0>': Protocol error --8<---------------cut here---------------end--------------->8--- Guix says that my minion is running GNU Guile 3.0 which is for me a good sign, but apparently it is not. I thought that guile 3.0 is an issues, so let's install guile-2. Here is my remote profile: --8<---------------cut here---------------start------------->8--- [aabramov@minion100 ~]$ guix package -l Generation 1 Mar 09 2020 22:22:03 glibc-locales 2.29 out /gnu/store/03nvilh2x4z07dxv7h13gh986vvgpnsf-glibc-locales-2.29 Generation 2 Mar 09 2020 22:28:46 + emacs-next 27.0.50-0.36abf68 out /gnu/store/61bwd5sn4s25lm2m9shbrja5d6z1d17y-emacs-next-27.0.50-0.36abf68 Generation 3 Mar 15 2020 16:54:24 + sshuttle 0.78.5 out /gnu/store/13s2jadhdvpk99mnkf6y1r42mamijzrd-sshuttle-0.78.5 Generation 4 Mar 15 2020 17:56:00 + guile 2.2.7 out /gnu/store/jgl9d4axpavsv83z2f1z1himnkbsxxqj-guile-2.2.7 --8<---------------cut here---------------end--------------->8--- guix offload test fails with a diffrent error. I also tried to use #:log-verbosity 'protocol, but it doesn't help. --8<---------------cut here---------------start------------->8--- aabramov@delta:~/factory/guix$ guix offload test guix offload: testing 1 build machines defined in '/etc/guix/machines.scm'... guix offload: Guix is usable on 'minion100' (test returned "/gnu/store/883yjkl46dxw9mzykykmbs0yzwyxm17z-test") guix offload: 'minion100' is running GNU Guile 3.0.1 sending 1 store item (0 MiB) to 'minion100'... exporting path `/gnu/store/wc2vv8kcf634gijak07sadwmkck903lq-export-test' guix offload: error: unknown error while sending files over SSH --8<---------------cut here---------------end--------------->8--- In the meantime copy fails differently: --8<---------------cut here---------------start------------->8--- aabramov@delta:~/factory/guix$ guix copy --from=minion100 hello guix copy: error: Guile modules not found on remote host 'minion100' hint: Make sure `GUILE_LOAD_PATH' includes Guix' own module directory. Run `ssh minion100 env | grep GUILE_LOAD_PATH' to check. aabramov@delta:~/factory/guix$ guix copy --to=minion100 hello sending 1 store item (0 MiB) to 'minion100'... guix copy: error: unknown error while sending files over SSH aabramov@delta:~/factory/guix$ ssh minion100 env | grep GUILE_LOAD_PATH --8<---------------cut here---------------end--------------->8--- `copy from' check gives a hint, but even though I have GUIX_PROFILE defined in my .bash_profile: --8<---------------cut here---------------start------------->8--- aabramov@delta:~/factory/guix$ ssh minion100 tail -n2 .bash_profile export GUIX_PROFILE=~/.guix-profile source "${GUIX_PROFILE}/etc/profile" --8<---------------cut here---------------end--------------->8--- for some reason I still don't have any GUILE_LOAD variables defined --8<---------------cut here---------------start------------->8--- [aabramov@minion100 ~]$ cat .guix-profile/etc/profile # Source this file to define all the relevant environment variables in Bash # for this profile. You may want to define the 'GUIX_PROFILE' environment # variable to point to the "visible" name of the profile, like this: # # GUIX_PROFILE=/path/to/profile ; \ # source /path/to/profile/etc/profile # # When GUIX_PROFILE is undefined, the various environment variables refer # to this specific profile generation. export PATH="${GUIX_PROFILE:-/gnu/store/lz99sh2a2kgcxb7wr5lf2vk9yzwb9lmm-profile}/bin${PATH:+:}$PATH" export EMACSLOADPATH="${GUIX_PROFILE:-/gnu/store/lz99sh2a2kgcxb7wr5lf2vk9yzwb9lmm-profile}/share/emacs/site-lisp:${GUIX_PROFILE:-/gnu/store/lz99sh2a2kgcxb7wr5lf2vk9yzwb9lmm-profile}/share/emacs/27.0.50/lisp${EMACSLOADPATH:+:}$EMACSLOADPATH" export INFOPATH="${GUIX_PROFILE:-/gnu/store/lz99sh2a2kgcxb7wr5lf2vk9yzwb9lmm-profile}/share/info${INFOPATH:+:}$INFOPATH" --8<---------------cut here---------------end--------------->8--- OK, I saw some notes about guile-ssh and decided to install it. It seems like guix adds GUILE_LOAD vars only when you install some guile libs. --8<---------------cut here---------------start------------->8--- [aabramov@minion100 ~]$ guix package -l Generation 1 Mar 09 2020 22:22:03 glibc-locales 2.29 out /gnu/store/03nvilh2x4z07dxv7h13gh986vvgpnsf-glibc-locales-2.29 Generation 2 Mar 09 2020 22:28:46 + emacs-next 27.0.50-0.36abf68 out /gnu/store/61bwd5sn4s25lm2m9shbrja5d6z1d17y-emacs-next-27.0.50-0.36abf68 Generation 3 Mar 15 2020 16:54:24 + sshuttle 0.78.5 out /gnu/store/13s2jadhdvpk99mnkf6y1r42mamijzrd-sshuttle-0.78.5 Generation 4 Mar 15 2020 17:56:00 + guile 2.2.7 out /gnu/store/jgl9d4axpavsv83z2f1z1himnkbsxxqj-guile-2.2.7 Generation 5 Mar 15 2020 18:02:58 (current) + guile-ssh 0.12.0 out /gnu/store/qqpigisk01ivzvb9pyi4d4d6v5p6djzw-guile-ssh-0.12.0 --8<---------------cut here---------------end--------------->8--- So now I have all the vars in place, but the copy command still complains: --8<---------------cut here---------------start------------->8--- aabramov@delta:~/factory/guix$ ssh minion100 env | grep GUILE_ GUILE_LOAD_PATH=/home/aabramov/.guix-profile/share/guile/site/2.2 GUILE_LOAD_COMPILED_PATH=/home/aabramov/.guix-profile/lib/guile/2.2/site-ccache aabramov@delta:~/factory/guix$ guix copy --from=minion100 hello guix copy: error: Guile modules not found on remote host 'minion100' hint: Make sure `GUILE_LOAD_PATH' includes Guix' own module directory. Run `ssh minion100 env | grep GUILE_LOAD_PATH' to check. aabramov@delta:~/factory/guix$ guix copy --to=minion100 hello sending 1 store item (0 MiB) to 'minion100'... guix copy: error: unknown error while sending files over SSH --8<---------------cut here---------------end--------------->8--- Finally guix installation does the trick: --8<---------------cut here---------------start------------->8--- aabramov@delta:~/factory/guix$ guix offload test guix offload: testing 1 build machines defined in '/etc/guix/machines.scm'... guix offload: Guix is usable on 'minion100' (test returned "/gnu/store/883yjkl46dxw9mzykykmbs0yzwyxm17z-test") guix offload: 'minion100' is running GNU Guile 2.2.6 sending 1 store item (0 MiB) to 'minion100'... exporting path `/gnu/store/9lj51ppm9a92yfk7jxpv4vjqpcpbcxh6-export-test' guix offload: 'minion100' successfully imported '/gnu/store/9lj51ppm9a92yfk7jxpv4vjqpcpbcxh6-export-test' retrieving 1 store item from 'minion100'... guix offload: successfully imported '/gnu/store/877wz9nrnpk8zljj8gzvvlnpwlg01240-import-test' from 'minion100' aabramov@delta:~/factory/guix$ guix copy --to=minion100 hello sending 1 store item (0 MiB) to 'minion100'... /gnu/store/kg9mirg6xbvzcp0a98v7326n1nvvwgsj-hello-2.10 aabramov@delta:~/factory/guix$ guix copy --from=minion100 hello retrieving 0 store items from 'minion100'... --8<---------------cut here---------------end--------------->8--- -- Alexey
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: levenson@HIDDEN Subject: bug#40082: Acknowledgement (guix offload error messages need improvements) Message-ID: <handler.40082.B.158429864519230.ack <at> debbugs.gnu.org> References: <84mu8higzg.fsf@HIDDEN> X-Gnu-PR-Message: ack 40082 X-Gnu-PR-Package: guix Reply-To: 40082 <at> debbugs.gnu.org Date: Sun, 15 Mar 2020 18:58:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guix@HIDDEN If you wish to submit further information on this problem, please send it to 40082 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 40082: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D40082 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
Received: (at control) by debbugs.gnu.org; 16 Jun 2025 11:50:28 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 16 07:50:28 2025 Received: from localhost ([127.0.0.1]:43657 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uR8M7-0008Mu-Te for submit <at> debbugs.gnu.org; Mon, 16 Jun 2025 07:50:28 -0400 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:44165) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <zimon.toutoune@HIDDEN>) id 1uR8LV-00089c-JN for control <at> debbugs.gnu.org; Mon, 16 Jun 2025 07:49:53 -0400 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-4530921461aso36849605e9.0 for <control <at> debbugs.gnu.org>; Mon, 16 Jun 2025 04:49:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1750074583; x=1750679383; darn=debbugs.gnu.org; h=subject:from:to:message-id:date:from:to:cc:subject:date:message-id :reply-to; bh=HvSRklycssvZcAtk4eY8qN4Gk8dUrs97ADkiuXHX4L8=; b=PTWwA91U3MOU0dCr08oKDt5e1z8QyouDmImlVgpH4X+9VKcCOlyyHlgnIDhhVxUuIj FD3xE0eGsrNtegE7hcFWP85Bfjp1Ql12QjwLQbVwjHAmRCLJolFJAyaU9un7hVVO4XYt KQ/eoiM3o48TAQbI5rgAXcN2e2qJjkPsnzh/XO/+qJY0GAL5QvR3pW0UcrYZmFvfhfhu vCBlxwNymRqPKFP7LWThuboTWPKC2iC2vqk1akBkgypfOd5pnD7ruz/hTpEuC5t0XejJ YsltGVFae+3V0HbFcBb2segwAZU72QQ1E7PAHsvIOxoqwj40gFvMoYhLo+jMVHUlIXNa gwBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1750074583; x=1750679383; h=subject:from:to:message-id:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HvSRklycssvZcAtk4eY8qN4Gk8dUrs97ADkiuXHX4L8=; b=bOMPowyW5/o6yFKJLxGzfVO50oVBl7R/gkD2ybQy9xO2mMvOAYcB9DD++MOReiMRTa JXhzkGPUJzNUeSNRwhvBG8K+6p2f3NAtfA+442yw3F3WXa5rrAgk65W0YMLkXhcoHvMu Lr3sJe7ZHnsEmMqKXNw3+nrAWoRZsni9nPfDq4ncJ5IkGWfQaBw/VRCr7WfUqnukPSF2 jdOaleFHdedIueNmKpDNebooC+4QYi+50R4ANW1ST0Laldwies4EAT8xYMter168tgFg EDv9ym8KmuWUd9prmBWxW+jsXD2D9ml6f/TrLKoWRKNQjXsj/2FNWXIYItv9QN3/ODja wsKA== X-Gm-Message-State: AOJu0YyYNDfKeTLMb8YMR+mOhfwdOT8vzPUM7YbSA8F7R37VnPyl5xmp kz0kIA0xBZkKJYkP8pRFULof1hK3v5IYycXro1h5KgJKLWJPuB0EPra0MjTFPUlq X-Gm-Gg: ASbGncvqOyYdLmt9JLhw5YkMyUgzCASr3WJm+855TWIvejhcMK3tSKAGGXIfhh062ZQ 8ih0kWKGRoayZHdTP7jvp4z9XFaWeVuf/O0LIJpedekHSw2b9lsJG/tOkn3jngBEhus/cQft7jl LNhbtkYBecxYoEoWDxkeDhjCstUsddhovOOpxFSSatJn6+yCWxVmhhcm8l2C2ar3y8b9p/zAWZt iT49s2U76kxw8AvKUDC/pxT1M2pnZdJ5Ommnvl7VHbC76TSqKr4lbyw0ygjA8IaJArRb8WcidX4 ufig8OSciepqh5H126FWxWiikWPOOdxen2GdzevEGWnS0b3JLpbLaRQpnXdkX9p4cvtWoC6pjL1 VcY8H43hqt3uBBResTPviU8E= X-Google-Smtp-Source: AGHT+IHPedN89OdQgau+ax3GG2qdKhSh680bDtOPu/roXCa2Y+QiAOLVDMPhAiY02VwvdKRuQhoYZA== X-Received: by 2002:a05:6000:2dc4:b0:3a5:3af1:e21b with SMTP id ffacd0b85a97d-3a5727806f4mr7217791f8f.47.1750074583097; Mon, 16 Jun 2025 04:49:43 -0700 (PDT) Received: from lili (nat-dsi-209.net.univ-paris-diderot.fr. [81.194.30.209]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4532e261a72sm141555545e9.38.2025.06.16.04.49.42 for <control <at> debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Jun 2025 04:49:42 -0700 (PDT) Date: Mon, 16 Jun 2025 12:38:21 +0200 Message-Id: <87y0ts6kf6.fsf@HIDDEN> To: control <at> debbugs.gnu.org From: Simon Tournier <zimon.toutoune@HIDDEN> Subject: control message for bug #40082 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control 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 (-) severity 40082 wishlist quit
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.