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: Sergio Durigan Junior <sergiodj at redhat dot com>
- To: Pedro Alves <palves 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:55:17 -0500
- 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> <54B3ACD0 dot 60208 at redhat dot com>
On Monday, January 12 2015, Pedro Alves wrote:
> 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
> ...
Running the testcase alone seems to be fine. The problem happens when
you run the entire gdb.python/ directory:
make check RUNTESTFLAGS="--target_board=native-gdbserver --directory=gdb.python"
--
Sergio
GPG key ID: 0x65FC5E36
Please send encrypted e-mail if possible
http://sergiodj.net/