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

Carry 232: fix issue #228 replace start to run #285

Closed
wants to merge 2 commits into from

Conversation

Mashimiao
Copy link

No description provided.

@wking
Copy link
Contributor

wking commented Nov 30, 2016

This still needs subreaper magic or similar to collect the container exit code.

@Mashimiao
Copy link
Author

Mashimiao commented Dec 1, 2016 via email

@wking
Copy link
Contributor

wking commented Dec 1, 2016

"Wait an indeterminate amount of time before scraping stout for success messages" isn't the friendliest UI for automated compliance tests ;). And as this PR stands the caller has to call delete on their own too.

@Mashimiao
Copy link
Author

If so, we can add result output for each validation

@wking
Copy link
Contributor

wking commented Dec 1, 2016

I'm having difficulty parsing your last comment. My point is that runtime validation will be much more usable (e.g. from continuous integration tests) if the validation command (currently test_runtime.sh) has an exit code that reflects success/failure for the runtime 's compliance. And I don't see a better way to achieve that than with subreaper magic.

@Mashimiao
Copy link
Author

Mashimiao commented Dec 1, 2016 via email

heartlock and others added 2 commits December 1, 2016 14:09
Signed-off-by: heartlock <21521209@zju.edu.cn>
Signed-off-by: Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
Signed-off-by: Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
@wking
Copy link
Contributor

wking commented Dec 1, 2016 via email

@Mashimiao
Copy link
Author

Mashimiao commented Dec 1, 2016 via email

@Mashimiao
Copy link
Author

Mashimiao commented Dec 1, 2016

And I think we can't solve collecting exit code from runtimetest by using start command in short time.
And currently test_runtime.test has affected normal use. Changing to printing out result of validations based on current conditions is acceptable, in my opinion.

@wking
Copy link
Contributor

wking commented Dec 1, 2016 via email

@Mashimiao
Copy link
Author

Mashimiao commented Dec 1, 2016 via email

@wking
Copy link
Contributor

wking commented Dec 1, 2016 via email

@Mashimiao
Copy link
Author

Mashimiao commented Dec 1, 2016 via email

@wking
Copy link
Contributor

wking commented Dec 1, 2016 via email

@Mashimiao
Copy link
Author

Mashimiao commented Dec 1, 2016 via email

@wking
Copy link
Contributor

wking commented Dec 1, 2016 via email

@Mashimiao
Copy link
Author

Mashimiao commented Dec 1, 2016 via email

@wking
Copy link
Contributor

wking commented Dec 1, 2016 via email

@Mashimiao
Copy link
Author

6117361 will actually breaks test_runtime.sh's exit code.
But without this change, test_runtime.sh also can't work.
I want to hear other opinions from @opencontainers/runtime-tools-maintainers

@mrunalp
Copy link
Contributor

mrunalp commented Dec 2, 2016

We need subreaper based wrapper to tie create and start together.

@wking
Copy link
Contributor

wking commented Dec 2, 2016 via email

@Mashimiao
Copy link
Author

Closed as test_runtime.sh is not needed any more and we already have output of test passed

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