Issue 14644: test_logging failure on OS X Tiger (original) (raw)

test_logging always fails on the OS X Tiger buildbot:

http://www.python.org/dev/buildbot/all/builders/x86%20Tiger%203.x

Traceback (most recent call last): File "/Users/db3l/buildarea/3.x.bolen-tiger/build/Lib/smtplib.py", line 365, in getreply line = self.file.readline() File "/Users/db3l/buildarea/3.x.bolen-tiger/build/Lib/socket.py", line 297, in readinto return self._sock.recv_into(b) socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/db3l/buildarea/3.x.bolen-tiger/build/Lib/logging/handlers.py", line 930, in emit smtp = smtplib.SMTP(self.mailhost, port, timeout=self.timeout) File "/Users/db3l/buildarea/3.x.bolen-tiger/build/Lib/smtplib.py", line 238, in init (code, msg) = self.connect(host, port) File "/Users/db3l/buildarea/3.x.bolen-tiger/build/Lib/smtplib.py", line 319, in connect (code, msg) = self.getreply() File "/Users/db3l/buildarea/3.x.bolen-tiger/build/Lib/smtplib.py", line 369, in getreply + str(e)) smtplib.SMTPServerDisconnected: Connection unexpectedly closed: timed out Logged from file , line 0 test test_logging failed ok

====================================================================== FAIL: test_basic (test.test_logging.SMTPHandlerTest)

Traceback (most recent call last): File "/Users/db3l/buildarea/3.x.bolen-tiger/build/Lib/test/test_logging.py", line 941, in test_basic self.assertTrue(self.handled.is_set()) AssertionError: False is not true