From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#17591: Offload hook fails to send files Date: Sun, 25 May 2014 22:59:11 +0200 Message-ID: <87ppj1ziao.fsf@gnu.org> 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]:55361) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WofWb-0004OQ-UR for bug-guix@gnu.org; Sun, 25 May 2014 17:00:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WofWW-0006rn-6Z for bug-guix@gnu.org; Sun, 25 May 2014 17:00:09 -0400 Received: from debbugs.gnu.org ([140.186.70.43]:32843) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WofWW-0006pb-30 for bug-guix@gnu.org; Sun, 25 May 2014 17:00:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WofWV-0003hl-9J for bug-guix@gnu.org; Sun, 25 May 2014 17:00:03 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55309) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WofVo-0003ns-Th for bug-guix@gnu.org; Sun, 25 May 2014 16:59:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WofVj-0006IR-6i for bug-guix@gnu.org; Sun, 25 May 2014 16:59:20 -0400 Received: from hera.aquilenet.fr ([2a01:474::1]:40790) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WofVi-0006ID-OU for bug-guix@gnu.org; Sun, 25 May 2014 16:59:15 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 970392AE1 for ; Sun, 25 May 2014 22:59:12 +0200 (CEST) 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 NPdNWgKfFl+d for ; Sun, 25 May 2014 22:59:12 +0200 (CEST) Received: from pluto (reverse-83.fdn.fr [80.67.176.83]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 3F9932ADC for ; Sun, 25 May 2014 22:59:12 +0200 (CEST) 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-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: 17591@debbugs.gnu.org We=E2=80=99ve been observing things like this (as of v0.6-257-g2508358): --8<---------------cut here---------------start------------->8--- load on machine 'hydra.gnunet.org' is 0.52 (normalized: 0.17333333333333334) @ build-started /gnu/store/wcgr1ddm3d6c166pmf5r17yfw2566w0d-libstdc++-4.8.3= .drv - x86_64-linux /var/log/guix/drvs/wc//gr1ddm3d6c166pmf5r17yfw2566w0d-l= ibstdc++-4.8.3.drv.bz2 sending 2 store files to 'hydra.gnunet.org'... Backtrace: In ice-9/boot-9.scm: 157: 15 [catch #t # ...] In unknown file: ?: 14 [apply-smob/1 #] In ice-9/boot-9.scm: 63: 13 [call-with-prompt prompt0 ...] In ice-9/eval.scm: 432: 12 [eval # #] In ice-9/boot-9.scm: 2320: 11 [save-module-excursion #] 3966: 10 [#] 1645: 9 [%start-stack load-stack ...] 1650: 8 [#] In unknown file: ?: 7 [primitive-load "/usr/local/bin/guix"] In guix/ui.scm: 630: 6 [run-guix-command archive "--import"] In ice-9/boot-9.scm: 157: 5 [catch srfi-34 # ...] 157: 4 [catch system-error ...] In guix/scripts/archive.scm: 327: 3 [#] In guix/store.scm: 768: 2 [import-paths # #] 404: 1 [process-stderr # #] In unknown file: ?: 0 [bytevector-length #] ERROR: In procedure bytevector-length: ERROR: In procedure scm_c_bytevector_length: Wrong type argument in positio= n 1 (expecting bytevector): # builder for `/gnu/store/qbvyn4yq7m92mpp7wvwpx8gnk32863vw-binutils-2.24.drv'= failed to produce output path `/gnu/store/k1hdhfx3b2lkcwkch70fcj998jg7qs7y= -binutils-2.24' --8<---------------cut here---------------end--------------->8--- If we try later the very same thing, it typically succeeds: --8<---------------cut here---------------start------------->8--- @ build-started /gnu/store/wcgr1ddm3d6c166pmf5r17yfw2566w0d-libstdc++-4.8.3= .drv - x86_64-linux /var/log/guix/drvs/wc//gr1ddm3d6c166pmf5r17yfw2566w0d-l= ibstdc++-4.8.3.drv.bz2 sending 2 store files to 'hydra.gnunet.org'... importing path `/gnu/store/5wxd03bpxbw6g4ik9nvq5242p2h1f9zw-binutils-2.24-g= uile-builder' importing path `/gnu/store/qbvyn4yq7m92mpp7wvwpx8gnk32863vw-binutils-2.24.d= rv' offloading '/gnu/store/qbvyn4yq7m92mpp7wvwpx8gnk32863vw-binutils-2.24.drv' = to 'hydra.gnunet.org'... @ build-remote /gnu/store/qbvyn4yq7m92mpp7wvwpx8gnk32863vw-binutils-2.24.dr= v hydra.gnunet.org --8<---------------cut here---------------end--------------->8--- In the first case, =E2=80=98send-files=E2=80=99 appears to be failing early= , before the first store item has been transmitted, because the corresponding =E2=80=9Cimporting path=E2=80=9D message hasn=E2=80=99t been printed yet (i= t=E2=80=99s printed once the contents of the item being imported have been read=E2=80=93see local-store.= cc.) Ludo=E2=80=99.