librarian.txt causes spurious failure with wildcard DNS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
When the test suite is run on systems with wildcard DNS (such as OpenDNS), the following failure is emitted:
Failed example:
print restricted_
Differences (ndiff with -expected +actual):
Traceback (most recent call last):
- ...
- URLError: <urlopen error (-2, 'Name or service not known')>
+ File "/home/
+ compileflags, 1) in test.globs
+ File "<doctest librarian.
+ print restricted_
+ File "/home/
+ self.open()
+ File "/home/
+ self._datafile = self.client.
+ File "/home/
+ return _File(urllib2.
+ File "/usr/lib/
+ return _opener.open(url, data)
+ File "/usr/lib/
+ response = self._open(req, data)
+ File "/usr/lib/
+ '_open', req)
+ File "/usr/lib/
+ result = func(*args)
+ File "/usr/lib/
+ return self.do_
+ File "/usr/lib/
+ raise URLError(err)
+ URLError: <urlopen error (110, 'Connection timed out')>
This is because wildcard DNS causes a different failure from the expected one.
I am preparing a branch which comments out this line.
Changed in launchpad-foundations: | |
status: | New → Triaged |
importance: | Undecided → Low |