Skip to content

tests/int/checkpoint: drop unneeded tests - #5222

Merged
lifubang merged 1 commit into
opencontainers:mainfrom
kolyshkin:drop-extra-cr
Apr 9, 2026
Merged

lifubang merged 1 commit into
opencontainers:mainfrom
kolyshkin:drop-extra-cr

Conversation

@kolyshkin

Copy link
Copy Markdown
Contributor

Those tests were added by commit 8d180e9 ("Add support for Linux Network Devices"), apparently by copy-pasting the test cases which call simple_cr (all four of them).

While different simple_cr tests make sense as they cover different code paths in runc and/or check for various regression, the same variations with netdevice do not make sense, as having a net device is orthogonal to e.g. bind mount, --debug, or cgroupns.

Remove those.

Cc: @aojea

@aojea

aojea commented Apr 4, 2026

Copy link
Copy Markdown
Contributor

/lgtm

I can't remember but I assume my ignorance thought those were different code paths somehow

@lifubang lifubang added backport/1.4-todo A PR in main branch which needs to backported to release-1.4 backport/1.5-todo A PR in main branch which needs to be backported to release-1.5 labels Apr 8, 2026
@kolyshkin
kolyshkin requested review from cyphar and rata April 8, 2026 17:55
Those tests were added by commit 8d180e9 ("Add support for Linux
Network Devices"), apparently by copy-pasting the test cases which
call simple_cr (all four of them).

While different simple_cr tests make sense as they cover different
code paths in runc and/or check for various regression, the same
variations with netdevice do not make sense, as having a net device
is orthogonal to e.g. bind mount, --debug, or cgroupns.

Remove those.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>

@rata rata left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@rata

rata commented Apr 9, 2026 •

Copy link
Copy Markdown
Member

Re-running the failed job

@lifubang
lifubang merged commit 780fd71 into opencontainers:main Apr 9, 2026
89 of 90 checks passed
@kolyshkin kolyshkin added area/checkpoint-restore backport/1.4-done A PR in main branch which has been backported to release-1.4 backport/1.5-done A PR in main branch which has been backported to release-1.5 and removed backport/1.4-todo A PR in main branch which needs to backported to release-1.4 backport/1.5-todo A PR in main branch which needs to be backported to release-1.5 labels Apr 10, 2026
@kolyshkin kolyshkin mentioned this pull request Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/checkpoint-restore area/ci backport/1.4-done A PR in main branch which has been backported to release-1.4 backport/1.5-done A PR in main branch which has been backported to release-1.5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants