From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11267 invoked by alias); 14 Aug 2009 21:32:02 -0000 Received: (qmail 11131 invoked by uid 22791); 14 Aug 2009 21:32:01 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from smtp22.services.sfr.fr (HELO smtp22.services.sfr.fr) (93.17.128.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 14 Aug 2009 21:31:53 +0000 Received: from filter.sfr.fr (localhost [127.0.0.1]) by msfrf2217.sfr.fr (SMTP Server) with ESMTP id E3BD47000089; Fri, 14 Aug 2009 23:31:50 +0200 (CEST) Received: from [192.168.1.101] (197.156.90-79.rev.gaoland.net [79.90.156.197]) by msfrf2217.sfr.fr (SMTP Server) with ESMTP id 6E0A37000088; Fri, 14 Aug 2009 23:31:50 +0200 (CEST) X-SFR-UUID: 20090814213150450.6E0A37000088@msfrf2217.sfr.fr Subject: Re: Need some Unix and /bin/sh expertise for GCC testsuite From: Laurent GUERBY Reply-To: laurent@guerby.net To: Ralf Wildenhues Cc: gcc , Paolo Bonzini , Arnaud Charlet , Eric Botcazou In-Reply-To: <20090814212503.GA1032@gmx.de> References: <1250283155.20287.116.camel@localhost> <20090814212503.GA1032@gmx.de> Content-Type: text/plain Date: Fri, 14 Aug 2009 22:57:00 -0000 Message-Id: <1250285509.20287.129.camel@localhost> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-08/txt/msg00250.txt.bz2 On Fri, 2009-08-14 at 23:25 +0200, Ralf Wildenhues wrote: > Hello, > > * Laurent GUERBY wrote on Fri, Aug 14, 2009 at 10:52:35PM CEST: > > => gcc/testsuite/ada/acats/run_all.sh > > > 3/ Here is the point I find surprising: the "ps fauxww" run in the > > second "if" show that even if the script is fully sequential > > at least one gnatmake subprocess (collect-ld) is still marked as running > > *in parallel* with the ps command in the subsequent "if" of the script! > > One thing I see in that script is there is a line > rm -rf $dir/tests.$$ & > > that will be run "in parallel" due to the stray "&". This one is part of initialization done once well before the loop over the tests, so I don't think it can interfere in any way (and my "ps fauxww" log doesn't show it around). > However, I also > don't see at least parts of the rest of the script that you quote, so > maybe I'm looking at the wrong version (looking at trunk) or you have > added debug statements, so maybe yours has more such stray asynchronous > lists. Yes my quote is from my heavily instrumented run_all.sh. The svn clean run_all.sh will exhibit the random fail with the very same error message in gcc/testsuite/ada/acats/acats.log so the instrumentation doesn't change the failure mode. Thanks for your help, Laurent