[Kernel-packages] [Bug 1977827] Re: ftrace in ubuntu_kernel_selftests failed with "check if duplicate events are caught" on J-5.15 P9 / J-kvm / L-kvm

2023-07-10 Thread ThibaultF
** Tags removed: verification-needed-kinetic
** Tags added: verification-done-kinetic

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1977827

Title:
  ftrace in ubuntu_kernel_selftests failed with "check if duplicate
  events are caught" on J-5.15 P9 / J-kvm / L-kvm

Status in ubuntu-kernel-tests:
  Fix Committed
Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Jammy:
  Fix Committed
Status in linux source package in Kinetic:
  Fix Committed
Status in linux source package in Lunar:
  Fix Committed

Bug description:
  Issue found on Jammy 5.15.0-36.37 with Power9 node baltar

  Test failed with:
  # [15] Generic dynamic event - check if duplicate events are caught [FAIL]

  Test Log:
   make: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/ftrace'
   TAP version 13
   1..1
   # selftests: ftrace: ftracetest
   # === Ftrace unit tests ===
   # [1] Basic trace file check [PASS]
   # [2] Basic test for tracers [PASS]
   # [3] Basic trace clock test [PASS]
   # [4] Basic event tracing check  [PASS]
   # [5] Change the ringbuffer size [PASS]
   # [6] Snapshot and tracing setting   [PASS]
   # [7] trace_pipe and trace_marker[PASS]
   # [8] Test ftrace direct functions against tracers   [UNRESOLVED]
   # [9] Test ftrace direct functions against kprobes   [UNRESOLVED]
   # [10] Generic dynamic event - add/remove eprobe events  [PASS]
   # [11] Generic dynamic event - add/remove kprobe events  [PASS]
   # [12] Generic dynamic event - add/remove synthetic events   [PASS]
   # [13] Generic dynamic event - selective clear (compatibility)   [PASS]
   # [14] Generic dynamic event - generic clear event   [PASS]
   # [15] Generic dynamic event - check if duplicate events are caught  [FAIL]
   # [16] event tracing - enable/disable with event level files [PASS]
   # [17] event tracing - restricts events based on pid notrace filtering   
[PASS]
   # [18] event tracing - restricts events based on pid [PASS]
   # [19] event tracing - enable/disable with subsystem level files [PASS]
   # [20] event tracing - enable/disable with top level files   [PASS]
   # [21] Test trace_printk from module [PASS]
   # [22] ftrace - function graph filters with stack tracer [PASS]
   # [23] ftrace - function graph filters   [PASS]
   # [24] ftrace - function pid notrace filters [PASS]
   # [25] ftrace - function pid filters [PASS]
   # [26] ftrace - stacktrace filter command[PASS]
   # [27] ftrace - function trace with cpumask  [PASS]
   # [28] ftrace - test for function event triggers [PASS]
   # [29] ftrace - function trace on module [PASS]
   # [30] ftrace - function profiling   [PASS]
   # [31] ftrace - function profiler with function tracing  [PASS]
   # [32] ftrace - test reading of set_ftrace_filter[PASS]
   # [33] ftrace - test for function traceon/off triggers   [PASS]
   # [34] ftrace - test tracing error log support   [PASS]
   # [35] Test creation and deletion of trace instances while setting an event  
[PASS]
   # [36] Test creation and deletion of trace instances [PASS]
   # [37] Kprobe dynamic event - adding and removing[PASS]
   # [38] Kprobe dynamic event - busy event check   [PASS]
   # [39] Kprobe dynamic event with arguments   [PASS]
   # [40] Kprobe event with comm arguments  [PASS]
   # [41] Kprobe event string type argument [PASS]
   # [42] Kprobe event symbol argument  [PASS]
   # [43] Kprobe event argument syntax  [PASS]
   # [44] Kprobes event arguments with types[PASS]
   # [45] Kprobe event user-memory access   [UNSUPPORTED]
   # [46] Kprobe event auto/manual naming   [PASS]
   # [47] Kprobe dynamic event with function tracer [PASS]
   # [48] Create/delete multiprobe on kprobe event  [PASS]
   # [49] Kprobe event parser error log check   [PASS]
   # [50] Kretprobe dynamic event with arguments[PASS]
   # [51] Kretprobe dynamic event with maxactive[PASS]
   # [52] Kretprobe %return suffix test [PASS]
   # [53] Register/unregister many kprobe events[PASS]
   # [54] Kprobe profile[PASS]
   # [55] Uprobe event parser error log check   [PASS]
   # [56] test for the preemptirqsoff tracer[UNSUPPORTED]
   # [57] Meta-selftest: Checkbashisms  [PASS]
   # [58] Test wakeup tracer[PASS]
   # [59] Test wakeup RT tracer [PASS]
   # [60] event trigger - test inter-event histogram trigger expected fail 
actions  [XFAIL]
   # [61] event trigger - test field variable support   [PASS]
   # [62] event trigger - test multiple actions on hist trigger [PASS]
   # [63] event trigger - test inter-event histogram trigger onchange action
[PASS]
   # [64] event trigger - test inter-event histogram trigger onmatch action 
[PASS]
   # [65] event trigger - test inter-event histogram trigger 

[Kernel-packages] [Bug 1977827] Re: ftrace in ubuntu_kernel_selftests failed with "check if duplicate events are caught" on J-5.15 P9 / J-kvm / L-kvm

2023-07-10 Thread ThibaultF
** Changed in: ubuntu-kernel-tests
   Status: New => Fix Committed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1977827

Title:
  ftrace in ubuntu_kernel_selftests failed with "check if duplicate
  events are caught" on J-5.15 P9 / J-kvm / L-kvm

Status in ubuntu-kernel-tests:
  Fix Committed
Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Jammy:
  Fix Committed
Status in linux source package in Kinetic:
  Fix Committed
Status in linux source package in Lunar:
  Fix Committed

Bug description:
  Issue found on Jammy 5.15.0-36.37 with Power9 node baltar

  Test failed with:
  # [15] Generic dynamic event - check if duplicate events are caught [FAIL]

  Test Log:
   make: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/ftrace'
   TAP version 13
   1..1
   # selftests: ftrace: ftracetest
   # === Ftrace unit tests ===
   # [1] Basic trace file check [PASS]
   # [2] Basic test for tracers [PASS]
   # [3] Basic trace clock test [PASS]
   # [4] Basic event tracing check  [PASS]
   # [5] Change the ringbuffer size [PASS]
   # [6] Snapshot and tracing setting   [PASS]
   # [7] trace_pipe and trace_marker[PASS]
   # [8] Test ftrace direct functions against tracers   [UNRESOLVED]
   # [9] Test ftrace direct functions against kprobes   [UNRESOLVED]
   # [10] Generic dynamic event - add/remove eprobe events  [PASS]
   # [11] Generic dynamic event - add/remove kprobe events  [PASS]
   # [12] Generic dynamic event - add/remove synthetic events   [PASS]
   # [13] Generic dynamic event - selective clear (compatibility)   [PASS]
   # [14] Generic dynamic event - generic clear event   [PASS]
   # [15] Generic dynamic event - check if duplicate events are caught  [FAIL]
   # [16] event tracing - enable/disable with event level files [PASS]
   # [17] event tracing - restricts events based on pid notrace filtering   
[PASS]
   # [18] event tracing - restricts events based on pid [PASS]
   # [19] event tracing - enable/disable with subsystem level files [PASS]
   # [20] event tracing - enable/disable with top level files   [PASS]
   # [21] Test trace_printk from module [PASS]
   # [22] ftrace - function graph filters with stack tracer [PASS]
   # [23] ftrace - function graph filters   [PASS]
   # [24] ftrace - function pid notrace filters [PASS]
   # [25] ftrace - function pid filters [PASS]
   # [26] ftrace - stacktrace filter command[PASS]
   # [27] ftrace - function trace with cpumask  [PASS]
   # [28] ftrace - test for function event triggers [PASS]
   # [29] ftrace - function trace on module [PASS]
   # [30] ftrace - function profiling   [PASS]
   # [31] ftrace - function profiler with function tracing  [PASS]
   # [32] ftrace - test reading of set_ftrace_filter[PASS]
   # [33] ftrace - test for function traceon/off triggers   [PASS]
   # [34] ftrace - test tracing error log support   [PASS]
   # [35] Test creation and deletion of trace instances while setting an event  
[PASS]
   # [36] Test creation and deletion of trace instances [PASS]
   # [37] Kprobe dynamic event - adding and removing[PASS]
   # [38] Kprobe dynamic event - busy event check   [PASS]
   # [39] Kprobe dynamic event with arguments   [PASS]
   # [40] Kprobe event with comm arguments  [PASS]
   # [41] Kprobe event string type argument [PASS]
   # [42] Kprobe event symbol argument  [PASS]
   # [43] Kprobe event argument syntax  [PASS]
   # [44] Kprobes event arguments with types[PASS]
   # [45] Kprobe event user-memory access   [UNSUPPORTED]
   # [46] Kprobe event auto/manual naming   [PASS]
   # [47] Kprobe dynamic event with function tracer [PASS]
   # [48] Create/delete multiprobe on kprobe event  [PASS]
   # [49] Kprobe event parser error log check   [PASS]
   # [50] Kretprobe dynamic event with arguments[PASS]
   # [51] Kretprobe dynamic event with maxactive[PASS]
   # [52] Kretprobe %return suffix test [PASS]
   # [53] Register/unregister many kprobe events[PASS]
   # [54] Kprobe profile[PASS]
   # [55] Uprobe event parser error log check   [PASS]
   # [56] test for the preemptirqsoff tracer[UNSUPPORTED]
   # [57] Meta-selftest: Checkbashisms  [PASS]
   # [58] Test wakeup tracer[PASS]
   # [59] Test wakeup RT tracer [PASS]
   # [60] event trigger - test inter-event histogram trigger expected fail 
actions  [XFAIL]
   # [61] event trigger - test field variable support   [PASS]
   # [62] event trigger - test multiple actions on hist trigger [PASS]
   # [63] event trigger - test inter-event histogram trigger onchange action
[PASS]
   # [64] event trigger - test inter-event histogram trigger onmatch action 
[PASS]
   # [65] event trigger - test inter-event histogram trigger onmatch-onmax 

[Kernel-packages] [Bug 1977827] Re: ftrace in ubuntu_kernel_selftests failed with "check if duplicate events are caught" on J-5.15 P9 / J-kvm / L-kvm

2023-07-07 Thread ThibaultF
** Tags removed: verification-needed-jammy verification-needed-lunar
** Tags added: verification-done-jammy verification-done-lunar

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1977827

Title:
  ftrace in ubuntu_kernel_selftests failed with "check if duplicate
  events are caught" on J-5.15 P9 / J-kvm / L-kvm

Status in ubuntu-kernel-tests:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Jammy:
  Fix Committed
Status in linux source package in Kinetic:
  Fix Committed
Status in linux source package in Lunar:
  Fix Committed

Bug description:
  Issue found on Jammy 5.15.0-36.37 with Power9 node baltar

  Test failed with:
  # [15] Generic dynamic event - check if duplicate events are caught [FAIL]

  Test Log:
   make: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/ftrace'
   TAP version 13
   1..1
   # selftests: ftrace: ftracetest
   # === Ftrace unit tests ===
   # [1] Basic trace file check [PASS]
   # [2] Basic test for tracers [PASS]
   # [3] Basic trace clock test [PASS]
   # [4] Basic event tracing check  [PASS]
   # [5] Change the ringbuffer size [PASS]
   # [6] Snapshot and tracing setting   [PASS]
   # [7] trace_pipe and trace_marker[PASS]
   # [8] Test ftrace direct functions against tracers   [UNRESOLVED]
   # [9] Test ftrace direct functions against kprobes   [UNRESOLVED]
   # [10] Generic dynamic event - add/remove eprobe events  [PASS]
   # [11] Generic dynamic event - add/remove kprobe events  [PASS]
   # [12] Generic dynamic event - add/remove synthetic events   [PASS]
   # [13] Generic dynamic event - selective clear (compatibility)   [PASS]
   # [14] Generic dynamic event - generic clear event   [PASS]
   # [15] Generic dynamic event - check if duplicate events are caught  [FAIL]
   # [16] event tracing - enable/disable with event level files [PASS]
   # [17] event tracing - restricts events based on pid notrace filtering   
[PASS]
   # [18] event tracing - restricts events based on pid [PASS]
   # [19] event tracing - enable/disable with subsystem level files [PASS]
   # [20] event tracing - enable/disable with top level files   [PASS]
   # [21] Test trace_printk from module [PASS]
   # [22] ftrace - function graph filters with stack tracer [PASS]
   # [23] ftrace - function graph filters   [PASS]
   # [24] ftrace - function pid notrace filters [PASS]
   # [25] ftrace - function pid filters [PASS]
   # [26] ftrace - stacktrace filter command[PASS]
   # [27] ftrace - function trace with cpumask  [PASS]
   # [28] ftrace - test for function event triggers [PASS]
   # [29] ftrace - function trace on module [PASS]
   # [30] ftrace - function profiling   [PASS]
   # [31] ftrace - function profiler with function tracing  [PASS]
   # [32] ftrace - test reading of set_ftrace_filter[PASS]
   # [33] ftrace - test for function traceon/off triggers   [PASS]
   # [34] ftrace - test tracing error log support   [PASS]
   # [35] Test creation and deletion of trace instances while setting an event  
[PASS]
   # [36] Test creation and deletion of trace instances [PASS]
   # [37] Kprobe dynamic event - adding and removing[PASS]
   # [38] Kprobe dynamic event - busy event check   [PASS]
   # [39] Kprobe dynamic event with arguments   [PASS]
   # [40] Kprobe event with comm arguments  [PASS]
   # [41] Kprobe event string type argument [PASS]
   # [42] Kprobe event symbol argument  [PASS]
   # [43] Kprobe event argument syntax  [PASS]
   # [44] Kprobes event arguments with types[PASS]
   # [45] Kprobe event user-memory access   [UNSUPPORTED]
   # [46] Kprobe event auto/manual naming   [PASS]
   # [47] Kprobe dynamic event with function tracer [PASS]
   # [48] Create/delete multiprobe on kprobe event  [PASS]
   # [49] Kprobe event parser error log check   [PASS]
   # [50] Kretprobe dynamic event with arguments[PASS]
   # [51] Kretprobe dynamic event with maxactive[PASS]
   # [52] Kretprobe %return suffix test [PASS]
   # [53] Register/unregister many kprobe events[PASS]
   # [54] Kprobe profile[PASS]
   # [55] Uprobe event parser error log check   [PASS]
   # [56] test for the preemptirqsoff tracer[UNSUPPORTED]
   # [57] Meta-selftest: Checkbashisms  [PASS]
   # [58] Test wakeup tracer[PASS]
   # [59] Test wakeup RT tracer [PASS]
   # [60] event trigger - test inter-event histogram trigger expected fail 
actions  [XFAIL]
   # [61] event trigger - test field variable support   [PASS]
   # [62] event trigger - test multiple actions on hist trigger [PASS]
   # [63] event trigger - test inter-event histogram trigger onchange action
[PASS]
   # [64] event trigger - test inter-event histogram trigger onmatch action 
[PASS]
   # [65] event trigger - 

[Kernel-packages] [Bug 2026592] [NEW] ftrace in ubuntu_kernel_selftests failed with "check if duplicate events are caught" on P9

2023-07-07 Thread ThibaultF
Public bug reported:

