lttng team mailing list archive
-
lttng team
-
Mailing list archive
-
Message #03471
[Bug 1727251] Re: ubuntu_lttng_smoke_test failed on A-hwe kernel
This bug was fixed in the package lttng-modules - 2.8.0-1ubuntu1~16.04.3
---------------
lttng-modules (2.8.0-1ubuntu1~16.04.3) xenial; urgency=medium
* Fix builds on HWE 4.13 kernel (LP: #1727251)
Apply the following upstream commits:
0015-Fix-update-mm_vmscan-instrumentation-for-kernel-4.11.patch
0016-Fix-update-btrfs-instrumentation-for-kernel-4.11.patch
0017-Fix-changes-to-the-vm_op-fault-cb-prototype-in-libri.patch
0018-Fix-update-scsi-instrumentation-for-kernel-4.11.patch
0019-Fix-timers-cputime_t-arguments-replaced-by-ull-in-ke.patch
0020-Fix-atomic_add_unless-returns-true-false-rather-than.patch
0021-Fix-kref-changes-for-kernel-4.11.patch
0022-Fix-update-sched-instrumentation-for-kernel-4.12.patch
0023-Fix-update-ringbuffer-for-kernel-4.12.patch
0024-Fix-update-block-instrumentation-for-kernel-4.12.patch
0025-Fix-update-ftrace-probe-for-kernel-4.12.patch
0026-Fix-Build-ftrace-probe-on-kernels-prior-to-4.12.patch
0027-Fix-handle-missing-ftrace-header-on-v4.12.patch
0028-Fix-section-mismatch-warning-caused-by-__exit-annota.patch
0029-Fix-missing-ftrace-header-on-v4.11.patch
* 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
-- Colin Ian King <colin.king@xxxxxxxxxxxxx> Thu, 26 Oct 2017 18:00:02
+0100
** Changed in: lttng-modules (Ubuntu Xenial)
Status: Fix Committed => 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 Released
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