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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: tracker <at> debbugs.gnu.org
Subject: bug#33280: closed (Guix weather does not error nicely with 502
 errors from hydra)
Date: Wed, 07 Nov 2018 21:02:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 07 Nov 2018 22:01:32 +0100
with message-id <87a7mktxeb.fsf <at> gnu.org>
and subject line Re: bug#33280: Guix weather does not error nicely with 502 errors from hydra
has caused the debbugs.gnu.org bug report #33280,
regarding Guix weather does not error nicely with 502 errors from hydra
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
33280: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=33280
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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



[Message part 3 (message/rfc822, inline)]
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’.


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

Previous Next


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