Skip to content
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

gh-117657: Skip test when running under TSan #121549

Merged
merged 2 commits into from
Jul 9, 2024

Conversation

colesbury
Copy link
Contributor

@colesbury colesbury commented Jul 9, 2024

The ProcessPoolForkserver and test_multiprocessing_fork tests use thread after forking in a multi-threaded program, which is not supported by TSan.

The ProcessPoolForkserver combined with resource_tracker starts a thread
after forking, which is not supported by TSan.
@colesbury colesbury requested a review from gpshead as a code owner July 9, 2024 20:34
@gpshead gpshead merged commit 0439743 into python:main Jul 9, 2024
33 checks passed
@miss-islington-app
Copy link

Thanks @colesbury for the PR, and @gpshead for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 9, 2024
The ProcessPoolForkserver combined with resource_tracker starts a thread
after forking, which is not supported by TSan.

Also skip test_multiprocessing_fork for the same reason
(cherry picked from commit 0439743)

Co-authored-by: Sam Gross <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Jul 9, 2024

GH-121553 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Jul 9, 2024
gpshead pushed a commit that referenced this pull request Jul 9, 2024
…21553)

gh-117657: Skip test when running under TSan (GH-121549)

The ProcessPoolForkserver combined with resource_tracker starts a thread
after forking, which is not supported by TSan.

Also skip test_multiprocessing_fork for the same reason
(cherry picked from commit 0439743)

Co-authored-by: Sam Gross <[email protected]>
noahbkim pushed a commit to hudson-trading/cpython that referenced this pull request Jul 11, 2024
The ProcessPoolForkserver combined with resource_tracker starts a thread
after forking, which is not supported by TSan.

Also skip test_multiprocessing_fork for the same reason
estyxx pushed a commit to estyxx/cpython that referenced this pull request Jul 17, 2024
The ProcessPoolForkserver combined with resource_tracker starts a thread
after forking, which is not supported by TSan.

Also skip test_multiprocessing_fork for the same reason
@colesbury colesbury deleted the gh-117657-concurrent-futures-init branch July 22, 2024 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants