Skip to content

gh-142776: Ensure fp file descriptor is closed on all code paths in import.c #177087

gh-142776: Ensure fp file descriptor is closed on all code paths in import.c

gh-142776: Ensure fp file descriptor is closed on all code paths in import.c #177087

Triggered via pull request December 16, 2025 01:41
Status Failure
Total duration 1h 0m 41s
Artifacts 1

build.yml

on: pull_request
Change detection  /  Create context from changed files
11s
Change detection / Create context from changed files
Matrix: build-android
Matrix: Address sanitizer
Matrix: build-macos
Matrix: build-san
Matrix: Ubuntu SSL tests with AWS-LC
Matrix: Ubuntu SSL tests with OpenSSL
Matrix: build-ubuntu
Matrix: build-windows-msi
Waiting for pending jobs
Matrix: build-windows
Matrix: CIFuzz
Check if Autoconf files are up to date
24s
Check if Autoconf files are up to date
Check if generated files are up to date
4m 47s
Check if generated files are up to date
iOS
10m 31s
iOS
WASI  /  build and test
4m 28s
WASI / build and test
Hypothesis tests on Ubuntu
9m 0s
Hypothesis tests on Ubuntu
Cross build Linux
4m 32s
Cross build Linux
Docs  /  Check EPUB
Docs / Check EPUB
Docs  /  Docs
Docs / Docs
Docs  /  Doctest
Docs / Doctest
All required checks pass
3s
All required checks pass
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 24 warnings
Ubuntu / build and test (ubuntu-24.04)
Process completed with exit code 1.
Ubuntu / build and test (ubuntu-24.04-arm)
Process completed with exit code 1.
macOS / build and test (macos-15-intel)
Process completed with exit code 1.
Ubuntu (bolt) / build and test (ubuntu-24.04)
Process completed with exit code 1.
macOS / build and test (macos-14)
Process completed with exit code 2.
macOS (free-threading) / build and test (macos-14)
Process completed with exit code 2.
iOS
Process completed with exit code 1.
Android (x86_64)
Process completed with exit code 1.
Windows / Build and test (Win32)
Process completed with exit code 2.
Windows (free-threading) / Build and test (arm64)
Process completed with exit code 2.
Windows (free-threading) / Build and test (x64)
Process completed with exit code 2.
Windows / Build and test (x64)
Process completed with exit code 2.
Windows / Build and test (arm64)
Process completed with exit code 2.
Sanitizers / TSan
The job has exceeded the maximum execution time of 1h0m0s
Sanitizers / TSan
The operation was canceled.
Sanitizers / UBSan
The job has exceeded the maximum execution time of 1h0m0s
Sanitizers / UBSan
The operation was canceled.
All required checks pass
Process completed with exit code 1.
Ubuntu / build and test (ubuntu-24.04): Python/import.c#L4849
‘fp’ may be used uninitialized [-Wmaybe-uninitialized]
Ubuntu / build and test (ubuntu-24.04-arm): Python/import.c#L4849
‘fp’ may be used uninitialized [-Wmaybe-uninitialized]
macOS / build and test (macos-15-intel)
Already linked: /usr/local/Cellar/tcl-tk/9.0.3
macOS / build and test (macos-15-intel)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
macOS / build and test (macos-15-intel)
gdbm 1.26 is already installed and up-to-date. To reinstall 1.26, run: brew reinstall gdbm
macOS / build and test (macos-15-intel)
xz 5.8.1 is already installed and up-to-date. To reinstall 5.8.1, run: brew reinstall xz
macOS / build and test (macos-15-intel)
pkgconf 2.5.1 is already installed and up-to-date. To reinstall 2.5.1, run: brew reinstall pkgconf
Cross build Linux: Python/import.c#L4849
‘fp’ may be used uninitialized [-Wmaybe-uninitialized]
Ubuntu (bolt) / build and test (ubuntu-24.04): Python/import.c#L4849
‘fp’ may be used uninitialized [-Wmaybe-uninitialized]
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.
Hypothesis tests on Ubuntu: Python/import.c#L4849
‘fp’ may be used uninitialized [-Wmaybe-uninitialized]
macOS / build and test (macos-14)
Already linked: /opt/homebrew/Cellar/tcl-tk/9.0.3
macOS / build and test (macos-14)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
macOS / build and test (macos-14)
gdbm 1.26 is already installed and up-to-date. To reinstall 1.26, run: brew reinstall gdbm
macOS / build and test (macos-14)
xz 5.8.1 is already installed and up-to-date. To reinstall 5.8.1, run: brew reinstall xz
macOS / build and test (macos-14)
pkgconf 2.5.1 is already installed and up-to-date. To reinstall 2.5.1, run: brew reinstall pkgconf
macOS (free-threading) / build and test (macos-14)
Already linked: /opt/homebrew/Cellar/tcl-tk/9.0.3
macOS (free-threading) / build and test (macos-14)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
macOS (free-threading) / build and test (macos-14)
gdbm 1.26 is already installed and up-to-date. To reinstall 1.26, run: brew reinstall gdbm
macOS (free-threading) / build and test (macos-14)
xz 5.8.1 is already installed and up-to-date. To reinstall 5.8.1, run: brew reinstall xz
macOS (free-threading) / build and test (macos-14)
pkgconf 2.5.1 is already installed and up-to-date. To reinstall 2.5.1, run: brew reinstall pkgconf
Ubuntu (free-threading) / build and test (ubuntu-24.04-arm): Python/import.c#L4849
‘fp’ may be used uninitialized [-Wmaybe-uninitialized]
Ubuntu (free-threading) / build and test (ubuntu-24.04): Python/import.c#L4849
‘fp’ may be used uninitialized [-Wmaybe-uninitialized]
Address sanitizer (ubuntu-24.04): Python/import.c#L4850
‘fp’ may be used uninitialized in this function [-Wmaybe-uninitialized]

Artifacts

Produced during runtime
Name Size Digest
UBSan-logs-default
20.1 KB
sha256:563c9ef5b88224713405e250e3c6d9534df52e078b2f14072949d71893e9f254