** Description changed:

+ [SRU lttng 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)

** Description changed:

- [SRU lttng XENIAL for 4.13 kernel support]
+ [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)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1727251

Title:
  ubuntu_lttng_smoke_test failed on A-hwe kernel

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to