linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kajoljain <kjain@linux.ibm.com>
To: kernel test robot <rong.a.chen@intel.com>
Cc: acme@kernel.org, linux-kernel@vger.kernel.org,
	linux-perf-users@vger.kernel.org, Jiri Olsa <jolsa@kernel.org>,
	Alexander Shishkin <alexander.shishkin@linux.intel.com>,
	Andi Kleen <ak@linux.intel.com>,
	Kan Liang <kan.liang@linux.intel.com>,
	Peter Zijlstra <peterz@infradead.org>,
	Jin Yao <yao.jin@linux.intel.com>,
	Madhavan Srinivasan <maddy@linux.vnet.ibm.com>,
	Anju T Sudhakar <anju@linux.vnet.ibm.com>,
	Ravi Bangoria <ravi.bangoria@linux.ibm.com>,
	lkp@lists.01.org
Subject: Re: [tools/perf/metricgroup] 5dd4f4ab07: stderr.mv:cannot_stat'util/.metricgroup.o.tmp':No_such_file_or_directory
Date: Mon, 2 Mar 2020 10:30:36 +0530	[thread overview]
Message-ID: <1a1cb7e9-a47f-a77b-d758-ac077dfa7cf0@linux.ibm.com> (raw)
In-Reply-To: <20200302011726.GS6548@shao2-debian>



On 3/2/20 6:47 AM, kernel test robot wrote:
> FYI, we noticed the following commit (built with gcc-7):
> 
> commit: 5dd4f4ab07f8257f1d113cc2b9ee95f43d576b9d ("[PATCH v4] tools/perf/metricgroup: Fix printing event names of metric group with multiple events incase of overlapping events")
> url: https://github.com/0day-ci/linux/commits/Kajol-Jain/tools-perf-metricgroup-Fix-printing-event-names-of-metric-group-with-multiple-events-incase-of-overlapping-events/20200215-093220
> 
> 
> in testcase: perf-sanity-tests
> with following parameters:
> 
> 	perf_compiler: gcc
> 	ucode: 0x27
> 
> 
> 
> on test machine: 8 threads Intel(R) Core(TM) i7-4790 v3 @ 3.60GHz with 6G memory
> 
> caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
> 
> 
> 
> 
> If you fix the issue, kindly add following tag
> Reported-by: kernel test robot <rong.a.chen@intel.com>
> 
> 
> user  :notice: [   58.688905]   LD       trace/beauty/perf-in.o
> 
> user  :err   : [   58.694839] util/metricgroup.c: In function 'metricgroup__setup_events':
> 
> user  :notice: [   58.696757]   CC       util/evlist.o
> 
> user  :err   : [   58.705739] util/metricgroup.c:170:3: error: break statement not within loop or switch
> 
> user  :notice: [   58.710154]   LD       arch/x86/tests/perf-in.o
> 
> user  :err   : [   58.720491]    break;
> 
> user  :notice: [   58.722367]   LD       arch/x86/perf-in.o
> 
> user  :err   : [   58.727486]    ^~~~~
> 
> user  :notice: [   58.729854]   LD       arch/perf-in.o
> 
> user  :err   : [   58.734440] mv: cannot stat 'util/.metricgroup.o.tmp': No such file or directory
> 
> user  :notice: [   58.738730]   CC       ui/tui/util.o
> 
> user  :err   : [   58.741991] make[4]: *** [util/metricgroup.o] Error 1
> 
> user  :notice: [   58.743544]   CC       tests/hists_link.o
> 
> user  :err   : [   58.746796] make[4]: *** Waiting for unfinished jobs....
> 
> user  :notice: [   58.749865]   CC       ui/browsers/map.o
> 
> user  :notice: [   58.796537]   CC       util/evsel.o
> 
> user  :notice: [   58.803941]   CC       ui/tui/helpline.o
> 
> user  :notice: [   58.811723]   CC       ui/tui/progress.o
> 
> user  :notice: [   58.819597]   CC       ui/browsers/scripts.o
> 
> user  :notice: [   58.827810]   CC       tests/hists_filter.o
> 
> user  :notice: [   58.835934]   CC       ui/browsers/header.o
> 
> user  :notice: [   58.843797]   LD       ui/tui/perf-in.o
> 
> user  :notice: [   58.851633]   CC       tests/hists_output.o
> 
> user  :notice: [   58.859662]   CC       ui/browsers/res_sample.o
> 
> user  :notice: [   58.868059]   CC       tests/hists_cumulate.o
> 
> user  :notice: [   58.876298]   CC       util/evsel_fprintf.o
> 
> user  :notice: [   58.884794]   CC       util/perf_event_attr_fprintf.o
> 
> user  :notice: [   58.893616]   CC       util/evswitch.o
> 
> user  :notice: [   58.901051]   CC       util/find_bit.o
> 
> user  :notice: [   58.908790]   CC       util/get_current_dir_name.o
> 
> user  :notice: [   58.917030]   CC       util/kallsyms.o
> 
> user  :notice: [   58.924272]   CC       tests/python-use.o
> 
> user  :notice: [   58.931786]   CC       util/levenshtein.o
> 
> user  :notice: [   58.939306]   CC       util/llvm-utils.o
> 
> user  :notice: [   58.946793]   CC       util/mmap.o
> 
> user  :notice: [   58.953880]   CC       util/memswap.o
> 
> user  :notice: [   58.961527]   BISON    util/parse-events-bison.c
> 
> user  :notice: [   58.969835]   CC       util/perf_regs.o
> 
> user  :notice: [   58.977405]   CC       tests/bp_signal.o
> 
> user  :notice: [   58.984747]   CC       util/path.o
> 
> user  :notice: [   58.991911]   CC       tests/bp_signal_overflow.o
> 
> user  :notice: [   59.000134]   CC       util/print_binary.o
> 
> user  :notice: [   59.007613]   CC       util/rlimit.o
> 
> user  :notice: [   59.014591]   CC       util/argv_split.o
> 
> user  :notice: [   59.021979]   CC       util/rbtree.o
> 
> user  :notice: [   59.028985]   CC       tests/bp_account.o
> 
> user  :notice: [   59.036173]   CC       tests/wp.o
> 
> user  :notice: [   59.042871]   CC       util/libstring.o
> 
> user  :notice: [   59.050011]   CC       util/bitmap.o
> 
> user  :notice: [   59.056858]   CC       util/hweight.o
> 
> user  :notice: [   59.063966]   CC       tests/task-exit.o
> 
> user  :notice: [   59.071298]   CC       tests/sw-clock.o
> 
> user  :notice: [   59.078342]   CC       util/smt.o
> 
> user  :notice: [   59.084981]   CC       util/strbuf.o
> 
> user  :notice: [   59.092311]   CC       tests/mmap-thread-lookup.o
> 
> user  :notice: [   59.100343]   CC       util/string.o
> 
> user  :notice: [   59.107456]   CC       tests/thread-maps-share.o
> 
> user  :notice: [   59.115581]   CC       tests/switch-tracking.o
> 
> user  :notice: [   59.123304]   CC       util/strlist.o
> 
> user  :notice: [   59.130429]   CC       tests/keep-tracking.o
> 
> user  :notice: [   59.138249]   CC       tests/code-reading.o
> 
> user  :notice: [   59.145689]   CC       util/strfilter.o
> 
> user  :notice: [   59.152629]   CC       util/top.o
> 
> user  :notice: [   59.159112]   CC       util/usage.o
> 
> user  :notice: [   59.165621]   CC       tests/sample-parsing.o
> 
> user  :notice: [   59.172446]   CC       util/dso.o
> 
> user  :notice: [   59.178526]   CC       tests/parse-no-sample-id-all.o
> 
> user  :notice: [   59.186126]   CC       tests/kmod-path.o
> 
> user  :notice: [   59.192493]   CC       util/dsos.o
> 
> user  :notice: [   59.198456]   CC       tests/thread-map.o
> 
> user  :notice: [   59.204913]   CC       util/symbol.o
> 
> user  :notice: [   59.210930]   CC       tests/llvm.o
> 
> user  :notice: [   59.217000]   CC       util/symbol_fprintf.o
> 
> user  :notice: [   59.223692]   CC       tests/bpf.o
> 
> user  :notice: [   59.229547]   CC       util/color.o
> 
> user  :notice: [   59.235563]   CC       tests/topology.o
> 
> user  :notice: [   59.241827]   CC       tests/mem.o
> 
> user  :notice: [   59.247704]   CC       tests/cpumap.o
> 
> user  :notice: [   59.253922]   CC       util/color_config.o
> 
> user  :notice: [   59.260604]   LD       ui/browsers/perf-in.o
> 
> user  :notice: [   59.267346]   CC       tests/stat.o
> 
> user  :notice: [   59.273288]   LD       ui/perf-in.o
> 
> user  :notice: [   59.279415]   CC       tests/event_update.o
> 
> user  :notice: [   59.286157]   CC       tests/event-times.o
> 
> user  :notice: [   59.292673]   CC       tests/expr.o
> 
> user  :notice: [   59.298749]   CC       util/metricgroup.o
> 
> user  :notice: [   59.305223]   CC       util/header.o
> 
> user  :notice: [   59.311512]   CC       tests/backward-ring-buffer.o
> 
> user  :notice: [   59.318814]   CC       tests/sdt.o
> 
> user  :notice: [   59.327108] /usr/src/perf_selftests-x86_64-rhel-7.6-5dd4f4ab07f8257f1d113cc2b9ee95f43d576b9d/tools/build/Makefile.build:96: recipe for target 'util/metricgroup.o' failed
> 
> user  :notice: [   59.344991]   CC       tests/is_printable_array.o
> 
> user  :notice: [   59.352277]   CC       tests/bitmap.o
> 
> user  :notice: [   59.358573]   CC       tests/perf-hooks.o
> 
> user  :notice: [   59.365109]   CC       tests/clang.o
> 
> user  :notice: [   59.371510]   CC       tests/unit_number__scnprintf.o
> 
> user  :notice: [   59.379158]   CC       tests/mem2node.o
> 
> user  :notice: [   59.385517]   CC       tests/maps.o
> 
> user  :notice: [   59.391769]   CC       tests/time-utils-test.o
> 
> user  :notice: [   59.398779]   CC       tests/genelf.o
> 
> user  :notice: [   59.405116]   CC       tests/dwarf-unwind.o
> 
> user  :notice: [   59.411975]   CC       tests/llvm-src-base.o
> 
> user  :notice: [   59.418975]   CC       tests/llvm-src-kbuild.o
> 
> user  :notice: [   59.426189]   CC       tests/llvm-src-prologue.o
> 
> user  :notice: [   59.433635]   CC       tests/llvm-src-relocation.o
> 
> user  :notice: [   59.441006]   LD       tests/perf-in.o
> 
> user  :err   : [   60.191397] make[3]: *** [util] Error 2
> 
> user  :notice: [   60.193667] /usr/src/perf_selftests-x86_64-rhel-7.6-5dd4f4ab07f8257f1d113cc2b9ee95f43d576b9d/tools/build/Makefile.build:139: recipe for target 'util' failed
> 
> user  :err   : [   60.196176] make[2]: *** [perf-in.o] Error 2
> 
> user  :notice: [   60.198386] Makefile.perf:616: recipe for target 'perf-in.o' failed
> 
> user  :err   : [   60.212393] make[1]: *** [sub-make] Error 2
> 
> user  :notice: [   60.214587] Makefile.perf:224: recipe for target 'sub-make' failed
> 
> user  :err   : [   60.218764] make: *** [all] Error 2
> 
> user  :notice: [   60.221026] Makefile:69: recipe for target 'all' failed
> 
> user  :err   : [   60.227253] make perf failed
> 
> user  :notice: [   60.230837] make: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-7.6-5dd4f4ab07f8257f1d113cc2b9ee95f43d576b9d/tools/perf'
> 
> 
> To reproduce:
> 
>         git clone https://github.com/intel/lkp-tests.git
>         cd lkp-tests
>         bin/lkp install job.yaml  # job file is attached in this email
>         bin/lkp run     job.yaml
> 
> 

Hi Rong Chen,
   You are right, I got that issue in this patch. I already send fix for that. You can check v6 of this patch.
   Please let me know if still you found some issue.
Link to the patch: https://lkml.org/lkml/2020/2/21/1166

Thanks,
Kajol
> 
> Thanks,
> Rong Chen
> 

      reply	other threads:[~2020-03-02  5:00 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-12  5:41 [PATCH v4] tools/perf/metricgroup: Fix printing event names of metric group with multiple events incase of overlapping events Kajol Jain
2020-02-16 20:21 ` Jiri Olsa
2020-02-18  5:57   ` kajoljain
2020-02-17  3:11 ` Joakim Zhang
2020-02-20  9:53   ` kajoljain
2020-02-20 10:36     ` Joakim Zhang
2020-03-02  6:14       ` kajoljain
2020-03-20  6:47         ` Joakim Zhang
2020-03-24  7:13           ` kajoljain
2020-03-24  8:00           ` [RFC] Issue in final aggregate value, in case of multiple events present in metric expression kajoljain
2020-05-09  5:52             ` Joakim Zhang
2020-05-11  0:56               ` Andi Kleen
2020-05-11  1:12             ` Jin, Yao
2020-05-11  2:05               ` Joakim Zhang
2020-05-13  8:08               ` Joakim Zhang
2020-03-02  1:17 ` [tools/perf/metricgroup] 5dd4f4ab07: stderr.mv:cannot_stat'util/.metricgroup.o.tmp':No_such_file_or_directory kernel test robot
2020-03-02  5:00   ` kajoljain [this message]

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=1a1cb7e9-a47f-a77b-d758-ac077dfa7cf0@linux.ibm.com \
    --to=kjain@linux.ibm.com \
    --cc=acme@kernel.org \
    --cc=ak@linux.intel.com \
    --cc=alexander.shishkin@linux.intel.com \
    --cc=anju@linux.vnet.ibm.com \
    --cc=jolsa@kernel.org \
    --cc=kan.liang@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=lkp@lists.01.org \
    --cc=maddy@linux.vnet.ibm.com \
    --cc=peterz@infradead.org \
    --cc=ravi.bangoria@linux.ibm.com \
    --cc=rong.a.chen@intel.com \
    --cc=yao.jin@linux.intel.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;
as well as URLs for NNTP newsgroup(s).