]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-143750: Compile OpenSSL with TSan for TSan CI (#153316) (#153355)
authorKumar Aditya <kumaraditya@python.org>
Fri, 10 Jul 2026 07:27:50 +0000 (12:57 +0530)
committerGitHub <noreply@github.com>
Fri, 10 Jul 2026 07:27:50 +0000 (07:27 +0000)
commitb49ec81a797a3fafc362353c2540795d615b79e0
treebf62c39297477129cd148150d6b3cdbc1ec77372
parent6374772d8c2118c5615c8aae109222442603b921
[3.14] gh-143750: Compile OpenSSL with TSan for TSan CI (#153316) (#153355)

Compile OpenSSL with TSan in the TSan CI job so that data races between
Python code and OpenSSL internals are visible to the sanitizer.

Also skip test_ssl_in_multiple_threads under TSan: concurrent calls to
SSLContext.load_cert_chain on the same context race on the SSL_CTX
default password callback. The race is fixed in 3.15+ (GH-143818), but
with TSan-instrumented OpenSSL it is now reported on 3.14.

(cherry picked from commit fc19ad7b8b08c43667c9087d89f32f08830544ce)

Co-authored-by: Sam Gross <colesbury@gmail.com>
.github/workflows/reusable-san.yml
Lib/test/test_ssl.py
Tools/ssl/multissltests.py