Skip to content

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

Closed

Description

@vstinner
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']

    Activity

    1. vstinner commented on May 14, 2019

      @vstinner
      MemberAuthor

      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.

    2. vstinner commented on May 14, 2019

      @vstinner
      MemberAuthor

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

    3. miss-islington commented on May 14, 2019

      @miss-islington
      Contributor

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

    4. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of lifetestsTests in the Lib/test dir

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions