[issue14644] test_logging failure on OS X Tiger

Antoine Pitrou report at bugs.python.org
Sun Apr 22 14:29:44 CEST 2012


New submission from Antoine Pitrou <pitrou at free.fr>:

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

----------
assignee: vinay.sajip
components: Library (Lib), Tests
messages: 158957
nosy: pitrou, vinay.sajip
priority: normal
severity: normal
status: open
title: test_logging failure on OS X Tiger
type: behavior
versions: Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14644>
_______________________________________


More information about the Python-bugs-list mailing list