Bug 3729 - [Anolis8][ck-4.19][aarch64][nightly] ltp测试套syscalls/sched_setparam03报错sched_setparam03.c:52: TBROK: sched_setcheduler(0, SCHED_FIFO, 1): EPERM (1)
Summary: [Anolis8][ck-4.19][aarch64][nightly] ltp测试套syscalls/sched_setparam03报错sched_s...
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.6
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: shuancue
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-12 17:14 UTC by anolislw
Modified: 2025-07-03 14:04 UTC (History)
1 user (show)

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-01-12 17:14:04 UTC
Description of problem:
Anolis8] ck-4.19 aarch64 nightly,ltp测试套yscalls/sched_setparam03报错sched_setparam03.c:52: TBROK: sched_setcheduler(0, SCHED_FIFO, 1): EPERM (1)

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_setparam03

Actual results:
<<<test_start>>>
tag=sched_setparam03 stime=1673514769
cmdline="sched_setparam03"
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop
tst_test.c:1560: TINFO: Timeout per run is 0h 00m 30s
sched_setparam03.c:49: TINFO: Testing libc variant
sched_setparam03.c:52: TBROK: sched_setcheduler(0, SCHED_FIFO, 1): EPERM (1)

Summary:
passed   0
failed   0
broken   1
skipped  0
warnings 0
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=2 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_setparam03


Expected results:
case pass

Additional info:
[root@qibo-anolis8-nightly-func-arm-2 ltp]# uname -r
4.19.91-272.git.c452e2d70d27.an8.aarch64
[root@qibo-anolis8-nightly-func-arm-2 ltp]# cat /etc/redhat-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  804K  7.5G   1% /run
tmpfs           7.5G     0  7.5G   0% /sys/fs/cgroup
/dev/vda2        39G   36G  1.8G  96% /
/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]# cat /proc/cmdline
BOOT_IMAGE=(hd0,gpt2)/boot/vmlinuz-4.19.91-272.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
[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]#
Comment 1 anolislw alibaba_cloud_group 2023-03-07 19:03:30 UTC
Anolis23 x86 ECS环境,kernel-5.10 nightly测试,ltp的该case:syscalls/sched_setparam03也存在类似问题
-------------------
Running tests.......
<<<test_start>>>
tag=sched_setparam03 stime=1678186817
cmdline="sched_setparam03"
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop
tst_test.c:1545: TINFO: Timeout per run is 0h 00m 30s
sched_setparam03.c:49: TINFO: Testing libc variant
sched_setparam03.c:52: TBROK: sched_setcheduler(0, SCHED_FIFO, 1): EPERM (1)

Summary:
passed   0
failed   0
broken   1
skipped  0
warnings 0
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=2 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]# cat /etc/anolis-release
Anolis OS release 23
[root@qibo-anck14-an23-milan-tmp ltp]# uname -r
5.10.134-38.git.600961b9c9d4.an23.x86_64
Comment 2 gaohongmei 2025-07-03 14:04:56 UTC
anolis23 x86 6.6.88环境,nightly测试,ltp的该case:syscalls/sched_setparam03 也存在类似问题

# uname -r
6.6.88-cbp.git.8c112c479.an23.x86_64
# cat /etc/anolis-release 
Anolis OS release 23

# ./runltp  -f syscalls -s sched_setparam03
Running tests.......
<<<test_start>>>
tag=sched_setparam03 stime=1751522603
cmdline="sched_setparam03"
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_setparam03.c:49: TINFO: Testing libc variant
sched_setparam03.c:52: TBROK: sched_setscheduler(0, SCHED_FIFO, 1): EPERM (1)

Summary:
passed   0
failed   0
broken   1
skipped  0
warnings 0
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=2 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
       ###############################################################