It looks like this backport is pretty old. I am a bit confused why this
happens till now.

I can reproduce this even with linux_4.4.0-210:
apt-get source --download-only linux-modules-4.4.0-210-generic
dpkg-source -x linux*dsc linux
cd linux/tools/testing/selftests/
make TARGETS=timers

But when I looking s2024.12.02, x/linux with 4.4.0-263.297 does not have this 
timer-build task.
We don't have any change in autotest-client-test for this.

-- 
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/2098848

Title:
  raw_skew test in kernel selftests for timers fails to build

Status in ubuntu-kernel-tests:
  New
Status in linux package in Ubuntu:
  Invalid
Status in linux source package in Xenial:
  Triaged

Bug description:
  timers/raw_skew subtest from kernel selftests fails to build on
  xenial:

  17:30:43 DEBUG| [stdout] make[1]: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/timers'
  17:30:43 DEBUG| [stdout] gcc -O3 -Wl,-no-as-needed -Wall -DKTEST  -lrt 
-lpthread  posix_timers.c   -o posix_timers
  17:30:44 DEBUG| [stdout] gcc -O3 -Wl,-no-as-needed -Wall -DKTEST  -lrt 
-lpthread  nanosleep.c   -o nanosleep
  17:30:44 DEBUG| [stdout] gcc -O3 -Wl,-no-as-needed -Wall -DKTEST  -lrt 
-lpthread  nsleep-lat.c   -o nsleep-lat
  17:30:44 DEBUG| [stdout] gcc -O3 -Wl,-no-as-needed -Wall -DKTEST  -lrt 
-lpthread  set-timer-lat.c   -o set-timer-lat
  17:30:45 DEBUG| [stdout] gcc -O3 -Wl,-no-as-needed -Wall -DKTEST  -lrt 
-lpthread  mqueue-lat.c   -o mqueue-lat
  17:30:45 DEBUG| [stdout] gcc -O3 -Wl,-no-as-needed -Wall -DKTEST  -lrt 
-lpthread  inconsistency-check.c   -o inconsistency-check
  17:30:45 DEBUG| [stdout] gcc -O3 -Wl,-no-as-needed -Wall -DKTEST  -lrt 
-lpthread  raw_skew.c   -o raw_skew
  17:30:45 ERROR| [stderr] raw_skew.c: In function ‘main’:
  17:30:45 ERROR| [stderr] raw_skew.c:152:11: error: too many arguments to 
function ‘ksft_exit_skip’
  17:30:45 ERROR| [stderr]     return ksft_exit_skip("The clock was adjusted 
externally. Shutdown NTPd or other time sync daemons\n");
  17:30:45 ERROR| [stderr]            ^
  17:30:45 ERROR| [stderr] In file included from raw_skew.c:29:0:
  17:30:45 ERROR| [stderr] ../kselftest.h:64:19: note: declared here
  17:30:45 ERROR| [stderr]  static inline int ksft_exit_skip(void)
  17:30:45 ERROR| [stderr]                    ^
  17:30:45 DEBUG| [stdout] <builtin>: recipe for target 'raw_skew' failed

  Upstream commit 1416270f4a1a "selftest: timers: Tweak raw_skew to SKIP
  when ADJ_OFFSET/other clock adjustments are in progress" from linux
  4.19 was backported incorrectly to stable branch linux-4.4.y. We
  picked up the faulty backport with a stable update for xenial:
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1798587

  In 4.19, as opposed to 4.4 where ksft_exit_skip() does not take any
  arguments, the function is defined as

  static inline int ksft_exit_skip(const char *msg, ...)

  The backport of the patch should not pass a string to the function.

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


-- 
Mailing list: https://launchpad.net/~canonical-ubuntu-qa
Post to     : canonical-ubuntu-qa@lists.launchpad.net
Unsubscribe : https://launchpad.net/~canonical-ubuntu-qa
More help   : https://help.launchpad.net/ListHelp

Reply via email to