Skip to content

[3.14] gh-155843: properly initialize HMAC objects to prevent crashes after allocation failures (GH-155845) #214205

[3.14] gh-155843: properly initialize HMAC objects to prevent crashes after allocation failures (GH-155845)

[3.14] gh-155843: properly initialize HMAC objects to prevent crashes after allocation failures (GH-155845) #214205

Triggered via pull request October 19, 2026 17:51
Status Failure
Total duration 29m 2s
Artifacts 1

build.yml

on: pull_request
Change detection  /  Create context from changed files
16s
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  /  Docs
2m 20s
Docs / Docs
Docs  /  Doctest
6m 39s
Docs / Doctest
Docs  /  Check EPUB
1m 49s
Docs / Check EPUB
Check if Autoconf files are up to date
26s
Check if Autoconf files are up to date
Check if generated files are up to date
3m 58s
Check if generated files are up to date
C API Docs  /  Check if all C APIs are documented
11s
C API Docs / Check if all C APIs are documented
Ubuntu (installed)  /  build, install and test
5m 37s
Ubuntu (installed) / build, install and test
iOS
23m 51s
iOS
Emscripten  /  build and test
12m 10s
Emscripten / build and test
WASI  /  build and test
4m 30s
WASI / build and test
Hypothesis tests on Ubuntu
7m 3s
Hypothesis tests on Ubuntu
Cross build Linux
4m 30s
Cross build Linux
Check if the ABI has changed
1m 27s
Check if the ABI has changed
Matrix: build-android
All required checks pass
2s
All required checks pass
Fit to window
Zoom out
Zoom in

Annotations

3 errors, 19 warnings, and 9 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.
Cross build Linux: Objects/listobject.c#L140
unused variable ‘allocated’ [-Wunused-variable]
Ubuntu (installed) / build, install and test: Objects/listobject.c#L140
unused variable ‘allocated’ [-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.
Address sanitizer (ubuntu-26.04): Objects/listobject.c#L140
unused variable ‘allocated’ [-Wunused-variable]
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!
Windows / Build and test (arm64): Modules/unicodedata.c#L1569
'function': conversion from 'size_t' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\unicodedata.vcxproj]
Windows / Build and test (arm64): Python/generated_cases.c.h#L12359
'initializing': conversion from '__int64' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows / Build and test (arm64): Python/generated_cases.c.h#L7662
'initializing': conversion from '__int64' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
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 / Build and test (x64): Modules/unicodedata.c#L1569
'function': conversion from 'size_t' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\unicodedata.vcxproj]
Windows / Build and test (x64): Python/generated_cases.c.h#L12359
'initializing': conversion from '__int64' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows / Build and test (x64): Python/generated_cases.c.h#L7662
'initializing': conversion from '__int64' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows (free-threading) / Build and test (x64): Modules/unicodedata.c#L1569
'function': conversion from 'size_t' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\unicodedata.vcxproj]
Windows (free-threading) / Build and test (x64): Python/generated_cases.c.h#L12359
'initializing': conversion from '__int64' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows (free-threading) / Build and test (x64): Python/generated_cases.c.h#L7662
'initializing': conversion from '__int64' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows (free-threading) / Build and test (arm64): Modules/unicodedata.c#L1569
'function': conversion from 'size_t' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\unicodedata.vcxproj]
Windows (free-threading) / Build and test (arm64): Python/generated_cases.c.h#L12359
'initializing': conversion from '__int64' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows (free-threading) / Build and test (arm64): Python/generated_cases.c.h#L7662
'initializing': conversion from '__int64' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
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.
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
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
UBSan-logs-default
1.55 KB
sha256:c68da7aa38ee4a667f450163910c46d5a8372edcd43e2f6adba67ded1b27afef