lkml.org 
[lkml]   [2020]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
Subjectselftests: cgroup: config fragments required
selftest cgroup tests are getting skipped due to missing kernel config
fragments.
Please create the required config fragments "config" file.

Our CI system merges these kernel config fragments and builds the kernel
for testing. You may refer config files in other test directories.

Test output log,
# selftests cgroup test_memcontrol
cgroup: test_memcontrol_ #
[SKIP] not ok 1 # SKIP memory controller isn't available
ok: 1_# [SKIP]
[SKIP] 1 selftests cgroup test_memcontrol # SKIP
selftests: cgroup_test_memcontrol [SKIP]
# selftests cgroup test_core
cgroup: test_core_ #
[SKIP] not ok 1 # SKIP Failed to set memory controller
ok: 1_# [SKIP]
[SKIP] 2 selftests cgroup test_core # SKIP
selftests: cgroup_test_core [SKIP]
# selftests cgroup test_freezer
cgroup: test_freezer_ #
# ok 1 test_cgfreezer_simple
1: test_cgfreezer_simple_ #
# ok 2 test_cgfreezer_tree
2: test_cgfreezer_tree_ #
# ok 3 test_cgfreezer_forkbomb
3: test_cgfreezer_forkbomb_ #
# ok 4 test_cgfreezer_mkdir
4: test_cgfreezer_mkdir_ #
# ok 5 test_cgfreezer_rmdir
5: test_cgfreezer_rmdir_ #
# ok 6 test_cgfreezer_migrate
6: test_cgfreezer_migrate_ #
# Cgroup /sys/fs/cgroup/unified/cg_test_ptrace isn't frozen
/sys/fs/cgroup/unified/cg_test_ptrace: isn't_frozen #
# not ok 7 test_cgfreezer_ptrace
ok: 7_test_cgfreezer_ptrace #
# ok 8 test_cgfreezer_stopped
8: test_cgfreezer_stopped_ #
# ok 9 test_cgfreezer_ptraced
9: test_cgfreezer_ptraced_ #
# ok 10 test_cgfreezer_vfork
10: test_cgfreezer_vfork_ #
[FAIL] 3 selftests cgroup test_freezer # exit=1
selftests: cgroup_test_freezer [FAIL]
# selftests cgroup test_stress.sh
cgroup: test_stress.sh_ #
# ./with_stress.sh line 34 echo write error No such file or directory
line: 34_echo #
# Skipping cannot enable cpuset in /sys/fs/cgroup/unified
cannot: enable_cpuset #
[SKIP] 4 selftests cgroup test_stress.sh # SKIP
selftests: cgroup_test_stress.sh [SKIP]

You may create config file like this,
CONFIG_CGROUPS=y
CONFIG_CGROUP_WRITEBACK=y
CONFIG_CGROUP_SCHED=y
CONFIG_CGROUP_FREEZER=y
CONFIG_CGROUP_HUGETLB=y
CONFIG_CPUSETS=y
CONFIG_PROC_PID_CPUSET=y
CONFIG_CGROUP_DEVICE=y
CONFIG_CGROUP_CPUACCT=y
CONFIG_CGROUP_PERF=y


--
Linaro LKFT
https://lkft.linaro.org

\
 
 \ /
  Last update: 2020-05-27 19:53    [W:0.025 / U:18.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site