[Bug 1838961] Re: timer_create01 from ubuntu_ltp_syscalls failed on X-kvm / B-KVM
Passed on D-KVM ** Changed in: linux-kvm (Ubuntu) Status: In Progress => Fix Released ** Changed in: ubuntu-kernel-tests Status: In Progress => Fix Released ** Package changed: linux-kvm (Ubuntu) => linux (Ubuntu) ** Changed in: linux (Ubuntu Xenial) Status: New => Fix Released ** Changed in: linux (Ubuntu Bionic) Status: New => Fix Released -- 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
[Bug 1838961] Re: timer_create01 from ubuntu_ltp_syscalls failed on X-kvm / B-KVM
Issue passed on Disco P8/P9/s390x LPAR https://github.com/linux-test- project/ltp/commit/bd355b964d3f4baf1cf95062e8bfb6d9441b22c9 -- 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
[Bug 1838961] Re: timer_create01 from ubuntu_ltp_syscalls failed on X-kvm / B-KVM
** Changed in: ubuntu-kernel-tests Status: New => In Progress ** Changed in: linux-kvm (Ubuntu) Status: New => In Progress -- 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
[Bug 1838961] Re: timer_create01 from ubuntu_ltp_syscalls failed on X-kvm / B-KVM
** Changed in: linux-kvm (Ubuntu) Assignee: (unassigned) => Thadeu Lima de Souza Cascardo (cascardo) -- 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
[Bug 1838961] Re: timer_create01 from ubuntu_ltp_syscalls failed on X-kvm / B-KVM
** Changed in: ubuntu-kernel-tests Assignee: Kai-Heng Feng (kaihengfeng) => Thadeu Lima de Souza Cascardo (cascardo) -- 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
[Bug 1838961] Re: timer_create01 from ubuntu_ltp_syscalls failed on X-kvm / B-KVM
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
[Bug 1838961] Re: timer_create01 from ubuntu_ltp_syscalls failed on X-kvm / B-KVM
** Changed in: ubuntu-kernel-tests Assignee: (unassigned) => Kai-Heng Feng (kaihengfeng) -- 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
[Bug 1838961] Re: timer_create01 from ubuntu_ltp_syscalls failed on X-kvm / B-KVM
Didn't see this on B 4.15 AMD64 ** Summary changed: - timer_create01 from ubuntu_ltp_syscalls failed on X-kvm + timer_create01 from ubuntu_ltp_syscalls failed on X-kvm / B-KVM ** Also affects: linux-kvm (Ubuntu Bionic) Importance: Undecided Status: New ** Also affects: linux-kvm (Ubuntu Xenial) Importance: Undecided Status: New -- 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