GNU bug report logs - #33280
Guix weather does not error nicely with 502 errors from hydra

Previous Next

Package: guix;

Reported by: swedebugia <swedebugia <at> riseup.net>

Date: Mon, 5 Nov 2018 20:24:01 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 33280 in the body.
You can then email your comments to 33280 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#33280; Package guix. (Mon, 05 Nov 2018 20:24:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to swedebugia <swedebugia <at> riseup.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 05 Nov 2018 20:24:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: swedebugia <swedebugia <at> riseup.net>
To: bug-guix <at> gnu.org
Subject: Guix weather does not error nicely with 502 errors from hydra
Date: Mon, 5 Nov 2018 21:23:21 +0100
I did not change the default substitute-urls in 0.15

This is probably low priority.

sdb <at> 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





Information forwarded to bug-guix <at> gnu.org:
bug#33280; Package guix. (Mon, 05 Nov 2018 21:06:01 GMT) Full text and rfc822 format available.

Message #8 received at 33280 <at> debbugs.gnu.org (full text, mbox):

From: Mark H Weaver <mhw <at> netris.org>
To: swedebugia <swedebugia <at> riseup.net>
Cc: 33280 <at> debbugs.gnu.org
Subject: Re: bug#33280: Guix weather does not error nicely with 502 errors
 from hydra
Date: Mon, 05 Nov 2018 16:05:06 -0500
swedebugia <swedebugia <at> riseup.net> writes:

> I did not change the default substitute-urls in 0.15
>
> This is probably low priority.
>
> sdb <at> 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




Information forwarded to bug-guix <at> gnu.org:
bug#33280; Package guix. (Tue, 06 Nov 2018 14:24:02 GMT) Full text and rfc822 format available.

Message #11 received at 33280 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Mark H Weaver <mhw <at> netris.org>
Cc: swedebugia <swedebugia <at> riseup.net>, 33280 <at> debbugs.gnu.org
Subject: Re: bug#33280: Guix weather does not error nicely with 502 errors
 from hydra
Date: Tue, 06 Nov 2018 15:23:31 +0100
Hi,

Mark H Weaver <mhw <at> netris.org> skribis:

> swedebugia <swedebugia <at> riseup.net> writes:
>
>> I did not change the default substitute-urls in 0.15
>>
>> This is probably low priority.
>>
>> sdb <at> 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’.




Information forwarded to bug-guix <at> gnu.org:
bug#33280; Package guix. (Tue, 06 Nov 2018 19:08:02 GMT) Full text and rfc822 format available.

Message #14 received at 33280 <at> debbugs.gnu.org (full text, mbox):

From: swedebugia <swedebugia <at> riseup.net>
To: Ludovic Courtès <ludo <at> gnu.org>,
 Mark H Weaver <mhw <at> netris.org>
Cc: 33280 <at> debbugs.gnu.org
Subject: Re: bug#33280: Guix weather does not error nicely with 502 errors
 from hydra
Date: Tue, 6 Nov 2018 20:07:02 +0100
Hi

On 2018-11-06 15:23, Ludovic Courtès wrote:
> Hi,
>
> Mark H Weaver <mhw <at> netris.org> skribis:
>
>> swedebugia <swedebugia <at> riseup.net> writes:
>>
>>> I did not change the default substitute-urls in 0.15
>>>
>>> This is probably low priority.
>>>
>>> sdb <at> 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





Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Wed, 07 Nov 2018 21:02:01 GMT) Full text and rfc822 format available.

Notification sent to swedebugia <swedebugia <at> riseup.net>:
bug acknowledged by developer. (Wed, 07 Nov 2018 21:02:02 GMT) Full text and rfc822 format available.

Message #19 received at 33280-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: swedebugia <swedebugia <at> riseup.net>
Cc: Mark H Weaver <mhw <at> netris.org>, 33280-done <at> debbugs.gnu.org
Subject: Re: bug#33280: Guix weather does not error nicely with 502 errors
 from hydra
Date: Wed, 07 Nov 2018 22:01:32 +0100
Hello,

swedebugia <swedebugia <at> 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’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 06 Dec 2018 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 279 days ago.

Previous Next


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