Hay
Date
June 17, 2025, 3:39 p.m.
<8>[  415.313944] <LAVA_SIGNAL_STARTTC sched_getscheduler01>
tst_test.c:1953: TINFO: LTP version: 20250530
tst_test.c:1956: TINFO: Tested kernel: 6.6.94-rc1 #1 SMP @1750177261 riscv64
tst_kconfig.c:88: TINFO: Parsing kernel config '/proc/config.gz'
tst_kconfig.c:676: TINFO: CONFIG_DEBUG_SPINLOCK kernel option detected which might slow the execution
tst_test.c:1774: TINFO: Overall timeout per run is 0h 21m 36s
sched_getscheduler01.c:56: TINFO: Testing libc variant
sched_getscheduler01.c:42: TFAIL: tv->sched_setscheduler(0, tc->policy, &p) failed: EPERM (1)
sched_getscheduler01.c:49: TPASS: got expected policy 0
sched_getscheduler01.c:42: TFAIL: tv->sched_setscheduler(0, tc->policy, &p) failed: EPERM (1)
sched_getscheduler01.c:56: TINFO: Testing syscall variant
sched_getscheduler01.c:42: TFAIL: tv->sched_setscheduler(0, tc->policy, &p) failed: EPERM (1)
sched_getscheduler01.c:49: TPASS: got expected policy 0
sched_getscheduler01.c:42: TFAIL: tv->sched_setscheduler(0, tc->policy, &p) failed: EPERM (1)

Summary:
passed   2
failed   4
broken   0
skipped  0
warnings 0

<8>[  415.346086] <LAVA_SIGNAL_ENDTC sched_getscheduler01>
sched_getscheduler01 sched_getscheduler01
sched_getscheduler01: <12>[  374.769356] /usr/local/bin/kirk[290]: sched_getscheduler01: start (command: sched_getscheduler01)
sched_getscheduler01.c:56: TINFO: Testing libc variant
sched_getscheduler01.c:42: TFAIL: tv->sched_setscheduler(0, tc->policy, &p) failed: EPERM (1)
sched_getscheduler01.c:49: TPASS: got expected policy 0
sched_getscheduler01.c:42: TFAIL: tv->sched_setscheduler(0, tc->policy, &p) failed: EPERM (1)
sched_getscheduler01.c:56: TINFO: Testing syscall variant
sched_getscheduler01.c:42: TFAIL: tv->sched_setscheduler(0, tc->policy, &p) failed: EPERM (1)
sched_getscheduler01.c:49: TPASS: got expected policy 0
sched_getscheduler01.c:42: TFAIL: tv->sched_setscheduler(0, tc->policy, &p) failed: EPERM (1)
<8>[  414.970945] <LAVA_SIGNAL_STARTTC sched_setparam03>
tst_test.c:1953: TINFO: LTP version: 20250530
tst_test.c:1956: TINFO: Tested kernel: 6.6.94-rc1 #1 SMP @1750177261 riscv64
tst_kconfig.c:88: TINFO: Parsing kernel config '/proc/config.gz'
tst_kconfig.c:676: TINFO: CONFIG_DEBUG_SPINLOCK kernel option detected which might slow the execution
tst_test.c:1774: TINFO: Overall timeout per run is 0h 21m 36s
sched_setparam03.c:47: TINFO: Testing libc variant
sched_setparam03.c:50: TBROK: sched_setscheduler(0, SCHED_FIFO, 1): EPERM (1)

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

<8>[  415.000705] <LAVA_SIGNAL_ENDTC sched_setparam03>
sched_setparam03 sched_setparam03
sched_setparam03: <12>[  373.069012] /usr/local/bin/kirk[290]: sched_setparam03: start (command: sched_setparam03)
sched_setparam03.c:47: TINFO: Testing libc variant
sched_setparam03.c:50: TBROK: sched_setscheduler(0, SCHED_FIFO, 1): EPERM (1)
<8>[  414.831378] <LAVA_SIGNAL_STARTTC sched_setparam02>
tst_test.c:1953: TINFO: LTP version: 20250530
tst_test.c:1956: TINFO: Tested kernel: 6.6.94-rc1 #1 SMP @1750177261 riscv64
tst_kconfig.c:88: TINFO: Parsing kernel config '/proc/config.gz'
tst_kconfig.c:676: TINFO: CONFIG_DEBUG_SPINLOCK kernel option detected which might slow the execution
tst_test.c:1774: TINFO: Overall timeout per run is 0h 21m 36s
sched_setparam02.c:57: TINFO: Testing libc variant
sched_setparam02.c:39: TFAIL: tv->sched_setscheduler(0, tc->policy, &p) failed: EPERM (1)
sched_setparam02.c:42: TFAIL: tv->sched_setparam(0, &p) failed: EINVAL (22)
sched_setparam02.c:50: TFAIL: unexpected priority value 0, expected 5
sched_setparam02.c:39: TFAIL: tv->sched_setscheduler(0, tc->policy, &p) failed: EPERM (1)
sched_setparam02.c:42: TFAIL: tv->sched_setparam(0, &p) failed: EINVAL (22)
sched_setparam02.c:50: TFAIL: unexpected priority value 0, expected 5
sched_setparam02.c:48: TPASS: got expected priority 0
sched_setparam02.c:57: TINFO: Testing syscall variant
sched_setparam02.c:39: TFAIL: tv->sched_setscheduler(0, tc->policy, &p) failed: EPERM (1)
sched_setparam02.c:42: TFAIL: tv->sched_setparam(0, &p) failed: EINVAL (22)
sched_setparam02.c:50: TFAIL: unexpected priority value 0, expected 5
sched_setparam02.c:39: TFAIL: tv->sched_setscheduler(0, tc->policy, &p) failed: EPERM (1)
sched_setparam02.c:42: TFAIL: tv->sched_setparam(0, &p) failed: EINVAL (22)
sched_setparam02.c:50: TFAIL: unexpected priority value 0, expected 5
sched_setparam02.c:48: TPASS: got expected priority 0

Summary:
passed   2
failed   12
broken   0
skipped  0
warnings 0

<8>[  414.866293] <LAVA_SIGNAL_ENDTC sched_setparam02>
sched_setparam02 sched_setparam02
sched_setparam02: <12>[  372.515249] /usr/local/bin/kirk[290]: sched_setparam02: start (command: sched_setparam02)
sched_setparam02.c:57: TINFO: Testing libc variant
sched_setparam02.c:39: TFAIL: tv->sched_setscheduler(0, tc->policy, &p) failed: EPERM (1)
sched_setparam02.c:42: TFAIL: tv->sched_setparam(0, &p) failed: EINVAL (22)
sched_setparam02.c:50: TFAIL: unexpected priority value 0, expected 5
sched_setparam02.c:39: TFAIL: tv->sched_setscheduler(0, tc->policy, &p) failed: EPERM (1)
sched_setparam02.c:42: TFAIL: tv->sched_setparam(0, &p) failed: EINVAL (22)
sched_setparam02.c:50: TFAIL: unexpected priority value 0, expected 5
sched_setparam02.c:48: TPASS: got expected priority 0
sched_setparam02.c:57: TINFO: Testing syscall variant
sched_setparam02.c:39: TFAIL: tv->sched_setscheduler(0, tc->policy, &p) failed: EPERM (1)
sched_setparam02.c:42: TFAIL: tv->sched_setparam(0, &p) failed: EINVAL (22)
sched_setparam02.c:50: TFAIL: unexpected priority value 0, expected 5
sched_setparam02.c:39: TFAIL: tv->sched_setscheduler(0, tc->policy, &p) failed: EPERM (1)
sched_setparam02.c:42: TFAIL: tv->sched_setparam(0, &p) failed: EINVAL (22)
sched_setparam02.c:50: TFAIL: unexpected priority value 0, expected 5
sched_setparam02.c:48: TPASS: got expected priority 0
<8>[  414.590398] <LAVA_SIGNAL_STARTTC sched_rr_get_interval03>
tst_test.c:1953: TINFO: LTP version: 20250530
tst_test.c:1956: TINFO: Tested kernel: 6.6.94-rc1 #1 SMP @1750177261 riscv64
tst_kconfig.c:88: TINFO: Parsing kernel config '/proc/config.gz'
tst_kconfig.c:676: TINFO: CONFIG_DEBUG_SPINLOCK kernel option detected which might slow the execution
tst_test.c:1774: TINFO: Overall timeout per run is 0h 21m 36s
sched_rr_get_interval03.c:57: TINFO: Testing variant: vDSO or syscall with libc spec
sched_rr_get_interval03.c:63: TFAIL: sched_setscheduler() failed: EPERM (1)
sched_rr_get_interval03.c:85: TPASS: sched_rr_get_interval(-1, 0x5555693cc150) : EINVAL (22)
sched_rr_get_interval03.c:85: TPASS: sched_rr_get_interval(4194304, 0x5555693cc150) : ESRCH (3)
sched_rr_get_interval03.c:76: TCONF: EFAULT skipped for libc_variant
sched_rr_get_interval03.c:57: TINFO: Testing variant: syscall with old kernel spec
sched_rr_get_interval03.c:63: TFAIL: sched_setscheduler() failed: EPERM (1)
sched_rr_get_interval03.c:85: TPASS: sched_rr_get_interval(-1, 0x5555693cc150) : EINVAL (22)
sched_rr_get_interval03.c:85: TPASS: sched_rr_get_interval(4194304, 0x5555693cc150) : ESRCH (3)
sched_rr_get_interval03.c:85: TPASS: sched_rr_get_interval(0, 0x7fff874fe000) : EFAULT (14)

