-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(executor): Fix docker not terminating. Fixes #6064 #6083
Conversation
Signed-off-by: Alex Collins <[email protected]>
Signed-off-by: Alex Collins <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #6083 +/- ##
==========================================
+ Coverage 47.73% 47.75% +0.01%
==========================================
Files 249 249
Lines 15740 15740
==========================================
+ Hits 7514 7516 +2
+ Misses 7285 7284 -1
+ Partials 941 940 -1
Continue to review full report at Codecov.
|
@sarabala1979 can you please review? This is for v3.0 backport. |
Oh - why no test is this? The test that should have failed is in #6084. Hde test-executor job fails for docker, but there are no docker changes in that PR. Once this PR is merged, I will sync that PR with master, and test will pass. |
Signed-off-by: Alex Collins <[email protected]>
@whynowy can you please review? |
@@ -207,55 +213,69 @@ func (d *DockerExecutor) Wait(ctx context.Context, containerNames []string) erro | |||
return err | |||
} | |||
|
|||
func (d *DockerExecutor) listContainers() (map[string]ctr, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lift-and-shift
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume it has been well tested.
Do you know if this is a bug fix for my hang? The logs looks similar but I can't tell. |
Signed-off-by: Alex Collins <[email protected]>
Signed-off-by: Alex Collins [email protected]
Fixes #6064