Skip to content
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

docker: extend restart test case #447

Merged
merged 2 commits into from
Aug 11, 2023
Merged

Conversation

tormath1
Copy link
Contributor

@tormath1 tormath1 commented Aug 10, 2023

See also: flatcar/Flatcar#1157


It passes with current Flatcar releases but not if you use SIGHUP signal.

Signed-off-by: Mathieu Tortuyaux <[email protected]>
@tormath1 tormath1 self-assigned this Aug 10, 2023
@tormath1 tormath1 marked this pull request as ready for review August 10, 2023 17:37
@tormath1 tormath1 requested a review from a team August 10, 2023 17:37

// kill it
c.MustSSH(m, "sudo kill "+string(pid))
c.MustSSH(m, fmt.Sprintf("sudo kill -%s %s ", signal, string(pid)))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
c.MustSSH(m, fmt.Sprintf("sudo kill -%s %s ", signal, string(pid)))
c.MustSSH(m, fmt.Sprintf("sudo kill -%s %s", signal, string(pid)))

SIGHUP has been seen to be used by third party tools to restart
containerd.

Signed-off-by: Mathieu Tortuyaux <[email protected]>
@tormath1 tormath1 merged commit fa10453 into flatcar-master Aug 11, 2023
2 checks passed
@tormath1 tormath1 deleted the tormath1/containerd branch August 11, 2023 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants