Skip to content

gh-159449: Fix a free-threaded asyncio race that corrupts the task lists #217671

gh-159449: Fix a free-threaded asyncio race that corrupts the task lists

gh-159449: Fix a free-threaded asyncio race that corrupts the task lists #217671

Triggered via pull request November 2, 2026 13:51
Status Failure
Total duration 1h 10m 5s
Artifacts 4

build.yml

on: pull_request
Change detection  /  Create context from changed files
19s
Change detection / Create context from changed files
Matrix: build-ios
Matrix: build-macos
Matrix: build-san
Matrix: Ubuntu SSL tests
Matrix: build-ubuntu
Matrix: build-windows
Matrix: cifuzz
Docs  /  Doctest
7m 29s
Docs / Doctest
Docs  /  Check EPUB
2m 16s
Docs / Check EPUB
Check if Autoconf files are up to date
28s
Check if Autoconf files are up to date
Check if generated files are up to date
5m 19s
Check if generated files are up to date
C API Docs  /  Check if all C APIs are documented
8s
C API Docs / Check if all C APIs are documented
Ubuntu (installed)  /  build, install and test
6m 24s
Ubuntu (installed) / build, install and test
Emscripten  /  build and test
20m 14s
Emscripten / build and test
WASI  /  build and test
4m 50s
WASI / build and test
Hypothesis tests on Ubuntu
11m 2s
Hypothesis tests on Ubuntu
Lazy imports enabled  /  Run Tests with lazy_imports=all
10m 37s
Lazy imports enabled / Run Tests with lazy_imports=all
Cross build Linux
4m 34s
Cross build Linux
Matrix: build-android
Docs  /  ...  /  Check for removed HTML IDs
1m 55s
Docs / Check for removed HTML IDs / Check for removed HTML IDs
All required checks pass
6s
All required checks pass
Fit to window
Zoom out
Zoom in

Annotations