Issue found on:
- Jammy 5.15.0-36.37 with Power9 baltar
- Kinetic 5.19.0-47.49 with Power9 baltar
- Lunar 6.2.0-25.25 with Power9 baltar


Test failed with:
# [15] Generic dynamic event - check if duplicate events are caught [FAIL]

Test Log:
 make: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/ftrace'
 TAP version 13
 1..1
 # selftests: ftrace: ftracetest
 # === Ftrace unit tests ===
 # [1] Basic trace file check [PASS]
 # [2] Basic test for tracers [PASS]
 # [3] Basic trace clock test [PASS]
 # [4] Basic event tracing check [PASS]
 # [5] Change the ringbuffer size [PASS]
 # [6] Snapshot and tracing setting [PASS]
 # [7] trace_pipe and trace_marker [PASS]
 # [8] Test ftrace direct functions against tracers [UNRESOLVED]
 # [9] Test ftrace direct functions against kprobes [UNRESOLVED]
 # [10] Generic dynamic event - add/remove eprobe events [PASS]
 # [11] Generic dynamic event - add/remove kprobe events [PASS]
 # [12] Generic dynamic event - add/remove synthetic events [PASS]
 # [13] Generic dynamic event - selective clear (compatibility) [PASS]
 # [14] Generic dynamic event - generic clear event [PASS]
 # [15] Generic dynamic event - check if duplicate events are caught [FAIL]
 # [16] event tracing - enable/disable with event level files [PASS]
 # [17] event tracing - restricts events based on pid notrace filtering [PASS]
 # [18] event tracing - restricts events based on pid [PASS]
 # [19] event tracing - enable/disable with subsystem level files [PASS]
 # [20] event tracing - enable/disable with top level files [PASS]
 # [21] Test trace_printk from module [PASS]
 # [22] ftrace - function graph filters with stack tracer [PASS]
 # [23] ftrace - function graph filters [PASS]
 # [24] ftrace - function pid notrace filters [PASS]
 # [25] ftrace - function pid filters [PASS]
 # [26] ftrace - stacktrace filter command [PASS]
 # [27] ftrace - function trace with cpumask [PASS]
 # [28] ftrace - test for function event triggers [PASS]
 # [29] ftrace - function trace on module [PASS]
 # [30] ftrace - function profiling [PASS]
 # [31] ftrace - function profiler with function tracing [PASS]
 # [32] ftrace - test reading of set_ftrace_filter [PASS]
 # [33] ftrace - test for function traceon/off triggers [PASS]
 # [34] ftrace - test tracing error log support [PASS]
 # [35] Test creation and deletion of trace instances while setting an event 
[PASS]
 # [36] Test creation and deletion of trace instances [PASS]
 # [37] Kprobe dynamic event - adding and removing [PASS]
 # [38] Kprobe dynamic event - busy event check [PASS]
 # [39] Kprobe dynamic event with arguments [PASS]
 # [40] Kprobe event with comm arguments [PASS]
 # [41] Kprobe event string type argument [PASS]
 # [42] Kprobe event symbol argument [PASS]
 # [43] Kprobe event argument syntax [PASS]
 # [44] Kprobes event arguments with types [PASS]
 # [45] Kprobe event user-memory access [UNSUPPORTED]
 # [46] Kprobe event auto/manual naming [PASS]
 # [47] Kprobe dynamic event with function tracer [PASS]
 # [48] Create/delete multiprobe on kprobe event [PASS]
 # [49] Kprobe event parser error log check [PASS]
 # [50] Kretprobe dynamic event with arguments [PASS]
 # [51] Kretprobe dynamic event with maxactive [PASS]
 # [52] Kretprobe %return suffix test [PASS]
 # [53] Register/unregister many kprobe events [PASS]
 # [54] Kprobe profile [PASS]
 # [55] Uprobe event parser error log check [PASS]
 # [56] test for the preemptirqsoff tracer [UNSUPPORTED]
 # [57] Meta-selftest: Checkbashisms [PASS]
 # [58] Test wakeup tracer [PASS]
 # [59] Test wakeup RT tracer [PASS]
 # [60] event trigger - test inter-event histogram trigger expected fail 
actions [XFAIL]
 # [61] event trigger - test field variable support [PASS]
 # [62] event trigger - test multiple actions on hist trigger [PASS]
 # [63] event trigger - test inter-event histogram trigger onchange action 
[PASS]
 # [64] event trigger - test inter-event histogram trigger onmatch action [PASS]
 # [65] event trigger - test inter-event histogram trigger onmatch-onmax action 
[PASS]
 # [66] event trigger - test inter-event histogram trigger onmax action [PASS]
 # [67] event trigger - test inter-event histogram trigger snapshot action 
[PASS]
 # [68] event trigger - test inter-event histogram trigger eprobe on synthetic 
event [PASS]
 # [69] event trigger - test inter-event histogram trigger trace action with 
dynamic string param [PASS]
 # [70] event trigger - test synthetic_events syntax parser [PASS]
 # [71] event trigger - test synthetic_events syntax parser errors [PASS]
 # [72] event trigger - test inter-event histogram trigger trace action [PASS]
 # [73] event trigger - test event enable/disable trigger [PASS]
 # [74] event trigger - test trigger filter [PASS]
 # [75] event trigger - test histogram modifiers [PASS]
 # [76] event trigger - test histogram parser errors [PASS]
 # [77] event trigger - test multiple histogram triggers [PASS]
 # 

[Kernel-packages] [Bug 1977827] Re: ftrace in ubuntu_kernel_selftests failed with "check if duplicate events are caught" on J-5.15 P9 / J-kvm / L-kvm

2023-06-12 Thread ThibaultF
** Merge proposal linked:
   https://code.launchpad.net/~thibf/+git/adt-matrix-hints/+merge/444544

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1977827

Title:
  ftrace in ubuntu_kernel_selftests failed with "check if duplicate
  events are caught" on J-5.15 P9 / J-kvm / L-kvm

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

Bug description:
  Issue found on Jammy 5.15.0-36.37 with Power9 node baltar

  Test failed with:
  # [15] Generic dynamic event - check if duplicate events are caught [FAIL]

  Test Log:
   make: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/ftrace'
   TAP version 13
   1..1
   # selftests: ftrace: ftracetest
   # === Ftrace unit tests ===
   # [1] Basic trace file check [PASS]
   # [2] Basic test for tracers [PASS]
   # [3] Basic trace clock test [PASS]
   # [4] Basic event tracing check  [PASS]
   # [5] Change the ringbuffer size [PASS]
   # [6] Snapshot and tracing setting   [PASS]
   # [7] trace_pipe and trace_marker[PASS]
   # [8] Test ftrace direct functions against tracers   [UNRESOLVED]
   # [9] Test ftrace direct functions against kprobes   [UNRESOLVED]
   # [10] Generic dynamic event - add/remove eprobe events  [PASS]
   # [11] Generic dynamic event - add/remove kprobe events  [PASS]
   # [12] Generic dynamic event - add/remove synthetic events   [PASS]
   # [13] Generic dynamic event - selective clear (compatibility)   [PASS]
   # [14] Generic dynamic event - generic clear event   [PASS]
   # [15] Generic dynamic event - check if duplicate events are caught  [FAIL]
   # [16] event tracing - enable/disable with event level files [PASS]
   # [17] event tracing - restricts events based on pid notrace filtering   
