← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1677126] Re: ubuntu_lttng_smoke_test failed on z-hwe: Kernel tracer not available

 

This bug was fixed in the package lttng-modules - 2.8.0-1ubuntu1~16.04.2

---------------
lttng-modules (2.8.0-1ubuntu1~16.04.2) xenial; urgency=medium

  * Fix builds on HWE 4.10 kernel (LP: #1677126)
    Backport the following upstream commits:
     0007-Fix-unregister-cpu-hotplug-notifier-on-buffer-alloc-.patch
     0008-Add-load-unload-messages-to-kernel-log.patch
     0009-Fix-update-scsi-instrumentation-for-4.7-kernels.patch
     0010-btrfs-instrumentation-update-to-4.10-kernel.patch
     0011-timer-instrumentation-adapt-to-ktime_t-without-union.patch
     0012-Adapt-lttng-modules-to-Linux-4.10-cpu-hotplug-state-.patch
     0013-Fix-only-include-linux-cpuhotplug.h-for-kernels-4.10.patch
     0014-Fix-4.10-hotplug-adaptation-backward-compat.patch

 -- Colin Ian King <colin.king@xxxxxxxxxxxxx>  Wed, 29 Mar 2017 14:05:08
+0100

** Changed in: lttng-modules (Ubuntu Xenial)
       Status: Fix Committed => Fix Released

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

Title:
  ubuntu_lttng_smoke_test failed on z-hwe: Kernel tracer not available

Status in linux-hwe-edge package in Ubuntu:
  In Progress
Status in lttng-modules package in Ubuntu:
  In Progress
Status in linux-hwe-edge source package in Xenial:
  New
Status in lttng-modules source package in Xenial:
  Fix Released

Bug description:
  == SRU REQUEST [Xenial] ==

  We are getting lttng module build failures on the HWE 4.10.0 kernel
  because we are missing the 4.9 and 4.10 compatibility patches to build
  for a 4.10 kernel.

  == Fix ==

  Apply minimal set of upstream patches to enable 4.9 + 4.10 builds:

  769b62a02f62ff8db93f109d9f63a1df6ea9990b
       Fix-unregister-cpu-hotplug-notifier-on-buffer-alloc-.patch

  489de24bfb835022b64c2e71d717eaf333ab3633
       Add-load-unload-messages-to-kernel-log.patch

  3e86016420272ce5ef0139ad52f20c83305f0f15
       Fix-update-scsi-instrumentation-for-4.7-kernels.patch

  f3166f27f5e2d2210cec32d68c277940a7473281
       btrfs-instrumentation-update-to-4.10-kernel.patch

  507143bc5de50c0e5493d63fb5c300fa42326842
       timer-instrumentation-adapt-to-ktime_t-without-union.patch

  1e36732678d7cc650940b4508031acf2f6ffcd1b
       Adapt-lttng-modules-to-Linux-4.10-cpu-hotplug-state-.patch

  da3b99a6386302158785e1f8fd1679c106850d0e
       Fix: only include linux/cpuhotplug.h for kernels >= 4.10

  ce4a2f0c273d4077c6eb9e6e0f28379ddaf61382
       Fix: 4.10 hotplug adaptation backward compat

  == Testing ==

  Without the fix, lttng modules won't install and build on HWE 4.10
  kernels.  With the fix, the lttng modules build and also pass the
  ubuntu kernel team autotest lttng smoke tests.

  Should be tested with xenial 4.4 kernel to ensure backward
  compatibility is not broken on the default Xenial kernels

  == Regression potential ==

  Can potential break lttng.

  -------------------------------------------------------------------------

  Test failed with "Kernel tracer not available"

  root@michael:/home/ubuntu/autotest-client-tests/ubuntu_lttng_smoke_test# ./ubuntu_lttng_smoke_test.sh
  == lttng smoke test of session create/destroy ==
  Session test-kernel-session created.
  Traces will be written in /tmp/lttng-kernel-trace-12675-session
  PASSED (lttng create)
  Session test-kernel-session destroyed
  PASSED (lttng destroy)

  == lttng smoke test list kernel events ==
  Error: Unable to list kernel events: Kernel tracer not available
  Error: Command error
  FAILED (lttng list --kernel)
  FAILED (lttng list --kernel more output expected)

  == lttng smoke test trace open/close system calls ==
  Session test-kernel-session created.
  Traces will be written in /tmp/lttng-kernel-trace-12675-session
  PASSED (lttng create)
  Error: Event open: Kernel tracer not available (channel channel0, session test-kernel-session)
  Error: Event openat: Kernel tracer not available (channel channel0, session test-kernel-session)
  Error: Event close: Kernel tracer not available (channel channel0, session test-kernel-session)
  FAILED (lttng enable-event)
  Session test-kernel-session destroyed

  == lttng smoke test trace context switches ==
  Session test-kernel-session created.
  Traces will be written in /tmp/lttng-kernel-trace-12675-session
  PASSED (lttng create)
  Error: Event sched_switch: Kernel tracer not available (channel channel0, session test-kernel-session)
  FAILED (lttng enable-event)
  Session test-kernel-session destroyed

  Summary: 4 passed, 4 failed

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: linux-image-4.10.0-14-generic 4.10.0-14.16~16.04.1
  ProcVersionSignature: Ubuntu 4.10.0-14.16~16.04.1-generic 4.10.3
  Uname: Linux 4.10.0-14-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.5
  Architecture: amd64
  Date: Wed Mar 29 06:08:00 2017
  SourcePackage: linux-hwe-edge
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-hwe-edge/+bug/1677126/+subscriptions