[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>