From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 22 05:48:06 2022 Received: (at 57978) by debbugs.gnu.org; 22 Sep 2022 09:48:06 +0000 Received: from localhost ([127.0.0.1]:36440 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obIoQ-0002VJ-8c for submit@debbugs.gnu.org; Thu, 22 Sep 2022 05:48:06 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60022) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obIoO-0002UX-9I for 57978@debbugs.gnu.org; Thu, 22 Sep 2022 05:48:04 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44350) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obIoI-0003ke-SP; Thu, 22 Sep 2022 05:47:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=6Jeh/1SRq4SYlNTHxgYSuLmQwKb+qITlRmB0O1T6ryc=; b=olLdk2ehNAje+kG9BBpR lWEPcJn1MqPag6vomVO5E69+qEfVl0Lyf++u5vIirpI1POqQkEpKUXEaFJ7ufvmLu3vM3r6eVrmbL WubMypi0w36LuiG41Qfp8Gyx9znB++UX4mSHv/29Brvcv84Q62vWz1NJ+/9gVenPmW2RCMKN8cy4Q 72cx7IpdvaGU2OnAlvsUTudABCsmDpLD53HvZt3FnqOZbxvM4yuRTRXyyySgutNOrUdz4ku6jr95S m2EzGrYHCmFnh8s1ueTUylDlOLG59VaW45OucLW1ps7tz8CgmY+EzQpszPvcNiYLVTlWejecAeJ2N HFzeaEcZ+29FjA==; Received: from [193.50.110.164] (port=60590 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obIoI-0003RC-E0; Thu, 22 Sep 2022 05:47:58 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Attila Lendvai Subject: Re: bug#57978: the fallback machanism for substitute servers doesn't work? References: Date: Thu, 22 Sep 2022 11:47:56 +0200 In-Reply-To: (Attila Lendvai's message of "Wed, 21 Sep 2022 13:11:06 +0000") Message-ID: <875yhfivub.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.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: 57978 Cc: 57978@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, Attila Lendvai skribis: > guix substitute: warning: ci.guix.gnu.org: connection failed: No route to= host > qemu-minimal-7.1.0-doc 3.4MiB = 876.6MiB/s 00:00 [#= #################] 100.0% > guix substitute: error: connect*: No route to host > substitution of /gnu/store/7czrnkybr466v69wdj6i2sn6vpsg0ks3-cdrkit-libre-= 1.1.11 failed > guix system: error: corrupt input while restoring archive from # I observed the same yesterday when ci.guix was down. Note that the following command, where 203.* is unroutable, does not reproduce it: guix build --substitute-urls=3D"http://203.0.113.1 https://ci.guix.gnu.or= g" \ --no-grafts pandoc # pick a package not in store So I believe what we experienced yesterday goes along these lines: 1. We had cached narinfos for ci.guix available locally so the daemon assumed it could go ahead and download from ci.guix; 2. When =E2=80=98guix substitute --substitute=E2=80=99 when to download s= tuff from ci.guix, which it assumed was possible because there was a valid narinfo for that, it didn=E2=80=99t handle the connection failure. (T= he same happens if you get, say, 404 while substituting even though you have a valid substitute at hand.) Trying to come up with a fix=E2=80=A6 Ludo=E2=80=99.