Skip to content

docker: extend restart test case#447

Merged
tormath1 merged 2 commits intoflatcar-masterfrom
tormath1/containerd
Aug 11, 2023
Merged

docker: extend restart test case#447
tormath1 merged 2 commits intoflatcar-masterfrom
tormath1/containerd

Conversation

@tormath1
Copy link
Copy Markdown
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 <mtortuyaux@microsoft.com>
@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
@tormath1 tormath1 force-pushed the tormath1/containerd branch from 8f681e9 to 3adeccb Compare August 10, 2023 17:52

// kill it
c.MustSSH(m, "sudo kill "+string(pid))
c.MustSSH(m, fmt.Sprintf("sudo kill -%s %s ", signal, string(pid)))
Copy link
Copy Markdown
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 <mtortuyaux@microsoft.com>
@tormath1 tormath1 force-pushed the tormath1/containerd branch from 3adeccb to f5448cd Compare August 11, 2023 12:19
@tormath1 tormath1 merged commit fa10453 into flatcar-master Aug 11, 2023
@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