linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* perf test failures in linux-next on s390
@ 2023-06-13 12:54 Thomas Richter
  2023-06-13 14:32 ` Ian Rogers
  0 siblings, 1 reply; 15+ messages in thread
From: Thomas Richter @ 2023-06-13 12:54 UTC (permalink / raw)
  To: linux-perf-use., Arnaldo Carvalho de Melo, Ian Rogers

Hi all,

I have run the perf test suite on the current 6.4rc6 kernel and see just one error:
# ./perf test 2>&1 | fgrep FAILED
fgrep: warning: fgrep is obsolescent; using grep -F
 42.3: BPF prologue generation                                       : FAILED!
# 

However when I download the linux-next tree and build kernel and perf
tool with the same kernel config file, I get a bunch of failing test cases,
many with perf tool dumping core:

# perf test 2>&1 | fgrep FAILED
fgrep: warning: fgrep is obsolescent; using grep -F
  6.1: Test event parsing                                            : FAILED!
 10.3: Parsing of PMU event table metrics                            : FAILED!
 10.4: Parsing of PMU event table metrics with fake PMUs             : FAILED!
 17: Setup struct perf_event_attr                                    : FAILED!
 24: Number of exit events of a simple workload                      : FAILED! core-dump
 28: Use a dummy software event to keep tracking                     : FAILED!
 35: Track with sched_switch                                         : FAILED!
 42.3: BPF prologue generation                                       : FAILED!
 66: Parse and process metrics                                       : FAILED!
 68: Event expansion for cgroups                                     : FAILED!
 69.2: Perf time to TSC                                              : FAILED! core-dump
 74: build id cache operations                                       : FAILED! core-dump
 81: kernel lock contention analysis test                            : FAILED!
 86: Zstd perf.data compression/decompression                        : FAILED! core-dump
 87: perf record tests                                               : FAILED! core-dump
 94: perf all metricgroups test                                      : FAILED!
 95: perf all metrics test                                           : FAILED!
106: Test java symbol                                                : FAILED! core-dump
#

I am afraid this will show up pretty soon in the linux tree.
I am going to look into each failure in the next few days.

What I already found out is that many test cases now fail due to the
event/PMU rework, here is one example:

# perf test -Fvvvv 95
95: perf all metrics test
--- start ---
Testing cpi
....
Metric 'transaction' not printed in:
Error:
The TX_NC_TABORT event is not supported.
---- end ----
perf all metrics test: FAILED!
# ls -l /sys/devices/cpum_cf/events/TX_NC_TABORT
-r--r--r--. 1 root root 4096 Jun 13 13:49 /sys/devices/cpum_cf/events/TX_NC_TABORT
# 

As can be seen, the event is definitely there and supported.
This same test case succeeds in the linux tree!

Hopefully I can sort out some of the failures before this code show up
in the linux tree.
-- 
Thomas Richter, Dept 3303, IBM s390 Linux Development, Boeblingen, Germany
--
Vorsitzender des Aufsichtsrats: Gregor Pillen
Geschäftsführung: David Faller
Sitz der Gesellschaft: Böblingen / Registergericht: Amtsgericht Stuttgart, HRB 243294

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2023-06-19 10:04 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-13 12:54 perf test failures in linux-next on s390 Thomas Richter
2023-06-13 14:32 ` Ian Rogers
2023-06-14  8:31   ` Thomas Richter
2023-06-14 14:57     ` Ian Rogers
2023-06-15  8:57       ` Thomas Richter
2023-06-15  9:39       ` Thomas Richter
2023-06-15 14:34         ` Arnaldo Carvalho de Melo
2023-06-16 14:23           ` Ian Rogers
2023-06-16 14:36             ` Hybrid PMU issues on aarch64. was: " Arnaldo Carvalho de Melo
2023-06-16 14:44               ` Arnaldo Carvalho de Melo
2023-06-16 16:28                 ` Ian Rogers
2023-06-16 16:53                   ` Arnaldo Carvalho de Melo
2023-06-16 21:47                     ` Arnaldo Carvalho de Melo
2023-06-16 22:09                       ` Ian Rogers
2023-06-19 10:04               ` Thomas Richter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).