containerd / rust-extensions

Rust crates to extend containerd
https://containerd.io
Apache License 2.0
184 stars 73 forks source link

[Windows] Retry when pipe is busy #206

Closed jsturtevant closed 1 year ago

jsturtevant commented 1 year ago

fixes #153

There is a small chance the pipe connection thread is switching causing the error. This is a retriable error so we should retry it.

jsturtevant commented 1 year ago

CI failure was:

2023-09-27T16:54:46.0829155Z === CONT  TestContainerAttachProcess
2023-09-27T16:54:46.2301858Z     container_linux_test.go:716: write /proc/self/fd/29: broken pipe
2023-09-27T16:54:46.2314358Z     container_linux_test.go:724: write /proc/self/fd/29: broken pipe
2023-09-27T16:54:46.2384256Z     container_linux_test.go:746: expected output "hello\nhello\n" but received ""
2023-09-27T16:54:46.2591524Z --- FAIL: TestContainerAttachProcess (0.18s)
2023-09-27T16:54:46.2592190Z === CONT  TestContainerAttach
2023-09-27T16:54:46.3625257Z     container_linux_test.go:515: write /proc/self/fd/29: broken pipe
2023-09-27T16:54:46.3637557Z     container_linux_test.go:528: write /proc/self/fd/29: broken pipe
2023-09-27T16:54:46.3876891Z     container_linux_test.go:549: expected output "hello\nhello\n" but received ""
2023-09-27T16:54:46.3910662Z --- FAIL: TestContainerAttach (0.13s)