unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* Getting feedback when hydra.gnu.org is unresponsive
@ 2013-06-17 22:18 Ludovic Courtès
  2013-06-22  9:54 ` Andreas Enge
  2013-06-22 15:16 ` Ludovic Courtès
  0 siblings, 2 replies; 4+ messages in thread
From: Ludovic Courtès @ 2013-06-17 22:18 UTC (permalink / raw)
  To: bug-guix

Hi,

Commit 2207f73 changes the substituter to provide feedback when
hydra.gnu.org is unresponsive, which happens from time to time (the Nix
folks did a similar trick recently.)

If an HTTP GET hasn’t completed after 3 seconds, it prints a message
saying that the server is unresponsive and hinting at --no-substitutes.

This is better than having ‘guix build’ or ‘guix package’ sit here
without saying a word of what’s going on.

Comments and tests welcome, esp. from Guile 2.0.5 users!

Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Getting feedback when hydra.gnu.org is unresponsive
  2013-06-17 22:18 Getting feedback when hydra.gnu.org is unresponsive Ludovic Courtès
@ 2013-06-22  9:54 ` Andreas Enge
  2013-06-22 14:56   ` Ludovic Courtès
  2013-06-22 15:16 ` Ludovic Courtès
  1 sibling, 1 reply; 4+ messages in thread
From: Andreas Enge @ 2013-06-22  9:54 UTC (permalink / raw)
  To: bug-guix

Am Dienstag, 18. Juni 2013 schrieb Ludovic Courtès:
> If an HTTP GET hasn’t completed after 3 seconds, it prints a message
> saying that the server is unresponsive and hinting at --no-substitutes.
> Comments and tests welcome, esp. from Guile 2.0.5 users!

A feature that is difficult to test when everything goes well! But I can 
now confirm that it works for me under guile 2.0.5.

Andreas

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Getting feedback when hydra.gnu.org is unresponsive
  2013-06-22  9:54 ` Andreas Enge
@ 2013-06-22 14:56   ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2013-06-22 14:56 UTC (permalink / raw)
  To: Andreas Enge; +Cc: bug-guix

Andreas Enge <andreas@enge.fr> skribis:

> Am Dienstag, 18. Juni 2013 schrieb Ludovic Courtès:
>> If an HTTP GET hasn’t completed after 3 seconds, it prints a message
>> saying that the server is unresponsive and hinting at --no-substitutes.
>> Comments and tests welcome, esp. from Guile 2.0.5 users!
>
> A feature that is difficult to test when everything goes well! But I can 
> now confirm that it works for me under guile 2.0.5.

Good, thanks for testing!

There’s a comment on how to test it under GNU/Linux (using iproute2):

     ;; Test this with:
     ;;   sudo tc qdisc add dev eth0 root netem delay 1500ms
     ;; and then cancel with:
     ;;   sudo tc qdisc del dev eth0 root

(Trick stolen from <http://doc.bazaar.canonical.com/developers/testing.html>.)

:-)

Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Getting feedback when hydra.gnu.org is unresponsive
  2013-06-17 22:18 Getting feedback when hydra.gnu.org is unresponsive Ludovic Courtès
  2013-06-22  9:54 ` Andreas Enge
@ 2013-06-22 15:16 ` Ludovic Courtès
  1 sibling, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2013-06-22 15:16 UTC (permalink / raw)
  To: bug-guix

In a similar vein, commit a85060e changes the substituter to report
download progress.

Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-06-22 15:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-17 22:18 Getting feedback when hydra.gnu.org is unresponsive Ludovic Courtès
2013-06-22  9:54 ` Andreas Enge
2013-06-22 14:56   ` Ludovic Courtès
2013-06-22 15:16 ` Ludovic Courtès

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).