On Sun, Oct 21, 2012 at 07:55:12PM +0200, Lorenzo Gil Sanchez wrote:
> I'm finding intermittent failures when running the waitress test suite
> with Python 3.2.
...
> If I run this command:
>
> for i in `seq 100`; do tox -e py32 ; done
>
> I got 57 failures on a specific run. If I run it again I got similar
> failures but not always the same.
...
> Can anyone confirm this problem? I'd like to help fixing the bug but
> I'm afraid that I'm not very familiar with waitress low level code so
> any pointer will be appreciated.
I was unable to reproduce this on Ubuntu 12.04 (x86-64) with 10 runs of
tox -e py32, but I *was* able to reproduce it when I tried a 100 runs
after that.
One of the failures I saw was
FAIL: test_notfilelike_longcl_http11 (waitress.tests.test_functional.TestFileWrapper)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/mg/src/waitress/waitress/tests/test_functional.py", line 1114, in test_notfilelike_longcl_http11
self.assertEqual(cl, len(response_body)+10)
AssertionError: 45458 != 16271
so it looks like the same thing you saw.
In total I've seen 8 failures out of 110 runs.
Marius Gedminas
--
After having done some test using hi-tech istruments (moving my mouse
during a kernel build) [...]
-- Davide Libenzi on lkml