From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753049AbbKZJJm (ORCPT ); Thu, 26 Nov 2015 04:09:42 -0500 Received: from mx1.redhat.com ([209.132.183.28]:53030 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752639AbbKZJJa (ORCPT ); Thu, 26 Nov 2015 04:09:30 -0500 Date: Thu, 26 Nov 2015 10:09:26 +0100 From: Jiri Olsa To: Ingo Molnar Cc: Arnaldo Carvalho de Melo , linux-kernel@vger.kernel.org, David Ahern , Jan Kratochvil , Masami Hiramatsu , Milian Wolff , Namhyung Kim , Peter Zijlstra , Taeung Song , Wang Nan , Arnaldo Carvalho de Melo Subject: Re: [GIT PULL 0/7] perf/core improvements and fixes Message-ID: <20151126090926.GC8822@krava.brq.redhat.com> References: <1448315634-13592-1-git-send-email-acme@kernel.org> <20151124081042.GA3651@gmail.com> <20151124082805.GB30337@krava.brq.redhat.com> <20151124084210.GA31160@gmail.com> <20151124092618.GA5359@krava.brq.redhat.com> <20151126075624.GA20999@gmail.com> <20151126081236.GB20999@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151126081236.GB20999@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 26, 2015 at 09:12:37AM +0100, Ingo Molnar wrote: SNIP > fixdep: error opening depfile: ./.plugin_hrtimer.o.d: No such file or directory > /home/mingo/tip/tools/build/Makefile.build:77: recipe for target > 'plugin_hrtimer.o' failed > make[3]: *** [plugin_hrtimer.o] Error 2 > Makefile:189: recipe for target 'plugin_hrtimer-in.o' failed > make[2]: *** [plugin_hrtimer-in.o] Error 2 > Makefile.perf:414: recipe for target 'libtraceevent_plugins' failed > make[1]: *** [libtraceevent_plugins] Error 2 > make[1]: *** Waiting for unfinished jobs.... > CC plugin_kvm.o > CC builtin-sched.o > CC plugin_mac80211.o > LD plugin_kmem-in.o > CC util/help.o > > Can you reproduce it by adding 'sleep 1' (or 'sleep 2') to the end of > util/PERF-VERSION-GEN? (See the patch attached further below.) > > The failure is sporadic even with the 'sleep 1' hack - I get a build failure 1 out > of 3 times maybe: > > triton:~/tip/tools/perf> while : ; do echo -n "$(date) "; make clean install >/tmp/FAIL.log 2>&1 && echo pass || { echo 'FAIL!'; break; } done > Thu Nov 26 09:07:12 CET 2015 pass > Thu Nov 26 09:07:23 CET 2015 FAIL! > > Interestingly it does not reproduce if I use '>FAIL.log' - I need to output the > log into tmpfs - maybe the extra VFS synchronization if logging to the same > filesystem where the build occurs hides the race? > > With V=1 it takes a lot longer to reproduce: > > triton:~/tip/tools/perf> while : ; do echo -n "$(date) "; make clean install V=1 >/tmp/FAIL.log 2>&1 && echo pass || { echo 'FAIL!'; break; } done > Thu Nov 26 09:08:08 CET 2015 pass > Thu Nov 26 09:08:20 CET 2015 pass > Thu Nov 26 09:08:32 CET 2015 pass > Thu Nov 26 09:08:43 CET 2015 pass > Thu Nov 26 09:08:55 CET 2015 pass > Thu Nov 26 09:09:06 CET 2015 pass > Thu Nov 26 09:09:17 CET 2015 pass > Thu Nov 26 09:09:29 CET 2015 pass > Thu Nov 26 09:09:41 CET 2015 FAIL! so far no luck on my side.. from quick check over the fail log it seems the patch I sent yesterday could help: http://lkml.iu.edu/hypermail/linux/kernel/1511.3/00186.html I'll have more detailed check on your fail log, thanks, jirka