* bug#33280: Guix weather does not error nicely with 502 errors from hydra
@ 2018-11-05 20:23 swedebugia
2018-11-05 21:05 ` Mark H Weaver
0 siblings, 1 reply; 5+ messages in thread
From: swedebugia @ 2018-11-05 20:23 UTC (permalink / raw)
To: 33280
I did not change the default substitute-urls in 0.15
This is probably low priority.
sdb@komputilo ~$ guix weather
computing 7,850 package derivations for x86_64-linux...
looking for 8,167 store items on https://mirror.hydra.gnu.org...
guix weather: warning: while fetching
'https://mirror.hydra.gnu.org/nix-cache-info': 502 ("Bad Gateway")
guix weather: warning: ignoring substitute server at
'"https://mirror.hydra.gnu.org"'
https://mirror.hydra.gnu.org
.0% substitutes available (0 out of 8,167)
unknown substitute sizes
0.0 MiB on disk (uncompressed)
0.000 seconds per request (2.7 seconds in total)
3,081.9 requests per second
(continuous integration information unavailable)
We should omit everything after the first warning I think.
--
Cheers
Swedebugia
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#33280: Guix weather does not error nicely with 502 errors from hydra
2018-11-05 20:23 bug#33280: Guix weather does not error nicely with 502 errors from hydra swedebugia
@ 2018-11-05 21:05 ` Mark H Weaver
2018-11-06 14:23 ` Ludovic Courtès
0 siblings, 1 reply; 5+ messages in thread
From: Mark H Weaver @ 2018-11-05 21:05 UTC (permalink / raw)
To: swedebugia; +Cc: 33280
swedebugia <swedebugia@riseup.net> writes:
> I did not change the default substitute-urls in 0.15
>
> This is probably low priority.
>
> sdb@komputilo ~$ guix weather
> computing 7,850 package derivations for x86_64-linux...
> looking for 8,167 store items on https://mirror.hydra.gnu.org...
> guix weather: warning: while fetching
> 'https://mirror.hydra.gnu.org/nix-cache-info': 502 ("Bad Gateway")
> guix weather: warning: ignoring substitute server at
> '"https://mirror.hydra.gnu.org"'
> https://mirror.hydra.gnu.org
> .0% substitutes available (0 out of 8,167)
> unknown substitute sizes
> 0.0 MiB on disk (uncompressed)
> 0.000 seconds per request (2.7 seconds in total)
> 3,081.9 requests per second
> (continuous integration information unavailable)
>
> We should omit everything after the first warning I think.
At the time you wrote this, hydra.gnu.org was partially back up, but
with several of the important daemons not yet started. I've since
started the daemons, so it might work now.
Mark
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#33280: Guix weather does not error nicely with 502 errors from hydra
2018-11-05 21:05 ` Mark H Weaver
@ 2018-11-06 14:23 ` Ludovic Courtès
2018-11-06 19:07 ` swedebugia
0 siblings, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2018-11-06 14:23 UTC (permalink / raw)
To: Mark H Weaver; +Cc: 33280
Hi,
Mark H Weaver <mhw@netris.org> skribis:
> swedebugia <swedebugia@riseup.net> writes:
>
>> I did not change the default substitute-urls in 0.15
>>
>> This is probably low priority.
>>
>> sdb@komputilo ~$ guix weather
>> computing 7,850 package derivations for x86_64-linux...
>> looking for 8,167 store items on https://mirror.hydra.gnu.org...
>> guix weather: warning: while fetching
>> 'https://mirror.hydra.gnu.org/nix-cache-info': 502 ("Bad Gateway")
>> guix weather: warning: ignoring substitute server at
>> '"https://mirror.hydra.gnu.org"'
>> https://mirror.hydra.gnu.org
>> .0% substitutes available (0 out of 8,167)
>> unknown substitute sizes
>> 0.0 MiB on disk (uncompressed)
>> 0.000 seconds per request (2.7 seconds in total)
>> 3,081.9 requests per second
>> (continuous integration information unavailable)
>>
>> We should omit everything after the first warning I think.
>
> At the time you wrote this, hydra.gnu.org was partially back up, but
> with several of the important daemons not yet started. I've since
> started the daemons, so it might work now.
Also, I would argue that this behavior (printing a warning and ignoring
the faulty server) is good. I can’t think of a better way to handle
this situation.
Thoughts?
Ludo’.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#33280: Guix weather does not error nicely with 502 errors from hydra
2018-11-06 14:23 ` Ludovic Courtès
@ 2018-11-06 19:07 ` swedebugia
2018-11-07 21:01 ` Ludovic Courtès
0 siblings, 1 reply; 5+ messages in thread
From: swedebugia @ 2018-11-06 19:07 UTC (permalink / raw)
To: Ludovic Courtès, Mark H Weaver; +Cc: 33280
Hi
On 2018-11-06 15:23, Ludovic Courtès wrote:
> Hi,
>
> Mark H Weaver <mhw@netris.org> skribis:
>
>> swedebugia <swedebugia@riseup.net> writes:
>>
>>> I did not change the default substitute-urls in 0.15
>>>
>>> This is probably low priority.
>>>
>>> sdb@komputilo ~$ guix weather
>>> computing 7,850 package derivations for x86_64-linux...
>>> looking for 8,167 store items on https://mirror.hydra.gnu.org...
>>> guix weather: warning: while fetching
>>> 'https://mirror.hydra.gnu.org/nix-cache-info': 502 ("Bad Gateway")
>>> guix weather: warning: ignoring substitute server at
>>> '"https://mirror.hydra.gnu.org"'
>>> https://mirror.hydra.gnu.org
>>> .0% substitutes available (0 out of 8,167)
>>> unknown substitute sizes
>>> 0.0 MiB on disk (uncompressed)
>>> 0.000 seconds per request (2.7 seconds in total)
>>> 3,081.9 requests per second
>>> (continuous integration information unavailable)
>>>
>>> We should omit everything after the first warning I think.
>> At the time you wrote this, hydra.gnu.org was partially back up, but
>> with several of the important daemons not yet started. I've since
>> started the daemons, so it might work now.
> Also, I would argue that this behavior (printing a warning and ignoring
> the faulty server) is good. I can’t think of a better way to handle
> this situation.
>
> Thoughts?
Thanks for taking your time on this.
This is also near or in the bikeshedding territory :p
1 thing that is wrong in the message above is the number of requests per
second.
3,081.9 requests per second
This cannot be right.
--
Cheers
Swedebugia
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#33280: Guix weather does not error nicely with 502 errors from hydra
2018-11-06 19:07 ` swedebugia
@ 2018-11-07 21:01 ` Ludovic Courtès
0 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2018-11-07 21:01 UTC (permalink / raw)
To: swedebugia; +Cc: 33280-done
Hello,
swedebugia <swedebugia@riseup.net> skribis:
> 1 thing that is wrong in the message above is the number of requests
> per second.
>
> 3,081.9 requests per second
>
> This cannot be right.
Yeah I think that you get a throughput tends to +∞ when everything is
already available in ~/.cache/guix/substitute, and ‘guix weather’
doesn’t realize that.
But anyway, that’s a different bug, so I’m closing this one! :-)
Ludo’.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-11-07 21:02 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-05 20:23 bug#33280: Guix weather does not error nicely with 502 errors from hydra swedebugia
2018-11-05 21:05 ` Mark H Weaver
2018-11-06 14:23 ` Ludovic Courtès
2018-11-06 19:07 ` swedebugia
2018-11-07 21:01 ` Ludovic Courtès
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.