Skip to content

tests/runc-integration-skip.txt: document some skips - #2292

Merged
kolyshkin merged 1 commit into
containers:mainfrom
kolyshkin:skip-list-comments
Oct 1, 2026
Merged

kolyshkin merged 1 commit into
containers:mainfrom
kolyshkin:skip-list-comments

Conversation

@kolyshkin

@kolyshkin kolyshkin commented Sep 29, 2026 •

Copy link
Copy Markdown
Collaborator

Add comments to tests/runc-integration-skip.txt explaining why some of the runc integration tests are skipped, and group the entries which fail for the same reason:

  • systemd cgroup driver layout: crun puts the container processes into the container sub-cgroup of the unit cgroup, while the tests look at the unit cgroup itself (delete with host pidns, delete --force with subcgroups, set cpu period with no quota);
  • runc specific output: debug messages (CPU affinity, --debug exec, /proc/self/exe clone), the list output format, and the "Such configuration is strongly discouraged" warning;
  • errors worded differently: crun fails as well, but with its own message (kill detached busybox, memory policy with invalid arguments, seccomp hook and notify errors, scheduler vs cpus);
  • rootless without cgroup permission: crun ignores the resource limits, while runc fails.

Also document:

The commented entries are now separated by empty lines (a comment applies to the entries below it, up to the next empty line, as documented in the file header), and the entries with no explanation yet are moved to the end.

@giuseppe giuseppe 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, please merge once it is ready

@kolyshkin
kolyshkin force-pushed the skip-list-comments branch 7 times, most recently from 2cf941a to 1bafde3 Compare October 1, 2026 19:03
@packit-as-a-service

Copy link
Copy Markdown

Ephemeral COPR build failed. @containers/packit-build please check.

Explain why some runc integration tests are skipped, grouping the
entries which fail for the same reason:
 - the "container" sub-cgroup used with the systemd cgroup driver;
 - runc specific debug messages, output format and warnings;
 - errors worded differently;
 - rootless containers with resource limits and no cgroup permission.

Also explain the seccomp -ENOSYS handling skip (to be solved in
libseccomp) and the mount order skips (host rootfs paths used as mount
destinations by the test, and idmapped mount sources inside the
container rootfs).

Separate the commented entries by empty lines, so that it is clear
which entries a comment applies to, and move the entries with no
explanation yet to the end.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
@kolyshkin
kolyshkin marked this pull request as ready for review October 1, 2026 20:48
@kolyshkin
kolyshkin merged commit ca7879f into containers:main Oct 1, 2026
63 of 64 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants