[pytest-dev] pytest.internal test failures

Srinath g.s.srinath89 at gmail.com
Thu Sep 4 08:45:59 CEST 2014


Hi list,


*23:01:51* Traceback (most recent call last):*23:01:51*   File
"<string>", line 1, in <module>*23:01:51*   File "<string>", line 6,
in <module>*23:01:51*   File
"/home/epsilon/shiningpanda/jobs/9783e24d/virtualenvs/83eb871d/local/lib/python2.7/site-packages/execnet/gateway_base.py",
line 1215, in serve*23:01:51*     SlaveGateway(io=io, id=id,
_startcount=2).serve()*23:01:51*   File
"/home/epsilon/shiningpanda/jobs/9783e24d/virtualenvs/83eb871d/local/lib/python2.7/site-packages/execnet/gateway_base.py",
line 777, in serve*23:01:51*     self.join()*23:01:51*   File
"/home/epsilon/shiningpanda/jobs/9783e24d/virtualenvs/83eb871d/local/lib/python2.7/site-packages/execnet/gateway_base.py",
line 735, in join*23:01:51*
self._receiverthread.join(timeout)*23:01:51*   File
"/usr/lib/python2.7/threading.py", line 668, in join*23:01:51*
self.__block.wait()*23:01:51*   File
"/usr/lib/python2.7/threading.py", line 244, in wait*23:01:51*
waiter.acquire()*23:01:51*   File "_semaphore.pyx", line 112, in
gevent._semaphore.Semaphore.acquire
(gevent/gevent._semaphore.c:3004)*23:01:51*   File
"/home/epsilon/shiningpanda/jobs/9783e24d/virtualenvs/83eb871d/local/lib/python2.7/site-packages/gevent/hub.py",
line 331, in switch*23:01:51*     return
greenlet.switch(self)*23:01:51* gevent.hub.LoopExit: This operation
would block forever


We keep getting this error in our CI system which raises
`pytest.internal` error. Can anyone suggest a way to solve this?


pytest version:

pytest==2.5.2
pytest-cache==0.9
pytest-capturelog==0.7
pytest-cov==1.6
pytest-figleaf==1.0
pytest-growl==0.1
pytest-pep8==1.0.4
pytest-xdist==1.8

execnet==1.1


Please help.


Also, can anyone tell which version of pytest works well with
execnet1.2? This is the version that has gevent support.


[image: Srinath GS on about.me]

Srinath GS
about.me/srinathgs
  <http://about.me/srinathgs>http://srinath.im
I write code @ Alamut
Srinath G S
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pytest-dev/attachments/20140904/1bbe4b0a/attachment.html>


More information about the Pytest-dev mailing list