Uh oh!
There was an error while loading. Please reload this page.
bpo-45209: fix UserWarning: resource_tracker in test_multiprocessing - #28377
Conversation
vstinner
commented
Sep 16, 2021
cc @pitrou |
UserWarning: resource_tracker in `test_multiproc…UserWarning: resource_tracker in test_multiprocessingUh oh!
There was an error while loading. Please reload this page.
sobolevn
commented
Sep 16, 2021
All PRs right now have this problem: https://dev.azure.com/Python/cpython/_build/results?buildId=87889&view=logs&j=91c152bd-7320-5194-b252-1404e56e2478&t=c7e99cd8-4756-5292-d34b-246ff5fc615f Another examples: |
vstinner
commented
Sep 16, 2021
Windows build error on Azure Pipelines is tracked by: https://bugs.python.org/issue45220 |
sobolevn
commented
Sep 18, 2021
Rebased, CI now passes. |
vstinner
left a comment
There was a problem hiding this comment.
LGTM. @pitrou: Would you mind to double check this multiprocessing test fix?
I'm kind of unhappy that you have to prepend "/". SharedMemory._prepend_leading_slash does a magic dance (add/remove "/" prefix) with SharedMemory(name) constructor parameter and in SharedMemory.name property. But I don't think that it's worth it to add something just for this very specific test. We can always revisit the code later if we start to have issue on some corner cases.
Uh oh!
There was an error while loading. Please reload this page.
sobolevn
commented
Sep 20, 2021
Yes, me too. I've tried several other things like |
ambv
commented
Sep 21, 2021
Since the slash hack is tests-only, let's have it. We can fix the fix later if we find a way to do so. |
miss-islington
commented
Sep 21, 2021
pythonGH-28377) (cherry picked from commit f604cf1) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
bedevere-bot
commented
Sep 21, 2021
GH-28499 is a backport of this pull request to the 3.10 branch. |
miss-islington
commented
Sep 21, 2021
bedevere-bot
commented
Sep 21, 2021
GH-28500 is a backport of this pull request to the 3.9 branch. |
pythonGH-28377) (cherry picked from commit f604cf1) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
https://bugs.python.org/issue45209