From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: Multiple substitute servers question
Date: Sun, 07 May 2017 00:24:30 -0700 [thread overview]
Message-ID: <878tm93z9t.fsf@gmail.com> (raw)
In-Reply-To: <87bmrbp84b.fsf@gmail.com> (Maxim Cournoyer's message of "Tue, 02 May 2017 08:54:12 -0700")
Hi,
Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
> Hi Ludovic!
>
> ludo@gnu.org (Ludovic Courtès) writes:
>
>> Hello!
>>
>> Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:
>>
>>> Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
>>
>> [...]
>>
>>> The substitute URI should be "https://mirror.hydra.gnu.org". When using
>>> such URI it works without an error.
>>>
>>> My original question still holds though (why is an unresolvable
>>> substitute-url able to bring the guix command down when at least one
>>> working alternative substitute server exists? -- it should just warn
>>> about it and push through).
>>
>> That’s what it does, except for URL syntax errors.
>>
>>
>> --substitute-urls="http://example.org/does-not-work https://mirror.hydra.gnu.org"
>>
>> then the first one is ignored.
>>
>> Does that make sense?
>
>[...]
>
> I'll keep this thread around for the next time a 'guix package' command
> fails in an unexpected way. It seems to come everytime bayfront is in a
> broken/semi-broken state (my regular url-substitutes list is made up of
> 1st bayfront, 2nd mirror.hydra.gnu.org).
I had this problem again now.
--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
^C
--8<---------------cut here---------------end--------------->8---
Q1: Why did it not fallback automatically to mirror.hydra.gnu.org, which
pings, and instead aborted (no, hung) attempting to kill an
(inexistant?) process? :)
Here are the ping checks:
--8<---------------cut here---------------start------------->8---
ping bayfront.guixsd.org
PING bayfront.guixsd.org (141.255.128.56): 56 data bytes
36 bytes from aquilenet.demarc.cogentco.com (149.6.44.18): Destination Host Unreachable
36 bytes from aquilenet.demarc.cogentco.com (149.6.44.18): Destination Host Unreachable
36 bytes from aquilenet.demarc.cogentco.com (149.6.44.18): Destination Host Unreachable
36 bytes from aquilenet.demarc.cogentco.com (149.6.44.18): Destination Host Unreachable
^C--- bayfront.guixsd.org ping statistics ---
5 packets transmitted, 0 packets received, 100% packet loss
ping mirror.hydra.gnu.org
PING hydra.net.in.tum.de (131.159.14.26): 56 data bytes
64 bytes from 131.159.14.26: icmp_seq=0 ttl=52 time=164.453 ms
64 bytes from 131.159.14.26: icmp_seq=1 ttl=52 time=175.964 ms
64 bytes from 131.159.14.26: icmp_seq=2 ttl=52 time=167.195 ms
^C--- hydra.net.in.tum.de ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/stddev = 164.453/169.204/175.964/4.909 ms
--8<---------------cut here---------------end--------------->8---
And some more information regarding which guix-daemon process(es) were
running at that time:
--8<---------------cut here---------------start------------->8---
ps aux | grep guix-daemon
root 254 0.0 0.0 34584 3436 ? Ss May01 0:00 /gnu/store/nqy9m6hhnkkfwr5wyq5bac96v9s9hc9i-guix-0.12.0-9.25a4/bin/guix-daemon --build-users-group guixbuild --substitute-urls https://bayfront.guixsd.org https://mirror.hydra.gnu.org
root 14347 3.0 0.1 37212 7568 ? Ss 00:20 0:00 /gnu/store/nqy9m6hhnkkfwr5wyq5bac96v9s9hc9i-guix-0.12.0-9.25a4/bin/guix-daemon 14344 guixbuild --substitute-urls https://bayfront.guixsd.org https://mirror.hydra.gnu.org
maxim 14368 0.0 0.0 8168 1636 pts/4 S+ 00:20 0:00 grep guix-daemon
root 30454 0.0 0.1 37056 7384 ? Ss May04 0:00 /gnu/store/nqy9m6hhnkkfwr5wyq5bac96v9s9hc9i-guix-0.12.0-9.25a4/bin/guix-daemon 30400 guixbuild --substitute-urls https://bayfront.guixsd.org https://mirror.hydra.gnu.org
--8<---------------cut here---------------end--------------->8---
next prev parent reply other threads:[~2017-05-07 7:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-24 0:52 Multiple substitute servers question Maxim Cournoyer
2017-04-24 1:04 ` Maxim Cournoyer
2017-05-02 10:34 ` Ludovic Courtès
2017-05-02 15:54 ` Maxim Cournoyer
2017-05-02 21:14 ` Ludovic Courtès
2017-05-07 7:24 ` Maxim Cournoyer [this message]
2017-05-08 14:10 ` Ludovic Courtès
2017-05-08 15:44 ` Maxim Cournoyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878tm93z9t.fsf@gmail.com \
--to=maxim.cournoyer@gmail.com \
--cc=guix-devel@gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).