openeuler-riscv / oerv-team

OERV 实习生工作中心
6 stars 35 forks source link

LTP: 调研sched_getscheduler01失败问题 #775

Open laokz opened 2 months ago

laokz commented 2 months ago

https://github.com/openEuler-RISCV/QA/tree/main/testreport/24.03/round1/performance-test/ltp_function

<<<test_start>>>
tag=sched_getscheduler01 stime=1714359195
cmdline="sched_getscheduler01"
contacts=""
analysis=exit
<<<test_output>>>
tst_test.c:1709: TINFO: LTP version: v2023.12.28-23-g951e1376b
tst_test.c:1593: 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)
laokz commented 1 month ago

复测通过(用root权限),测试环境同irqbalance

<<<test_start>>>      
tag=sched_getscheduler01 stime=1716192497                                                       
cmdline="sched_getscheduler01"
contacts=""   
analysis=exit                        
<<<test_output>>>                   
incrementing stop
tst_test.c:1730: TINFO: LTP version: 20240129-279-ge644691d3          
tst_test.c:1614: TINFO: Timeout per run is 0h 00m 30s
sched_getscheduler01.c:58: TINFO: Testing libc variant
sched_getscheduler01.c:51: TPASS: got expected policy 2
sched_getscheduler01.c:51: TPASS: got expected policy 0               
sched_getscheduler01.c:51: TPASS: got expected policy 1
sched_getscheduler01.c:58: TINFO: Testing syscall variant
sched_getscheduler01.c:51: TPASS: got expected policy 2
sched_getscheduler01.c:51: TPASS: got expected policy 0
sched_getscheduler01.c:51: TPASS: got expected policy 1

Summary:
passed   6
failed   0
broken   0
skipped  0
warnings 0