This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: regrtest: when interrupted, temporary directory is not removed
Type: Stage: resolved
Components: Tests Versions: Python 3.8, Python 3.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: miss-islington, vstinner
Priority: normal Keywords: patch

Created on 2019-05-14 12:05 by vstinner, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 13312 merged vstinner, 2019-05-14 12:13
PR 13314 merged miss-islington, 2019-05-14 13:50
Messages (3)
msg342451 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-05-14 12:05
I modified regrtest (Python test runner) to kill worker processes using SIGKILL when the main process is interrupted by CTRL+C. Problem: nothing clears temporary directories created by these worker processes.

I'm working on a fix.
msg342461 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-05-14 13:49
New changeset 3c93153f7db5dd9b06f229e61978fd9199b3c097 by Victor Stinner in branch 'master':
bpo-36915: regrtest always remove tempdir of worker processes (GH-13312)
https://github.com/python/cpython/commit/3c93153f7db5dd9b06f229e61978fd9199b3c097
msg342473 - (view) Author: miss-islington (miss-islington) Date: 2019-05-14 15:25
New changeset ecd668d6d99ff03166427f02347454cfdf904a6c by Miss Islington (bot) in branch '3.7':
bpo-36915: regrtest always remove tempdir of worker processes (GH-13312)
https://github.com/python/cpython/commit/ecd668d6d99ff03166427f02347454cfdf904a6c
History
Date User Action Args
2022-04-11 14:59:15adminsetgithub: 81096
2021-11-09 22:51:33iritkatriellinkissue15967 superseder
2019-05-14 15:27:00vstinnersetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2019-05-14 15:25:11miss-islingtonsetnosy: + miss-islington
messages: + msg342473
2019-05-14 13:50:14miss-islingtonsetpull_requests: + pull_request13224
2019-05-14 13:49:23vstinnersetmessages: + msg342461
2019-05-14 12:13:32vstinnersetkeywords: + patch
stage: patch review
pull_requests: + pull_request13222
2019-05-14 12:05:07vstinnercreate