Issue 30648: test_logout() of test_imaplib.RemoteIMAP_STARTTLSTest failed randomly on s390x Debian 3.x (original) (raw)
Similar failure on AMD64 FreeBSD CURRENT Non-Debug 3.6:
(...)
test_enable_raises_error_if_no_capability (test.test_imaplib.ThreadedNetworkedTests) ... creating server server created ADDR = ('127.0.0.1', 0) CLASS = <class 'socketserver.TCPServer'> HDLR = <class 'test.test_imaplib.ThreadedNetworkedTests.test_enable_raises_error_if_no_capability..NoEnableServer'> server running SENT: b'* OK IMAP4rev1' waiting for server done ERROR
(...)
====================================================================== ERROR: test_enable_raises_error_if_no_capability (test.test_imaplib.ThreadedNetworkedTests)
Traceback (most recent call last): File "/usr/home/buildbot/python/3.6.koobs-freebsd-current.nondebug/build/Lib/test/support/init.py", line 2035, in decorator return func(*args) File "/usr/home/buildbot/python/3.6.koobs-freebsd-current.nondebug/build/Lib/test/test_imaplib.py", line 673, in test_enable_raises_error_if_no_capability with self.reaped_pair(NoEnableServer) as (server, client): File "/usr/home/buildbot/python/3.6.koobs-freebsd-current.nondebug/build/Lib/contextlib.py", line 81, in enter return next(self.gen) File "/usr/home/buildbot/python/3.6.koobs-freebsd-current.nondebug/build/Lib/test/test_imaplib.py", line 563, in reaped_pair client = self.imap_class(*server.server_address) File "/usr/home/buildbot/python/3.6.koobs-freebsd-current.nondebug/build/Lib/imaplib.py", line 200, in init self._connect() File "/usr/home/buildbot/python/3.6.koobs-freebsd-current.nondebug/build/Lib/imaplib.py", line 250, in _connect self._get_capabilities() File "/usr/home/buildbot/python/3.6.koobs-freebsd-current.nondebug/build/Lib/imaplib.py", line 1027, in _get_capabilities typ, dat = self.capability() File "/usr/home/buildbot/python/3.6.koobs-freebsd-current.nondebug/build/Lib/imaplib.py", line 435, in capability typ, dat = self._simple_command(name) File "/usr/home/buildbot/python/3.6.koobs-freebsd-current.nondebug/build/Lib/imaplib.py", line 1191, in _simple_command return self._command_complete(name, self._command(name, *args)) File "/usr/home/buildbot/python/3.6.koobs-freebsd-current.nondebug/build/Lib/imaplib.py", line 1014, in _command_complete typ, data = self._get_tagged_response(tag) File "/usr/home/buildbot/python/3.6.koobs-freebsd-current.nondebug/build/Lib/imaplib.py", line 1134, in _get_tagged_response self._get_response() File "/usr/home/buildbot/python/3.6.koobs-freebsd-current.nondebug/build/Lib/imaplib.py", line 1042, in _get_response resp = self._get_line() File "/usr/home/buildbot/python/3.6.koobs-freebsd-current.nondebug/build/Lib/imaplib.py", line 1144, in _get_line line = self.readline() File "/usr/home/buildbot/python/3.6.koobs-freebsd-current.nondebug/build/Lib/imaplib.py", line 305, in readline line = self.file.readline(_MAXLINE + 1) File "/usr/home/buildbot/python/3.6.koobs-freebsd-current.nondebug/build/Lib/socket.py", line 586, in readinto return self._sock.recv_into(b) ConnectionResetError: [Errno 54] Connection reset by peer
(...) Re-running test 'test_imaplib' in verbose mode (...)
test_enable_raises_error_if_no_capability (test.test_imaplib.ThreadedNetworkedTests) ... creating server server created ADDR = ('127.0.0.1', 0) CLASS = <class 'socketserver.TCPServer'> HDLR = <class 'test.test_imaplib.ThreadedNetworkedTests.test_enable_raises_error_if_no_capability..NoEnableServer'> server running SENT: b'* OK IMAP4rev1' GOT: b'NMFJ0 CAPABILITY' SENT: b'* CAPABILITY IMAP4rev1 AUTH' SENT: b'NMFJ0 OK CAPABILITY completed' GOT: b'NMFJ1 LOGOUT' SENT: b'* BYE IMAP4ref1 Server logging out' SENT: b'NMFJ1 OK LOGOUT completed' waiting for server done ok