Comment 0 for bug 1923683

Revision history for this message
Kelsey Steele (kelsey-steele) wrote : ftrace from ubuntu_kernel_selftests failed with "test for function event triggers" on F/riscv

ftrace from ubuntu_kernel_selftests failed with "test for function event triggers" on Groovy riscv 5.8.0-21.23

Log is getting cut off from regression test report. the below is all that could be retrieved at the moment:

04/13 23:48:00 DEBUG| utils:0116| Running 'sudo sh -c 'echo 1 > /proc/sys/net/ipv4/conf/all/accept_local''
04/13 23:48:00 DEBUG| utils:0116| Running 'sudo make -C linux/tools/testing/selftests TARGETS=ftrace run_tests'
04/13 23:48:00 DEBUG| utils:0153| [stdout] make: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests'
04/13 23:48:01 DEBUG| utils:0153| [stdout] make --no-builtin-rules ARCH=riscv -C ../../.. headers_install
04/13 23:48:01 DEBUG| utils:0153| [stdout] make[1]: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux'
04/13 23:48:14 DEBUG| utils:0153| [stdout] INSTALL ./usr/include
04/13 23:48:15 DEBUG| utils:0153| [stdout] make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux'
04/13 23:48:15 DEBUG| utils:0153| [stdout] make[1]: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/ftrace'
04/13 23:48:15 DEBUG| utils:0153| [stdout] make[1]: Nothing to be done for 'all'.
04/13 23:48:15 DEBUG| utils:0153| [stdout] make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/ftrace'
04/13 23:48:16 DEBUG| utils:0153| [stdout] make[1]: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/ftrace'
04/13 23:48:16 DEBUG| utils:0153| [stdout] TAP version 13
04/13 23:48:16 DEBUG| utils:0153| [stdout] 1..1
04/13 23:48:16 DEBUG| utils:0153| [stdout] # selftests: ftrace: ftracetest
04/13 23:48:16 ERROR| utils:0153| [stderr] perl: warning: Setting locale failed.
04/13 23:48:16 ERROR| utils:0153| [stderr] perl: warning: Please check that your locale settings:
04/13 23:48:16 ERROR| utils:0153| [stderr] LANGUAGE = (unset),
04/13 23:48:16 ERROR| utils:0153| [stderr] LC_ALL = (unset),
04/13 23:48:16 ERROR| utils:0153| [stderr] LC_CTYPE = "C.UTF-8",
04/13 23:48:16 ERROR| utils:0153| [stderr] LANG = "en_US.UTF-8"
04/13 23:48:16 ERROR| utils:0153| [stderr] are supported and installed on your system.
04/13 23:48:16 ERROR| utils:0153| [stderr] perl: warning: Falling back to the standard locale ("C").
04/13 23:48:17 DEBUG| utils:0153| [stdout] # === Ftrace unit tests ===
04/13 23:48:21 DEBUG| utils:0153| [stdout] # [1] Basic trace file check [PASS]
04/13 23:49:02 DEBUG| utils:0153| [stdout] # [2] Basic test for tracers [PASS]
04/13 23:49:09 DEBUG| utils:0153| [stdout] # [3] Basic trace clock test [PASS]
04/13 23:49:13 DEBUG| utils:0153| [stdout] # [4] Basic event tracing check [PASS]
04/13 23:49:18 DEBUG| utils:0153| [stdout] # [5] Change the ringbuffer size [PASS]
04/13 23:49:23 DEBUG| utils:0153| [stdout] # [6] Snapshot and tracing setting [PASS]
04/13 23:49:27 DEBUG| utils:0153| [stdout] # [7] trace_pipe and trace_marker [PASS]
04/13 23:49:32 DEBUG| utils:0153| [stdout] # [8] Test ftrace direct functions against tracers [UNRESOLVED]
04/13 23:49:33 DEBUG| utils:0153| [stdout] # [9] Test ftrace direct functions against kprobes [UNSUPPORTED]
04/13 23:49:37 DEBUG| utils:0153| [stdout] # [10] Generic dynamic event - add/remove kprobe events [FAIL]
04/13 23:49:37 DEBUG| utils:0153| [stdout] # [11] Generic dynamic event - add/remove synthetic events [UNSUPPORTED]
04/13 23:49:38 DEBUG| utils:0153| [stdout] # [12] Generic dynamic event - selective clear (compatibility) [UNSUPPORTED]
04/13 23:49:39 DEBUG| utils:0153| [stdout] # [13] Generic dynamic event - generic clear event [UNSUPPORTED]
04/13 23:49:44 DEBUG| utils:0153| [stdout] # [14] event tracing - enable/disable with event level files [PASS]
04/13 23:49:50 DEBUG| utils:0153| [stdout] # [15] event tracing - restricts events based on pid notrace filtering [PASS]
04/13 23:49:56 DEBUG| utils:0153| [stdout] # [16] event tracing - restricts events based on pid [PASS]
04/13 23:50:01 DEBUG| utils:0153| [stdout] # [17] event tracing - enable/disable with subsystem level files [PASS]
04/13 23:50:06 DEBUG| utils:0153| [stdout] # [18] event tracing - enable/disable with top level files [PASS]
04/13 23:50:12 DEBUG| utils:0153| [stdout] # [19] Test trace_printk from module [PASS]
04/13 23:50:30 DEBUG| utils:0153| [stdout] # [20] ftrace - function graph filters with stack tracer [PASS]
04/13 23:50:37 DEBUG| utils:0153| [stdout] # [21] ftrace - function graph filters [PASS]
04/13 23:50:46 DEBUG| utils:0153| [stdout] # [22] ftrace - function pid notrace filters [PASS]
04/13 23:50:55 DEBUG| utils:0153| [stdout] # [23] ftrace - function pid filters [PASS]
04/13 23:51:02 DEBUG| utils:0153| [stdout] # [24] ftrace - stacktrace filter command [PASS]
04/13 23:51:12 DEBUG| utils:0153| [stdout] # [25] ftrace - function trace with cpumask [PASS]
04/13 23:51:26 DEBUG| utils:0153| [stdout] # [26] ftrace - test for function event triggers [FAIL]
04/13 23:51:35 DEBUG| utils:0153| [stdout] # [27] ftrace - function trace on module [PASS]

The second failure "Generic dynamic event - add/remove kprobe events" is reported at:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1923682