I tried the machine where this had failed to pass and observed that the DKMS modules for lttng had not been built by DKMS for some reason.
Looking at /var/log/apt/history.log the following happened: 1. lttng 2.8.0-1ubuntu1~16.04.2 was installed 2. new kernel 4.4.0-101 was installed 3. possibly failed to build lttng for 4.4.0-101 4. update, pulled in lttng 2.8.0-1ubuntu1~16.04.3 5. this didn't build for 4.4.0-101 6. lttng test fail because there were no lttng built modules I just ran sudo apt-get install --reinstall lttng-modules-dkms to ensure it got rebuild and then I was able to run the tests perfectly well. Looking at https://wiki.kubuntu.org/Kernel/Dev/DKMSPackaging it states: "Limitation of DKMS 1. DKMS may not work well after a large change of kernel ABI - Using DKMS on a stable release kernel will be a better idea. 2. Make sure the we have toolchains and kernel header installed. 3. Using DKMS on a netbook is not a smart idea - It takes too much time to build the kernel module after kernel upgrading. 4. DKMS modules will not be loaded if there are another ones in initrd." I wonder if the change in ABI was the issue. I suspect the following is necessary if a large ABI change occurs: ls /usr/src/linux-headers-* -d | sed -e 's/.*linux-headers-//' | \ > sort -V | tac | sudo xargs -n1 /usr/lib/dkms/dkms_autoinstaller start -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1732651 Title: lttng-smoke-test failed on Xenial s390x Status in linux package in Ubuntu: Incomplete Bug description: With lttng-module-dkms version 2.8.0-1ubuntu1~16.04.3, this test will failed on s390x instances. == lttng smoke test of session create/destroy == Spawning a session daemon Session test-kernel-session created. Traces will be written in /tmp/lttng-kernel-trace-113358-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 SKIPPED for s390x == lttng smoke test trace context switches == Session test-kernel-session created. Traces will be written in /tmp/lttng-kernel-trace-113358-session PASSED (lttng create) FAILED (lttng enable-event) Session test-kernel-session destroyed Summary: 3 passed, 3 failed stderr: Error: Unable to list kernel events: Kernel tracer not available Error: Command error Error: Event sched_switch: Kernel tracer not available (channel channel0, session test-kernel-session) ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: linux-image-4.4.0-101-generic 4.4.0-101.124 ProcVersionSignature: Ubuntu 4.4.0-101.124-generic 4.4.95 Uname: Linux 4.4.0-101-generic s390x NonfreeKernelModules: zfs zunicode zcommon znvpair zavl AlsaDevices: Error: command ['ls', '-l', '/dev/snd/'] failed with exit code 2: ls: cannot access '/dev/snd/': No such file or directory AplayDevices: Error: [Errno 2] No such file or directory: 'aplay' ApportVersion: 2.20.1-0ubuntu2.12 Architecture: s390x ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord' CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found. CurrentDmesg: [ 1758.314033] docker0: port 1(veth38d28b9) entered disabled state [ 1758.314450] device veth38d28b9 left promiscuous mode [ 1758.314452] docker0: port 1(veth38d28b9) entered disabled state Date: Thu Nov 16 04:21:00 2017 HibernationDevice: RESUME=UUID=f578fa27-1d57-41c9-bb1d-7ff64c1c9345 IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig' Lsusb: Error: command ['lsusb'] failed with exit code 1: PciMultimedia: ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash ProcFB: Error: [Errno 2] No such file or directory: '/proc/fb' ProcKernelCmdLine: root=UUID=f26894a2-496d-4891-aa9a-f66344c77779 crashkernel=196M BOOT_IMAGE=0 RelatedPackageVersions: linux-restricted-modules-4.4.0-101-generic N/A linux-backports-modules-4.4.0-101-generic N/A linux-firmware 1.157.13 RfKill: Error: [Errno 2] No such file or directory: 'rfkill' SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1732651/+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