Repository navigation
test_external_inspection: test_async_remote_stack_trace fails intermittently #133425
Copy link
Copy link
Closed
Labels
3.14bugs and security fixesbugs and security fixesstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-asynciotype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Activity
- addedtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or errorstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory
on May 5, 2025 - marked test_external_inspection fails on AMD64 Debian root 3.x #133428 as a duplicate of this issue
on May 5, 2025 I closed my issue #133428 as a duplicate of this one.
Will take a look today but the problem seems to be that matching line numbers is racy
The issue was maybe fixed by #133422.
Failure one hour ago on PPC64LE Fedora Stable Refleaks 3.x: https://buildbot.python.org/#/builders/280/builds/1893
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 "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le.refleak/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_qxb4meok/tmp[1449 chars]]]]]] != [[('c[62 chars]y', 11), ('c4', '/tmp/test_python_qxb4meok/tmp[1464 chars]]]]]] First differing element 0: [('c5[61 chars]y', 10), ('c4', '/tmp/test_python_qxb4meok/tmp[179 chars] 21)] [('c5[61 chars]y', 11), ('c4', '/tmp/test_python_qxb4meok/tmp[179 chars] 21)] Diff is 2164 characters long. Set self.maxDiff to None to see it.There are more places where the line numbers may change but we can use the same technique
There are more places where the line numbers may change but we can use the same technique
Right. Please see my fix #133433.
It should be fixed by #133433.
Metadata
Metadata
Assignees
Labels
3.14bugs and security fixesbugs and security fixesstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-asynciotype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Projects
- StatusShow more project fieldsDone
Bug report
test_async_remote_stack_traceandtest_asyncgen_remote_stack_tracefromtest_external_inspection. For example: on build 1128 on Debian root buildbot