查看问题详情
编号 | 项目 | 分类 | 查看权限 | 报告日期 | 最后更新 |
---|---|---|---|---|---|
0000019 | Anolis OS 8 | kernel | public | 2021-03-19 11:26 | 2022-09-23 13:42 |
报告员 | wb-zmy745940 | 分派给 | qingming | ||
优先级 | low | 严重性 | minor | 出现频率 | always |
状态 | assigned | 处理状况 | open | ||
平台 | x86_64 | 操作系统 | Anolis OS | 操作系统版本 | 8 |
产品版本 | 8.2-rc1 | ||||
目标版本 | 8.2 正式版 | ||||
标题 | 0000019: [Anolis 8.2-RC1-4.18-x86]ltp-latest-controllers->memcg_max_usage_in_bytes、memcg_usage_in_bytes测试用例memory文件获取的值和设置的值不一致 | ||||
描述 | [缺陷描述]: memcg_max_usage_in_bytes、memcg_usage_in_bytes测试用例获取的值和设置的值不一致 ostest链接:https://ostest.alibaba-inc.com/test/task_result_data/68170 错误日志如下: <<<test_start>>> tag=memcg_usage_in_bytes stime=1615374221 cmdline="memcg_usage_in_bytes_test.sh" contacts="" analysis=exit <<<test_output>>> incrementing stop memcg_usage_in_bytes_test 1 TINFO: Starting test 1 /lkp/benchmarks/ltp-latest/testcases/bin/memcg_lib.sh: line 522: echo: write error: Device or resource busy memcg_usage_in_bytes_test 1 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed memcg_usage_in_bytes_test 1 TINFO: Running memcg_process --mmap-anon -s 4194304 memcg_usage_in_bytes_test 1 TINFO: Warming up pid: 66801 memcg_usage_in_bytes_test 1 TINFO: Process is still here after warm up: 66801 memcg_usage_in_bytes_test 1 TFAIL: memory.usage_in_bytes is 4325376, 4194304 expected memcg_usage_in_bytes_test 2 TINFO: Starting test 2 /lkp/benchmarks/ltp-latest/testcases/bin/memcg_lib.sh: line 522: echo: write error: Device or resource busy memcg_usage_in_bytes_test 2 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed memcg_usage_in_bytes_test 2 TINFO: Running memcg_process --mmap-anon -s 4194304 memcg_usage_in_bytes_test 2 TINFO: Warming up pid: 66821 memcg_usage_in_bytes_test 2 TINFO: Process is still here after warm up: 66821 memcg_usage_in_bytes_test 2 TFAIL: memory.memsw.usage_in_bytes is 4325376, 4194304 expected <<<execution_status>>> initiation_status="ok" duration=3 termination_type=exited termination_id=1 corefile=no cutime=3 cstime=9 <<<test_end>>> [重现概率] 必现 [重现环境] Host:虚拟机 ,x86 OS:Anolis OS release 8.2 kernel:4.18.0-193.el8.x86_64 # lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 2 Core(s) per socket: 1 Socket(s): 2 NUMA node(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 85 Model name: Intel(R) Xeon(R) Platinum 8269CY CPU @ 2.50GHz Stepping: 7 CPU MHz: 2500.000 BogoMIPS: 5000.00 Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 1024K L3 cache: 36608K NUMA node0 CPU(s): 0-3 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid tsc_known_freq pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti ibrs ibpb stibp fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f avx512dq rdseed adx smap avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves avx512_vnni [重现步骤]: 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_max_usage_in_bytes(或者memcg_max_usage_in_bytes) [期望结果]: 用例PASS [实际结果]: 用例FAIL [原因定位]: 社区有相同问题:https://github.com/linux-test-project/ltp/issues/326 [修复建议]: | ||||
标签 | 8.2GA-210611 | ||||
|
rc2 内核:4.18.0-193.el8.x86_64有同样的问题 |
|
评估对系统功能影响轻微。不影响8.2 GA发布 |
|
Anolis OS 8.4版本 4.18内核有相同问题 # cat /etc/os-release 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/ # uname -r 4.18.0-305.an8.aarch64 |
|
5.10 内核有相同问题 # uname -a Linux l57h15219.sqa.nu8 5.10.60-78.git.4bee3873a.an8.aarch64 #1 SMP Mon Dec 6 13:12:33 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux memcg_max_usage_in_bytes_test 1 TINFO: Starting test 1 /tmp/tone/run/ltp/testcases/bin/memcg_lib.sh: line 522: echo: write error: Device or resource busy memcg_max_usage_in_bytes_test 1 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed memcg_max_usage_in_bytes_test 1 TINFO: Running memcg_process --mmap-anon -s 4194304 memcg_max_usage_in_bytes_test 1 TINFO: Warming up pid: 1675693 memcg_max_usage_in_bytes_test 1 TINFO: Process is still here after warm up: 1675693 memcg_max_usage_in_bytes_test 1 TFAIL: memory.max_usage_in_bytes is 4325376, 4194304 expected memcg_max_usage_in_bytes_test 2 TINFO: Starting test 2 /tmp/tone/run/ltp/testcases/bin/memcg_lib.sh: line 522: echo: write error: Device or resource busy memcg_max_usage_in_bytes_test 2 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed memcg_max_usage_in_bytes_test 2 TINFO: Running memcg_process --mmap-anon -s 4194304 memcg_max_usage_in_bytes_test 2 TINFO: Warming up pid: 1675712 memcg_max_usage_in_bytes_test 2 TINFO: Process is still here after warm up: 1675712 memcg_max_usage_in_bytes_test 2 TFAIL: memory.memsw.max_usage_in_bytes is 4325376, 4194304 expected memcg_max_usage_in_bytes_test 3 TINFO: Starting test 3 /tmp/tone/run/ltp/testcases/bin/memcg_lib.sh: line 522: echo: write error: Device or resource busy memcg_max_usage_in_bytes_test 3 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed memcg_max_usage_in_bytes_test 3 TINFO: Running memcg_process --mmap-anon -s 4194304 memcg_max_usage_in_bytes_test 3 TINFO: Warming up pid: 1675731 memcg_max_usage_in_bytes_test 3 TINFO: Process is still here after warm up: 1675731 memcg_max_usage_in_bytes_test 3 TFAIL: memory.max_usage_in_bytes is 4325376, 4194304 expected memcg_max_usage_in_bytes_test 4 TFAIL: memory.max_usage_in_bytes is 131072, 0 expected memcg_max_usage_in_bytes_test 5 TINFO: Starting test 4 /tmp/tone/run/ltp/testcases/bin/memcg_lib.sh: line 522: echo: write error: Device or resource busy memcg_max_usage_in_bytes_test 5 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed mkdir: cannot create directory ‘/dev/memcg/4’: File exists memcg_max_usage_in_bytes_test 5 TBROK: mkdir /dev/memcg/4 failed |
|
anolis8 4.19 x86_64 debug内核有相同问题 # uname -r 4.19.91-468.git.d4d03de3a.an8.x86_64+debug [root@e69b04341 ~]# cat /etc/os-release NAME="Anolis OS" VERSION="8.6" ID="anolis" ID_LIKE="rhel fedora centos" VERSION_ID="8.6" PLATFORM_ID="platform:an8" PRETTY_NAME="Anolis OS 8.6" ANSI_COLOR="0;31" HOME_URL="https://openanolis.cn/" <<<test_start>>> tag=memcg_usage_in_bytes stime=1663877471 cmdline="memcg_usage_in_bytes_test.sh" contacts="" analysis=exit <<<test_output>>> memcg_usage_in_bytes_test 1 TINFO: Starting test 1 /tmp/tone/run/ltp/testcases/bin/memcg_lib.sh: line 522: echo: write error: Device or resource busy memcg_usage_in_bytes_test 1 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed memcg_usage_in_bytes_test 1 TINFO: Running memcg_process --mmap-anon -s 4194304 memcg_usage_in_bytes_test 1 TINFO: Warming up pid: 633325 memcg_usage_in_bytes_test 1 TINFO: Process is still here after warm up: 633325 memcg_usage_in_bytes_test 1 TFAIL: memory.usage_in_bytes is 4325376, 4194304 expected memcg_usage_in_bytes_test 2 TINFO: Starting test 2 /tmp/tone/run/ltp/testcases/bin/memcg_lib.sh: line 522: echo: write error: Device or resource busy memcg_usage_in_bytes_test 2 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed memcg_usage_in_bytes_test 2 TINFO: Running memcg_process --mmap-anon -s 4194304 memcg_usage_in_bytes_test 2 TINFO: Warming up pid: 633345 memcg_usage_in_bytes_test 2 TINFO: Process is still here after warm up: 633345 memcg_usage_in_bytes_test 2 TFAIL: memory.memsw.usage_in_bytes is 4325376, 4194304 expected <<<execution_status>>> initiation_status="ok" duration=3 termination_type=exited termination_id=1 corefile=no cutime=5 cstime=9 <<<test_end>>> |
日期 | 用户名 | 字段 | 更改 |
---|---|---|---|
2021-03-19 11:26 | wb-zmy745940 | 新建问题 | |
2021-03-19 11:26 | wb-zmy745940 | 状态 | 新建 => 已分配 |
2021-03-19 11:26 | wb-zmy745940 | 分派给 | => geliwei-ali |
2021-03-19 22:44 | swordantcs | 产品版本 | 8.2 正式版 => 8.2-rc1 |
2021-03-19 22:45 | swordantcs | 目标版本 | => 8.2-rc2 |
2021-04-02 03:22 | swordantcs | 分类 | - aliyun-images => (无分类) |
2021-04-02 12:15 | swordantcs | 分类 | (无分类) => kernel |
2021-04-13 15:34 | wb-wpp899309 | 注释已添加: 0000069 | |
2021-04-13 23:06 | jacobwang | 分派给 | geliwei-ali => jacobwang |
2021-04-13 23:06 | jacobwang | 分派给 | jacobwang => qingming |
2021-05-06 11:00 | jacobwang | 优先级 | 中 => 低 |
2021-05-06 11:01 | jacobwang | 目标版本 | 8.2-rc2 => 8.2 正式版 |
2021-05-06 11:14 | jacobwang | 注释已添加: 0000135 | |
2021-06-04 16:24 | cherryliyumei | 添加标签: 8.2GA-210611 | |
2021-07-01 16:50 | yinyongchen | 注释已添加: 0000295 | |
2021-12-08 16:31 | anolis_account | 注释已添加: 0000828 | |
2022-09-23 13:42 | zhixin01 | 注释已添加: 0000902 |