Summary:
passed   5
failed   2
broken   0
skipped  1
warnings 0

<8>[  414.624181] <LAVA_SIGNAL_ENDTC sched_rr_get_interval03>
sched_rr_get_interval03 sched_rr_get_interval03
sched_rr_get_interval03: <12>[  371.390358] /usr/local/bin/kirk[290]: sched_rr_get_interval03: start (command: sched_rr_get_interval03)
sched_rr_get_interval03.c:57: TINFO: Testing variant: vDSO or syscall with libc spec
sched_rr_get_interval03.c:63: TFAIL: sched_setscheduler() failed: EPERM (1)
sched_rr_get_interval03.c:85: TPASS: sched_rr_get_interval(-1, 0x5555693cc150) : EINVAL (22)
sched_rr_get_interval03.c:85: TPASS: sched_rr_get_interval(4194304, 0x5555693cc150) : ESRCH (3)
sched_rr_get_interval03.c:76: TCONF: EFAULT skipped for libc_variant
sched_rr_get_interval03.c:57: TINFO: Testing variant: syscall with old kernel spec
sched_rr_get_interval03.c:63: TFAIL: sched_setscheduler() failed: EPERM (1)
sched_rr_get_interval03.c:85: TPASS: sched_rr_get_interval(-1, 0x5555693cc150) : EINVAL (22)
sched_rr_get_interval03.c:85: TPASS: sched_rr_get_interval(4194304, 0x5555693cc150) : ESRCH (3)
sched_rr_get_interval03.c:85: TPASS: sched_rr_get_interval(0, 0x7fff874fe000) : EFAULT (14)
<8>[  414.452732] <LAVA_SIGNAL_STARTTC sched_rr_get_interval02>
tst_test.c:1953: TINFO: LTP version: 20250530
tst_test.c:1956: TINFO: Tested kernel: 6.6.94-rc1 #1 SMP @1750177261 riscv64
tst_kconfig.c:88: TINFO: Parsing kernel config '/proc/config.gz'
tst_kconfig.c:676: TINFO: CONFIG_DEBUG_SPINLOCK kernel option detected which might slow the execution
tst_test.c:1774: TINFO: Overall timeout per run is 0h 21m 36s
sched_rr_get_interval02.c:35: TINFO: Testing variant: vDSO or syscall with libc spec
sched_rr_get_interval02.c:40: TFAIL: sched_setscheduler() failed: EPERM (1)
sched_rr_get_interval02.c:53: TPASS: sched_rr_get_interval() passed
sched_rr_get_interval02.c:35: TINFO: Testing variant: syscall with old kernel spec
sched_rr_get_interval02.c:40: TFAIL: sched_setscheduler() failed: EPERM (1)
sched_rr_get_interval02.c:53: TPASS: sched_rr_get_interval() passed

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

<8>[  414.484126] <LAVA_SIGNAL_ENDTC sched_rr_get_interval02>
sched_rr_get_interval02 sched_rr_get_interval02
sched_rr_get_interval02: <12>[  370.854366] /usr/local/bin/kirk[290]: sched_rr_get_interval02: start (command: sched_rr_get_interval02)
sched_rr_get_interval02.c:35: TINFO: Testing variant: vDSO or syscall with libc spec
sched_rr_get_interval02.c:40: TFAIL: sched_setscheduler() failed: EPERM (1)
sched_rr_get_interval02.c:53: TPASS: sched_rr_get_interval() passed
sched_rr_get_interval02.c:35: TINFO: Testing variant: syscall with old kernel spec
sched_rr_get_interval02.c:40: TFAIL: sched_setscheduler() failed: EPERM (1)
sched_rr_get_interval02.c:53: TPASS: sched_rr_get_interval() passed
<8>[  414.311238] <LAVA_SIGNAL_STARTTC sched_rr_get_interval01>
tst_test.c:1953: TINFO: LTP version: 20250530
tst_test.c:1956: TINFO: Tested kernel: 6.6.94-rc1 #1 SMP @1750177261 riscv64
tst_kconfig.c:88: TINFO: Parsing kernel config '/proc/config.gz'
tst_kconfig.c:676: TINFO: CONFIG_DEBUG_SPINLOCK kernel option detected which might slow the execution
tst_test.c:1774: TINFO: Overall timeout per run is 0h 21m 36s
sched_rr_get_interval01.c:42: TINFO: Testing variant: vDSO or syscall with libc spec
sched_rr_get_interval01.c:47: TFAIL: sched_setscheduler() failed: EPERM (1)
sched_rr_get_interval01.c:59: TPASS: sched_rr_get_interval() passed
sched_rr_get_interval01.c:69: TFAIL: Invalid time quantum 0s 0ns
sched_rr_get_interval01.c:74: TFAIL: /proc/sys/kernel/sched_rr_timeslice_ms != 0 got 100
sched_rr_get_interval01.c:42: TINFO: Testing variant: syscall with old kernel spec
sched_rr_get_interval01.c:47: TFAIL: sched_setscheduler() failed: EPERM (1)
sched_rr_get_interval01.c:59: TPASS: sched_rr_get_interval() passed
sched_rr_get_interval01.c:69: TFAIL: Invalid time quantum 0s 0ns
sched_rr_get_interval01.c:74: TFAIL: /proc/sys/kernel/sched_rr_timeslice_ms != 0 got 100

HINT: You _MAY_ be missing kernel fixes:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=975e155ed873
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c7fcb99877f9

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

<8>[  414.347055] <LAVA_SIGNAL_ENDTC sched_rr_get_interval01>
sched_rr_get_interval01 sched_rr_get_interval01
sched_rr_get_interval01: <12>[  370.294842] /usr/local/bin/kirk[290]: sched_rr_get_interval01: start (command: sched_rr_get_interval01)
sched_rr_get_interval01.c:42: TINFO: Testing variant: vDSO or syscall with libc spec
sched_rr_get_interval01.c:47: TFAIL: sched_setscheduler() failed: EPERM (1)
sched_rr_get_interval01.c:59: TPASS: sched_rr_get_interval() passed
sched_rr_get_interval01.c:69: TFAIL: Invalid time quantum 0s 0ns
sched_rr_get_interval01.c:74: TFAIL: /proc/sys/kernel/sched_rr_timeslice_ms != 0 got 100
sched_rr_get_interval01.c:42: TINFO: Testing variant: syscall with old kernel spec
sched_rr_get_interval01.c:47: TFAIL: sched_setscheduler() failed: EPERM (1)
sched_rr_get_interval01.c:59: TPASS: sched_rr_get_interval() passed
sched_rr_get_interval01.c:69: TFAIL: Invalid time quantum 0s 0ns
sched_rr_get_interval01.c:74: TFAIL: /proc/sys/kernel/sched_rr_timeslice_ms != 0 got 100