View Issue Details

IDProjectCategoryView StatusLast Update
0000592AlmaLinux-9-OTHERpublic2025-12-11 06:07
Reporterharish Assigned To 
PriorityimmediateSeveritymajorReproducibilityalways
Status newResolutionopen 
Summary0000592: LTP memcontrol03 fails with “TBROK: tst_checkpoint_wait() ETIMEDOUT (110)” on AlmaLinux 9 / cgroup v2 — Is this expected behavio
DescriptionHello Community,

I am running LTP (Linux Test Project) on AlmaLinux 9.6 running on Azure (kernel using cgroup v2 unified hierarchy).
One of the tests, controllers/memcontrol03, consistently results in:

TBROK: tst_checkpoint_wait(1, 10000) failed: ETIMEDOUT (110)

What I have verified so far

The system correctly exposes cgroup v2 memory controller files:

memory.current
memory.max
memory.events
memory.stat
memory.reclaim
memory.swap.*


The test appears to wait for a memory event notification that never occurs.

According to the documentation, memcontrol03 relies on cgroup v1-style memory events, which are not generated under cgroup v2.

My understanding

From reading kernel documentation and test code:

cgroup v2 no longer provides legacy memory event notifications expected by memcontrol03
https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html#memory-controller

memcontrol03 waits inside tst_checkpoint_wait() for an event that v2 systems do not emit
→ leading to the timeout and TBROK.

Questions for the community

Is this TBROK result expected for all cgroup v2 systems?

Is memcontrol03 officially considered incompatible with cgroup v2?

Should this test be skipped/marked as BROKEN on any distro using cgroup v2 (RHEL9/AL9/Fedora)?

Is there any known workaround, or is the correct approach to exclude the test?

Additional context

Same behavior across multiple AlmaLinux 9 VMs on Azure.

No OS/kernel defects observed; other memory controller tests run normally.

Logs show that the event never occurs within the 10-second window.

I would appreciate clarification or official guidance from LTP maintainers or anyone familiar with memory controller tests on cgroup v2.

Thank you!
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2025-12-11 06:07 harish New Issue