← Back to team overview

lttng team mailing list archive

[Bug 1778642] Re: ubuntu_lttng_smoke_test failed on Azure 4.15

 

This bug seems to be resolved by the following commits from lttng-
modules upstream:

===============================================
commit 1ee63d8d1b0aaf30564d3879d8e9282d0ddfef1b
Author: Michael Jeanson <mjeanson@xxxxxxxxxxxx>
Date:   Tue Mar 13 12:14:43 2018 -0400

    Cleanup: comment about CONFIG_HOTPLUG_CPU ifdef
    
    Signed-off-by: Michael Jeanson <mjeanson@xxxxxxxxxxxx>
    Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxxxx>

commit 894ce5dc825733d1ccab25b1aede9ce0be2a7c4e
Author: Lars Persson <lars.persson@xxxxxxxx>
Date:   Sun Mar 11 15:02:43 2018 +0100

    Fix: do not use CONFIG_HOTPLUG_CPU for the new hotplug API
    
    Kernel configurations without CONFIG_HOTPLUG_CPU throw an unknown
    symbol error when attempting to insert the lttng-trace module:
     lttng_tracer: Unknown symbol lttng_hp_prepare (err 0)
     lttng_tracer: Unknown symbol lttng_hp_online (err 0)
    
    This was caused by lttng-events and lttng-context-perf-counter not
    agreeing on which preprocessor condition that should guard the use of
    the hotplug API. In fact the API is available also on kernels built
    without CONFIG_HOTPLUG_CPU.
    
    Signed-off-by: Lars Persson <larper@xxxxxxxx>
    Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxxxx>
===============================================

I will build a test package and attach here a debdiff.

** Changed in: linux-azure (Ubuntu)
       Status: New => Invalid

** Changed in: ubuntu-kernel-tests
       Status: New => Invalid

** Also affects: lttng-modules (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: lttng-modules (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: linux-azure (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Changed in: linux-azure (Ubuntu Bionic)
       Status: New => Invalid

** Changed in: lttng-modules (Ubuntu Bionic)
       Status: New => In Progress

** Changed in: lttng-modules (Ubuntu)
       Status: New => 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/1778642

Title:
  ubuntu_lttng_smoke_test failed on Azure 4.15

Status in lttng-modules:
  New
Status in ubuntu-kernel-tests:
  Invalid
Status in linux-azure package in Ubuntu:
  Invalid
Status in lttng-modules package in Ubuntu:
  Fix Released
Status in linux-azure source package in Bionic:
  Invalid
Status in lttng-modules source package in Bionic:
  In Progress

Bug description:
  ***THIS IS A POTENTIAL REGRESSION***

  This test will pass with the older kernel, 4.15.0-1013-azure, but not
  the 4.15.0-1014-azure in -proposed.

  It looks like the kernel module can be installed, but four tests have
  failed:

  == lttng smoke test of session create/destroy ==
  Session test-kernel-session created.
  Traces will be written in /tmp/lttng-kernel-trace-14716-session
  PASSED (lttng create)
  Session test-kernel-session destroyed
  PASSED (lttng destroy)

  == lttng smoke test list kernel events ==
  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-14716-session
  PASSED (lttng create)
  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-14716-session
  PASSED (lttng create)
  FAILED (lttng enable-event)
  Session test-kernel-session destroyed

  Summary: 4 passed, 4 failed

  http://10.246.72.46/4.15.0-1014.14-azure/bionic-linux-azure-
  azure-4.15.0-Standard_D12-ubuntu_lttng_smoke_test/ubuntu_lttng_smoke_test/results/ubuntu_lttng_smoke_test
  .lttng-smoke-test/debug/ubuntu_lttng_smoke_test.lttng-smoke-
  test.DEBUG.html

  Error message from /var/log/syslog:

   kernel: [  639.531889] PKCS#7 signature not signed with a trusted key
   kernel: [  639.538251] lttng_tracer: Unknown symbol lttng_hp_prepare (err 0)
   kernel: [  639.538280] lttng_tracer: Unknown symbol lttng_hp_online (err 0)
   lttng-sessiond[1097]: Error: Unable to load required module lttng-ring-buffer-client-discard
   lttng-sessiond[1097]: Warning: No kernel tracer available
   kernel: [  639.606845] PKCS#7 signature not signed with a trusted key
   kernel: [  639.613331] lttng_tracer: Unknown symbol lttng_hp_prepare (err 0)
   kernel: [  639.613360] lttng_tracer: Unknown symbol lttng_hp_online (err 0)
   lttng-sessiond[1097]: Error: Unable to load required module lttng-ring-buffer-client-discard
   lttng-sessiond[1097]: Warning: No kernel tracer available
   kernel: [  639.677124] PKCS#7 signature not signed with a trusted key
   kernel: [  639.680857] lttng_tracer: Unknown symbol lttng_hp_prepare (err 0)
   kernel: [  639.680886] lttng_tracer: Unknown symbol lttng_hp_online (err 0)
   lttng-sessiond[1097]: Error: Unable to load required module lttng-ring-buffer-client-discard
   lttng-sessiond[1097]: Warning: No kernel tracer available
   kernel: [  639.737914] PKCS#7 signature not signed with a trusted key
   kernel: [  639.753366] lttng_tracer: Unknown symbol lttng_hp_prepare (err 0)
   kernel: [  639.753394] lttng_tracer: Unknown symbol lttng_hp_online (err 0)
   lttng-sessiond[1097]: Error: Unable to load required module lttng-ring-buffer-client-discard
   lttng-sessiond[1097]: Warning: No kernel tracer available
   kernel: [  639.829710] PKCS#7 signature not signed with a trusted key
   kernel: [  639.843736] lttng_tracer: Unknown symbol lttng_hp_prepare (err 0)
   kernel: [  639.843765] lttng_tracer: Unknown symbol lttng_hp_online (err 0)
   lttng-sessiond[1097]: Error: Unable to load required module lttng-ring-buffer-client-discard
   lttng-sessiond[1097]: Warning: No kernel tracer available

To manage notifications about this bug go to:
https://bugs.launchpad.net/lttng-modules/+bug/1778642/+subscriptions