Hay
Date
May 14, 2025, 11:38 a.m.

Environment
dragonboard-410c
dragonboard-845c
e850-96
fvp-aemva
qemu-arm64
qemu-armv7
qemu-x86_64
x15
x86

rseq_syscall_errors_test fail

rseq_syscall_errors_test fail

Registration with invalid flag fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with unaligned rseq_abi fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with invalid size fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with invalid address fails with errno set to EFAULT (ret = -1, errno = EFAULT)
Registration succeeds for the current thread (ret = 0, errno = 0)
Double registration fails with errno set to EBUSY (ret = -1, errno = EBUSY)
Unregistration with wrong RSEQ_SIG fails with errno to EPERM (ret = -1, errno = EPERM)
Unregistration succeeds for the current thread (ret = 0, errno = 0)
Double unregistration fails with errno set to EINVAL (ret = -1, errno = EINVAL)
+ set +x
rseq_syscall_errors_test fail

exit=255timeout set to 0
selftests: rseq: run_syscall_errors_test.sh
Registration with invalid flag fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with unaligned rseq_abi fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with invalid size fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with invalid address fails with errno set to EFAULT (ret = -1, errno = EFAULT)
Registration succeeds for the current thread (ret = 0, errno = 0)
Double registration fails with errno set to EBUSY (ret = -1, errno = EBUSY)
Unregistration with wrong RSEQ_SIG fails with errno to EPERM (ret = -1, errno = EPERM)
Unregistration succeeds for the current thread (ret = 0, errno = 0)
Double unregistration fails with errno set to EINVAL (ret = -1, errno = EINVAL)
rseq_syscall_errors_test fail

rseq_syscall_errors_test fail

rseq_syscall_errors_test fail

[  208.094778] <LAVA_SIGNAL_STARTTC rseq_syscall_errors_test>
exit=255timeout set to 0
selftests: rseq: run_syscall_errors_test.sh
Registration with invalid flag fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with unaligned rseq_abi fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with invalid size fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with invalid address fails with errno set to EFAULT (ret = -1, errno = EFAULT)
Registration succeeds for the current thread (ret = 0, errno = 0)
Double registration fails with errno set to EBUSY (ret = -1, errno = EBUSY)
Unregistration with wrong RSEQ_SIG fails with errno to EPERM (ret = -1, errno = EPERM)
Unregistration succeeds for the current thread (ret = 0, errno = 0)
Double unregistration fails with errno set to EINVAL (ret = -1, errno = EINVAL)
[  208.104718] <LAVA_SIGNAL_ENDTC rseq_syscall_errors_test>
rseq_syscall_errors_test fail

[  179.250782] <LAVA_SIGNAL_STARTTC rseq_syscall_errors_test>
exit=255timeout set to 0
selftests: rseq: run_syscall_errors_test.sh
Registration with invalid flag fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with unaligned rseq_abi fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with invalid size fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with invalid address fails with errno set to EFAULT (ret = -1, errno = EFAULT)
Registration succeeds for the current thread (ret = 0, errno = 0)
Double registration fails with errno set to EBUSY (ret = -1, errno = EBUSY)
Unregistration with wrong RSEQ_SIG fails with errno to EPERM (ret = -1, errno = EPERM)
Unregistration succeeds for the current thread (ret = 0, errno = 0)
Double unregistration fails with errno set to EINVAL (ret = -1, errno = EINVAL)
[  179.261198] <LAVA_SIGNAL_ENDTC rseq_syscall_errors_test>
rseq_syscall_errors_test fail

<8>[   42.525323] <LAVA_SIGNAL_STARTTC rseq_syscall_errors_test>
exit=255timeout set to 0
selftests: rseq: run_syscall_errors_test.sh
Registration with invalid flag fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with unaligned rseq_abi fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with invalid size fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with invalid address fails with errno set to EFAULT (ret = -1, errno = EFAULT)
Registration succeeds for the current thread (ret = 0, errno = 0)
Double registration fails with errno set to EBUSY (ret = -1, errno = EBUSY)
Unregistration with wrong RSEQ_SIG fails with errno to EPERM (ret = -1, errno = EPERM)
Unregistration succeeds for the current thread (ret = 0, errno = 0)
Double unregistration fails with errno set to EINVAL (ret = -1, errno = EINVAL)
<8>[   42.543277] <LAVA_SIGNAL_ENDTC rseq_syscall_errors_test>
rseq_syscall_errors_test fail

