[TIP] pytest xdist raise INTERNALERROR occasionally on Windows 2008r2
Baiju M
baiju.m.mail at gmail.com
Wed Aug 22 22:03:46 PDT 2012
Hi,
I run tests on Windows 2008r2, the number of tests is 50. The test fails with
a traceback like this:
INTERNALERROR> Traceback (most recent call last):
...
INTERNALERROR> File
"e:\functional_tests\eggs\pytest_xdist-1.8-py2.6.egg\xdist\dsession.py",
line 201, in pytest_runtestloop
INTERNALERROR> self.loop_once()
INTERNALERROR> File
"e:\functional_tests\eggs\pytest_xdist-1.8-py2.6.egg\xdist\dsession.py",
line 219, in loop_once
INTERNALERROR> call(**kwargs)
INTERNALERROR> File
"e:\functional_tests\eggs\pytest_xdist-1.8-py2.6.egg\xdist\dsession.py",
line 272, in slave_collectionfinish
INTERNALERROR> self.sched.init_distribute()
INTERNALERROR> File
"e:\functional_tests\eggs\pytest_xdist-1.8-py2.6.egg\xdist\dsession.py",
line 132, in init_distribute
INTERNALERROR> assert collection == col
INTERNALERROR> AssertionError: assert ['XXXXXXXXXXXXXX', ...] ==
['XXXXXXXXXXXXXX', ...]
That 'XXXXXXXXXXXXXX' (masked) is same in left and right whatever displayed.
I have pasted the full traceback (masked the actual test) here:
https://gist.github.com/3432544
This doesn't happen always. The test is invoked from Jenkins. pytest
version 2.2.3
Let me know, if any other details required.
Regards,
Baiju M
More information about the testing-in-python
mailing list