GNU bug report logs

#26833 guix dies on unreachable/problematic substitute server

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Full log

Message #12 received at 26833@debbugs.gnu.org (full text, mbox, reply):

Received: (at 26833) by debbugs.gnu.org; 20 Aug 2021 11:33:30 +0000
From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 20 07:33:30 2021
Received: from localhost ([127.0.0.1]:33058 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1mH2m9-0000TH-Um
	for submit@debbugs.gnu.org; Fri, 20 Aug 2021 07:33:30 -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 <zimon.toutoune@gmail.com>)
 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 <zimon.toutoune@gmail.com>
To: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Subject: Re: bug#26833: `guix substitute --substitute' dies on unreachable
 substitute server
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-Debbugs-Envelope-To: 26833
Cc: 26035@debbugs.gnu.org, 26833@debbugs.gnu.org
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Hi Maxim,

Your recent investigation bug#30290 [0] rings this bell:

   <http://issues.guix.gnu.org/issue/26833>

If it appears the same issue, maybe we could merge them.  WDYT?

On Mon, 08 May 2017 at 08:40, Maxim Cournoyer <maxim.cournoyer@gmail.com> 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: <http://issues.guix.gnu.org/issue/30290#10>




Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Tue Sep 9 23:48:25 2025; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.