Skip to content

gh-153056: Fix a data race compiling the string.Template pattern in free-threading builds #200333

gh-153056: Fix a data race compiling the string.Template pattern in free-threading builds

gh-153056: Fix a data race compiling the string.Template pattern in free-threading builds #200333

Triggered via pull request July 7, 2026 02:48
Status Cancelled
Total duration 2m 57s
Artifacts 2

build.yml

on: pull_request
Change detection  /  Create context from changed files
11s
Change detection / Create context from changed files
Matrix: Address sanitizer
Matrix: build-macos
Matrix: build-san
Matrix: Ubuntu SSL tests
Matrix: build-ubuntu
Matrix: build-windows-msi
Waiting for pending jobs
Matrix: build-windows
Matrix: cifuzz
Waiting for pending jobs
Docs  /  Doctest
2m 22s
Docs / Doctest
Docs  /  Check EPUB
2m 16s
Docs / Check EPUB
Check if Autoconf files are up to date
22s
Check if Autoconf files are up to date
Check if generated files are up to date
2m 22s
Check if generated files are up to date
C API Docs  /  Check if all C APIs are documented
9s
C API Docs / Check if all C APIs are documented
iOS
2m 22s
iOS
Emscripten  /  build and test
2m 23s
Emscripten / build and test
WASI  /  build and test
2m 18s
WASI / build and test
Hypothesis tests on Ubuntu
2m 18s
Hypothesis tests on Ubuntu
Cross build Linux
2m 23s
Cross build Linux
Matrix: build-android
Docs  /  ...  /  Check for removed HTML IDs
3s
Docs / Check for removed HTML IDs / Check for removed HTML IDs
All required checks pass
2s
All required checks pass
Fit to window
Zoom out
Zoom in

Annotations

