Thanks to visit codestin.com
Credit goes to github.com

Skip to content

test_external_inspection fails on AMD64 Debian root 3.x #133428

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
vstinner opened this issue May 5, 2025 · 2 comments
Closed

test_external_inspection fails on AMD64 Debian root 3.x #133428

vstinner opened this issue May 5, 2025 · 2 comments
Labels
tests Tests in the Lib/test dir

Comments

@vstinner
Copy link
Member

vstinner commented May 5, 2025

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

@vstinner vstinner added the tests Tests in the Lib/test dir label May 5, 2025
@vstinner
Copy link
Member Author

vstinner commented May 5, 2025

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.

@vstinner
Copy link
Member Author

vstinner commented May 5, 2025

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
Labels
tests Tests in the Lib/test dir
Projects
None yet
Development

No branches or pull requests

1 participant