Skip to content

[3.15] gh-160324: Keep io.StringIO state after MemoryError (GH-160325) #217410

[3.15] gh-160324: Keep io.StringIO state after MemoryError (GH-160325)

[3.15] gh-160324: Keep io.StringIO state after MemoryError (GH-160325) #217410

Triggered via pull request October 31, 2026 23:09
Status Failure
Total duration 7m 12s
Artifacts 1

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 8s
Docs / Doctest
Docs  /  Check EPUB
2m 30s
Docs / Check EPUB
Check if Autoconf files are up to date
34s
Check if Autoconf files are up to date
Check if generated files are up to date
2m 33s
Check if generated files are up to date
C API Docs  /  Check if all C APIs are documented
13s
C API Docs / Check if all C APIs are documented
Ubuntu (installed)  /  build, install and test
3m 52s
Ubuntu (installed) / build, install and test
iOS
1m 40s
iOS
Emscripten  /  build and test
1m 11s
Emscripten / build and test
WASI  /  build and test
57s
WASI / build and test
Hypothesis tests on Ubuntu
1m 33s
Hypothesis tests on Ubuntu
Cross build Linux
2m 14s
Cross build Linux
Check if the ABI has changed
2m 7s
Check if the ABI has changed
Matrix: build-android
Docs  /  ...  /  Check for removed HTML IDs
2m 22s
Docs / Check for removed HTML IDs / Check for removed HTML IDs
All required checks pass
4s
All required checks pass
Fit to window
Zoom out
Zoom in

Annotations

49 errors, 10 warnings, and 10 notices
Windows (free-threading) / Build and test (x64, tail-call)
Process completed with exit code 1.
Windows (free-threading) / Build and test (x64, switch-case)
Process completed with exit code 1.
Windows / Build and test (x64, switch-case)
Process completed with exit code 1.
WASI / build and test
Process completed with exit code 1.
Windows / Build and test (Win32, switch-case)
Process completed with exit code 1.
Windows / Build and test (x64, tail-call)
Process completed with exit code 1.
Emscripten / build and test
Process completed with exit code 1.
Windows / Build and test (arm64, switch-case)
Process completed with exit code 1.
Ubuntu SSL tests (ubuntu-26.04, openssl, 1.1.1w)
Process completed with exit code 2.
Android (x86_64)
Process completed with exit code 1.
Hypothesis tests on Ubuntu
Process completed with exit code 2.
Hypothesis tests on Ubuntu: Modules/_io/stringio.c#L150
implicit declaration of function ‘_PyUnicodeWriter_SetBuffer’; did you mean ‘_PyUnicodeWriter_InitWithBuffer’? [-Wimplicit-function-declaration]
Ubuntu SSL tests (ubuntu-26.04, openssl, 4.0.3)
Process completed with exit code 2.
Windows (free-threading) / Build and test (arm64, switch-case)
Process completed with exit code 1.
Ubuntu / build and test (ubuntu-26.04)
Process completed with exit code 2.
Ubuntu / build and test (ubuntu-26.04): Modules/_io/stringio.c#L150
implicit declaration of function ‘_PyUnicodeWriter_SetBuffer’; did you mean ‘_PyUnicodeWriter_InitWithBuffer’? [-Wimplicit-function-declaration]
iOS
Process completed with exit code 1.
Ubuntu SSL tests (ubuntu-26.04, aws-lc, 5.10.0)
Process completed with exit code 2.
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.6.5)
Process completed with exit code 2.
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.5.9)
Process completed with exit code 2.
Android (aarch64)
Process completed with exit code 1.
Docs / Docs
Process completed with exit code 2.
Check if the ABI has changed
Process completed with exit code 2.
Docs / Doctest
Process completed with exit code 2.
macOS / build and test (macos-26)
Process completed with exit code 2.
Cross build Linux
Process completed with exit code 2.
Cross build Linux: Modules/_io/stringio.c#L150
implicit declaration of function ‘_PyUnicodeWriter_SetBuffer’; did you mean ‘_PyUnicodeWriter_InitWithBuffer’? [-Wimplicit-function-declaration]
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/_io/stringio.c#L150
implicit declaration of function ‘_PyUnicodeWriter_SetBuffer’; did you mean ‘_PyUnicodeWriter_InitWithBuffer’? [-Wimplicit-function-declaration]
macOS (free-threading) / build and test (macos-26)
Process completed with exit code 2.
Docs / Check EPUB
Process completed with exit code 1.
Ubuntu / build and test (ubuntu-26.04-arm)
Process completed with exit code 2.
Ubuntu / build and test (ubuntu-26.04-arm): Modules/_io/stringio.c#L150
implicit declaration of function ‘_PyUnicodeWriter_SetBuffer’; did you mean ‘_PyUnicodeWriter_InitWithBuffer’? [-Wimplicit-function-declaration]
Check if generated files are up to date
Process completed with exit code 2.
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.4.8)
Process completed with exit code 2.
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/_io/stringio.c#L150
implicit declaration of function ‘_PyUnicodeWriter_SetBuffer’; did you mean ‘_PyUnicodeWriter_InitWithBuffer’? [-Wimplicit-function-declaration]
Sanitizers / UBSan
Process completed with exit code 2.
Sanitizers / TSan (free-threading)
Process completed with exit code 2.
Sanitizers / TSan
Process completed with exit code 2.
Sanitizers / MSan
Process completed with exit code 2.
Ubuntu (installed) / build, install and test
Process completed with exit code 2.
Ubuntu (installed) / build, install and test: Modules/_io/stringio.c#L150
implicit declaration of function ‘_PyUnicodeWriter_SetBuffer’; did you mean ‘_PyUnicodeWriter_InitWithBuffer’? [-Wimplicit-function-declaration]
Address sanitizer (ubuntu-26.04)
Process completed with exit code 2.
Address sanitizer (ubuntu-26.04): Modules/_io/stringio.c#L150
implicit declaration of function ‘_PyUnicodeWriter_SetBuffer’; did you mean ‘_PyUnicodeWriter_InitWithBuffer’? [-Wimplicit-function-declaration]
macOS / build and test (macos-26-intel)
Process completed with exit code 2.
Ubuntu (bolt) / build and test (ubuntu-26.04)
Process completed with exit code 2.
Ubuntu (bolt) / build and test (ubuntu-26.04): Modules/_io/stringio.c#L150
implicit declaration of function ‘_PyUnicodeWriter_SetBuffer’; did you mean ‘_PyUnicodeWriter_InitWithBuffer’? [-Wimplicit-function-declaration]
All required checks pass
Process completed with exit code 1.
Windows (free-threading) / Build and test (x64, tail-call): Modules/_io/stringio.c#L150
'_PyUnicodeWriter_SetBuffer' undefined; assuming extern returning int [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (x64, switch-case): Modules/_io/stringio.c#L150
'_PyUnicodeWriter_SetBuffer' undefined; assuming extern returning int [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (x64, switch-case): Modules/_io/stringio.c#L150
'_PyUnicodeWriter_SetBuffer' undefined; assuming extern returning int [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (x64, tail-call): Modules/_io/stringio.c#L150
'_PyUnicodeWriter_SetBuffer' undefined; assuming extern returning int [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (arm64, switch-case): Modules/_io/stringio.c#L150
'_PyUnicodeWriter_SetBuffer' undefined; assuming extern returning int [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
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.
Windows (free-threading) / Build and test (arm64, switch-case): Modules/_io/stringio.c#L150
'_PyUnicodeWriter_SetBuffer' undefined; assuming extern returning int [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
macOS / 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)
`$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!
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
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
Android (aarch64)
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"
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.
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 / 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"
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
html-ids-head.json.gz
130 KB
sha256:c2a3826d982f19966624f755e1547590c84c1e25f4452e769048b66c4c523a05