From unknown Sat Sep 20 06:39:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26008: =?UTF-8?Q?=E2=80=98guix?= offload =?UTF-8?Q?test=E2=80=99?= provides insufficient details upon failure Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 07 Mar 2017 11:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 26008 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 26008@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.148888449012927 (code B ref -1); Tue, 07 Mar 2017 11:02:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Mar 2017 11:01:30 +0000 Received: from localhost ([127.0.0.1]:43642 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1clCrx-0003MQ-Jy for submit@debbugs.gnu.org; Tue, 07 Mar 2017 06:01:30 -0500 Received: from eggs.gnu.org ([208.118.235.92]:57285) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1clCrv-0003MC-OB for submit@debbugs.gnu.org; Tue, 07 Mar 2017 06:01:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1clCrp-0004qA-FZ for submit@debbugs.gnu.org; Tue, 07 Mar 2017 06:01:22 -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.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33055) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1clCrp-0004q6-D0 for submit@debbugs.gnu.org; Tue, 07 Mar 2017 06:01:21 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48216) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1clCrn-0008AJ-Rk for bug-guix@gnu.org; Tue, 07 Mar 2017 06:01:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1clCri-0004mi-0U for bug-guix@gnu.org; Tue, 07 Mar 2017 06:01:19 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34968) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1clCrh-0004mV-TO for bug-guix@gnu.org; Tue, 07 Mar 2017 06:01:13 -0500 Received: from [193.50.110.248] (port=50840 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1clCrh-0004hY-9j for bug-guix@gnu.org; Tue, 07 Mar 2017 06:01:13 -0500 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 17 =?UTF-8?Q?Vent=C3=B4se?= an 225 de la =?UTF-8?Q?R=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-unknown-linux-gnu Date: Tue, 07 Mar 2017 12:01:11 +0100 Message-ID: <87innlfj0o.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.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: -5.0 (-----) --=-=-= Content-Type: text/plain See message below. --=-=-= Content-Type: message/rfc822 Content-Disposition: inline Return-Path: Received: from solo.fdn.fr ([unix socket]) by solo (Cyrus v2.4.16-Debian-2.4.16-4+deb7u2) with LMTPA; Tue, 07 Mar 2017 00:23:19 +0100 X-Sieve: CMU Sieve 2.4 Received: by solo.fdn.fr (Postfix) id 7FA60D0B87; Tue, 7 Mar 2017 00:23:19 +0100 (CET) Delivered-To: ludovic.courtes@fdn.fr Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:4830:134:3::10]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by solo.fdn.fr (Postfix) with ESMTPS id 5402AD0B5E for ; Tue, 7 Mar 2017 00:23:19 +0100 (CET) Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cl1yH-0001lq-Fm for ludovic.courtes@fdn.fr; Mon, 06 Mar 2017 18:23:18 -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.5 required=5.0 tests=BAYES_05,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55646) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cl1yH-0001li-Cx for ludovic.courtes@fdn.fr; Mon, 06 Mar 2017 18:23:17 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49677) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cl1yG-0002Dr-3P for ludo@gnu.org; Mon, 06 Mar 2017 18:23:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cl1yB-0001lA-SP for ludo@gnu.org; Mon, 06 Mar 2017 18:23:14 -0500 Received: from mail-wm0-x236.google.com ([2a00:1450:400c:c09::236]:35481) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cl1yB-0001ko-ML; Mon, 06 Mar 2017 18:23:11 -0500 Received: by mail-wm0-x236.google.com with SMTP id v186so76587140wmd.0; Mon, 06 Mar 2017 15:23:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-transfer-encoding; bh=mj7gcmimGSoJElEYtepJYacFVt73UGZ2t6OVGz+6qTI=; b=UoH9XVt2TTqt0BrjPFC5maY4dHZkRN2ZKdV/EI7hVHih6e13d+bwkVRymLER2ERlTn nQH8CuSHqN3GJRm+M/CNmL+1rghhe2TdmXkOcBHgqG41Ui24XdQCN87P2ZPjyuf5q7wj pWahf4fyz/hoDWja72X39xusGro8O5UVGZi/EC/vvsgjKT3+PTobz0k9HDh4OfjdIERm FetjRkCzPBoHiETS5ZY2US4LfOVNg5JnttxsaZ/LtNJ9uUK+rRi+pyJoNxkuQ9TDzvhW jruXCY/OkFr6SJSWxXtpAgvHcV9h2n195/ifVQZAG7iQ5K4FGykMfmc0lIU/EDZ4s8JT bVcg== 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=mj7gcmimGSoJElEYtepJYacFVt73UGZ2t6OVGz+6qTI=; b=InZK6qYLStoWsF+F8AVsrBcN8CJQg7x/RdBLiFdA3jssmYlspCVO/z/33nK/QyaT56 yRiBEfbRTFx0lxTWeambAqVu4YXxNkBXYSfFRk6HmtlsjSOH6yfNpDunTNOw0d0rWmTk TqKlzIQBAIaSbMxzdcOh97UuB8YmjXfLUSwkW3c0WiddqmPqF7mwAwJnHPhfL9U+LTPY perePZc0HR44xefQTAUbh3U7Sw5o8B8RX4D/jxBw1nvIyBYBq4/lM4t69lfG4OoAtO2p aE07cKrCT0Dz+KDUXzCIzwRZSHEA+g+Yn2e/lvJP2zahyoaAWjO1Nck/SRXNAY88d9ly zjMA== X-Gm-Message-State: AMke39lP+xN1NsRNEyLfYj61ISFGNe49okN4gSKUshK2/384bhnIjfSy03SHC7pItFRh5A== X-Received: by 10.28.63.5 with SMTP id m5mr15721343wma.95.1488842588934; Mon, 06 Mar 2017 15:23:08 -0800 (PST) Received: from localhost (79.156.189.80.dyn.plus.net. [80.189.156.79]) by smtp.googlemail.com with ESMTPSA id b10sm16593064wmi.34.2017.03.06.15.23.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 06 Mar 2017 15:23:08 -0800 (PST) References: <877f4lzztn.fsf@gmail.com> <87efyavfs8.fsf@gnu.org> User-agent: mu4e 0.9.18; emacs 25.1.1 From: Myles English To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: help-guix Subject: Re: guix offload, (test returned #) In-reply-to: <87efyavfs8.fsf@gnu.org> Date: Mon, 06 Mar 2017 23:23:01 +0000 Message-ID: <878toim1m2.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ludo', on [2017-03-06] at 10:52 Ludovic Court=C3=A8s writes: > Myles English skribis: > >> Two hosts, setup the same as far as I can see, behave differently when >> trying to offload builds, any idea how I can get more information on >> what the # might indicate? Looking at >> guix/scripts/offload.scm:551 suggests the result is not a string. >> >> $ guix offload test >> guix offload: testing 2 build machines defined in '/etc/guix/machines.sc= m'... >> guix offload: 'host1.mydomain.co.uk' is running guile (GNU Guile) 2.0.13 >> guix offload: 'host2.mydomain.co.uk' is running guile (GNU Guile) 2.0.13 >> guix offload: Guix is usable on 'host1.mydomain.co.uk' (test returned "/= gnu/store/883yjkl46dxw9mzykykmbs0yzwyxm17z-test") >> guix offload: error: failed to use Guix module on 'host2.mydomain.co.uk' >> (test returned #) > > What you see here most likely means that host2 threw an exception while > executing this code: > > http://git.savannah.gnu.org/cgit/guix.git/tree/guix/scripts/offload.scm= #n543 > > The reason could be: > > 1. That the (guix =E2=80=A6) modules could not be found in the search p= ath > (your tests suggest this is not the case); > > 2. That an exception was thrown, for instance because the =E2=80=98with= -store=E2=80=99 > form failed to connect to the daemon on that machine (is the daemon > running on that machine? Is it listening on > /var/guix/daemon-socket/socket and not some other place?). Yes, that was probably the problem. I have since updated the host systems, rebooted, restarted the daemons and now it works, thanks. > We should definitely improve that and provide details about the > exception, at least. Yes, I agree, because 'guix offload test' should provide useful details when it fails and not just when it succeeds. Myles --=-=-=-- From unknown Sat Sep 20 06:39:30 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: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#26008: closed (Re: bug#26008: =?UTF-8?Q?=E2=80=98guix?= offload =?UTF-8?Q?test=E2=80=99?= provides insufficient details upon failure) Message-ID: References: <87a7xhonlo.fsf@gnu.org> <87innlfj0o.fsf@gnu.org> X-Gnu-PR-Message: they-closed 26008 X-Gnu-PR-Package: guix Reply-To: 26008@debbugs.gnu.org Date: Sat, 13 Jan 2018 14:12:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1515852723-23028-1" This is a multi-part message in MIME format... ------------=_1515852723-23028-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #26008: =E2=80=98guix offload test=E2=80=99 provides insufficient details u= pon failure 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 26008@debbugs.gnu.org. --=20 26008: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D26008 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1515852723-23028-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 26008-done) by debbugs.gnu.org; 13 Jan 2018 14:11:19 +0000 Received: from localhost ([127.0.0.1]:54510 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eaMWl-0005yS-JZ for submit@debbugs.gnu.org; Sat, 13 Jan 2018 09:11:19 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:49500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eaMWj-0005yK-FC for 26008-done@debbugs.gnu.org; Sat, 13 Jan 2018 09:11:17 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 006C4109E0 for <26008-done@debbugs.gnu.org>; Sat, 13 Jan 2018 15:11:17 +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 5R8PXc9e8ZgG for <26008-done@debbugs.gnu.org>; Sat, 13 Jan 2018 15:11:16 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 09B06109DE for <26008-done@debbugs.gnu.org>; Sat, 13 Jan 2018 15:11:15 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: 26008-done@debbugs.gnu.org Subject: Re: bug#26008: =?utf-8?Q?=E2=80=98guix?= offload =?utf-8?Q?test?= =?utf-8?Q?=E2=80=99?= provides insufficient details upon failure References: <87innlfj0o.fsf@gnu.org> Date: Sat, 13 Jan 2018 15:11:15 +0100 In-Reply-To: <87innlfj0o.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 07 Mar 2017 12:01:11 +0100") Message-ID: <87a7xhonlo.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: 26008-done 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 (+) Hi, ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > on [2017-03-06] at 10:52 Ludovic Court=C3=A8s writes: > >> Myles English skribis: >> >>> Two hosts, setup the same as far as I can see, behave differently when >>> trying to offload builds, any idea how I can get more information on >>> what the # might indicate? Looking at >>> guix/scripts/offload.scm:551 suggests the result is not a string. >>> >>> $ guix offload test >>> guix offload: testing 2 build machines defined in '/etc/guix/machines.s= cm'... >>> guix offload: 'host1.mydomain.co.uk' is running guile (GNU Guile) 2.0.13 >>> guix offload: 'host2.mydomain.co.uk' is running guile (GNU Guile) 2.0.13 >>> guix offload: Guix is usable on 'host1.mydomain.co.uk' (test returned "= /gnu/store/883yjkl46dxw9mzykykmbs0yzwyxm17z-test") >>> guix offload: error: failed to use Guix module on 'host2.mydomain.co.uk' >>> (test returned #) >> >> What you see here most likely means that host2 threw an exception while >> executing this code: >> >> http://git.savannah.gnu.org/cgit/guix.git/tree/guix/scripts/offload.sc= m#n543 >> >> The reason could be: >> >> 1. That the (guix =E2=80=A6) modules could not be found in the search = path >> (your tests suggest this is not the case); >> >> 2. That an exception was thrown, for instance because the =E2=80=98wit= h-store=E2=80=99 >> form failed to connect to the daemon on that machine (is the daemon >> running on that machine? Is it listening on >> /var/guix/daemon-socket/socket and not some other place?). > > Yes, that was probably the problem. I have since updated the host > systems, rebooted, restarted the daemons and now it works, thanks. > >> We should definitely improve that and provide details about the >> exception, at least. > > Yes, I agree, because 'guix offload test' should provide useful details > when it fails and not just when it succeeds. Commit 4eb0f9ae05a9bf20fb91c49b39bebc687265c5e5 improves that. Ludo=E2=80=99. ------------=_1515852723-23028-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 7 Mar 2017 11:01:30 +0000 Received: from localhost ([127.0.0.1]:43642 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1clCrx-0003MQ-Jy for submit@debbugs.gnu.org; Tue, 07 Mar 2017 06:01:30 -0500 Received: from eggs.gnu.org ([208.118.235.92]:57285) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1clCrv-0003MC-OB for submit@debbugs.gnu.org; Tue, 07 Mar 2017 06:01:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1clCrp-0004qA-FZ for submit@debbugs.gnu.org; Tue, 07 Mar 2017 06:01:22 -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.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33055) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1clCrp-0004q6-D0 for submit@debbugs.gnu.org; Tue, 07 Mar 2017 06:01:21 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48216) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1clCrn-0008AJ-Rk for bug-guix@gnu.org; Tue, 07 Mar 2017 06:01:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1clCri-0004mi-0U for bug-guix@gnu.org; Tue, 07 Mar 2017 06:01:19 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34968) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1clCrh-0004mV-TO for bug-guix@gnu.org; Tue, 07 Mar 2017 06:01:13 -0500 Received: from [193.50.110.248] (port=50840 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1clCrh-0004hY-9j for bug-guix@gnu.org; Tue, 07 Mar 2017 06:01:13 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: bug-guix@gnu.org Subject: =?utf-8?Q?=E2=80=98guix?= offload =?utf-8?Q?test=E2=80=99?= provides insufficient details upon failure X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 17 =?utf-8?Q?Vent=C3=B4se?= an 225 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-unknown-linux-gnu Date: Tue, 07 Mar 2017 12:01:11 +0100 Message-ID: <87innlfj0o.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.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: -5.0 (-----) --=-=-= Content-Type: text/plain See message below. --=-=-= Content-Type: message/rfc822 Content-Disposition: inline Return-Path: Received: from solo.fdn.fr ([unix socket]) by solo (Cyrus v2.4.16-Debian-2.4.16-4+deb7u2) with LMTPA; Tue, 07 Mar 2017 00:23:19 +0100 X-Sieve: CMU Sieve 2.4 Received: by solo.fdn.fr (Postfix) id 7FA60D0B87; Tue, 7 Mar 2017 00:23:19 +0100 (CET) Delivered-To: ludovic.courtes@fdn.fr Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:4830:134:3::10]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by solo.fdn.fr (Postfix) with ESMTPS id 5402AD0B5E for ; Tue, 7 Mar 2017 00:23:19 +0100 (CET) Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cl1yH-0001lq-Fm for ludovic.courtes@fdn.fr; Mon, 06 Mar 2017 18:23:18 -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.5 required=5.0 tests=BAYES_05,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55646) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cl1yH-0001li-Cx for ludovic.courtes@fdn.fr; Mon, 06 Mar 2017 18:23:17 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49677) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cl1yG-0002Dr-3P for ludo@gnu.org; Mon, 06 Mar 2017 18:23:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cl1yB-0001lA-SP for ludo@gnu.org; Mon, 06 Mar 2017 18:23:14 -0500 Received: from mail-wm0-x236.google.com ([2a00:1450:400c:c09::236]:35481) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cl1yB-0001ko-ML; Mon, 06 Mar 2017 18:23:11 -0500 Received: by mail-wm0-x236.google.com with SMTP id v186so76587140wmd.0; Mon, 06 Mar 2017 15:23:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-transfer-encoding; bh=mj7gcmimGSoJElEYtepJYacFVt73UGZ2t6OVGz+6qTI=; b=UoH9XVt2TTqt0BrjPFC5maY4dHZkRN2ZKdV/EI7hVHih6e13d+bwkVRymLER2ERlTn nQH8CuSHqN3GJRm+M/CNmL+1rghhe2TdmXkOcBHgqG41Ui24XdQCN87P2ZPjyuf5q7wj pWahf4fyz/hoDWja72X39xusGro8O5UVGZi/EC/vvsgjKT3+PTobz0k9HDh4OfjdIERm FetjRkCzPBoHiETS5ZY2US4LfOVNg5JnttxsaZ/LtNJ9uUK+rRi+pyJoNxkuQ9TDzvhW jruXCY/OkFr6SJSWxXtpAgvHcV9h2n195/ifVQZAG7iQ5K4FGykMfmc0lIU/EDZ4s8JT bVcg== 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=mj7gcmimGSoJElEYtepJYacFVt73UGZ2t6OVGz+6qTI=; b=InZK6qYLStoWsF+F8AVsrBcN8CJQg7x/RdBLiFdA3jssmYlspCVO/z/33nK/QyaT56 yRiBEfbRTFx0lxTWeambAqVu4YXxNkBXYSfFRk6HmtlsjSOH6yfNpDunTNOw0d0rWmTk TqKlzIQBAIaSbMxzdcOh97UuB8YmjXfLUSwkW3c0WiddqmPqF7mwAwJnHPhfL9U+LTPY perePZc0HR44xefQTAUbh3U7Sw5o8B8RX4D/jxBw1nvIyBYBq4/lM4t69lfG4OoAtO2p aE07cKrCT0Dz+KDUXzCIzwRZSHEA+g+Yn2e/lvJP2zahyoaAWjO1Nck/SRXNAY88d9ly zjMA== X-Gm-Message-State: AMke39lP+xN1NsRNEyLfYj61ISFGNe49okN4gSKUshK2/384bhnIjfSy03SHC7pItFRh5A== X-Received: by 10.28.63.5 with SMTP id m5mr15721343wma.95.1488842588934; Mon, 06 Mar 2017 15:23:08 -0800 (PST) Received: from localhost (79.156.189.80.dyn.plus.net. [80.189.156.79]) by smtp.googlemail.com with ESMTPSA id b10sm16593064wmi.34.2017.03.06.15.23.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 06 Mar 2017 15:23:08 -0800 (PST) References: <877f4lzztn.fsf@gmail.com> <87efyavfs8.fsf@gnu.org> User-agent: mu4e 0.9.18; emacs 25.1.1 From: Myles English To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: help-guix Subject: Re: guix offload, (test returned #) In-reply-to: <87efyavfs8.fsf@gnu.org> Date: Mon, 06 Mar 2017 23:23:01 +0000 Message-ID: <878toim1m2.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ludo', on [2017-03-06] at 10:52 Ludovic Court=C3=A8s writes: > Myles English skribis: > >> Two hosts, setup the same as far as I can see, behave differently when >> trying to offload builds, any idea how I can get more information on >> what the # might indicate? Looking at >> guix/scripts/offload.scm:551 suggests the result is not a string. >> >> $ guix offload test >> guix offload: testing 2 build machines defined in '/etc/guix/machines.sc= m'... >> guix offload: 'host1.mydomain.co.uk' is running guile (GNU Guile) 2.0.13 >> guix offload: 'host2.mydomain.co.uk' is running guile (GNU Guile) 2.0.13 >> guix offload: Guix is usable on 'host1.mydomain.co.uk' (test returned "/= gnu/store/883yjkl46dxw9mzykykmbs0yzwyxm17z-test") >> guix offload: error: failed to use Guix module on 'host2.mydomain.co.uk' >> (test returned #) > > What you see here most likely means that host2 threw an exception while > executing this code: > > http://git.savannah.gnu.org/cgit/guix.git/tree/guix/scripts/offload.scm= #n543 > > The reason could be: > > 1. That the (guix =E2=80=A6) modules could not be found in the search p= ath > (your tests suggest this is not the case); > > 2. That an exception was thrown, for instance because the =E2=80=98with= -store=E2=80=99 > form failed to connect to the daemon on that machine (is the daemon > running on that machine? Is it listening on > /var/guix/daemon-socket/socket and not some other place?). Yes, that was probably the problem. I have since updated the host systems, rebooted, restarted the daemons and now it works, thanks. > We should definitely improve that and provide details about the > exception, at least. Yes, I agree, because 'guix offload test' should provide useful details when it fails and not just when it succeeds. Myles --=-=-=-- ------------=_1515852723-23028-1--