Skip to content

Seems hard to believe, but do multiple test cases share files? #98372

Closed as not planned
@smontanaro

Description

@smontanaro

Bug report

I got a failure on a pull request with this error message on the Windows x64 job:

PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'D:\\a\\cpython\\cpython\\build\\test_python_4912�\\test_python_worker_4268�'

I know Windows will complain if two processes try to open the same file, but should different test cases even be using the same (temporary?) files? If they are, you'd think eventually test runs on other platforms would experience problems (stomping on each others' private data, for instance).

Unfortunately, I went back only to find GitHub had elided most of the steps, including that one.

Your environment

GitHub standard CI environment

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions