unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: swedebugia <swedebugia@riseup.net>
To: "Ludovic Courtès" <ludo@gnu.org>, "Mark H Weaver" <mhw@netris.org>
Cc: 33280@debbugs.gnu.org
Subject: bug#33280: Guix weather does not error nicely with 502 errors from hydra
Date: Tue, 6 Nov 2018 20:07:02 +0100	[thread overview]
Message-ID: <fc8e8943-4d98-e003-9c7a-698418e85e4a@riseup.net> (raw)
In-Reply-To: <871s7y1dzw.fsf@gnu.org>

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

  reply	other threads:[~2018-11-06 19:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2018-11-07 21:01       ` Ludovic Courtès

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=fc8e8943-4d98-e003-9c7a-698418e85e4a@riseup.net \
    --to=swedebugia@riseup.net \
    --cc=33280@debbugs.gnu.org \
    --cc=ludo@gnu.org \
    --cc=mhw@netris.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).