On v5.11 kernels the failure looks a little bit different and I think it
might be different issue. Since v5.9, the kernel per-group memory is
charged towards given group. This failed several tests, e.g. trying to
create subgroups.

AWS v5.11, 36-core c4.8xlarge instance:

memcg_stat_test 4 TINFO: Process is still here after warm up: 3210
memcg_stat_test 4 TPASS: unevictable is 135168 as expected
memcg_stat_test 5 TINFO: Test hierarchical_memory_limit with enabling 
hierarchical accounting
/home/ubuntu/ltp-install/testcases/bin/memcg_stat_test.sh: 47: echo: echo: I/O 
error
memcg_stat_test 5 TFAIL: hierarchical_memory_limit is 270336, 135168 expected
memcg_stat_test 6 TINFO: Test hierarchical_memory_limit with disabling 
hierarchical accounting
memcg_stat_test 6 TCONF: Test requires root cgroup memory.use_hierarchy=0
memcg_stat_test 6 TINFO: AppArmor enabled, this may affect test results
memcg_stat_test 6 TINFO: it can be disabled with TST_DISABLE_APPARMOR=1 
(requires super/root)
memcg_stat_test 6 TINFO: loaded AppArmor profiles: none

For this (v5.11) issue, sent patches to upstream:
https://lists.linux.it/pipermail/ltp/2021-July/023804.html

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1829983

Title:
  memcg_stat from controllers test suite in LTP failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1829983/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to