144 errors, 5 warnings, and 14 notices
Ubuntu (free-threading) / build and test (ubuntu-26.04-arm)
Process completed with exit code 2.
Ubuntu (free-threading) / build and test (ubuntu-26.04-arm): Modules/_asynciomodule.c#L2312
‘TaskObj’ has no member named ‘task_tid’; did you mean ‘task_node’?
Ubuntu (free-threading) / build and test (ubuntu-26.04-arm): Modules/_asynciomodule.c#L2177
‘TaskObj’ has no member named ‘task_tid’; did you mean ‘task_node’?
Ubuntu (free-threading) / build and test (ubuntu-26.04)
Process completed with exit code 2.
Ubuntu (free-threading) / build and test (ubuntu-26.04): Modules/_asynciomodule.c#L2312
‘TaskObj’ has no member named ‘task_tid’; did you mean ‘task_node’?
Ubuntu (free-threading) / build and test (ubuntu-26.04): Modules/_asynciomodule.c#L2177
‘TaskObj’ has no member named ‘task_tid’; did you mean ‘task_node’?
iOS (free-threading)
Process completed with exit code 1.
Docs / Check EPUB
Process completed with exit code 1.
macOS (free-threading) / build and test (macos-26)
Process completed with exit code 2.
Sanitizers / TSan (free-threading)
Process completed with exit code 2.
Docs / Docs
Process completed with exit code 2.
Ubuntu SSL tests (ubuntu-26.04, openssl, 1.1.1w)
Process completed with exit code 2.
test_asyncio.test_futures: Lib/test/test_asyncio/test_futures.py#L1
test_asyncio.test_futures worker non-zero exit code
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.6.5)
Process completed with exit code 2.
test_asyncio.test_futures: Lib/test/test_asyncio/test_futures.py#L1
test_asyncio.test_futures worker non-zero exit code
Windows (free-threading) / Build and test (x64, switch-case)
Process completed with exit code 1.
Windows (free-threading) / Build and test (x64, switch-case): Modules/_asynciomodule.c#L2312
'task_tid': is not a member of 'TaskObj' [D:\a\cpython\cpython\PCbuild\_asyncio.vcxproj]
Windows (free-threading) / Build and test (x64, switch-case): Modules/_asynciomodule.c#L2177
'task_tid': is not a member of 'TaskObj' [D:\a\cpython\cpython\PCbuild\_asyncio.vcxproj]
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.5.9)
Process completed with exit code 2.
test_asyncio.test_futures: Lib/test/test_asyncio/test_futures.py#L1
test_asyncio.test_futures worker non-zero exit code
Ubuntu SSL tests (ubuntu-26.04, openssl, 4.0.3)
Process completed with exit code 2.
test_asyncio.test_futures: Lib/test/test_asyncio/test_futures.py#L1
test_asyncio.test_futures worker non-zero exit code
Ubuntu SSL tests (ubuntu-26.04, aws-lc, 5.10.0)
Process completed with exit code 2.
test_asyncio.test_futures: Lib/test/test_asyncio/test_futures.py#L1
test_asyncio.test_futures worker non-zero exit code
Windows (free-threading) / Build and test (arm64, switch-case)
Process completed with exit code 1.
Windows (free-threading) / Build and test (arm64, switch-case): Modules/_asynciomodule.c#L2312
'task_tid': is not a member of 'TaskObj' [C:\a\cpython\cpython\PCbuild\_asyncio.vcxproj]
Windows (free-threading) / Build and test (arm64, switch-case): Modules/_asynciomodule.c#L2177
'task_tid': is not a member of 'TaskObj' [C:\a\cpython\cpython\PCbuild\_asyncio.vcxproj]
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.4.8)
Process completed with exit code 2.
test_asyncio.test_futures: Lib/test/test_asyncio/test_futures.py#L1
test_asyncio.test_futures worker non-zero exit code
Windows (free-threading) / Build and test (x64, tail-call)
Process completed with exit code 1.
Windows (free-threading) / Build and test (x64, tail-call): Modules/_asynciomodule.c#L2312
'task_tid': is not a member of 'TaskObj' [D:\a\cpython\cpython\PCbuild\_asyncio.vcxproj]
Windows (free-threading) / Build and test (x64, tail-call): Modules/_asynciomodule.c#L2177
'task_tid': is not a member of 'TaskObj' [D:\a\cpython\cpython\PCbuild\_asyncio.vcxproj]
Ubuntu (installed) / build, install and test
Process completed with exit code 2.
test.test_asyncio.test_futures: Lib/test/test_asyncio/test_futures.py#L1
test.test_asyncio.test_futures worker non-zero exit code
Android (x86_64)
Process completed with exit code 1.
iOS
Process completed with exit code 1.
Lazy imports enabled / Run Tests with lazy_imports=all
Process completed with exit code 123.
test.test_asyncio.test_futures: Lib/test/test_asyncio/test_futures.py#L1
test.test_asyncio.test_futures worker non-zero exit code
Sanitizers / TSan
Process completed with exit code 2.
test_asyncio.test_futures: Lib/test/test_asyncio/test_futures.py#L1
test_asyncio.test_futures worker non-zero exit code
Ubuntu / build and test (ubuntu-26.04-arm)
Process completed with exit code 2.
test.test_asyncio.test_futures: Lib/test/test_asyncio/test_futures.py#L1
test.test_asyncio.test_futures worker non-zero exit code
Windows / Build and test (x64, tail-call)
Process completed with exit code 2.
test.test_asyncio.test_futures: Lib/test/test_asyncio/test_futures.py#L1
test.test_asyncio.test_futures worker non-zero exit code
Ubuntu / build and test (ubuntu-26.04)
Process completed with exit code 2.
test.test_asyncio.test_futures: Lib/test/test_asyncio/test_futures.py#L1
test.test_asyncio.test_futures worker non-zero exit code
macOS / build and test (macos-26)
Process completed with exit code 2.
test.test_asyncio.test_futures: Lib/test/test_asyncio/test_futures.py#L1
test.test_asyncio.test_futures worker non-zero exit code
Sanitizers / MSan
Process completed with exit code 2.
test.test_asyncio.test_futures: Lib/test/test_asyncio/test_futures.py#L1
test.test_asyncio.test_futures worker non-zero exit code
Windows / Build and test (Win32, switch-case)
Process completed with exit code 2.
test.test_asyncio.test_futures: Lib/test/test_asyncio/test_futures.py#L1
test.test_asyncio.test_futures worker non-zero exit code
Sanitizers / ASan
Process completed with exit code 2.
test.test_asyncio.test_futures: Lib/test/test_asyncio/test_futures.py#L1
test.test_asyncio.test_futures worker non-zero exit code
Ubuntu (bolt) / build and test (ubuntu-26.04)
Process completed with exit code 2.
test.test_asyncio.test_futures: Lib/test/test_asyncio/test_futures.py#L1
test.test_asyncio.test_futures worker non-zero exit code
Windows / Build and test (x64, switch-case)
Process completed with exit code 2.
test.test_asyncio.test_futures: Lib/test/test_asyncio/test_futures.py#L1
test.test_asyncio.test_futures worker non-zero exit code
Sanitizers / UBSan
Process completed with exit code 2.
test.test_asyncio.test_futures: Lib/test/test_asyncio/test_futures.py#L1
test.test_asyncio.test_futures worker non-zero exit code
Windows / Build and test (arm64, switch-case)
Process completed with exit code 2.
test.test_asyncio.test_futures: Lib/test/test_asyncio/test_futures.py#L1
test.test_asyncio.test_futures worker non-zero exit code
macOS / build and test (macos-26-intel)
The job has exceeded the maximum execution time of 1h0m0s
All required checks pass
Process completed with exit code 1.
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!
Cross build Linux: Python/marshal.c#L740
unused variable ‘w’ [-Wunused-variable]
Ubuntu (installed) / build, install and test: Python/marshal.c#L740
unused variable ‘w’ [-Wunused-variable]
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)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
Change detection / Create context from changed files
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
C API Docs / Check if all C APIs are documented
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
iOS (free-threading)
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
Docs / Check EPUB
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
macOS (free-threading) / build and test (macos-26)
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
Docs / Docs
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
Android (aarch64)
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
Docs / Check for removed HTML IDs / Check for removed HTML IDs
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
iOS
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
macOS / build and test (macos-26)
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
CIFuzz / cpython3 (address)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
CIFuzz / cpython3 (memory)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
CIFuzz / cpython3 (undefined)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
All required checks pass
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"

Artifacts

Produced during runtime
Name Size Digest
ASan-logs-default
2.49 KB
sha256:ca0d073930ddc6e85dd93e76157f7599d44d47bb7a4e76b296218b16866c2fbb
MSan-logs-default
209 Bytes
sha256:158432710f01103a27ed30cad4bdb0134a923c57945b41cd1366199776900069
UBSan-logs-default
1.42 KB
sha256:39123d18f5d261237dc65b0427000fc6c914b758c19773ee1263d405ee72be0c
html-ids-head.json.gz
132 KB
sha256:4284d26d7b13006af61d988a6bb9842272bb70ed7983de763749c4b3e251b853