Hi, I found this same issue on a Power system. The RTC does not support alarm there, so this will fail with -ENOTSUPP, which should be -EOPNOTSUPP instead. See kernel patch at [1].
[1] https://lore.kernel.org/lkml/20190903171802.28314-1-casca...@canonical.com/T/#u That still require a change on LTP. That should be something like: diff --git a/testcases/kernel/syscalls/timer_create/timer_create01.c b/testcases/kernel/syscalls/timer_create/timer_create01.c index 258b6444c..f1ed00e03 100644 --- a/testcases/kernel/syscalls/timer_create/timer_create01.c +++ b/testcases/kernel/syscalls/timer_create/timer_create01.c @@ -77,7 +77,7 @@ static void run(unsigned int n) &created_timer_id)); if (TST_RET != 0) { - if (possibly_unsupported(clock) && TST_ERR == EINVAL) { + if (possibly_unsupported(clock) && (TST_ERR == EINVAL || TST_ERR == ENOTSUP)) { tst_res(TPASS | TTERRNO, "%s unsupported, failed as expected", get_clock_str(clock)); -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1838961 Title: timer_create01 from ubuntu_ltp_syscalls failed on X-kvm / B-KVM To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1838961/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs