[pytest-dev] pytest.internal test failures
Anatoly Bubenkov
bubenkoff at gmail.com
Thu Sep 4 08:57:10 CEST 2014
we use all 4 at latest versions: pytest, pytest-xdist, execnet, py and it
works
my suggestion is to try not using greenlets and instead use default -
threading
On 4 September 2014 08:45, Srinath <g.s.srinath89 at gmail.com> wrote:
> 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
>
> _______________________________________________
> Pytest-dev mailing list
> Pytest-dev at python.org
> https://mail.python.org/mailman/listinfo/pytest-dev
>
>
--
Anatoly Bubenkov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pytest-dev/attachments/20140904/caa955f1/attachment-0001.html>
More information about the Pytest-dev
mailing list