<8>[   30.292593] <LAVA_SIGNAL_STARTTC rseq_syscall_errors_test>
exit=255timeout set to 0
selftests: rseq: run_syscall_errors_test.sh
Registration with invalid flag fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with unaligned rseq_abi fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with invalid size fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with invalid address fails with errno set to EFAULT (ret = -1, errno = EFAULT)
Registration succeeds for the current thread (ret = 0, errno = 0)
Double registration fails with errno set to EBUSY (ret = -1, errno = EBUSY)
Unregistration with wrong RSEQ_SIG fails with errno to EPERM (ret = -1, errno = EPERM)
Unregistration succeeds for the current thread (ret = 0, errno = 0)
Double unregistration fails with errno set to EINVAL (ret = -1, errno = EINVAL)
<8>[   30.305486] <LAVA_SIGNAL_ENDTC rseq_syscall_errors_test>
rseq_syscall_errors_test fail

<8>[   35.023052] <LAVA_SIGNAL_STARTTC rseq_syscall_errors_test>
exit=255timeout set to 0
selftests: rseq: run_syscall_errors_test.sh
Registration with invalid flag fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with unaligned rseq_abi fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with invalid size fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration succeeds for the current thread (ret = 0, errno = 0)
Double registration fails with errno set to EBUSY (ret = -1, errno = EBUSY)
Unregistration with wrong RSEQ_SIG fails with errno to EPERM (ret = -1, errno = EPERM)
Unregistration succeeds for the current thread (ret = 0, errno = 0)
Double unregistration fails with errno set to EINVAL (ret = -1, errno = EINVAL)
<8>[   35.037413] <LAVA_SIGNAL_ENDTC rseq_syscall_errors_test>
rseq_syscall_errors_test fail

<8>[   47.177388] <LAVA_SIGNAL_STARTTC rseq_syscall_errors_test>
exit=255timeout set to 0
selftests: rseq: run_syscall_errors_test.sh
Registration with invalid flag fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with unaligned rseq_abi fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with invalid size fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with invalid address fails with errno set to EFAULT (ret = -1, errno = EFAULT)
Registration succeeds for the current thread (ret = 0, errno = 0)
Double registration fails with errno set to EBUSY (ret = -1, errno = EBUSY)
Unregistration with wrong RSEQ_SIG fails with errno to EPERM (ret = -1, errno = EPERM)
Unregistration succeeds for the current thread (ret = 0, errno = 0)
Double unregistration fails with errno set to EINVAL (ret = -1, errno = EINVAL)
<8>[   47.197022] <LAVA_SIGNAL_ENDTC rseq_syscall_errors_test>
rseq_syscall_errors_test fail

<8>[   29.490488] <LAVA_SIGNAL_STARTTC rseq_syscall_errors_test>
exit=255timeout set to 0
selftests: rseq: run_syscall_errors_test.sh
Registration with invalid flag fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with unaligned rseq_abi fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with invalid size fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with invalid address fails with errno set to EFAULT (ret = -1, errno = EFAULT)
Registration succeeds for the current thread (ret = 0, errno = 0)
Double registration fails with errno set to EBUSY (ret = -1, errno = EBUSY)
Unregistration with wrong RSEQ_SIG fails with errno to EPERM (ret = -1, errno = EPERM)
Unregistration succeeds for the current thread (ret = 0, errno = 0)
Double unregistration fails with errno set to EINVAL (ret = -1, errno = EINVAL)
<8>[   29.503405] <LAVA_SIGNAL_ENDTC rseq_syscall_errors_test>
rseq_syscall_errors_test fail

param_test: param_test.c:469: rseq_percpu_unlock: As[   67.149902] <LAVA_SIGNAL_ENDTC rseq_syscall_errors_test>
sertion `lock->c[cpu].v == 1' failed.
rseq_syscall_errors_test fail

Registration with invalid flag fails with errno set to EINVAL (ret = -1, errno = EINVAL)
rseq_syscall_errors_test fail

Registration with unal[   63.817392] <LAVA_SIGNAL_ENDTC rseq_syscall_errors_test>
igned rseq_abi fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration with inva[   63.831079] <LAVA_SIGNAL_TESTCASE TEST_CASE_ID=rseq_syscall_errors_test RESULT=fail>
rseq_syscall_errors_test fail