lttng-modules 2.11.2-1ubuntu0.1 ADT test failure with linux 5.4.0-49.53
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Fix Released
|
Undecided
|
Unassigned | ||
lttng-modules (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Xenial |
Fix Released
|
Medium
|
Stefan Bader | ||
Bionic |
Fix Released
|
Medium
|
Stefan Bader | ||
Focal |
Fix Released
|
Medium
|
Stefan Bader |
Bug Description
[SRU Justification]
== Impact ==
An upstream change in v5.9 which was backported into all supported releases modified a function which lltng-modules uses. This causes the DKMS compilation to fail for all kernels which carry that fix.
== Fix ==
We add kernel version specific fixup code which allows to compile for previous and newer kernels.
== Testcase ==
DKMS build of lttng-modules will fail without the update and work with all kernels in updates and proposed.
== Regression Potention ==
The DKMS build might still fail (but beside of conditionally handling an additional argument to a function the code is unchanged).
---
Testing failed on:
amd64: https:/
arm64: https:/
ppc64el: https:/
s390x: https:/
tags: | added: kernel-adt-failure |
Changed in lttng-modules (Ubuntu): | |
assignee: | nobody → Stefan Bader (smb) |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in lttng-modules (Ubuntu Focal): | |
assignee: | nobody → Stefan Bader (smb) |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in lttng-modules (Ubuntu Xenial): | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in lttng-modules (Ubuntu Focal): | |
status: | Confirmed → In Progress |
Changed in lttng-modules (Ubuntu Bionic): | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in lttng-modules (Ubuntu): | |
assignee: | Stefan Bader (smb) → nobody |
status: | Confirmed → Fix Released |
Changed in lttng-modules (Ubuntu Bionic): | |
assignee: | nobody → Stefan Bader (smb) |
Changed in lttng-modules (Ubuntu Xenial): | |
assignee: | nobody → Stefan Bader (smb) |
Changed in ubuntu-kernel-tests: | |
status: | New → Incomplete |
status: | Incomplete → Confirmed |
tags: | added: aws azure gcp kqa-blocker oracle sru-20200921 |
Changed in lttng-modules (Ubuntu Bionic): | |
status: | Triaged → In Progress |
description: | updated |
Changed in ubuntu-kernel-tests: | |
status: | Confirmed → Fix Released |
CC [M] /var/lib/ dkms/lttng- modules/ 2.11.2/ build/probes/ lttng-kprobes. o dkms/lttng- modules/ 2.11.2/ build/probes/ ../probes/ define_ trace.h: 87,
from /var/lib/ dkms/lttng- modules/ 2.11.2/ build/probes/ ../instrumentat ion/events/ lttng-module/ writeback. h:736,
from /var/lib/ dkms/lttng- modules/ 2.11.2/ build/probes/ lttng-probe- writeback. c:38: dkms/lttng- modules/ 2.11.2/ build/probes/ ../probes/ lttng-tracepoin t-event- impl.h: 130:6: error: conflicting types for ‘trace_ writeback_ queue_io’ #_name( _proto) ; dkms/lttng- modules/ 2.11.2/ build/probes/ ../probes/ lttng-tracepoin t-event- impl.h: 42:2: note: in expansion of macro ‘LTTNG_ TRACEPOINT_ EVENT_INSTANCE_ MAP’ T_EVENT_ INSTANCE_ MAP(map, name, map, PARAMS(proto), PARAMS(args)) ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ dkms/lttng- modules/ 2.11.2/ build/probes/ ../probes/ lttng-tracepoin t-event- impl.h: 84:2: note: in expansion of macro ‘LTTNG_ TRACEPOINT_ EVENT_MAP’ T_EVENT_ MAP(name, name, \ ~~~~~~~ ~~~~~~~ ~~~~~ dkms/lttng- modules/ 2.11.2/ build/probes/ ../instrumentat ion/events/ lttng-module/ writeback. h:376:1: note: in expansion of macro ‘LTTNG_ TRACEPOINT_ EVENT’ T_EVENT( writeback_ queue_io, ~~~~~~~ ~~~~~~~ ~ trace/events/ writeback. h:8,
from /var/lib/ dkms/lttng- modules/ 2.11.2/ build/probes/ lttng-probe- writeback. c:20: linux/tracepoin t.h:233: 21: note: previous definition of ‘trace_ writeback_ queue_io’ was here linux/tracepoin t.h:396: 2: note: in expansion of macro ‘__DECLARE_TRACE’ TRACE(name, PARAMS(proto), PARAMS(args), \ linux/tracepoin t.h:532: 2: note: in expansion of macro ‘DECLARE_TRACE’ trace/events/ writeback. h:499:1: note: in expansion of macro ‘TRACE_EVENT’ writeback_ queue_io,
In file included from /var/lib/
/var/lib/
130 | void trace_#
| ^~~~~~
/var/lib/
42 | LTTNG_TRACEPOIN
| ^~~~~~~
/var/lib/
84 | LTTNG_TRACEPOIN
| ^~~~~~~
/var/lib/
376 | LTTNG_TRACEPOIN
| ^~~~~~~
In file included from ./include/
./include/
233 | static inline void trace_##name(proto) \
| ^~~~~~
./include/
396 | __DECLARE_
| ^~~~~~~~~~~~~~~
./include/
532 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
| ^~~~~~~~~~~~~
./include/
499 | TRACE_EVENT(
| ^~~~~~~~~~~