Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

ci: make sure template mountpoints are cleaned up#761

Closed
bergwolf wants to merge 1 commit intokata-containers:masterfrom
bergwolf:vmfactory
Closed

ci: make sure template mountpoints are cleaned up#761
bergwolf wants to merge 1 commit intokata-containers:masterfrom
bergwolf:vmfactory

Conversation

@bergwolf
Copy link
Copy Markdown
Member

Since we relay on the mountpoints to check for test results,
let's make sure it is cleaned up before and after the tests.

Fixes: #760

Since we relay on the mountpoints to check for test results,
let's make sure it is cleaned up before and after the tests.

Fixes: kata-containers#760

Signed-off-by: Peng Tao <bergwolf@gmail.com>
@bergwolf
Copy link
Copy Markdown
Member Author

ping @jodh-intel @grahamwhaley. This is blocking all the runtime repo PRs.

@grahamwhaley
Copy link
Copy Markdown
Contributor

I can see the principle, to clean up before we run the test (and iirc, we do that for processes with some kill_all_processes() in the metrics and maybe QA tests), but, this is also hiding the problem that somebody seems to be leaving those mount points behind in the first place....
We have the rm soak test that does a global sanity check, and we are working on getting those checks to run after every test is run, so we can pick these things up earlier.

I'm prone to say - this patch is fine, but we should identify who left the mounts around in the first place, and have either a check or a BUG and/or Issue for that - ideally before we merge this (or we'll forget ;-) ).

@bergwolf
Copy link
Copy Markdown
Member Author

@grahamwhaley Fair enough. You've beaten me to it :) See kata-containers/runtime#764

@bergwolf
Copy link
Copy Markdown
Member Author

Let's close this one and let it catch future leaks if possible.

@bergwolf bergwolf closed this Sep 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants