查看问题详情
编号 | 项目 | 分类 | 查看权限 | 报告日期 | 最后更新 |
---|---|---|---|---|---|
0000186 | Anolis OS 8 | kernel | public | 2021-07-01 19:09 | 2021-07-04 14:02 |
报告员 | wb-wpp899309 | 分派给 | geliwei-ali | ||
优先级 | normal | 严重性 | minor | 出现频率 | always |
状态 | assigned | 处理状况 | open | ||
平台 | Anolis OS | 操作系统 | x86_64 | 操作系统版本 | 8.4 |
标题 | 0000186: [Anolis 8.4-4.18-x86]ltp-latest-controllers->memcg_stat测试用例hierarchical_memory_limit实际结果与预期不符 | ||||
描述 | 缺陷描述]: 从memory.stat中读取到的hierarchical_memory_limit值与预期不符 错误日志如下: <<<test_start>>> tag=memcg_stat stime=1625136715 cmdline="memcg_stat_test.sh" contacts="" analysis=exit <<<test_output>>> incrementing stop 1111111111111111114096 memcg_stat_test 1 TINFO: Starting test 1 /tmp/tone/run/ltp/testcases/bin/memcg_lib.sh: line 523: echo: write error: Device or resource busy memcg_stat_test 1 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed memcg_stat_test 1 TINFO: Running memcg_process --shm -k 3 -s 135168 memcg_stat_test 1 TINFO: Warming up pid: 55761 memcg_stat_test 1 TINFO: Process is still here after warm up: 55761 memcg_stat_test 1 TPASS: cache is 135168 as expected memcg_stat_test 2 TINFO: Starting test 2 /tmp/tone/run/ltp/testcases/bin/memcg_lib.sh: line 523: echo: write error: Device or resource busy memcg_stat_test 2 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed memcg_stat_test 2 TINFO: Running memcg_process --mmap-file -s 135168 memcg_stat_test 2 TINFO: Warming up pid: 55781 memcg_stat_test 2 TINFO: Process is still here after warm up: 55781 memcg_stat_test 2 TPASS: mapped_file is 135168 as expected memcg_stat_test 3 TINFO: Starting test 3 /tmp/tone/run/ltp/testcases/bin/memcg_lib.sh: line 523: echo: write error: Device or resource busy memcg_stat_test 3 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed memcg_stat_test 3 TINFO: Running memcg_process --mmap-lock1 -s 135168 memcg_stat_test 3 TINFO: Warming up pid: 55801 memcg_stat_test 3 TINFO: Process is still here after warm up: 55801 memcg_stat_test 3 TPASS: unevictable is 135168 as expected memcg_stat_test 4 TINFO: Starting test 4 /tmp/tone/run/ltp/testcases/bin/memcg_lib.sh: line 523: echo: write error: Device or resource busy memcg_stat_test 4 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed memcg_stat_test 4 TINFO: Running memcg_process --mmap-lock2 -s 135168 memcg_stat_test 4 TINFO: Warming up pid: 55822 memcg_stat_test 4 TINFO: Process is still here after warm up: 55822 memcg_stat_test 4 TPASS: unevictable is 135168 as expected memcg_stat_test 5 TINFO: Starting test 5 /tmp/tone/run/ltp/testcases/bin/memcg_lib.sh: line 523: echo: write error: Device or resource busy memcg_stat_test 5 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed /tmp/tone/run/ltp/testcases/bin/memcg_stat_test.sh: line 68: echo: write error: Device or resource busy memcg_stat_test 5 TFAIL: hierarchical_memory_limit is 8192, 4096 expected memcg_stat_test 6 TINFO: Starting test 6 /tmp/tone/run/ltp/testcases/bin/memcg_lib.sh: line 523: echo: write error: Device or resource busy memcg_stat_test 6 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed /tmp/tone/run/ltp/testcases/bin/memcg_stat_test.sh: line 81: echo: write error: Invalid argument memcg_stat_test 6 TCONF: set use_hierarchy = 0 failed, blame systemd, skip memcg_stat_test 7 TINFO: Starting test 7 /tmp/tone/run/ltp/testcases/bin/memcg_lib.sh: line 523: echo: write error: Device or resource busy memcg_stat_test 7 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed /tmp/tone/run/ltp/testcases/bin/memcg_stat_test.sh: line 109: echo: write error: Device or resource busy /tmp/tone/run/ltp/testcases/bin/memcg_stat_test.sh: line 110: echo: write error: Invalid argument memcg_stat_test 7 TFAIL: hierarchical_memsw_limit is 8192, 4096 expected memcg_stat_test 8 TINFO: Starting test 8 /tmp/tone/run/ltp/testcases/bin/memcg_lib.sh: line 523: echo: write error: Device or resource busy memcg_stat_test 8 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed /tmp/tone/run/ltp/testcases/bin/memcg_stat_test.sh: line 129: echo: write error: Invalid argument memcg_stat_test 8 TCONF: set use_hierarchy = 0 failed, blame systemd, skip <<<execution_status>>> initiation_status="ok" duration=4 termination_type=exited termination_id=33 corefile=no cutime=10 cstime=15 <<<test_end>>> INFO: ltp-pan reported some tests FAIL LTP Version: 20190517 ############################################################### Done executing testcases. LTP Version: 20190517 ############################################################### [重现概率] 必现 [重现环境] Host:虚拟机 ,x86_64 OS: NAME="Anolis OS" VERSION="8.4" ID="anolis" ID_LIKE="rhel fedora centos" VERSION_ID="8.4" PLATFORM_ID="platform:an8" PRETTY_NAME="Anolis OS 8.4" ANSI_COLOR="0;31" HOME_URL="https://openanolis.cn/" kernel: # uname -r 4.18.0-305.an8.x86_64 [期望结果]: 用例PASS [实际结果]: 用例FAIL [初步分析]: echo 1 > memory.use_hierarchy mkdir subgroup echo 4096 > memory.limit_in_bytes echo 8192 > subgroup/memory.limit_in_bytes cd subgroup 执行以上命令后,通过memory.stat中读取到的hierarchical_memory_limit的值,预期是4096,读取的值为8192 check_mem_stat "hierarchical_memory_limit" 4096 | ||||
问题重现步骤 | git clone http://gitlab-sp.alibaba-inc.com/AKTF/ltp-latest.git ===>输入用户名/密码 make autotools ./configure make && make install /opt/ltp/runltp -f controllers -s memcg_stat | ||||
标签 | 没加标签. | ||||
日期 | 用户名 | 字段 | 更改 |
---|---|---|---|
2021-07-01 19:09 | wb-wpp899309 | 新建问题 | |
2021-07-04 14:02 | jacobwang | 分派给 | => geliwei-ali |
2021-07-04 14:02 | jacobwang | 状态 | 新建 => 已分配 |