Skip to content

gha/windows: Diagnose and recover from stopped Docker service#52493

Draft
vvoland wants to merge 1 commit intomoby:masterfrom
vvoland:fix-flaky-windows-dockerinfo
Draft

gha/windows: Diagnose and recover from stopped Docker service#52493
vvoland wants to merge 1 commit intomoby:masterfrom
vvoland:fix-flaky-windows-dockerinfo

Conversation

@vvoland
Copy link
Copy Markdown
Contributor

@vvoland vvoland commented Apr 30, 2026

Looks like #52487 didn't help - the dockerd isn't up even after a minute.

https://github.com/moby/moby/actions/runs/25177849622/job/73815129133?pr=52491

The wait loop added in 16c0107 probes `docker version` but does not
attempt to start the service if it is stopped, leading to 30 failed
retries and a timeout when the runner's pre-installed Docker service
has not started automatically.

Add service status diagnostics and attempt to start the Docker service
on each retry if it exists but is not running. Also redirect stderr to
null so `docker version` error messages don't flood the log.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
@vvoland vvoland self-assigned this Apr 30, 2026
@vvoland vvoland added this to the 29.5.0 milestone Apr 30, 2026
@vvoland vvoland closed this May 5, 2026
@vvoland vvoland reopened this May 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant