From unknown Tue Jun 17 01:47:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#28057: assert-node-has-guix should fail gracefully Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 11 Aug 2017 21:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 28057 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 28057@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15024852797302 (code B ref -1); Fri, 11 Aug 2017 21:02:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Aug 2017 21:01:19 +0000 Received: from localhost ([127.0.0.1]:56060 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dgH3W-0001ti-Nx for submit@debbugs.gnu.org; Fri, 11 Aug 2017 17:01:18 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59880) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dgH3T-0001tV-9x for submit@debbugs.gnu.org; Fri, 11 Aug 2017 17:01:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dgH3M-0000MW-Kg for submit@debbugs.gnu.org; Fri, 11 Aug 2017 17:01:09 -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.0 required=5.0 tests=BAYES_40 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:46520) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dgH3M-0000MS-HS for submit@debbugs.gnu.org; Fri, 11 Aug 2017 17:01:08 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50846) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dgH3K-0004Xy-Sd for bug-guix@gnu.org; Fri, 11 Aug 2017 17:01:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dgH3H-0000JX-R8 for bug-guix@gnu.org; Fri, 11 Aug 2017 17:01:06 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21058) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dgH3H-0000E5-I7 for bug-guix@gnu.org; Fri, 11 Aug 2017 17:01:03 -0400 Received: from localhost (port-92-200-72-107.dynamic.qsc.de [92.200.72.107]) by mx.zohomail.com with SMTPS id 1502485153519444.3369747593471; Fri, 11 Aug 2017 13:59:13 -0700 (PDT) User-agent: mu4e 0.9.18; emacs 25.2.1 From: Ricardo Wurmus X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Fri, 11 Aug 2017 22:59:10 +0200 Message-ID: <87shgxhlcx.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-ZohoMailClient: External X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) I have a couple of servers where offloading doesn’t quite work for as yet unknown reasons. “guix offload test” crashes instead of telling me what’s wrong: --8<---------------cut here---------------start------------->8--- root@berlin ~/maintenance# guix offload test guix offload: testing 3 build machines defined in '/etc/guix/machines.scm'... guix offload: '192.168.0.2' is running guile (GNU Guile) 2.2.2 guix offload: '192.168.0.3' is running guile (GNU Guile) 2.2.2 guix offload: '192.168.0.12' is running guile (GNU Guile) 2.2.2 guix offload: Guix is usable on '192.168.0.2' (test returned "/gnu/store/883yjkl46dxw9mzykykmbs0yzwyxm17z-test") guix offload: Guix is usable on '192.168.0.3' (test returned "/gnu/store/883yjkl46dxw9mzykykmbs0yzwyxm17z-test") Backtrace: 7 (primitive-load "/gnu/store/gkv8zl774h2qpa89mrf6d74fry3…") In guix/ui.scm: 1352:12 6 (run-guix-command _ . _) In ice-9/boot-9.scm: 837:9 5 (catch _ _ # …) 837:9 4 (catch _ _ # …) In guix/scripts/offload.scm: 611:6 3 (check-machine-availability _ _) In srfi/srfi-1.scm: 656:11 2 (for-each # …) In guix/scripts/offload.scm: 543:2 1 (assert-node-has-guix _ "192.168.0.12") In ssh/dist/node.scm: 397:8 0 (node-eval # _) ssh/dist/node.scm:397:8: In procedure node-eval: ssh/dist/node.scm:397:8: Throw to key `node-repl-error' with args `("Evaluation failed" "scheme@(guile-user)> While compiling expression:\nERROR: no code for module (guix)" ())'. --8<---------------cut here---------------end--------------->8--- This error should be caught and the message be printed without the stack trace. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 09 17:41:43 2017 Received: (at control) by debbugs.gnu.org; 9 Oct 2017 21:41:43 +0000 Received: from localhost ([127.0.0.1]:58764 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1fny-0001OW-TB for submit@debbugs.gnu.org; Mon, 09 Oct 2017 17:41:43 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21112) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1fnw-0001OO-LH for control@debbugs.gnu.org; Mon, 09 Oct 2017 17:41:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1507585292; s=zoho; d=elephly.net; i=rekado@elephly.net; h=Date:To:From:Subject; l=15; bh=Lwh3Hc7kv3SlMcx/0liV/1/AWyR0U6UhfHGQqBg/5xA=; b=PeRR2F60bbAVayMEFGSvCcpvTaFwBvnlPpZEmUuMLL8khy5lRvSiybk2b1OqRPxT o66wdS9094h8n/Y0a6XmodQkIRbkY5WouJUD7KRGvLzljtD0YGw8x4032RV4lXWGs4U 9gIjswfvbg25jH47ZoBYNeLQh7P9YORIggBN4JaM= Received: from localhost (port-92-200-49-16.dynamic.qsc.de [92.200.49.16]) by mx.zohomail.com with SMTPS id 1507585292548361.2503728689435; Mon, 9 Oct 2017 14:41:32 -0700 (PDT) Date: Mon, 09 Oct 2017 23:41:30 +0200 To: control@debbugs.gnu.org From: Ricardo Wurmus Subject: control message for bug #28057 X-ZohoMailClient: External X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" Message-Id: X-Spam-Score: -0.0 (/) owner 28057 ! From unknown Tue Jun 17 01:47:57 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Ricardo Wurmus Subject: bug#28057: closed (Re: bug#28057: assert-node-has-guix should fail gracefully) Message-ID: References: <87efmtonn4.fsf@gnu.org> <87shgxhlcx.fsf@elephly.net> X-Gnu-PR-Message: they-closed 28057 X-Gnu-PR-Package: guix Reply-To: 28057@debbugs.gnu.org Date: Sat, 13 Jan 2018 14:11:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1515852662-22906-1" This is a multi-part message in MIME format... ------------=_1515852662-22906-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #28057: assert-node-has-guix should fail gracefully which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 28057@debbugs.gnu.org. --=20 28057: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D28057 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1515852662-22906-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 28057-done) by debbugs.gnu.org; 13 Jan 2018 14:10:29 +0000 Received: from localhost ([127.0.0.1]:54503 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eaMVx-0005wd-8g for submit@debbugs.gnu.org; Sat, 13 Jan 2018 09:10:29 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:49492) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eaMVv-0005wW-LS for 28057-done@debbugs.gnu.org; Sat, 13 Jan 2018 09:10:28 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 41D55109E0; Sat, 13 Jan 2018 15:10:27 +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 3Ah_UgX7W__c; Sat, 13 Jan 2018 15:10:25 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 11793109DE; Sat, 13 Jan 2018 15:10:24 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Ricardo Wurmus Subject: Re: bug#28057: assert-node-has-guix should fail gracefully References: <87shgxhlcx.fsf@elephly.net> Date: Sat, 13 Jan 2018 15:10:23 +0100 In-Reply-To: <87shgxhlcx.fsf@elephly.net> (Ricardo Wurmus's message of "Fri, 11 Aug 2017 22:59:10 +0200") Message-ID: <87efmtonn4.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (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: 28057-done Cc: 28057-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Ricardo Wurmus skribis: > I have a couple of servers where offloading doesn=E2=80=99t quite work fo= r as > yet unknown reasons. =E2=80=9Cguix offload test=E2=80=9D crashes instead= of telling me > what=E2=80=99s wrong: > > root@berlin ~/maintenance# guix offload test > guix offload: testing 3 build machines defined in '/etc/guix/machines.scm= '... > guix offload: '192.168.0.2' is running guile (GNU Guile) 2.2.2 > guix offload: '192.168.0.3' is running guile (GNU Guile) 2.2.2 > guix offload: '192.168.0.12' is running guile (GNU Guile) 2.2.2 > guix offload: Guix is usable on '192.168.0.2' (test returned "/gnu/store/= 883yjkl46dxw9mzykykmbs0yzwyxm17z-test") > guix offload: Guix is usable on '192.168.0.3' (test returned "/gnu/store/= 883yjkl46dxw9mzykykmbs0yzwyxm17z-test") > Backtrace: > 7 (primitive-load "/gnu/store/gkv8zl774h2qpa89mrf6d74fry3=E2= =80=A6") > In guix/ui.scm: > 1352:12 6 (run-guix-command _ . _) > In ice-9/boot-9.scm: > 837:9 5 (catch _ _ # =E2=80=A6) > 837:9 4 (catch _ _ # =E2=80=A6) > In guix/scripts/offload.scm: > 611:6 3 (check-machine-availability _ _) > In srfi/srfi-1.scm: > 656:11 2 (for-each # =E2= =80=A6) > In guix/scripts/offload.scm: > 543:2 1 (assert-node-has-guix _ "192.168.0.12") > In ssh/dist/node.scm: > 397:8 0 (node-eval # _) > > ssh/dist/node.scm:397:8: In procedure node-eval: > ssh/dist/node.scm:397:8: Throw to key `node-repl-error' with args `("Eval= uation failed" "scheme@(guile-user)> While compiling expression:\nERROR: no= code for module (guix)" ())'. > > This error should be caught and the message be printed without the stack > trace. Fixed in 5a5e34e3588e863de0028523ada61041e78cf8c6, thanks. Ludo=E2=80=99. ------------=_1515852662-22906-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 11 Aug 2017 21:01:19 +0000 Received: from localhost ([127.0.0.1]:56060 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dgH3W-0001ti-Nx for submit@debbugs.gnu.org; Fri, 11 Aug 2017 17:01:18 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59880) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dgH3T-0001tV-9x for submit@debbugs.gnu.org; Fri, 11 Aug 2017 17:01:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dgH3M-0000MW-Kg for submit@debbugs.gnu.org; Fri, 11 Aug 2017 17:01:09 -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.0 required=5.0 tests=BAYES_40 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:46520) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dgH3M-0000MS-HS for submit@debbugs.gnu.org; Fri, 11 Aug 2017 17:01:08 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50846) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dgH3K-0004Xy-Sd for bug-guix@gnu.org; Fri, 11 Aug 2017 17:01:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dgH3H-0000JX-R8 for bug-guix@gnu.org; Fri, 11 Aug 2017 17:01:06 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21058) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dgH3H-0000E5-I7 for bug-guix@gnu.org; Fri, 11 Aug 2017 17:01:03 -0400 Received: from localhost (port-92-200-72-107.dynamic.qsc.de [92.200.72.107]) by mx.zohomail.com with SMTPS id 1502485153519444.3369747593471; Fri, 11 Aug 2017 13:59:13 -0700 (PDT) User-agent: mu4e 0.9.18; emacs 25.2.1 From: Ricardo Wurmus To: bug-guix@gnu.org Subject: assert-node-has-guix should fail gracefully X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Fri, 11 Aug 2017 22:59:10 +0200 Message-ID: <87shgxhlcx.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-ZohoMailClient: External X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) I have a couple of servers where offloading doesn’t quite work for as yet unknown reasons. “guix offload test” crashes instead of telling me what’s wrong: --8<---------------cut here---------------start------------->8--- root@berlin ~/maintenance# guix offload test guix offload: testing 3 build machines defined in '/etc/guix/machines.scm'... guix offload: '192.168.0.2' is running guile (GNU Guile) 2.2.2 guix offload: '192.168.0.3' is running guile (GNU Guile) 2.2.2 guix offload: '192.168.0.12' is running guile (GNU Guile) 2.2.2 guix offload: Guix is usable on '192.168.0.2' (test returned "/gnu/store/883yjkl46dxw9mzykykmbs0yzwyxm17z-test") guix offload: Guix is usable on '192.168.0.3' (test returned "/gnu/store/883yjkl46dxw9mzykykmbs0yzwyxm17z-test") Backtrace: 7 (primitive-load "/gnu/store/gkv8zl774h2qpa89mrf6d74fry3…") In guix/ui.scm: 1352:12 6 (run-guix-command _ . _) In ice-9/boot-9.scm: 837:9 5 (catch _ _ # …) 837:9 4 (catch _ _ # …) In guix/scripts/offload.scm: 611:6 3 (check-machine-availability _ _) In srfi/srfi-1.scm: 656:11 2 (for-each # …) In guix/scripts/offload.scm: 543:2 1 (assert-node-has-guix _ "192.168.0.12") In ssh/dist/node.scm: 397:8 0 (node-eval # _) ssh/dist/node.scm:397:8: In procedure node-eval: ssh/dist/node.scm:397:8: Throw to key `node-repl-error' with args `("Evaluation failed" "scheme@(guile-user)> While compiling expression:\nERROR: no code for module (guix)" ())'. --8<---------------cut here---------------end--------------->8--- This error should be caught and the message be printed without the stack trace. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net ------------=_1515852662-22906-1--