lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170607020855.GH2969@yexl-desktop>
Date:   Wed, 7 Jun 2017 10:08:55 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Andi Kleen <andi@...stfloor.org>
Cc:     peterz@...radead.org, acme@...nel.org, eranian@...gle.com,
        jolsa@...nel.org, linux-kernel@...r.kernel.org,
        Andi Kleen <ak@...ux.intel.com>, lkp@...org
Subject: [lkp-robot] [perf, tools]  d03bd7bd14:
 perf-sanity-tests.Test_data_source_output.fail


FYI, we noticed the following commit:

commit: d03bd7bd14ed9c17c2103d976bd31dc5129dda7a ("perf, tools: Add test cases for new data source encoding")
url: https://github.com/0day-ci/linux/commits/Andi-Kleen/perf-x86-Move-Nehalem-PEBS-code-to-flag/20170603-085256


in testcase: perf-sanity-tests
with following parameters:




on test machine: qemu-system-x86_64 -enable-kvm -cpu host -smp 4 -m 5G

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):




2017-06-06 10:22:01 make ARCH= -C /usr/src/linux-perf-x86_64-rhel-7.2-d03bd7bd14ed9c17c2103d976bd31dc5129dda7a/tools/perf
make: Entering directory '/usr/src/linux-perf-x86_64-rhel-7.2-d03bd7bd14ed9c17c2103d976bd31dc5129dda7a/tools/perf'
  BUILD:   Doing 'make .[33m-j4.[m' parallel build
  HOSTCC   fixdep.o
  HOSTLD   fixdep-in.o
  LINK     fixdep

Auto-detecting system features:
...                         dwarf: [ .[32mon.[m  ]
...            dwarf_getlocations: [ .[32mon.[m  ]
...                         glibc: [ .[32mon.[m  ]
...                          gtk2: [ .[31mOFF.[m ]
...                      libaudit: [ .[32mon.[m  ]
...                        libbfd: [ .[32mon.[m  ]
...                        libelf: [ .[32mon.[m  ]
...                       libnuma: [ .[32mon.[m  ]
...        numa_num_possible_cpus: [ .[32mon.[m  ]
...                       libperl: [ .[31mOFF.[m ]
...                     libpython: [ .[31mOFF.[m ]
...                      libslang: [ .[31mOFF.[m ]
...                     libcrypto: [ .[31mOFF.[m ]
...                     libunwind: [ .[32mon.[m  ]
...            libdw-dwarf-unwind: [ .[32mon.[m  ]
...                          zlib: [ .[32mon.[m  ]
...                          lzma: [ .[32mon.[m  ]
...                     get_cpuid: [ .[32mon.[m  ]
...                           bpf: [ .[32mon.[m  ]

  GEN      common-cmds.h
  CC       fd/array.o
  CC       fs/fs.o
  CC       cpu.o
  CC       event-parse.o
  CC       fs/tracing_path.o
  LD       fd/libapi-in.o
  CC       exec-cmd.o
  CC       debug.o
  CC       help.o
  LD       fs/libapi-in.o
  CC       str_error_r.o
  CC       libbpf.o
  LD       libapi-in.o
  AR       libapi.a
  CC       event-plugin.o
  HOSTCC   pmu-events/json.o
  CC       pager.o
  CC       bpf.o
  HOSTCC   pmu-events/jsmn.o
  CC       trace-seq.o
  CC       parse-options.o
  HOSTCC   pmu-events/jevents.o
  LD       libbpf-in.o
  LINK     libbpf.a
  CC       parse-filter.o
  CC       plugin_jbd2.o
  HOSTLD   pmu-events/jevents-in.o
  CC       run-command.o
  LD       plugin_jbd2-in.o
  CC       plugin_hrtimer.o
  LD       plugin_hrtimer-in.o
  CC       plugin_kmem.o
  CC       parse-utils.o
  LD       plugin_kmem-in.o
  CC       plugin_kvm.o
  GEN      perf-archive
  CC       kbuffer-parse.o
  GEN      perf-with-kcore
  CC       plugin_mac80211.o
  LD       plugin_mac80211-in.o
  CC       sigchain.o
  LD       plugin_kvm-in.o
  LD       libtraceevent-in.o
  CC       plugin_sched_switch.o
  LINK     libtraceevent.a
  CC       subcmd-config.o
  CC       util/annotate.o
  CC       builtin-bench.o
  LD       plugin_sched_switch-in.o
  CC       plugin_function.o
  LD       libsubcmd-in.o
  AR       libsubcmd.a
  CC       util/block-range.o
  LD       plugin_function-in.o
  CC       plugin_xen.o
  LD       plugin_xen-in.o
  CC       plugin_scsi.o
  CC       builtin-annotate.o
  LD       plugin_scsi-in.o
  CC       plugin_cfg80211.o
  LD       plugin_cfg80211-in.o
  LINK     plugin_jbd2.so
  LINK     plugin_hrtimer.so
  LINK     pmu-events/jevents
  LINK     plugin_kmem.so
  CC       util/build-id.o
  LINK     plugin_kvm.so
  LINK     plugin_mac80211.so
  LINK     plugin_sched_switch.so
  LINK     plugin_function.so
  LINK     plugin_xen.so
  LINK     plugin_scsi.so
  CC       builtin-config.o
  LINK     plugin_cfg80211.so
  CC       util/config.o
  CC       builtin-diff.o
  GEN      pmu-events/pmu-events.c
  CC       pmu-events/pmu-events.o
  GEN      libtraceevent-dynamic-list
  CC       util/ctype.o
  CC       builtin-evlist.o
  CC       util/db-export.o
  CC       arch/common.o
  CC       builtin-ftrace.o
  LD       pmu-events/pmu-events-in.o
  CC       util/env.o
  CC       ui/setup.o
  CC       arch/x86/util/header.o
  CC       util/event.o
  CC       ui/helpline.o
  CC       arch/x86/util/tsc.o
  CC       builtin-help.o
  CC       arch/x86/util/pmu.o
  CC       ui/progress.o
  CC       ui/util.o
  CC       arch/x86/util/kvm-stat.o
  CC       ui/hist.o
  CC       builtin-sched.o
  CC       arch/x86/util/perf_regs.o
  CC       arch/x86/util/group.o
  CC       util/evlist.o
  CC       arch/x86/util/dwarf-regs.o
  CC       arch/x86/util/unwind-libunwind.o
  CC       arch/x86/util/auxtrace.o
  CC       arch/x86/util/intel-pt.o
  CC       arch/x86/util/intel-bts.o
  CC       ui/stdio/hist.o
  CC       util/evsel.o
  CC       builtin-buildid-list.o
  LD       arch/x86/util/libperf-in.o
  CC       arch/x86/tests/regs_load.o
  CC       arch/x86/tests/dwarf-unwind.o
  CC       builtin-buildid-cache.o
  CC       arch/x86/tests/arch-tests.o
  CC       arch/x86/tests/rdpmc.o
  LD       ui/libperf-in.o
  CC       util/evsel_fprintf.o
  CC       builtin-kallsyms.o
  CC       arch/x86/tests/perf-time-to-tsc.o
  CC       builtin-list.o
  LD       scripts/libperf-in.o
  CC       util/find_bit.o
  CC       arch/x86/tests/insn-x86.o
  CC       trace/beauty/statx.o
  CC       builtin-record.o
  LD       trace/beauty/libperf-in.o
  CC       util/kallsyms.o
  CC       builtin-report.o
  CC       arch/x86/tests/intel-cqm.o
  LD       arch/x86/tests/libperf-in.o
  LD       arch/x86/libperf-in.o
  LD       arch/libperf-in.o
  CC       util/levenshtein.o
  CC       builtin-stat.o
  CC       util/llvm-utils.o
  CC       util/memswap.o
  CC       builtin-timechart.o
  BISON    util/parse-events-bison.c
  CC       util/perf_regs.o
  CC       builtin-top.o
  CC       util/path.o
  CC       util/print_binary.o
  CC       util/rbtree.o
  CC       util/libstring.o
  CC       util/bitmap.o
  CC       builtin-script.o
  CC       builtin-kmem.o
  CC       util/hweight.o
  CC       builtin-lock.o
  CC       util/quote.o
  CC       util/strbuf.o
  CC       util/string.o
  CC       builtin-kvm.o
  CC       util/strlist.o
  CC       util/strfilter.o
  CC       builtin-inject.o
  CC       util/top.o
  CC       builtin-mem.o
  CC       util/usage.o
  CC       builtin-data.o
  CC       util/dso.o
  CC       util/symbol.o
  CC       builtin-version.o
  CC       builtin-c2c.o
  CC       builtin-trace.o
  CC       builtin-probe.o
  CC       util/symbol_fprintf.o
  CC       util/color.o
  CC       util/header.o
  CC       bench/sched-messaging.o
  CC       bench/sched-pipe.o
  CC       bench/mem-functions.o
  CC       bench/futex-hash.o
  CC       bench/futex-wake.o
  CC       bench/futex-wake-parallel.o
  CC       tests/builtin-test.o
  CC       bench/futex-requeue.o
  CC       bench/futex-lock-pi.o
  CC       bench/mem-memcpy-x86-64-asm.o
  CC       tests/parse-events.o
  CC       tests/dso-data.o
  CC       bench/mem-memset-x86-64-asm.o
  CC       bench/numa.o
  CC       util/callchain.o
  CC       tests/attr.o
  CC       tests/vmlinux-kallsyms.o
  CC       tests/openat-syscall.o
  LD       bench/perf-in.o
  CC       perf.o
  CC       tests/openat-syscall-all-cpus.o
  CC       tests/openat-syscall-tp-fields.o
  CC       tests/mmap-basic.o
  CC       util/values.o
  CC       util/debug.o
  CC       tests/perf-record.o
  CC       util/machine.o
  CC       util/map.o
  CC       tests/evsel-roundtrip-name.o
  CC       tests/evsel-tp-sched.o
  CC       util/pstack.o
  CC       tests/fdarray.o
  CC       tests/pmu.o
  CC       util/session.o
  CC       util/syscalltbl.o
  CC       tests/hists_common.o
  CC       tests/hists_link.o
  CC       tests/hists_filter.o
  CC       util/ordered-events.o
  CC       tests/hists_output.o
  CC       tests/hists_cumulate.o
  CC       util/namespaces.o
  CC       tests/python-use.o
  CC       util/comm.o
  CC       tests/bp_signal.o
  CC       util/thread.o
  CC       util/thread_map.o
  CC       util/trace-event-parse.o
  CC       tests/bp_signal_overflow.o
  CC       tests/task-exit.o
  CC       tests/sw-clock.o
  CC       tests/mmap-thread-lookup.o
  CC       util/parse-events-bison.o
  BISON    util/pmu-bison.c
  CC       tests/thread-mg-share.o
  CC       util/trace-event-read.o
  CC       util/trace-event-info.o
  CC       tests/switch-tracking.o
  CC       tests/keep-tracking.o
  CC       tests/code-reading.o
  CC       util/trace-event-scripting.o
  CC       util/trace-event.o
  CC       util/svghelper.o
  CC       tests/sample-parsing.o
  CC       util/sort.o
  CC       tests/parse-no-sample-id-all.o
  CC       tests/kmod-path.o
  CC       util/hist.o
  CC       util/util.o
  CC       tests/thread-map.o
  CC       tests/llvm.o
  CC       util/xyarray.o
  CC       util/cpumap.o
  CC       tests/bpf.o
  CC       tests/topology.o
  CC       tests/mem.o
  CC       tests/cpumap.o
  CC       util/cgroup.o
  CC       util/target.o
  CC       tests/stat.o
  CC       tests/event_update.o
  CC       util/rblist.o
  CC       tests/event-times.o
  CC       tests/expr.o
  CC       util/intlist.o
  CC       util/vdso.o
  CC       tests/backward-ring-buffer.o
  CC       util/counts.o
  CC       util/stat.o
  CC       tests/sdt.o
  CC       tests/is_printable_array.o
  CC       util/stat-shadow.o
  CC       tests/bitmap.o
  CC       util/record.o
  CC       tests/perf-hooks.o
  CC       util/srcline.o
  CC       tests/clang.o
  CC       tests/unit_number__scnprintf.o
  CC       tests/dwarf-unwind.o
  CC       util/data.o
  CC       util/tsc.o
  CC       tests/llvm-src-base.o
  CC       util/cloexec.o
  CC       tests/llvm-src-kbuild.o
  CC       tests/llvm-src-prologue.o
  CC       tests/llvm-src-relocation.o
  CC       util/call-path.o
  CC       util/thread-stack.o
  LD       tests/perf-in.o
  CC       util/auxtrace.o
  CC       util/intel-pt-decoder/intel-pt-pkt-decoder.o
  LD       perf-in.o
  GEN      util/intel-pt-decoder/inat-tables.c
  LD       util/scripting-engines/libperf-in.o
  CC       util/intel-pt.o
  CC       util/intel-pt-decoder/intel-pt-log.o
  CC       util/intel-bts.o
  CC       util/intel-pt-decoder/intel-pt-decoder.o
  CC       util/parse-branch-options.o
  CC       util/dump-insn.o
  CC       util/parse-regs-options.o
  CC       util/term.o
  CC       util/help-unknown-cmd.o
  CC       util/mem-events.o
  CC       util/vsprintf.o
  CC       util/drv_configs.o
  CC       util/units.o
  CC       util/intel-pt-decoder/intel-pt-insn-decoder.o
  CC       util/time-utils.o
  BISON    util/expr-bison.c
  CC       util/bpf-loader.o
  CC       util/bpf-prologue.o
  CC       util/symbol-elf.o
  CC       util/probe-file.o
  LD       util/intel-pt-decoder/libperf-in.o
  CC       util/probe-event.o
  CC       util/probe-finder.o
  CC       util/dwarf-aux.o
  CC       util/dwarf-regs.o
  CC       util/unwind-libunwind-local.o
  CC       util/unwind-libunwind.o
  CC       util/zlib.o
  CC       util/lzma.o
  CC       util/demangle-java.o
  CC       util/demangle-rust.o
  CC       util/jitdump.o
  CC       util/genelf.o
  CC       util/genelf_debug.o
  CC       util/perf-hooks.o
  FLEX     util/parse-events-flex.c
  FLEX     util/pmu-flex.c
  CC       util/pmu-bison.o
  CC       util/expr-bison.o
  CC       util/parse-events.o
  CC       util/parse-events-flex.o
  CC       util/pmu.o
  CC       util/pmu-flex.o
  LD       util/libperf-in.o
  LD       libperf-in.o
  AR       libperf.a
  LINK     perf
make: Leaving directory '/usr/src/linux-perf-x86_64-rhel-7.2-d03bd7bd14ed9c17c2103d976bd31dc5129dda7a/tools/perf'
2017-06-06 10:27:16 sudo /usr/src/linux-perf-x86_64-rhel-7.2-d03bd7bd14ed9c17c2103d976bd31dc5129dda7a/tools/perf/perf test
 1: vmlinux symtab matches kallsyms            : Skip
 2: Detect openat syscall event                : Ok
 3: Detect openat syscall event on all cpus    : Ok
 4: Read samples using the mmap interface      : Ok
 5: Test data source output                    : FAILED!
 6: Parse event definition strings             : Ok
 7: Simple expression parser                   : Ok
 8: PERF_RECORD_* events & perf_sample fields  : Ok
 9: Parse perf pmu format                      : Ok
10: DSO data read                              : Ok
11: DSO data cache                             : Ok
12: DSO data reopen                            : Ok
13: Roundtrip evsel->name                      : Ok
14: Parse sched tracepoints fields             : Ok
15: syscalls:sys_enter_openat event fields     : Ok
16: Setup struct perf_event_attr               : Skip
17: Match and link multiple hists              : Ok
18: 'import perf' in python                    : FAILED!
19: Breakpoint overflow signal handler         : Ok
20: Breakpoint overflow sampling               : Ok
21: Number of exit events of a simple workload : Ok
22: Software clock events period values        : Ok
23: Object code reading                        : Ok
24: Sample parsing                             : Ok
25: Use a dummy software event to keep tracking: Ok
26: Parse with no sample_id_all bit set        : Ok
27: Filter hist entries                        : Ok
28: Lookup mmap thread                         : Ok
29: Share thread mg                            : Ok
30: Sort output of hist entries                : Ok
31: Cumulate child hist entries                : Ok
32: Track with sched_switch                    : Ok
33: Filter fds with revents mask in a fdarray  : Ok
34: Add fd to a fdarray, making it autogrow    : Ok
35: kmod_path__parse                           : Ok
36: Thread map                                 : Ok
37: LLVM search and compile                    :
37.1: Basic BPF llvm compile                    : Skip
37.2: kbuild searching                          : Skip
37.3: Compile source for BPF prologue generation: Skip
37.4: Compile source for BPF relocation         : Skip
38: Session topology                           : Ok
39: BPF filter                                 :
39.1: Basic BPF filtering                      : Skip
39.2: BPF pinning                              : Skip
39.3: BPF prologue generation                  : Skip
39.4: BPF relocation checker                   : Skip
40: Synthesize thread map                      : Ok
41: Remove thread map                          : Ok
42: Synthesize cpu map                         : Ok
43: Synthesize stat config                     : Ok
44: Synthesize stat                            : Ok
45: Synthesize stat round                      : Ok
46: Synthesize attr update                     : Ok
47: Event times                                : Ok
48: Read backward ring buffer                  : Ok
49: Print cpu map                              : Ok
50: Probe SDT events                           : Skip
51: is_printable_array                         : Ok
52: Print bitmap                               : Ok
53: perf hooks                                 : Ok
54: builtin clang support                      : Skip (not compiled in)
55: unit_number__scnprintf                     : Ok
56: x86 rdpmc                                  : Ok
57: Convert perf time to TSC                   : Ok
58: DWARF unwind                               : Ok
59: x86 instruction decoder - new instructions : Ok
60: Intel cqm nmi context read                 : Skip



To reproduce:

        git clone https://github.com/01org/lkp-tests.git
        cd lkp-tests
        bin/lkp qemu -k <bzImage> job-script  # job-script is attached in this email



Thanks,
Xiaolong

View attachment "config-4.12.0-rc2-00058-gd03bd7b" of type "text/plain" (159381 bytes)

View attachment "job-script" of type "text/plain" (4524 bytes)

Download attachment "dmesg.xz" of type "application/octet-stream" (22000 bytes)

View attachment "perf-sanity-tests" of type "text/plain" (14875 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