← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2110562] Re: plucky: ubuntu_lttng_smoke_test conflicting types for ‘trace_balance_dirty_pages’

 

Hello Mehmet, or anyone else affected,

Accepted lttng-modules into plucky-proposed. The package will build now
and be available at https://launchpad.net/ubuntu/+source/lttng-
modules/2.13.17-1ubuntu1 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, what testing has been
performed on the package and change the tag from verification-needed-
plucky to verification-done-plucky. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-plucky. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: lttng-modules (Ubuntu Plucky)
       Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-plucky

-- 
You received this bug notification because you are a member of Canonical
Platform QA Team, which is subscribed to ubuntu-kernel-tests.
https://bugs.launchpad.net/bugs/2110562

Title:
  plucky: ubuntu_lttng_smoke_test conflicting types for
  ‘trace_balance_dirty_pages’

Status in ubuntu-kernel-tests:
  In Progress
Status in lttng-modules package in Ubuntu:
  Invalid
Status in lttng-modules source package in Plucky:
  Fix Committed

Bug description:
  plucky 6.14.0-17-17 ubuntu_lttng_smoke_test:lttng-smoke-test has been
  failing due to compilation error. Probably test code needs to be
  updated.

  [ Impact ]

  lttng-modules does not compile from source in Plucky
  6.14.0-17-generic:

  834  23:05:51 DEBUG| [stdout] CC [M] src/probes/lttng-probe-rcu.o
  835  23:05:51 DEBUG| [stdout] CC [M] src/probes/lttng-probe-sunrpc.o
  836  23:05:51 DEBUG| [stdout] CC [M] src/probes/lttng-probe-workqueue.o
  837  23:05:51 DEBUG| [stdout] CC [M] src/probes/lttng-probe-writeback.o
  838  23:05:51 DEBUG| [stdout] CC [M] src/probes/lttng-kprobes.o
  839  23:05:51 DEBUG| [stdout] In file included from src/probes/../../include/lttng/define_trace.h:87,
  840  23:05:51 DEBUG| [stdout] from src/probes/../../include/instrumentation/events/writeback.h:815,
  841  23:05:51 DEBUG| [stdout] from src/probes/lttng-probe-writeback.c:38:
  842  23:05:51 DEBUG| [stdout] src/probes/../../include/lttng/tracepoint-event-impl.h:133:6: error: conflicting types for ‘trace_balance_dirty_pages’; have ‘void(struct bdi_writeback *, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long int, long unsigned int)’
  843  23:05:51 DEBUG| [stdout] 133 | void trace_##_name(_proto);
  844  23:05:51 DEBUG| [stdout] | ^~~~~~
  845  23:05:51 DEBUG| [stdout] src/probes/../../include/lttng/tracepoint-event-impl.h:45:9: note: in expansion of macro ‘LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP’
  846  23:05:51 DEBUG| [stdout] 45 | LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(map, name, map, PARAMS(proto), PARAMS(args))
  847  23:05:51 DEBUG| [stdout] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  848  23:05:51 DEBUG| [stdout] src/probes/../../include/instrumentation/events/writeback.h:618:1: note: in expansion of macro ‘LTTNG_TRACEPOINT_EVENT_MAP’
  849  23:05:51 DEBUG| [stdout] 618 | LTTNG_TRACEPOINT_EVENT_MAP(balance_dirty_pages,
  850  23:05:51 DEBUG| [stdout] | ^~~~~~~~~~~~~~~~~~~~~~~~~~
  851  23:05:51 DEBUG| [stdout] In file included from /usr/src/linux-headers-6.14.0-17-generic/include/trace/events/writeback.h:8,
  852  23:05:51 DEBUG| [stdout] from src/probes/lttng-probe-writeback.c:20:
  853  23:05:51 DEBUG| [stdout] /usr/src/linux-headers-6.14.0-17-generic/include/linux/tracepoint.h:278:28: note: previous definition of ‘trace_balance_dirty_pages’ with type ‘void(struct bdi_writeback *, struct dirty_throttle_control *, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long int, long unsigned int)’
  854  23:05:51 DEBUG| [stdout] 278 | static inline void trace_##name(proto) \
  855  23:05:51 DEBUG| [stdout] | ^~~~~~
  856  23:05:51 DEBUG| [stdout] /usr/src/linux-headers-6.14.0-17-generic/include/linux/tracepoint.h:467:9: note: in expansion of macro ‘__DECLARE_TRACE’
  857  23:05:51 DEBUG| [stdout] 467 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  858  23:05:51 DEBUG| [stdout] | ^~~~~~~~~~~~~~~
  859  23:05:51 DEBUG| [stdout] /usr/src/linux-headers-6.14.0-17-generic/include/linux/tracepoint.h:605:9: note: in expansion of macro ‘DECLARE_TRACE’
  860  23:05:51 DEBUG| [stdout] 605 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  861  23:05:51 DEBUG| [stdout] | ^~~~~~~~~~~~~
  862  23:05:51 DEBUG| [stdout] /usr/src/linux-headers-6.14.0-17-generic/include/trace/events/writeback.h:629:1: note: in expansion of macro ‘TRACE_EVENT’
  863  23:05:51 DEBUG| [stdout] 629 | TRACE_EVENT(balance_dirty_pages,
  864  23:05:51 DEBUG| [stdout] | ^~~~~~~~~~~
  865  23:05:51 DEBUG| [stdout] make[5]: *** [/usr/src/linux-headers-6.14.0-17-generic/scripts/Makefile.build:207: src/probes/lttng-probe-writeback.o] Error 1
  866  23:05:51 DEBUG| [stdout] make[5]: *** Waiting for unfinished jobs....
  867  23:05:51 DEBUG| [stdout] make[4]: *** [/usr/src/linux-headers-6.14.0-17-generic/scripts/Makefile.build:465: src/probes] Error 2
  868  23:05:51 DEBUG| [stdout] make[3]: *** [/usr/src/linux-headers-6.14.0-17-generic/scripts/Makefile.build:465: src] Error 2
  869  23:05:51 DEBUG| [stdout] make[2]: *** [/usr/src/linux-headers-6.14.0-17-generic/Makefile:2001: .] Error 2
  870  23:05:51 DEBUG| [stdout] make[1]: *** [/usr/src/linux-headers-6.14.0-17-generic/Makefile:251: __sub-make] Error 2
  871  23:05:51 DEBUG| [stdout] make[1]: Leaving directory '/var/lib/dkms/lttng-modules/2.13.17/build'
  872  23:05:51 DEBUG| [stdout] make: *** [Makefile:251: __sub-make] Error 2
  873  23:05:51 DEBUG| [stdout] make: Leaving directory '/usr/src/linux-headers-6.14.0-17-generic'

  [ Test Case ]

  Install the latest kernel from the proposed pocket on Plucky and .
  Install lttng-modules:
  $ sudo apt install lttng-modules-dkms
  Load the module:
  $ sudo modprobe lttng-test

  The same procedure must be repeated on Plucky previous kernels too
  avoid regressions.

  [ Fix ]

  Patch the DKMS to properly support the new linux ABI in Linux 6.14.2

  [ Regression potential ]

  We may experience regressions in systems that are using the lttng
  debugging tools in Plucky.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2110562/+subscriptions



References