memcg_control from ubuntu_ltp_controllers failed (Failed to open memory.memsw.limit_in_bytes for writing: Permission denied)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
New
|
Undecided
|
Unassigned |
Bug Description
This bug is split out from bug 1983659
memcg_control test is failing with:
memcg_
tst_rod: Failed to open '/sys/fs/
memcg_
Test log:
INFO: Test start time: Tue Jun 13 15:49:22 UTC 2023
COMMAND: /opt/ltp/
LOG File: /dev/null
FAILED COMMAND File: /dev/null
TCONF COMMAND File: /dev/null
Running tests.......
memcg_control_test 1 TINFO: timeout per run is 0h 5m 0s
memcg_control_test 1 TINFO: Test starts with cgroup version 1
memcg_control_test 1 TINFO: Test #1: Checking if the memory usage limit imposed by the topmost group is enforced
tst_rod: Failed to open '/sys/fs/
memcg_control_test 1 TBROK: echo 4096 > /sys/fs/
memcg_control_test 1 TINFO: AppArmor enabled, this may affect test results
memcg_control_test 1 TINFO: it can be disabled with TST_DISABLE_
memcg_control_test 1 TINFO: loaded AppArmor profiles: none
Summary:
passed 0
failed 0
broken 1
skipped 0
warnings 0
INFO: ltp-pan reported some tests FAIL
LTP Version: 20220527
INFO: Test end time: Tue Jun 13 15:49:22 UTC 2023