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
Is this a BUG REPORT or FEATURE REQUEST?:
BUG REPORT
What happened:
Random failure of workstep with sidecar when sidecar terminates with main container.
If DockerExecutor.Kill (docker.go:99) is called while container is terminating, docker --kill can fail with "Error response from daemon: Cannot kill container ... is not running".
What you expected to happen:
Workstep should not fail.
How to reproduce it (as minimally and precisely as possible):
Run workflow below until race condition is triggered. If no luck, reproduce the error in a bash shell by calling docker kill on an already terminated container e.g.
docker run alpine
docker ps -a
docker kill <container id from docker ps -a>
Is this a BUG REPORT or FEATURE REQUEST?:
BUG REPORT
What happened:
Random failure of workstep with sidecar when sidecar terminates with main container.
If DockerExecutor.Kill (docker.go:99) is called while container is terminating, docker --kill can fail with "Error response from daemon: Cannot kill container ... is not running".
Potential fix in docker.go:
Or just ignore error.
What you expected to happen:
Workstep should not fail.
How to reproduce it (as minimally and precisely as possible):
Run workflow below until race condition is triggered. If no luck, reproduce the error in a bash shell by calling docker kill on an already terminated container e.g.
Workflow:
Anything else we need to know?:
Would be nice to have enhancement KillGracePeriod configurable:
Configurable graceful shutdown period for container and sidecar #1012
Environment:
Other debugging information (if applicable):
The text was updated successfully, but these errors were encountered: