1. Holger Krekel
  2. execnet
  3. Issues
Issue #16 resolved

Threading issue (deadlock)

Thomas Moschny
created an issue

With execnet 1.1 I see a lot of _thread.error: can't start new thread failures in the testsuite, similar to https://bitbucket.org/hpk42/execnet/issue/9 I think.

After applying the patch from https://bitbucket.org/hpk42/execnet/commits/49c5934137e5 however, the testsuite doesn't terminate anymore, but hangs:

py.test-3.3 -v -v -r s
==================================================================== test session starts =====================================================================
platform linux -- Python 3.3.2 -- pytest-2.3.5 -- /usr/bin/python3
gateway test setup scope: session
execnet: /tmp/RPM_BUILDDIR/python3-python-execnet-1.1-4.fc19/execnet/__init__.py -- 1.1
collected 380 items 

[... output snipped ...]
testing/test_channel.py:15: TestChannelBasicBehaviour.test_serialize_error[popen] PASSED
testing/test_channel.py:15: TestChannelBasicBehaviour.test_serialize_error[socket] PASSED
testing/test_channel.py:15: TestChannelBasicBehaviour.test_serialize_error[ssh] SKIPPED
testing/test_channel.py:15: TestChannelBasicBehaviour.test_serialize_error[proxy] PASSED^C

Comments (2)

  1. Log in to comment