You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Python 2 environment command runs all tests, reports failure on test_assert_0 and ends. In Python 3 environment test hangs before scanning for tests.
Execnet debug logs:
====================================== test session starts =======================================
platform darwin -- Python 3.8.2, pytest-6.2.3, py-1.10.0, pluggy-0.13.1
rootdir: /Users/changwan.park/Documents/py3_venv
plugins: xdist-2.2.1, forked-1.3.0
gw0 C[13946] gw0 [receiver-thread] RECEIVERTHREAD: starting to run
[13946] gw0 sent <Message CHANNEL_EXEC channel=1 lendata=8631>
[13946] gw0 sent <Message CHANNEL_DATA channel=1 lendata=470>
[13948] creating workergateway on <execnet.gateway_base.Popen2IO object at 0x10dc89bb0>
[13948] gw0-worker [serve] spawning receiver thread
[13948] gw0-worker [serve] joining receiver thread
[13948] gw0-worker waiting for receiver thread to finish
[13948] gw0-worker [receiver-thread] RECEIVERTHREAD: starting to run
[13948] gw0-worker [receiver-thread] received <Message CHANNEL_EXEC channel=1 lendata=8631>
[13948] gw0-worker [receiver-thread] received <Message CHANNEL_DATA channel=1 lendata=470>
Different issue compared with pytest-dev/execnet#75. By comparing execnet debug trace, above example hangs after gw0-worker only receives gw0but does not execute the received command.
After some digging, I found out the hanging occurres since remote_exec hangs. See pytest-dev/execnet#123.
The text was updated successfully, but these errors were encountered:
The problem only occurs at python3.
Environment:
Linux faa410b1f09b 4.19.121-linuxkit #1 SMP Thu Jan 21 15:36:34 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Python 3.7.5
Dependencies:
Command:
pytest -d --tx popen//execmodel=gevent test.py
Code:
In Python 2 environment command runs all tests, reports failure on test_assert_0 and ends. In Python 3 environment test hangs before scanning for tests.
Execnet debug logs:
Different issue compared with pytest-dev/execnet#75. By comparing execnet debug trace, above example hangs after
gw0-worker
only receivesgw0
but does not execute the received command.After some digging, I found out the hanging occurres since
remote_exec
hangs. See pytest-dev/execnet#123.The text was updated successfully, but these errors were encountered: