Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 679752 - dev-lang/python-2.7.16-r100: urllibnet tests fail - URLError: <urlopen error [Errno -3] Temporary failure in name resolution>
Summary: dev-lang/python-2.7.16-r100: urllibnet tests fail - URLError: <urlopen error ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2019-03-08 09:42 UTC by N. Andrew Walsh
Modified: 2019-03-08 14:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description N. Andrew Walsh 2019-03-08 09:42:44 UTC
# grep fail build.log 
 *   0004-Non-zero-exit-status-on-failure.patch ...
	echo "generate-posix-vars failed" ; \
0:01:36 load avg: 8.72 [355/392] test_urllib2net failed
0:01:36 load avg: 8.82 [358/392] test_urllibnet failed
Re-running failed tests in verbose mode
URLError: <urlopen error [Errno -3] Temporary failure in name resolution>
URLError: <urlopen error [Errno -3] Temporary failure in name resolution>
IOError: [Errno socket error] [Errno -3] Temporary failure in name resolution
IOError: [Errno socket error] [Errno -3] Temporary failure in name resolution
IOError: [Errno socket error] [Errno -3] Temporary failure in name resolution
IOError: [Errno socket error] [Errno -3] Temporary failure in name resolution
IOError: [Errno socket error] [Errno -3] Temporary failure in name resolution
IOError: [Errno socket error] [Errno -3] Temporary failure in name resolution
IOError: [Errno socket error] [Errno -3] Temporary failure in name resolution
IOError: [Errno socket error] [Errno -3] Temporary failure in name resolution
IOError: [Errno socket error] [Errno -3] Temporary failure in name resolution
IOError: [Errno socket error] [Errno -3] Temporary failure in name resolution
IOError: [Errno socket error] [Errno -3] Temporary failure in name resolution
IOError: [Errno socket error] [Errno -3] Temporary failure in name resolution

each of those last failed tests looks like this in build.log:

======================================================================
ERROR: test_context_argument (test.test_urllibnet.urlopen_HttpsTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-2.7.16-r100/work/Python-2.7.16/Lib/test/test_urllibnet.py", line 212, in test_context_a
rgument
    response = urllib.urlopen("https://self-signed.pythontest.net", context=context)
  File "/var/tmp/portage/dev-lang/python-2.7.16-r100/work/Python-2.7.16/Lib/urllib.py", line 87, in urlopen
    return opener.open(url)
  File "/var/tmp/portage/dev-lang/python-2.7.16-r100/work/Python-2.7.16/Lib/urllib.py", line 213, in open
    return getattr(self, name)(url)
  File "/var/tmp/portage/dev-lang/python-2.7.16-r100/work/Python-2.7.16/Lib/urllib.py", line 443, in open_https
    h.endheaders(data)
  File "/var/tmp/portage/dev-lang/python-2.7.16-r100/work/Python-2.7.16/Lib/httplib.py", line 1038, in endheaders
    self._send_output(message_body)
  File "/var/tmp/portage/dev-lang/python-2.7.16-r100/work/Python-2.7.16/Lib/httplib.py", line 882, in _send_output
    self.send(msg)
  File "/var/tmp/portage/dev-lang/python-2.7.16-r100/work/Python-2.7.16/Lib/httplib.py", line 844, in send
    self.connect()
  File "/var/tmp/portage/dev-lang/python-2.7.16-r100/work/Python-2.7.16/Lib/httplib.py", line 1255, in connect
    HTTPConnection.connect(self)
  File "/var/tmp/portage/dev-lang/python-2.7.16-r100/work/Python-2.7.16/Lib/httplib.py", line 821, in connect
    self.timeout, self.source_address)
  File "/var/tmp/portage/dev-lang/python-2.7.16-r100/work/Python-2.7.16/Lib/socket.py", line 557, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
IOError: [Errno socket error] [Errno -3] Temporary failure in name resolution

----------------------------------------------------------------------

fwiw I'm using a vpn, if that makes any difference.
Comment 1 Mike Gilbert gentoo-dev 2019-03-08 14:00:25 UTC
There is no -r100 in Gentoo.