You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
=== FAIL: e2e/container TestProcessTermination (11.00s)
run_test.go:280: assertion failed:
Command: docker run --rm -i registry:5000/alpine:frozen sh -c echo 'starting trap'; trap 'echo got signal; exit 0;' TERM; while true; do sleep 10; done
ExitCode: 0 (timeout)
Stdout: starting trap
got signal
Stderr:
Failures:
Expected command to finish, but it hit the timeout
Reproduce
The e2e/container.TestProcessTermination fails with a timeout, so it seems the signal being sent to the container doesn't reach the container before the 10 second timeout 🤷
Might be some race condition between steps 1 and 2 in:
Startup Container
Send signal
Wait for termination
Expected behavior
No response
docker version
Client: Docker Engine - Community
Version: 26.1.3
API version: 1.45
Go version: go1.21.10
Git commit: b72abbb
Built: Thu May 16 08:33:35 2024
OS/Arch: linux/amd64
Context: default
Server: Docker Engine - Community
Engine:
Version: 26.1.3
API version: 1.45 (minimum version 1.24)
Go version: go1.21.10
Git commit: 8e96db1
Built: Thu May 16 08:33:35 2024
OS/Arch: linux/amd64
Experimental: true
containerd:
Version: 1.7.24
GitCommit: 88bf19b2105c8b17560993bee28a01ddc2f97182
runc:
Version: 1.2.2
GitCommit: v1.2.2-0-g7cb3632
docker-init:
Version: 0.19.0
GitCommit: de40ad0
Description
I've been seeing this a few times now on the CI.
Reproduce
The
e2e/container.TestProcessTermination
fails with a timeout, so it seems the signal being sent to the container doesn't reach the container before the 10 second timeout 🤷Might be some race condition between steps 1 and 2 in:
Expected behavior
No response
docker version
Client: Docker Engine - Community Version: 26.1.3 API version: 1.45 Go version: go1.21.10 Git commit: b72abbb Built: Thu May 16 08:33:35 2024 OS/Arch: linux/amd64 Context: default Server: Docker Engine - Community Engine: Version: 26.1.3 API version: 1.45 (minimum version 1.24) Go version: go1.21.10 Git commit: 8e96db1 Built: Thu May 16 08:33:35 2024 OS/Arch: linux/amd64 Experimental: true containerd: Version: 1.7.24 GitCommit: 88bf19b2105c8b17560993bee28a01ddc2f97182 runc: Version: 1.2.2 GitCommit: v1.2.2-0-g7cb3632 docker-init: Version: 0.19.0 GitCommit: de40ad0
docker info
Additional Info
No response
The text was updated successfully, but these errors were encountered: