memcg_subgroup_charge from controllers in ubuntu_ltp fails with "timed out on memory.usage_in_byte"

Bug #1942426 reported by Krzysztof Kozlowski
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned

Bug Description

Mentioned before in lp:1847982 but this is a different issue. Found on bionic/linux-azure-5.4/5.4.0-1058.60~18.04.1 only on Standard_D4s_v3 instance.

Not found at all on previous spin (bionic/linux-azure-5.4/5.4.0-1057.59~18.04.1) and base kernel (focal/linux-azure/5.4.0-1058.60).

Failure:
memcg_subgroup_charge 3 TBROK: timed out on memory.usage_in_bytes

Full log:
memcg_subgroup_charge 1 TINFO: timeout per run is 0h 5m 0s
memcg_subgroup_charge 1 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed
memcg_subgroup_charge 1 TINFO: Test that group and subgroup have no relationship
memcg_subgroup_charge 1 TPASS: echo 303104 > memory.limit_in_bytes passed as expected
memcg_subgroup_charge 1 TPASS: echo 573440 > subgroup/memory.limit_in_bytes passed as expected
memcg_subgroup_charge 1 TINFO: Running memcg_process --mmap-anon -s 270336
memcg_subgroup_charge 1 TINFO: Warming up pid: 30259
memcg_subgroup_charge 1 TINFO: Process is still here after warm up: 30259
memcg_subgroup_charge 1 TPASS: rss is 270336 as expected
memcg_subgroup_charge 1 TPASS: rss is 0 as expected
memcg_subgroup_charge 2 TPASS: echo 303104 > memory.limit_in_bytes passed as expected
memcg_subgroup_charge 2 TPASS: echo 303104 > subgroup/memory.limit_in_bytes passed as expected
memcg_subgroup_charge 2 TINFO: Running memcg_process --mmap-anon -s 270336
memcg_subgroup_charge 2 TINFO: Warming up pid: 30292
memcg_subgroup_charge 2 TINFO: Process is still here after warm up: 30292
memcg_subgroup_charge 2 TPASS: rss is 270336 as expected
memcg_subgroup_charge 2 TPASS: rss is 0 as expected
memcg_subgroup_charge 3 TPASS: echo 303104 > memory.limit_in_bytes passed as expected
memcg_subgroup_charge 3 TPASS: echo 0 > subgroup/memory.limit_in_bytes passed as expected
memcg_subgroup_charge 3 TINFO: Running memcg_process --mmap-anon -s 270336
memcg_subgroup_charge 3 TINFO: Warming up pid: 30320
memcg_subgroup_charge 3 TINFO: Process is still here after warm up: 30320
memcg_subgroup_charge 3 TBROK: timed out on memory.usage_in_bytes
memcg_subgroup_charge 3 TINFO: AppArmor enabled, this may affect test results
memcg_subgroup_charge 3 TINFO: it can be disabled with TST_DISABLE_APPARMOR=1 (requires super/root)
memcg_subgroup_charge 3 TINFO: loaded AppArmor profiles: none

tags: added: 5.4 azure bionic sru-20210816 ubuntu-ltp
tags: added: hinted
Po-Hsu Lin (cypressyew)
tags: added: ubuntu-ltp-controllers
removed: ubuntu-ltp
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.