lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Wed, 27 May 2020 23:21:18 +0530
From:   Naresh Kamboju <naresh.kamboju@...aro.org>
To:     Roman Gushchin <guro@...com>, Tejun Heo <tj@...nel.org>,
        Johannes Weiner <hannes@...xchg.org>,
        Michal Hocko <mhocko@...e.com>
Cc:     "open list:KERNEL SELFTEST FRAMEWORK" 
        <linux-kselftest@...r.kernel.org>,
        open list <linux-kernel@...r.kernel.org>,
        lkft-triage@...ts.linaro.org, Shuah Khan <shuah@...nel.org>,
        Anders Roxell <anders.roxell@...aro.org>,
        Christian Brauner <christian.brauner@...ntu.com>
Subject: selftests: 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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