ftrace:test.d--kprobe--kprobe_non_uniq_symbol.tc from ubuntu_kselftests_ftrace failed on 5.4 / 5.15

Bug #2054362 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned
linux (Ubuntu)
Invalid
Undecided
Unassigned
Focal
New
Undecided
Unassigned
Jammy
New
Undecided
Unassigned

Bug Description

Issue found on B-hwe-5.4.0-173.191~18.04.1 F-5.4.0-173.191 and J-5.15.0-96.106, 5.15.0-100.110 in sru-20240205

This kprobe_non_uniq_symbol.tc test case came from stable update (bug 2049024) and landed in our Focal kernel since Ubuntu-5.4.0-173.191

For Jammy it came from stable update (bug 2049350) and landed in our Jammy kernel since Ubuntu-5.15.0-96.106

So this is not a regression, but a new test case.

Test log:
 Running './ftracetest -vvv test.d/kprobe/kprobe_non_uniq_symbol.tc'
 === Ftrace unit tests ===
 + initialize_ftrace
 + disable_tracing
 + echo 0
 + reset_tracer
 + echo nop
 + reset_trigger
 + [ -d events/synthetic ]
 ...
 + read line
 ...
 + read line
 ...
 + reset_events_filter
 + read line
 ...
 + reset_ftrace_filter
 + [ ! -f set_ftrace_filter ]
 + echo
 + grep -v ^# set_ftrace_filter
 + read t
 + disable_events
 + echo 0
 + [ -f set_event_pid ]
 + echo
 + [ -f set_ftrace_pid ]
 + echo
 + [ -f set_ftrace_notrace ]
 + echo
 + [ -f set_graph_function ]
 [1] Test failure of registering kprobe on non unique symbol
 + echo
 + tee set_graph_function set_graph_notrace
 + [ -f stack_trace_filter ]
 + echo
 + [ -f kprobe_events ]
 + echo
 + [ -f uprobe_events ]
 + echo
 + [ -f synthetic_events ]
 + echo
 + [ -f snapshot ]
 + echo 0
 + clear_trace
 + echo
 + enable_tracing
 + echo 1
 + . /home/ubuntu/autotest/client/tmp/ubuntu_kselftests_ftrace/src/linux/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_non_uniq_symbol.tc
 + SYMBOL=name_show
 + grep -c -E [[:alnum:]]+ t name_show /proc/kallsyms
 + [ 14 -le 1 ]
 + echo p:test_non_unique name_show
     [FAIL]

 # of passed: 0
 # of failed: 1
 # of unresolved: 0
 # of untested: 0
 # of unsupported: 0
 # of xfailed: 0
 # of undefined(test bug): 0

I think we're probably missing https://github.com/torvalds/linux/commit/b022f0c7e404887a7c5229788fc99eff9f9a80d5

Po-Hsu Lin (cypressyew)
description: updated
tags: added: 5.15 jammy
Po-Hsu Lin (cypressyew)
summary: ftrace:test.d--kprobe--kprobe_non_uniq_symbol.tc from
- ubuntu_kselftests_ftrace failed on 5.4
+ ubuntu_kselftests_ftrace failed on 5.4 / 5.15
Changed in linux (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.