public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <xiaolong.ye@intel.com>
To: Davidlohr Bueso <dave@stgolabs.net>
Cc: acme@kernel.org, jolsa@redhat.com, ak@linux.intel.com,
	mingo@redhat.com, dave@stgolabs.net,
	linux-kernel@vger.kernel.org, Davidlohr Bueso <dbueso@suse.de>,
	lkp@01.org
Subject: [lkp-robot] [perf machine]  8edf8850d5: stderr./usr/src/linux-perf-x86_64-rhel-#/tools/perf/util/rb_resort.h:#:#:error:passing_argument#of'threads_sorted__new'from_incompatible_pointer_type[-Werror=incompatible-pointer-types]
Date: Thu, 4 Jan 2018 13:51:10 +0800	[thread overview]
Message-ID: <20180104055110.GC23834@yexl-desktop> (raw)
In-Reply-To: <20171127023046.19139-3-dave@stgolabs.net>

[-- Attachment #1: Type: text/plain, Size: 960 bytes --]


FYI, we noticed the following commit (built with gcc-7):

commit: 8edf8850d51e911a35b5d7aad4f8604db11abc66 ("perf machine: Use cached rbtrees")
url: https://github.com/0day-ci/linux/commits/Davidlohr-Bueso/tools-perf-Update-rbtree-implementation-and-optimize-users/20171128-120320


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




on test machine: qemu-system-x86_64 -enable-kvm -cpu kvm64,+ssse3 -smp 2 -m 8G

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


[   68.830934] /usr/src/linux-perf-x86_64-rhel-7.2-8edf8850d51e911a35b5d7aad4f8604db11abc66/tools/perf/util/rb_resort.h:148:28: error: passing argument 1 of 'threads_sorted__new' from incompatible pointer type [-Werror=incompatible-pointer-types]


To reproduce:

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



Thanks,
Xiaolong

[-- Attachment #2: job-script --]
[-- Type: text/plain, Size: 4382 bytes --]

#!/bin/sh

export_top_env()
{
	export suite='perf-sanity-tests'
	export testcase='perf-sanity-tests'
	export category='functional'
	export job_origin='/lkp/lkp/src/allot/rand/vm-lkp-nex04-8G/perf-sanity-tests.yaml'
	export testbox='vm-lkp-nex04-8G-7'
	export tbox_group='vm-lkp-nex04-8G'
	export kconfig='x86_64-rhel-7.2'
	export compiler='gcc-7'
	export queue='bisect'
	export branch='linux-devel/devel-hourly-2017113020'
	export commit='8edf8850d51e911a35b5d7aad4f8604db11abc66'
	export submit_id='5a20989b0b9a932e0b23ef08'
	export job_file='/lkp/scheduled/vm-lkp-nex04-8G-7/perf-sanity-tests-defaults-debian-x86_64-2016-08-31.cgz-8edf8850d51e911a35b5d7aad4f8604db11abc66-20171201-11787-559318-0.yaml'
	export id='068eb217604f9cb2c499ea3bf76c9c6f7712efeb'
	export model='qemu-system-x86_64 -enable-kvm -cpu kvm64,+ssse3'
	export nr_vm=10
	export nr_cpu=2
	export memory='8G'
	export hdd_partitions='/dev/vda'
	export need_linux_perf=true
	export need_kconfig='CONFIG_KVM_GUEST=y'
	export ssh_base_port=23250
	export rootfs='debian-x86_64-2016-08-31.cgz'
	export enqueue_time='2017-12-01 07:47:40 +0800'
	export _id='5a20989b0b9a932e0b23ef08'
	export _rt='/result/perf-sanity-tests/defaults/vm-lkp-nex04-8G/debian-x86_64-2016-08-31.cgz/x86_64-rhel-7.2/gcc-7/8edf8850d51e911a35b5d7aad4f8604db11abc66'
	export user='lkp'
	export result_root='/result/perf-sanity-tests/defaults/vm-lkp-nex04-8G/debian-x86_64-2016-08-31.cgz/x86_64-rhel-7.2/gcc-7/8edf8850d51e911a35b5d7aad4f8604db11abc66/0'
	export LKP_SERVER='inn'
	export max_uptime=3600
	export initrd='/osimage/debian/debian-x86_64-2016-08-31.cgz'
	export bootloader_append='root=/dev/ram0
user=lkp
job=/lkp/scheduled/vm-lkp-nex04-8G-7/perf-sanity-tests-defaults-debian-x86_64-2016-08-31.cgz-8edf8850d51e911a35b5d7aad4f8604db11abc66-20171201-11787-559318-0.yaml
ARCH=x86_64
kconfig=x86_64-rhel-7.2
branch=linux-devel/devel-hourly-2017113020
commit=8edf8850d51e911a35b5d7aad4f8604db11abc66
BOOT_IMAGE=/pkg/linux/x86_64-rhel-7.2/gcc-7/8edf8850d51e911a35b5d7aad4f8604db11abc66/vmlinuz-4.14.0-01278-g8edf885
max_uptime=3600
RESULT_ROOT=/result/perf-sanity-tests/defaults/vm-lkp-nex04-8G/debian-x86_64-2016-08-31.cgz/x86_64-rhel-7.2/gcc-7/8edf8850d51e911a35b5d7aad4f8604db11abc66/0
LKP_SERVER=inn
debug
apic=debug
sysrq_always_enabled
rcupdate.rcu_cpu_stall_timeout=100
net.ifnames=0
printk.devkmsg=on
panic=-1
softlockup_panic=1
nmi_watchdog=panic
oops=panic
load_ramdisk=2
prompt_ramdisk=0
drbd.minor_count=8
systemd.log_level=err
ignore_loglevel
console=tty0
earlyprintk=ttyS0,115200
console=ttyS0,115200
vga=normal
rw'
	export modules_initrd='/pkg/linux/x86_64-rhel-7.2/gcc-7/8edf8850d51e911a35b5d7aad4f8604db11abc66/modules.cgz'
	export bm_initrd='/osimage/deps/debian-x86_64-2016-08-31.cgz/lkp_2017-08-01.cgz,/osimage/deps/debian-x86_64-2016-08-31.cgz/rsync-rootfs_2016-11-15.cgz,/osimage/deps/debian-x86_64-2016-08-31.cgz/run-ipconfig_2016-11-15.cgz,/osimage/deps/debian-x86_64-2016-08-31.cgz/perf-sanity-tests_2017-09-25.cgz,/osimage/pkg/debian-x86_64-2016-08-31.cgz/perf-x86_64-a8c964eacb21_2017-10-01.cgz'
	export linux_perf_initrd='/pkg/linux/x86_64-rhel-7.2/gcc-7/8edf8850d51e911a35b5d7aad4f8604db11abc66/linux-perf.cgz'
	export lkp_initrd='/lkp/lkp/lkp-x86_64.cgz'
	export site='inn'
	export LKP_CGI_PORT=80
	export LKP_CIFS_PORT=139
	export kernel='/pkg/linux/x86_64-rhel-7.2/gcc-7/8edf8850d51e911a35b5d7aad4f8604db11abc66/vmlinuz-4.14.0-01278-g8edf885'
	export dequeue_time='2017-12-01 08:09:44 +0800'
	export job_initrd='/lkp/scheduled/vm-lkp-nex04-8G-7/perf-sanity-tests-defaults-debian-x86_64-2016-08-31.cgz-8edf8850d51e911a35b5d7aad4f8604db11abc66-20171201-11787-559318-0.cgz'

	[ -n "$LKP_SRC" ] ||
	export LKP_SRC=/lkp/${user:-lkp}/src
}

run_job()
{
	echo $$ > $TMP/run-job.pid

	. $LKP_SRC/lib/http.sh
	. $LKP_SRC/lib/job.sh
	. $LKP_SRC/lib/env.sh

	export_top_env

	run_monitor $LKP_SRC/monitors/wrapper kmsg
	run_monitor $LKP_SRC/monitors/wrapper heartbeat
	run_monitor $LKP_SRC/monitors/wrapper oom-killer
	run_monitor $LKP_SRC/monitors/plain/watchdog

	run_test $LKP_SRC/tests/wrapper perf-sanity-tests
}

extract_stats()
{
	$LKP_SRC/stats/wrapper perf-sanity-tests
	$LKP_SRC/stats/wrapper kmsg

	$LKP_SRC/stats/wrapper time perf-sanity-tests.time
	$LKP_SRC/stats/wrapper time
	$LKP_SRC/stats/wrapper dmesg
	$LKP_SRC/stats/wrapper kmsg
	$LKP_SRC/stats/wrapper stderr
	$LKP_SRC/stats/wrapper last_state
}

"$@"

[-- Attachment #3: dmesg.xz --]
[-- Type: application/x-xz, Size: 19228 bytes --]

[-- Attachment #4: perf-sanity-tests --]
[-- Type: text/plain, Size: 9646 bytes --]

2017-12-01 08:11:10 make LLVM_CONFIG=/usr/bin/llvm-config-3.9 LIBCLANGLLVM=1 ARCH= -C /usr/src/linux-perf-x86_64-rhel-7.2-8edf8850d51e911a35b5d7aad4f8604db11abc66/tools/perf
make: Entering directory '/usr/src/linux-perf-x86_64-rhel-7.2-8edf8850d51e911a35b5d7aad4f8604db11abc66/tools/perf'
  BUILD:   Doing 'make ^[[33m-j2^[[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: [ ^[[32mon^[[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       event-parse.o
  LD       fd/libapi-in.o
  CC       fs/fs.o
  CC       fs/tracing_path.o
  LD       fs/libapi-in.o
  CC       cpu.o
  CC       debug.o
  CC       str_error_r.o
  LD       libapi-in.o
  AR       libapi.a
  CC       event-plugin.o
  CC       trace-seq.o
  CC       exec-cmd.o
  CC       parse-filter.o
  CC       help.o
  CC       parse-utils.o
  CC       kbuffer-parse.o
  LD       libtraceevent-in.o
  LINK     libtraceevent.a
  CC       libbpf.o
  CC       pager.o
  CC       parse-options.o
  CC       bpf.o
  LD       libbpf-in.o
  LINK     libbpf.a
  HOSTCC   pmu-events/json.o
  HOSTCC   pmu-events/jsmn.o
  HOSTCC   pmu-events/jevents.o
  HOSTLD   pmu-events/jevents-in.o
  CC       plugin_jbd2.o
  LD       plugin_jbd2-in.o
  CC       plugin_hrtimer.o
  LD       plugin_hrtimer-in.o
  CC       plugin_kmem.o
  CC       run-command.o
  LD       plugin_kmem-in.o
  CC       plugin_kvm.o
  LD       plugin_kvm-in.o
  CC       plugin_mac80211.o
  LD       plugin_mac80211-in.o
  CC       sigchain.o
  CC       plugin_sched_switch.o
  LD       plugin_sched_switch-in.o
  CC       plugin_function.o
  LD       plugin_function-in.o
  CC       subcmd-config.o
  CC       plugin_xen.o
  LD       libsubcmd-in.o
  AR       libsubcmd.a
  CC       plugin_scsi.o
  LD       plugin_xen-in.o
  GEN      perf-archive
  CC       plugin_cfg80211.o
  LD       plugin_scsi-in.o
  LD       plugin_cfg80211-in.o
  GEN      perf-with-kcore
  LINK     plugin_jbd2.so
  CC       util/annotate.o
  LINK     plugin_hrtimer.so
  LINK     plugin_kmem.so
  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
  LINK     plugin_cfg80211.so
  CC       arch/common.o
  CC       arch/x86/util/header.o
  CC       arch/x86/util/tsc.o
  CC       arch/x86/util/pmu.o
  CC       arch/x86/util/kvm-stat.o
  CC       util/block-range.o
  CC       arch/x86/util/perf_regs.o
  CC       arch/x86/util/group.o
  CC       arch/x86/util/dwarf-regs.o
  CC       util/build-id.o
  CC       arch/x86/util/unwind-libunwind.o
  CC       arch/x86/util/auxtrace.o
  CC       arch/x86/util/intel-pt.o
  CC       util/config.o
  CC       arch/x86/util/intel-bts.o
  CC       util/ctype.o
  CC       util/db-export.o
  LD       arch/x86/util/libperf-in.o
  CC       arch/x86/tests/regs_load.o
  CC       arch/x86/tests/dwarf-unwind.o
  CC       arch/x86/tests/arch-tests.o
  CC       util/env.o
  CC       arch/x86/tests/rdpmc.o
  CC       util/event.o
  CC       arch/x86/tests/perf-time-to-tsc.o
  CC       arch/x86/tests/insn-x86.o
  LD       arch/x86/tests/libperf-in.o
  LD       arch/x86/libperf-in.o
  LD       arch/libperf-in.o
  CC       builtin-bench.o
  CC       builtin-annotate.o
  CC       util/evlist.o
  CC       builtin-config.o
  CC       builtin-diff.o
  CC       util/evsel.o
  CC       builtin-evlist.o
  CC       builtin-ftrace.o
  CC       builtin-help.o
  CC       builtin-sched.o
  CC       util/evsel_fprintf.o
  CC       util/find_bit.o
  CC       util/kallsyms.o
  CC       util/levenshtein.o
  CC       util/llvm-utils.o
  CC       builtin-buildid-list.o
  CC       util/mmap.o
  CC       builtin-buildid-cache.o
  CC       util/memswap.o
  CC       builtin-kallsyms.o
  BISON    util/parse-events-bison.c
  CC       util/perf_regs.o
  CC       builtin-list.o
  CC       util/path.o
  CC       util/print_binary.o
  CC       builtin-record.o
  CC       util/rbtree.o
  CC       util/libstring.o
  CC       util/bitmap.o
  CC       util/hweight.o
  CC       builtin-report.o
  CC       util/smt.o
  CC       util/quote.o
  CC       util/strbuf.o
  CC       util/string.o
  CC       util/strlist.o
  CC       builtin-stat.o
  CC       util/strfilter.o
  CC       util/top.o
  CC       util/usage.o
  CC       util/dso.o
  CC       builtin-timechart.o
  CC       util/symbol.o
  CC       builtin-top.o
  CC       util/symbol_fprintf.o
  CC       builtin-script.o
  CC       util/color.o
  CC       util/metricgroup.o
  CC       util/header.o
  CC       builtin-kmem.o
  CC       builtin-lock.o
  CC       util/callchain.o
  CC       builtin-kvm.o
  CC       builtin-inject.o
  CC       builtin-mem.o
  CC       util/values.o
  CC       builtin-data.o
  CC       util/debug.o
  CC       builtin-version.o
  CC       builtin-c2c.o
  CC       util/machine.o
  CC       builtin-trace.o
  CC       util/map.o
  CC       util/pstack.o
  CC       util/session.o
/usr/src/linux-perf-x86_64-rhel-7.2-8edf8850d51e911a35b5d7aad4f8604db11abc66/tools/build/Makefile.build:96: recipe for target 'builtin-trace.o' failed
Makefile.perf:495: recipe for target 'perf-in.o' failed
  CC       util/syscalltbl.o
  CC       util/ordered-events.o
  CC       ui/setup.o
  CC       ui/helpline.o
  CC       util/namespaces.o
  CC       ui/progress.o
  CC       ui/util.o
  CC       util/comm.o
  CC       ui/hist.o
  CC       util/thread.o
  CC       util/thread_map.o
  CC       util/trace-event-parse.o
  CC       util/parse-events-bison.o
  CC       ui/stdio/hist.o
  BISON    util/pmu-bison.c
  CC       util/trace-event-read.o
  CC       util/trace-event-info.o
  LD       ui/libperf-in.o
  CC       scripts/python/Perf-Trace-Util/Context.o
  LD       scripts/python/Perf-Trace-Util/libperf-in.o
  LD       scripts/libperf-in.o
  CC       trace/beauty/clone.o
  CC       util/trace-event-scripting.o
  CC       trace/beauty/fcntl.o
  CC       util/trace-event.o
  CC       trace/beauty/ioctl.o
  CC       trace/beauty/kcmp.o
  CC       util/svghelper.o
  CC       trace/beauty/pkey_alloc.o
  CC       trace/beauty/prctl.o
  CC       trace/beauty/statx.o
  LD       trace/beauty/libperf-in.o
  CC       util/sort.o
  CC       util/hist.o
  CC       util/util.o
  CC       util/xyarray.o
  CC       util/cpumap.o
  CC       util/cgroup.o
  CC       util/target.o
  CC       util/rblist.o
  CC       util/intlist.o
  CC       util/vdso.o
  CC       util/counts.o
  CC       util/stat.o
  CC       util/stat-shadow.o
  CC       util/record.o
  CC       util/srcline.o
  CC       util/data.o
  CC       util/tsc.o
  CC       util/cloexec.o
  CC       util/call-path.o
  CC       util/rwsem.o
  CC       util/thread-stack.o
  CC       util/auxtrace.o
  CC       util/intel-pt-decoder/intel-pt-pkt-decoder.o
  GEN      util/intel-pt-decoder/inat-tables.c
  CC       util/intel-pt-decoder/intel-pt-log.o
  CC       util/intel-pt-decoder/intel-pt-decoder.o
  CC       util/scripting-engines/trace-event-python.o
  LD       util/scripting-engines/libperf-in.o
  CXX      util/c++/clang.o
  CC       util/intel-pt-decoder/intel-pt-insn-decoder.o
  LD       util/intel-pt-decoder/libperf-in.o
  CC       util/intel-pt.o
  CC       util/intel-bts.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/time-utils.o
  BISON    util/expr-bison.c
  CC       util/branch.o
  CC       util/bpf-loader.o
  CC       util/bpf-prologue.o
  CC       util/symbol-elf.o
  CC       util/probe-file.o
/usr/src/linux-perf-x86_64-rhel-7.2-8edf8850d51e911a35b5d7aad4f8604db11abc66/tools/build/Makefile.build:100: recipe for target 'util/c++/clang.o' failed
/usr/src/linux-perf-x86_64-rhel-7.2-8edf8850d51e911a35b5d7aad4f8604db11abc66/tools/build/Makefile.build:139: recipe for target 'c++' failed
/usr/src/linux-perf-x86_64-rhel-7.2-8edf8850d51e911a35b5d7aad4f8604db11abc66/tools/build/Makefile.build:139: recipe for target 'util' failed
Makefile.perf:619: recipe for target 'libperf-in.o' failed
Makefile.perf:209: recipe for target 'sub-make' failed
Makefile:69: recipe for target 'all' failed
make: Leaving directory '/usr/src/linux-perf-x86_64-rhel-7.2-8edf8850d51e911a35b5d7aad4f8604db11abc66/tools/perf'

  reply	other threads:[~2018-01-04  5:51 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-27  2:30 [PATCH -tip 0/7] tools/perf: Update rbtree implementation and optimize users Davidlohr Bueso
2017-11-27  2:30 ` [PATCH 1/7] tools/perf: Update rbtree implementation Davidlohr Bueso
2017-11-27  2:30 ` [PATCH 2/7] perf machine: Use cached rbtrees Davidlohr Bueso
2018-01-04  5:51   ` kernel test robot [this message]
2018-01-05 17:04     ` [lkp-robot] [perf machine] 8edf8850d5: stderr./usr/src/linux-perf-x86_64-rhel-#/tools/perf/util/rb_resort.h:#:#:error:passing_argument#of'threads_sorted__new'from_incompatible_pointer_type[-Werror=incompatible-pointer-types] Davidlohr Bueso
2017-11-27  2:30 ` [PATCH 3/7] perf callchain: Use cached rbtrees Davidlohr Bueso
2017-11-27  2:30 ` [PATCH 4/7] perf util: Use cached rbtree for rblists Davidlohr Bueso
2017-11-27  2:30 ` [PATCH 5/7] perf symbols: Use cached rbtrees Davidlohr Bueso
2017-11-27  2:30 ` [PATCH 6/7] perf hist: " Davidlohr Bueso
2017-11-27  2:30 ` [PATCH 7/7] perf sched: " Davidlohr Bueso
2017-11-27  6:06 ` [PATCH -tip 0/7] tools/perf: Update rbtree implementation and optimize users Andi Kleen
2017-11-27 16:14   ` Davidlohr Bueso
2017-11-27 17:14     ` Arnaldo Carvalho de Melo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180104055110.GC23834@yexl-desktop \
    --to=xiaolong.ye@intel.com \
    --cc=acme@kernel.org \
    --cc=ak@linux.intel.com \
    --cc=dave@stgolabs.net \
    --cc=dbueso@suse.de \
    --cc=jolsa@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@01.org \
    --cc=mingo@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox