Skip to content

gh-153296: Fix thread-safety data race in io.StringIO iterator (#153368) #203483

gh-153296: Fix thread-safety data race in io.StringIO iterator (#153368)

gh-153296: Fix thread-safety data race in io.StringIO iterator (#153368) #203483

Triggered via push July 25, 2026 08:35
Status Failure
Total duration 33m 5s
Artifacts 1

build.yml

on: push
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
Waiting for pending jobs
Check if Autoconf files are up to date
28s
Check if Autoconf files are up to date
Check if generated files are up to date
2m 51s
Check if generated files are up to date
C API Docs  /  Check if all C APIs are documented
10s
C API Docs / Check if all C APIs are documented
iOS
3s
iOS
Emscripten  /  build and test
20m 37s
Emscripten / build and test
WASI  /  build and test
5m 17s
WASI / build and test
Hypothesis tests on Ubuntu
10m 3s
Hypothesis tests on Ubuntu
Cross build Linux
4m 38s
Cross build Linux
Docs  /  Check EPUB
Docs / Check EPUB
Docs  /  Doctest
Docs / Doctest
Docs  /  Docs
Docs / Docs
Matrix: build-android
Docs  /  ...  /  Check for removed HTML IDs
Docs / Check for removed HTML IDs / Check for removed HTML IDs
All required checks pass
6s
All required checks pass
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
macOS / build and test (macos-26-intel)
A task was canceled.
macOS / build and test (macos-26)
System.IO.IOException: The file '/Users/runner/actions-runner/cached/_diag/pages/df8dc5e6-38a0-4d09-8867-e9cf16c66219_de47ba02-fbaf-5604-bd62-0040a8ad23a5_1.log' already exists. at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError) at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException) at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException) at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at GitHub.Runner.Common.PagingLogger.NewPage() at GitHub.Runner.Common.PagingLogger.Write(String message) at GitHub.Runner.Worker.ExecutionContext.Write(String tag, String message) at GitHub.Runner.Worker.ExecutionContextExtension.Debug(IExecutionContext context, String message) at GitHub.Runner.Worker.JobRunner.RunAsync(AgentJobRequestMessage message, CancellationToken jobRequestCancellationToken) at GitHub.Runner.Worker.JobRunner.RunAsync(AgentJobRequestMessage message, CancellationToken jobRequestCancellationToken) at GitHub.Runner.Worker.Worker.RunAsync(String pipeIn, String pipeOut) at GitHub.Runner.Worker.Program.MainAsync(IHostContext context, String[] args)
Android (aarch64)
A task was canceled.
iOS
System.IO.IOException: The file '/Users/runner/actions-runner/cached/_diag/pages/df8dc5e6-38a0-4d09-8867-e9cf16c66219_77186e72-8b70-5b67-b086-38bca7f7a275_1.log' already exists. at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError) at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException) at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException) at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at GitHub.Runner.Common.PagingLogger.NewPage() at GitHub.Runner.Common.PagingLogger.Write(String message) at GitHub.Runner.Worker.ExecutionContext.Write(String tag, String message) at GitHub.Runner.Worker.ExecutionContextExtension.Debug(IExecutionContext context, String message) at GitHub.Runner.Worker.JobRunner.RunAsync(AgentJobRequestMessage message, CancellationToken jobRequestCancellationToken) at GitHub.Runner.Worker.JobRunner.RunAsync(AgentJobRequestMessage message, CancellationToken jobRequestCancellationToken) at GitHub.Runner.Worker.Worker.RunAsync(String pipeIn, String pipeOut) at GitHub.Runner.Worker.Program.MainAsync(IHostContext context, String[] args)
macOS (free-threading) / build and test (macos-26)
System.IO.IOException: The file '/Users/runner/actions-runner/cached/_diag/pages/df8dc5e6-38a0-4d09-8867-e9cf16c66219_f319cec8-1330-545f-9565-337d59a10c35_1.log' already exists. at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError) at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException) at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException) at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at GitHub.Runner.Common.PagingLogger.NewPage() at GitHub.Runner.Common.PagingLogger.Write(String message) at GitHub.Runner.Worker.ExecutionContext.Write(String tag, String message) at GitHub.Runner.Worker.ExecutionContextExtension.Debug(IExecutionContext context, String message) at GitHub.Runner.Worker.JobRunner.RunAsync(AgentJobRequestMessage message, CancellationToken jobRequestCancellationToken) at GitHub.Runner.Worker.JobRunner.RunAsync(AgentJobRequestMessage message, CancellationToken jobRequestCancellationToken) at GitHub.Runner.Worker.Worker.RunAsync(String pipeIn, String pipeOut) at GitHub.Runner.Worker.Program.MainAsync(IHostContext context, String[] args)
All required checks pass
Process completed with exit code 1.
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.

Artifacts

Produced during runtime
Name Size Digest
UBSan-logs-default
1.58 KB
sha256:1525cf0ea96c76c7ff87713a7dad9e783507cbcc65069416705c91b32ea2eae4