Code Monkey home page Code Monkey logo

Comments (8)

pytestbot avatar pytestbot commented on June 10, 2024

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.

Peque avatar Peque commented on June 10, 2024

Not sure if we could be hitting this issue as well (opensistemas-hub/osbrain#182).

from execnet.

RonnyPfannschmidt avatar RonnyPfannschmidt commented on June 10, 2024

this was fixed in aca6845

from execnet.

JCourt1 avatar JCourt1 commented on June 10, 2024

@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.

RonnyPfannschmidt avatar RonnyPfannschmidt commented on June 10, 2024

I believe so, but someone has to implement it

from execnet.

JCourt1 avatar JCourt1 commented on June 10, 2024

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.

RonnyPfannschmidt avatar RonnyPfannschmidt commented on June 10, 2024

I hadn't have a chance to investigate, but it should be a step in the right direction

from execnet.

JCourt1 avatar JCourt1 commented on June 10, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.