This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [regression/native-gdbserver][buildbot] Python testscases get staled
- From: Pedro Alves <palves at redhat dot com>
- To: Sergio Durigan Junior <sergiodj at redhat dot com>
- Cc: "Breazeal, Don" <donb at codesourcery dot com>, Yao Qi <yao at codesourcery dot com>, gdb-patches at sourceware dot org
- Date: Mon, 12 Jan 2015 11:15:28 +0000
- Subject: Re: [regression/native-gdbserver][buildbot] Python testscases get staled
- Authentication-results: sourceware.org; auth=none
- References: <1418748834-27545-1-git-send-email-palves at redhat dot com> <1418748834-27545-6-git-send-email-palves at redhat dot com> <87wq5qsfaf dot fsf at codesourcery dot com> <54921989 dot 4060005 at redhat dot com> <54AADFA1 dot 9040003 at codesourcery dot com> <54AD5BFC dot 2030906 at redhat dot com> <54AFBA7B dot 6040403 at redhat dot com> <87h9vwpq1x dot fsf_-_ at redhat dot com>
On 01/12/2015 04:43 AM, Sergio Durigan Junior wrote:
>
> Buildbot (which is running only internally so far, but will hopefully be
> deployed this week) "caught" this when building in x86_64 (Fedora 21)
> and testing the native-gdbserver variant (both x86_64 and x86). When
> you run the test on the gdb.python/ directory, you see that it stales
> when it reaches the gdb.python/py-section-script.exp testcase.
> Buildbot's gdb.log specifically has:
>
> Running ../../../binutils-gdb/gdb/testsuite/gdb.python/py-section-script.exp ...
> ERROR: (timeout) GDB never initialized after 10 seconds.
> ERROR: no fileid for gdbuild
> ERROR: Couldn't send python print ('test') to GDB.
> ERROR: no fileid for gdbuild
> ERROR: Couldn't send python print (sys.version_info[0]) to GDB.
> ERROR: no fileid for gdbuild
> ERROR: Couldn't send python print (sys.version_info[1]) to GDB.
> ERROR: no fileid for gdbuild
> ERROR: no fileid for gdbuild
> ...
> (this goes on and on, for several testcases)
>
Here's what I get:
$ make check RUNTESTFLAGS="--target_board=native-gdbserver gdb.python/py-section-script.exp"
...
Running /home/pedro/gdb/mygit/src/gdb/testsuite/gdb.python/py-section-script.exp ...
=== gdb Summary ===
# of expected passes 7
...
> I still did not debug this (intend to do so tomorrow, if you don't see
> this before I start my day), but running a simple git-bisect showed me
> that this specific commit is the culprit.
Odd, my commit did not touch this file. Actually, the test does not
use "attach" at all.
Thanks,
Pedro Alves