integration/container: add a base test for C/R#38452
Conversation
|
Cc: @kolyshkin @rst0git |
Codecov Report
@@ Coverage Diff @@
## master #38452 +/- ##
=========================================
Coverage ? 36.48%
=========================================
Files ? 613
Lines ? 45882
Branches ? 0
=========================================
Hits ? 16741
Misses ? 26847
Partials ? 2294 |
daemon/checkpoint.go
Outdated
There was a problem hiding this comment.
I don't know. If maintainers think it should close, close it.
There was a problem hiding this comment.
I don't have any objections against config.json with some additional information.
There was a problem hiding this comment.
I think that for this test just checking the required features is enough, checking all would require more effort like enabling uffd and specific tmpfs configurations.
I would say, let's have this and then we can add more specific test cases.
eaac6e8 to
3923a97
Compare
|
@avagin CI fails which looks to be caused by this change. Experimental and Janky fails to: PowerPC and Z fails to: |
|
I've been able to reproduce this test on my machine following the process that ended with success. Not sure why it's complaining about pause,I ran multiple times and haven't experienced that, sending a rebuild to verify if it's flaky. |
kolyshkin
left a comment
There was a problem hiding this comment.
Perhaps we can simplify the test by reusing some stuff from integration/internal/container?
|
CI failures experimental
Haven't seen this one before, will take a look 🙄 janky
Known flaky test; #37547 ppc
Known flaky test; #32673 |
@fntlnz how you run it? I tested this with #38523 like this:
and result was that TestCheckpoint and TestRenameAnonymousContainer2 fails on every run. You can see log on: 38452_stress_test.log |
2a7a7b1 to
2c88895
Compare
|
Derek add label: rebuild/* |
|
@avagin can you please squash all the commits dealing with the test case (i.e. everything except the second one) into one? |
|
The only CI failure is
which should be fixed by a rebase since #38737 is merged. |
Signed-off-by: Andrei Vagin <[email protected]>
A container checkpoint directory doesn't have config.json. Signed-off-by: Andrei Vagin <[email protected]>
|
LGTM // cc @thaJeztah |
- What I did
I spent a Friday night to write this test.
- How I did it
Silently
- How to verify it
Just run it
- Description for the changelog
This test creates a container, checkpoints it twice, restore it once and checks that a content of a tmpfs mount is restored correctly.
- A picture of a cute animal (not mandatory but encouraged)
