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
Random failure of test_TCPServer() of test.test_socketserver.SocketServerTest and test_handle_accept() of test.test_asyncore.TestAPI_UseIPv6Select on FreeBSD buildbots #71971
Comments
test_handle_accept (test.test_asyncore.TestAPI_UseIPv6Select) ... ERROR ====================================================================== Traceback (most recent call last):
File "/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/test/test_asyncore.py", line 500, in tearDown
asyncore.close_all()
File "/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/asyncore.py", line 561, in close_all
x.close()
File "/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/asyncore.py", line 397, in close
self.socket.close()
File "/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/socket.py", line 407, in close
self._real_close()
File "/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/socket.py", line 401, in _real_close
_ss.close(self)
ConnectionResetError: [Errno 54] Connection reset by peer
----------------------------------------------------------------------
0:15:27 [319/402/4] test_socketserver failed -- running: test_tokenize (190 sec), test_datetime (279 sec), test_tools (194 sec)
(...)
test_TCPServer (test.test_socketserver.SocketServerTest) ... creating server
ADDR = ('127.0.0.1', 42875)
CLASS = <class 'socketserver.TCPServer'>
server running
test client 0
test client 1
Exception in thread <class 'socketserver.TCPServer'> serving:
Traceback (most recent call last):
File "/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/threading.py", line 916, in _bootstrap_inner
self.run()
File "/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/socketserver.py", line 238, in serve_forever
self._handle_request_noblock()
File "/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/socketserver.py", line 319, in _handle_request_noblock
self.handle_error(request, client_address)
File "/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/socketserver.py", line 317, in _handle_request_noblock
self.process_request(request, client_address)
File "/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/socketserver.py", line 349, in process_request
self.shutdown_request(request)
File "/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/socketserver.py", line 510, in shutdown_request
self.close_request(request)
File "/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/socketserver.py", line 514, in close_request
request.close()
File "/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/socket.py", line 407, in close
self._real_close()
File "/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/socket.py", line 401, in _real_close
_ss.close(self)
ConnectionResetError: [Errno 54] Connection reset by peer ERROR Traceback (most recent call last):
File "/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/test/test_socketserver.py", line 175, in test_TCPServer
self.stream_examine)
File "/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/test/support/__init__.py", line 1956, in decorator
return func(*args)
File "/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/test/test_socketserver.py", line 141, in run_server
testfunc(svrcls.address_family, addr)
File "/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/test/test_socketserver.py", line 153, in stream_examine
buf = data = receive(s, 100)
File "/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/test/test_socketserver.py", line 46, in receive
raise RuntimeError("timed out on %r" % (sock,))
RuntimeError: timed out on <socket.socket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 42877), raddr=('127.0.0.1', 42875)> Ran 25 tests in 25.825s |
I think I have seen these kind of errors pop up randomly on various tests on Free BSD buildbots (at least in the last few months or so). Are the buildbots so overloaded that they drop localhost connections? Or are localhost TCP connections generally just that unreliable on Free BSD? Or is something else going on? I’m not faimilar with the OS. This only seems to affect 3.6, not the equivalent 3.5 buildbot. |
Here is another one on koobs-freebsd10: http://buildbot.python.org/all/builders/AMD64%20FreeBSD%2010.x%20Shared%203.x/builds/4809/steps/test/logs/stdio test_handle_accept was fine this time. And this one is from koobs-freebsd9: ====================================================================== Traceback (most recent call last):
File "/usr/home/buildbot/python/3.x.koobs-freebsd9/build/Lib/test/test_asyncore.py", line 500, in tearDown
asyncore.close_all()
File "/usr/home/buildbot/python/3.x.koobs-freebsd9/build/Lib/asyncore.py", line 561, in close_all
x.close()
File "/usr/home/buildbot/python/3.x.koobs-freebsd9/build/Lib/asyncore.py", line 397, in close
self.socket.close()
File "/usr/home/buildbot/python/3.x.koobs-freebsd9/build/Lib/socket.py", line 407, in close
self._real_close()
File "/usr/home/buildbot/python/3.x.koobs-freebsd9/build/Lib/socket.py", line 401, in _real_close
_ss.close(self)
ConnectionResetError: [Errno 54] Connection reset by peer |
I didn't look at buildbots recently, and I don't have access to FreeBSD, so I just close the issue :-/ |
Duplicate of bpo-30319. |
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: