ubuntu_lttng_smoke_test failed on z-hwe: Kernel tracer not available
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-hwe-edge (Ubuntu) |
Fix Released
|
Medium
|
Colin Ian King | ||
Xenial |
New
|
Undecided
|
Unassigned | ||
lttng-modules (Ubuntu) |
Fix Released
|
Medium
|
Colin Ian King | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned |
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:
769b62a02f62ff8
Fix-
489de24bfb83502
Add-
3e86016420272ce
Fix-
f3166f27f5e2d22
btrfs-
507143bc5de50c0
timer-
1e36732678d7cc6
Adapt-
da3b99a63863021
Fix: only include linux/cpuhotplug.h for kernels >= 4.10
ce4a2f0c273d407
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:
== 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)
Session test-kernel-session destroyed
Summary: 4 passed, 4 failed
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-
ProcVersionSign
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)
Changed in linux-hwe-edge (Ubuntu): | |
importance: | Undecided → Medium |
assignee: | nobody → Colin Ian King (colin-king) |
description: | updated |
description: | updated |
Changed in linux-hwe-edge (Ubuntu): | |
status: | New → In Progress |
Changed in lttng-modules (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Colin Ian King (colin-king) |
Changed in lttng-modules (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in linux-hwe-edge (Ubuntu): | |
status: | In Progress → Fix Released |
For references: http:// kernel. ubuntu. com/testing/ 4.10.0- 14.16~16. 04.1-generic/ ubuntu_ lttng_smoke_ test-4. 10.0-14. 16~16.04. 1-amd64- index.html