◐ Shell
clean mode source ↗

GH-91048: Don't attempt to run on FreeBSD by ambv · Pull Request #129189 · python/cpython

test_external_inspection fails on AMD64 Fedora Stable LTO + PGO 3.x: https://buildbot.python.org/#/builders/29/builds/7598

And on AMD64 RHEL8 LTO 3.x: https://buildbot.python.org/#/builders/64/builds/8461

Example:

ERROR: test_async_gather_remote_stack_trace (test.test_external_inspection.TestGetStackTrace.test_async_gather_remote_stack_trace)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.lto-pgo/build/Lib/test/test_external_inspection.py", line 271, in test_async_gather_remote_stack_trace
    stack_trace = get_async_stack_trace(p.pid)
SystemError: <built-in function get_async_stack_trace> returned NULL without setting an exception

read_async_debug() returns NULL without setting an exception: get_async_debug(pid) returns -1 because search_map_for_section() returns NULL simply because well, it didn't find the section.

cc @encukou