This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2012年04月22日 12:29 by pitrou, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Messages (4) | |||
|---|---|---|---|
| msg158957 - (view) | Author: Antoine Pitrou (pitrou) * (Python committer) | Date: 2012年04月22日 12:29 | |
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 |
|||
| msg158975 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2012年04月22日 17:20 | |
New changeset bdbcb8f48ddd by Vinay Sajip in branch 'default': Issue #14644: Increased default timeout for SMTPHandler. Note: last commit message referred to the wrong issue number. http://hg.python.org/cpython/rev/bdbcb8f48ddd |
|||
| msg159002 - (view) | Author: Vinay Sajip (vinay.sajip) * (Python committer) | Date: 2012年04月23日 08:28 | |
I've increased the SMTPHandler timeouts and the tests now seem to be passing, so I'll close this now. |
|||
| msg165602 - (view) | Author: Ronald Oussoren (ronaldoussoren) * (Python committer) | Date: 2012年07月16日 13:31 | |
I get failures for the same test on my machine running OSX 10.7, the machine is fairly overloaded right now because I'm running a large VM in the background. Increasing the timeout from 5.0 to 15.0 seconds ensures that the test passes. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:29 | admin | set | github: 58849 |
| 2012年07月16日 13:31:28 | ronaldoussoren | set | nosy:
+ ronaldoussoren messages: + msg165602 |
| 2012年04月23日 08:28:37 | vinay.sajip | set | status: open -> closed resolution: fixed messages: + msg159002 |
| 2012年04月22日 17:20:00 | python-dev | set | nosy:
+ python-dev messages: + msg158975 |
| 2012年04月22日 12:30:01 | pitrou | set | nosy:
+ db3l |
| 2012年04月22日 12:29:43 | pitrou | create | |