Author bkabrda
Recipients bkabrda
Date 2013-04-15.13:41:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1366033268.62.0.309892862388.issue17737@psf.upfronthosting.co.za>
In-reply-to
Content
Hi,
it seems that test_gdb fails on armv7hl on Fedora 19 and 20 [1] (I'm also tracking my notes of the bug there). Basically, the problem seems to come down to PyObjectPtr.subclass_from_type (file python-gdb.py) returning different values for members of the stack trace (compared to successful builds - see [3] for x86_64 successful build and [4] for armv7hl failed build).
The two failed tests fail with:

======================================================================
FAIL: test_up_at_top (test.test_gdb.StackNavigationTests)
Verify handling of "py-up" at the top of the stack
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/Python-3.Lib/test/test_gdb.py", line 678, in test_up_at_top
    cmds_after_breakpoint=['py-up'] * 4)
  File "/builddir/build/BUILD/Python-3.Lib/test/test_gdb.py", line 213, in get_stack_trace
    self.assertEqual(err, '')
AssertionError: "Python Exception <class '__main__.NullPyObjectPtr'> <__main__.PyFrameObjectPtr  [truncated]... != ''
- Python Exception <class '__main__.NullPyObjectPtr'> <__main__.PyFrameObjectPtr object at 0x23a6db0>: 
- Error occurred in Python command: <__main__.PyFrameObjectPtr object at 0x23a6db0>
======================================================================
FAIL: test_threads (test.test_gdb.PyBtTests)
Verify that "py-bt" indicates threads that are waiting for the GIL
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/Python-3.Lib/test/test_gdb.py", line 759, in test_threads
    cmds_after_breakpoint=['thread apply all py-bt'])
  File "/builddir/build/BUILD/Python-3.Lib/test/test_gdb.py", line 213, in get_stack_trace
    self.assertEqual(err, '')
AssertionError: "Python Exception <class 'gdb.error'> There is no member named co_name.: \nError [truncated]... != ''
- Python Exception <class 'gdb.error'> There is no member named co_name.: 
- Error occurred in Python command: There is no member named co_name.
----------------------------------------------------------------------

The whole build log is accessible at [2]. Any clues would be appreciated. Thanks.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=951802
[2] http://arm.koji.fedoraproject.org//work/tasks/2722/1712722/build.log
[3] https://gist.github.com/bkabrda/5387906
[4] https://gist.github.com/bkabrda/5387908
History
Date User Action Args
2013-04-15 13:41:08bkabrdasetrecipients: + bkabrda
2013-04-15 13:41:08bkabrdasetmessageid: <1366033268.62.0.309892862388.issue17737@psf.upfronthosting.co.za>
2013-04-15 13:41:08bkabrdalinkissue17737 messages
2013-04-15 13:41:07bkabrdacreate