Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

regrtest: when interrupted, temporary directory is not removed #81096

Closed
vstinner opened this issue May 14, 2019 · 3 comments
Closed

regrtest: when interrupted, temporary directory is not removed #81096

vstinner opened this issue May 14, 2019 · 3 comments
Labels
3.7 (EOL) end of life 3.8 only security fixes tests Tests in the Lib/test dir

Comments

@vstinner
Copy link
Member

BPO 36915
Nosy @vstinner, @miss-islington
PRs
  • bpo-36915: regrtest always remove tempdir of worker processes #13312
  • [3.7] bpo-36915: regrtest always remove tempdir of worker processes (GH-13312) #13314
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2019-05-14.15:27:00.299>
    created_at = <Date 2019-05-14.12:05:07.878>
    labels = ['3.8', '3.7', 'tests']
    title = 'regrtest: when interrupted, temporary directory is not removed'
    updated_at = <Date 2019-05-14.15:27:00.298>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2019-05-14.15:27:00.298>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-05-14.15:27:00.299>
    closer = 'vstinner'
    components = ['Tests']
    creation = <Date 2019-05-14.12:05:07.878>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 36915
    keywords = ['patch']
    message_count = 3.0
    messages = ['342451', '342461', '342473']
    nosy_count = 2.0
    nosy_names = ['vstinner', 'miss-islington']
    pr_nums = ['13312', '13314']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue36915'
    versions = ['Python 3.7', 'Python 3.8']

    @vstinner
    Copy link
    Member Author

    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.

    @vstinner vstinner added 3.7 (EOL) end of life 3.8 only security fixes tests Tests in the Lib/test dir labels May 14, 2019
    @vstinner
    Copy link
    Member Author

    New changeset 3c93153 by Victor Stinner in branch 'master':
    bpo-36915: regrtest always remove tempdir of worker processes (GH-13312)
    3c93153

    @miss-islington
    Copy link
    Contributor

    New changeset ecd668d by Miss Islington (bot) in branch '3.7':
    bpo-36915: regrtest always remove tempdir of worker processes (GH-13312)
    ecd668d

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.7 (EOL) end of life 3.8 only security fixes tests Tests in the Lib/test dir
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants