← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1851486] [NEW] Handle the skip return code in kernel_selftests on Xenial

 

Public bug reported:

Like bug 1812352

In the ubuntu_kernel_selftests, the skipped test will uses return code 4
(KSFT_SKIP).

However the code to handle this non-zero return code was not implemented
in the kselftest framework. And this will generate some false-positives
results as those skipped tests were treated as a failure.

In X-KVM kernel, test_user_copy.sh test in user will fail because of this:
    user: module test_user_copy is not found [SKIP]
    not ok 1..1 selftests: test_user_copy.sh [FAIL]

** Affects: ubuntu-kernel-tests
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu Xenial)
     Importance: Undecided
         Status: New


** Tags: 4.4 ubuntu-kernel-selftests xenial

** Also affects: linux (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: ubuntu-kernel-tests
   Importance: Undecided
       Status: New

** Tags added: 4.4 ubuntu-kernel-selftests xenial

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1851486

Title:
  Handle the skip return code in kernel_selftests on Xenial

Status in ubuntu-kernel-tests:
  New
Status in linux package in Ubuntu:
  New
Status in linux source package in Xenial:
  New

Bug description:
  Like bug 1812352

  In the ubuntu_kernel_selftests, the skipped test will uses return code
  4 (KSFT_SKIP).

  However the code to handle this non-zero return code was not
  implemented in the kselftest framework. And this will generate some
  false-positives results as those skipped tests were treated as a
  failure.

  In X-KVM kernel, test_user_copy.sh test in user will fail because of this:
      user: module test_user_copy is not found [SKIP]
      not ok 1..1 selftests: test_user_copy.sh [FAIL]

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


Follow ups