guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple substitute servers question


From: Maxim Cournoyer
Subject: Re: Multiple substitute servers question
Date: Sun, 07 May 2017 00:24:30 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Hi,

Maxim Cournoyer <address@hidden> writes:

> Hi Ludovic!
>
> address@hidden (Ludovic Courtès) writes:
>
>> Hello!
>>
>> Maxim Cournoyer <address@hidden> skribis:
>>
>>> Maxim Cournoyer <address@hidden> 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---



reply via email to

[Prev in Thread] Current Thread [Next in Thread]