[issue14644] test_logging failure on OS X Tiger

2012-07-16 Thread Ronald Oussoren

Ronald Oussoren ronaldousso...@mac.com added the comment:

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.

--
nosy: +ronaldoussoren

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14644
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14644] test_logging failure on OS X Tiger

2012-04-23 Thread Vinay Sajip

Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:

I've increased the SMTPHandler timeouts and the tests now seem to be passing, 
so I'll close this now.

--
resolution:  - fixed
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14644
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14644] test_logging failure on OS X Tiger

2012-04-22 Thread Antoine Pitrou

New submission from Antoine Pitrou pit...@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 rep...@bugs.python.org
http://bugs.python.org/issue14644
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14644] test_logging failure on OS X Tiger

2012-04-22 Thread Antoine Pitrou

Changes by Antoine Pitrou pit...@free.fr:


--
nosy: +db3l

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14644
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14644] test_logging failure on OS X Tiger

2012-04-22 Thread Roundup Robot

Roundup Robot devn...@psf.upfronthosting.co.za added the comment:

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

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14644
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com