ftrace from ubuntu_kernel_selftests failed with add/remove kprobe events on H/F riscv

Bug #1923682 reported by Kelsey Steele
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned

Bug Description

ftrace from ubuntu_kernel_selftests failed with add/remove kprobe events on G/riscv 5.8.0-21.23 and F/riscv-5.8 5.8.0-21.23~20.04.1

Not a regression as it has appeared on previous versions as recorded in LP#1894613 comment:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1894613/comments/8

The test results appear to be getting cut off. Below is all that could be retrieved currently from regression testing:

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

description: updated
tags: added: sru-20210412
Revision history for this message
Kleber Sacilotto de Souza (kleber-souza) wrote :

Also spotted with groovy/linux-kvm 5.8.0-1025.27.

tags: added: kvm
Revision history for this message
Guilherme G. Piccoli (gpiccoli) wrote :

I suggest we mark this one as duplicate of LP #1923683 or vice-versa.

Observed in G/RISC-V, cycle sru-20210510 .

tags: added: sru-20210510
Revision history for this message
Guilherme G. Piccoli (gpiccoli) wrote :

Observed on G/KVM, cycle sru-20210531 .

tags: added: sru-20210531
tags: added: hirsute
Revision history for this message
Kleber Sacilotto de Souza (kleber-souza) wrote :

Groovy has reached EOL but the same issue also affected hirsure/linux-riscv.

summary: ftrace from ubuntu_kernel_selftests failed with add/remove kprobe events
- on G/F riscv
+ on H/F riscv
tags: added: sru-20210816
removed: kqa-blocker
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Let's track this on bug 1940080

As the issue reported there is for G-5.8 / F-5.8

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.