Author vstinner
Recipients vstinner
Date 2017-06-13.09:25:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1497345952.64.0.555472918289.issue30648@psf.upfronthosting.co.za>
In-reply-to
Content
Similar failure on AMD64 FreeBSD CURRENT Non-Debug 3.6:

http://buildbot.python.org/all/builders/AMD64%20FreeBSD%20CURRENT%20Non-Debug%203.6/builds/229/steps/test/logs/stdio

(...)

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.<locals>.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.<locals>.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
History
Date User Action Args
2017-06-13 09:25:52vstinnersetrecipients: + vstinner
2017-06-13 09:25:52vstinnersetmessageid: <1497345952.64.0.555472918289.issue30648@psf.upfronthosting.co.za>
2017-06-13 09:25:52vstinnerlinkissue30648 messages
2017-06-13 09:25:51vstinnercreate