GNU bug report logs - #26833
guix dies on unreachable/problematic substitute server

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Maxim Cournoyer <maxim.cournoyer@HIDDEN>; merged with #26035; dated Mon, 8 May 2017 15:41:02 UTC; Maintainer for guix is bug-guix@HIDDEN.
Merged 26035 26833. Request was from Maxim Cournoyer <maxim.cournoyer@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Changed bug title to 'guix dies on unreachable/problematic substitute server' from '`guix substitute --substitute' dies on unreachable substitute server' Request was from Maxim Cournoyer <maxim.cournoyer@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 8 May 2017 15:40:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 08 11:40:41 2017
Received: from localhost ([127.0.0.1]:34578 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1d7km8-0001JW-Oa
	for submit <at> debbugs.gnu.org; Mon, 08 May 2017 11:40:41 -0400
Received: from eggs.gnu.org ([208.118.235.92]:35126)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1d7km6-0001JF-Oa
 for submit <at> debbugs.gnu.org; Mon, 08 May 2017 11:40:39 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1d7km0-0000if-Q9
 for submit <at> debbugs.gnu.org; Mon, 08 May 2017 11:40:33 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:38689)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1d7km0-0000ib-Mt
 for submit <at> debbugs.gnu.org; Mon, 08 May 2017 11:40:32 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:54318)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1d7klz-0003fg-A6
 for bug-guix@HIDDEN; Mon, 08 May 2017 11:40:32 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1d7klw-0000hN-KR
 for bug-guix@HIDDEN; Mon, 08 May 2017 11:40:31 -0400
Received: from mail-pf0-x233.google.com ([2607:f8b0:400e:c00::233]:32836)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1d7klw-0000hC-Dn
 for bug-guix@HIDDEN; Mon, 08 May 2017 11:40:28 -0400
Received: by mail-pf0-x233.google.com with SMTP id e193so12343130pfh.0
 for <bug-guix@HIDDEN>; Mon, 08 May 2017 08:40:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:subject:date:message-id:user-agent:mime-version;
 bh=Gno13aQaBUIK6OrUDG66e9Zc/bz2sETA5BcvGrBRshE=;
 b=f7EMmx+mu5Dsg0rhyC+OB+JQw4TxPXH51Vv0EzpJOx8Z29QPSZ2b+C9q/z4myAZxdU
 CGeZOc6DGp5bmRLOkJ1DwoYZj9r10Y5FX2VJaJfrxgms6MrtN54/K24SNSM7mRZfOtD5
 /x8KVEDuZzsh+BakarWF1q2rArm1yKMDN6jSS2mdJG5ZV8IyMV8Gzw3b9yJ7oPRBGdxk
 SZrFd3KmCF+5/MMHUL/sBqcUCMDpkdNMEEBZLaRWyZjzUfOaZst7ACN+9pazmG9ClRoZ
 UYcjODoK8dcYUDHkVbUnRdcUSkjf3BWzHsVvFyDpEjmK9909QhUDRqXf32FY1aw/2dBT
 gyAA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:date:message-id:user-agent
 :mime-version;
 bh=Gno13aQaBUIK6OrUDG66e9Zc/bz2sETA5BcvGrBRshE=;
 b=AeNMry/gYyBLjHCZIifsBGXvAjh1DGJRfOiBL7qqgdcb62kTHYhg77DP6xP2DR86gc
 LBWFepJGT8GHVvFQqyA/lY5WxxdnvkTFUGg/LUb45mvhDmdslokpFbHWnhptsgl445g1
 4xzhhhrO/Ktn+/jBAu9ZQm5D6HD/Qn4KFzuJiFK9nAl1B+7ByCPlnyFxgiNovR1xUXK+
 wqd1WmFDDzKG3iaNEkyzlFudXE6AeXusydH8AHkpCFQ39xleclXRiZbQhj5OjbdHyG3M
 GU3BLxC95ifaVUGg1fL8fyeON4sygzHV36HnzPmYiXeN//NYZ2VpSYaeV465XR9H7BK5
 tUsg==
X-Gm-Message-State: AN3rC/6OmAHeyLzdfHxyqq2jf2rWY/qxbJVXCaoX3g8MBW+gyuEPa8gK
 Wn1xgipqA73HiKP1
X-Received: by 10.84.236.79 with SMTP id h15mr84707390pln.110.1494258027149;
 Mon, 08 May 2017 08:40:27 -0700 (PDT)
Received: from apteryx (c-73-231-189-138.hsd1.ca.comcast.net. [73.231.189.138])
 by smtp.gmail.com with ESMTPSA id d3sm21763376pgc.37.2017.05.08.08.40.26
 for <bug-guix@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Mon, 08 May 2017 08:40:26 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: bug-guix <bug-guix@HIDDEN>
Subject: `guix substitute --substitute' dies on unreachable substitute server
Date: Mon, 08 May 2017 08:40:25 -0700
Message-ID: <87efvzz79y.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
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.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> 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 <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

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)):

--8<---------------cut here---------------start------------->8---
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
--8<---------------cut here---------------end--------------->8---

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).




Acknowledgement sent to Maxim Cournoyer <maxim.cournoyer@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#26833; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 29 Oct 2017 16:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.