]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-117657: Include all of test_free_threading in TSAN tests (#129749)
authorSam Gross <colesbury@gmail.com>
Thu, 6 Feb 2025 23:37:05 +0000 (18:37 -0500)
committerGitHub <noreply@github.com>
Thu, 6 Feb 2025 23:37:05 +0000 (00:37 +0100)
Lib/test/libregrtest/tsan.py
Tools/tsan/suppressions_free_threading.txt

index 1b32deec12bd75f9b9ce1d6c47921ff39e1433be..90c9f0db0af2bf8d15db2e15546aa169aeaf0045 100644 (file)
@@ -25,7 +25,7 @@ TSAN_TESTS = [
     'test_threading_local',
     'test_threadsignals',
     'test_weakref',
-    'test_free_threading.test_slots',
+    'test_free_threading',
 ]
 
 # Tests that should be run with `--parallel-threads=N` under TSAN. These tests
index b25b3700b35613982a1034518b989a1816cdfa87..c2509cae7b9e9d384dc0ad684a99c68dbfe42455 100644 (file)
@@ -43,5 +43,11 @@ race_top:PyThreadState_Clear
 # Only seen on macOS, sample: https://gist.github.com/aisk/dda53f5d494a4556c35dde1fce03259c
 race_top:set_default_allocator_unlocked
 
+# gh-129068: race on shared range iterators (test_free_threading.test_zip.ZipThreading.test_threading)
+race_top:rangeiter_next
+
+# gh-129748: test.test_free_threading.test_slots.TestSlots.test_object
+race_top:mi_block_set_nextx
+
 # https://gist.github.com/mpage/6962e8870606cfc960e159b407a0cb40
 thread:pthread_create