Bug 1427487 - devtoolset gdb python testsuite fails
Summary: devtoolset gdb python testsuite fails
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Developer Toolset
Classification: Red Hat
Component: gdb
Version: DTS 6.1 RHEL 7
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: alpha
: 7.0
Assignee: Jan Kratochvil
QA Contact: Michal Kolar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-02-28 11:05 UTC by Michal Kolar
Modified: 2017-10-24 09:46 UTC (History)
6 users (show)

Fixed In Version: devtoolset-7-gdb-8.0-17.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-10-24 09:46:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
test log (7.08 KB, text/plain)
2017-02-28 11:05 UTC, Michal Kolar
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:3015 0 normal SHIPPED_LIVE new packages: devtoolset-7-gdb 2017-10-24 13:21:28 UTC

Description Michal Kolar 2017-02-28 11:05:53 UTC
Created attachment 1258334 [details]
test log

Description of problem:
Devtoolset gdb python testsuite fails.



Version-Release number of selected component (if applicable):
devtoolset-6-gdb-7.12.1-46.el7.x86_64



How reproducible:
Run gdb python testcase 'gdb.python/py-gil-mthread.exp'



Steps to Reproduce:

SETUP:

package='devtoolset-6-gdb'
wget "http://download.eng.brq.redhat.com/brewroot/packages/\
$(rpm -q --qf "%{name}/%{version}/%{release}" $package)\
/src/\
$(rpm -q --qf "%{name}-%{version}-%{release}" $package)\
.src.rpm"
rm -rf ~/rpmbuild/
rpm -Uvh *.src.rpm
yum-builddep -y *.src.rpm
cd ~/rpmbuild/SPECS/
rpmbuild -bs --with testsuite *.spec
yum-builddep -y ../SRPMS/*.src.rpm
rpmbuild -bc *.spec
cd ../BUILD/*/build-`arch`-redhat-linux-gnu/

CHECK:

make check RUNTESTFLAGS=gdb.python/py-gil-mthread.exp



Actual results:

...

                === gdb tests ===

Schedule of variations:
    unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using /root/rpmbuild/BUILD/gdb-7.12.1/build-x86_64-redhat-linux-gnu/gdb/testsuite/../../../gdb/testsuite/config/unix.exp as tool-and-target-specific interface file.
Running /root/rpmbuild/BUILD/gdb-7.12.1/build-x86_64-redhat-linux-gnu/gdb/testsuite/../../../gdb/testsuite/gdb.python/py-gil-mthread.exp ...
FAIL: gdb.python/py-gil-mthread.exp: response (timeout)

                === gdb Summary ===

# of expected passes            1
# of unexpected failures        1
/root/rpmbuild/BUILD/gdb-7.12.1/build-x86_64-redhat-linux-gnu/gdb/testsuite/../../gdb/gdb version  7.12.1-46.el7 -nw -nx -data-directory /root/rpmbuild/BUILD/gdb-7.12.1/build-x86_64-redhat-linux-gnu/gdb/testsuite/../data-directory 

...



Expected results:
No failures in log. Return value of zero.


Additional info:
test log in attachment 'gdb.log'

Comment 1 Jan Kratochvil 2017-02-28 15:37:10 UTC
It is fortunately only a testcase problem, not GDB problem.
It is due to Python 2 being on RHELs<=7.

https://src.fedoraproject.org/cgit/rpms/gdb.git/commit/?id=f9739f5031b81bc14f00a9e3ef5fb313fa87584f

Comment 3 Michal Kolar 2017-07-25 12:53:44 UTC
Reproduced against devtoolset-6-gdb-7.12.1-46.el7 and verified against devtoolset-7-gdb-8.0-17.el7.

Comment 5 errata-xmlrpc 2017-10-24 09:46:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2017:3015


Note You need to log in before you can comment on or make changes to this bug.