Bug 4185 - [Anolis8.8 4.19 aarch64][内部nightly]alitests测试套中test_iocost_cgroup_001与test_iocost_cgroup_002失败
Summary: [Anolis8.8 4.19 aarch64][内部nightly]alitests测试套中test_iocost_cgroup_001与test_io...
Status: NEW
Alias: None
Product: Anolis OS 8
Classification: Anolis OS
Component: kernel - anck-4.19 (show other bugs) kernel - anck-4.19
Version: 8.8
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: Jacob
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-22 16:57 UTC by anolislw
Modified: 2023-02-22 17:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description anolislw alibaba_cloud_group 2023-02-22 16:57:12 UTC
Description of problem:
Anolis8.8 aarch64环境下,内部nightly alitests测试套中test_iocost_cgroup_001与test_iocost_cgroup_002失败

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. 下载内部alitests代码,并编译安装
2. ./runltp -f alitests -s test_iocost_cgroup_001
3. ./runltp -f alitests -s test_iocost_cgroup_002

Actual results:
Running tests.......
<<<test_start>>>
tag=test_iocost_cgroup_001 stime=1677056169
cmdline="test_iocost_cgroup_001.sh"
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop
TMPDIR: /tmp/ltp-hIYC3clHAd
sda           8:0    1 223.6G  0 disk
├─sda1        8:1    1     1G  0 part /boot/efi
├─sda2        8:2    1    50G  0 part /
├─sda3        8:3    1     2G  0 part [SWAP]
└─sda4        8:4    1 170.6G  0 part
disk sda, dev 8:0
Repository 'BaseOS' is missing name in configuration, using id.
Last metadata expiration check: 1 day, 2:07:16 ago on Tue 21 Feb 2023 02:48:54 PM CST.
Package libcgroup-tools-0.41-19.el8.aarch64 is already installed.
Package fio-3.27-8.0.1.an8.aarch64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
Avail_Size: 27684300
1039668
/tmp/tone/run/alitests/testcases/bin/test_iocost_cgroup_001.sh: line 47: [: too many arguments
=================== Enable Controller ============================
=================== Set Weight ====================================
Engine libaio not found; Either name is invalid, was not built, or fio-engine-libaio package is missing.
fio: engine libaio not loadable
fio: failed to load engine
fio: file:ioengines.c:127, func=dlopen, error=/usr/lib64/fio/fio-libaio.so: cannot open shared object file: No such file or director
Engine libaio not found; Either name is invalid, was not built, or fio-engine-libaio package is missing.
fio: engine libaio not loadable
fio: failed to load engine
fio: file:ioengines.c:127, func=dlopen, error=/usr/lib64/fio/fio-libaio.so: cannot open shared object file: No such file or director
Engine libaio not found; Either name is invalid, was not built, or fio-engine-libaio package is missing.
fio: engine libaio not loadable
fio: failed to load engine
fio: file:ioengines.c:127, func=dlopen, error=/usr/lib64/fio/fio-libaio.so: cannot open shared object file: No such file or director
Engine libaio not found; Either name is invalid, was not built, or fio-engine-libaio package is missing.
fio: engine libaio not loadable
fio: failed to load engine
fio: file:ioengines.c:127, func=dlopen, error=/usr/lib64/fio/fio-libaio.so: cannot open shared object file: No such file or director
=============== Calculate the Bandwidth ===========================
cat: fiotest_iocost_high_0.log: No such file or directory
/tmp/tone/run/alitests/testcases/bin/test_iocost_cgroup_lib.sh: line 52: [: B/s: unary operator expected
(standard_in) 2: syntax error
cat: fiotest_iocost_high_1.log: No such file or directory
/tmp/tone/run/alitests/testcases/bin/test_iocost_cgroup_lib.sh: line 52: [: B/s: unary operator expected
(standard_in) 1: syntax error
cat: fiotest_iocost_low_0.log: No such file or directory
/tmp/tone/run/alitests/testcases/bin/test_iocost_cgroup_lib.sh: line 52: [: B/s: unary operator expected
(standard_in) 2: syntax error
cat: fiotest_iocost_low_1.log: No such file or directory
/tmp/tone/run/alitests/testcases/bin/test_iocost_cgroup_lib.sh: line 52: [: B/s: unary operator expected
(standard_in) 1: syntax error
iocost_high bandwidth =
iocost_low  bandwidth =
(standard_in) 1: syntax error
/tmp/tone/run/alitests/testcases/bin/test_iocost_cgroup_001.sh: line 95: [: =: unary operator expected
test_iocost_cgroup_001 1 TFAIL: test fail, high priority cgroup should share the higher share

Summary:
passed   0
failed   1
skipped  0
warnings 0
<<<execution_status>>>
initiation_status="ok"
duration=1 termination_type=exited termination_id=1 corefile=no
cutime=133 cstime=26
<<<test_end>>>
INFO: ltp-pan reported some tests FAIL
LTP Version: 20180515

       ###############################################################

            Done executing testcases.
            LTP Version:  20180515
       ###############################################################

RUNLTP_END
[root@nu4f13168 alitests]# ./runltp -f alitests -s test_iocost_cgroup_001


Expected results:
case pass

Additional info:
[root@nu4f13168 alitests]# cat /etc/anolis-release
Anolis OS release 8.8
[root@nu4f13168 alitests]# uname -a
Linux nu4f13168.sqa.nu8 4.19.91-639.git.89caf8122.an8.aarch64 #1 SMP Tue Feb 21 13:55:44 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
[root@nu4f13168 alitests]# df -h
Filesystem      Size  Used Avail Use% Mounted on
devtmpfs        378G     0  378G   0% /dev
tmpfs           378G     0  378G   0% /dev/shm
tmpfs           378G  4.2G  374G   2% /run
tmpfs           378G     0  378G   0% /sys/fs/cgroup
/dev/sda2        49G   20G   27G  43% /
/dev/sda1      1022M  6.7M 1016M   1% /boot/efi
tmpfs            76G     0   76G   0% /run/user/0
[root@nu4f13168 alitests]# free -g
              total        used        free      shared  buff/cache   available
Mem:            755           4         745           4           6         743
Swap:             1           0           1
[root@nu4f13168 alitests]# cat /proc/cmdline
BOOT_IMAGE=(hd1,gpt2)/boot/vmlinuz-4.19.91-639.git.89caf8122.an8.aarch64 root=UUID=2dec67aa-7f46-4f02-95db-fdf9c870fed6 ro console=tty0 console=ttyS0,115200 rd.driver.pre=ahci slub_debug=FPZU kmemleak=on crashkernel=0M-2G:0M,2G-8G:192M,8G-:256M
[root@nu4f13168 alitests]# lscpu
Architecture:        aarch64
Byte Order:          Little Endian
CPU(s):              96
On-line CPU(s) list: 0-95
Thread(s) per core:  1
Core(s) per socket:  48
Socket(s):           2
NUMA node(s):        1
Vendor ID:           HiSilicon
BIOS Vendor ID:      HiSilicon
Model:               0
Model name:          Kunpeng-920
BIOS Model name:     HUAWEI Kunpeng 920 5250
Stepping:            0x1
CPU MHz:             2600.000
CPU max MHz:         2600.0000
CPU min MHz:         200.0000
BogoMIPS:            200.00
L1d cache:           64K
L1i cache:           64K
L2 cache:            512K
L3 cache:            24576K
NUMA node0 CPU(s):   0-95
Flags:               fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma dcpop asimddp asimdfhm
[root@nu4f13168 alitests]#