-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
fix checkpoint/restore tests on actuated-arm64 #4276
fix checkpoint/restore tests on actuated-arm64 #4276
Conversation
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Since criu 2.12, rpcOpts is not needed when checking criu features. As we requires criu >= 3.0 in Checkpoint, we can remove rpcOpts. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
criu check --feature userns also tests for the /proc/self/ns/user presense, so remove the redundant check, and simplify the error message. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Since commit c77aaa3 the tail of criu log is printed by runc, so there's no need to do the same thing in tests. This also fixes a test failure on ARM where showLog fails (because there's no log file) and thus the conditional t.Skip is not called. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
e4f3536
to
892cec6
Compare
@adrianreber @rst0git PTAL |
Hi @kolyshkin we can enable CONFIG_NF_TABLES_INET for you. What else is needed or dependent? |
@kolyshkin I've updated the CRIU packages in OBS with the patch from checkpoint-restore/criu#2403. |
892cec6
to
bac9f25
Compare
Awesome; I've removed the last commit so we're now running all tests on ARM (except, of course, pre-dump). |
Since we're now testing on ARM, the test case fails when trying to do pre-dump since MemTrack is not available. Skip the pre-dump part if so. This also reverts part of commit 3f4a73d as it is no longer needed (now, instead of skipping the whole test, we're just skipping the pre-dump). [Review with --ignore-all-space] Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
bac9f25
to
36be6d0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, please update your PR description.
While investigating #4274 I found a few issues and rough edges with our c/r tests.
This, together with checkpoint-restore/criu#2403 (which is already applied to CRIU package we use) fixes CI failures we see now.
Fixes: #4274.