New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
buildbot: support.transient_internet() doesn't catch DNS socket.gaierror #53081
Comments
The nameserver responsible of sha2.hboeck.de is down and this hostname is used in test_ssl. The result is that all trunk buildbots are red (error). support.transient_internet() should catch socket.gaierror. -- One example: http://www.python.org/dev/buildbot/all/builders/amd64%20gentoo%20trunk/builds/1007 Traceback (most recent call last):
File ".../Lib/test/test_ssl.py", line 261, in test_algorithms
s.connect(remote)
...
gaierror: [Errno -2] Name or service not known |
Patch to catch gaierror(EAI_NODATA) and gaierror(EAI_NONAME). |
Looks ok to me. |
I commited the patch as r81571 in trunk. Wait for the buildbot before porting it to other branches. |
There is another error: test test_ssl failed -- Traceback (most recent call last):
File "/scratch/pybot-buildarea/trunk.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 261, in test_algorithms
s.connect(remote)
File "/scratch/pybot-buildarea/trunk.klose-ubuntu-i386/build/Lib/ssl.py", line 292, in connect
socket.connect(self, addr)
File "/scratch/pybot-buildarea/trunk.klose-ubuntu-i386/build/Lib/socket.py", line 222, in meth
return getattr(self._sock,name)(*args)
error: [Errno 110] Connection timed out transient_internet() should also catch socket.error(errno.ETIMEDOUT). -- |
Apparently it's ok. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: