Skip to content

[3.13] gh-157579: Fix race condition in the cleanup of tempfile.TemporaryDirectory (GH-157580) #211544

[3.13] gh-157579: Fix race condition in the cleanup of tempfile.TemporaryDirectory (GH-157580)

[3.13] gh-157579: Fix race condition in the cleanup of tempfile.TemporaryDirectory (GH-157580) #211544

Triggered via pull request September 29, 2026 15:35
Status Failure
Total duration 23m 50s
Artifacts 1

build.yml

on: pull_request
Change detection  /  Create context from changed files
10s
Change detection / Create context from changed files
Matrix: Address sanitizer
Matrix: build-macos
Matrix: build-san
Matrix: Ubuntu SSL tests with OpenSSL
Matrix: build-ubuntu
Matrix: build-windows-msi
Waiting for pending jobs
Matrix: build-windows
Matrix: cifuzz
Waiting for pending jobs
Docs  /  Docs
1m 58s
Docs / Docs
Docs  /  Doctest
6m 9s
Docs / Doctest
Docs  /  Check EPUB
2m 1s
Docs / Check EPUB
Check if Autoconf files are up to date
27s
Check if Autoconf files are up to date
Check if generated files are up to date
3m 51s
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
5m 16s
Ubuntu (installed) / build, install and test
WASI  /  build and test
7m 2s
WASI / build and test
Hypothesis tests on Ubuntu
5m 33s
Hypothesis tests on Ubuntu
Check if the ABI has changed
1m 6s
Check if the ABI has changed
Matrix: build-android
All required checks pass
3s
All required checks pass
Fit to window
Zoom out
Zoom in

Annotations

18 errors, 26 warnings, and 8 notices
Docs / Docs
Process completed with exit code 2.
Docs / Check EPUB
Process completed with exit code 1.
Ubuntu (installed) / build, install and test
Process completed with exit code 2.
Hypothesis tests on Ubuntu
Process completed with exit code 2.
Ubuntu / build and test (ubuntu-24.04-arm)
Process completed with exit code 2.
WASI / build and test
Process completed with exit code 2.
Ubuntu (free-threading) / build and test (ubuntu-24.04-arm)
Process completed with exit code 2.
Ubuntu / build and test (ubuntu-24.04)
Process completed with exit code 2.
macOS / build and test (macos-26)
Process completed with exit code 2.
macOS (free-threading) / build and test (macos-26)
Process completed with exit code 2.
Windows / build and test (Win32)
Process completed with exit code 2.
Address sanitizer (ubuntu-24.04)
Process completed with exit code 2.
Ubuntu (free-threading) / build and test (ubuntu-24.04)
Process completed with exit code 2.
Windows / build and test (x64)
Process completed with exit code 2.
Android (x86_64)
Process completed with exit code 1.
macOS / build and test (macos-26-intel)
Process completed with exit code 2.
Windows (free-threading) / build and test (x64)
Process completed with exit code 2.
All required checks pass
Process completed with exit code 1.
Check if the ABI has changed
The `python-version` input is not set. The version of Python currently in `PATH` will be used.
Windows (free-threading) / build (arm64): Modules/unicodedata.c#L1568
'function': conversion from 'size_t' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\unicodedata.vcxproj]
Windows / build (arm64): Modules/unicodedata.c#L1568
'function': conversion from 'size_t' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\unicodedata.vcxproj]
Ubuntu (installed) / build, install and test: Modules/_decimal/libmpdec/io.c#L349
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
Ubuntu (installed) / build, install and test: Modules/_decimal/libmpdec/io.c#L349
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
Ubuntu (installed) / build, install and test: Modules/_decimal/libmpdec/io.c#L349
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
Ubuntu (installed) / build, install and test: Modules/_decimal/libmpdec/io.c#L349
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
Ubuntu (installed) / build, install and test: Modules/_decimal/libmpdec/io.c#L349
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
Ubuntu (installed) / build, install and test: Modules/_decimal/libmpdec/io.c#L349
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
Ubuntu (installed) / build, install and test: Modules/_decimal/libmpdec/io.c#L349
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
Ubuntu (installed) / build, install and test: Modules/_decimal/libmpdec/io.c#L349
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
Ubuntu (installed) / build, install and test: Modules/_decimal/libmpdec/io.c#L349
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
Ubuntu (installed) / build, install and test: Modules/_decimal/libmpdec/io.c#L349
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
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-24.04): Modules/_decimal/libmpdec/io.c#L349
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
Address sanitizer (ubuntu-24.04): Modules/_decimal/libmpdec/io.c#L349
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
Address sanitizer (ubuntu-24.04): Modules/_decimal/libmpdec/io.c#L349
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
Address sanitizer (ubuntu-24.04): Modules/_decimal/libmpdec/io.c#L349
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
Address sanitizer (ubuntu-24.04): Modules/_decimal/libmpdec/io.c#L349
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
Address sanitizer (ubuntu-24.04): Modules/_decimal/libmpdec/io.c#L349
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
Address sanitizer (ubuntu-24.04): Modules/_decimal/libmpdec/io.c#L349
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
Address sanitizer (ubuntu-24.04): Modules/_decimal/libmpdec/io.c#L349
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
Address sanitizer (ubuntu-24.04): Python/import.c#L1197
‘__builtin_strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
Address sanitizer (ubuntu-24.04): Include/internal/pycore_dict.h#L302
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
Windows / build and test (x64): Modules/unicodedata.c#L1568
'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): Modules/unicodedata.c#L1568
'function': conversion from 'size_t' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\unicodedata.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 / 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"
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"
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.
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
TSan-logs-free-threading
1.78 KB
sha256:6b30e24b9210ff4fc26a51552b924b9245683ec1e59c13528286f1556b6ca23c