Hay
Date
May 13, 2025, 12:07 p.m.

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

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

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
<LAVA_TEST_RUNNER EXIT>
rseq_syscall_errors_test fail

[   44.275137] <LAVA_SIGNAL_ENDTC rseq_syscall_errors_test>
[   44.286195] <LAVA_SIGNAL_TESTCASE TEST_CASE_ID=rseq_syscall_errors_test RESULT=fail>
u_unlock: Assertion `lock->c[cpu].v == 1' failed.
rseq_syscall_errors_test fail

rseq_syscall_errors_test fail

[  158.696335] <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)
[  158.706654] <LAVA_SIGNAL_ENDTC rseq_syscall_errors_test>
rseq_syscall_errors_test fail

[  147.954758] <LAVA_SIGNAL_ENDTC rseq_syscall_errors_test>
[  147.982779] <LAVA_SIGNAL_TESTCASE TEST_CASE_ID=rseq_syscall_errors_test RESULT=fail>
[  148.037861] <LAVA_SIGNAL_TESTCASE TEST_CASE_ID=rseq_run_syscall_errors_test_sh RESULT=pass>
+ set +x
[  148.043075] <LAVA_SIGNAL_ENDRUN 0_kselftest-rseq 1_1.1.3.1>
<LAVA_TEST_RUNNER EXIT>
rseq_syscall_errors_test fail

<8>[   20.838151] <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>[   20.848160] <LAVA_SIGNAL_ENDTC rseq_syscall_errors_test>
rseq_syscall_errors_test fail

<8>[   21.989594] <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>[   22.000481] <LAVA_SIGNAL_ENDTC rseq_syscall_errors_test>
rseq_syscall_errors_test fail

<8>[   71.961062] <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>[   71.980061] <LAVA_SIGNAL_ENDTC rseq_syscall_errors_test>
rseq_syscall_errors_test fail

<8>[   42.479447] <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.499290] <LAVA_SIGNAL_ENDTC rseq_syscall_errors_test>
rseq_syscall_errors_test fail

<8>[   32.340816] <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>[   32.357611] <LAVA_SIGNAL_ENDTC rseq_syscall_errors_test>
rseq_syscall_errors_test fail

INVAL (ret = -1, errno = EINVAL)
Registration with invalid size[   64.791717] <LAVA_SIGNAL_ENDTC rseq_syscall_errors_test>
 fails with errno set to EINVAL (ret = -1, errno = EINVAL)
Registration succeeds for the current thread (ret = -1, errno = EBUS[   64.808593] <LAVA_SIGNAL_TESTCASE TEST_CASE_ID=rseq_syscall_errors_test RESULT=fail>
Y)
exit=255timeout set to 0
rseq_syscall_errors_test fail

Regist[   74.937095] <LAVA_SIGNAL_TESTCASE TEST_CASE_ID=rseq_syscall_errors_test RESULT=fail>
rseq_syscall_errors_test fail

Registration with inva[   73.126661] <LAVA_SIGNAL_STARTTC rseq_syscall_errors_test>
lid size fails with errno set to EINVAL (ret = -1, errno = EINVA[   73.137968] <LAVA_SIGNAL_ENDTC rseq_syscall_errors_test>
L)
Registration with invalid address fails with errno set to EFAULT (ret = -1, errno = EINVAL)
exit=255timeout set to 0
selftests: rseq: run_syscall_errors_test.sh
Registration with invalid flag fails wit[   73.161163] <LAVA_SIGNAL_TESTCASE TEST_CASE_ID=rseq_syscall_errors_test RESULT=fail>
h errno set to EINVAL (ret = -1, errno = EINVAL)
rseq_syscall_errors_test fail