Skip to content

test_external_inspection fails on AMD64 Debian root 3.x #133428

Description

@vstinner

AMD64 Debian root 3.x: https://buildbot.python.org/#/builders/345/builds/11225

FAIL: test_asyncgen_remote_stack_trace (test.test_external_inspection.TestGetStackTrace.test_asyncgen_remote_stack_trace)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/test_external_inspection.py", line 347, in test_asyncgen_remote_stack_trace
    self.assertEqual(stack_trace, expected_stack_trace)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: Lists differ: [[('g[75 chars]y', 10), ('gen', '/tmp/test_python_nux_hnol/tm[123 chars], []] != [[('g[75 chars]y', 11), ('gen', '/tmp/test_python_nux_hnol/tm[123 chars], []]

First differing element 0:
[('ge[74 chars]y', 10), ('gen', '/tmp/test_python_nux_hnol/tm[108 chars] 20)]
[('ge[74 chars]y', 11), ('gen', '/tmp/test_python_nux_hnol/tm[108 chars] 20)]

  [[('gen_nested_call',
     '/tmp/test_python_nux_hnol/tmpe62djzf0/script_pkg/script.py',
-    10),
?     ^

+    11),
?     ^

    ('gen', '/tmp/test_python_nux_hnol/tmpe62djzf0/script_pkg/script.py', 17),
    ('main', '/tmp/test_python_nux_hnol/tmpe62djzf0/script_pkg/script.py', 20)],
   'Task-1',
   []]

cc @pablogsal @ambv

Activity

  1. vstinner commented on May 5, 2025

    @vstinner
    MemberAuthor

    AMD64 Debian root 3.x: https://buildbot.python.org/#/builders/345/builds/11228

    FAIL: test_async_remote_stack_trace (test.test_external_inspection.TestGetStackTrace.test_async_remote_stack_trace) (task_factory_variant='asyncio.new_event_loop')
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/test_external_inspection.py", line 269, in test_async_remote_stack_trace
        self.assertEqual(stack_trace, expected_stack_trace)
        ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    AssertionError: Lists differ: [[('c[62 chars]y', 10), ('c4', '/tmp/test_python_sp6aoafc/tmp[1293 chars]]]]]] != [[('c[62 chars]y', 11), ('c4', '/tmp/test_python_sp6aoafc/tmp[1308 chars]]]]]]
    
    First differing element 0:
    [('c5[61 chars]y', 10), ('c4', '/tmp/test_python_sp6aoafc/tmp[179 chars] 21)]
    [('c5[61 chars]y', 11), ('c4', '/tmp/test_python_sp6aoafc/tmp[179 chars] 21)]
    
    Diff is 2008 characters long. Set self.maxDiff to None to see it.
    
    ======================================================================
    FAIL: test_async_remote_stack_trace (test.test_external_inspection.TestGetStackTrace.test_async_remote_stack_trace) (task_factory_variant='new_eager_loop')
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/test_external_inspection.py", line 269, in test_async_remote_stack_trace
        self.assertEqual(stack_trace, expected_stack_trace)
        ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    AssertionError: Lists differ: [[('c[62 chars]y', 10), ('c4', '/tmp/test_python_sp6aoafc/tmp[1293 chars]]]]]] != [[('c[62 chars]y', 11), ('c4', '/tmp/test_python_sp6aoafc/tmp[1308 chars]]]]]]
    
    First differing element 0:
    [('c5[61 chars]y', 10), ('c4', '/tmp/test_python_sp6aoafc/tmp[179 chars] 21)]
    [('c5[61 chars]y', 11), ('c4', '/tmp/test_python_sp6aoafc/tmp[179 chars] 21)]
    
    Diff is 2008 characters long. Set self.maxDiff to None to see it.
    
  2. vstinner commented on May 5, 2025

    @vstinner
    MemberAuthor

    Oh, #133425 was created 17 minutes before my issue. I close this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests in the Lib/test dir

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions