-
-
Notifications
You must be signed in to change notification settings - Fork 31.1k
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
Seems hard to believe, but do multiple test cases share files? #98372
Comments
See issue #98219.
It's not inherently related to processes. A filesystem manages a share-access record for each open file or directory, which tracks the number of current opens that have read, write, or delete access, as well as the number of current opens that share read, write, and delete access. The tracking is only per open file object in the kernel. Access sharing is updated and checked whenever a file or directory is opened. It has nothing inherently to do with processes, despite the misleading error message for |
The bug is currently investigated and fixed for Windows 11 in gh-97641. It looks like the fix will remedy the GitHub Actions too. |
Which fix? Is there a PR? |
Is there an actionable item here? This issue has been stale since Oct 2022; suggesting to close it. |
Wouldn't appear so. Close it... |
Bug report
I got a failure on a pull request with this error message on the Windows x64 job:
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
The text was updated successfully, but these errors were encountered: