#104 Reenable test_gdb on armv7hl
Closed 5 months ago by vstinner. Opened 5 months ago by vstinner.
rpms/ vstinner/python3 reenable_gdb_arm  into  master

file modified
+1 -3

@@ -978,8 +978,6 @@ 

    LD_LIBRARY_PATH=$ConfDir $ConfDir/python -m test.pythoninfo

  

    # Run the upstream test suite

-   # test_gdb skipped on armv7hl:

-   #   https://bugzilla.redhat.com/show_bug.cgi?id=1196181

    # test_gdb skipped on s390x:

    #   https://bugzilla.redhat.com/show_bug.cgi?id=1678277

    # test_asyncio skipped:

@@ -988,7 +986,7 @@ 

      -wW --slowest -j0 \

      -x test_distutils \

      -x test_bdist_rpm \

-     %ifarch %{arm} s390x

+     %ifarch s390x

      -x test_gdb \

      %endif

      %ifarch %{mips64}

test_gdb failed because of one of glibc's SystemTap SDT probes was
malformed, it has been fixed in glibc-2.29-4.fc30:
https://bugzilla.redhat.com/show_bug.cgi?id=1196181

======================================================================
FAIL: test_basic_command (test.test_gdb.PyListTests)
Verify that the "py-list" command works
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/Python-3.7.3/Lib/test/test_gdb.py", line 687, in test_basic_command
    cmds_after_breakpoint=['py-list'])
  File "/builddir/build/BUILD/Python-3.7.3/Lib/test/test_gdb.py", line 250, in get_stack_trace
    self.assertEqual(unexpected_errlines, [])
AssertionError: Lists differ: ["Python Exception <class '__main__.NullPy[135 chars]b0>'] != []
First list contains 2 additional elements.
First extra element 0:
"Python Exception <class '__main__.NullPyObjectPtr'> <__main__.PyCodeObjectPtr object at 0xb3d941b0>: "
+ []
- ["Python Exception <class '__main__.NullPyObjectPtr'> "
-  '<__main__.PyCodeObjectPtr object at 0xb3d941b0>: ',
-  'Error occurred in Python: <__main__.PyCodeObjectPtr object at 0xb3d941b0>']
======================================================================
FAIL: test_one_abs_arg (test.test_gdb.PyListTests)
Verify the "py-list" command with one absolute argument
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/Python-3.7.3/Lib/test/test_gdb.py", line 702, in test_one_abs_arg
    cmds_after_breakpoint=['py-list 9'])
  File "/builddir/build/BUILD/Python-3.7.3/Lib/test/test_gdb.py", line 250, in get_stack_trace
    self.assertEqual(unexpected_errlines, [])
AssertionError: Lists differ: ["Python Exception <class '__main__.NullPy[135 chars]b0>'] != []
First list contains 2 additional elements.
First extra element 0:
"Python Exception <class '__main__.NullPyObjectPtr'> <__main__.PyCodeObjectPtr object at 0xb3ddc1b0>: "
+ []
- ["Python Exception <class '__main__.NullPyObjectPtr'> "
-  '<__main__.PyCodeObjectPtr object at 0xb3ddc1b0>: ',
-  'Error occurred in Python: <__main__.PyCodeObjectPtr object at 0xb3ddc1b0>']
======================================================================
FAIL: test_two_abs_args (test.test_gdb.PyListTests)
Verify the "py-list" command with two absolute arguments
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/Python-3.7.3/Lib/test/test_gdb.py", line 713, in test_two_abs_args
    cmds_after_breakpoint=['py-list 1,3'])
  File "/builddir/build/BUILD/Python-3.7.3/Lib/test/test_gdb.py", line 250, in get_stack_trace
    self.assertEqual(unexpected_errlines, [])
