← Back to team overview

lttng team mailing list archive

[Bug 1727251] Re: ubuntu_lttng_smoke_test failed on A-hwe kernel

 

Hello Po-Hsu, or anyone else affected,

Accepted lttng-modules into xenial-proposed. The package will build now
and be available at https://launchpad.net/ubuntu/+source/lttng-
modules/2.8.0-1ubuntu1~16.04.3 in a few hours, and then in the -proposed
repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-xenial to verification-done-xenial. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-xenial. In either case, details of your
testing will help us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Tags added: verification-needed verification-needed-xenial

** Package changed: linux (Ubuntu) => lttng-modules (Ubuntu)

** Also affects: lttng-modules (Ubuntu Xenial)
   Importance: Undecided
       Status: New

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

** Changed in: lttng-modules (Ubuntu)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
LTTng, which is subscribed to lttng-modules in Ubuntu.
Matching subscriptions: lttng-modules-bugs
https://bugs.launchpad.net/bugs/1727251

Title:
  ubuntu_lttng_smoke_test failed on A-hwe kernel

Status in lttng-modules package in Ubuntu:
  Fix Released
Status in lttng-modules source package in Xenial:
  Fix Committed

Bug description:
  [SRU lttng-modules-dkms XENIAL for 4.13 kernel support]

  lttng fails to build because of API changes in 4.13.

  [FIX]

  Apply the following upstream lttng commits for 4.11, 4.12 compat
  fixes:

  Fix-update-mm_vmscan-instrumentation-for-kernel-4.11.patch
  Fix-update-btrfs-instrumentation-for-kernel-4.11.patch
  Fix-changes-to-the-vm_op-fault-cb-prototype-in-libri.patch
  Fix-update-scsi-instrumentation-for-kernel-4.11.patch
  Fix-timers-cputime_t-arguments-replaced-by-ull-in-ke.patch
  Fix-atomic_add_unless-returns-true-false-rather-than.patch
  Fix-kref-changes-for-kernel-4.11.patch
  Fix-update-sched-instrumentation-for-kernel-4.12.patch
  Fix-update-ringbuffer-for-kernel-4.12.patch
  Fix-update-block-instrumentation-for-kernel-4.12.patch
  Fix-update-ftrace-probe-for-kernel-4.12.patch
  Fix-Build-ftrace-probe-on-kernels-prior-to-4.12.patch
  Fix-handle-missing-ftrace-header-on-v4.12.patch
  Fix-section-mismatch-warning-caused-by-__exit-annota.patch
  Fix-missing-ftrace-header-on-v4.11.patch

  Also: Don't build ftrace lttng module for 4.11 upwards as this currently
  requires the full kernel source and not just the headers anymore,
  add kernel version check in lttng-modules-dkms.dkms.in

  [TEST]
  from kernel team autotests:

  sudo autotest/client/autotest-local
  autotest/client/tests/ubuntu_lttng_smoke_test/control

  Without the fixes, these will fail.  With the fixes, the regression
  tests pass.  Run this 4.4, 4.8 and 4.13-hwe kernels, must pass on all
  three kernel versions.

  [REGRESSION POTENTIAL]
  This affects just the lttng tools.  Could break pre-4.13 older kernels, so needs regression checking on supported kernel versions.

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

  Kernel 4.13.0-16.19~16.04.3

  4 tests failed for the ubuntu_lttng_smoke_test with amd64 / arm64 / i386 / ppc64le systems:
   == lttng smoke test of session create/destroy ==
   Session test-kernel-session created.
   Traces will be written in /tmp/lttng-kernel-trace-21869-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-21869-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-21869-session
   PASSED (lttng create)
   Error: Event sched_switch: Kernel tracer not available (channel channel0, session test-kernel-session)
   FAILED (lttng enable-event)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lttng-modules/+bug/1727251/+subscriptions