From unknown Sat Jun 14 03:53:27 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#45828 <45828@debbugs.gnu.org> To: bug#45828 <45828@debbugs.gnu.org> Subject: Status: guix build: error: got unexpected path `Backtrace:' from substituter Reply-To: bug#45828 <45828@debbugs.gnu.org> Date: Sat, 14 Jun 2025 10:53:27 +0000 retitle 45828 guix build: error: got unexpected path `Backtrace:' from subs= tituter reassign 45828 guix submitter 45828 Leo Famulari severity 45828 serious tag 45828 fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 12 17:09:15 2021 Received: (at submit) by debbugs.gnu.org; 12 Jan 2021 22:09:15 +0000 Received: from localhost ([127.0.0.1]:33530 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzRql-00052M-0S for submit@debbugs.gnu.org; Tue, 12 Jan 2021 17:09:15 -0500 Received: from lists.gnu.org ([209.51.188.17]:38128) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzRqi-000527-3E for submit@debbugs.gnu.org; Tue, 12 Jan 2021 17:09:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54246) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzRqh-0004Ct-V7 for bug-guix@gnu.org; Tue, 12 Jan 2021 17:09:11 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:58151) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzRqg-0006Gh-D0 for bug-guix@gnu.org; Tue, 12 Jan 2021 17:09:11 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id D55F05C0605; Tue, 12 Jan 2021 17:09:09 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Tue, 12 Jan 2021 17:09:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:subject:message-id:mime-version:content-type; s= mesmtp; bh=S/G9tIgX628bjzFYnvGQFPeookAVoq1VGrQPPo7Ub3Q=; b=ok8md zN8WuxPWtVzeMQHAoMgb9FjeJlzbILDdlfaTlFIoJByrpEzjPQ9J3kgq6DNKQUCm +vOHfqWmQFWHK45A+eGqx7M4hPjc2zWvHY3woBeVOAmY3lVMfBP9naUPkQd1RmOJ 1x13s94a5wFGaOnBV/WxfxUPiZ4gi0oEBdWXLI= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=S/G9tIgX628bjzFYnvGQFPeookAVo q1VGrQPPo7Ub3Q=; b=dM4fMHjqmyUWga9nVjuY0mmKhlfLHxYMU2ac8WkJWdB/p ZjTdXYIPXYLzAqo6I69QlBqBxe0l8BtzMWDfWQCZ6mvReYqsfp0lNJ8N4S2m0mcd 1SDsPsjXy/vD38BzX3WdWcJrhrnLRsp0Ce2r0J5k6we6EMtbSo//BVTGRBmNsxhD X6+Fxmla2p9/eajPkOOUpTC+udKZzIsNkEvChrBuLZKIKl4v+7rdxPYh7VRllFie LYRZAdfFFtEo5+cEpsAdJRQ/ZD9ntXXLDHyoKMPyT5mz2zz0GX0br6UZvBM9eUTV Ln4kdflyeWwccTToAcNnkqYQELENGaXW+aewXpQvw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedukedrtddtgdduvdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkgggtugesthdtredttd dtvdenucfhrhhomhepnfgvohcuhfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhi rdhnrghmvgeqnecuggftrfgrthhtvghrnhepffehtdeffedtvdeuieefudeujedvkeehff euieejgfdvteelgeehgeefheehuddunecukfhppedutddtrdduuddrudeiledruddukeen ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvghose hfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: from localhost (pool-100-11-169-118.phlapa.fios.verizon.net [100.11.169.118]) by mail.messagingengine.com (Postfix) with ESMTPA id A01E724005C for ; Tue, 12 Jan 2021 17:09:09 -0500 (EST) Date: Tue, 12 Jan 2021 17:09:08 -0500 From: Leo Famulari To: bug-guix@gnu.org Subject: guix build: error: got unexpected path `Backtrace:' from substituter Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Received-SPF: pass client-ip=66.111.4.27; envelope-from=leo@famulari.name; helo=out3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Recently, many people on the #guix IRC channel reported frequent non-deterministic failures of any operation involving substitution, like this: ------ $ ./pre-inst-env guix build --no-grafts poezio mpdris2 sonata beets-bandcamp beets substitute: guix build: error: got unexpected path `Backtrace:' from substituter ------ `guix describe` reports commit b4384e61165623b16b77b8cab16c81423c6853ed for both my user's Guix and the guix-dameon. From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 12 17:12:23 2021 Received: (at control) by debbugs.gnu.org; 12 Jan 2021 22:12:23 +0000 Received: from localhost ([127.0.0.1]:33539 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzRtm-000583-Pk for submit@debbugs.gnu.org; Tue, 12 Jan 2021 17:12:23 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:33327) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzRtk-00057p-Dx for control@debbugs.gnu.org; Tue, 12 Jan 2021 17:12:21 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 424015C05B2; Tue, 12 Jan 2021 17:12:15 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Tue, 12 Jan 2021 17:12:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:message-id:mime-version:content-type; s=mesmtp; bh=EfsUK0BlKcgqtP8Xk9hPIu6FwV+TCf9pRs2x92wVMl4=; b=eJrubO4w5LRW SIl21z2B9MEzZi+VDM5KFOXZzy/6mID2pL6pV0kSTCPz8+B8s4qfEiNOXgM0bI48 PKTkealqUSgqpKhjrG+XxM8UPd/QHcWDsnp/39M/KQAcdkfLj416Pl76H2YZO5ZA zvvGWXW4SRF+BRm4p7DD1b06p/2sCOQ= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=EfsUK0BlKcgqtP8Xk9hPIu6FwV+TCf9pRs2x92wVM l4=; b=Zkz9cTKABWFCqXQI6IErz5uSKMr0XvsnEvyuoGbhy7EUm6NOrg5lS68tH 1B1nmTeUDylC9/DOgkQlvBOV4mt+ID90hUvOuuUKSs+L07HmZ1K1nrOS5YvIg/rp 5zLIo0IIdiW/4rpDL8qA4fD88ZT6t78QPpqc/s6uyzx9ls/WJ+lsos9NpZBY8vW5 KgIOLiKctxB5vRYq4vlhXJWzdbCjSjOwz2Haem2PdgkFbPj1JB7VLN8ksLEGsESz GAfX+H9L4HHZzVE6hOD0wd8OpGezfPG5Nkk+0GZ+UrRyEiwnSkHDjAQzE4M4YWPs 8/YYDn7I3cWbl02n+pbwOUEMh2AIw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedukedrtddtgdduvdeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucfgmhhpthihuchsuhgsjhgvtghtucdluddtmdenuc fjughrpeffhffvkfggtggusehttdertddttddvnecuhfhrohhmpefnvghoucfhrghmuhhl rghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmhgvqeenucggtffrrghtthgvrhhnpe fhjeeigfefvedvfeetheegledtkeevuddtgedtudeiteehteegvdefffduffefffenucfk phepuddttddruddurdduieelrdduudeknecuvehluhhsthgvrhfuihiivgeptdenucfrrg hrrghmpehmrghilhhfrhhomheplhgvohesfhgrmhhulhgrrhhirdhnrghmvg X-ME-Proxy: Received: from localhost (pool-100-11-169-118.phlapa.fios.verizon.net [100.11.169.118]) by mail.messagingengine.com (Postfix) with ESMTPA id ABC691080057 for ; Tue, 12 Jan 2021 17:12:14 -0500 (EST) Date: Tue, 12 Jan 2021 17:12:12 -0500 From: Leo Famulari To: control@debbugs.gnu.org Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Score: 3.3 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: severity 45828 grave Content analysis details: (3.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [66.111.4.27 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [66.111.4.27 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject 2.0 BODY_EMPTY No body text in message X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.3 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: severity 45828 grave Content analysis details: (2.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [66.111.4.27 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [66.111.4.27 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 2.0 BODY_EMPTY No body text in message severity 45828 grave From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 12 17:46:45 2021 Received: (at 45828) by debbugs.gnu.org; 12 Jan 2021 22:46:45 +0000 Received: from localhost ([127.0.0.1]:33594 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzSR3-0001hU-0Q for submit@debbugs.gnu.org; Tue, 12 Jan 2021 17:46:45 -0500 Received: from mira.cbaines.net ([212.71.252.8]:36544) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzSQy-0001hJ-Ov for 45828@debbugs.gnu.org; Tue, 12 Jan 2021 17:46:43 -0500 Received: from localhost (188.29.101.63.threembb.co.uk [188.29.101.63]) by mira.cbaines.net (Postfix) with ESMTPSA id A460227BC0F; Tue, 12 Jan 2021 22:46:39 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 7a2e2ca2; Tue, 12 Jan 2021 22:46:37 +0000 (UTC) References: User-agent: mu4e 1.4.14; emacs 27.1 From: Christopher Baines To: Leo Famulari Subject: Re: bug#45828: guix build: error: got unexpected path `Backtrace:' from substituter In-reply-to: Date: Tue, 12 Jan 2021 22:46:34 +0000 Message-ID: <87turlai45.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 45828 Cc: 45828@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Leo Famulari writes: > Recently, many people on the #guix IRC channel reported frequent > non-deterministic failures of any operation involving substitution, like > this: > > ------ > $ ./pre-inst-env guix build --no-grafts poezio mpdris2 sonata beets-bandc= amp beets > substitute:=20 > guix build: error: got unexpected path `Backtrace:' from substituter > ------ > > `guix describe` reports commit b4384e61165623b16b77b8cab16c81423c6853ed > for both my user's Guix and the guix-dameon. I might have managed to reproduce the error happening on the daemon side: =E2=86=92 /gnu/store/4j8vn0gbqz5adj1y02nnwcfwmqsjgj8s-guix-1.2.0-6.799f066/= bin/guix substitute --query info /gnu/store/3c01q1f16kljfry70qjg6cs6k8winfzg-guix-package-cache /gnu/st= ore/6lk8anal4s62gk3d30vgxppykbd5jcfj-guix-85e97c969 /gnu/store/9zl2zbh3q2jn= bfvxgnhw8j3f637ni7z4-guix-cli /gnu/store/ihricijvy16zwkd2n671xlyrn02sqhf9-g= uix-manual /gnu/store/m3j427qnlp81vsdj3x9ds7s4i051r1vz-guix-system-tests /g= nu/store/mbv9j7wwqvwnr5awzbi126jdsj3h64h5-guix-packages /gnu/store/n2m1ay7k= pa5f4fls4vvcy46ar1fdl0wk-guix-system /gnu/store/p4q9ajlb3l7x8xglqs6fflch2iw= jqwaj-guix-module-union /gnu/store/snhx33fgjj2xnc5vy96sr3c8jqw9c7s0-guix-85= e97c969-modules /gnu/store/vnrlvz9pxl5qrpy5x8y51v6awz7yzn8q-guix-packages-b= ase /gnu/store/z4wj18vyzaas2yqb0577cc3japy4fi7z-guix-config /gnu/store/zdjf= bsj1a94vdbbg9r0cx4jcqnwxazxs-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's hard to tell if that's actually consistent with the error though. Repeating the same test after the restart of guix-publish on ci.guix.gnu.org works without printing a backtrace. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl/+JspfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XeAGA//f4sK5f2/I62DkqPNEI9Td/F50nAklOV9 JVjuictagJ6FUwXyrFQ6nVpB19pFqYA9u5SI06YNq69jk9PzhHxOElZRJbb5GG+n ORr7GHRarVFlrsvmqT5fVuGgn1QY43E3mVpadi3UqOgzqh8JBw3HF04MZTY9GxSs woXX0OvHDGYpmJSIe0EHdwEA5yZeMFcXbwvQe55P0C/Pt5Tki3TlG425xhWJwXix cX2VpxPScQKMDySieQAXs5hHmPSsrqRYELnewVamOhuKJkhWwKaNDJYJOmFCEJss erbhKdFVYQZ6d3L8VdmkrtA4WB37HED7hOy6HDfB2blS3PE5N0k0N1SA5645g07w l5R/FhMkzx4DdcynO19AjcrrYnOJRxH29lISErpUBJzNoQbC1YuAd5ae/wogLmWi +/QoY/+cPFQ6BQPRXyADpFfD8BkFHiIPWvToqTkk2lI2c/ua4HsvWZ96SNn3wNS2 N+Rjy0bJ6oXOpTBps6KIy54CKAlpuH1Axg4qHMkdMevbCdWNIzVAeqtErVUZJN2G 8iaCSfbPBBi3Z0awxR4LBo/0BhzSD3Syj21iqh1jTHrC8xa2FngNpD3o4EJ+4WyP SlFUKSMksoMPEkESUCe3In1QXlq9s5OwzCYuolRzWIwK2VT0hDp3oJSCMrdBDZai pGrHJ4FN5sY= =nBGd -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 12 19:11:51 2021 Received: (at 45828) by debbugs.gnu.org; 13 Jan 2021 00:11:51 +0000 Received: from localhost ([127.0.0.1]:33745 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzTlO-00045O-UX for submit@debbugs.gnu.org; Tue, 12 Jan 2021 19:11:51 -0500 Received: from lepiller.eu ([89.234.186.109]:60282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzTlL-00045F-T8 for 45828@debbugs.gnu.org; Tue, 12 Jan 2021 19:11:49 -0500 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 459e96ce; Wed, 13 Jan 2021 00:11:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=dkim; bh=J3mYxA4yfWTi JJ5DYgpT5jfMqdSoWOavKxy3k8FG1hA=; b=WQ1JwAkp9ynEBkGtzj32btdH6qBK LaG06hlo70xjsrAybK7PLfgCJjuLy6ql01vvTKP0CNNvEmU9C+BwTFUJQDNSsadH 1w3cDYFZaN00xio2BDe8ii+J1GybJ/W3ny8MmcByC7qkqhbTGLU1VGjEMJbLFkSE vNQyZEuPuAPtIDirVvLILAVWCEQpwQorJrpIxdcpM7MF8admvtzzZCCYpSJS0MY2 iknH3j5WENHVfvLDBIBzugADt7lwnUI4Y626i1d4g8LHj3HiWvD9zxTjg5hhiPt1 cYJgstnoDxKJYoawCVxBzSD4l2LQa2PcxaLTfOd2aM+hHK3GvGuoef3mVQ== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id ca12f73c (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Wed, 13 Jan 2021 00:11:42 +0000 (UTC) Date: Wed, 13 Jan 2021 01:11:35 +0100 From: Julien Lepiller To: Christopher Baines Subject: Re: bug#45828: guix build: error: got unexpected path `Backtrace:' from substituter Message-ID: <20210113011135.760c4faa@tachikoma.lepiller.eu> In-Reply-To: <87turlai45.fsf@cbaines.net> References: <87turlai45.fsf@cbaines.net> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 45828 Cc: 45828@debbugs.gnu.org, Leo Famulari X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Le Tue, 12 Jan 2021 22:46:34 +0000, Christopher Baines a =C3=A9crit : > Leo Famulari writes: >=20 > > Recently, many people on the #guix IRC channel reported frequent > > non-deterministic failures of any operation involving substitution, > > like this: > > > > ------ > > $ ./pre-inst-env guix build --no-grafts poezio mpdris2 sonata > > beets-bandcamp beets substitute:=20 > > guix build: error: got unexpected path `Backtrace:' from substituter > > ------ > > > > `guix describe` reports commit > > b4384e61165623b16b77b8cab16c81423c6853ed for both my user's Guix > > and the guix-dameon. =20 >=20 > I might have managed to reproduce the error happening on the daemon > side: >=20 > =E2=86=92 > /gnu/store/4j8vn0gbqz5adj1y02nnwcfwmqsjgj8s-guix-1.2.0-6.799f066/bin/guix > substitute --query info > /gnu/store/3c01q1f16kljfry70qjg6cs6k8winfzg-guix-package-cache > /gnu/store/6lk8anal4s62gk3d30vgxppykbd5jcfj-guix-85e97c969 > /gnu/store/9zl2zbh3q2jnbfvxgnhw8j3f637ni7z4-guix-cli > /gnu/store/ihricijvy16zwkd2n671xlyrn02sqhf9-guix-manual > /gnu/store/m3j427qnlp81vsdj3x9ds7s4i051r1vz-guix-system-tests > /gnu/store/mbv9j7wwqvwnr5awzbi126jdsj3h64h5-guix-packages > /gnu/store/n2m1ay7kpa5f4fls4vvcy46ar1fdl0wk-guix-system > /gnu/store/p4q9ajlb3l7x8xglqs6fflch2iwjqwaj-guix-module-union > /gnu/store/snhx33fgjj2xnc5vy96sr3c8jqw9c7s0-guix-85e97c969-modules > /gnu/store/vnrlvz9pxl5qrpy5x8y51v6awz7yzn8q-guix-packages-base > /gnu/store/z4wj18vyzaas2yqb0577cc3japy4fi7z-guix-config > /gnu/store/zdjfbsj1a94vdbbg9r0cx4jcqnwxazxs-guix-translated-texinfo > Backtrace: In ice-9/boot-9.scm: 1736:10 5 (with-exception-handler _ > _ #:unwind? _ # _) In unknown file: 4 (apply-smob/0 # 7f23d4f2e380>) In ice-9/boot-9.scm: 718:2 3 (call-with-prompt _ _ > 7f23d4f2e380>#) In ice-9/eval.s= cm: > 7f23d4f2e380>619:8 2 (_ #(#(# 7f23d4f2e380>7f23d4b70f00>))) In guix/ui.scm: 2127:12 1 > 7f23d4f2e380>7f23d4b70f00>(run-guix-command _ . _) In > 7f23d4f2e380>7f23d4b70f00>guix/scripts/substitute.scm: 1256:4 0 > 7f23d4f2e380>7f23d4b70f00>(guix-substitute . _) >=20 > guix/scripts/substitute.scm:1256:4: In procedure guix-substitute: > Throw to key `bad-response' with args `("Bad Response-Line: ~s" > (""))'. >=20 >=20 > It's hard to tell if that's actually consistent with the error > though. Repeating the same test after the restart of guix-publish on > ci.guix.gnu.org works without printing a backtrace. During the issue, I tried to manually check what berlin had to say: $ curl https://ci.guix.gnu.org/3c01q1f16kljfry70qjg6cs6k8winfzg.narinfo -D- HTTP/1.1 500 Internal Server Error Server: nginx Date: Tue, 12 Jan 2021 22:34:01 GMT Transfer-Encoding: chunked Connection: keep-alive and after the restart: $ curl https://ci.guix.gnu.org/3c01q1f16kljfry70qjg6cs6k8winfzg.narinfo -D- HTTP/1.1 404 Not Found Server: nginx Date: Tue, 12 Jan 2021 22:34:44 GMT Content-Type: text/plain;charset=3Dutf-8 Content-Length: 61 Connection: keep-alive Resource not found: /3c01q1f16kljfry70qjg6cs6k8winfzg.narinfo So I tried to learn more about what happens, so I put the first response in a file, `response`. I used netcat to provide the file over the network: nc -l -p 8080 < response then I tried the following: $ guix build /gnu/store/3c01q1f16kljfry70qjg6cs6k8winfzg-random --substitute-urls=3Dhttp://localhost:8080 substitute:=20 guix build: error: got unexpected path `Backtrace:' from substituter Then, I restarted the daemon to pass it this substitute url: # guix-daemon --build-users-group=3Dguixbuild --substitute-urls=3Dhttp://localhost:8080 and from another terminal: $ /gnu/store/wr0shvj2dy8h8w2m1pil9r9798ai6nyy-guix-command substitute --query info /gnu/store/3c01q1f16kljfry70qjg6cs6k8winfzg-guix-package-cache Backtrace: 2 (primitive-load "/gnu/store/wr0shvj2dy8h8w2m1pil9r9798a=E2=80= =A6") 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: In procedure =3D: Wrong type argument in position 1: #f So my backtrace is different. For some reason, it seems that guile cannot read anything from the body of that response, but I don't know what's happening: In the REPL, the following: ,m (guix scripts substitute) (call-with-input-file "response" (lambda (port) (let* ((r (read-response port)) (body (response-body-port r))) (pk 'body body 'r r) (get-u8 body)))) Gives a backtrace: ;;; (body # r #< version: (1 . 1) code: 500 reason-phrase: "Internal Server Error Server: nginx" headers: ((date . #) (transfer-encoding (chunked)) (connection keep-alive)) port: #>) ice-9/boot-9.scm:1669:16: In procedure raise-exception: In procedure =3D: Wrong type argument in position 1: #f In ice-9/ports.scm: 445:17 3 (call-with-input-file _ _ #:binary _ #:encoding _ # _) In unknown file: 2 (get-u8 #) In web/http.scm: 1978:17 1 (read! #vu8(115 99 104 101 109 101 64 40 103 117 105 =E2=80=A6= ) =E2=80=A6) In ice-9/boot-9.scm: 1669:16 0 (raise-exception _ #:continuable? _) HTH! From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 13 06:13:33 2021 Received: (at 45828) by debbugs.gnu.org; 13 Jan 2021 11:13:33 +0000 Received: from localhost ([127.0.0.1]:34498 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kze5h-0005Z9-5b for submit@debbugs.gnu.org; Wed, 13 Jan 2021 06:13:33 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41844) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kze5c-0005Yo-3z for 45828@debbugs.gnu.org; Wed, 13 Jan 2021 06:13:28 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54575) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kze5V-0001Iv-Lb; Wed, 13 Jan 2021 06:13:17 -0500 Received: from [2a01:e0a:19b:d9a0:1538:87ab:3a95:7600] (port=57752 helo=cervin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kze5T-0006iE-QN; Wed, 13 Jan 2021 06:13:16 -0500 From: Mathieu Othacehe To: Julien Lepiller Subject: Re: bug#45828: guix build: error: got unexpected path `Backtrace:' from substituter References: <87turlai45.fsf@cbaines.net> <20210113011135.760c4faa@tachikoma.lepiller.eu> Date: Wed, 13 Jan 2021 12:13:13 +0100 In-Reply-To: <20210113011135.760c4faa@tachikoma.lepiller.eu> (Julien Lepiller's message of "Wed, 13 Jan 2021 01:11:35 +0100") Message-ID: <87o8htum2e.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-Debbugs-Envelope-To: 45828 Cc: Christopher Baines , 45828@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello, There are errors in "/var/log/guix-publish.log" that could be the cause of this problem I think. --8<---------------cut here---------------start------------->8--- GET /7m6mlzh0d6nifdxhaij7varg4q7lqdj4.narinfo In guix/scripts/publish.scm: 482:4 7 (render-narinfo/cached # =E2=80=A6) 487:12 6 (_ . _) In guix/store.scm: 1021:9 5 (_ # "7m6mlzh0d6n=E2=80= =A6") 619:2 4 (write-buffered-output #) In unknown file: 3 (force-output #) In guix/store.scm: 917:4 2 (write #vu8(29 0 0 0 0 0 0 0 32 0 0 0 0 0 0 0 55 109 =E2=80=A6= ) =E2=80=A6) In unknown file: 1 (put-bytevector # #vu8(29 0 =E2=80=A6= ) =E2=80=A6) In ice-9/boot-9.scm: 1669:16 0 (raise-exception _ #:continuable? _) In procedure fport_write: Broken pipe --8<---------------cut here---------------end--------------->8--- Thanks, Mathieu From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 13 06:47:21 2021 Received: (at control) by debbugs.gnu.org; 13 Jan 2021 11:47:21 +0000 Received: from localhost ([127.0.0.1]:34534 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzecT-0002Hu-0d for submit@debbugs.gnu.org; Wed, 13 Jan 2021 06:47:21 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50114) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzecN-00029K-A2 for control@debbugs.gnu.org; Wed, 13 Jan 2021 06:47:19 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54962) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzecI-0000gS-3D for control@debbugs.gnu.org; Wed, 13 Jan 2021 06:47:10 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=37486 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kzecH-0004nL-IC for control@debbugs.gnu.org; Wed, 13 Jan 2021 06:47:09 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: control@debbugs.gnu.org Subject: Re: bug#45836: cups-service-type duplicates lp group Date: Wed, 13 Jan 2021 12:47:08 +0100 Message-ID: <87y2gxawjn.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) severity 45828 serious done From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 13 08:52:03 2021 Received: (at 45828) by debbugs.gnu.org; 13 Jan 2021 13:52:03 +0000 Received: from localhost ([127.0.0.1]:34701 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzgZ9-0001Xu-1k for submit@debbugs.gnu.org; Wed, 13 Jan 2021 08:52:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51894) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzgZ7-0001XR-BV for 45828@debbugs.gnu.org; Wed, 13 Jan 2021 08:52:01 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56348) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzgZ1-0005eV-Tt; Wed, 13 Jan 2021 08:51:55 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=38478 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kzgZ0-0002g1-Ih; Wed, 13 Jan 2021 08:51:54 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Mathieu Othacehe Subject: Re: bug#45828: guix build: error: got unexpected path `Backtrace:' from substituter References: <87turlai45.fsf@cbaines.net> <20210113011135.760c4faa@tachikoma.lepiller.eu> <87o8htum2e.fsf@gnu.org> Date: Wed, 13 Jan 2021 14:51:52 +0100 In-Reply-To: <87o8htum2e.fsf@gnu.org> (Mathieu Othacehe's message of "Wed, 13 Jan 2021 12:13:13 +0100") Message-ID: <87pn29aqrr.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-Debbugs-Envelope-To: 45828 Cc: Julien Lepiller , Christopher Baines , 45828@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Mathieu Othacehe skribis: > There are errors in "/var/log/guix-publish.log" that could be the cause > of this problem I think. > > GET /7m6mlzh0d6nifdxhaij7varg4q7lqdj4.narinfo > In guix/scripts/publish.scm: > 482:4 7 (render-narinfo/cached # =E2=80=A6) > 487:12 6 (_ . _) > In guix/store.scm: > 1021:9 5 (_ # "7m6mlzh0d6n=E2= =80=A6") > 619:2 4 (write-buffered-output #) > In unknown file: > 3 (force-output #) > In guix/store.scm: > 917:4 2 (write #vu8(29 0 0 0 0 0 0 0 32 0 0 0 0 0 0 0 55 109 =E2=80= =A6) =E2=80=A6) > In unknown file: > 1 (put-bytevector # #vu8(29 0 =E2=80= =A6) =E2=80=A6) > In ice-9/boot-9.scm: > 1669:16 0 (raise-exception _ #:continuable? _) > In procedure fport_write: Broken pipe As discussed on IRC today, the EPIPE above comes from talking to guix-daemon, meaning that the store connection shown in the backtrace has been closed by guix-daemon. This can happen if guix-daemon was restarted but =E2=80=98guix publish=E2= =80=99 wasn=E2=80=99t: =E2=80=98guix publish=E2=80=99 opens only one connection to the store at st= artup time, and then never tries to re-open it. There was an old bug on this topic: https://issues.guix.gnu.org/26705 Back then I marked it as =E2=80=98wontfix=E2=80=99 because: 1. Losing a connection to the daemon Does Not Happen=E2=84=A2 in normal conditions. Namely, upon =E2=80=98herd restart guix-daemon=E2=80=99, = =E2=80=98guix publish=E2=80=99 is automatically restarted. One situation where =E2= =80=98guix publish=E2=80=99 is not restarted is if one does =E2=80=9Ckillall guix= -daemon=E2=80=9D or similar. (Perhaps that=E2=80=99s something to fix in the Shepherd?) 2. Catching EPIPE in the right place is tricky. Basically we=E2=80=99d probably need to install a 'system-error handler around each RPC (and offer callers a way to choose the EPIPE handling strategy), which would incur additional overhead. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 13 08:52:53 2021 Received: (at 45828) by debbugs.gnu.org; 13 Jan 2021 13:52:53 +0000 Received: from localhost ([127.0.0.1]:34704 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzgZx-0001ZD-IY for submit@debbugs.gnu.org; Wed, 13 Jan 2021 08:52:53 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52150) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzgZw-0001Yz-1V for 45828@debbugs.gnu.org; Wed, 13 Jan 2021 08:52:52 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56359) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzgZq-00062w-7U; Wed, 13 Jan 2021 08:52:46 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=38480 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kzgZp-0002lE-AK; Wed, 13 Jan 2021 08:52:45 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Mathieu Othacehe Subject: Re: bug#45828: guix build: error: got unexpected path `Backtrace:' from substituter References: <87turlai45.fsf@cbaines.net> <20210113011135.760c4faa@tachikoma.lepiller.eu> <87o8htum2e.fsf@gnu.org> Date: Wed, 13 Jan 2021 14:52:43 +0100 In-Reply-To: <87o8htum2e.fsf@gnu.org> (Mathieu Othacehe's message of "Wed, 13 Jan 2021 12:13:13 +0100") Message-ID: <87im81aqqc.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-Debbugs-Envelope-To: 45828 Cc: Julien Lepiller , Christopher Baines , 45828@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) I forgot to mention: running =E2=80=9Csudo herd restart guix-publish=E2=80= =9D on berlin a couple of hours ago solved the immediate problem. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 13 09:02:59 2021 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: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Christopher Baines Subject: Re: bug#45828: guix build: error: got unexpected path `Backtrace:' from substituter 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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45828 Cc: 45828@debbugs.gnu.org, Leo Famulari X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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. From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 14 04:09:52 2021 Received: (at 45828) by debbugs.gnu.org; 14 Jan 2021 09:09:52 +0000 Received: from localhost ([127.0.0.1]:37139 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzydc-0005BY-93 for submit@debbugs.gnu.org; Thu, 14 Jan 2021 04:09:52 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51724) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzyda-0005BH-Nz for 45828@debbugs.gnu.org; Thu, 14 Jan 2021 04:09:51 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46968) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzydU-0005oD-6U; Thu, 14 Jan 2021 04:09:44 -0500 Received: from [2a01:e0a:19b:d9a0:1538:87ab:3a95:7600] (port=51944 helo=cervin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kzydT-0001W0-Ov; Thu, 14 Jan 2021 04:09:43 -0500 From: Mathieu Othacehe To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#45828: guix build: error: got unexpected path `Backtrace:' from substituter References: <87turlai45.fsf@cbaines.net> <20210113011135.760c4faa@tachikoma.lepiller.eu> <87o8htum2e.fsf@gnu.org> <87pn29aqrr.fsf@gnu.org> Date: Thu, 14 Jan 2021 10:09:41 +0100 In-Reply-To: <87pn29aqrr.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Wed, 13 Jan 2021 14:51:52 +0100") Message-ID: <87pn2751gq.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-Debbugs-Envelope-To: 45828 Cc: Julien Lepiller , Christopher Baines , 45828@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hey Ludo, > 1. Losing a connection to the daemon Does Not Happen=E2=84=A2 in normal > conditions. Namely, upon =E2=80=98herd restart guix-daemon=E2=80=99= , =E2=80=98guix > publish=E2=80=99 is automatically restarted. One situation where = =E2=80=98guix > publish=E2=80=99 is not restarted is if one does =E2=80=9Ckillall gu= ix-daemon=E2=80=9D or > similar. (Perhaps that=E2=80=99s something to fix in the Shepherd?) Thanks for explaining. That's probably what caused the issue, as I killed a bunch of guix-daemon forked processes that I suspected to be deadlocked. Maybe the Shepherd should indeed kill the whole process group and restart the service and its dependencies when the "guix-daemon" process or one of its child is killed. Thanks, Mathieu From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 19 08:47:06 2021 Received: (at control) by debbugs.gnu.org; 19 Jan 2021 13:47:06 +0000 Received: from localhost ([127.0.0.1]:49754 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l1rLd-0002cy-SS for submit@debbugs.gnu.org; Tue, 19 Jan 2021 08:47:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35882) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l1rLc-0002cQ-5T for control@debbugs.gnu.org; Tue, 19 Jan 2021 08:47:05 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51805) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l1rLW-0004Yw-UR for control@debbugs.gnu.org; Tue, 19 Jan 2021 08:46:58 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=42204 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l1rLV-0001VN-0i for control@debbugs.gnu.org; Tue, 19 Jan 2021 08:46:58 -0500 Date: Tue, 19 Jan 2021 14:46:54 +0100 Message-Id: <87o8hlhwdt.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #45828 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 45828 fixed close 45828 quit From unknown Sat Jun 14 03:53:27 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 17 Feb 2021 12:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator