Skip to content

test_remote_pdb fails on FreeBSD: Remote debugging is not supported on this platform #132950

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

Open
vstinner opened this issue Apr 25, 2025 · 1 comment
Labels
3.14 new features, bugs and security fixes tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error

Comments

@vstinner
Copy link
Member

vstinner commented Apr 25, 2025

Example: https://buildbot.python.org/#/builders/1223/builds/5984

ERROR: test_keyboard_interrupt (test.test_remote_pdb.PdbConnectTestCase.test_keyboard_interrupt)
Test that sending keyboard interrupt breaks into pdb.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_remote_pdb.py", line 520, in test_keyboard_interrupt
    self._send_interrupt(process.pid)
    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_remote_pdb.py", line 366, in _send_interrupt
    sys.remote_exec(pid, interrupt_script)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Remote debugging is not supported on this platform

cc @pablogsal

Linked PRs

@vstinner vstinner added the tests Tests in the Lib/test dir label Apr 25, 2025
vstinner added a commit to vstinner/cpython that referenced this issue Apr 25, 2025
Skip the test if RuntimeError is raised with a remote debugging error
message.
pablogsal added a commit to pablogsal/cpython that referenced this issue Apr 25, 2025
@picnixz picnixz added type-bug An unexpected behavior, bug, or error 3.14 new features, bugs and security fixes labels Apr 25, 2025
vstinner added a commit to vstinner/cpython that referenced this issue Apr 25, 2025
Skip test_keyboard_interrupt() if remote execution is disabled.
vstinner added a commit to vstinner/cpython that referenced this issue Apr 25, 2025
vstinner added a commit to vstinner/cpython that referenced this issue Apr 25, 2025
vstinner added a commit that referenced this issue Apr 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.14 new features, bugs and security fixes tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants