All of lore.kernel.org
 help / color / mirror / Atom feed
* selftests: cgroup: config fragments required
@ 2020-05-27 17:51 Naresh Kamboju
  0 siblings, 0 replies; only message in thread
From: Naresh Kamboju @ 2020-05-27 17:51 UTC (permalink / raw)
  To: Roman Gushchin, Tejun Heo, Johannes Weiner, Michal Hocko
  Cc: open list:KERNEL SELFTEST FRAMEWORK, open list, lkft-triage,
	Shuah Khan, Anders Roxell, Christian Brauner

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-27 17:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-27 17:51 selftests: cgroup: config fragments required Naresh Kamboju

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.