Description of problem: Anolis8] ck-4.19 aarch64 nightly,ltp测试套syscalls/sched_setparam02 run fail Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1.git clone https://gitee.com/anolis/ltp.git --branch anck-4.19 2.cd ltp;export CFLAGS+="-fcommon";make autotools;./configure 3.make && make install 4 cd /opt/ltp;./runltp -f syscalls -s sched_setparam02 Actual results: Running tests....... <<<test_start>>> tag=sched_setparam02 stime=1673839489 cmdline="sched_setparam02" contacts="" analysis=exit <<<test_output>>> incrementing stop tst_test.c:1560: TINFO: Timeout per run is 0h 00m 30s sched_setparam02.c:59: TINFO: Testing libc variant sched_setparam02.c:41: TFAIL: tv->sched_setscheduler(0, tc->policy, &p) failed: EPERM (1) sched_setparam02.c:44: TFAIL: tv->sched_setparam(0, &p) failed: EINVAL (22) sched_setparam02.c:53: TFAIL: unexpected priority value 0, expected 5 sched_setparam02.c:41: TFAIL: tv->sched_setscheduler(0, tc->policy, &p) failed: EPERM (1) sched_setparam02.c:44: TFAIL: tv->sched_setparam(0, &p) failed: EINVAL (22) sched_setparam02.c:53: TFAIL: unexpected priority value 0, expected 5 sched_setparam02.c:50: TPASS: got expected priority 0 sched_setparam02.c:59: TINFO: Testing syscall variant sched_setparam02.c:41: TFAIL: tv->sched_setscheduler(0, tc->policy, &p) failed: EPERM (1) sched_setparam02.c:44: TFAIL: tv->sched_setparam(0, &p) failed: EINVAL (22) sched_setparam02.c:53: TFAIL: unexpected priority value 0, expected 5 sched_setparam02.c:41: TFAIL: tv->sched_setscheduler(0, tc->policy, &p) failed: EPERM (1) sched_setparam02.c:44: TFAIL: tv->sched_setparam(0, &p) failed: EINVAL (22) sched_setparam02.c:53: TFAIL: unexpected priority value 0, expected 5 sched_setparam02.c:50: TPASS: got expected priority 0 Summary: passed 2 failed 12 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: 20220930 ############################################################### Done executing testcases. LTP Version: 20220930 ############################################################### [root@qibo-anolis8-nightly-func-arm-2 ltp]# uname -r 4.19.91-276.git.c452e2d70d27.an8.aarch64 [root@qibo-anolis8-nightly-func-arm-2 ltp]# cat /etc/anolis-release Anolis OS release 8.6 Expected results: case pass Additional info: [root@qibo-anolis8-nightly-func-arm-2 ltp]# uname -r 4.19.91-276.git.c452e2d70d27.an8.aarch64 [root@qibo-anolis8-nightly-func-arm-2 ltp]# cat /etc/anolis-release Anolis OS release 8.6 [root@qibo-anolis8-nightly-func-arm-2 ltp]# df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 7.5G 4.0K 7.5G 1% /dev tmpfs 7.5G 0 7.5G 0% /dev/shm tmpfs 7.5G 812K 7.5G 1% /run tmpfs 7.5G 0 7.5G 0% /sys/fs/cgroup /dev/vda2 39G 27G 11G 73% / /dev/vda1 500M 6.8M 494M 2% /boot/efi tmpfs 1.5G 0 1.5G 0% /run/user/0 [root@qibo-anolis8-nightly-func-arm-2 ltp]# free -g total used free shared buff/cache available Mem: 14 0 11 0 2 14 Swap: 0 0 0 [root@qibo-anolis8-nightly-func-arm-2 ltp]# lscpu Architecture: aarch64 Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 1 Core(s) per cluster: 4 Socket(s): 1 Cluster(s): 1 NUMA node(s): 1 Vendor ID: ARM BIOS Vendor ID: Alibaba Cloud Model: 1 Model name: Neoverse-N1 BIOS Model name: virt-rhel7.6.0 Stepping: r3p1 BogoMIPS: 50.00 NUMA node0 CPU(s): 0-3 Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp ssbs [root@qibo-anolis8-nightly-func-arm-2 ltp]# cat /proc/cmdline BOOT_IMAGE=(hd0,gpt2)/boot/vmlinuz-4.19.91-276.git.c452e2d70d27.an8.aarch64 root=UUID=69f901e7-05b1-40ca-bff0-947d6f410fe7 ro cryptomgr.notests cgroup.memory=nokmem rcupdate.rcu_cpu_stall_timeout=300 vring_force_dma_api rhgb quiet console=tty0 biosdevname=0 net.ifnames=0 console=ttyAMA0,115200n8 noibrs nvme_core.io_timeout=4294967295 nvme_core.admin_timeout=4294967295 crashkernel=0M-2G:0M,2G-8G:192M,8G-:256M
syscalls/sched_getscheduler01有相似的问题 ---------------- <<<test_start>>> tag=sched_getscheduler01 stime=1673857364 cmdline="sched_getscheduler01" contacts="" analysis=exit <<<test_output>>> incrementing stop tst_test.c:1560: TINFO: Timeout per run is 0h 00m 30s sched_getscheduler01.c:58: TINFO: Testing libc variant sched_getscheduler01.c:44: TFAIL: tv->sched_setscheduler(0, tc->policy, &p) failed: EPERM (1) sched_getscheduler01.c:51: TPASS: got expected policy 0 sched_getscheduler01.c:44: TFAIL: tv->sched_setscheduler(0, tc->policy, &p) failed: EPERM (1) sched_getscheduler01.c:58: TINFO: Testing syscall variant sched_getscheduler01.c:44: TFAIL: tv->sched_setscheduler(0, tc->policy, &p) failed: EPERM (1) sched_getscheduler01.c:51: TPASS: got expected policy 0 sched_getscheduler01.c:44: TFAIL: tv->sched_setscheduler(0, tc->policy, &p) failed: EPERM (1) Summary: passed 2 failed 4 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: 20220930 ############################################################### Done executing testcases. LTP Version: 20220930 ############################################################### [root@qibo-anolis8-nightly-func-arm-2 ltp]# ./runltp -f syscalls -s sched_getscheduler01
Anolis23 x86 ECS环境,kernel-5.10 nightly测试,ltp的该case:syscalls/ sched_setparam02,syscalls/sched_getscheduler01也存在类似问题 ------------------------------ Running tests....... <<<test_start>>> tag=sched_setparam02 stime=1678186558 cmdline="sched_setparam02" contacts="" analysis=exit <<<test_output>>> incrementing stop tst_test.c:1545: TINFO: Timeout per run is 0h 00m 30s sched_setparam02.c:59: TINFO: Testing libc variant sched_setparam02.c:41: TFAIL: tv->sched_setscheduler(0, tc->policy, &p) failed: EPERM (1) sched_setparam02.c:44: TFAIL: tv->sched_setparam(0, &p) failed: EINVAL (22) sched_setparam02.c:52: TFAIL: unexpected priority value 0, expected 5 sched_setparam02.c:41: TFAIL: tv->sched_setscheduler(0, tc->policy, &p) failed: EPERM (1) sched_setparam02.c:44: TFAIL: tv->sched_setparam(0, &p) failed: EINVAL (22) sched_setparam02.c:52: TFAIL: unexpected priority value 0, expected 5 sched_setparam02.c:50: TPASS: got expected priority 0 sched_setparam02.c:59: TINFO: Testing syscall variant sched_setparam02.c:41: TFAIL: tv->sched_setscheduler(0, tc->policy, &p) failed: EPERM (1) sched_setparam02.c:44: TFAIL: tv->sched_setparam(0, &p) failed: EINVAL (22) sched_setparam02.c:52: TFAIL: unexpected priority value 0, expected 5 sched_setparam02.c:41: TFAIL: tv->sched_setscheduler(0, tc->policy, &p) failed: EPERM (1) sched_setparam02.c:44: TFAIL: tv->sched_setparam(0, &p) failed: EINVAL (22) sched_setparam02.c:52: TFAIL: unexpected priority value 0, expected 5 sched_setparam02.c:50: TPASS: got expected priority 0 Summary: passed 2 failed 12 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-42-g5381220a4 ############################################################### Done executing testcases. LTP Version: 20220527-42-g5381220a4 ############################################################### [root@qibo-anck14-an23-milan-tmp ltp]# uname -r 5.10.134-38.git.600961b9c9d4.an23.x86_64 [root@qibo-anck14-an23-milan-tmp ltp]# cat /etc/anolis-release Anolis OS release 23 ------------------------- Running tests....... <<<test_start>>> tag=sched_getscheduler01 stime=1678186648 cmdline="sched_getscheduler01" contacts="" analysis=exit <<<test_output>>> incrementing stop tst_test.c:1545: TINFO: Timeout per run is 0h 00m 30s sched_getscheduler01.c:58: TINFO: Testing libc variant sched_getscheduler01.c:44: TFAIL: tv->sched_setscheduler(0, tc->policy, &p) failed: EPERM (1) sched_getscheduler01.c:51: TPASS: got expected policy 0 sched_getscheduler01.c:44: TFAIL: tv->sched_setscheduler(0, tc->policy, &p) failed: EPERM (1) sched_getscheduler01.c:58: TINFO: Testing syscall variant sched_getscheduler01.c:44: TFAIL: tv->sched_setscheduler(0, tc->policy, &p) failed: EPERM (1) sched_getscheduler01.c:51: TPASS: got expected policy 0 sched_getscheduler01.c:44: TFAIL: tv->sched_setscheduler(0, tc->policy, &p) failed: EPERM (1) Summary: passed 2 failed 4 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-42-g5381220a4 ############################################################### Done executing testcases. LTP Version: 20220527-42-g5381220a4 ############################################################### [root@qibo-anck14-an23-milan-tmp ltp]# uname -r 5.10.134-38.git.600961b9c9d4.an23.x86_64 [root@qibo-anck14-an23-milan-tmp ltp]# cat /etc/anolis-release Anolis OS release 23
anolis23 x86 6.6.88环境,nightly测试,ltp的该case:syscalls/ sched_setparam02,syscalls/sched_getscheduler01也存在类似问题 # uname -r 6.6.88-cbp.git.8c112c479.an23.x86_64 # cat /etc/anolis-release Anolis OS release 23 # ./runltp -f syscalls -s sched_setparam02 Running tests....... <<<test_start>>> tag=sched_setparam02 stime=1751522334 cmdline="sched_setparam02" 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 sched_setparam02.c:59: TINFO: Testing libc variant sched_setparam02.c:41: TFAIL: tv->sched_setscheduler(0, tc->policy, &p) failed: EPERM (1) sched_setparam02.c:44: TFAIL: tv->sched_setparam(0, &p) failed: EINVAL (22) sched_setparam02.c:52: TFAIL: unexpected priority value 0, expected 5 sched_setparam02.c:41: TFAIL: tv->sched_setscheduler(0, tc->policy, &p) failed: EPERM (1) sched_setparam02.c:44: TFAIL: tv->sched_setparam(0, &p) failed: EINVAL (22) sched_setparam02.c:52: TFAIL: unexpected priority value 0, expected 5 sched_setparam02.c:50: TPASS: got expected priority 0 sched_setparam02.c:59: TINFO: Testing syscall variant sched_setparam02.c:41: TFAIL: tv->sched_setscheduler(0, tc->policy, &p) failed: EPERM (1) sched_setparam02.c:44: TFAIL: tv->sched_setparam(0, &p) failed: EINVAL (22) sched_setparam02.c:52: TFAIL: unexpected priority value 0, expected 5 sched_setparam02.c:41: TFAIL: tv->sched_setscheduler(0, tc->policy, &p) failed: EPERM (1) sched_setparam02.c:44: TFAIL: tv->sched_setparam(0, &p) failed: EINVAL (22) sched_setparam02.c:52: TFAIL: unexpected priority value 0, expected 5 sched_setparam02.c:50: TPASS: got expected priority 0 Summary: passed 2 failed 12 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 ############################################################### # ./runltp -f syscalls -s sched_getscheduler01 Running tests....... <<<test_start>>> tag=sched_getscheduler01 stime=1751522372 cmdline="sched_getscheduler01" 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 sched_getscheduler01.c:58: TINFO: Testing libc variant sched_getscheduler01.c:44: TFAIL: tv->sched_setscheduler(0, tc->policy, &p) failed: EPERM (1) sched_getscheduler01.c:51: TPASS: got expected policy 0 sched_getscheduler01.c:44: TFAIL: tv->sched_setscheduler(0, tc->policy, &p) failed: EPERM (1) sched_getscheduler01.c:58: TINFO: Testing syscall variant sched_getscheduler01.c:44: TFAIL: tv->sched_setscheduler(0, tc->policy, &p) failed: EPERM (1) sched_getscheduler01.c:51: TPASS: got expected policy 0 sched_getscheduler01.c:44: TFAIL: tv->sched_setscheduler(0, tc->policy, &p) failed: EPERM (1) Summary: passed 2 failed 4 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 ###############################################################