From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: guix offload, (test returned #) Date: Mon, 06 Mar 2017 11:52:07 +0100 Message-ID: <87efyavfs8.fsf@gnu.org> References: <877f4lzztn.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43246) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ckqFT-0007UZ-Jj for help-guix@gnu.org; Mon, 06 Mar 2017 05:52:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ckqFP-0005L1-Kp for help-guix@gnu.org; Mon, 06 Mar 2017 05:52:15 -0500 In-Reply-To: <877f4lzztn.fsf@gmail.com> (Myles English's message of "Sun, 19 Feb 2017 20:32:36 +0000") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Myles English Cc: help-guix Hi Myles, 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.scm= '... > 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 "/g= nu/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#n= 543 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=98with-s= tore=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?). We should definitely improve that and provide details about the exception, at least. HTH! Ludo=E2=80=99.