Hello Po-Hsu, or anyone else affected, Accepted lttng-modules into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/lttng- modules/2.10.5-1ubuntu1.1 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: lttng-modules (Ubuntu Bionic) Status: In Progress => Fix Committed ** Tags removed: verification-done ** Tags added: verification-needed verification-needed-bionic -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-azure in Ubuntu. https://bugs.launchpad.net/bugs/1778642 Title: ubuntu_lttng_smoke_test failed on Azure 4.15 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 Xenial: Invalid Status in lttng-modules source package in Xenial: Fix Released Status in linux-azure source package in Bionic: Invalid Status in lttng-modules source package in Bionic: Fix Committed Status in linux-azure source package in Cosmic: Invalid Status in lttng-modules source package in Cosmic: Fix Released Bug description: SRU Request: [Impact] After bionic/linux-azure commit 4fbb658dd8ce96384852ceae18b0b09034de7b36 (UBUNTU: [Config] azure: CONFIG_HOTPLUG_CPU=n) the lttng_tracer module cannot find some symbols and cannot be loaded. kernel: [ 639.538251] lttng_tracer: Unknown symbol lttng_hp_prepare (err 0) kernel: [ 639.538280] lttng_tracer: Unknown symbol lttng_hp_online (err 0) This is caused by lttng-modules incorrectly handling the case when CONFIG_HOTPLUG_CPU is not enabled. [Test Case] Install linux-azure >= 4.15.0-1014, install lttng-modules-dkms and run the autotest ubuntu_lttng_smoke_test testcase (or just 'sudo lttng list --kernel'). [Fix] commit 894ce5dc825733d1ccab25b1aede9ce0be2a7c4e (Fix: do not use CONFIG_HOTPLUG_CPU for the new hotplug API) commit 1ee63d8d1b0aaf30564d3879d8e9282d0ddfef1b (Cleanup: comment about CONFIG_HOTPLUG_CPU ifdef) [Regression Potential] Very low. The two patches can be cleanly cherry-picked from the upstream commits. The first one that really fixed the issue just changes a single #ifdef to compile a piece of code when CONFIG_HOTPLUG_CPU is not defined. The second one just updates some comments on the code to make them consistent with the changes. [Original Description] 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/ubuntu-kernel-tests/+bug/1778642/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp