From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id zGmxDkmTH2GKhgEAgWs5BA (envelope-from ) for ; Fri, 20 Aug 2021 13:34:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id iPTdCUmTH2GVQAAA1q6Kng (envelope-from ) for ; Fri, 20 Aug 2021 11:34:33 +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 5327CCA37 for ; Fri, 20 Aug 2021 13:34:32 +0200 (CEST) Received: from localhost ([::1]:34546 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mH2n9-0003ZO-8K for larch@yhetil.org; Fri, 20 Aug 2021 07:34:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59198) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mH2mh-0003Yu-HE for bug-guix@gnu.org; Fri, 20 Aug 2021 07:34:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49752) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mH2mg-00025E-TU for bug-guix@gnu.org; Fri, 20 Aug 2021 07:34:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mH2mg-0000UY-N5 for bug-guix@gnu.org; Fri, 20 Aug 2021 07:34:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#26035: bug#26833: `guix substitute --substitute' dies on unreachable substitute server Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 20 Aug 2021 11:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26035 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Received: via spool by 26035-submit@debbugs.gnu.org id=B26035.16294592061796 (code B ref 26035); Fri, 20 Aug 2021 11:34:02 +0000 Received: (at 26035) by debbugs.gnu.org; 20 Aug 2021 11:33:26 +0000 Received: from localhost ([127.0.0.1]:33055 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mH2m5-0000Su-Jl for submit@debbugs.gnu.org; Fri, 20 Aug 2021 07:33:25 -0400 Received: from mail-wr1-f47.google.com ([209.85.221.47]:36522) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mH2m3-0000Se-Qn; Fri, 20 Aug 2021 07:33:24 -0400 Received: by mail-wr1-f47.google.com with SMTP id k8so13800024wrn.3; Fri, 20 Aug 2021 04:33:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=XMeUaR2Gi+ZgfEnrUJncSnQ3jr1rDZ240dPgdmxL6lY=; b=f/M0DoGwely61tT9I+GouMn0RGjb4EUW4kkAaiTlJw30CIrxieGT12fLUt7fAR0c4u gzwRIxYZxh8c0fTJ0r5/sj3ggxv5aZroBqQfr6qsSvuNf/xnGhhqvmY+fPaJTd9Rugy4 MOlf4Uh04qyHi0L65MGd23tiKBlEjgf/ysxSD0ImQ5WIfg4z9KFxZwUUpm7CxcSfCnhT orLQWZZYLenvMzooUNn86w/+eU/2axJ0Taq2PQAUl363LW9qZO4R97QNBFmoBH+dIi75 wi609GD5TjvpWkdnxGwe4rtF/TpFuZON9mlXSlHATiVFRCGHPsIZBrrIjH2qcOv8R2jK Bsyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=XMeUaR2Gi+ZgfEnrUJncSnQ3jr1rDZ240dPgdmxL6lY=; b=t2WtkdaSss+xUukYJ7/d8JRUIyJGJugVYf2sA8cw36beplmHZr91B+9hG3qlEAOHtz rsm7I4eLJwOPFLufjLddWFJgg4OTomR0reSsavhsqvqn/Y1AnHYiVB8YRIV+oAmiWGbb ATDp2tIo4xpYXTEEgOIcp0guZmu5axWGwdvlD+SjpNbnhupXi5M+S1NBu7E8rxUcThgH yjesTfXRCi53/X4N4Wvk7j3stysrumKIcVdYfs+hShqkTMSfFWbLn5e3r+U3YW6XKWG9 TUun4X8zq2tsrFv+PENsklknaEn0R5WHThCcwNdC1m2XXm+aIqrM+/mxm+xAgyqIrU6z +hLQ== X-Gm-Message-State: AOAM530zHx/k5yqImafGE/UC4mJPcOb8akhMOObpHVQ5N54c/6XdpYZt Jtqavecb9NJJM3AOTkA/9cvgAfS1ecGk0Q== X-Google-Smtp-Source: ABdhPJxxpIQImXiHOjzVxVpOUkd0q1K00x5b/5cEo3EFTArvISVceLqxqQpqK6nE6TwWsjL+DD8SRA== X-Received: by 2002:adf:ebc8:: with SMTP id v8mr9573310wrn.153.1629459197840; Fri, 20 Aug 2021 04:33:17 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id l2sm5574734wrx.2.2021.08.20.04.33.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Aug 2021 04:33:17 -0700 (PDT) From: zimoun References: <87efvzz79y.fsf@gmail.com> Date: Fri, 20 Aug 2021 13:04:06 +0200 In-Reply-To: <87efvzz79y.fsf@gmail.com> (Maxim Cournoyer's message of "Mon, 08 May 2017 08:40:25 -0700") Message-ID: <86pmu8nzrt.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: 26035@debbugs.gnu.org, 26833@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1629459273; 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: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=XMeUaR2Gi+ZgfEnrUJncSnQ3jr1rDZ240dPgdmxL6lY=; b=ncnyeSqoxx1pmVtAqtZmtiTuXk2v53QzyIdkLUsDRlyU8aXCBEKUtpOkyru2nX12go0Vue tgeSQSSFR6t7/Hmvu99jwOyrL8ZgUaUR8o8W+hTPCtVStegA6NMFPy20S6CsCtjiOvU028 sFnDh0JRFPBonsxAz9F+ZAaWv9vUJ9Hi9dm/O/6LfHFk56cIHUOVj0LNOWEscKIDl2XpO4 pWmrWAvDomiEhYhOk60Km7jwY8pr/xe7phlu/y8QmQg5C5ZDyRfJBdEaHG/h/K8tDjTdVN DYBnKoUU5K0I2sRC46XlI931f7gmtrZMAHUOx5ebfECbmpr8NkLjVBs9AS0Hrw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1629459273; a=rsa-sha256; cv=none; b=km3JnskejjHRg+lq522kcE1wW5UpOfZgf951mDyKU+7ZejXLHmU5ohSWk1rChVxxubqpio pAwpNnLRwKWMlaDBLP6Inq/ssPPU638T1lhYq3aF3gkP4qA8y11FX1NrOQQ7gW7OzDIUTc YgSswkc7NuoU4U1AFt5tDuQyGF8aiPVDIm+jaXH9PpI9CinfAa8NviL5T+GA28th9xlbN6 pC15KXb6oIcGHnxLCkQD5e6wU2CIrr9/aAF9XMrmAstPQcN6HBpnVfw3m5c4AGvpWhs+Iw bqDTrXwTA7z0Pta/CJE24AtfLmFRU94fXggHD/3YCWYIoN8Y/3dIgmcmec0xWA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b="f/M0DoGw"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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-Spam-Score: -1.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b="f/M0DoGw"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 5327CCA37 X-Spam-Score: -1.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: YWknPXBEtgUR Hi Maxim, Your recent investigation bug#30290 [0] rings this bell: If it appears the same issue, maybe we could merge them. WDYT? On Mon, 08 May 2017 at 08:40, Maxim Cournoyer wrote: > Problem: When using multiple substitute servers, if one of the server is > temporarily unreachable, `guix substitute --substitute' will throw an > exception. Example (while bayfront server was down, attempting to build > a package only available locally (emacs-dvc)): > > guix package -i emacs-dvc > ;;; note: source file /home/maxim/.config/guix/latest/gnu/packages/emacs.scm > ;;; newer than compiled /home/maxim/.config/guix/latest/gnu/packages/emacs.go > ;;; note: source file /home/maxim/.config/guix/latest/gnu/packages/emacs.scm > ;;; newer than compiled /gnu/store/nqy9m6hhnkkfwr5wyq5bac96v9s9hc9i-guix-0.12.0-9.25a4/lib/guile/2.0/site-ccache/gnu/packages/emacs.go > ;;; note: source file /home/maxim/.config/guix/latest/gnu/packages/emacs.scm > ;;; newer than compiled /run/current-system/profile/lib/guile/2.0/site-ccache/gnu/packages/emacs.go > ;;; note: source file /home/maxim/.config/guix/latest/gnu/packages/emacs.scm > ;;; newer than compiled /home/maxim/.cache/guile/ccache/2.0-LE-8-2.0/home/maxim/src/guix/gnu/packages/emacs.scm.go > The following package will be installed: > emacs-dvc trunk-1.591 /gnu/store/sraxmg5qz9i4338s4ks7asgy4v68dgqs-emacs-dvc-trunk-1.591 >> > substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0% > substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0% > Downloading https://bayfront.guixsd.org/nar/gzip/6h7ym07plwxfn4zq53ld8zfpbx3a09al-at-spi2-core-2.22.0 (1.1MiB installed)... > guix substitute: error: connect: No route to host > killing process 13896 > killing process 13896: No such process > > Expected: Since multiple substitute servers are being used, rather than > bombing out on the first unavailable one, `guix substitute --substitute' > (or any other command implicated with substitute servers) should simply > warn about it before attempting the next one. > > Bonus point: `guix substitute --query' should also print a warning > message that substitute server X couldn't be reached (it doesn't print > anything about that right now, just skips to the next one). Cheers, simon 0: