From mboxrd@z Thu Jan 1 00:00:00 1970 From: swedebugia Subject: bug#33280: Guix weather does not error nicely with 502 errors from hydra Date: Tue, 6 Nov 2018 20:07:02 +0100 Message-ID: References: <87h8gvnski.fsf@netris.org> <871s7y1dzw.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42194) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gK6hr-0003oG-Oj for bug-guix@gnu.org; Tue, 06 Nov 2018 14:08:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gK6hn-0007OE-GO for bug-guix@gnu.org; Tue, 06 Nov 2018 14:08:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:33559) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gK6hm-0007Mp-Og for bug-guix@gnu.org; Tue, 06 Nov 2018 14:08:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gK6hm-0004GL-HZ for bug-guix@gnu.org; Tue, 06 Nov 2018 14:08:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <871s7y1dzw.fsf@gnu.org> Content-Language: en-US List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mark H Weaver Cc: 33280@debbugs.gnu.org Hi On 2018-11-06 15:23, Ludovic Courtès wrote: > Hi, > > Mark H Weaver skribis: > >> swedebugia 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