Skip to content

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

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 #218106

Triggered via pull request November 5, 2026 04:40
Status Cancelled
Total duration 11m 21s
Artifacts 3

build.yml

on: pull_request
Change detection  /  Create context from changed files
16s
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 30s
Docs / Doctest
Docs  /  Check EPUB
2m 12s
Docs / Check EPUB
Check if Autoconf files are up to date
23s
Check if Autoconf files are up to date
Check if generated files are up to date
4m 37s
Check if generated files are up to date
C API Docs  /  Check if all C APIs are documented
12s
C API Docs / Check if all C APIs are documented
Ubuntu (installed)  /  build, install and test
5m 53s
Ubuntu (installed) / build, install and test
Emscripten  /  build and test
9m 3s
Emscripten / build and test
WASI  /  build and test
4m 54s
WASI / build and test
Hypothesis tests on Ubuntu
8m 14s
Hypothesis tests on Ubuntu
Lazy imports enabled  /  Run Tests with lazy_imports=all
7m 57s
Lazy imports enabled / Run Tests with lazy_imports=all
Cross build Linux
3m 18s
Cross build Linux
Matrix: build-android
Docs  /  ...  /  Check for removed HTML IDs
2m 27s
Docs / Check for removed HTML IDs / Check for removed HTML IDs
All required checks pass
3s
All required checks pass
Fit to window
Zoom out
Zoom in

Annotations

87 errors, 5 warnings, and 14 notices
Docs / Check EPUB
Process completed with exit code 1.
Docs / Docs
Process completed with exit code 2.
Lazy imports enabled / Run Tests with lazy_imports=all
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Lazy imports enabled / Run Tests with lazy_imports=all
The operation was canceled.
Hypothesis tests on Ubuntu
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
CIFuzz / cpython3 (address)
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
CIFuzz / cpython3 (address)
Path does not exist: cifuzz-sarif/results.sarif
CIFuzz / cpython3 (address)
The operation was canceled.
CIFuzz / cpython3 (undefined)
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
CIFuzz / cpython3 (undefined)
The operation was canceled.
CIFuzz / cpython3 (memory)
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
CIFuzz / cpython3 (memory)
Path does not exist: cifuzz-sarif/results.sarif
CIFuzz / cpython3 (memory)
The operation was canceled.
Windows (free-threading) / Build and test (x64, switch-case)
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Windows (free-threading) / Build and test (x64, switch-case)
The operation was canceled.
Windows / Build and test (x64, tail-call)
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Windows / Build and test (x64, tail-call)
The operation was canceled.
Windows / Build and test (x64, switch-case)
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Windows / Build and test (x64, switch-case)
The operation was canceled.
Windows / Build and test (Win32, switch-case)
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Windows / Build and test (Win32, switch-case)
The operation was canceled.
Windows (free-threading) / Build and test (x64, tail-call)
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Windows (free-threading) / Build and test (x64, tail-call)
The operation was canceled.
Windows (free-threading) / Build and test (arm64, switch-case)
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Windows (free-threading) / Build and test (arm64, switch-case)
The operation was canceled.
Ubuntu / build and test (ubuntu-26.04)
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Ubuntu / build and test (ubuntu-26.04)
The operation was canceled.
Windows / Build and test (arm64, switch-case)
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Windows / Build and test (arm64, switch-case)
The operation was canceled.
Sanitizers / UBSan
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Sanitizers / UBSan
The operation was canceled.
Ubuntu (bolt) / build and test (ubuntu-26.04)
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Ubuntu (bolt) / build and test (ubuntu-26.04)
The operation was canceled.
Android (x86_64)
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Android (x86_64)
The operation was canceled.
Ubuntu (free-threading) / build and test (ubuntu-26.04)
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Ubuntu (free-threading) / build and test (ubuntu-26.04)
The operation was canceled.
Sanitizers / TSan
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Sanitizers / TSan
The operation was canceled.
Sanitizers / MSan
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Sanitizers / MSan
The operation was canceled.
Sanitizers / ASan
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Sanitizers / ASan
The operation was canceled.
Ubuntu (free-threading) / build and test (ubuntu-26.04-arm)
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Ubuntu (free-threading) / build and test (ubuntu-26.04-arm)
The operation was canceled.
Emscripten / build and test
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Emscripten / build and test
The operation was canceled.
Ubuntu / build and test (ubuntu-26.04-arm)
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Ubuntu / build and test (ubuntu-26.04-arm)
The operation was canceled.
Sanitizers / TSan (free-threading)
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Sanitizers / TSan (free-threading)
The operation was canceled.
macOS / build and test (macos-26-intel)
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
macOS / build and test (macos-26-intel)
The operation was canceled.
macOS (free-threading) / build and test (macos-26)
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
macOS (free-threading) / build and test (macos-26)
The operation was canceled.
macOS / build and test (macos-26)
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
macOS / build and test (macos-26)
The operation was canceled.
iOS (free-threading)
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
iOS (free-threading)
The operation was canceled.
iOS
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
iOS
The operation was canceled.
Tests
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Tests
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Tests
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Tests
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Tests
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Tests
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Tests
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Tests
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Tests
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Tests
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Tests
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Tests
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Tests
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Tests
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Tests
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Tests
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Tests
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Tests
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Tests
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Tests
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Tests
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Tests
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Tests
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
All required checks pass
Process completed with exit code 1.
Tests
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Tests
Canceling since a higher priority waiting request for Tests-kumaraditya303-fix-asyncio-task-unregister-race exists
Workflow execution policy warning (evaluate mode): .github/workflows/build.yml#L1
Event 'pull_request' is not allowed to trigger Actions workflows. Workflow file: '.github/workflows/build.yml'.
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 (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 / 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"
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"
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"
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 (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"
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"
macOS (free-threading) / build and test (macos-26)
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.
iOS (free-threading)
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
iOS
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
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
210 Bytes
sha256:0f316e7132b670b2171e7002488f36b1ba88e8044894340b9cd1f067d313810a
MSan-logs-default
209 Bytes
sha256:5745373a2e993f3197b9ca6830ce5c1f1540cb99fcc4ef91aa822c96dbd15107
html-ids-head.json.gz
132 KB
sha256:27574cc1f7a8324ab333bff1bf96d616cb0354cfaa0b137f2779b2f6c5a28531