** Description changed: + == 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 + + == 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 + 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)
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1677126 Title: ubuntu_lttng_smoke_test failed on z-hwe: Kernel tracer not available To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-hwe-edge/+bug/1677126/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
