Ensure tests clean their tempfiles#496
Conversation
|
PSS Measurement: Memory inside container: |
|
Build succeeded (third-party-check pipeline).
|
|
@grahamwhaley CI error: |
|
Hmm, but it is in the second commit.... let me check.... |
|
@grahamwhaley you need it for every commit. That's fine to refer the same issue from different commit. |
|
I don't think the bug in the |
|
Err.... no you do not. I've never 'Fixes' every commit - just normally the last one in the sequence :-) |
|
@chavafg - yeah, hmm, that could be a bug in the tool or CI - there are indeed 4 patches. Heh, looks like we are going to have some checkcommits fun with no @jodh-intel :-) |
5e4a498 to
4206c61
Compare
|
OK, I think I know what happened! |
|
PSS Measurement: Memory inside container: |
|
Build failed (third-party-check pipeline) integration testing with
|
|
Looks like static checks are fine, but the CIs suffered from the (unrelated I believe) kata-containers/tests#513 |
|
@grahamwhaley @chavafg - we still waiting for a new rekick? |
|
Yep, let me do that (probably with a rebase) - let's see how the CI is feeling.. |
Ensure we remove the tmpfile used for testing. Signed-off-by: Graham Whaley <graham.whaley@intel.com>
We were defer removing the temporary config.json files but not the tmpdir path we had created to store them in. Expose that path out so we can defer removeall it. Fixes: kata-containers#480 Signed-off-by: Graham Whaley <graham.whaley@intel.com>
Add a comment to clarify that the caller of testRunContainerSetup() cleans up the tmpdir. Signed-off-by: Graham Whaley <graham.whaley@intel.com>
4206c61 to
50b445c
Compare
|
PSS Measurement: Memory inside container: |
|
Build succeeded (third-party-check pipeline).
|
|
@grahamwhaley please backport this PR to stable branches if not present. |
|
Nevermind, it's already part of the stable branches. |
agent: support read-only rootfs
A number of tests were not cleaning up after themselves, which left
a bunch of files in the TMPDIR.
Ensure we remove all the tmpfiles and dirs we create.