From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id ADuCAYU1LGNzCwAAbAwnHQ (envelope-from ) for ; Thu, 22 Sep 2022 12:14:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id IEeTAIU1LGNHXAEAG6o9tA (envelope-from ) for ; Thu, 22 Sep 2022 12:14:29 +0200 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 694FF23AC7 for ; Thu, 22 Sep 2022 12:14:28 +0200 (CEST) Received: from localhost ([::1]:48928 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1obJDu-00062I-Hn for larch@yhetil.org; Thu, 22 Sep 2022 06:14:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41530) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obIpK-0003Y8-Gu for bug-guix@gnu.org; Thu, 22 Sep 2022 05:49:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37362) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1obIpK-0003wU-8V for bug-guix@gnu.org; Thu, 22 Sep 2022 05:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1obIpK-0002WY-3z for bug-guix@gnu.org; Thu, 22 Sep 2022 05:49:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#57978: the fallback machanism for substitute servers doesn't work? Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 22 Sep 2022 09:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57978 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Attila Lendvai Cc: 57978@debbugs.gnu.org Received: via spool by 57978-submit@debbugs.gnu.org id=B57978.16638400869633 (code B ref 57978); Thu, 22 Sep 2022 09:49:02 +0000 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= 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-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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1663841668; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=6Jeh/1SRq4SYlNTHxgYSuLmQwKb+qITlRmB0O1T6ryc=; b=egssEf/fpUmIhttYbckht3svK8pGF8ddYDdsNkH20gJIvH5bxIWwORTYcIiV0aVRrhRY6J KA2XPWILFYrxr2O3z+jiYWkcMD3mt7wQCDxmddOy5LW4p7DEPkXbSdp+zTbVUchmZcUNzl Q4N9kEdHJb+aUJWf0s4QDL6rKPSS6iAJU5gq+NL7mPshCTPtVCYFXpKPN7/ED98jmLPx9V bMjwMnb9B3R7NNS7zPbLWZATEJHZVSf5QliBa6NcnkCnfeUsue3UOaetxljrCcFwzXU65a VOVCLyur6r/9sFrD3VWBS/tRSWQzFd1wKiWqu4VYDjlr80z7dx6jE76mLC3tQQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663841668; a=rsa-sha256; cv=none; b=BxYaU69+SaxPtPVmmx5bnuKlBDllIAlYzqpLY/TewEwz0l4atr7wme/HxSnT7MsUyq6F5r ix2B300+trMmL3fb1ZffPFwZHX9mR4WmJF6Zcxf/YbTs3BwOW6b79sFi/zETPivxwGJrYV fKY1uACJI7JheXu3VN77hMPQo3cOKKF5ocvRQvtbVhvKyaADntHW2QMn9c4JHomlhQJTbn dziDk611QHUPov5StQE8vasWoTEfJ4iUGMviCBo1l9qSYCe5z3T0Dpz4KdtSEQfqRF1682 h9T8rtn6qMWlFiTH/E/Zi+H+XwvHDX0BD3q+HSUS2bcmfLxTbNvnfbUTr5ESSg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=olLdk2eh; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.74 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=olLdk2eh; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 694FF23AC7 X-Spam-Score: -2.74 X-Migadu-Scanner: scn1.migadu.com X-TUID: Z6OY6esR6YVh 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.