Skip to content

#gh-138121 Make asyncio.Lock.locked return True when waiters exist #221012

#gh-138121 Make asyncio.Lock.locked return True when waiters exist

#gh-138121 Make asyncio.Lock.locked return True when waiters exist #221012

Triggered via pull request November 26, 2026 14:44
Status Failure
Total duration 1h 2m 6s
Artifacts 4

build.yml

on: pull_request
Change detection  /  Create context from changed files
30s
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 44s
Docs / Doctest
Docs  /  Check EPUB
1m 56s
Docs / Check EPUB
Check if Autoconf files are up to date
30s
Check if Autoconf files are up to date
Check if generated files are up to date
5m 45s
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
35m 31s
Ubuntu (installed) / build, install and test
Emscripten  /  build and test
19m 10s
Emscripten / build and test
WASI  /  build and test
5m 43s
WASI / build and test
Hypothesis tests on Ubuntu
7m 39s
Hypothesis tests on Ubuntu
Lazy imports enabled  /  Run Tests with lazy_imports=all
35m 36s
Lazy imports enabled / Run Tests with lazy_imports=all
Cross build Linux
4m 39s
Cross build Linux
Matrix: build-android
Docs  /  ...  /  Check for removed HTML IDs
2m 17s
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

116 errors, 30 warnings, and 5 notices
Docs / Check EPUB
Process completed with exit code 1.
Docs / Docs
Process completed with exit code 2.
Android (x86_64)
Process completed with exit code 1.
Sanitizers / TSan
Process completed with exit code 2.
test_asyncio.test_locks: Lib/test/test_asyncio/test_locks.py#L1
test_asyncio.test_locks worker non-zero exit code
Sanitizers / ASan
Process completed with exit code 2.
test.test_asyncio.test_locks: Lib/test/test_asyncio/test_locks.py#L1
test.test_asyncio.test_locks worker non-zero exit code
Sanitizers / UBSan
Process completed with exit code 2.
test.test_asyncio.test_locks: Lib/test/test_asyncio/test_locks.py#L1
test.test_asyncio.test_locks worker non-zero exit code
macOS / build and test (macos-26)
Process completed with exit code 2.
test.test_asyncio.test_locks: Lib/test/test_asyncio/test_locks.py#L1
test.test_asyncio.test_locks worker non-zero exit code
Ubuntu / build and test (ubuntu-26.04-arm)
Process completed with exit code 2.
test.test_asyncio.test_locks: Lib/test/test_asyncio/test_locks.py#L1
test.test_asyncio.test_locks worker non-zero exit code
Windows (free-threading) / Build and test (x64, tail-call)
Process completed with exit code 2.
test.test_asyncio.test_locks: Lib/test/test_asyncio/test_locks.py#L1
test.test_asyncio.test_locks worker non-zero exit code
macOS (free-threading) / build and test (macos-26)
Process completed with exit code 2.
test.test_asyncio.test_locks: Lib/test/test_asyncio/test_locks.py#L1
test.test_asyncio.test_locks worker non-zero exit code
Ubuntu / build and test (ubuntu-26.04)
Process completed with exit code 2.
test.test_asyncio.test_locks: Lib/test/test_asyncio/test_locks.py#L1
test.test_asyncio.test_locks worker non-zero exit code
Ubuntu (free-threading) / build and test (ubuntu-26.04-arm)
Process completed with exit code 2.
test.test_asyncio.test_locks: Lib/test/test_asyncio/test_locks.py#L1
test.test_asyncio.test_locks worker non-zero exit code
Windows / Build and test (Win32, switch-case)
Process completed with exit code 2.
test.test_asyncio.test_locks: Lib/test/test_asyncio/test_locks.py#L1
test.test_asyncio.test_locks worker non-zero exit code
Ubuntu (free-threading) / build and test (ubuntu-26.04)
Process completed with exit code 2.
test.test_asyncio.test_locks: Lib/test/test_asyncio/test_locks.py#L1
test.test_asyncio.test_locks worker non-zero exit code
Sanitizers / TSan (free-threading)
Process completed with exit code 2.
test_asyncio.test_locks: Lib/test/test_asyncio/test_locks.py#L1
test_asyncio.test_locks worker non-zero exit code
macOS / build and test (macos-26-intel)
Process completed with exit code 2.
test.test_asyncio.test_locks: Lib/test/test_asyncio/test_locks.py#L1
test.test_asyncio.test_locks worker non-zero exit code
Ubuntu (bolt) / build and test (ubuntu-26.04)
Process completed with exit code 2.
test.test_asyncio.test_locks: Lib/test/test_asyncio/test_locks.py#L1
test.test_asyncio.test_locks worker non-zero exit code
Sanitizers / MSan
Process completed with exit code 2.
test.test_asyncio.test_locks: Lib/test/test_asyncio/test_locks.py#L1
test.test_asyncio.test_locks worker non-zero exit code
Windows (free-threading) / Build and test (arm64, tail-call)
Process completed with exit code 2.
test.test_asyncio.test_locks: Lib/test/test_asyncio/test_locks.py#L1
test.test_asyncio.test_locks worker non-zero exit code
Windows / Build and test (x64, tail-call)
Process completed with exit code 2.
test.test_asyncio.test_locks: Lib/test/test_asyncio/test_locks.py#L1
test.test_asyncio.test_locks worker non-zero exit code
Windows / Build and test (arm64, switch-case)
Process completed with exit code 2.
test.test_asyncio.test_locks: Lib/test/test_asyncio/test_locks.py#L1
test.test_asyncio.test_locks worker non-zero exit code
Windows / Build and test (arm64, tail-call)
Process completed with exit code 2.
test.test_asyncio.test_locks: Lib/test/test_asyncio/test_locks.py#L1
test.test_asyncio.test_locks worker non-zero exit code
Windows (free-threading) / Build and test (x64, switch-case)
Process completed with exit code 2.
test.test_asyncio.test_locks: Lib/test/test_asyncio/test_locks.py#L1
test.test_asyncio.test_locks worker non-zero exit code
Windows / Build and test (x64, switch-case)
Process completed with exit code 2.
test.test_asyncio.test_locks: Lib/test/test_asyncio/test_locks.py#L1
test.test_asyncio.test_locks worker non-zero exit code
Ubuntu (installed) / build, install and test
Process completed with exit code 2.
test.test_asyncio.test_locks: Lib/test/test_asyncio/test_locks.py#L1
test.test_asyncio.test_locks worker non-zero exit code
Lazy imports enabled / Run Tests with lazy_imports=all
Process completed with exit code 123.
test.test_asyncio.test_locks: Lib/test/test_asyncio/test_locks.py#L1
test.test_asyncio.test_locks worker non-zero exit code
Windows (free-threading) / Build and test (arm64, switch-case)
Process completed with exit code 2.
test.test_asyncio.test_locks: Lib/test/test_asyncio/test_locks.py#L1
test.test_asyncio.test_locks worker non-zero exit code
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.4.8)
The job has exceeded the maximum execution time of 1h0m0s
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.4.8)
The operation was canceled.
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.5.9)
The job has exceeded the maximum execution time of 1h0m0s
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.5.9)
The operation was canceled.
Ubuntu SSL tests (ubuntu-26.04, openssl, 1.1.1w)
The job has exceeded the maximum execution time of 1h0m0s
Ubuntu SSL tests (ubuntu-26.04, openssl, 1.1.1w)
The operation was canceled.
Ubuntu SSL tests (ubuntu-26.04, openssl, 4.0.3)
The job has exceeded the maximum execution time of 1h0m0s
Ubuntu SSL tests (ubuntu-26.04, openssl, 4.0.3)
The operation was canceled.
Ubuntu SSL tests (ubuntu-26.04, aws-lc, 5.10.0)
The job has exceeded the maximum execution time of 1h0m0s
Ubuntu SSL tests (ubuntu-26.04, aws-lc, 5.10.0)
The operation was canceled.
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.6.5)
The job has exceeded the maximum execution time of 1h0m0s
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.6.5)
The operation was canceled.
iOS (free-threading)
The job has exceeded the maximum execution time of 1h0m0s
iOS (free-threading)
The operation was canceled.
iOS
The job has exceeded the maximum execution time of 1h0m0s
iOS
The operation was canceled.
All required checks pass
Process completed with exit code 1.
Docs / Docs: Doc/library/select.rst#L574
py:const reference target not found: KQ_FILTER_VNODE [ref.const]
Docs / Docs: Doc/library/select.rst#L572
py:const reference target not found: KQ_FILTER_AIO [ref.const]
Docs / Docs: Doc/library/select.rst#L569
py:const reference target not found: KQ_FILTER_WRITE [ref.const]
Docs / Docs: Doc/library/select.rst#L566
py:const reference target not found: KQ_FILTER_READ [ref.const]
Docs / Docs: Doc/library/logging.handlers.rst#L629
py:const reference target not found: LOG_USER [ref.const]
Docs / Docs: Doc/library/pyexpat.rst#L515
py:meth reference target not found: ParseFile [ref.meth]
Docs / Docs: Doc/library/pyexpat.rst#L515
py:meth reference target not found: Parse [ref.meth]
Docs / Docs: Doc/library/pyexpat.rst#L515
py:class reference target not found: xmlparser [ref.class]
Docs / Docs: Doc/library/pyexpat.rst#L172
py:class reference target not found: xmlparser [ref.class]
Docs / Docs: Doc/library/pyexpat.rst#L172
py:mod reference target not found: pyexpat [ref.mod]
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!
Windows (free-threading) / Build and test (x64, tail-call): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\_elementtree.vcxproj]
Windows (free-threading) / Build and test (x64, tail-call): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\pyexpat.vcxproj]
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-intel)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
Windows (free-threading) / Build and test (arm64, tail-call): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\a\cpython\cpython\PCbuild\pyexpat.vcxproj]
Windows (free-threading) / Build and test (arm64, tail-call): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\a\cpython\cpython\PCbuild\_elementtree.vcxproj]
Windows / Build and test (x64, tail-call): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\pyexpat.vcxproj]
Windows / Build and test (x64, tail-call): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\_elementtree.vcxproj]
Windows / Build and test (arm64, switch-case): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\a\cpython\cpython\PCbuild\_elementtree.vcxproj]
Windows / Build and test (arm64, switch-case): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\a\cpython\cpython\PCbuild\pyexpat.vcxproj]
Windows / Build and test (arm64, tail-call): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\a\cpython\cpython\PCbuild\pyexpat.vcxproj]
Windows / Build and test (arm64, tail-call): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\a\cpython\cpython\PCbuild\_elementtree.vcxproj]
Windows (free-threading) / Build and test (x64, switch-case): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\pyexpat.vcxproj]
Windows (free-threading) / Build and test (x64, switch-case): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\_elementtree.vcxproj]
Windows / Build and test (x64, switch-case): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\pyexpat.vcxproj]
Windows / Build and test (x64, switch-case): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\_elementtree.vcxproj]
Windows (free-threading) / Build and test (arm64, switch-case): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\a\cpython\cpython\PCbuild\pyexpat.vcxproj]
Windows (free-threading) / Build and test (arm64, switch-case): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\a\cpython\cpython\PCbuild\_elementtree.vcxproj]
Android (aarch64)
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.
macOS (free-threading) / 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.

Artifacts

Produced during runtime
Name Size Digest
ASan-logs-default
2.5 KB
sha256:f852ddddeba52b76194aa7a8ac67c8df6a52f5392f67d728ac16b0c8fc0f66b6
MSan-logs-default
209 Bytes
sha256:bcf7fd860d3317486ba4170eafb73247ebbc2413b2bcb9cf653cee8f6d56b53a
UBSan-logs-default
1.17 KB
sha256:d5c55b304930e14089983ab1d39eb47632d74a00374d91a43802aaa356db20ce
html-ids-head.json.gz
134 KB
sha256:cb51e16ae8924aafc16de81d7f960ac0c00a2bae228cb48088985e11cfdea290