From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25871 invoked by alias); 7 May 2002 20:13:12 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 25851 invoked from network); 7 May 2002 20:13:10 -0000 Received: from unknown (HELO nevyn.them.org) (128.2.145.6) by sources.redhat.com with SMTP; 7 May 2002 20:13:10 -0000 Received: from drow by nevyn.them.org with local (Exim 3.35 #1 (Debian)) id 175BKe-0007aK-00; Tue, 07 May 2002 16:13:08 -0400 Date: Tue, 07 May 2002 13:13:00 -0000 From: Daniel Jacobowitz To: Geoff Keating Cc: mark@codesourcery.com, gdb@sources.redhat.com, gcc-regression@gcc.gnu.org Subject: Re: Regression tester confusion Message-ID: <20020507201308.GA28662@nevyn.them.org> Mail-Followup-To: Geoff Keating , mark@codesourcery.com, gdb@sources.redhat.com, gcc-regression@gcc.gnu.org References: <92880000.1020796022@gandalf.codesourcery.com> <200205071944.g47Ji5V14853@desire.geoffk.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200205071944.g47Ji5V14853@desire.geoffk.org> User-Agent: Mutt/1.5.1i X-SW-Source: 2002-05/txt/msg00061.txt.bz2 On Tue, May 07, 2002 at 12:44:05PM -0700, Geoff Keating wrote: > > Date: Tue, 07 May 2002 11:27:02 -0700 > > From: Mark Mitchell > > Content-Disposition: inline > > > > I'm confused. The regression tester seems to be saying that I broke > > mips-elf with my recent checkin to rs6000/sysv4.h, which seems odd. > > > > Am I going crazy? > > There's something odd going on with mips-elf gdb.base/interrupt.exp. > It seems to be failing at random---this is the third time it's > mysteriously appeared. The symptoms have been that the .log file > contains: > > (gdb) PASS: gdb.base/interrupt.exp: call function a second time > continue > Continuing. > PASS: gdb.base/interrupt.exp: continue > data > > data > FAIL: gdb.base/interrupt.exp: echo data (timeout) > end of file > > The gdb testsuite is looking for the 'data' output, which as you can > see is there, and so the testcase should pass. > > The problem seems to happen only when the machine is under other > load---specifically, when the machine is trying to update its binutils > & gdb. I suspect that dejagnu is not properly matching the regexp > because the extra activity on the machine is causing it to be given > the output in two or more pieces. The kernel and dejagnu versions on > the two machines (mips-elf is on anubis with a 2.4 kernel, native & > powerpc are on maat with 2.2) are different; hopefully, soon the > dejagnu versions will be synchronized, which should help to narrow > down the problem. > > If anyone's seen this before (especially if you fixed it!), > I'd be interested to hear about it. This usually means that the previous DejaGNU command did not explicitly consume enough input... Although in this case, it looks as if there are an invalid extra \r\n between the 'data's. The comment two tests up in interrupt.exp sounds as if there's a known timing problem here. Did "call function when asleep" fail, causing the extra newline to get sent? -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer