LTP测试controllers:cgroup测试FAIL <<<test_start>>> tag=cgroup stime=1686120246 cmdline="cgroup_regression_test.sh" contacts="" analysis=exit <<<test_output>>> cgroup_regression_test 1 TINFO: timeout per run is 0h 5m 0s cgroup_regression_test 1 TPASS: no kernel bug was found cgroup_regression_test 2 TPASS: notify_on_release is inherited cgroup_regression_test 3 TCONF: CONFIG_SCHED_DEBUG is not enabled cgroup_regression_test 4 TCONF: CONFIG_LOCKDEP is not enabled cgroup_regression_test 5 TINFO: The '/tmp/ltp-uExdfFLt9k/LTP_cgroup_regression_test.DygK86N8F0/cgroup' is not mounted, skipping umount cgroup_regression_test 5 TPASS: no kernel bug was found cgroup_regression_test 6 TPASS: no kernel bug was found tst_cgroup.c:737: TINFO: Mounted V1 rdma CGroup on /tmp/ltp-uExdfFLt9k/cgroup_rdma tst_cgroup.c:563: TBROK: Available V2 controllers are changing between scans? cgroup_regression_test 7 TBROK: 'tst_cgctl require' exited Summary: passed 4 failed 0 broken 1 skipped 2 warnings 0 <<<execution_status>>> initiation_status="ok" duration=61 termination_type=exited termination_id=2 corefile=no cutime=8151 cstime=4367 <<<test_end>>> [环境信息]: 机器类型:ECS [内核信息]: [root@qibo-anolis23-nightly-func-arm-1 ~]# uname -r 5.10.134-125.git.21e574ab8b57.an23.aarch64 [操作系统信息]: [root@qibo-anolis23-nightly-func-arm-1 ~]# cat /etc/os-release NAME="Anolis OS" VERSION="23" ID="anolis" VERSION_ID="23" PLATFORM_ID="platform:an23" PRETTY_NAME="Anolis OS 23" ANSI_COLOR="0;31" HOME_URL="https://openanolis.cn/" BUG_REPORT_URL="https://bugzilla.openanolis.cn/" [问题发生概率]:部分机器必现 [复现步骤]: 1、安装部署ltp 2、执行./runltp -f controllers -s cgroup
anolis23 x86 6.6.88环境,ltp测试套,cgroup_core02用例报错相同 # uname -r 6.6.88-cbp.git.8c112c479.an23.x86_64 # cat /etc/anolis-release Anolis OS release 23 # ./runltp -f controllers -s cgroup_core02 Running tests....... <<<test_start>>> tag=cgroup_core02 stime=1751610377 cmdline="cgroup_core02" contacts="" analysis=exit <<<test_output>>> incrementing stop tst_test.c:1741: TINFO: LTP version: 20220527-1548-g3a89553af tst_test.c:1625: TINFO: Timeout per run is 0h 00m 30s cgroup_core02.c:82: TFAIL: test_lesser_ns_open failed HINT: You _MAY_ be missing kernel fixes: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e57457641613 HINT: You _MAY_ be vulnerable to CVE(s): https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-4197 Summary: passed 0 failed 1 broken 0 skipped 0 warnings 0 <<<execution_status>>> initiation_status="ok" duration=0 termination_type=exited termination_id=1 corefile=no cutime=0 cstime=0 <<<test_end>>> INFO: ltp-pan reported some tests FAIL LTP Version: 20220527-1548-g3a89553af ############################################################### Done executing testcases. LTP Version: 20220527-1548-g3a89553af ###############################################################
(In reply to gaohongmei from comment #1) > anolis23 x86 6.6.88环境,ltp测试套,cgroup_core02用例报错相同 > > # uname -r > 6.6.88-cbp.git.8c112c479.an23.x86_64 > > # cat /etc/anolis-release > Anolis OS release 23 > > # ./runltp -f controllers -s cgroup_core02 > Running tests....... > <<<test_start>>> > tag=cgroup_core02 stime=1751610377 > cmdline="cgroup_core02" > contacts="" > analysis=exit > <<<test_output>>> > incrementing stop > tst_test.c:1741: TINFO: LTP version: 20220527-1548-g3a89553af > tst_test.c:1625: TINFO: Timeout per run is 0h 00m 30s > cgroup_core02.c:82: TFAIL: test_lesser_ns_open failed > > HINT: You _MAY_ be missing kernel fixes: > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/ > ?id=e57457641613 > > HINT: You _MAY_ be vulnerable to CVE(s): > > https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-4197 > > Summary: > passed 0 > failed 1 > broken 0 > skipped 0 > warnings 0 > <<<execution_status>>> > initiation_status="ok" > duration=0 termination_type=exited termination_id=1 corefile=no > cutime=0 cstime=0 > <<<test_end>>> > INFO: ltp-pan reported some tests FAIL > LTP Version: 20220527-1548-g3a89553af > > ############################################################### > > Done executing testcases. > LTP Version: 20220527-1548-g3a89553af > ############################################################### 更正一下,上面贴错用例 controllers:cgroup测试FAIL <<<test_start>>> tag=cgroup stime=1751563807 cmdline="cgroup_regression_test.sh" contacts="" analysis=exit <<<test_output>>> cgroup_regression_test 1 TINFO: Running: cgroup_regression_test.sh cgroup_regression_test 1 TINFO: timeout per run is 0h 5m 0s cgroup_regression_test 1 TPASS: no kernel bug was found mount: /tmp/ltp-fqn9yUqCN3/LTP_cgroup_regression_test.zGKVEXiaGw/cgroup: cgroup already mounted or mount point busy. dmesg(1) may have more information after failed mount system call. cgroup_regression_test 2 TFAIL: Failed to mount cgroup filesystem cgroup_regression_test 3 TCONF: CONFIG_SCHED_DEBUG is not enabled cgroup_regression_test 4 TCONF: CONFIG_LOCKDEP is not enabled cgroup_regression_test 5 TINFO: The '/tmp/ltp-fqn9yUqCN3/LTP_cgroup_regression_test.zGKVEXiaGw/cgroup' is not mounted, skipping umount cgroup_regression_test 5 TPASS: no kernel bug was found cgroup_regression_test 6 TPASS: no kernel bug was found cgroup_regression_test 7 TPASS: no kernel bug was found for test 1 cgroup_regression_test 7 TCONF: skip rest of testing due possible oops triggered by reading /proc/sched_debug cgroup_regression_test 7 TPASS: no kernel bug was found for test 2 cgroup_regression_test 8 TPASS: no kernel bug was found Summary: passed 6 failed 1 broken 0 skipped 3 warnings 0