Skip to content

Duplicate directory error when testing test/support/os_helper.py #124841

@rruuaanng

Description

@rruuaanng

Bug report

Bug description:

0:12:20 load avg: 10.34 Re-running 2 failed tests in verbose mode in subprocesses
0:12:20 load avg: 10.34 Run 2 tests in parallel using 2 worker processes (timeout: 10 min, worker timeout: 15 min)
0:12:21 load avg: 10.17 [1/2] test_threading passed
D:\a\cpython\cpython\Lib\test\support\os_helper.py:554: RuntimeWarning: tests may fail, unable to create temporary directory 'D:\\a\\cpython\\cpython\\build\\test_python_8256�': [WinError 183] Cannot create a file when that file already exists: 'D:\\a\\cpython\\cpython\\build\\test_python_8256�'
  with temp_dir(path=name, quiet=quiet) as temp_path:
Re-running test_threading in verbose mode (matching: test_wait_return)
test_wait_return (test.test_threading.BarrierTests.test_wait_return)

For more information, see: https://github.com/python/cpython/actions/runs/11123486415/job/30907056284?pr=124747

CPython versions tested on:

CPython main branch

Operating systems tested on:

Other

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions