From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id OwQaCPj//l+XGAAA0tVLHw (envelope-from ) for ; Wed, 13 Jan 2021 14:13:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id IIiLA/j//l+TcAAAbx9fmQ (envelope-from ) for ; Wed, 13 Jan 2021 14:13:12 +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 643099403E8 for ; Wed, 13 Jan 2021 14:13:11 +0000 (UTC) Received: from localhost ([::1]:50546 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzgtZ-0000e9-LQ for larch@yhetil.org; Wed, 13 Jan 2021 09:13:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48174) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzgjp-0001KU-Q2 for bug-guix@gnu.org; Wed, 13 Jan 2021 09:03:09 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:51403) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kzgjl-0002Bl-Q5 for bug-guix@gnu.org; Wed, 13 Jan 2021 09:03:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kzgjl-00020x-LK; Wed, 13 Jan 2021 09:03:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#45828: guix build: error: got unexpected path `Backtrace:' from substituter Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 13 Jan 2021 14:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45828 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Christopher Baines Received: via spool by 45828-submit@debbugs.gnu.org id=B45828.16105465797734 (code B ref 45828); Wed, 13 Jan 2021 14:03:01 +0000 Received: (at 45828) by debbugs.gnu.org; 13 Jan 2021 14:02:59 +0000 Received: from localhost ([127.0.0.1]:34716 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzgji-00020g-PV for submit@debbugs.gnu.org; Wed, 13 Jan 2021 09:02:59 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54932) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzgjh-00020S-9B for 45828@debbugs.gnu.org; Wed, 13 Jan 2021 09:02:57 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56514) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzgjb-00029T-0m; Wed, 13 Jan 2021 09:02:51 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=38560 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kzgjZ-0001aZ-7U; Wed, 13 Jan 2021 09:02:50 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87turlai45.fsf@cbaines.net> Date: Wed, 13 Jan 2021 15:02:48 +0100 In-Reply-To: <87turlai45.fsf@cbaines.net> (Christopher Baines's message of "Tue, 12 Jan 2021 22:46:34 +0000") Message-ID: <87a6tdaq9j.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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 45828@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.86 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-Migadu-Queue-Id: 643099403E8 X-Spam-Score: -2.86 X-Migadu-Scanner: scn0.migadu.com X-TUID: Fytoe6FeOQmF Hi Chris, Christopher Baines skribis: > I might have managed to reproduce the error happening on the daemon > side: > > =E2=86=92 /gnu/store/4j8vn0gbqz5adj1y02nnwcfwmqsjgj8s-guix-1.2.0-6.799f06= 6/bin/guix substitute --query > info /gnu/store/3c01q1f16kljfry70qjg6cs6k8winfzg-guix-package-cache /gnu/= store/6lk8anal4s62gk3d30vgxppykbd5jcfj-guix-85e97c969 /gnu/store/9zl2zbh3q2= jnbfvxgnhw8j3f637ni7z4-guix-cli /gnu/store/ihricijvy16zwkd2n671xlyrn02sqhf9= -guix-manual /gnu/store/m3j427qnlp81vsdj3x9ds7s4i051r1vz-guix-system-tests = /gnu/store/mbv9j7wwqvwnr5awzbi126jdsj3h64h5-guix-packages /gnu/store/n2m1ay= 7kpa5f4fls4vvcy46ar1fdl0wk-guix-system /gnu/store/p4q9ajlb3l7x8xglqs6fflch2= iwjqwaj-guix-module-union /gnu/store/snhx33fgjj2xnc5vy96sr3c8jqw9c7s0-guix-= 85e97c969-modules /gnu/store/vnrlvz9pxl5qrpy5x8y51v6awz7yzn8q-guix-packages= -base /gnu/store/z4wj18vyzaas2yqb0577cc3japy4fi7z-guix-config /gnu/store/zd= jfbsj1a94vdbbg9r0cx4jcqnwxazxs-guix-translated-texinfo > Backtrace: > In ice-9/boot-9.scm: > 1736:10 5 (with-exception-handler _ _ #:unwind? _ # _) > In unknown file: > 4 (apply-smob/0 #) > In ice-9/boot-9.scm: > 718:2 3 (call-with-prompt _ _ #) > In ice-9/eval.scm: > 619:8 2 (_ #(#(#))) > In guix/ui.scm: > 2127:12 1 (run-guix-command _ . _) > In guix/scripts/substitute.scm: > 1256:4 0 (guix-substitute . _) > > guix/scripts/substitute.scm:1256:4: In procedure guix-substitute: > Throw to key `bad-response' with args `("Bad Response-Line: ~s" (""))'. It=E2=80=99s interesting that we=E2=80=99re not seeing 500 here, but a bad = response. I tried reproducing it locally (running =E2=80=9Csudo killall guix-daemon= =E2=80=9D after I had started =E2=80=9Cguix publish=E2=80=9D, and then running a command si= milar to the one above) but I failed: I get a proper 500 response, which =E2=80=98guix substitute=E2=80=99 gracefully interprets as a transient error. We could be defensive and catch 'bad-response. The problem is that there are other exceptions thrown by (web http) et al. and they=E2=80=99re = not quite documented so it=E2=80=99s not clear to me how to do it nicely. Thoughts? Ludo=E2=80=99.