Comments (8)
Original comment by @mgoral
Hello,
exactly same issue here, but with pytest 2.9.0, xdist 1.14 and execnet 1.4.1. In my situation child process was previously killed/died because of something, which execnet additionally reported by printing to stderr: killing: [Errno 3] No such process
Adding any timeout to workerpool.waitall(), be it the one passed into safe_terminate or any hardcoded value seems to fix the problem.
from execnet.
Not sure if we could be hitting this issue as well (opensistemas-hub/osbrain#182).
from execnet.
this was fixed in aca6845
from execnet.
@RonnyPfannschmidt I'm still experiencing an issue where my code appears to get stuck in the reply.get()
just above the waitall(timeout=timeout)
that was added in aca6845
Would it be possible to just pass through the same timeout there, as well?
from execnet.
I believe so, but someone has to implement it
from execnet.
When you say that, do you just mean that someone has to create a PR with that change I suggested (reply.get(timeout=timeout)
), or that an implementation has to be added somewhere else (I don't think this is the case, since Reply::get
does already receive the timeout parameter and implements it)?
If you think there's nothing else to be done over and above that, I can create a tiny PR with that change
from execnet.
I hadn't have a chance to investigate, but it should be a step in the right direction
from execnet.
Ok, great, I created that as a PR just to move discussion over to there in case there is anything else to say about this
from execnet.
Related Issues (20)
- UnicodeEncodeError when source-path includes a special character HOT 5
- Testing with Python 3.9.15 raises PytestUnraisableExceptionWarning HOT 2
- PytestConfigWarning: Unknown config option: rsyncdirs
- AttributeError: 'ChannelFileWrite' object has no attribute 'encoding' HOT 1
- Please make a new release HOT 7
- Discovering the child pid of a popen gateway HOT 3
- add support for dotenv=somefile to load a dotenv file using the dotenv library to get environment variables
- test_rsync uses obsolete @py.test.mark HOT 3
- EncodingWarning when PYTHONWARNDEFAULTENCODING=1 HOT 1
- Release 2.0.0 HOT 5
- Docs and tests missing from sdist since 2.0.0 HOT 2
- Record of old ISSUES.txt
- 2.0.1: sdist is missing tox.ini
- RTD docs outdated
- Feature - Provide pickle as a solution to serialize non-builtin or supported types. HOT 1
- Gateway instantly closed when connect to Jython 2.5.1 HOT 2
- The error is not being catched HOT 1
- pyinstaller support HOT 16
- FYI type for Python2 strings unserialization changed with 2.1.0 HOT 3
- Exception ignored in atexit callback / RuntimeError: can't create new thread at interpreter shutdown HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from execnet.