ubuntu_lttng_smoke_test failed with module build on J-5.15.0-49.55
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Fix Released
|
Undecided
|
Unassigned | ||
lttng-modules (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Medium
|
Stefan Bader | ||
Jammy |
Fix Released
|
Medium
|
Stefan Bader |
Bug Description
[SRU Justification]
Impact: Upstream stable backported a patch from 5.17 into 5.15.58 which allows to pass a reason message when dropping network SKBs. This however requires some adaptions to lttng-modules (again) to handle the modified interface.
Fix: Picking 3 patches from upstream lttng-modules which handle the changed interface as well as add the required code to enable that change for 5.15 stable kernels starting with subversion 58.
Testcase: Compiling for the latest 5.15 Ubuntu kernels fails with below messages. Once the 3 fixes are applied this succeeds (and the previous kernel also still works).
Regression potential: Probes related to dropping SKBs might show issues. But also tooling which uses these might get surprised by suddenly seeing reason messages.
---
Issue found on Jammy 5.15.0-49.55
Module build log:
Running 'cat /var/lib/
DKMS make.log for lttng-modules-
Tue Sep 20 04:39:58 UTC 2022
make: Entering directory '/usr/src/
CC [M] /var/lib/
/var/lib/
CC [M] /var/lib/
/var/lib/
/var/lib/
/var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
LD [M] /var/lib/
LD [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
LD [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
LD [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
In file included from /var/lib/
/var/lib/
133 | void trace_#
| ^~~~~~
/var/lib/
45 | LTTNG_TRACEPOIN
| ^~~~~~~
/var/lib/
16 | LTTNG_TRACEPOIN
| ^~~~~~~
In file included from ./include/
./include/
245 | static inline void trace_##name(proto) \
| ^~~~~~
./include/
419 | __DECLARE_
| ^~~~~~~~~~~~~~~
./include/
553 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
| ^~~~~~~~~~~~~
./include/
44 | TRACE_EVENT(
| ^~~~~~~~~~~
CC [M] /var/lib/
make[3]: *** [scripts/
make[3]: *** Waiting for unfinished jobs....
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
make[2]: *** [scripts/
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [scripts/
make: *** [Makefile:1900: /var/lib/
make: Leaving directory '/usr/src/
Changed in lttng-modules (Ubuntu Jammy): | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in lttng-modules (Ubuntu Focal): | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in lttng-modules (Ubuntu Jammy): | |
assignee: | nobody → Stefan Bader (smb) |
status: | Confirmed → In Progress |
description: | updated |
Changed in lttng-modules (Ubuntu): | |
status: | New → Fix Released |
tags: |
added: verification-done verification-done-focal removed: verification-needed verification-needed-focal |
Will have to be done at least in focal as well to handle 5.15 backport kernels. Need to figure out the change which introduces this in case focal 5.4 kernels do the same. Then bionic needs a new lttng-modules as well.