From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxim Cournoyer Subject: bug#31824: guix offload test fails when the remote daemon uses --debug Date: Wed, 13 Jun 2018 21:39:25 -0400 Message-ID: <87bmcetacy.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]:52093) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTHF8-0001Qw-Ss for bug-guix@gnu.org; Wed, 13 Jun 2018 21:40:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fTHF4-00027g-9E for bug-guix@gnu.org; Wed, 13 Jun 2018 21:40:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:39218) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fTHF4-00027Y-44 for bug-guix@gnu.org; Wed, 13 Jun 2018 21:40:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fTHF3-0000Rc-SO for bug-guix@gnu.org; Wed, 13 Jun 2018 21:40:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51946) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTHEZ-0001Mo-35 for bug-guix@gnu.org; Wed, 13 Jun 2018 21:39:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fTHEV-0001tm-VO for bug-guix@gnu.org; Wed, 13 Jun 2018 21:39:31 -0400 Received: from mail-it0-x22c.google.com ([2607:f8b0:4001:c0b::22c]:40893) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fTHEV-0001ta-Qu for bug-guix@gnu.org; Wed, 13 Jun 2018 21:39:27 -0400 Received: by mail-it0-x22c.google.com with SMTP id 188-v6so6543231ita.5 for ; Wed, 13 Jun 2018 18:39:27 -0700 (PDT) Received: from apteryx ([45.72.197.2]) by smtp.gmail.com with ESMTPSA id u18-v6sm1420401iob.28.2018.06.13.18.39.25 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 13 Jun 2018 18:39:26 -0700 (PDT) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 31824@debbugs.gnu.org Hello, I don't know if it is worthy of reporting, but I discovered the following crash when attempting to use the '--debug' argument on the remote guix-daemon process and issuing 'guix offload test' on my local machine: --8<---------------cut here---------------start------------->8--- guix offload test guix offload: testing 1 build machines defined in '/etc/guix/machines.scm'.= .. guix offload: '192.168.1.105' is running guile (GNU Guile) 2.2.3 guix offload: error: remove evaluation on '(Evaluation failed scheme@(guile= -user)> ERROR: In procedure display: In procedure display: Wrong type argument in position 2: # ())' failed: FORMAT: error with call: (format # "~:[~*~;guix ~a= : ~]~aremove evaluation on '~a' failed:~{ ~s~}<=3D=3D=3D~%" offload offload= error: (Evaluation failed scheme@(guile-user)> ERROR: In procedure displa= y: In procedure display: Wrong type argument in position 2: # ()) =3D=3D=3D>) missing argument(s) Backtrace: 11 (apply-smob/1 #) In ice-9/boot-9.scm: 705:2 10 (call-with-prompt _ _ #) In ice-9/eval.scm: 619:8 9 (_ #(#(#))) In guix/ui.scm: 1501:12 8 (run-guix-command _ . _) In ice-9/boot-9.scm: 829:9 7 (catch srfi-34 # =E2=80=A6) 829:9 6 (catch system-error # =E2=80=A6) In guix/scripts/offload.scm: 637:6 5 (check-machine-availability _ _) In srfi/srfi-1.scm: 656:11 4 (for-each # =E2=80= =A6) In guix/scripts/offload.scm: 579:6 3 (_ _ . _) In ice-9/format.scm: 1590:19 2 (format # "~:[~*~;guix ~a: ~]=E2=80= =A6" =E2=80=A6) 197:20 1 (format:format-work "~:[~*~;guix ~a: ~]~aremove evalua=E2=80= =A6" =E2=80=A6) In unknown file: 0 (scm-error misc-error #f "~A" ("error in format") #f) ERROR: In procedure scm-error: error in format --8<---------------cut here---------------end--------------->8--- If I remove the --debug option, it still fails, but this is another bug: --8<---------------cut here---------------start------------->8--- guix offload test guix offload: testing 1 build machines defined in '/etc/guix/machines.scm'.= .. guix offload: '192.168.1.105' is running guile (GNU Guile) 2.2.3 guix offload: Guix is usable on '192.168.1.105' (test returned "/gnu/store/= 883yjkl46dxw9mzykykmbs0yzwyxm17z-test") sending 1 store item to '192.168.1.105'... exporting path `/gnu/store/3y6882jwsjc76bfv51j037dvyx5p99w3-export-test' guix offload: error: build failed: program `guix-authenticate' failed with exit code 1 --8<---------------cut here---------------end--------------->8--- Thanks, Maxim