[LTP] RFC: Proposed cgroup v2 and openat2 test case contributions for LTP

Andrea Cervesato andrea.cervesato@suse.com
Thu Jun 18 13:35:38 CEST 2026


Hi Priyama,

the cgroup testing suite in LTP can be a bit unstable due to the nature
of cgroup v1 -> v2 migration. The V2 seems stable, but sometimes tests
might produce false positives, mostly related to system configurations
or system overload. We digged quite a lot into it in the past years and
we ended up with a solution which "good enough" for regression testing,
supporting both v1 and v2.

Also, kselftests already cover many cgroup testing scenarios and we are
not actively investing time on it. But you and others are welcome to try
implementing something, if you think this can be helpful.

My biggest concern is the code quality. cgroups can be a complex beast
to handle with LTP API, which are made supporting v1 and v2.

If you are willing to implement new tests, please consider test cases
scenarios that are not implemented in LTP and kselftests. Those are the
most valuable at the moment.

Regards,
--
Andrea Cervesato
SUSE QE Automation Engineer Linux
andrea.cervesato@suse.com


More information about the ltp mailing list