ftrace from ubuntu_kernel_selftests failed with "test for function event triggers" on F/G/H/I

Bug #1923683 reported by Kelsey Steele
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned
linux (Ubuntu)
Incomplete
Undecided
Unassigned
Focal
Confirmed
Undecided
Unassigned
Groovy
Won't Fix
Undecided
Unassigned
Hirsute
Won't Fix
Undecided
Unassigned
Impish
Won't Fix
Undecided
Unassigned
Kinetic
Confirmed
Undecided
Unassigned

Bug Description

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

This test was recently added, not considering a regression

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

summary: ftrace from ubuntu_kernel_selftests failed with "test for function event
- triggers" on F/riscv
+ triggers" on G/riscv
description: updated
tags: added: sru-20210412
Revision history for this message
Kelsey Steele (kelsey-steele) wrote : Re: ftrace from ubuntu_kernel_selftests failed with "test for function event triggers" on G/riscv

found on focal 5.4.0-73.82 s390x host s2lp4

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

Observed on G/kvm , cycle sru-20210510 .

tags: added: bionic kvm linux-kvm sru-20210510
tags: removed: bionic
Revision history for this message
Guilherme G. Piccoli (gpiccoli) wrote : Re: ftrace from ubuntu_kernel_selftests failed with "test for function event triggers" on G/H

Observed on H/kvm , cycle sru-20210510 .

summary: ftrace from ubuntu_kernel_selftests failed with "test for function event
- triggers" on G/riscv
+ triggers" on G/H
tags: added: 5.11 hirsute
Revision history for this message
Guilherme G. Piccoli (gpiccoli) wrote :

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

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

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

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

Observed on G/KVM, cycle sru-20210531 .

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

Also found with focal/linux-hwe-5.11 on ADT.

tags: added: hwe-5.11
tags: added: sru-20210621
summary: ftrace from ubuntu_kernel_selftests failed with "test for function event
- triggers" on G/H
+ triggers" on F/G/H
tags: added: sru-20210719
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1923683

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Changed in linux (Ubuntu Focal):
status: New → Incomplete
Changed in linux (Ubuntu Groovy):
status: New → Incomplete
Changed in linux (Ubuntu Hirsute):
status: New → Incomplete
Changed in linux (Ubuntu Groovy):
status: Incomplete → Won't Fix
Changed in linux (Ubuntu Hirsute):
status: Incomplete → Confirmed
Changed in linux (Ubuntu Focal):
status: Incomplete → Confirmed
tags: added: sru-20211129
Revision history for this message
Kelsey Steele (kelsey-steele) wrote : Re: ftrace from ubuntu_kernel_selftests failed with "test for function event triggers" on F/G/H

Found on Impish 5.13.0-23.23

summary: ftrace from ubuntu_kernel_selftests failed with "test for function event
- triggers" on F/G/H
+ triggers" on F/G/H/I
Revision history for this message
Brian Murray (brian-murray) wrote :

The Hirsute Hippo has reached End of Life, so this bug will not be fixed for that release.

Changed in linux (Ubuntu Hirsute):
status: Confirmed → Won't Fix
Changed in linux (Ubuntu Impish):
status: New → Confirmed
Revision history for this message
Brian Murray (brian-murray) wrote :

Ubuntu 21.10 (Impish Indri) has reached end of life, so this bug will not be fixed for that specific release.

Changed in linux (Ubuntu Impish):
status: Confirmed → Won't Fix
Changed in linux (Ubuntu Kinetic):
status: New → Confirmed
Po-Hsu Lin (cypressyew)
tags: added: sru-20230612
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.