** Tags removed: verification-needed-focal
** Tags added: focal hirsute impish ubuntu-kernel-selftests 
verification-done-focal

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-5.10 in Ubuntu.
https://bugs.launchpad.net/bugs/1937991

Title:
  Skip rtcpie test in kselftests/timers if the default RTC device does
  not exist

Status in ubuntu-kernel-tests:
  In Progress
Status in linux package in Ubuntu:
  In Progress
Status in linux-oem-5.10 package in Ubuntu:
  Invalid
Status in linux source package in Focal:
  In Progress
Status in linux-oem-5.10 source package in Focal:
  Fix Committed
Status in linux source package in Hirsute:
  In Progress
Status in linux-oem-5.10 source package in Hirsute:
  Invalid
Status in linux source package in Impish:
  In Progress
Status in linux-oem-5.10 source package in Impish:
  Invalid

Bug description:
  [Impact]
  This test will require /dev/rtc0, the default RTC device, or one
  specified by user to run. Since this default RTC is not guaranteed to
  exist on all of the devices, so check its existence first, otherwise
  skip this test with the kselftest skip code 4.

  Without this patch this test will fail like this on a s390x zVM:
  $ selftests: timers: rtcpie
  $ /dev/rtc0: No such file or directory
  not ok 1 selftests: timers: rtcpie # exit=22

  We have this test disabled in our test suite with an if check [1],
  thus we're not seeing this failure recently. With this patch
  applied we can remove that code block later.

  [1] https://kernel.ubuntu.com/git/ubuntu/autotest-client-
  tests.git/tree/ubuntu_kernel_selftests/ubuntu_kernel_selftests.py#n133

  [Fix]
  * 0d3e5a057992bd  selftests: timers: rtcpie: skip test if default RTC device 
does not exist

  [Test]
  Run this test with patched source tree on a s390x zVM and it will be
  skipped correctly:
  $ selftests: timers: rtcpie
  $ Default RTC /dev/rtc0 does not exist. Test Skipped!
  not ok 9 selftests: timers: rtcpie # SKIP

  [Where problems could occur]
  If this fix is incorrect we might see it failing again on systems that 
without /dev/rtc0 (after removing our local hacks in autotest-client-tests)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1937991/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to