Title: Seems hard to believe, but do multiple test cases share files? · Issue #98372 · python/cpython · GitHub
Open Graph Title: Seems hard to believe, but do multiple test cases share files? · Issue #98372 · python/cpython
X Title: Seems hard to believe, but do multiple test cases share files? · Issue #98372 · python/cpython
Description: 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\\...
Open Graph Description: 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 pr...
X Description: 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 pr...
Opengraph URL: https://github.com/python/cpython/issues/98372
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Seems hard to believe, but do multiple test cases share files?","articleBody":"\r\n\r\n# Bug report\r\n\r\nI got a failure on a [pull request](https://github.com/python/cpython/pull/98265) with this error message on the Windows x64 job:\r\n\r\n```\r\nPermissionError: [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�'\r\n```\r\n\r\nI 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).\r\n\r\nUnfortunately, I went back only to find GitHub had elided most of the steps, including that one.\r\n\r\n# Your environment\r\n\r\nGitHub standard CI environment\r\n","author":{"url":"https://github.com/smontanaro","@type":"Person","name":"smontanaro"},"datePublished":"2022-10-17T23:16:05.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/98372/cpython/issues/98372"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d8a3f84d-af28-8e5e-8aff-175dd74bbb9f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D4B4:2D5987:100C436:15AB5B4:696991B2 |
| html-safe-nonce | 62384947d36eb136129af3fe2239f64916fb4856fba45841c20ad86b37044b4d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENEI0OjJENTk4NzoxMDBDNDM2OjE1QUI1QjQ6Njk2OTkxQjIiLCJ2aXNpdG9yX2lkIjoiMjM1MDQ1NzA0ODE5MzkyOTY1MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ddfacc73d34f2901ce1b96da6448402a2766e11b5bd2badc849d9921354a5f59 |
| hovercard-subject-tag | issue:1412354915 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/98372/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e0924c8d6c42f9c42ab7ede5c2336439a7c57d16e51ea4fddcaf5b07809aafdf/python/cpython/issues/98372 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e0924c8d6c42f9c42ab7ede5c2336439a7c57d16e51ea4fddcaf5b07809aafdf/python/cpython/issues/98372 |
| og:image:alt | 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 pr... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | smontanaro |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3542e147982176a7ebaa23dfb559c8af16f721c03ec560c68c56b64a0f35e751 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | af80af7cc9e3de9c336f18b208a600950a3c187c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width