[issue20118] test_imaplib test_linetoolong fails on 2.7 in SSL test on some buildbots

R. David Murray report at bugs.python.org
Fri Jan 3 23:22:59 CET 2014


New submission from R. David Murray:

test.test_imaplib.ThreadedNetworkedTestsSSL.test_linetoolong, added as part of the fix for security (DOS attack) issue 16039, is failing on 2.7 on some buildbots (FreeBSD, OpenIndia, Windows).  On some platforms (FreeBSD at least) the failure seems to be intermittent.  Running the tests with the same randseed on linux does not reproduce the problem.  Running the test under -F on linux does not produce any failures.

Since this is a DOS security issue, and since the failure is that the exception comes from the ssl module instead of being an imaplib error but it nevertheless blocks the attack, I've left the patch in.  But the reason for the failure should be determined and either the test or the code fixed.  (In the meantime I'll mark the test to be skipped).

----------
components: Library (Lib)
messages: 207252
nosy: r.david.murray
priority: normal
severity: normal
stage: needs patch
status: open
title: test_imaplib test_linetoolong fails on 2.7 in SSL test on some buildbots
type: behavior
versions: Python 2.7

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


More information about the Python-bugs-list mailing list