← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1877958] Re: Do not treat unresolved test case in ftrace from ubuntu_kernel_selftests as failure

 

This bug was fixed in the package linux - 5.4.0-37.41

---------------
linux (5.4.0-37.41) focal; urgency=medium

  * CVE-2020-0543
    - SAUCE: x86/speculation/spectre_v2: Exclude Zhaoxin CPUs from SPECTRE_V2
    - SAUCE: x86/cpu: Add a steppings field to struct x86_cpu_id
    - SAUCE: x86/cpu: Add 'table' argument to cpu_matches()
    - SAUCE: x86/speculation: Add Special Register Buffer Data Sampling (SRBDS)
      mitigation
    - SAUCE: x86/speculation: Add SRBDS vulnerability and mitigation documentation
    - SAUCE: x86/speculation: Add Ivy Bridge to affected list

 -- Marcelo Henrique Cerri <marcelo.cerri@xxxxxxxxxxxxx>  Wed, 03 Jun
2020 11:24:23 -0300

** Changed in: linux (Ubuntu Focal)
       Status: Fix Committed => Fix Released

** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2020-0543

** Changed in: linux (Ubuntu Eoan)
       Status: Fix Committed => Fix Released

** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2020-12114

-- 
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/1877958

Title:
  Do not treat unresolved test case in ftrace from
  ubuntu_kernel_selftests as failure

Status in ubuntu-kernel-tests:
  In Progress
Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Xenial:
  Fix Released
Status in linux source package in Bionic:
  Fix Released
Status in linux source package in Eoan:
  Fix Released
Status in linux source package in Focal:
  Fix Released

Bug description:
  == SRU Justification ==
  There are some test cases in ftrace from ubuntu_kernel_selftests that
  would need some kernel configs to be enabled or have some special HW
  requirements:
    * https://pad.lv/1869347 - missing CONFIG_SAMPLE_TRACE_PRINTK=m
    * https://pad.lv/1869349 - missing CONFIG_SAMPLE_TRACE_PRINTK=m
    * https://pad.lv/1874198 - nproc > 1

  If the requirement was not met, these test will fail with "unresolved"
  and return 1. So even these is no failed test case, the ftrace test
  will still be marked as "failed" with the presence of unresolved test:
      # # of passed:  28
      # # of failed:  0
      # # of unresolved:  1
      # # of untested:  0
      # # of unsupported:  58
      # # of xfailed:  0
      # # of undefined(test bug):  0
      not ok 1 selftests: ftrace: ftracetest # exit=1

  == Fix ==
  * b730d668138c ("ftrace/selftest: make unresolved cases cause failure if --fail-unresolved set")

  This patch will only make unresolved test case return 1 if we ask it
  to fail with unresolved test case.

  It can be cherry-picked to kernels starting from Disco.
  For Bionic and Xenial it needs to be backported with some context
  adjustment as they're missing some other patches to the testing tool.

  == Test ==
  With the patch applied, the ftrace test will not be marked as failed
  with the presence of unresolved test case:
      # # of passed:  28
      # # of failed:  0
      # # of unresolved:  1
      # # of untested:  0
      # # of unsupported:  58
      # # of xfailed:  0
      # # of undefined(test bug):  0
      ok 1 selftests: ftrace: ftracetest

  == Regression Potential ==
  Low, changes limited to testing tools, no actual impacts to our kernels.

  The worst case is to cause false negative in test reports, but in that
  case it's probably a test case issue since a failed case should be
  treated as a failed one, instead of unresolved.

  
  == Original Bug Report ==
  There are some test cases in ftrace from ubuntu_kernel_selftests that would need some kernel configs to be enabled.

  bug 1869347
  bug 1869349

  We should not treat unresolved test case as a failure, as it's
  expected to fail with no correlated configs enabeled.

  https://github.com/torvalds/linux/commit/b730d668138cb3dd9ce78f8003986d1adae5523a
  #diff-33d74da785cbc5da20f71eb1af106d68

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