From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id UEBwLL++dF//IQAA0tVLHw (envelope-from ) for ; Wed, 30 Sep 2020 17:22:07 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id +AlOKL++dF+uWAAA1q6Kng (envelope-from ) for ; Wed, 30 Sep 2020 17:22:07 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A826B9400EF for ; Wed, 30 Sep 2020 17:22:06 +0000 (UTC) Received: from localhost ([::1]:53244 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kNfno-0005Br-5P for larch@yhetil.org; Wed, 30 Sep 2020 13:22:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48410) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kNflq-0003AU-JE for bug-guix@gnu.org; Wed, 30 Sep 2020 13:20:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49663) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kNflq-0001fk-9U for bug-guix@gnu.org; Wed, 30 Sep 2020 13:20:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kNflq-00027q-3a for bug-guix@gnu.org; Wed, 30 Sep 2020 13:20:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#43518: Guix substitute crash in procedure raise-exception: wrong type agument in position 1: #f Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 30 Sep 2020 17:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43518 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Received: via spool by 43518-submit@debbugs.gnu.org id=B43518.16014863838141 (code B ref 43518); Wed, 30 Sep 2020 17:20:02 +0000 Received: (at 43518) by debbugs.gnu.org; 30 Sep 2020 17:19:43 +0000 Received: from localhost ([127.0.0.1]:32976 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNflX-00027F-JK for submit@debbugs.gnu.org; Wed, 30 Sep 2020 13:19:43 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNflW-000272-07 for 43518@debbugs.gnu.org; Wed, 30 Sep 2020 13:19:42 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38819) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kNflQ-0001e9-OS; Wed, 30 Sep 2020 13:19:36 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=59182 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kNflQ-0004Jm-9u; Wed, 30 Sep 2020 13:19:36 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87imc9y8hq.fsf@gmail.com> <873630plg1.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 9 =?UTF-8?Q?Vend=C3=A9miaire?= an 229 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-pc-linux-gnu Date: Wed, 30 Sep 2020 19:19:34 +0200 In-Reply-To: <873630plg1.fsf@gmail.com> (Maxim Cournoyer's message of "Tue, 29 Sep 2020 13:00:30 -0400") Message-ID: <87wo0bxjvd.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 43518@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -1.51 X-TUID: qEDCEmf6CeCX Hi, Maxim Cournoyer skribis: > downloading from https://ci.guix.gnu.org/nar/6m9zimmw8p6gbc1yfbg454c1r587= b7h4-gcc-10.2.0.tar.xz ... [=E2=80=A6] > gcc-10.2.0.tar.xz 74.3MiB 1.1MiB/s = 00:25 [####### ] 39.1%Backtrace: [=E2=80=A6] > In unknown file: > 5 (display "@ substituter-succeeded /gnu/store/r06j3ms57z4mzfp= dzfclsi3i9hr4184g-module-imp=E2=80=A6" =E2=80=A6) > In guix/status.scm: > 699:16 4 (write! _ _ _) > 613:6 3 (_ (download-progress "/gnu/store/6m9zimmw8p6gbc1yfbg454c1r5= 87b7h4-gcc-10.2.0.tar.xz" # =E2=80=A6) =E2=80=A6) > In guix/progress.scm: > 213:14 2 (display-download-progress "6m9zimmw8p6gbc1yfbg454c1r58@" _ = #:start-time _ #:transferred _ =E2=80=A6) > In ice-9/boot-9.scm: > 1669:16 1 (raise-exception _ #:continuable? _) > 1669:16 0 (raise-exception _ #:continuable? _) > > ice-9/boot-9.scm:1669:16: In procedure raise-exception: > In procedure =3D: Wrong type argument in position 1: #f If you have a case that=E2=80=99s reproducible, please take advantage of it= and add =E2=80=98pk=E2=80=99 calls in (guix progress) to see what happens. Her= e it seems that =E2=80=98transferred=E2=80=99 (in =E2=80=98display-download-progress= =E2=80=99) is #f. The #f would come from this clause in (guix status): ('download-progress item uri (=3D string->number size) (=3D string->number transferred)) ;<- here That in turn comes from =E2=80=98progress-reporter/trace=E2=80=99, called f= rom (guix scripts substitute). It looks like this issue happens when max-jobs is (noticeably) greater than 1, as if the client was receiving intermingled =E2=80=9C@ download-progress=E2=80=9D traces, and thus not getting the right =E2=80=98= transferred=E2=80=99 value. Could you try to reproduce it while =E2=80=98guix=E2=80=99 is running under= strace? Like: strace -o log -s 200 guix build whatever --max-jobs=3D20 ? Then, if you reproduce the error, we=E2=80=99ll look for intermingled trace= s in the log. Thanks, Ludo=E2=80=99.