Repository navigation
WIP: Split interpreter control and data stacks #7547
jit.yml
on: pull_request
Interpreter (Debug)
9m 6s
Matrix: linux-extras
Matrix: linux
Matrix: macos
Matrix: windows
Annotations
58 errors, 3 warnings, and 2 notices
|
aarch64-unknown-linux-gnu/gcc (Release)
Process completed with exit code 2.
|
|
test_bt_unwinds_through_jit_frames (test.test_gdb.test_jit.JitBacktraceTests.test_bt_unwinds_through_jit_frames):
Lib/test/test_gdb/test_jit.py#L143
AssertionError: ['#10 eval_frame (tstate=, frame=, throwflag=-1428866560) at Python/generated_cases.c.h:6171'] is not false : expected the executor frame to unwind directly into eval
backtrace:
#0 builtin_id (self=<module at remote 0xfffff7b93c40>, v=42) at Python/clinic/bltinmodule.c.h:855
#1 _PyObject_VectorcallTstate (tstate=<_PyRuntime+250480>, callable=<built-in method id of module object at remote 0xfffff7b93c40>, args=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at ./Include/internal/pycore_call.h:143
#2 PyObject_Vectorcall (callable=<built-in method id of module object at remote 0xfffff7b93c40>, args=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at Objects/call.c:327
#3 _Py_VectorCallInstrumentation_StackRefSteal (callable=<module at remote 0xfffff7b93c40>, arguments=, total_args=1, kwnames=0x0, call_instrumentation=false, frame=, this_instr=<optimized out>, tstate=<optimized out>) at Python/ceval.c:734
#4 eval_frame (tstate=<_PyRuntime+250480>, frame=, throwflag=-1428866560) at Python/generated_cases.c.h:1906
#5 _PyEval_EvalFrameDefault (tstate=<_PyRuntime+250480>, frame=<optimized out>, throwflag=<optimized out>) at Python/ceval.c:1317
#6 _PyObject_VectorcallTstate (tstate=<_PyRuntime+250480>, callable=<function at remote 0xffffb773bc10>, args=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at ./Include/internal/pycore_call.h:143
#7 PyObject_Vectorcall (callable=<function at remote 0xffffb773bc10>, args=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at Objects/call.c:327
#8 _Py_BuiltinCallFastWithKeywords_StackRef (callable=..., arguments=<optimized out>, total_args=3) at Python/ceval.c:807
#9 py::jit:executor ()
#10 eval_frame (tstate=, frame=, throwflag=-1428866560) at Python/generated_cases.c.h:6171
#11 _PyEval_EvalFrameDefault (tstate=<_PyRuntime+250480>, frame=<optimized out>, throwflag=0) at Python/ceval.c:1317
#12 _PyEval_EvalFrame (tstate=<optimized out>, frame=<optimized out>, throwflag=<optimized out>) at ./Include/internal/pycore_ceval.h:122
#13 _PyEval_Vector (tstate=<_PyRuntime+250480>, func=, locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0xfffff7c3d810>, '__spec__': None, '__builtins__': <module at remote 0xfffff7b93c40>, '__file__': '/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', '_testinternalcapi': <module at remote 0xffffb7721740>, 'operator': <module at remote 0xffffb7721940>, 'WARMUP_ITERATIONS': 4012, 'jit_bt_hot': <function at remote 0xffffb773bc10>}, args=, argcount=0, kwnames=0x0) at Python/ceval.c:2243
#14 PyEval_EvalCode (co=<code at remote 0xfffff7c4a470>, globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0xfffff7c3d810>, '__spec__': None, '__builtins__': <module at remote 0xfffff7b93c40>, '__file__': '/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', '_testinternalcapi': <module at remote 0xffffb7721740>, 'operator': <module at remote 0xffffb7721940>, 'WARMUP_ITERATIONS': 4012, 'jit_bt_hot': <function at remote 0xffffb773bc10>}, locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0xfffff7c3d810>, '__spec__': None, '__builtins__': <module at remote 0xfffff7b93c40>, '__file__': '/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', '_testinternalcapi': <module at remote 0xffffb7721740>, 'operator': <module at remote 0xffffb7721940>, 'WARMUP_ITERATIONS': 4012, 'jit_bt_hot': <function at remote 0xffffb773bc10>}) at Python/ceval.c:639
#15 run_eval_code_obj (tstate=<_PyRuntime+250480>, co=, globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__':
|
|
test_bt_unwinds_from_inside_jit_executor (test.test_gdb.test_jit.JitBacktraceTests.test_bt_unwinds_from_inside_jit_executor):
Lib/test/test_gdb/test_jit.py#L143
AssertionError: ['#1 eval_frame (tstate=, frame=, throwflag=0) at Python/generated_cases.c.h:6171'] is not false : expected the executor frame to unwind directly into eval
backtrace:
#0 py::jit:executor ()
#1 eval_frame (tstate=, frame=, throwflag=0) at Python/generated_cases.c.h:6171
#2 _PyEval_EvalFrameDefault (tstate=<_PyRuntime+250480>, frame=<optimized out>, throwflag=0) at Python/ceval.c:1317
#3 _PyEval_EvalFrame (tstate=<optimized out>, frame=<optimized out>, throwflag=<optimized out>) at ./Include/internal/pycore_ceval.h:122
#4 _PyEval_Vector (tstate=<_PyRuntime+250480>, func=, locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0xfffff7c3d810>, '__spec__': None, '__builtins__': <module at remote 0xfffff7b93c40>, '__file__': '/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', '_testinternalcapi': <module at remote 0xffffb7721740>, 'operator': <module at remote 0xffffb7721940>, 'WARMUP_ITERATIONS': 4012, 'jit_bt_hot': <function at remote 0xffffb773bc10>}, args=, argcount=0, kwnames=0x0) at Python/ceval.c:2243
#5 PyEval_EvalCode (co=<code at remote 0xfffff7c4a470>, globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0xfffff7c3d810>, '__spec__': None, '__builtins__': <module at remote 0xfffff7b93c40>, '__file__': '/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', '_testinternalcapi': <module at remote 0xffffb7721740>, 'operator': <module at remote 0xffffb7721940>, 'WARMUP_ITERATIONS': 4012, 'jit_bt_hot': <function at remote 0xffffb773bc10>}, locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0xfffff7c3d810>, '__spec__': None, '__builtins__': <module at remote 0xfffff7b93c40>, '__file__': '/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', '_testinternalcapi': <module at remote 0xffffb7721740>, 'operator': <module at remote 0xffffb7721940>, 'WARMUP_ITERATIONS': 4012, 'jit_bt_hot': <function at remote 0xffffb773bc10>}) at Python/ceval.c:639
#6 run_eval_code_obj (tstate=<_PyRuntime+250480>, co=, globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0xfffff7c3d810>, '__spec__': None, '__builtins__': <module at remote 0xfffff7b93c40>, '__file__': '/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', '_testinternalcapi': <module at remote 0xffffb7721740>, 'operator': <module at remote 0xffffb7721940>, 'WARMUP_ITERATIONS': 4012, 'jit_bt_hot': <function at remote 0xffffb773bc10>}, locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0xfffff7c3d810>, '__spec__': None, '__builtins__': <module at remote 0xfffff7b93c40>, '__file__': '/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', '_testinternalcapi': <module at remote 0xffffb7721740>, 'operator': <module at remote 0xffffb7721940>, 'WARMUP_ITERATIONS': 4012, 'jit_bt_hot': <function at remote 0xffffb773bc10>}) at Python/pythonrun.c:1406
#7 run_mod (mod=, filename='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0xfffff7c3d810>, '__spec__': None, '__builtins__': <module at remote 0xfffff7b93c40>, '__file__': '/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py'
|
|
test_bt_handoff_from_jit_entry_to_executor (test.test_gdb.test_jit.JitBacktraceTests.test_bt_handoff_from_jit_entry_to_executor):
Lib/test/test_gdb/test_jit.py#L143
AssertionError: ['#10 eval_frame (tstate=, frame=, throwflag=-1428866560) at Python/generated_cases.c.h:6171'] is not false : expected the executor frame to unwind directly into eval
backtrace:
#0 builtin_id (self=<module at remote 0xfffff7b93c40>, v=42) at Python/clinic/bltinmodule.c.h:855
#1 _PyObject_VectorcallTstate (tstate=<_PyRuntime+250480>, callable=<built-in method id of module object at remote 0xfffff7b93c40>, args=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at ./Include/internal/pycore_call.h:143
#2 PyObject_Vectorcall (callable=<built-in method id of module object at remote 0xfffff7b93c40>, args=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at Objects/call.c:327
#3 _Py_VectorCallInstrumentation_StackRefSteal (callable=<module at remote 0xfffff7b93c40>, arguments=, total_args=1, kwnames=0x0, call_instrumentation=false, frame=, this_instr=<optimized out>, tstate=<optimized out>) at Python/ceval.c:734
#4 eval_frame (tstate=<_PyRuntime+250480>, frame=, throwflag=-1428866560) at Python/generated_cases.c.h:1906
#5 _PyEval_EvalFrameDefault (tstate=<_PyRuntime+250480>, frame=<optimized out>, throwflag=<optimized out>) at Python/ceval.c:1317
#6 _PyObject_VectorcallTstate (tstate=<_PyRuntime+250480>, callable=<function at remote 0xffffb773bc10>, args=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at ./Include/internal/pycore_call.h:143
#7 PyObject_Vectorcall (callable=<function at remote 0xffffb773bc10>, args=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at Objects/call.c:327
#8 _Py_BuiltinCallFastWithKeywords_StackRef (callable=..., arguments=<optimized out>, total_args=3) at Python/ceval.c:807
#9 py::jit:executor ()
#10 eval_frame (tstate=, frame=, throwflag=-1428866560) at Python/generated_cases.c.h:6171
#11 _PyEval_EvalFrameDefault (tstate=<_PyRuntime+250480>, frame=<optimized out>, throwflag=0) at Python/ceval.c:1317
#12 _PyEval_EvalFrame (tstate=<optimized out>, frame=<optimized out>, throwflag=<optimized out>) at ./Include/internal/pycore_ceval.h:122
#13 _PyEval_Vector (tstate=<_PyRuntime+250480>, func=, locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0xfffff7c3d810>, '__spec__': None, '__builtins__': <module at remote 0xfffff7b93c40>, '__file__': '/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', '_testinternalcapi': <module at remote 0xffffb7721740>, 'operator': <module at remote 0xffffb7721940>, 'WARMUP_ITERATIONS': 4012, 'jit_bt_hot': <function at remote 0xffffb773bc10>}, args=, argcount=0, kwnames=0x0) at Python/ceval.c:2243
#14 PyEval_EvalCode (co=<code at remote 0xfffff7c4a470>, globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0xfffff7c3d810>, '__spec__': None, '__builtins__': <module at remote 0xfffff7b93c40>, '__file__': '/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', '_testinternalcapi': <module at remote 0xffffb7721740>, 'operator': <module at remote 0xffffb7721940>, 'WARMUP_ITERATIONS': 4012, 'jit_bt_hot': <function at remote 0xffffb773bc10>}, locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0xfffff7c3d810>, '__spec__': None, '__builtins__': <module at remote 0xfffff7b93c40>, '__file__': '/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', '_testinternalcapi': <module at remote 0xffffb7721740>, 'operator': <module at remote 0xffffb7721940>, 'WARMUP_ITERATIONS': 4012, 'jit_bt_hot': <function at remote 0xffffb773bc10>}) at Python/ceval.c:639
#15 run_eval_code_obj (tstate=<_PyRuntime+250480>, co=, globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__':
|
|
test_frames (test.test_gdb.test_pretty_print.PrettyPrintTests.test_frames):
Lib/test/test_gdb/test_pretty_print.py#L444
AssertionError: None is not true : Unexpected gdb representation: 'Breakpoint 1 at 0x2b3a00: file Python/clinic/bltinmodule.c.h, line 855.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/usr/lib/aarch64-linux-gnu/libthread_db.so.1".\n\nBreakpoint 1, builtin_id (self=<module at remote 0xfffff7b93c40>, v=) at Python/clinic/bltinmodule.c.h:855\n855\t return_value = builtin_id_impl((PyModuleDef *)self, v);\n$1 = \n'
Breakpoint 1 at 0x2b3a00: file Python/clinic/bltinmodule.c.h, line 855.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/aarch64-linux-gnu/libthread_db.so.1".
Breakpoint 1, builtin_id (self=<module at remote 0xfffff7b93c40>, v=) at Python/clinic/bltinmodule.c.h:855
855 return_value = builtin_id_impl((PyModuleDef *)self, v);
$1 =
|
|
test_objecttypes (test.test_sys.SizeofTest.test_objecttypes):
Lib/test/test_sys.py#L1826
AssertionError: 200 != 192 : wrong size for <class 'frame'>: got 200, expected 192
|
|
test_basic_command (test.test_gdb.test_misc.PyLocalsTests.test_basic_command):
Lib/test/test_gdb/test_misc.py#L170
Exception: /usr/bin/gdb --batch -nx --init-eval-command 'add-auto-load-safe-path /home/runner/work/cpython/cpython/python-gdb.py' '--eval-command=set breakpoint pending yes' '--eval-command=break builtin_id' '--eval-command=set print address off' --eval-command=run '--eval-command=set print entry-values no' --eval-command=py-up --eval-command=py-locals --args /home/runner/work/cpython/cpython/python -S /home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_sample.py failed with exit code 1, expected exit code 0:
stdout='Breakpoint 1 at 0x281270: file Python/clinic/bltinmodule.c.h, line 852.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/usr/lib/x86_64-linux-gnu/libthread_db.so.1".\n\nBreakpoint 1, builtin_id (self=<module at remote 0x7ffff7bb05f0>, v=v@entry=42) at Python/clinic/bltinmodule.c.h:852\n852\t{\n'
stderr="Python Exception <class 'gdb.error'>: No type named _PyInterpreterFrame.\nError occurred in Python: No type named _PyInterpreterFrame.\nPython Exception <class 'gdb.error'>: No type named _PyInterpreterFrame.\nError occurred in Python: No type named _PyInterpreterFrame.\n"
|
|
test_two_abs_args (test.test_gdb.test_misc.PyListTests.test_two_abs_args):
Lib/test/test_gdb/test_misc.py#L61
Exception: /usr/bin/gdb --batch -nx --init-eval-command 'add-auto-load-safe-path /home/runner/work/cpython/cpython/python-gdb.py' '--eval-command=set breakpoint pending yes' '--eval-command=break builtin_id' '--eval-command=set print address off' --eval-command=run '--eval-command=set print entry-values no' '--eval-command=py-list 1,3' --args /home/runner/work/cpython/cpython/python -S /home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_sample.py failed with exit code 1, expected exit code 0:
stdout='Breakpoint 1 at 0x281270: file Python/clinic/bltinmodule.c.h, line 852.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/usr/lib/x86_64-linux-gnu/libthread_db.so.1".\n\nBreakpoint 1, builtin_id (self=<module at remote 0x7ffff7bb05f0>, v=v@entry=42) at Python/clinic/bltinmodule.c.h:852\n852\t{\n'
stderr="Python Exception <class 'gdb.error'>: No type named _PyInterpreterFrame.\nError occurred in Python: No type named _PyInterpreterFrame.\n"
|
|
test_one_abs_arg (test.test_gdb.test_misc.PyListTests.test_one_abs_arg):
Lib/test/test_gdb/test_misc.py#L50
Exception: /usr/bin/gdb --batch -nx --init-eval-command 'add-auto-load-safe-path /home/runner/work/cpython/cpython/python-gdb.py' '--eval-command=set breakpoint pending yes' '--eval-command=break builtin_id' '--eval-command=set print address off' --eval-command=run '--eval-command=set print entry-values no' '--eval-command=py-list 9' --args /home/runner/work/cpython/cpython/python -S /home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_sample.py failed with exit code 1, expected exit code 0:
stdout='Breakpoint 1 at 0x281270: file Python/clinic/bltinmodule.c.h, line 852.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/usr/lib/x86_64-linux-gnu/libthread_db.so.1".\n\nBreakpoint 1, builtin_id (self=<module at remote 0x7ffff7bb05f0>, v=v@entry=42) at Python/clinic/bltinmodule.c.h:852\n852\t{\n'
stderr="Python Exception <class 'gdb.error'>: No type named _PyInterpreterFrame.\nError occurred in Python: No type named _PyInterpreterFrame.\n"
|
|
test_basic_command (test.test_gdb.test_misc.PyListTests.test_basic_command):
Lib/test/test_gdb/test_misc.py#L35
Exception: /usr/bin/gdb --batch -nx --init-eval-command 'add-auto-load-safe-path /home/runner/work/cpython/cpython/python-gdb.py' '--eval-command=set breakpoint pending yes' '--eval-command=break builtin_id' '--eval-command=set print address off' --eval-command=run '--eval-command=set print entry-values no' --eval-command=py-list --args /home/runner/work/cpython/cpython/python -S /home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_sample.py failed with exit code 1, expected exit code 0:
stdout='Breakpoint 1 at 0x281270: file Python/clinic/bltinmodule.c.h, line 852.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/usr/lib/x86_64-linux-gnu/libthread_db.so.1".\n\nBreakpoint 1, builtin_id (self=<module at remote 0x7ffff7bb05f0>, v=v@entry=42) at Python/clinic/bltinmodule.c.h:852\n852\t{\n'
stderr="Python Exception <class 'gdb.error'>: No type named _PyInterpreterFrame.\nError occurred in Python: No type named _PyInterpreterFrame.\n"
|
|
test_wrapper_call (test.test_gdb.test_backtrace.PyBtTests.test_wrapper_call):
Lib/test/test_gdb/test_backtrace.py#L132
Exception: /usr/bin/gdb --batch -nx --init-eval-command 'add-auto-load-safe-path /home/runner/work/cpython/cpython/python-gdb.py' '--eval-command=set breakpoint pending yes' '--eval-command=break builtin_id' '--eval-command=set print address off' --eval-command=run '--eval-command=set print entry-values no' '--eval-command=break wrapper_call' --eval-command=continue --eval-command=py-bt --args /home/runner/work/cpython/cpython/python -S -c '
class MyList(list):
def __init__(self):
super(*[]).__init__() # wrapper_call()
id("first break point")
l = MyList()
' failed with exit code 1, expected exit code 0:
stdout='Breakpoint 1 at 0x281270: file Python/clinic/bltinmodule.c.h, line 852.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/usr/lib/x86_64-linux-gnu/libthread_db.so.1".\n\nBreakpoint 1, builtin_id (self=<module at remote 0x7ffff7bb05f0>, v=v@entry=\'first break point\') at Python/clinic/bltinmodule.c.h:852\n852\t{\nBreakpoint 2: file Objects/descrobject.c, line 1458.\n\nBreakpoint 2, wrapper_call (self=<method-wrapper \'__init__\' of MyList object at 0x7ffff7b453e0>, args=(), kwds=0x0) at Objects/descrobject.c:1458\n1458\t{\n'
stderr="Python Exception <class 'gdb.error'>: No type named _PyInterpreterFrame.\nError occurred in Python: No type named _PyInterpreterFrame.\n"
|
|
test_gc (test.test_gdb.test_backtrace.PyBtTests.test_gc):
Lib/test/test_gdb/test_backtrace.py#L101
Exception: /usr/bin/gdb --batch -nx --init-eval-command 'add-auto-load-safe-path /home/runner/work/cpython/cpython/python-gdb.py' '--eval-command=set breakpoint pending yes' '--eval-command=break builtin_id' '--eval-command=set print address off' --eval-command=run '--eval-command=set print entry-values no' '--eval-command=break update_refs' --eval-command=continue --eval-command=py-bt --args /home/runner/work/cpython/cpython/python -S -c 'from gc import collect
id(42)
def foo():
collect()
def bar():
foo()
bar()
' failed with exit code 1, expected exit code 0:
stdout='Breakpoint 1 at 0x281270: file Python/clinic/bltinmodule.c.h, line 852.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/usr/lib/x86_64-linux-gnu/libthread_db.so.1".\n\nBreakpoint 1, builtin_id (self=<module at remote 0x7ffff7bb05f0>, v=v@entry=42) at Python/clinic/bltinmodule.c.h:852\n852\t{\nBreakpoint 2: file Python/gc.c, line 399.\n\nBreakpoint 2, update_refs (containers=<_PyRuntime+145352>) at Python/gc.c:399\n399\t{\n'
stderr="Python Exception <class 'gdb.error'>: No type named _PyInterpreterFrame.\nError occurred in Python: No type named _PyInterpreterFrame.\n"
|
|
test_bt_full (test.test_gdb.test_backtrace.PyBtTests.test_bt_full):
Lib/test/test_gdb/test_backtrace.py#L38
Exception: /usr/bin/gdb --batch -nx --init-eval-command 'add-auto-load-safe-path /home/runner/work/cpython/cpython/python-gdb.py' '--eval-command=set breakpoint pending yes' '--eval-command=break builtin_id' '--eval-command=set print address off' --eval-command=run '--eval-command=set print entry-values no' --eval-command=py-bt-full --args /home/runner/work/cpython/cpython/python -S /home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_sample.py failed with exit code 1, expected exit code 0:
stdout='Breakpoint 1 at 0x281270: file Python/clinic/bltinmodule.c.h, line 852.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/usr/lib/x86_64-linux-gnu/libthread_db.so.1".\n\nBreakpoint 1, builtin_id (self=<module at remote 0x7ffff7bb05f0>, v=v@entry=42) at Python/clinic/bltinmodule.c.h:852\n852\t{\n'
stderr="Python Exception <class 'gdb.error'>: No type named _PyInterpreterFrame.\nError occurred in Python: No type named _PyInterpreterFrame.\n"
|
|
test_bt (test.test_gdb.test_backtrace.PyBtTests.test_bt):
Lib/test/test_gdb/test_backtrace.py#L18
Exception: /usr/bin/gdb --batch -nx --init-eval-command 'add-auto-load-safe-path /home/runner/work/cpython/cpython/python-gdb.py' '--eval-command=set breakpoint pending yes' '--eval-command=break builtin_id' '--eval-command=set print address off' --eval-command=run '--eval-command=set print entry-values no' --eval-command=py-bt --args /home/runner/work/cpython/cpython/python -S /home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_sample.py failed with exit code 1, expected exit code 0:
stdout='Breakpoint 1 at 0x281270: file Python/clinic/bltinmodule.c.h, line 852.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/usr/lib/x86_64-linux-gnu/libthread_db.so.1".\n\nBreakpoint 1, builtin_id (self=<module at remote 0x7ffff7bb05f0>, v=v@entry=42) at Python/clinic/bltinmodule.c.h:852\n852\t{\n'
stderr="Python Exception <class 'gdb.error'>: No type named _PyInterpreterFrame.\nError occurred in Python: No type named _PyInterpreterFrame.\n"
|
|
test_frames (test.test_gdb.test_pretty_print.PrettyPrintTests.test_frames):
Lib/test/test_gdb/test_pretty_print.py#L444
AssertionError: None is not true : Unexpected gdb representation: 'Breakpoint 1 at 0x281270: file Python/clinic/bltinmodule.c.h, line 852.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/usr/lib/x86_64-linux-gnu/libthread_db.so.1".\n\nBreakpoint 1, builtin_id (self=<module at remote 0x7ffff7bb05f0>, v=v@entry=) at Python/clinic/bltinmodule.c.h:852\n852\t{\n$1 = \n'
Breakpoint 1 at 0x281270: file Python/clinic/bltinmodule.c.h, line 852.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/x86_64-linux-gnu/libthread_db.so.1".
Breakpoint 1, builtin_id (self=<module at remote 0x7ffff7bb05f0>, v=v@entry=) at Python/clinic/bltinmodule.c.h:852
852 {
$1 =
|
|
test_objecttypes (test.test_sys.SizeofTest.test_objecttypes):
Lib/test/test_sys.py#L1826
AssertionError: 200 != 192 : wrong size for <class 'frame'>: got 200, expected 192
|
|
x86_64-unknown-linux-gnu/gcc (Release)
Process completed with exit code 2.
|
|
test_bt_unwinds_through_jit_frames (test.test_gdb.test_jit.JitBacktraceTests.test_bt_unwinds_through_jit_frames):
Lib/test/test_gdb/test_jit.py#L143
AssertionError: ['#10 eval_frame (tstate=, frame=, throwflag=1438941472) at Python/generated_cases.c.h:6171'] is not false : expected the executor frame to unwind directly into eval
backtrace:
#0 builtin_id (self=<module at remote 0x7ffff7b0bc40>, v=42) at Python/clinic/bltinmodule.c.h:852
#1 _PyObject_VectorcallTstate (tstate=<_PyRuntime+250464>, callable=<built-in method id of module object at remote 0x7ffff7b0bc40>, args=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at ./Include/internal/pycore_call.h:143
#2 PyObject_Vectorcall (callable=<built-in method id of module object at remote 0x7ffff7b0bc40>, args=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at Objects/call.c:327
#3 _Py_VectorCallInstrumentation_StackRefSteal (callable=..., arguments=, total_args=1, kwnames=0x0, call_instrumentation=false, frame=, this_instr=, tstate=<_PyRuntime+250464>) at Python/ceval.c:734
#4 eval_frame (tstate=, frame=, throwflag=1438941472) at Python/generated_cases.c.h:1906
#5 _PyEval_EvalFrameDefault (tstate=<_PyRuntime+250464>, frame=<optimized out>, throwflag=<optimized out>) at Python/ceval.c:1317
#6 _PyObject_VectorcallTstate (tstate=<_PyRuntime+250464>, callable=<function at remote 0x7fffb76d7c10>, args=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at ./Include/internal/pycore_call.h:143
#7 PyObject_Vectorcall (callable=<function at remote 0x7fffb76d7c10>, args=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at Objects/call.c:327
#8 _Py_BuiltinCallFastWithKeywords_StackRef (callable=..., arguments=<optimized out>, total_args=<optimized out>) at Python/ceval.c:807
#9 py::jit:executor ()
#10 eval_frame (tstate=, frame=, throwflag=1438941472) at Python/generated_cases.c.h:6171
#11 _PyEval_EvalFrameDefault (tstate=<_PyRuntime+250464>, frame=<optimized out>, throwflag=0) at Python/ceval.c:1317
#12 _PyEval_EvalFrame (tstate=<_PyRuntime+250464>, frame=<optimized out>, throwflag=0) at ./Include/internal/pycore_ceval.h:122
#13 _PyEval_Vector (tstate=<_PyRuntime+250464>, func=, locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0x7ffff7bb5810>, '__spec__': None, '__builtins__': <module at remote 0x7ffff7b0bc40>, '__file__': '/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', '_testinternalcapi': <module at remote 0x7fffb76bd6c0>, 'operator': <module at remote 0x7fffb76bd740>, 'WARMUP_ITERATIONS': 4012, 'jit_bt_hot': <function at remote 0x7fffb76d7c10>}, args=, argcount=0, kwnames=0x0) at Python/ceval.c:2209
#14 PyEval_EvalCode (co=<code at remote 0x7ffff7bc2470>, globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0x7ffff7bb5810>, '__spec__': None, '__builtins__': <module at remote 0x7ffff7b0bc40>, '__file__': '/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', '_testinternalcapi': <module at remote 0x7fffb76bd6c0>, 'operator': <module at remote 0x7fffb76bd740>, 'WARMUP_ITERATIONS': 4012, 'jit_bt_hot': <function at remote 0x7fffb76d7c10>}, locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0x7ffff7bb5810>, '__spec__': None, '__builtins__': <module at remote 0x7ffff7b0bc40>, '__file__': '/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', '_testinternalcapi': <module at remote 0x7fffb76bd6c0>, 'operator': <module at remote 0x7fffb76bd740>, 'WARMUP_ITERATIONS': 4012, 'jit_bt_hot': <function at remote 0x7fffb76d7c10>}) at Python/ceval.c:639
#15 run_eval_code_obj (tstate=<_PyRuntime+250464>, co=, globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/
|
|
test_bt_unwinds_from_inside_jit_executor (test.test_gdb.test_jit.JitBacktraceTests.test_bt_unwinds_from_inside_jit_executor):
Lib/test/test_gdb/test_jit.py#L143
AssertionError: ['#1 eval_frame (tstate=<_PyRuntime+250464>, frame=, throwflag=0) at Python/generated_cases.c.h:6171'] is not false : expected the executor frame to unwind directly into eval
backtrace:
#0 py::jit:executor ()
#1 eval_frame (tstate=<_PyRuntime+250464>, frame=, throwflag=0) at Python/generated_cases.c.h:6171
#2 _PyEval_EvalFrameDefault (tstate=<_PyRuntime+250464>, frame=<optimized out>, throwflag=0) at Python/ceval.c:1317
#3 _PyEval_EvalFrame (tstate=<_PyRuntime+250464>, frame=<optimized out>, throwflag=0) at ./Include/internal/pycore_ceval.h:122
#4 _PyEval_Vector (tstate=<_PyRuntime+250464>, func=, locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0x7ffff7bb5810>, '__spec__': None, '__builtins__': <module at remote 0x7ffff7b0bc40>, '__file__': '/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', '_testinternalcapi': <module at remote 0x7fffb76bd6c0>, 'operator': <module at remote 0x7fffb76bd740>, 'WARMUP_ITERATIONS': 4012, 'jit_bt_hot': <function at remote 0x7fffb76d7c10>}, args=, argcount=0, kwnames=0x0) at Python/ceval.c:2209
#5 PyEval_EvalCode (co=<code at remote 0x7ffff7bc2470>, globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0x7ffff7bb5810>, '__spec__': None, '__builtins__': <module at remote 0x7ffff7b0bc40>, '__file__': '/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', '_testinternalcapi': <module at remote 0x7fffb76bd6c0>, 'operator': <module at remote 0x7fffb76bd740>, 'WARMUP_ITERATIONS': 4012, 'jit_bt_hot': <function at remote 0x7fffb76d7c10>}, locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0x7ffff7bb5810>, '__spec__': None, '__builtins__': <module at remote 0x7ffff7b0bc40>, '__file__': '/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', '_testinternalcapi': <module at remote 0x7fffb76bd6c0>, 'operator': <module at remote 0x7fffb76bd740>, 'WARMUP_ITERATIONS': 4012, 'jit_bt_hot': <function at remote 0x7fffb76d7c10>}) at Python/ceval.c:639
#6 run_eval_code_obj (tstate=<_PyRuntime+250464>, co=, globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0x7ffff7bb5810>, '__spec__': None, '__builtins__': <module at remote 0x7ffff7b0bc40>, '__file__': '/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', '_testinternalcapi': <module at remote 0x7fffb76bd6c0>, 'operator': <module at remote 0x7fffb76bd740>, 'WARMUP_ITERATIONS': 4012, 'jit_bt_hot': <function at remote 0x7fffb76d7c10>}, locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0x7ffff7bb5810>, '__spec__': None, '__builtins__': <module at remote 0x7ffff7b0bc40>, '__file__': '/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', '_testinternalcapi': <module at remote 0x7fffb76bd6c0>, 'operator': <module at remote 0x7fffb76bd740>, 'WARMUP_ITERATIONS': 4012, 'jit_bt_hot': <function at remote 0x7fffb76d7c10>}) at Python/pythonrun.c:1406
#7 run_mod (mod=, filename='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0x7ffff7bb5810>, '__spec__': None, '__builtins__': <module at remote 0x7ffff7b0bc40>, '__file__': '/home/runner/work/cpython/cpython/Lib/test
|
|
test_bt_handoff_from_jit_entry_to_executor (test.test_gdb.test_jit.JitBacktraceTests.test_bt_handoff_from_jit_entry_to_executor):
Lib/test/test_gdb/test_jit.py#L143
AssertionError: ['#10 eval_frame (tstate=, frame=, throwflag=1438941472) at Python/generated_cases.c.h:6171'] is not false : expected the executor frame to unwind directly into eval
backtrace:
#0 builtin_id (self=<module at remote 0x7ffff7b0bc40>, v=42) at Python/clinic/bltinmodule.c.h:852
#1 _PyObject_VectorcallTstate (tstate=<_PyRuntime+250464>, callable=<built-in method id of module object at remote 0x7ffff7b0bc40>, args=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at ./Include/internal/pycore_call.h:143
#2 PyObject_Vectorcall (callable=<built-in method id of module object at remote 0x7ffff7b0bc40>, args=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at Objects/call.c:327
#3 _Py_VectorCallInstrumentation_StackRefSteal (callable=..., arguments=, total_args=1, kwnames=0x0, call_instrumentation=false, frame=, this_instr=, tstate=<_PyRuntime+250464>) at Python/ceval.c:734
#4 eval_frame (tstate=, frame=, throwflag=1438941472) at Python/generated_cases.c.h:1906
#5 _PyEval_EvalFrameDefault (tstate=<_PyRuntime+250464>, frame=<optimized out>, throwflag=<optimized out>) at Python/ceval.c:1317
#6 _PyObject_VectorcallTstate (tstate=<_PyRuntime+250464>, callable=<function at remote 0x7fffb76d7c10>, args=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at ./Include/internal/pycore_call.h:143
#7 PyObject_Vectorcall (callable=<function at remote 0x7fffb76d7c10>, args=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at Objects/call.c:327
#8 _Py_BuiltinCallFastWithKeywords_StackRef (callable=..., arguments=<optimized out>, total_args=<optimized out>) at Python/ceval.c:807
#9 py::jit:executor ()
#10 eval_frame (tstate=, frame=, throwflag=1438941472) at Python/generated_cases.c.h:6171
#11 _PyEval_EvalFrameDefault (tstate=<_PyRuntime+250464>, frame=<optimized out>, throwflag=0) at Python/ceval.c:1317
#12 _PyEval_EvalFrame (tstate=<_PyRuntime+250464>, frame=<optimized out>, throwflag=0) at ./Include/internal/pycore_ceval.h:122
#13 _PyEval_Vector (tstate=<_PyRuntime+250464>, func=, locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0x7ffff7bb5810>, '__spec__': None, '__builtins__': <module at remote 0x7ffff7b0bc40>, '__file__': '/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', '_testinternalcapi': <module at remote 0x7fffb76bd6c0>, 'operator': <module at remote 0x7fffb76bd740>, 'WARMUP_ITERATIONS': 4012, 'jit_bt_hot': <function at remote 0x7fffb76d7c10>}, args=, argcount=0, kwnames=0x0) at Python/ceval.c:2209
#14 PyEval_EvalCode (co=<code at remote 0x7ffff7bc2470>, globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0x7ffff7bb5810>, '__spec__': None, '__builtins__': <module at remote 0x7ffff7b0bc40>, '__file__': '/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', '_testinternalcapi': <module at remote 0x7fffb76bd6c0>, 'operator': <module at remote 0x7fffb76bd740>, 'WARMUP_ITERATIONS': 4012, 'jit_bt_hot': <function at remote 0x7fffb76d7c10>}, locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0x7ffff7bb5810>, '__spec__': None, '__builtins__': <module at remote 0x7ffff7b0bc40>, '__file__': '/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', '_testinternalcapi': <module at remote 0x7fffb76bd6c0>, 'operator': <module at remote 0x7fffb76bd740>, 'WARMUP_ITERATIONS': 4012, 'jit_bt_hot': <function at remote 0x7fffb76d7c10>}) at Python/ceval.c:639
#15 run_eval_code_obj (tstate=<_PyRuntime+250464>, co=, globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/
|
|
test_frames (test.test_gdb.test_pretty_print.PrettyPrintTests.test_frames):
Lib/test/test_gdb/test_pretty_print.py#L444
AssertionError: None is not true : Unexpected gdb representation: 'Breakpoint 1 at 0x2d6b80: file Python/clinic/bltinmodule.c.h, line 852.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/usr/lib/x86_64-linux-gnu/libthread_db.so.1".\n\nBreakpoint 1, builtin_id (self=<module at remote 0x7ffff7b0bc40>, v=) at Python/clinic/bltinmodule.c.h:852\n852\t{\n$1 = \n'
Breakpoint 1 at 0x2d6b80: file Python/clinic/bltinmodule.c.h, line 852.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/x86_64-linux-gnu/libthread_db.so.1".
Breakpoint 1, builtin_id (self=<module at remote 0x7ffff7b0bc40>, v=) at Python/clinic/bltinmodule.c.h:852
852 {
$1 =
|
|
test_objecttypes (test.test_sys.SizeofTest.test_objecttypes):
Lib/test/test_sys.py#L1826
AssertionError: 200 != 192 : wrong size for <class 'frame'>: got 200, expected 192
|
|
test_basic_command (test.test_gdb.test_misc.PyListTests.test_basic_command):
Lib/test/test_gdb/test_misc.py#L35
Exception: /usr/bin/gdb --batch -nx --init-eval-command 'add-auto-load-safe-path /home/runner/work/cpython/cpython/python-gdb.py' '--eval-command=set breakpoint pending yes' '--eval-command=break builtin_id' '--eval-command=set print address off' --eval-command=run '--eval-command=set print entry-values no' --eval-command=py-list --args /home/runner/work/cpython/cpython/python -S /home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_sample.py failed with exit code 1, expected exit code 0:
stdout='Breakpoint 1 at 0x2a3360: file Python/clinic/bltinmodule.c.h, line 852.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/usr/lib/aarch64-linux-gnu/libthread_db.so.1".\n\nBreakpoint 1, builtin_id (self=<module at remote 0xfffff7c385f0>, v=42) at Python/clinic/bltinmodule.c.h:852\n852\t{\n'
stderr="Python Exception <class 'gdb.error'>: No type named _PyInterpreterFrame.\nError occurred in Python: No type named _PyInterpreterFrame.\n"
|
|
test_bt_unwinds_through_jit_frames (test.test_gdb.test_jit.JitBacktraceTests.test_bt_unwinds_through_jit_frames):
Lib/test/test_gdb/test_jit.py#L143
AssertionError: ['#15 eval_frame (tstate=<_PyRuntime+266512>, frame=, throwflag=0) at Python/generated_cases.c.h:6171'] is not false : expected the executor frame to unwind directly into eval
backtrace:
#0 builtin_id (self=<module at remote 0xfffff7c385f0>, v=42) at Python/clinic/bltinmodule.c.h:852
#1 cfunction_vectorcall_O (func=<built-in method id of module object at remote 0xfffff7c385f0>, args=, nargsf=<optimized out>, kwnames=<optimized out>) at Objects/methodobject.c:535
#2 _PyObject_VectorcallTstate (tstate=<_PyRuntime+266512>, callable=<built-in method id of module object at remote 0xfffff7c385f0>, args=, nargsf=9223372036854775809, kwnames=0x0) at ./Include/internal/pycore_call.h:143
#3 PyObject_Vectorcall (callable=<built-in method id of module object at remote 0xfffff7c385f0>, args=, nargsf=<optimized out>, kwnames=0x0) at Objects/call.c:327
#4 _Py_VectorCallInstrumentation_StackRefSteal (callable=<built-in method id of module object at remote 0xfffff7c385f0>, arguments=, total_args=1, kwnames=0x0, call_instrumentation=false, frame=, this_instr=, tstate=<_PyRuntime+266512>) at Python/ceval.c:734
#5 eval_frame (tstate=<_PyRuntime+266512>, frame=, throwflag=0) at Python/generated_cases.c.h:1906
#6 _PyEval_EvalFrameDefault (tstate=<_PyRuntime+266512>, frame=, throwflag=0) at Python/ceval.c:1317
#7 _PyEval_EvalFrame (tstate=<_PyRuntime+266512>, frame=, throwflag=0) at ./Include/internal/pycore_ceval.h:122
#8 _PyEval_Vector (tstate=<_PyRuntime+266512>, func=, locals=0x0, args=, argcount=2, kwnames=0x0) at Python/ceval.c:2209
#9 _PyFunction_Vectorcall (func=<optimized out>, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at Objects/call.c:413
#10 _PyObject_VectorcallTstate (tstate=<_PyRuntime+266512>, callable=<function at remote 0xffffb776f290>, args=, nargsf=9223372036854775810, kwnames=0x0) at ./Include/internal/pycore_call.h:143
#11 PyObject_Vectorcall (callable=<optimized out>, args=, nargsf=9223372036854775810, kwnames=0x0) at Objects/call.c:327
#12 _operator_call (module=<optimized out>, args=, nargs=3, kwnames=0x0) at ./Modules/_operator.c:933
#13 _Py_BuiltinCallFastWithKeywords_StackRef (callable=..., arguments=<optimized out>, total_args=3) at Python/ceval.c:807
#14 py::jit:executor ()
#15 eval_frame (tstate=<_PyRuntime+266512>, frame=, throwflag=0) at Python/generated_cases.c.h:6171
#16 _PyEval_EvalFrameDefault (tstate=<_PyRuntime+266512>, frame=, throwflag=0) at Python/ceval.c:1317
#17 _PyEval_EvalFrame (tstate=<_PyRuntime+266512>, frame=, throwflag=0) at ./Include/internal/pycore_ceval.h:122
#18 _PyEval_Vector (tstate=<_PyRuntime+266512>, func=, locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0xfffff7bb2360>, '__spec__': None, '__builtins__': <module at remote 0xfffff7c385f0>, '__file__': '/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', '_testinternalcapi': <module at remote 0xffffb771a960>, 'operator': <module at remote 0xffffb771a9f0>, 'WARMUP_ITERATIONS': 4012, 'jit_bt_hot': <function at remote 0xffffb776f290>}, args=, argcount=0, kwnames=0x0) at Python/ceval.c:2209
#19 PyEval_EvalCode (co=<code at remote 0xfffff7c66650>, globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0xfffff7bb2360>, '__spec__': None, '__builtins__': <module at remote 0xfffff7c385f0>, '__file__': '/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', '_testinternalcapi': <module at remote 0xffffb771a960>, 'operator': <module at remote 0xffffb771a9f0>, 'WARMUP_ITERATIONS': 4012, 'jit_bt_hot': <function at remote 0xffffb776f290>}, locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0xfffff7bb2
|
|
test_bt_unwinds_from_inside_jit_executor (test.test_gdb.test_jit.JitBacktraceTests.test_bt_unwinds_from_inside_jit_executor):
Lib/test/test_gdb/test_jit.py#L143
AssertionError: ['#1 eval_frame (tstate=<_PyRuntime+266512>, frame=, throwflag=0) at Python/generated_cases.c.h:6171'] is not false : expected the executor frame to unwind directly into eval
backtrace:
#0 py::jit:executor ()
#1 eval_frame (tstate=<_PyRuntime+266512>, frame=, throwflag=0) at Python/generated_cases.c.h:6171
#2 _PyEval_EvalFrameDefault (tstate=<_PyRuntime+266512>, frame=, throwflag=0) at Python/ceval.c:1317
#3 _PyEval_EvalFrame (tstate=<_PyRuntime+266512>, frame=, throwflag=0) at ./Include/internal/pycore_ceval.h:122
#4 _PyEval_Vector (tstate=<_PyRuntime+266512>, func=, locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0xfffff7bb2360>, '__spec__': None, '__builtins__': <module at remote 0xfffff7c385f0>, '__file__': '/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', '_testinternalcapi': <module at remote 0xffffb771a960>, 'operator': <module at remote 0xffffb771a9f0>, 'WARMUP_ITERATIONS': 4012, 'jit_bt_hot': <function at remote 0xffffb776f290>}, args=, argcount=0, kwnames=0x0) at Python/ceval.c:2209
#5 PyEval_EvalCode (co=<code at remote 0xfffff7c66650>, globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0xfffff7bb2360>, '__spec__': None, '__builtins__': <module at remote 0xfffff7c385f0>, '__file__': '/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', '_testinternalcapi': <module at remote 0xffffb771a960>, 'operator': <module at remote 0xffffb771a9f0>, 'WARMUP_ITERATIONS': 4012, 'jit_bt_hot': <function at remote 0xffffb776f290>}, locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0xfffff7bb2360>, '__spec__': None, '__builtins__': <module at remote 0xfffff7c385f0>, '__file__': '/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', '_testinternalcapi': <module at remote 0xffffb771a960>, 'operator': <module at remote 0xffffb771a9f0>, 'WARMUP_ITERATIONS': 4012, 'jit_bt_hot': <function at remote 0xffffb776f290>}) at Python/ceval.c:639
#6 run_eval_code_obj (tstate=<_PyRuntime+266512>, co=, globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0xfffff7bb2360>, '__spec__': None, '__builtins__': <module at remote 0xfffff7c385f0>, '__file__': '/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', '_testinternalcapi': <module at remote 0xffffb771a960>, 'operator': <module at remote 0xffffb771a9f0>, 'WARMUP_ITERATIONS': 4012, 'jit_bt_hot': <function at remote 0xffffb776f290>}, locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0xfffff7bb2360>, '__spec__': None, '__builtins__': <module at remote 0xfffff7c385f0>, '__file__': '/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', '_testinternalcapi': <module at remote 0xffffb771a960>, 'operator': <module at remote 0xffffb771a9f0>, 'WARMUP_ITERATIONS': 4012, 'jit_bt_hot': <function at remote 0xffffb776f290>}) at Python/pythonrun.c:1406
#7 run_mod (mod=, filename='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0xfffff7bb2360>, '__spec__': None, '__builtins__': <module at remote 0xfffff7c385f0>, '__file__': '/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py',
|
|
test_bt_handoff_from_jit_entry_to_executor (test.test_gdb.test_jit.JitBacktraceTests.test_bt_handoff_from_jit_entry_to_executor):
Lib/test/test_gdb/test_jit.py#L143
AssertionError: ['#15 eval_frame (tstate=<_PyRuntime+266512>, frame=, throwflag=0) at Python/generated_cases.c.h:6171'] is not false : expected the executor frame to unwind directly into eval
backtrace:
#0 builtin_id (self=<module at remote 0xfffff7c385f0>, v=42) at Python/clinic/bltinmodule.c.h:852
#1 cfunction_vectorcall_O (func=<built-in method id of module object at remote 0xfffff7c385f0>, args=, nargsf=<optimized out>, kwnames=<optimized out>) at Objects/methodobject.c:535
#2 _PyObject_VectorcallTstate (tstate=<_PyRuntime+266512>, callable=<built-in method id of module object at remote 0xfffff7c385f0>, args=, nargsf=9223372036854775809, kwnames=0x0) at ./Include/internal/pycore_call.h:143
#3 PyObject_Vectorcall (callable=<built-in method id of module object at remote 0xfffff7c385f0>, args=, nargsf=<optimized out>, kwnames=0x0) at Objects/call.c:327
#4 _Py_VectorCallInstrumentation_StackRefSteal (callable=<built-in method id of module object at remote 0xfffff7c385f0>, arguments=, total_args=1, kwnames=0x0, call_instrumentation=false, frame=, this_instr=, tstate=<_PyRuntime+266512>) at Python/ceval.c:734
#5 eval_frame (tstate=<_PyRuntime+266512>, frame=, throwflag=0) at Python/generated_cases.c.h:1906
#6 _PyEval_EvalFrameDefault (tstate=<_PyRuntime+266512>, frame=, throwflag=0) at Python/ceval.c:1317
#7 _PyEval_EvalFrame (tstate=<_PyRuntime+266512>, frame=, throwflag=0) at ./Include/internal/pycore_ceval.h:122
#8 _PyEval_Vector (tstate=<_PyRuntime+266512>, func=, locals=0x0, args=, argcount=2, kwnames=0x0) at Python/ceval.c:2209
#9 _PyFunction_Vectorcall (func=<optimized out>, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at Objects/call.c:413
#10 _PyObject_VectorcallTstate (tstate=<_PyRuntime+266512>, callable=<function at remote 0xffffb776f290>, args=, nargsf=9223372036854775810, kwnames=0x0) at ./Include/internal/pycore_call.h:143
#11 PyObject_Vectorcall (callable=<optimized out>, args=, nargsf=9223372036854775810, kwnames=0x0) at Objects/call.c:327
#12 _operator_call (module=<optimized out>, args=, nargs=3, kwnames=0x0) at ./Modules/_operator.c:933
#13 _Py_BuiltinCallFastWithKeywords_StackRef (callable=..., arguments=<optimized out>, total_args=3) at Python/ceval.c:807
#14 py::jit:executor ()
#15 eval_frame (tstate=<_PyRuntime+266512>, frame=, throwflag=0) at Python/generated_cases.c.h:6171
#16 _PyEval_EvalFrameDefault (tstate=<_PyRuntime+266512>, frame=, throwflag=0) at Python/ceval.c:1317
#17 _PyEval_EvalFrame (tstate=<_PyRuntime+266512>, frame=, throwflag=0) at ./Include/internal/pycore_ceval.h:122
#18 _PyEval_Vector (tstate=<_PyRuntime+266512>, func=, locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0xfffff7bb2360>, '__spec__': None, '__builtins__': <module at remote 0xfffff7c385f0>, '__file__': '/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', '_testinternalcapi': <module at remote 0xffffb771a960>, 'operator': <module at remote 0xffffb771a9f0>, 'WARMUP_ITERATIONS': 4012, 'jit_bt_hot': <function at remote 0xffffb776f290>}, args=, argcount=0, kwnames=0x0) at Python/ceval.c:2209
#19 PyEval_EvalCode (co=<code at remote 0xfffff7c66650>, globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0xfffff7bb2360>, '__spec__': None, '__builtins__': <module at remote 0xfffff7c385f0>, '__file__': '/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', '_testinternalcapi': <module at remote 0xffffb771a960>, 'operator': <module at remote 0xffffb771a9f0>, 'WARMUP_ITERATIONS': 4012, 'jit_bt_hot': <function at remote 0xffffb776f290>}, locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0xfffff7bb2
|
|
test_wrapper_call (test.test_gdb.test_backtrace.PyBtTests.test_wrapper_call):
Lib/test/test_gdb/test_backtrace.py#L132
Exception: /usr/bin/gdb --batch -nx --init-eval-command 'add-auto-load-safe-path /home/runner/work/cpython/cpython/python-gdb.py' '--eval-command=set breakpoint pending yes' '--eval-command=break builtin_id' '--eval-command=set print address off' --eval-command=run '--eval-command=set print entry-values no' '--eval-command=break wrapper_call' --eval-command=continue --eval-command=py-bt --args /home/runner/work/cpython/cpython/python -S -c '
class MyList(list):
def __init__(self):
super(*[]).__init__() # wrapper_call()
id("first break point")
l = MyList()
' failed with exit code 1, expected exit code 0:
stdout='Breakpoint 1 at 0x2a3360: file Python/clinic/bltinmodule.c.h, line 852.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/usr/lib/aarch64-linux-gnu/libthread_db.so.1".\n\nBreakpoint 1, builtin_id (self=<module at remote 0xfffff7c385f0>, v=\'first break point\') at Python/clinic/bltinmodule.c.h:852\n852\t{\nBreakpoint 2: file Objects/descrobject.c, line 1458.\n\nBreakpoint 2, wrapper_call (self=<method-wrapper \'__init__\' of MyList object at 0xfffff7bcd560>, args=(), kwds=0x0) at Objects/descrobject.c:1458\n1458\t{\n'
stderr="Python Exception <class 'gdb.error'>: No type named _PyInterpreterFrame.\nError occurred in Python: No type named _PyInterpreterFrame.\n"
|
|
test_gc (test.test_gdb.test_backtrace.PyBtTests.test_gc):
Lib/test/test_gdb/test_backtrace.py#L101
Exception: /usr/bin/gdb --batch -nx --init-eval-command 'add-auto-load-safe-path /home/runner/work/cpython/cpython/python-gdb.py' '--eval-command=set breakpoint pending yes' '--eval-command=break builtin_id' '--eval-command=set print address off' --eval-command=run '--eval-command=set print entry-values no' '--eval-command=break update_refs' --eval-command=continue --eval-command=py-bt --args /home/runner/work/cpython/cpython/python -S -c 'from gc import collect
id(42)
def foo():
collect()
def bar():
foo()
bar()
' failed with exit code 1, expected exit code 0:
stdout='Breakpoint 1 at 0x2a3360: file Python/clinic/bltinmodule.c.h, line 852.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/usr/lib/aarch64-linux-gnu/libthread_db.so.1".\n\nBreakpoint 1, builtin_id (self=<module at remote 0xfffff7c385f0>, v=42) at Python/clinic/bltinmodule.c.h:852\n852\t{\nBreakpoint 2: file Python/gc.c, line 399.\n\nBreakpoint 2, update_refs (containers=<_PyRuntime+145352>) at Python/gc.c:399\n399\t{\n'
stderr="Python Exception <class 'gdb.error'>: No type named _PyInterpreterFrame.\nError occurred in Python: No type named _PyInterpreterFrame.\n"
|
|
test_bt_full (test.test_gdb.test_backtrace.PyBtTests.test_bt_full):
Lib/test/test_gdb/test_backtrace.py#L38
Exception: /usr/bin/gdb --batch -nx --init-eval-command 'add-auto-load-safe-path /home/runner/work/cpython/cpython/python-gdb.py' '--eval-command=set breakpoint pending yes' '--eval-command=break builtin_id' '--eval-command=set print address off' --eval-command=run '--eval-command=set print entry-values no' --eval-command=py-bt-full --args /home/runner/work/cpython/cpython/python -S /home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_sample.py failed with exit code 1, expected exit code 0:
stdout='Breakpoint 1 at 0x2a3360: file Python/clinic/bltinmodule.c.h, line 852.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/usr/lib/aarch64-linux-gnu/libthread_db.so.1".\n\nBreakpoint 1, builtin_id (self=<module at remote 0xfffff7c385f0>, v=42) at Python/clinic/bltinmodule.c.h:852\n852\t{\n'
stderr="Python Exception <class 'gdb.error'>: No type named _PyInterpreterFrame.\nError occurred in Python: No type named _PyInterpreterFrame.\n"
|
|
test_bt (test.test_gdb.test_backtrace.PyBtTests.test_bt):
Lib/test/test_gdb/test_backtrace.py#L18
Exception: /usr/bin/gdb --batch -nx --init-eval-command 'add-auto-load-safe-path /home/runner/work/cpython/cpython/python-gdb.py' '--eval-command=set breakpoint pending yes' '--eval-command=break builtin_id' '--eval-command=set print address off' --eval-command=run '--eval-command=set print entry-values no' --eval-command=py-bt --args /home/runner/work/cpython/cpython/python -S /home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_sample.py failed with exit code 1, expected exit code 0:
stdout='Breakpoint 1 at 0x2a3360: file Python/clinic/bltinmodule.c.h, line 852.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/usr/lib/aarch64-linux-gnu/libthread_db.so.1".\n\nBreakpoint 1, builtin_id (self=<module at remote 0xfffff7c385f0>, v=42) at Python/clinic/bltinmodule.c.h:852\n852\t{\n'
stderr="Python Exception <class 'gdb.error'>: No type named _PyInterpreterFrame.\nError occurred in Python: No type named _PyInterpreterFrame.\n"
|
|
test_frames (test.test_gdb.test_pretty_print.PrettyPrintTests.test_frames):
Lib/test/test_gdb/test_pretty_print.py#L444
AssertionError: None is not true : Unexpected gdb representation: 'Breakpoint 1 at 0x2a3360: file Python/clinic/bltinmodule.c.h, line 852.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/usr/lib/aarch64-linux-gnu/libthread_db.so.1".\n\nBreakpoint 1, builtin_id (self=<module at remote 0xfffff7c385f0>, v=) at Python/clinic/bltinmodule.c.h:852\n852\t{\n$1 = \n'
Breakpoint 1 at 0x2a3360: file Python/clinic/bltinmodule.c.h, line 852.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/aarch64-linux-gnu/libthread_db.so.1".
Breakpoint 1, builtin_id (self=<module at remote 0xfffff7c385f0>, v=) at Python/clinic/bltinmodule.c.h:852
852 {
$1 =
|
|
test_objecttypes (test.test_sys.SizeofTest.test_objecttypes):
Lib/test/test_sys.py#L1826
AssertionError: 200 != 192 : wrong size for <class 'frame'>: got 200, expected 192
|
|
test_basic_command (test.test_gdb.test_misc.PyListTests.test_basic_command):
Lib/test/test_gdb/test_misc.py#L35
Exception: /usr/bin/gdb --batch -nx --init-eval-command 'add-auto-load-safe-path /home/runner/work/cpython/cpython/python-gdb.py' '--eval-command=set breakpoint pending yes' '--eval-command=break builtin_id' '--eval-command=set print address off' --eval-command=run '--eval-command=set print entry-values no' --eval-command=py-list --args /home/runner/work/cpython/cpython/python -S /home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_sample.py failed with exit code 1, expected exit code 0:
stdout='Breakpoint 1 at 0x2869f0: file Python/clinic/bltinmodule.c.h, line 852.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/usr/lib/x86_64-linux-gnu/libthread_db.so.1".\n\nBreakpoint 1, builtin_id (self=<module at remote 0x7ffff7bb05f0>, v=v@entry=42) at Python/clinic/bltinmodule.c.h:852\n852\t{\n'
stderr="Python Exception <class 'gdb.error'>: No type named _PyInterpreterFrame.\nError occurred in Python: No type named _PyInterpreterFrame.\n"
|
|
test_wrapper_call (test.test_gdb.test_backtrace.PyBtTests.test_wrapper_call):
Lib/test/test_gdb/test_backtrace.py#L132
Exception: /usr/bin/gdb --batch -nx --init-eval-command 'add-auto-load-safe-path /home/runner/work/cpython/cpython/python-gdb.py' '--eval-command=set breakpoint pending yes' '--eval-command=break builtin_id' '--eval-command=set print address off' --eval-command=run '--eval-command=set print entry-values no' '--eval-command=break wrapper_call' --eval-command=continue --eval-command=py-bt --args /home/runner/work/cpython/cpython/python -S -c '
class MyList(list):
def __init__(self):
super(*[]).__init__() # wrapper_call()
id("first break point")
l = MyList()
' failed with exit code 1, expected exit code 0:
stdout='Breakpoint 1 at 0x2869f0: file Python/clinic/bltinmodule.c.h, line 852.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/usr/lib/x86_64-linux-gnu/libthread_db.so.1".\n\nBreakpoint 1, builtin_id (self=<module at remote 0x7ffff7bb05f0>, v=v@entry=\'first break point\') at Python/clinic/bltinmodule.c.h:852\n852\t{\nBreakpoint 2: file Objects/descrobject.c, line 1458.\n\nBreakpoint 2, wrapper_call (self=<method-wrapper \'__init__\' of MyList object at 0x7ffff7b453e0>, args=(), kwds=0x0) at Objects/descrobject.c:1458\n1458\t{\n'
stderr="Python Exception <class 'gdb.error'>: No type named _PyInterpreterFrame.\nError occurred in Python: No type named _PyInterpreterFrame.\n"
|
|
test_gc (test.test_gdb.test_backtrace.PyBtTests.test_gc):
Lib/test/test_gdb/test_backtrace.py#L101
Exception: /usr/bin/gdb --batch -nx --init-eval-command 'add-auto-load-safe-path /home/runner/work/cpython/cpython/python-gdb.py' '--eval-command=set breakpoint pending yes' '--eval-command=break builtin_id' '--eval-command=set print address off' --eval-command=run '--eval-command=set print entry-values no' '--eval-command=break update_refs' --eval-command=continue --eval-command=py-bt --args /home/runner/work/cpython/cpython/python -S -c 'from gc import collect
id(42)
def foo():
collect()
def bar():
foo()
bar()
' failed with exit code 1, expected exit code 0:
stdout='Breakpoint 1 at 0x2869f0: file Python/clinic/bltinmodule.c.h, line 852.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/usr/lib/x86_64-linux-gnu/libthread_db.so.1".\n\nBreakpoint 1, builtin_id (self=<module at remote 0x7ffff7bb05f0>, v=v@entry=42) at Python/clinic/bltinmodule.c.h:852\n852\t{\nBreakpoint 2: file Python/gc.c, line 399.\n\nBreakpoint 2, update_refs (containers=<_PyRuntime+145352>) at Python/gc.c:399\n399\t{\n'
stderr="Python Exception <class 'gdb.error'>: No type named _PyInterpreterFrame.\nError occurred in Python: No type named _PyInterpreterFrame.\n"
|
|
test_bt_full (test.test_gdb.test_backtrace.PyBtTests.test_bt_full):
Lib/test/test_gdb/test_backtrace.py#L38
Exception: /usr/bin/gdb --batch -nx --init-eval-command 'add-auto-load-safe-path /home/runner/work/cpython/cpython/python-gdb.py' '--eval-command=set breakpoint pending yes' '--eval-command=break builtin_id' '--eval-command=set print address off' --eval-command=run '--eval-command=set print entry-values no' --eval-command=py-bt-full --args /home/runner/work/cpython/cpython/python -S /home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_sample.py failed with exit code 1, expected exit code 0:
stdout='Breakpoint 1 at 0x2869f0: file Python/clinic/bltinmodule.c.h, line 852.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/usr/lib/x86_64-linux-gnu/libthread_db.so.1".\n\nBreakpoint 1, builtin_id (self=<module at remote 0x7ffff7bb05f0>, v=v@entry=42) at Python/clinic/bltinmodule.c.h:852\n852\t{\n'
stderr="Python Exception <class 'gdb.error'>: No type named _PyInterpreterFrame.\nError occurred in Python: No type named _PyInterpreterFrame.\n"
|
|
test_bt (test.test_gdb.test_backtrace.PyBtTests.test_bt):
Lib/test/test_gdb/test_backtrace.py#L18
Exception: /usr/bin/gdb --batch -nx --init-eval-command 'add-auto-load-safe-path /home/runner/work/cpython/cpython/python-gdb.py' '--eval-command=set breakpoint pending yes' '--eval-command=break builtin_id' '--eval-command=set print address off' --eval-command=run '--eval-command=set print entry-values no' --eval-command=py-bt --args /home/runner/work/cpython/cpython/python -S /home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_sample.py failed with exit code 1, expected exit code 0:
stdout='Breakpoint 1 at 0x2869f0: file Python/clinic/bltinmodule.c.h, line 852.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/usr/lib/x86_64-linux-gnu/libthread_db.so.1".\n\nBreakpoint 1, builtin_id (self=<module at remote 0x7ffff7bb05f0>, v=v@entry=42) at Python/clinic/bltinmodule.c.h:852\n852\t{\n'
stderr="Python Exception <class 'gdb.error'>: No type named _PyInterpreterFrame.\nError occurred in Python: No type named _PyInterpreterFrame.\n"
|
|
test_bt_unwinds_through_jit_frames (test.test_gdb.test_jit.JitBacktraceTests.test_bt_unwinds_through_jit_frames):
Lib/test/test_gdb/test_jit.py#L143
AssertionError: ['#15 eval_frame (tstate=<_PyRuntime+266496>, frame=, throwflag=0) at Python/generated_cases.c.h:6171'] is not false : expected the executor frame to unwind directly into eval
backtrace:
#0 builtin_id (self=<module at remote 0x7ffff7bb05f0>, v=42) at Python/clinic/bltinmodule.c.h:852
#1 cfunction_vectorcall_O (func=<built-in method id of module object at remote 0x7ffff7bb05f0>, args=, nargsf=<optimized out>, kwnames=<optimized out>) at Objects/methodobject.c:535
#2 _PyObject_VectorcallTstate (tstate=<_PyRuntime+266496>, callable=<built-in method id of module object at remote 0x7ffff7bb05f0>, args=, nargsf=9223372036854775809, kwnames=0x0) at ./Include/internal/pycore_call.h:143
#3 PyObject_Vectorcall (callable=<built-in method id of module object at remote 0x7ffff7bb05f0>, args=, nargsf=<optimized out>, kwnames=0x0) at Objects/call.c:327
#4 _Py_VectorCallInstrumentation_StackRefSteal (callable=..., arguments=, total_args=1, kwnames=0x0, call_instrumentation=false, frame=, this_instr=, tstate=<_PyRuntime+266496>) at Python/ceval.c:734
#5 eval_frame (tstate=<_PyRuntime+266496>, frame=, throwflag=0) at Python/generated_cases.c.h:1906
#6 _PyEval_EvalFrameDefault (tstate=<_PyRuntime+266496>, frame=, throwflag=0) at Python/ceval.c:1317
#7 _PyEval_EvalFrame (tstate=<_PyRuntime+266496>, frame=, throwflag=0) at ./Include/internal/pycore_ceval.h:122
#8 _PyEval_Vector (tstate=<_PyRuntime+266496>, func=, locals=0x0, args=, argcount=2, kwnames=0x0) at Python/ceval.c:2209
#9 _PyFunction_Vectorcall (func=<optimized out>, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at Objects/call.c:413
#10 _PyObject_VectorcallTstate (tstate=<_PyRuntime+266496>, callable=<function at remote 0x7fffb770b290>, args=, nargsf=9223372036854775810, kwnames=0x0) at ./Include/internal/pycore_call.h:143
#11 PyObject_Vectorcall (callable=<optimized out>, args=, nargsf=<optimized out>, kwnames=0x0) at Objects/call.c:327
#12 _operator_call (module=<optimized out>, args=, nargs=3, kwnames=0x0) at ./Modules/_operator.c:933
#13 _Py_BuiltinCallFastWithKeywords_StackRef (callable=..., arguments=<optimized out>, total_args=3) at Python/ceval.c:807
#14 py::jit:executor ()
#15 eval_frame (tstate=<_PyRuntime+266496>, frame=, throwflag=0) at Python/generated_cases.c.h:6171
#16 _PyEval_EvalFrameDefault (tstate=<_PyRuntime+266496>, frame=, throwflag=0) at Python/ceval.c:1317
#17 _PyEval_EvalFrame (tstate=<_PyRuntime+266496>, frame=, throwflag=0) at ./Include/internal/pycore_ceval.h:122
#18 _PyEval_Vector (tstate=<_PyRuntime+266496>, func=, locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0x7ffff7b2a360>, '__spec__': None, '__builtins__': <module at remote 0x7ffff7bb05f0>, '__file__': '/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', '_testinternalcapi': <module at remote 0x7fffb76b6960>, 'operator': <module at remote 0x7fffb76b68d0>, 'WARMUP_ITERATIONS': 4012, 'jit_bt_hot': <function at remote 0x7fffb770b290>}, args=, argcount=0, kwnames=0x0) at Python/ceval.c:2209
#19 PyEval_EvalCode (co=<code at remote 0x7ffff7bde650>, globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0x7ffff7b2a360>, '__spec__': None, '__builtins__': <module at remote 0x7ffff7bb05f0>, '__file__': '/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', '_testinternalcapi': <module at remote 0x7fffb76b6960>, 'operator': <module at remote 0x7fffb76b68d0>, 'WARMUP_ITERATIONS': 4012, 'jit_bt_hot': <function at remote 0x7fffb770b290>}, locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0x7ffff7b2a360>, '__spec__': None, '__builtins__': <module at remote 0x7ff
|
|
test_bt_unwinds_from_inside_jit_executor (test.test_gdb.test_jit.JitBacktraceTests.test_bt_unwinds_from_inside_jit_executor):
Lib/test/test_gdb/test_jit.py#L143
AssertionError: ['#1 eval_frame (tstate=<_PyRuntime+266496>, frame=, throwflag=0) at Python/generated_cases.c.h:6171'] is not false : expected the executor frame to unwind directly into eval
backtrace:
#0 py::jit:executor ()
#1 eval_frame (tstate=<_PyRuntime+266496>, frame=, throwflag=0) at Python/generated_cases.c.h:6171
#2 _PyEval_EvalFrameDefault (tstate=<_PyRuntime+266496>, frame=, throwflag=0) at Python/ceval.c:1317
#3 _PyEval_EvalFrame (tstate=<_PyRuntime+266496>, frame=, throwflag=0) at ./Include/internal/pycore_ceval.h:122
#4 _PyEval_Vector (tstate=<_PyRuntime+266496>, func=, locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0x7ffff7b2a360>, '__spec__': None, '__builtins__': <module at remote 0x7ffff7bb05f0>, '__file__': '/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', '_testinternalcapi': <module at remote 0x7fffb76b6960>, 'operator': <module at remote 0x7fffb76b68d0>, 'WARMUP_ITERATIONS': 4012, 'jit_bt_hot': <function at remote 0x7fffb770b290>}, args=, argcount=0, kwnames=0x0) at Python/ceval.c:2209
#5 PyEval_EvalCode (co=<code at remote 0x7ffff7bde650>, globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0x7ffff7b2a360>, '__spec__': None, '__builtins__': <module at remote 0x7ffff7bb05f0>, '__file__': '/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', '_testinternalcapi': <module at remote 0x7fffb76b6960>, 'operator': <module at remote 0x7fffb76b68d0>, 'WARMUP_ITERATIONS': 4012, 'jit_bt_hot': <function at remote 0x7fffb770b290>}, locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0x7ffff7b2a360>, '__spec__': None, '__builtins__': <module at remote 0x7ffff7bb05f0>, '__file__': '/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', '_testinternalcapi': <module at remote 0x7fffb76b6960>, 'operator': <module at remote 0x7fffb76b68d0>, 'WARMUP_ITERATIONS': 4012, 'jit_bt_hot': <function at remote 0x7fffb770b290>}) at Python/ceval.c:639
#6 run_eval_code_obj (tstate=<_PyRuntime+266496>, co=, globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0x7ffff7b2a360>, '__spec__': None, '__builtins__': <module at remote 0x7ffff7bb05f0>, '__file__': '/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', '_testinternalcapi': <module at remote 0x7fffb76b6960>, 'operator': <module at remote 0x7fffb76b68d0>, 'WARMUP_ITERATIONS': 4012, 'jit_bt_hot': <function at remote 0x7fffb770b290>}, locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0x7ffff7b2a360>, '__spec__': None, '__builtins__': <module at remote 0x7ffff7bb05f0>, '__file__': '/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', '_testinternalcapi': <module at remote 0x7fffb76b6960>, 'operator': <module at remote 0x7fffb76b68d0>, 'WARMUP_ITERATIONS': 4012, 'jit_bt_hot': <function at remote 0x7fffb770b290>}) at Python/pythonrun.c:1406
#7 run_mod (mod=, filename='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0x7ffff7b2a360>, '__spec__': None, '__builtins__': <module at remote 0x7ffff7bb05f0>, '__file__': '/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py',
|
|
test_bt_handoff_from_jit_entry_to_executor (test.test_gdb.test_jit.JitBacktraceTests.test_bt_handoff_from_jit_entry_to_executor):
Lib/test/test_gdb/test_jit.py#L143
AssertionError: ['#15 eval_frame (tstate=<_PyRuntime+266496>, frame=, throwflag=0) at Python/generated_cases.c.h:6171'] is not false : expected the executor frame to unwind directly into eval
backtrace:
#0 builtin_id (self=<module at remote 0x7ffff7bb05f0>, v=42) at Python/clinic/bltinmodule.c.h:852
#1 cfunction_vectorcall_O (func=<built-in method id of module object at remote 0x7ffff7bb05f0>, args=, nargsf=<optimized out>, kwnames=<optimized out>) at Objects/methodobject.c:535
#2 _PyObject_VectorcallTstate (tstate=<_PyRuntime+266496>, callable=<built-in method id of module object at remote 0x7ffff7bb05f0>, args=, nargsf=9223372036854775809, kwnames=0x0) at ./Include/internal/pycore_call.h:143
#3 PyObject_Vectorcall (callable=<built-in method id of module object at remote 0x7ffff7bb05f0>, args=, nargsf=<optimized out>, kwnames=0x0) at Objects/call.c:327
#4 _Py_VectorCallInstrumentation_StackRefSteal (callable=..., arguments=, total_args=1, kwnames=0x0, call_instrumentation=false, frame=, this_instr=, tstate=<_PyRuntime+266496>) at Python/ceval.c:734
#5 eval_frame (tstate=<_PyRuntime+266496>, frame=, throwflag=0) at Python/generated_cases.c.h:1906
#6 _PyEval_EvalFrameDefault (tstate=<_PyRuntime+266496>, frame=, throwflag=0) at Python/ceval.c:1317
#7 _PyEval_EvalFrame (tstate=<_PyRuntime+266496>, frame=, throwflag=0) at ./Include/internal/pycore_ceval.h:122
#8 _PyEval_Vector (tstate=<_PyRuntime+266496>, func=, locals=0x0, args=, argcount=2, kwnames=0x0) at Python/ceval.c:2209
#9 _PyFunction_Vectorcall (func=<optimized out>, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at Objects/call.c:413
#10 _PyObject_VectorcallTstate (tstate=<_PyRuntime+266496>, callable=<function at remote 0x7fffb770b290>, args=, nargsf=9223372036854775810, kwnames=0x0) at ./Include/internal/pycore_call.h:143
#11 PyObject_Vectorcall (callable=<optimized out>, args=, nargsf=<optimized out>, kwnames=0x0) at Objects/call.c:327
#12 _operator_call (module=<optimized out>, args=, nargs=3, kwnames=0x0) at ./Modules/_operator.c:933
#13 _Py_BuiltinCallFastWithKeywords_StackRef (callable=..., arguments=<optimized out>, total_args=3) at Python/ceval.c:807
#14 py::jit:executor ()
#15 eval_frame (tstate=<_PyRuntime+266496>, frame=, throwflag=0) at Python/generated_cases.c.h:6171
#16 _PyEval_EvalFrameDefault (tstate=<_PyRuntime+266496>, frame=, throwflag=0) at Python/ceval.c:1317
#17 _PyEval_EvalFrame (tstate=<_PyRuntime+266496>, frame=, throwflag=0) at ./Include/internal/pycore_ceval.h:122
#18 _PyEval_Vector (tstate=<_PyRuntime+266496>, func=, locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0x7ffff7b2a360>, '__spec__': None, '__builtins__': <module at remote 0x7ffff7bb05f0>, '__file__': '/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', '_testinternalcapi': <module at remote 0x7fffb76b6960>, 'operator': <module at remote 0x7fffb76b68d0>, 'WARMUP_ITERATIONS': 4012, 'jit_bt_hot': <function at remote 0x7fffb770b290>}, args=, argcount=0, kwnames=0x0) at Python/ceval.c:2209
#19 PyEval_EvalCode (co=<code at remote 0x7ffff7bde650>, globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0x7ffff7b2a360>, '__spec__': None, '__builtins__': <module at remote 0x7ffff7bb05f0>, '__file__': '/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py', '_testinternalcapi': <module at remote 0x7fffb76b6960>, 'operator': <module at remote 0x7fffb76b68d0>, 'WARMUP_ITERATIONS': 4012, 'jit_bt_hot': <function at remote 0x7fffb770b290>}, locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/home/runner/work/cpython/cpython/Lib/test/test_gdb/gdb_jit_sample.py') at remote 0x7ffff7b2a360>, '__spec__': None, '__builtins__': <module at remote 0x7ff
|
|
test_frames (test.test_gdb.test_pretty_print.PrettyPrintTests.test_frames):
Lib/test/test_gdb/test_pretty_print.py#L444
AssertionError: None is not true : Unexpected gdb representation: 'Breakpoint 1 at 0x2869f0: file Python/clinic/bltinmodule.c.h, line 852.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/usr/lib/x86_64-linux-gnu/libthread_db.so.1".\n\nBreakpoint 1, builtin_id (self=<module at remote 0x7ffff7bb05f0>, v=v@entry=) at Python/clinic/bltinmodule.c.h:852\n852\t{\n$1 = \n'
Breakpoint 1 at 0x2869f0: file Python/clinic/bltinmodule.c.h, line 852.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/x86_64-linux-gnu/libthread_db.so.1".
Breakpoint 1, builtin_id (self=<module at remote 0x7ffff7bb05f0>, v=v@entry=) at Python/clinic/bltinmodule.c.h:852
852 {
$1 =
|
|
test_objecttypes (test.test_sys.SizeofTest.test_objecttypes):
Lib/test/test_sys.py#L1826
AssertionError: 200 != 192 : wrong size for <class 'frame'>: got 200, expected 192
|
|
i686-pc-windows-msvc/msvc (Release)
Process completed with exit code 1.
|
|
test_objecttypes (test.test_sys.SizeofTest.test_objecttypes):
Lib/test/test_sys.py#L1826
AssertionError: 104 != 100 : wrong size for <class 'frame'>: got 104, expected 100
|
|
x86_64-pc-windows-msvc/msvc (Release)
Process completed with exit code 1.
|
|
test_objecttypes (test.test_sys.SizeofTest.test_objecttypes):
Lib/test/test_sys.py#L1826
AssertionError: 200 != 192 : wrong size for <class 'frame'>: got 200, expected 192
|
|
aarch64-apple-darwin/clang (Release)
Process completed with exit code 2.
|
|
test_objecttypes (test.test_sys.SizeofTest.test_objecttypes):
Lib/test/test_sys.py#L1826
AssertionError: 200 != 192 : wrong size for <class 'frame'>: got 200, expected 192
|
|
aarch64-pc-windows-msvc/msvc (Release)
Process completed with exit code 1.
|
|
test_objecttypes (test.test_sys.SizeofTest.test_objecttypes):
Lib/test/test_sys.py#L1826
AssertionError: 200 != 192 : wrong size for <class 'frame'>: got 200, expected 192
|
|
aarch64-apple-darwin/clang (Debug)
Process completed with exit code 2.
|
|
test_objecttypes (test.test_sys.SizeofTest.test_objecttypes):
Lib/test/test_sys.py#L1826
AssertionError: 200 != 192 : wrong size for <class 'frame'>: got 200, expected 192
|
|
aarch64-pc-windows-msvc/msvc (Debug)
Process completed with exit code 1.
|
|
test_objecttypes (test.test_sys.SizeofTest.test_objecttypes):
Lib/test/test_sys.py#L1826
AssertionError: 200 != 192 : wrong size for <class 'frame'>: got 200, expected 192
|
|
i686-pc-windows-msvc/msvc (Debug)
Process completed with exit code 1.
|
|
test_objecttypes (test.test_sys.SizeofTest.test_objecttypes):
Lib/test/test_sys.py#L1826
AssertionError: 108 != 100 : wrong size for <class 'frame'>: got 108, expected 100
|
|
x86_64-pc-windows-msvc/msvc (Debug)
Process completed with exit code 1.
|
|
test_objecttypes (test.test_sys.SizeofTest.test_objecttypes):
Lib/test/test_sys.py#L1826
AssertionError: 200 != 192 : wrong size for <class 'frame'>: got 200, expected 192
|
|
Workflow execution policy warning (evaluate mode):
.github/workflows/jit.yml#L1
Event 'pull_request' is not allowed to trigger Actions workflows. Workflow file: '.github/workflows/jit.yml'.
|
|
aarch64-apple-darwin/clang (Release)
llvm@21 was installed but not linked because llvm@20 is already installed.
To link this version, run:
brew link llvm@21
|
|
aarch64-apple-darwin/clang (Debug)
llvm@21 was installed but not linked because llvm@20 is already installed.
To link this version, run:
brew link llvm@21
|
|
aarch64-apple-darwin/clang (Release)
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
|
|
aarch64-apple-darwin/clang (Debug)
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
|