unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Leo Famulari <leo@famulari.name>
Cc: 27039@debbugs.gnu.org
Subject: bug#27039: (tests guix-download) fails when DNS is bogus
Date: Tue, 23 May 2017 23:03:13 +0200	[thread overview]
Message-ID: <87shjv70by.fsf@gnu.org> (raw)
In-Reply-To: <20170523162431.GB15379@jasmine> (Leo Famulari's message of "Tue, 23 May 2017 12:24:31 -0400")

Leo Famulari <leo@famulari.name> skribis:

> The guix-download test includes this snippet:
>
> ------
> # Make sure it fails here.
> if guix download http://does.not/exist
> then false; else true; fi
> ------
>
> Unfortunately, many ISPs (such as T-Mobile) return bogus results for
> otherwise unclaimed domain names, causing this test to fail.

Yes, this has been reported several times in the past and marked as
“wontfix”.  :-)

> Does anyone know if there is some domain that is designed to fail as a
> "standard", as <http://example.com> is intended to be used for examples
> of good domains?

There’s an RFC defining example.org et al.  These domain names are
guaranteed to exist, so we’d be testing something different; also, I
don’t know if the RFC defines pages guaranteed to be 404, for instance.

Ludo’.

      parent reply	other threads:[~2017-05-23 21:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-23 16:24 bug#27039: (tests guix-download) fails when DNS is bogus Leo Famulari
2017-05-23 16:47 ` Maxim Cournoyer
2017-05-23 17:07 ` ng0
2017-05-23 21:03 ` Ludovic Courtès [this message]

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=87shjv70by.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=27039@debbugs.gnu.org \
    --cc=leo@famulari.name \
    /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).