-
Notifications
You must be signed in to change notification settings - Fork 44
Closed
Description
- Bitbucket: https://bitbucket.org/hpk42/execnet/issue/43
- Originally reported by: @dariuspbom
- Originally created at: 2015-06-15T05:46:05.976
We have a test job that uses pytest, xdist, execnet and it has been hanging forever on a regular basis.
Attaching in gdb it looks like it is waiting for a child but there is no child process. The relevant gdb python snippet:
threading.py: wait: 309
threading.py: wait: 603
execnet/gateway_base.py: waitall: 292
execnet/multi.py: safe_terminate: 277
In safe_terminate:
#!python
def safe_terminate(execmodel, timeout, list_of_paired_functions):
# Snip some code
workerpool.waitall()
If the timeout value that is passed into safe_terminate is passed into waitall then it will timeout and exit the pytest test run.
This is working for us.
pytest 2.6.4, xdist 1.11, execnet 1.2.0
We haven't used execnet 1.3.0 yet, but that version hasn't modified the above code.
Peque and mgoral
Metadata
Metadata
Assignees
Labels
No labels