101 errors and 14 warnings
Docs / Docs
Process completed with exit code 2.
Docs / Check for removed HTML IDs / Check for removed HTML IDs
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Docs / Check for removed HTML IDs / Check for removed HTML IDs
not a git repository (or any of the parent directories): .git
Docs / Check for removed HTML IDs / Check for removed HTML IDs
--local can only be used inside a git repository
Docs / Check for removed HTML IDs / Check for removed HTML IDs
The operation was canceled.
macOS / build and test (macos-26)
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
macOS / build and test (macos-26)
The operation was canceled.
Docs / Check EPUB
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Docs / Check EPUB
The operation was canceled.
Hypothesis tests on Ubuntu
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Hypothesis tests on Ubuntu
The operation was canceled.
Sanitizers / TSan
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Sanitizers / TSan
The operation was canceled.
macOS / build and test (macos-26-intel)
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
macOS / build and test (macos-26-intel)
The operation was canceled.
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.4.6)
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.4.6)
The operation was canceled.
Check if generated files are up to date
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Check if generated files are up to date
The operation was canceled.
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.6.3)
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.6.3)
The operation was canceled.
iOS
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
iOS
The operation was canceled.
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.0.21)
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.0.21)
The operation was canceled.
Ubuntu SSL tests (ubuntu-26.04, aws-lc, 5.0.0)
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
WASI / build and test
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Ubuntu SSL tests (ubuntu-26.04, aws-lc, 5.0.0)
The operation was canceled.
WASI / build and test
The operation was canceled.
Android (x86_64)
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Emscripten / build and test
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Android (x86_64)
The operation was canceled.
Emscripten / build and test
The operation was canceled.
Ubuntu SSL tests (ubuntu-26.04, openssl, 1.1.1w)
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Ubuntu SSL tests (ubuntu-26.04, openssl, 1.1.1w)
The operation was canceled.
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.5.7)
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.5.7)
The operation was canceled.
macOS (free-threading) / build and test (macos-26)
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
macOS (free-threading) / build and test (macos-26)
The operation was canceled.
Sanitizers / TSan (free-threading)
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Sanitizers / TSan (free-threading)
The operation was canceled.
Ubuntu (bolt) / build and test (ubuntu-26.04)
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Ubuntu (bolt) / build and test (ubuntu-26.04)
The operation was canceled.
Address sanitizer (ubuntu-26.04)
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Address sanitizer (ubuntu-26.04)
The operation was canceled.
Ubuntu / build and test (ubuntu-26.04-arm)
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Ubuntu / build and test (ubuntu-26.04-arm)
The operation was canceled.
Docs / Doctest
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Docs / Doctest
The operation was canceled.
Ubuntu (free-threading) / build and test (ubuntu-26.04)
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Ubuntu (free-threading) / build and test (ubuntu-26.04)
The operation was canceled.
Ubuntu (free-threading) / build and test (ubuntu-26.04-arm)
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Ubuntu (free-threading) / build and test (ubuntu-26.04-arm)
The operation was canceled.
Windows (free-threading) / Build and test (x64, switch-case)
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Windows (free-threading) / Build and test (x64, switch-case)
The operation was canceled.
Windows (free-threading) / Build and test (arm64, switch-case)
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Ubuntu SSL tests (ubuntu-26.04, openssl, 4.0.1)
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Windows (free-threading) / Build and test (arm64, switch-case)
The operation was canceled.
Ubuntu SSL tests (ubuntu-26.04, openssl, 4.0.1)
The operation was canceled.
Cross build Linux
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Ubuntu / build and test (ubuntu-26.04)
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Ubuntu / build and test (ubuntu-26.04)
The operation was canceled.
Cross build Linux
The operation was canceled.
Windows / Build and test (arm64, switch-case)
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Windows / Build and test (arm64, switch-case)
The operation was canceled.
Android (aarch64)
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Android (aarch64)
The operation was canceled.
Windows / Build and test (Win32, switch-case)
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Windows / Build and test (Win32, switch-case)
The operation was canceled.
Sanitizers / UBSan
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Sanitizers / UBSan
The operation was canceled.
Windows / Build and test (x64, switch-case)
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Windows / Build and test (x64, switch-case)
The operation was canceled.
Windows (free-threading) / Build and test (x64, tail-call)
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Windows (free-threading) / Build and test (x64, tail-call)
The operation was canceled.
Windows / Build and test (x64, tail-call)
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Windows / Build and test (x64, tail-call)
The operation was canceled.
All required checks pass
Process completed with exit code 1.
Tests
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Tests
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Tests
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Tests
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Tests
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Tests
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Tests
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Tests
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Tests
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Tests
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Tests
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Tests
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Tests
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Tests
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Tests
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Tests
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Tests
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Tests
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Tests
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Tests
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Tests
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Tests
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Tests
Canceling since a higher priority waiting request for Tests-tonghuaroot-template-compile-ft-race exists
Docs / Check for removed HTML IDs / Check for removed HTML IDs
The process '/usr/bin/git' failed with exit code 128
macOS / build and test (macos-26)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
macOS / build and test (macos-26)
The following taps are not trusted: aws/tap Homebrew is currently ignoring formulae, casks and commands from these taps because tap trust is required. Untap them with: brew untap aws/tap Trust specific formulae, casks and commands with: brew trust --formula <user>/<tap>/<formula> brew trust --cask <user>/<tap>/<cask> brew trust --command <user>/<tap>/<command> Whole-tap trust is broader and includes all current and future formulae, casks and commands from the listed taps. Trust whole taps with: brew trust aws/tap To disable trust checks: export HOMEBREW_NO_REQUIRE_TAP_TRUST=1 This is not recommended and will be removed in a later release. For more information, see: https://docs.brew.sh/Tap-Trust
Hypothesis tests on Ubuntu
No files were found with the provided path: /home/runner/work/cpython/cpython-builddir/.hypothesis/examples/. No artifacts will be uploaded.
macOS / build and test (macos-26-intel)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
macOS / build and test (macos-26-intel)
The following taps are not trusted: aws/tap Homebrew is currently ignoring formulae, casks and commands from these taps because tap trust is required. Untap them with: brew untap aws/tap Trust specific formulae, casks and commands with: brew trust --formula <user>/<tap>/<formula> brew trust --cask <user>/<tap>/<cask> brew trust --command <user>/<tap>/<command> Whole-tap trust is broader and includes all current and future formulae, casks and commands from the listed taps. Trust whole taps with: brew trust aws/tap To disable trust checks: export HOMEBREW_NO_REQUIRE_TAP_TRUST=1 This is not recommended and will be removed in a later release. For more information, see: https://docs.brew.sh/Tap-Trust
macOS (free-threading) / build and test (macos-26)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
macOS (free-threading) / build and test (macos-26)
The following taps are not trusted: aws/tap Homebrew is currently ignoring formulae, casks and commands from these taps because tap trust is required. Untap them with: brew untap aws/tap Trust specific formulae, casks and commands with: brew trust --formula <user>/<tap>/<formula> brew trust --cask <user>/<tap>/<cask> brew trust --command <user>/<tap>/<command> Whole-tap trust is broader and includes all current and future formulae, casks and commands from the listed taps. Trust whole taps with: brew trust aws/tap To disable trust checks: export HOMEBREW_NO_REQUIRE_TAP_TRUST=1 This is not recommended and will be removed in a later release. For more information, see: https://docs.brew.sh/Tap-Trust
Windows (free-threading) / Build and test (x64, switch-case): Modules/_interpchannelsmodule.c#L2938
'function': conversion from 'int64_t' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows (free-threading) / Build and test (arm64, switch-case): Modules/_interpchannelsmodule.c#L2938
'function': conversion from 'int64_t' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows / Build and test (arm64, switch-case): Modules/_interpchannelsmodule.c#L2938
'function': conversion from 'int64_t' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows / Build and test (x64, switch-case): Modules/_interpchannelsmodule.c#L2938
'function': conversion from 'int64_t' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows (free-threading) / Build and test (x64, tail-call): Modules/_interpchannelsmodule.c#L2938
'function': conversion from 'int64_t' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows / Build and test (x64, tail-call): Modules/_interpchannelsmodule.c#L2938
'function': conversion from 'int64_t' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]

Artifacts

Produced during runtime
Name Size Digest
UBSan-logs-default
364 Bytes
sha256:7a29a1e58317b9a9c51a459d363aebc6f5cc802a7fda3dd722c04a5b74c81721
html-ids-head.json.gz
125 KB
sha256:9c73da8e86d4f74e0893688947836a5ea1fc99485a8e473708912e80b6773267