[PASS]
   # [18] event tracing - restricts events based on pid [PASS]
   # [19] event tracing - enable/disable with subsystem level files [PASS]
   # [20] event tracing - enable/disable with top level files   [PASS]
   # [21] Test trace_printk from module [PASS]
   # [22] ftrace - function graph filters with stack tracer [PASS]
   # [23] ftrace - function graph filters   [PASS]
   # [24] ftrace - function pid notrace filters [PASS]
   # [25] ftrace - function pid filters [PASS]
   # [26] ftrace - stacktrace filter command[PASS]
   # [27] ftrace - function trace with cpumask  [PASS]
   # [28] ftrace - test for function event triggers [PASS]
   # [29] ftrace - function trace on module [PASS]
   # [30] ftrace - function profiling   [PASS]
   # [31] ftrace - function profiler with function tracing  [PASS]
   # [32] ftrace - test reading of set_ftrace_filter[PASS]
   # [33] ftrace - test for function traceon/off triggers   [PASS]
   # [34] ftrace - test tracing error log support   [PASS]
   # [35] Test creation and deletion of trace instances while setting an event  
[PASS]
   # [36] Test creation and deletion of trace instances [PASS]
   # [37] Kprobe dynamic event - adding and removing[PASS]
   # [38] Kprobe dynamic event - busy event check   [PASS]
   # [39] Kprobe dynamic event with arguments   [PASS]
   # [40] Kprobe event with comm arguments  [PASS]
   # [41] Kprobe event string type argument [PASS]
   # [42] Kprobe event symbol argument  [PASS]
   # [43] Kprobe event argument syntax  [PASS]
   # [44] Kprobes event arguments with types[PASS]
   # [45] Kprobe event user-memory access   [UNSUPPORTED]
   # [46] Kprobe event auto/manual naming   [PASS]
   # [47] Kprobe dynamic event with function tracer [PASS]
   # [48] Create/delete multiprobe on kprobe event  [PASS]
   # [49] Kprobe event parser error log check   [PASS]
   # [50] Kretprobe dynamic event with arguments[PASS]
   # [51] Kretprobe dynamic event with maxactive[PASS]
   # [52] Kretprobe %return suffix test [PASS]
   # [53] Register/unregister many kprobe events[PASS]
   # [54] Kprobe profile[PASS]
   # [55] Uprobe event parser error log check   [PASS]
   # [56] test for the preemptirqsoff tracer[UNSUPPORTED]
   # [57] Meta-selftest: Checkbashisms  [PASS]
   # [58] Test wakeup tracer[PASS]
   # [59] Test wakeup RT tracer [PASS]
   # [60] event trigger - test inter-event histogram trigger expected fail 
actions  [XFAIL]
   # [61] event trigger - test field variable support   [PASS]
   # [62] event trigger - test multiple actions on hist trigger [PASS]
   # [63] event trigger - test inter-event histogram trigger onchange action
[PASS]
   # [64] event trigger - test inter-event histogram trigger onmatch action 
[PASS]
   # [65] event trigger - test inter-event histogram trigger onmatch-onmax 
action   [PASS]
   # [66] event trigger - test inter-event histogram trigger onmax action   

[Kernel-packages] [Bug 1977827] Re: ftrace in ubuntu_kernel_selftests failed with "check if duplicate events are caught" on J-5.15 P9 / J-kvm / L-kvm

2023-06-09 Thread ThibaultF
kprobe_events are not available (seems related to CONFIG_KALLSYMS disabled) and 
this test `tools/testing/selftests/ftrace/test.d/dynevent/test_duplicates.tc` 
doesn't seems to works well in this case as it fails quickly:
```
+ echo e:egroup/eevent syscalls/sys_enter_openat file=+0($filename):ustring 
./ftracetest: 18: echo: echo: I/O error
```

** Summary changed:

- ftrace in ubuntu_kernel_selftests failed with "check if duplicate events are 
caught" on J-5.15 P9 / J-kvm
+ ftrace in ubuntu_kernel_selftests failed with "check if duplicate events are 
caught" on J-5.15 P9 / J-kvm / L-kvm

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1977827

Title:
  ftrace in ubuntu_kernel_selftests failed with "check if duplicate
  events are caught" on J-5.15 P9 / J-kvm / L-kvm

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

