← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2054362] Re: ftrace:test.d--kprobe--kprobe_non_uniq_symbol.tc from ubuntu_kselftests_ftrace failed on 5.4

 

** Description changed:

- Issue found on B-hwe-5.4.0-173.191~18.04.1
+ 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
+  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

** Tags added: 5.15 jammy

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

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

Status in ubuntu-kernel-tests:
  New
Status in linux package in Ubuntu:
  New
Status in linux source package in Focal:
  New
Status in linux source package in Jammy:
  New

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

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



References