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

libcontainer: handler errors from terminate #1607

Merged
merged 2 commits into from
Oct 20, 2017

Conversation

crosbymichael
Copy link
Member

Closes #1295

This is a carry of #1295 to run on the new tests again.

stevenh and others added 2 commits October 10, 2017 15:32
Both Process.Kill() and Process.Wait() can return errors that don't impact the correct behaviour of terminate.

Instead of letting these get returned and logged, which causes confusion, silently ignore them.

Currently the test needs to be a string test as the errors are private to the runtime packages, so its our only option.

This can be seen if init fails during the setns.

Signed-off-by: Steven Hartland <steven.hartland@multiplay.co.uk>
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
@crosbymichael crosbymichael changed the title Term err libcontainer: handler errors from terminate Oct 10, 2017
@mrunalp
Copy link
Contributor

mrunalp commented Oct 10, 2017

LGTM

Approved with PullApprove

@mrunalp
Copy link
Contributor

mrunalp commented Oct 19, 2017

ping @cyphar

@hqhq
Copy link
Contributor

hqhq commented Oct 20, 2017

LGTM

Approved with PullApprove

@hqhq hqhq merged commit 74a1729 into opencontainers:master Oct 20, 2017
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.

4 participants