Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Aug 20, 2019

  • Write a message when killing a process
  • Catch exceptions when calling popen.kill()
  • Put a timeout when calling popen.communicate() after killing the
    process
  • Put a timeout when calling popen.wait()

https://bugs.python.org/issue37531

* Write a message when killing a worker process
* Catch exceptions when calling popen.kill()
* Put a timeout when calling popen.communicate() after killing the
  process
* Put a timeout when calling popen.wait()
@aeros aeros added the tests Tests in the Lib/test dir label Aug 21, 2019
@vstinner vstinner merged commit de2d9ee into python:master Aug 21, 2019
@vstinner vstinner deleted the regrtest_timeout2 branch August 21, 2019 09:59
lisroach pushed a commit to lisroach/cpython that referenced this pull request Sep 10, 2019
* Write a message when killing a worker process
* Put a timeout on the second popen.communicate() call
  (after killing the process)
* Put a timeout on popen.wait() call
* Catch popen.kill() and popen.wait() exceptions
vstinner added a commit that referenced this pull request Sep 10, 2019
…-15874)

bpo-37531: Enhance regrtest multiprocess timeout (GH-15345)

* Write a message when killing a worker process
* Put a timeout on the second popen.communicate() call
  (after killing the process)
* Put a timeout on popen.wait() call
* Catch popen.kill() and popen.wait() exceptions

(cherry picked from commit de2d9ee)
vstinner added a commit that referenced this pull request Sep 10, 2019
* Write a message when killing a worker process
* Put a timeout on the second popen.communicate() call
  (after killing the process)
* Put a timeout on popen.wait() call
* Catch popen.kill() and popen.wait() exceptions

(cherry picked from commit de2d9ee)
DinoV pushed a commit to DinoV/cpython that referenced this pull request Jan 14, 2020
* Write a message when killing a worker process
* Put a timeout on the second popen.communicate() call
  (after killing the process)
* Put a timeout on popen.wait() call
* Catch popen.kill() and popen.wait() exceptions
websurfer5 pushed a commit to websurfer5/cpython that referenced this pull request Jul 20, 2020
* Write a message when killing a worker process
* Put a timeout on the second popen.communicate() call
  (after killing the process)
* Put a timeout on popen.wait() call
* Catch popen.kill() and popen.wait() exceptions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants