Public bug reported:

In our SRU cycles for Noble kernels, ftrace:test.d--dynevent--add in
ubuntu_kselftests_ftrace fails on some architectures.

This test works only when CONFIG_FPROBE=y and CONFIG_FPROBE_EVENTS=y.

In our annotation file, they are enabled only for some architectures.

CONFIG_FPROBE               policy<{'amd64': 'y', 'riscv64': '-', 's390x': 'y'}>
CONFIG_FPROBE_EVENTS        policy<{'amd64': 'y', 'riscv64': '-', 's390x': 'y'}>

For the other architectures (e.g. arm64), this test always fails.

It should be skipped when CONFIG_FPROBE=n or CONFIG_FPROBE_EVENTS=n.

It was already fixed in upstream by the following commit:

commit 2fd3ef1b9265eda7f53b9506f1ebfb67eb6435a2
Author: Masami Hiramatsu (Google) <mhira...@kernel.org>
Date:   Sat May 4 09:33:10 2024 +0900

    selftests/ftrace: Fix BTFARG testcase to check fprobe is enabled
correctly

** Affects: ubuntu-kernel-tests
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu Noble)
     Importance: Undecided
         Status: New

** Also affects: linux (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Noble)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2067291

Title:
  ftrace:test.d--dynevent--add_remove_btfarg.tc in
  ubuntu_kselftests_ftrace failed on some architectures

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to