Closed
Description
Originally reported by: Oleg Sinyavskiy (BitBucket: otognan, GitHub: otognan)
Hi guys,
I have a strange internal error that appears sometimes (20% of runs) on certain machines (Ubuntu), but not on others (Mac and CentOS). xdist 1.8. Any ideas? Thanks in advance!
#!python
============================= test session starts ==============================
platform linux2 -- Python 2.7.3 -- pytest-2.3.4 -- /mnt/jenkins-workspace/workspace/my_stuff/venv/bin/python
cachedir: /mnt/jenkins-workspace/workspace/my_stuff/.cache
plugins: cache, pep8, cov, capturelog, xdist
gw0 I / gw1 I / gw2 I / gw3 I / gw4 I / gw5 I / gw6 I / gw7 I
[gw0] linux2 Python 2.7.3 cwd: /mnt/jenkins-workspace/workspace/my_stuff
[gw1] linux2 Python 2.7.3 cwd: /mnt/jenkins-workspace/workspace/my_stuff
[gw2] linux2 Python 2.7.3 cwd: /mnt/jenkins-workspace/workspace/my_stuff
[gw3] linux2 Python 2.7.3 cwd: /mnt/jenkins-workspace/workspace/my_stuff
[gw4] linux2 Python 2.7.3 cwd: /mnt/jenkins-workspace/workspace/my_stuff
[gw5] linux2 Python 2.7.3 cwd: /mnt/jenkins-workspace/workspace/my_stuff
[gw6] linux2 Python 2.7.3 cwd: /mnt/jenkins-workspace/workspace/my_stuff
[gw7] linux2 Python 2.7.3 cwd: /mnt/jenkins-workspace/workspace/my_stuff
[gw1] Python 2.7.3 (default, Aug 1 2012, 05:14:39) -- [GCC 4.6.3]
[gw4] Python 2.7.3 (default, Aug 1 2012, 05:14:39) -- [GCC 4.6.3]
[gw0] Python 2.7.3 (default, Aug 1 2012, 05:14:39) -- [GCC 4.6.3]
[gw3] Python 2.7.3 (default, Aug 1 2012, 05:14:39) -- [GCC 4.6.3]
[gw2] Python 2.7.3 (default, Aug 1 2012, 05:14:39) -- [GCC 4.6.3]
[gw5] Python 2.7.3 (default, Aug 1 2012, 05:14:39) -- [GCC 4.6.3]
[gw6] Python 2.7.3 (default, Aug 1 2012, 05:14:39) -- [GCC 4.6.3]
[gw7] Python 2.7.3 (default, Aug 1 2012, 05:14:39) -- [GCC 4.6.3]
gw0 [496] / gw1 [496] / gw2 [496] / gw3 [496] / gw4 [496] / gw5 [357] / gw6 [496] / gw7 [496]
scheduling tests via LoadScheduling
INTERNALERROR> Traceback (most recent call last):
INTERNALERROR> File "/mnt/jenkins-workspace/workspace/my_stuff/venv/local/lib/python2.7/site-packages/_pytest/main.py", line 81, in wrap_session
INTERNALERROR> doit(config, session)
INTERNALERROR> File "/mnt/jenkins-workspace/workspace/my_stuff/venv/local/lib/python2.7/site-packages/_pytest/main.py", line 113, in _main
INTERNALERROR> config.hook.pytest_runtestloop(session=session)
INTERNALERROR> File "/mnt/jenkins-workspace/workspace/my_stuff/venv/local/lib/python2.7/site-packages/_pytest/core.py", line 422, in __call__
INTERNALERROR> return self._docall(methods, kwargs)
INTERNALERROR> File "/mnt/jenkins-workspace/workspace/my_stuff/venv/local/lib/python2.7/site-packages/_pytest/core.py", line 433, in _docall
INTERNALERROR> res = mc.execute()
INTERNALERROR> File "/mnt/jenkins-workspace/workspace/my_stuff/venv/local/lib/python2.7/site-packages/_pytest/core.py", line 351, in execute
INTERNALERROR> res = method(**kwargs)
INTERNALERROR> File "/mnt/jenkins-workspace/workspace/my_stuff/venv/local/lib/python2.7/site-packages/xdist/dsession.py", line 201, in pytest_runtestloop
INTERNALERROR> self.loop_once()
INTERNALERROR> File "/mnt/jenkins-workspace/workspace/my_stuff/venv/local/lib/python2.7/site-packages/xdist/dsession.py", line 219, in loop_once
INTERNALERROR> call(**kwargs)
INTERNALERROR> File "/mnt/jenkins-workspace/workspace/my_stuff/venv/local/lib/python2.7/site-packages/xdist/dsession.py", line 272, in slave_collectionfinish
INTERNALERROR> self.sched.init_distribute()
INTERNALERROR> File "/mnt/jenkins-workspace/workspace/my_stuff/venv/local/lib/python2.7/site-packages/xdist/dsession.py", line 132, in init_distribute
INTERNALERROR> assert collection == col
INTERNALERROR> AssertionError: assert ['conftest.py', 'my_stuff/__init__.py', ...] == ['conftest.py', 'my_stuff/__init__.py', ...]