AssertionError: Lists differ: ["Python Exception <class '__main__.NullPy[135 chars]50>'] != []
First list contains 2 additional elements.
First extra element 0:
"Python Exception <class '__main__.NullPyObjectPtr'> <__main__.PyCodeObjectPtr object at 0xb3db3450>: "
+ []
- ["Python Exception <class '__main__.NullPyObjectPtr'> "
-  '<__main__.PyCodeObjectPtr object at 0xb3db3450>: ',
-  'Error occurred in Python: <__main__.PyCodeObjectPtr object at 0xb3db3450>']
======================================================================
FAIL: test_pyup_command (test.test_gdb.StackNavigationTests)
Verify that the "py-up" command works
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/Python-3.7.3/Lib/test/test_gdb.py", line 727, in test_pyup_command
    cmds_after_breakpoint=['py-up', 'py-up'])
  File "/builddir/build/BUILD/Python-3.7.3/Lib/test/test_gdb.py", line 250, in get_stack_trace
    self.assertEqual(unexpected_errlines, [])
AssertionError: Lists differ: ["Python Exception <class '__main__.NullPy[135 chars]b0>'] != []
First list contains 2 additional elements.
First extra element 0:
"Python Exception <class '__main__.NullPyObjectPtr'> <__main__.PyCodeObjectPtr object at 0xb3dae4b0>: "
+ []
- ["Python Exception <class '__main__.NullPyObjectPtr'> "
-  '<__main__.PyCodeObjectPtr object at 0xb3dae4b0>: ',
-  'Error occurred in Python: <__main__.PyCodeObjectPtr object at 0xb3dae4b0>']
======================================================================
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.7.3/Lib/test/test_gdb.py", line 746, in test_up_at_top
    cmds_after_breakpoint=['py-up'] * 5)
  File "/builddir/build/BUILD/Python-3.7.3/Lib/test/test_gdb.py", line 250, in get_stack_trace
    self.assertEqual(unexpected_errlines, [])
AssertionError: Lists differ: ["Python Exception <class '__main__.NullPy[286 chars]x1c'] != []
First list contains 4 additional elements.
First extra element 0:
"Python Exception <class '__main__.NullPyObjectPtr'> <__main__.PyCodeObjectPtr object at 0xb3dc04b0>: "
+ []
- ["Python Exception <class '__main__.NullPyObjectPtr'> "
-  '<__main__.PyCodeObjectPtr object at 0xb3dc04b0>: ',
-  'Error occurred in Python: <__main__.PyCodeObjectPtr object at 0xb3dc04b0>',
-  "Python Exception <class 'gdb.MemoryError'> Cannot access memory at address "
-  '0x1c: ',
-  'Error occurred in Python: Cannot access memory at address 0x1c']
======================================================================
FAIL: test_up_then_down (test.test_gdb.StackNavigationTests)
Verify "py-up" followed by "py-down"
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/Python-3.7.3/Lib/test/test_gdb.py", line 756, in test_up_then_down
    cmds_after_breakpoint=['py-up', 'py-up', 'py-down'])
  File "/builddir/build/BUILD/Python-3.7.3/Lib/test/test_gdb.py", line 250, in get_stack_trace
    self.assertEqual(unexpected_errlines, [])
AssertionError: Lists differ: ["Python Exception <class '__main__.NullPy[317 chars]f0>'] != []
First list contains 4 additional elements.
First extra element 0:
"Python Exception <class '__main__.NullPyObjectPtr'> <__main__.PyCodeObjectPtr object at 0xb3d594b0>: "
+ []
- ["Python Exception <class '__main__.NullPyObjectPtr'> "
-  '<__main__.PyCodeObjectPtr object at 0xb3d594b0>: ',
-  'Error occurred in Python: <__main__.PyCodeObjectPtr object at 0xb3d594b0>',
-  "Python Exception <class '__main__.NullPyObjectPtr'> "
-  '<__main__.PyCodeObjectPtr object at 0xb3d591f0>: ',
-  'Error occurred in Python: <__main__.PyCodeObjectPtr object at 0xb3d591f0>']
======================================================================
FAIL: test_bt (test.test_gdb.PyBtTests)
Verify that the "py-bt" command works
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/Python-3.7.3/Lib/test/test_gdb.py", line 771, in test_bt
    cmds_after_breakpoint=['py-bt'])
  File "/builddir/build/BUILD/Python-3.7.3/Lib/test/test_gdb.py", line 250, in get_stack_trace
    self.assertEqual(unexpected_errlines, [])
AssertionError: Lists differ: ["Python Exception <class '__main__.NullPy[135 chars]30>'] != []
First list contains 2 additional elements.
First extra element 0:
"Python Exception <class '__main__.NullPyObjectPtr'> <__main__.PyCodeObjectPtr object at 0xb3d81630>: "
+ []
- ["Python Exception <class '__main__.NullPyObjectPtr'> "
-  '<__main__.PyCodeObjectPtr object at 0xb3d81630>: ',
-  'Error occurred in Python: <__main__.PyCodeObjectPtr object at 0xb3d81630>']
======================================================================
FAIL: test_bt_full (test.test_gdb.PyBtTests)
Verify that the "py-bt-full" command works
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/Python-3.7.3/Lib/test/test_gdb.py", line 791, in test_bt_full
    cmds_after_breakpoint=['py-bt-full'])
  File "/builddir/build/BUILD/Python-3.7.3/Lib/test/test_gdb.py", line 250, in get_stack_trace
    self.assertEqual(unexpected_errlines, [])
AssertionError: Lists differ: ["Python Exception <class '__main__.NullPy[135 chars]30>'] != []
First list contains 2 additional elements.
First extra element 0:
"Python Exception <class '__main__.NullPyObjectPtr'> <__main__.PyCodeObjectPtr object at 0xb3df3630>: "
+ []
- ["Python Exception <class '__main__.NullPyObjectPtr'> "
-  '<__main__.PyCodeObjectPtr object at 0xb3df3630>: ',
-  'Error occurred in Python: <__main__.PyCodeObjectPtr object at 0xb3df3630>']
======================================================================
FAIL: test_gc (test.test_gdb.PyBtTests)
Verify that "py-bt" indicates if a thread is garbage-collecting
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/Python-3.7.3/Lib/test/test_gdb.py", line 850, in test_gc
    cmds_after_breakpoint=['break update_refs', 'continue', 'py-bt'],
  File "/builddir/build/BUILD/Python-3.7.3/Lib/test/test_gdb.py", line 250, in get_stack_trace
    self.assertEqual(unexpected_errlines, [])
AssertionError: Lists differ: ["Python Exception <class 'gdb.MemoryError[104 chars]x1b'] != []
First list contains 2 additional elements.
First extra element 0:
"Python Exception <class 'gdb.MemoryError'> Cannot access memory at address 0x1b: "
+ []
- ["Python Exception <class 'gdb.MemoryError'> Cannot access memory at address "
-  '0x1b: ',
-  'Error occurred in Python: Cannot access memory at address 0x1b']
======================================================================
FAIL: test_pycfunction (test.test_gdb.PyBtTests)
Verify that "py-bt" displays invocations of PyCFunction instances
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/Python-3.7.3/Lib/test/test_gdb.py", line 878, in test_pycfunction
    cmds_after_breakpoint=['bt', 'py-bt'],
  File "/builddir/build/BUILD/Python-3.7.3/Lib/test/test_gdb.py", line 250, in get_stack_trace
    self.assertEqual(unexpected_errlines, [])
AssertionError: Lists differ: ["Python Exception <class 'gdb.MemoryError[104 chars]x1b'] != []
First list contains 2 additional elements.
First extra element 0:
"Python Exception <class 'gdb.MemoryError'> Cannot access memory at address 0x1b: "
+ []
- ["Python Exception <class 'gdb.MemoryError'> Cannot access memory at address "
-  '0x1b: ',
-  'Error occurred in Python: Cannot access memory at address 0x1b']
======================================================================
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.7.3/Lib/test/test_gdb.py", line 826, in test_threads
    cmds_after_breakpoint=['thread apply all py-bt'])
  File "/builddir/build/BUILD/Python-3.7.3/Lib/test/test_gdb.py", line 250, in get_stack_trace
    self.assertEqual(unexpected_errlines, [])
AssertionError: Lists differ: ['Error occurred in Python: Cannot access memory at address 0x1b'] != []
First list contains 1 additional elements.
First extra element 0:
'Error occurred in Python: Cannot access memory at address 0x1b'
- ['Error occurred in Python: Cannot access memory at address 0x1b']
+ []
======================================================================
FAIL: test_wrapper_call (test.test_gdb.PyBtTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/Python-3.7.3/Lib/test/test_gdb.py", line 910, in test_wrapper_call
    cmds_after_breakpoint=cmds_after_breakpoint)
  File "/builddir/build/BUILD/Python-3.7.3/Lib/test/test_gdb.py", line 250, in get_stack_trace
    self.assertEqual(unexpected_errlines, [])
AssertionError: Lists differ: ["Python Exception <class '__main__.NullPy[137 chars]b0>'] != []
First list contains 2 additional elements.
First extra element 0:
"Python Exception <class '__main__.NullPyObjectPtr'> <__main__.PyFrameObjectPtr object at 0xb3dc31b0>: "
+ []
- ["Python Exception <class '__main__.NullPyObjectPtr'> "
-  '<__main__.PyFrameObjectPtr object at 0xb3dc31b0>: ',
-  'Error occurred in Python: <__main__.PyFrameObjectPtr object at 0xb3dc31b0>']
======================================================================
FAIL: test_basic_command (test.test_gdb.PyPrintTests)
Verify that the "py-print" command works
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/Python-3.7.3/Lib/test/test_gdb.py", line 921, in test_basic_command
    cmds_after_breakpoint=['py-up', 'py-print args'])
  File "/builddir/build/BUILD/Python-3.7.3/Lib/test/test_gdb.py", line 250, in get_stack_trace
    self.assertEqual(unexpected_errlines, [])
AssertionError: Lists differ: ["Python Exception <class '__main__.NullPy[317 chars]30>'] != []
First list contains 4 additional elements.
First extra element 0:
"Python Exception <class '__main__.NullPyObjectPtr'> <__main__.PyCodeObjectPtr object at 0xb3db74b0>: "
+ []
- ["Python Exception <class '__main__.NullPyObjectPtr'> "
-  '<__main__.PyCodeObjectPtr object at 0xb3db74b0>: ',
-  'Error occurred in Python: <__main__.PyCodeObjectPtr object at 0xb3db74b0>',
-  "Python Exception <class '__main__.NullPyObjectPtr'> "
-  '<__main__.PyCodeObjectPtr object at 0xb3db7630>: ',
-  'Error occurred in Python: <__main__.PyCodeObjectPtr object at 0xb3db7630>']
======================================================================
FAIL: test_print_after_up (test.test_gdb.PyPrintTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/Python-3.7.3/Lib/test/test_gdb.py", line 930, in test_print_after_up
    cmds_after_breakpoint=['py-up', 'py-up', 'py-print c', 'py-print b', 'py-print a'])
  File "/builddir/build/BUILD/Python-3.7.3/Lib/test/test_gdb.py", line 250, in get_stack_trace
    self.assertEqual(unexpected_errlines, [])
AssertionError: Lists differ: ["Python Exception <class '__main__.NullPy[135 chars]b0>'] != []
First list contains 2 additional elements.
First extra element 0:
"Python Exception <class '__main__.NullPyObjectPtr'> <__main__.PyCodeObjectPtr object at 0xb3d804b0>: "
+ []
- ["Python Exception <class '__main__.NullPyObjectPtr'> "
-  '<__main__.PyCodeObjectPtr object at 0xb3d804b0>: ',
-  'Error occurred in Python: <__main__.PyCodeObjectPtr object at 0xb3d804b0>']
======================================================================
FAIL: test_printing_builtin (test.test_gdb.PyPrintTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/Python-3.7.3/Lib/test/test_gdb.py", line 946, in test_printing_builtin
    cmds_after_breakpoint=['py-up', 'py-print len'])
  File "/builddir/build/BUILD/Python-3.7.3/Lib/test/test_gdb.py", line 250, in get_stack_trace
    self.assertEqual(unexpected_errlines, [])
AssertionError: Lists differ: ["Python Exception <class '__main__.NullPy[317 chars]30>'] != []
First list contains 4 additional elements.
First extra element 0:
"Python Exception <class '__main__.NullPyObjectPtr'> <__main__.PyCodeObjectPtr object at 0xb3dbb4b0>: "
+ []
- ["Python Exception <class '__main__.NullPyObjectPtr'> "
-  '<__main__.PyCodeObjectPtr object at 0xb3dbb4b0>: ',
-  'Error occurred in Python: <__main__.PyCodeObjectPtr object at 0xb3dbb4b0>',
-  "Python Exception <class '__main__.NullPyObjectPtr'> "
-  '<__main__.PyCodeObjectPtr object at 0xb3dbb630>: ',
-  'Error occurred in Python: <__main__.PyCodeObjectPtr object at 0xb3dbb630>']
======================================================================
FAIL: test_printing_global (test.test_gdb.PyPrintTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/Python-3.7.3/Lib/test/test_gdb.py", line 938, in test_printing_global
    cmds_after_breakpoint=['py-up', 'py-print __name__'])
  File "/builddir/build/BUILD/Python-3.7.3/Lib/test/test_gdb.py", line 250, in get_stack_trace
    self.assertEqual(unexpected_errlines, [])
AssertionError: Lists differ: ["Python Exception <class '__main__.NullPy[317 chars]b0>'] != []
First list contains 4 additional elements.
First extra element 0:
"Python Exception <class '__main__.NullPyObjectPtr'> <__main__.PyCodeObjectPtr object at 0xb3d904b0>: "
+ []
- ["Python Exception <class '__main__.NullPyObjectPtr'> "
-  '<__main__.PyCodeObjectPtr object at 0xb3d904b0>: ',
-  'Error occurred in Python: <__main__.PyCodeObjectPtr object at 0xb3d904b0>',
-  "Python Exception <class '__main__.NullPyObjectPtr'> "
-  '<__main__.PyCodeObjectPtr object at 0xb3d904b0>: ',
-  'Error occurred in Python: <__main__.PyCodeObjectPtr object at 0xb3d904b0>']
test test_gdb failed
======================================================================
FAIL: test_basic_command (test.test_gdb.PyLocalsTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/Python-3.7.3/Lib/test/test_gdb.py", line 955, in test_basic_command
    cmds_after_breakpoint=['py-up', 'py-locals'])
  File "/builddir/build/BUILD/Python-3.7.3/Lib/test/test_gdb.py", line 250, in get_stack_trace
    self.assertEqual(unexpected_errlines, [])
AssertionError: Lists differ: ["Python Exception <class '__main__.NullPy[317 chars]b0>'] != []
First list contains 4 additional elements.
First extra element 0:
"Python Exception <class '__main__.NullPyObjectPtr'> <__main__.PyCodeObjectPtr object at 0xb3dd74b0>: "
+ []
- ["Python Exception <class '__main__.NullPyObjectPtr'> "
-  '<__main__.PyCodeObjectPtr object at 0xb3dd74b0>: ',
-  'Error occurred in Python: <__main__.PyCodeObjectPtr object at 0xb3dd74b0>',
-  "Python Exception <class '__main__.NullPyObjectPtr'> "
-  '<__main__.PyCodeObjectPtr object at 0xb3dd74b0>: ',
-  'Error occurred in Python: <__main__.PyCodeObjectPtr object at 0xb3dd74b0>']
======================================================================
FAIL: test_locals_after_up (test.test_gdb.PyLocalsTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/Python-3.7.3/Lib/test/test_gdb.py", line 964, in test_locals_after_up
    cmds_after_breakpoint=['py-up', 'py-up', 'py-locals'])
  File "/builddir/build/BUILD/Python-3.7.3/Lib/test/test_gdb.py", line 250, in get_stack_trace
    self.assertEqual(unexpected_errlines, [])
AssertionError: Lists differ: ["Python Exception <class '__main__.NullPy[135 chars]b0>'] != []
First list contains 2 additional elements.
First extra element 0:
"Python Exception <class '__main__.NullPyObjectPtr'> <__main__.PyCodeObjectPtr object at 0xb3d6f4b0>: "
+ []
- ["Python Exception <class '__main__.NullPyObjectPtr'> "
-  '<__main__.PyCodeObjectPtr object at 0xb3d6f4b0>: ',
-  'Error occurred in Python: <__main__.PyCodeObjectPtr object at 0xb3d6f4b0>']
----------------------------------------------------------------------
Ran 46 tests in 239.347s
FAILED (failures=18)
1 test failed again:
    test_gdb
== Tests result: FAILURE then FAILURE ==

Got glibc-2.29.9000-9.fc31

@churchyard: yeah I saw that, but I have no idea why test_gdb failed and I would need a VM to reproduce the failure, but @sergiodj said that he failed to get one in weeks :-/

@churchyard: yeah I saw that, but I have no idea why test_gdb failed and I would need a VM to reproduce the failure, but @sergiodj said that he failed to get one in weeks :-/

I've just tried reserving again, and it still fails (problem when installing the bootloader). I'm trying to get an ARM machine from an internal group, but I'm not sure it will be possible.

I've just tried reserving again, and it still fails (problem when installing the bootloader). I'm trying to get an ARM machine from an internal group, but I'm not sure it will be possible.

I scheduled a job with "Rawhide (...) Server armhfp" but the installation failed for an unknown reason. I was told that nobody tested the Rawhide image.

I scheduled a job using "Fedora 29 (...) Server armhfp": the installation failed with "bootloader: bootloader.write failed: boot loader install failed" and then was stuck at "simpleline: Input is required by ScreenData(YesNoDialog,None,True) screen".

Then I found https://fedoraproject.org/wiki/Test_Machine_Resources_For_Package_Maintainers and I got access to a ARM machine: test_gdb of Python 3.7.3 fails there:

  • uname -m: armv7l
  • uname -r: 4.19.5-300.fc29.armv7hl
  • rpm -q glibc: glibc-2.28-26.fc29.armv7hl
  • cat /etc/fedora-release: Fedora release 29 (Twenty Nine)

Problem: it's Fedora 29, it doesn't have glibc-2.29-4.fc30.

First, gdb didn't want to load python-gdb.py, I had to create a ~/.gdbinit configuration file:

add-auto-load-safe-path /home/fedora/vstinner/

Then the test failed because of these 3 lines which are unexpected by test_gdb:

Cannot parse expression `.L1212 4@r4'.
warning: Probes-based dynamic linker interface failed.
Reverting to original interface.

Commands to reproduce the issue:

# Build Python 3.7.3 in debug mode
$ wget https://www.python.org/ftp/python/3.7.3/Python-3.7.3.tar.xz
$ tar -xf Python-3.7.3.tar.xz 
$ cd Python-3.7.3/
$ ./configure --with-pydebug
$ make

# Try py-bt command in gdb
$ gdb -args ./python Lib/test/gdb_sample.py
(gdb) b builtin_id
(gdb) run
[1]+  Stopped                 gdb -args ./python Lib/test/gdb_sample.py
$ fg   # wow, why does gdb go to background?

gdb -args ./python Lib/test/gdb_sample.py
Cannot parse expression `.L1212 4@r4'.
warning: Probes-based dynamic linker interface failed.
Reverting to original interface.

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".

Breakpoint 1, builtin_id (self=0xb6cde5d8, v=42) at Python/bltinmodule.c:1215
1215    {
Missing separate debuginfos, use: dnf debuginfo-install libgcc-8.2.1-6.fc29.armv7hl libxcrypt-4.4.4-1.fc29.armv7hl

(gdb) py-bt
Traceback (most recent call first):
  <built-in method id of module object at remote 0xb6cde5d8>
  File "Lib/test/gdb_sample.py", line 10, in baz
    id(42)
  File "Lib/test/gdb_sample.py", line 7, in bar
    baz(a, b, c)
  File "Lib/test/gdb_sample.py", line 4, in foo
    bar(a, b, c)
  File "Lib/test/gdb_sample.py", line 12, in <module>
    foo(1, 2, 3)

I fixed test_gdb with this change, I added the last 2 items of the list:

        ignore_patterns = (
            'Function "%s" not defined.' % breakpoint,
            'Do you need "set solib-search-path" or '
            '"set sysroot"?',
            # BFD: /usr/lib/debug/(...): unable to initialize decompress
            # status for section .debug_aranges
            'BFD: ',
            # ignore all warnings
            'warning: ',
            'Cannot parse expression ',
            'Reverting to original interface',
            )

Metadata Update from @churchyard:
- Pull-request tagged with: WIP, tests

5 months ago

Something is wrong, but this PR cannot be used to debug: someone needs to get access to a Fedora Rawhide running on ARM to debug the issue. I close the issue.

Pull-Request has been closed by vstinner

5 months ago