Bug description:
  Issue found on Jammy 5.15.0-36.37 with Power9 node baltar

  Test failed with:
  # [15] Generic dynamic event - check if duplicate events are caught [FAIL]

  Test Log:
   make: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/ftrace'
   TAP version 13
   1..1
   # selftests: ftrace: ftracetest
   # === Ftrace unit tests ===
   # [1] Basic trace file check [PASS]
   # [2] Basic test for tracers [PASS]
   # [3] Basic trace clock test [PASS]
   # [4] Basic event tracing check  [PASS]
   # [5] Change the ringbuffer size [PASS]
   # [6] Snapshot and tracing setting   [PASS]
   # [7] trace_pipe and trace_marker[PASS]
   # [8] Test ftrace direct functions against tracers   [UNRESOLVED]
   # [9] Test ftrace direct functions against kprobes   [UNRESOLVED]
   # [10] Generic dynamic event - add/remove eprobe events  [PASS]
   # [11] Generic dynamic event - add/remove kprobe events  [PASS]
   # [12] Generic dynamic event - add/remove synthetic events   [PASS]
   # [13] Generic dynamic event - selective clear (compatibility)   [PASS]
   # [14] Generic dynamic event - generic clear event   [PASS]
   # [15] Generic dynamic event - check if duplicate events are caught  [FAIL]
   # [16] event tracing - enable/disable with event level files [PASS]
   # [17] event tracing - restricts events based on pid notrace filtering   
[PASS]
   # [18] event tracing - restricts events based on pid [PASS]
   # [19] event tracing - enable/disable with subsystem level files [PASS]
   # [20] event tracing - enable/disable with top level files   [PASS]
   # [21] Test trace_printk from module [PASS]
   # [22] ftrace - function graph filters with stack tracer [PASS]
   # [23] ftrace - function graph filters   [PASS]
   # [24] ftrace - function pid notrace filters [PASS]
   # [25] ftrace - function pid filters [PASS]
   # [26] ftrace - stacktrace filter command[PASS]
   # [27] ftrace - function trace with cpumask  [PASS]
   # [28] ftrace - test for function event triggers [PASS]
   # [29] ftrace - function trace on module [PASS]
   # [30] ftrace - function profiling   [PASS]
   # [31] ftrace - function profiler with function tracing  [PASS]
   # [32] ftrace - test reading of set_ftrace_filter[PASS]
   # [33] ftrace - test for function traceon/off triggers   [PASS]
   # [34] ftrace - test tracing error log support   [PASS]
   # [35] Test creation and deletion of trace instances while setting an event  
[PASS]
   # [36] Test creation and deletion of trace instances [PASS]
   # [37] Kprobe dynamic event - adding and removing[PASS]
   # [38] Kprobe dynamic event - busy event check   [PASS]
   # [39] Kprobe dynamic event with arguments   [PASS]
   # [40] Kprobe event with comm arguments  [PASS]
   # [41] Kprobe event string type argument [PASS]
   # [42] Kprobe event symbol argument  [PASS]
   # [43] Kprobe event argument syntax  [PASS]
   # [44] Kprobes event arguments with types[PASS]
   # [45] Kprobe event user-memory access   [UNSUPPORTED]
   # [46] Kprobe event auto/manual naming   [PASS]
   # [47] Kprobe dynamic event with function tracer [PASS]
   # [48] Create/delete multiprobe on kprobe event  [PASS]
   # [49] Kprobe event parser error log check   [PASS]
   # [50] Kretprobe dynamic event with arguments[PASS]
   # [51] Kretprobe dynamic event with maxactive[PASS]
   # [52] Kretprobe %return suffix test [PASS]
   # [53] Register/unregister many kprobe events[PASS]
   # [54] Kprobe profile[PASS]
   # [55] Uprobe event parser error log check   [PASS]
   # [56] test for the preemptirqsoff tracer[UNSUPPORTED]
   # [57] Meta-selftest: Checkbashisms  [PASS]
   # [58] Test wakeup tracer[PASS]
   # [59] Test wakeup RT tracer [PASS]
   # [60] event trigger - test inter-event histogram trigger expected fail 
actions