From unknown Thu Jun 12 08:38:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26035: guix pull does not handle url lists and unreachable requests Resent-From: ng0 Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 09 Mar 2017 13:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 26035 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 26035@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.148906695825040 (code B ref -1); Thu, 09 Mar 2017 13:43:01 +0000 Received: (at submit) by debbugs.gnu.org; 9 Mar 2017 13:42:38 +0000 Received: from localhost ([127.0.0.1]:47253 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1clyKz-0006Vo-Lh for submit@debbugs.gnu.org; Thu, 09 Mar 2017 08:42:37 -0500 Received: from eggs.gnu.org ([208.118.235.92]:47395) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1clyKy-0006Vb-AM for submit@debbugs.gnu.org; Thu, 09 Mar 2017 08:42:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1clyKs-0001MY-3M for submit@debbugs.gnu.org; Thu, 09 Mar 2017 08:42:31 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:50069) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1clyKr-0001MS-W3 for submit@debbugs.gnu.org; Thu, 09 Mar 2017 08:42:30 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38354) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1clyKq-0000UP-FV for bug-guix@gnu.org; Thu, 09 Mar 2017 08:42:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1clyKn-0001LC-Dj for bug-guix@gnu.org; Thu, 09 Mar 2017 08:42:28 -0500 Received: from latitanza.investici.org ([82.94.249.234]:35786) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1clyKn-0001Ke-2Q for bug-guix@gnu.org; Thu, 09 Mar 2017 08:42:25 -0500 Received: from [82.94.249.234] (latitanza [82.94.249.234]) (Authenticated sender: niasterisk@grrlz.net) by localhost (Postfix) with ESMTPSA id 8C01A1210CC for ; Thu, 9 Mar 2017 13:42:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cryptolab.net; s=stigmate; t=1489066942; bh=uLjjPrlR/k24Q7AZ1Qs8KRjiaixQFurDyxWPVBOegd8=; h=Date:From:To:Subject; b=GRWiqkKQQHYP4wn4iduU/Gbo5Vgi4f9K9fTXJDWW3xDtx2rueaw/tnzEq7GAe4FEx oYmKTL3kdkxmm2dPLI72SInpSESyp03F5IW/1LJD+WBySDO+Ipq+BHruwV3Mn9YO8y JCeI00IJ+9reobYMfI9w0RsDCs99WBegKS6wgUHs= Date: Thu, 9 Mar 2017 14:51:05 +0000 From: ng0 Message-ID: <20170309145105.snpnroqjm35omgow@abyayala> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) 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: -4.1 (----) efficient enough and sets the times out much too high Reply-To: In-Reply-To: When you configure a system to use bayfront, for example with these lines included in cons* of (services): (modify-services %base-services (guix-service-type config => (guix-configuration (inherit config) (substitute-urls (cons* "https://bayfront.guixsd.org" %default-substitute-urls)) (authorized-keys (cons* (plain-file "bayfront.guixsd.org.pub" (string-append "(public-key (ecc curve Ed25519) " "(q #8D156F295D24B0D9A86FA5741A840FF2" "D24F60F7B6C4134814AD55625971B394#)))")) %default-authorized-guix-keys)))))))) please consider that this does not reflect the actual indent and that I can't paste all of the config here, but those are the relevant parts, you will experience that: "guix package", and "guix system" (or guix buld?) query all listed subsitute urls, while "guix pull" only queries the first one. If the first one is experiencing issues (for example server is offline or can't handle requests for whatever reasons), the timeout is much too high. I had to cancel guix pull processes which tried to request from bayfront.guixsd.org for 9, 12, and 3 hours. As bayfront wasn't the only server, a switch should occur even with the guix pull part where substitute servers are queried before the build of the fetched master tarball starts. From unknown Thu Jun 12 08:38:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26035: guix pull does not handle url lists and unreachable requests Resent-From: ng0 Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 09 Mar 2017 13:54:01 +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: 26035@debbugs.gnu.org Received: via spool by 26035-submit@debbugs.gnu.org id=B26035.148906762526055 (code B ref 26035); Thu, 09 Mar 2017 13:54:01 +0000 Received: (at 26035) by debbugs.gnu.org; 9 Mar 2017 13:53:45 +0000 Received: from localhost ([127.0.0.1]:47258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1clyVk-0006mB-Oo for submit@debbugs.gnu.org; Thu, 09 Mar 2017 08:53:44 -0500 Received: from fragranza.investici.org ([178.175.144.26]:51758) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1clyVj-0006m3-Dz for 26035@debbugs.gnu.org; Thu, 09 Mar 2017 08:53:43 -0500 Received: from [178.175.144.26] (fragranza [178.175.144.26]) (Authenticated sender: niasterisk@grrlz.net) by localhost (Postfix) with ESMTPSA id 6F1D52C00EF for <26035@debbugs.gnu.org>; Thu, 9 Mar 2017 13:53:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cryptolab.net; s=stigmate; t=1489067621; bh=YozFDjeR0b0bSUqfvSJvE+HKt6F99uTKsNDOyFJuxYk=; h=Date:From:To:Subject:References:In-Reply-To; b=Ksx9vrGZ3wD3Lp8wIqtq2dxT7gu9jGXRBVwJywPFZplzh+v+HJm6tOfcOxlqjarpS YjEbfd7XkiTt6U2DWsNCTPXeLW7q0YBOtNeeLEpIMhA3JtZkoTYCryl/tgecFAE8xs vjJ0ugMxvf/b5/rhAvWU1BcblvYay7KaRrZxGGU8= Date: Thu, 9 Mar 2017 15:02:23 +0000 From: ng0 Message-ID: <20170309150223.ol47nwzjr3pgymo5@abyayala> Mail-Followup-To: 26035@debbugs.gnu.org References: <20170309145105.snpnroqjm35omgow@abyayala> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20170309145105.snpnroqjm35omgow@abyayala> X-Spam-Score: 0.0 (/) 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: 0.0 (/) ng0 transcribed 1.6K bytes: > efficient enough and sets the times out much too high Curses, my mailing program broke the subject. I thought I fixed it. > Reply-To: > In-Reply-To: > When you configure a system to use bayfront, for example with these > lines included in cons* of (services): > (modify-services > %base-services > (guix-service-type > config => > (guix-configuration > (inherit config) > (substitute-urls > (cons* "https://bayfront.guixsd.org" > %default-substitute-urls)) > (authorized-keys > (cons* > (plain-file "bayfront.guixsd.org.pub" > (string-append "(public-key (ecc curve > Ed25519) " > "(q > #8D156F295D24B0D9A86FA5741A840FF2" > > "D24F60F7B6C4134814AD55625971B394#)))")) > %default-authorized-guix-keys)))))))) > > please consider that this does not reflect the actual indent and that I > can't paste all of the config here, but those are the relevant parts, > you will experience that: "guix package", and "guix system" (or guix > buld?) query all listed subsitute urls, while "guix pull" only queries > the first one. If the first one is experiencing issues (for example > server is offline or can't handle requests for whatever reasons), the > timeout is much too high. I had to cancel guix pull processes which > tried to request from bayfront.guixsd.org for 9, 12, and 3 hours. > > As bayfront wasn't the only server, a switch should occur even with the > guix pull part where substitute servers are queried before the build of > the fetched master tarball starts. > > > From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 29 12:37:53 2017 Received: (at control) by debbugs.gnu.org; 29 Oct 2017 16:37:53 +0000 Received: from localhost ([127.0.0.1]:40798 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e8qav-0006ow-A0 for submit@debbugs.gnu.org; Sun, 29 Oct 2017 12:37:53 -0400 Received: from mail-io0-f182.google.com ([209.85.223.182]:55248) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e8qat-0006oi-96 for control@debbugs.gnu.org; Sun, 29 Oct 2017 12:37:51 -0400 Received: by mail-io0-f182.google.com with SMTP id e89so22132830ioi.11 for ; Sun, 29 Oct 2017 09:37:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:message-id:to:from:subject; bh=eBG+vgaRSzDaOTJ2xWBmPsFx0nhwIrqKU3YVS4h0jtI=; b=l8FeDUXm86IxBfl07YSgNrAw0ySl1jYTkdkwW6eV61rY9kW0kHTpuj7bFUYW5TbNhx 5aCHEuchpf2JZiawOy6duySq4hYA68ritVi7Y2Yx0GRmk4C6DO1UMy6gaES+SMpMT77Y c8XTvHr9+bPfPRy2pZRVPqXK6OV1bl9nHLy1xB0JLEiLyyQXnn/My7HRggeJNCsOgsZI Xy2TSwUDOSKpXGO4cPGbawGJj4arDk4OJUy9YfushdmfFLKs+mmVJFV9buJJthyI1X+i 1NI4BP4ZTxiKUMP4KzdT7WAatOSjV7JkApSYFMofeg0fPKMwI5Actmju59xUlUKCZjXD 1ANA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:to:from:subject; bh=eBG+vgaRSzDaOTJ2xWBmPsFx0nhwIrqKU3YVS4h0jtI=; b=rGPfT3V4llkUobsrW1yu4SMJPty7FHzLAgtGNpM4kRaXkaGvesbd2nV+uDYb3QmeoX 802/mQAp5m0TKa1Kb1AAFJ5pyEWc/H48JmoBbc53J6+gY+3iquXnKkjPCWKdKXRcm9in omLFBidGC3S6pPoGavNInvKXiBjmh5vxLiOeAgqEKxXSfN+Uj1MiCPtu54mxCM35K0RZ bWOwrE9At1OZx35l1FG+jbqT2v8kjINAP2XjVTA+uYrrfmOn26RjSpcVRd26ql6IATXq +lDKKjbmERrNbqxWlk2eMXZSlPoKvlBcjiEavJxm8BfVyo5JI2YpZDC4yfUUzAFgRAxK Nx2g== X-Gm-Message-State: AMCzsaU/aRR1mArp6qAAA4shQjfjOB/yHyjZuhw5TxXIfwnjt1JpOueH Lhb9oRfM/NvjHvffdo4PUKSz7Q== X-Google-Smtp-Source: ABhQp+QwqSoVsXuPlWk+XOzx7kkjwLnxF5ju8X9e6sl7EVoBksvVUvodBe5K6M8E2bfPa4iGTDuoMg== X-Received: by 10.36.23.215 with SMTP id 206mr2810375ith.62.1509295065405; Sun, 29 Oct 2017 09:37:45 -0700 (PDT) Received: from apteryx ([24.140.229.228]) by smtp.gmail.com with ESMTPSA id v8sm876349itc.5.2017.10.29.09.37.44 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 29 Oct 2017 09:37:45 -0700 (PDT) Date: Sun, 29 Oct 2017 12:37:44 -0400 Message-Id: <87r2tlzz8n.fsf@gmail.com> To: control@debbugs.gnu.org From: Maxim Cournoyer Subject: control message for bug #26035 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: -2.3 (--) merge 26035 26833 From unknown Thu Jun 12 08:38:28 2025 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 Cc: 26035@debbugs.gnu.org, 26833@debbugs.gnu.org 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-Spam-Score: 0.0 (/) 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 (-) 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: