Skip to content

gh-157242: Do not close io.BytesIO on MemoryError #209105

gh-157242: Do not close io.BytesIO on MemoryError

gh-157242: Do not close io.BytesIO on MemoryError #209105

Triggered via pull request September 12, 2026 01:16
Status Failure
Total duration 31m 59s
Artifacts 2

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
Matrix: cifuzz
Docs  /  Doctest
7m 34s
Docs / Doctest
Docs  /  Check EPUB
1m 50s
Docs / Check EPUB
Check if Autoconf files are up to date
44s
Check if Autoconf files are up to date
Check if generated files are up to date
5m 20s
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 51s
Ubuntu (installed) / build, install and test
iOS
10m 0s
iOS
Emscripten  /  build and test
5m 26s
Emscripten / build and test
WASI  /  build and test
4m 29s
WASI / build and test
Hypothesis tests on Ubuntu
7m 35s
Hypothesis tests on Ubuntu
Cross build Linux
4m 49s
Cross build Linux
Matrix: build-android
Docs  /  ...  /  Check for removed HTML IDs
2m 7s
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

28 errors, 7 warnings, and 2 notices
Docs / Check EPUB
Process completed with exit code 1.
Docs / Docs
Process completed with exit code 2.
WASI / build and test
Process completed with exit code 2.
Emscripten / build and test
Process completed with exit code 1.
Ubuntu (bolt) / build and test (ubuntu-26.04)
Process completed with exit code 2.
Ubuntu (installed) / build, install and test
Process completed with exit code 2.
Hypothesis tests on Ubuntu
Process completed with exit code 2.
Ubuntu (free-threading) / build and test (ubuntu-26.04-arm)
Process completed with exit code 2.
iOS
Process completed with exit code 1.
Android (x86_64)
Process completed with exit code 1.
macOS / build and test (macos-26)
Process completed with exit code 2.
Windows / Build and test (x64, tail-call)
Process completed with exit code 2.
Ubuntu / build and test (ubuntu-26.04-arm)
Process completed with exit code 2.
Ubuntu / build and test (ubuntu-26.04)
Process completed with exit code 2.
Windows (free-threading) / Build and test (x64, tail-call)
Process completed with exit code 2.
Sanitizers / TSan
Process completed with exit code 2.
macOS (free-threading) / build and test (macos-26)
Process completed with exit code 2.
Ubuntu (free-threading) / build and test (ubuntu-26.04)
Process completed with exit code 2.
Address sanitizer (ubuntu-26.04)
Process completed with exit code 2.
Windows / Build and test (arm64, switch-case)
Process completed with exit code 2.
Windows / Build and test (Win32, switch-case)
Process completed with exit code 2.
Windows / Build and test (x64, switch-case)
Process completed with exit code 2.
Sanitizers / TSan (free-threading)
Process completed with exit code 2.
Windows (free-threading) / Build and test (arm64, switch-case)
Process completed with exit code 2.
macOS / build and test (macos-26-intel)
Process completed with exit code 2.
Windows (free-threading) / Build and test (x64, switch-case)
Process completed with exit code 2.
Sanitizers / UBSan
Process completed with exit code 2.
All required checks pass
Process completed with exit code 1.
Cross build Linux: Parser/lexer/string.c#L81
variable ‘previous_end’ set but not used [-Wunused-but-set-variable]
Ubuntu (installed) / build, install and test: Parser/lexer/string.c#L81
variable ‘previous_end’ set but not used [-Wunused-but-set-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!
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!
Address sanitizer (ubuntu-26.04): Parser/lexer/string.c#L81
variable ‘previous_end’ set but not used [-Wunused-but-set-variable]
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 (arm64, switch-case)
"The windows-11-arm label will migrate to use Visual Studio 2026 by default beginning September 21, 2026. For more information see https://github.com/actions/runner-images/issues/14602"
Windows (free-threading) / Build and test (arm64, switch-case)
"The windows-11-arm label will migrate to use Visual Studio 2026 by default beginning September 21, 2026. For more information see https://github.com/actions/runner-images/issues/14602"

Artifacts

Produced during runtime
Name Size Digest
UBSan-logs-default
1.59 KB
sha256:2fe55645443f7f67d3c52f8c063d9184a92f80bc7cac8b73751eaa3c6e0929ce
html-ids-head.json.gz
126 KB
sha256:5f562ec8e01807706aa019ad8c6bda0f0f51bfa829ee7ddfafefe3482e62f9b6