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'
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
Reproduced against devtoolset-6-gdb-7.12.1-46.el7 and verified against devtoolset-7-gdb-8.0-17.el7.
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