[testsuite,7.11] Regression for i386-biarch-core.exp and others [Re: [PATCH] Always organize test artifacts in a directory hierarchy]
Message ID | 56BE25A8.30609@ericsson.com |
---|---|
State | New, archived |
Headers |
Received: (qmail 128086 invoked by alias); 12 Feb 2016 18:34:21 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: <gdb-patches.sourceware.org> List-Unsubscribe: <mailto:gdb-patches-unsubscribe-##L=##H@sourceware.org> List-Subscribe: <mailto:gdb-patches-subscribe@sourceware.org> List-Archive: <http://sourceware.org/ml/gdb-patches/> List-Post: <mailto:gdb-patches@sourceware.org> List-Help: <mailto:gdb-patches-help@sourceware.org>, <http://sourceware.org/ml/#faqs> Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 127907 invoked by uid 89); 12 Feb 2016 18:34:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00, KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=UD:gdb.arch, gdb.arch, UD:arch, corefile X-HELO: usplmg21.ericsson.net Received: from usplmg21.ericsson.net (HELO usplmg21.ericsson.net) (198.24.6.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Fri, 12 Feb 2016 18:34:19 +0000 Received: from EUSAAHC001.ericsson.se (Unknown_Domain [147.117.188.75]) by usplmg21.ericsson.net (Symantec Mail Security) with SMTP id 13.56.32102.2952EB65; Fri, 12 Feb 2016 19:33:55 +0100 (CET) Received: from [142.133.110.144] (147.117.188.8) by smtp-am.internal.ericsson.com (147.117.188.77) with Microsoft SMTP Server id 14.3.248.2; Fri, 12 Feb 2016 13:34:17 -0500 Subject: Re: [testsuite 7.11] Regression for i386-biarch-core.exp and others [Re: [PATCH] Always organize test artifacts in a directory hierarchy] To: Jan Kratochvil <jan.kratochvil@redhat.com> References: <1452268308-23845-1-git-send-email-simon.marchi@ericsson.com> <5694F8D2.5090807@redhat.com> <56952A6C.8070507@ericsson.com> <569630EC.2000702@redhat.com> <20160117063144.GB4059@adacore.com> <56B8EBF1.5020208@ericsson.com> <20160211212219.GA23888@host1.jankratochvil.net> CC: Joel Brobecker <brobecker@adacore.com>, Pedro Alves <palves@redhat.com>, <gdb-patches@sourceware.org> From: Simon Marchi <simon.marchi@ericsson.com> Message-ID: <56BE25A8.30609@ericsson.com> Date: Fri, 12 Feb 2016 13:34:16 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <20160211212219.GA23888@host1.jankratochvil.net> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes |
Commit Message
Simon Marchi
Feb. 12, 2016, 6:34 p.m. UTC
On 16-02-11 04:22 PM, Jan Kratochvil wrote: > On Mon, 08 Feb 2016 20:26:41 +0100, Simon Marchi wrote: >> Ok, I pushed this patch. I am now waiting to know what I broke. > > Running /home/jkratoch/redhat/gdb-clean/gdb/testsuite/gdb.arch/i386-biarch-core.exp ... > PASS: gdb.arch/i386-biarch-core.exp: complete set gnutarget > PASS: gdb.arch/i386-biarch-core.exp: core-file > PASS: gdb.arch/i386-biarch-core.exp: .text is readable > -> > Running /home/jkratoch/redhat/gdb-clean/gdb/testsuite/gdb.arch/i386-biarch-core.exp ... > PASS: gdb.arch/i386-biarch-core.exp: complete set gnutarget > UNTESTED: gdb.arch/i386-biarch-core.exp: failed bzip2 > > Reproducible with: > tar xJf gdb-7.10.90.20160211.tar.xz;cd gdb-7.10.90.20160211;./configure;make;make -C gdb check//unix/-m64 RUNTESTFLAGS=gdb.arch/i386-biarch-core.exp > Running /tmp/gdb-7.10.90.20160211/gdb/testsuite/gdb.arch/i386-biarch-core.exp ... > sh: /tmp/gdb-7.10.90.20160211/gdb/testsuite.unix.-m64/gdb.arch/i386-biarch-core.core: No such file or directory > === gdb Summary === > # of expected passes 1 > # of untested testcases 1 > > I have not debugged it more yet. > > > Jan Hi Jan, I think this patch should fix it. It simply makes the test use standard_output_file for its output directory. Simon From c643fde26ecdc63c399ac4f26fd31920148fae77 Mon Sep 17 00:00:00 2001 From: Simon Marchi <simon.marchi@ericsson.com> Date: Fri, 12 Feb 2016 13:17:32 -0500 Subject: [PATCH] i386-biarch-core.exp: Use standard_output_file Fix the core file path to use the standard output directory. gdb/testsuite/ChangeLog: * i386-biarch-core.exp: Define corefile using standard_output_file. --- gdb/testsuite/gdb.arch/i386-biarch-core.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On 02/12/2016 06:34 PM, Simon Marchi wrote: > From c643fde26ecdc63c399ac4f26fd31920148fae77 Mon Sep 17 00:00:00 2001 > From: Simon Marchi <simon.marchi@ericsson.com> > Date: Fri, 12 Feb 2016 13:17:32 -0500 > Subject: [PATCH] i386-biarch-core.exp: Use standard_output_file > > Fix the core file path to use the standard output directory. > > gdb/testsuite/ChangeLog: > > * i386-biarch-core.exp: Define corefile using > standard_output_file. Looks obvious to me. Thanks, Pedro Alves
On Fri, 12 Feb 2016 19:34:16 +0100, Simon Marchi wrote: > I think this patch should fix it. It simply makes the test use standard_output_file > for its output directory. OK, thanks. I did not expect almost all the other 42 failed testfiles are Fedora-only ones so I have to fix them on my own. gdb.arch/i386-interface.exp gdb.arch/x86_64-pid0-core.exp gdb.arch/x86_64-vla-typedef.exp gdb.base/attach-32.exp gdb.base/attach-see-vdso.exp gdb.base/charsign.exp gdb.base/corefile.exp gdb.base/datalib.exp gdb.base/execl-update-breakpoints.exp gdb.base/fork-detach.exp gdb.base/gcore-excessive-memory.exp gdb.base/gcorebg.exp gdb.base/lineno-makeup.exp gdb.base/move-dir.exp gdb.base/readline-overflow.exp gdb.base/rhbz981154-misleading-yum-install-warning.exp gdb.base/step-over-trampoline.exp gdb.base/unwind-leak.exp gdb.base/vla-overflow.exp gdb.base/vla.exp gdb.base/watchpoint-cond.exp gdb.base/watchpoint-during-step.exp gdb.cp/b146835.exp gdb.cp/constructortest.exp gdb.cp/namespace-nested-imports.exp gdb.cp/namespace-no-imports.exp gdb.dwarf2/dw2-errno.exp gdb.dwarf2/dw2-errno2.exp gdb.dwarf2/dw2-included.exp gdb.fortran/dynamic.exp gdb.fortran/string.exp gdb.pascal/arrays.exp gdb.pie/attach.exp gdb.pie/break.exp gdb.pie/corefile.exp gdb.threads/bt-clone-stop.exp gdb.threads/simultaneous-step-resume-breakpoint.exp gdb.threads/threadcrash.exp gdb.threads/threaded-exec.exp gdb.threads/tls-rhbz947564.exp gdb.threads/tls-sepdebug.exp gdb.threads/watchthreads-threaded.exp (gdb.base/corefile.exp gdb.base/execl-update-breakpoints.exp listed there do not reproduce it for me locally now, I will re-check those.) Jan
On 16-02-12 01:41 PM, Pedro Alves wrote: > On 02/12/2016 06:34 PM, Simon Marchi wrote: > >> From c643fde26ecdc63c399ac4f26fd31920148fae77 Mon Sep 17 00:00:00 2001 >> From: Simon Marchi <simon.marchi@ericsson.com> >> Date: Fri, 12 Feb 2016 13:17:32 -0500 >> Subject: [PATCH] i386-biarch-core.exp: Use standard_output_file >> >> Fix the core file path to use the standard output directory. >> >> gdb/testsuite/ChangeLog: >> >> * i386-biarch-core.exp: Define corefile using >> standard_output_file. > > Looks obvious to me. > > Thanks, > Pedro Alves > Thanks, pushed.
On 16-02-12 01:47 PM, Jan Kratochvil wrote: > On Fri, 12 Feb 2016 19:34:16 +0100, Simon Marchi wrote: >> I think this patch should fix it. It simply makes the test use standard_output_file >> for its output directory. > > OK, thanks. I did not expect almost all the other 42 failed testfiles are > Fedora-only ones so I have to fix them on my own. > gdb.arch/i386-interface.exp gdb.arch/x86_64-pid0-core.exp gdb.arch/x86_64-vla-typedef.exp gdb.base/attach-32.exp gdb.base/attach-see-vdso.exp gdb.base/charsign.exp gdb.base/corefile.exp gdb.base/datalib.exp gdb.base/execl-update-breakpoints.exp gdb.base/fork-detach.exp gdb.base/gcore-excessive-memory.exp gdb.base/gcorebg.exp gdb.base/lineno-makeup.exp gdb.base/move-dir.exp gdb.base/readline-overflow.exp gdb.base/rhbz981154-misleading-yum-install-warning.exp gdb.base/step-over-trampoline.exp gdb.base/unwind-leak.exp gdb.base/vla-overflow.exp gdb.base/vla.exp gdb.base/watchpoint-cond.exp gdb.base/watchpoint-during-step.exp gdb.cp/b146835.exp gdb.cp/constructortest.exp gdb.cp/namespace-nested-imports.exp gdb.cp/namespace-no-imports.exp gdb.dwarf2/dw2-errno.exp gdb.dwarf2/dw2-errno2.exp gdb.dwarf2/dw2-included.exp gdb.fortran/dynamic.exp gdb.fortran/string.exp gdb.pascal/arrays.exp gdb.pie/attach.exp gdb.pie/break.exp gdb.pie/corefile.exp gdb.threads/bt-clone-stop.exp gdb.threads/simul taneous-step-resume-breakpoint.exp gdb.threads/threadcrash.exp gdb.threads/threaded-exec.exp gdb.threads/tls-rhbz947564.exp gdb.threads/tls-sepdebug.exp gdb.threads/watchthreads-threaded.exp > > (gdb.base/corefile.exp gdb.base/execl-update-breakpoints.exp listed there do > not reproduce it for me locally now, I will re-check those.) > > > Jan I'll run the testsuite with GDB_INOTIFY=1, it might catch a few problems of the same kind.
On 16-02-12 01:56 PM, Simon Marchi wrote: > On 16-02-12 01:41 PM, Pedro Alves wrote: >> On 02/12/2016 06:34 PM, Simon Marchi wrote: >> >>> From c643fde26ecdc63c399ac4f26fd31920148fae77 Mon Sep 17 00:00:00 2001 >>> From: Simon Marchi <simon.marchi@ericsson.com> >>> Date: Fri, 12 Feb 2016 13:17:32 -0500 >>> Subject: [PATCH] i386-biarch-core.exp: Use standard_output_file >>> >>> Fix the core file path to use the standard output directory. >>> >>> gdb/testsuite/ChangeLog: >>> >>> * i386-biarch-core.exp: Define corefile using >>> standard_output_file. >> >> Looks obvious to me. >> >> Thanks, >> Pedro Alves >> > > Thanks, pushed. > Hmm actually, should I push it to the 7.11 branch as well? Is there a special procedure, or I just cherry-pick and push?
On 02/12/2016 09:54 PM, Simon Marchi wrote: > Hmm actually, should I push it to the 7.11 branch as well? Doesn't hurt. > Is there a special procedure, or I just cherry-pick and push? Just cherry-pick, make sure ChangeLog entry is at the top, and push. Thanks, Pedro Alves
On 16-02-12 06:01 PM, Pedro Alves wrote: > On 02/12/2016 09:54 PM, Simon Marchi wrote: > >> Hmm actually, should I push it to the 7.11 branch as well? > > Doesn't hurt. > >> Is there a special procedure, or I just cherry-pick and push? > > Just cherry-pick, make sure ChangeLog entry is at the top, and push. > > Thanks, > Pedro Alves Ok I have pushed it to gdb-7.11-branch. Simon
diff --git a/gdb/testsuite/gdb.arch/i386-biarch-core.exp b/gdb/testsuite/gdb.arch/i386-biarch-core.exp index 607b947..4dc5ba6 100644 --- a/gdb/testsuite/gdb.arch/i386-biarch-core.exp +++ b/gdb/testsuite/gdb.arch/i386-biarch-core.exp @@ -40,7 +40,7 @@ gdb_test_multiple "complete set gnutarget " $test { } set corebz2file ${srcdir}/${subdir}/${testfile}.core.bz2 -set corefile ${objdir}/${subdir}/${testfile}.core +set corefile [standard_output_file ${testfile}.core] # Entry point of the original executable. set address 0x400078