Skip to content

Conversation

@vstinner
Copy link
Member

@vstinnervstinner commented Jun 18, 2024

If the child process takes longer than SHORT_TIMEOUT seconds to complete, kill the process but then wait until it completes with no timeout to not leak child processes.

If the child process takes longer than SHORT_TIMEOUT seconds to complete, kill the process but then wait until it completes with no timeout to not leak child processes.
@vstinner
Copy link
MemberAuthor

!buildbot AMD64 Debian PGO

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @vstinner for commit 5ad6dc0 🤖

The command will test the builders whose names match following regular expression: AMD64 Debian PGO

The builders matched are:

  • AMD64 Debian PGO PR

@lysnikolaou
Copy link
Member

Did the buildbot run? I can't find it in the list of checks.

@vstinner
Copy link
MemberAuthor

Did the buildbot run? I can't find it in the list of checks.

No, it didn't yet. It's very slow: a single build takes between 3 and 7 hours! https://buildbot.python.org/all/#/workers/3

@vstinner
Copy link
MemberAuthor

buildbot/AMD64 Debian PGO PR — Build done.

It's a success.

@vstinnervstinner merged commit 0f3e364 into python:mainJun 19, 2024
@vstinnervstinner deleted the pyrepl_wait branch June 19, 2024 13:14
@miss-islington-app
Copy link

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 19, 2024
) If the child process takes longer than SHORT_TIMEOUT seconds to complete, kill the process but then wait until it completes with no timeout to not leak child processes. (cherry picked from commit 0f3e364) Co-authored-by: Victor Stinner <[email protected]>
@bedevere-app
Copy link

GH-120741 is a backport of this pull request to the 3.13 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.13 bugs and security fixes label Jun 19, 2024
vstinner added a commit that referenced this pull request Jun 19, 2024
…120741) gh-120635: Avoid leaking processes in test_pyrepl (GH-120676) If the child process takes longer than SHORT_TIMEOUT seconds to complete, kill the process but then wait until it completes with no timeout to not leak child processes. (cherry picked from commit 0f3e364) Co-authored-by: Victor Stinner <[email protected]>
mrahtz pushed a commit to mrahtz/cpython that referenced this pull request Jun 30, 2024
If the child process takes longer than SHORT_TIMEOUT seconds to complete, kill the process but then wait until it completes with no timeout to not leak child processes.
noahbkim pushed a commit to hudson-trading/cpython that referenced this pull request Jul 11, 2024
If the child process takes longer than SHORT_TIMEOUT seconds to complete, kill the process but then wait until it completes with no timeout to not leak child processes.
estyxx pushed a commit to estyxx/cpython that referenced this pull request Jul 17, 2024
If the child process takes longer than SHORT_TIMEOUT seconds to complete, kill the process but then wait until it completes with no timeout to not leak child processes.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip newstestsTests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@vstinner@bedevere-bot@lysnikolaou