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

test_shutil does not clean up after itself #59392

Closed
bitdancer opened this issue Jun 26, 2012 · 8 comments
Closed

test_shutil does not clean up after itself #59392

bitdancer opened this issue Jun 26, 2012 · 8 comments
Assignees
Labels
release-blocker tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error

Comments

@bitdancer
Copy link
Member

BPO 15187
Nosy @birkenfeld, @larryhastings, @bitdancer, @hynek
Files
  • larry.fix.shutil.test.tmp.dirs.1.diff: Patch Support "bpo-" in Misc/NEWS #1.
  • 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 = 'https://github.com/larryhastings'
    closed_at = <Date 2012-06-26.06:51:16.267>
    created_at = <Date 2012-06-26.01:54:53.556>
    labels = ['type-bug', 'tests', 'release-blocker']
    title = 'test_shutil does not clean up after itself'
    updated_at = <Date 2012-06-26.07:16:30.634>
    user = 'https://github.com/bitdancer'

    bugs.python.org fields:

    activity = <Date 2012-06-26.07:16:30.634>
    actor = 'larry'
    assignee = 'larry'
    closed = True
    closed_date = <Date 2012-06-26.06:51:16.267>
    closer = 'larry'
    components = ['Tests']
    creation = <Date 2012-06-26.01:54:53.556>
    creator = 'r.david.murray'
    dependencies = []
    files = ['26161']
    hgrepos = []
    issue_num = 15187
    keywords = ['patch', 'buildbot']
    message_count = 8.0
    messages = ['164026', '164030', '164032', '164038', '164047', '164050', '164051', '164052']
    nosy_count = 5.0
    nosy_names = ['georg.brandl', 'larry', 'r.david.murray', 'python-dev', 'hynek']
    pr_nums = []
    priority = 'release blocker'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue15187'
    versions = ['Python 3.3']

    @bitdancer
    Copy link
    Member Author

    test_shutil leaves several (six) directories in /tmp. This eventually fills /tmp on my buildbots and causes subsequent test runs to fail.

    @bitdancer bitdancer added tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error labels Jun 26, 2012
    @larryhastings
    Copy link
    Contributor

    Patch attached. On my machine it used to leave six directories, now it leaves none.

    @larryhastings
    Copy link
    Contributor

    Georg, you want this fixed for beta 1?

    @hynek
    Copy link
    Member

    hynek commented Jun 26, 2012

    LGTM

    @birkenfeld
    Copy link
    Member

    Yep.

    @larryhastings
    Copy link
    Contributor

    This was fixed in 1fa50bbcc21f1458c1dc00ea733b76e6405b8cbb . (I think the tracker had an aneurysm when the notification showed up.)

    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Jun 26, 2012

    New changeset 6b1d4e3ce867 by Larry Hastings in branch 'default':
    Fix issue # in Misc/NEWS (should be bpo-15187, not 15817.)
    http://hg.python.org/cpython/rev/6b1d4e3ce867

    @larryhastings
    Copy link
    Contributor

    (No wonder it had an aneurysm!)

    @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
    release-blocker tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    4 participants