ubuntu_lttng_smoke_test failed on A-hwe kernel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lttng-modules (Ubuntu) |
Fix Released
|
Medium
|
Colin Ian King | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned |
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-
Fix-update-
Fix-changes-
Fix-update-
Fix-timers-
Fix-atomic_
Fix-kref-
Fix-update-
Fix-update-
Fix-update-
Fix-update-
Fix-Build-
Fix-handle-
Fix-section-
Fix-missing-
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-
[TEST]
from kernel team autotests:
sudo autotest/
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-
4 tests failed for the ubuntu_
== lttng smoke test of session create/destroy ==
Session test-kernel-session created.
Traces will be written in /tmp/lttng-
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-
PASSED (lttng create)
Error: Event open: Kernel tracer not available (channel channel0, session test-kernel-
Error: Event openat: Kernel tracer not available (channel channel0, session test-kernel-
Error: Event close: Kernel tracer not available (channel channel0, session test-kernel-
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-
PASSED (lttng create)
Error: Event sched_switch: Kernel tracer not available (channel channel0, session test-kernel-
FAILED (lttng enable-event)
Changed in linux (Ubuntu): | |
assignee: | nobody → Colin Ian King (colin-king) |
description: | updated |
description: | updated |
description: | updated |
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
status: | Incomplete → In Progress |
description: | updated |
description: | updated |
tags: | added: patch |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1727251
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.