This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: test_urllib: buildbot failure
Type: behavior Stage: resolved
Components: Tests Versions: Python 3.3
process
Status: closed Resolution: duplicate
Dependencies: Superseder: urllib.request.thishost() returns a garbage value
View: 13104
Assigned To: Nosy List: skrah
Priority: normal Keywords:

Created on 2011-10-05 21:04 by skrah, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (1)
msg144971 - (view) Author: Stefan Krah (skrah) * (Python committer) Date: 2011-10-05 21:04
The FreeBSD-amd64 and Fedora buildbots are recently failing with: 

======================================================================
ERROR: test_thishost (test.test_urllib.Utility_Tests)
Test the urllib.request.thishost utility function returns a tuple
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.krah-fedora/build/Lib/test/test_urllib.py", line 1063, in test_thishost
    self.assertIsInstance(urllib.request.thishost(), tuple)
  File "/home/buildbot/buildarea/3.x.krah-fedora/build/Lib/urllib/request.py", line 2128, in thishost
    _thishost = tuple(socket.gethostbyname_ex(socket.gethostname())[2])
socket.gaierror: [Errno -2] Name or service not known

----------------------------------------------------------------------
History
Date User Action Args
2022-04-11 14:57:22adminsetgithub: 57317
2011-10-06 06:58:23skrahsetstatus: open -> closed
type: behavior
superseder: urllib.request.thishost() returns a garbage value
resolution: duplicate
stage: resolved
2011-10-05 21:04:49skrahcreate