Skip to content

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

Closed
@vstinner

Description

@vstinner

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

Activity

added a commit that references this issue on Apr 25, 2025

pythongh-132950: Skip test_remote_pdb on FreeBSD

added a commit that references this issue on Apr 25, 2025

pythongh-132950: Check fir Py_SUPPORTS_REMOTE_DEBUG in sys.is_remote_…

added
type-bugAn unexpected behavior, bug, or error
3.14bugs and security fixes
on Apr 25, 2025
added a commit that references this issue on Apr 25, 2025

pythongh-132950: Skip test_remote_pdb if remote exec is disabled

added a commit that references this issue on Apr 25, 2025

gh-132950: Check for Py_SUPPORTS_REMOTE_DEBUG in sys.is_remote_debug_…

6221765
added 3 commits that reference this issue on Apr 25, 2025

pythongh-132950: Skip test_remote_pdb if remote exec is disabled

gh-132950: Skip test_remote_pdb if remote exec is disabled (#132951)

947c4f1

pythongh-132950: Log is_remote_debug_enabled() in pythoninfo

added a commit that references this issue on Apr 25, 2025

gh-132950: Log is_remote_debug_enabled() in pythoninfo (#132965)

f0485de
gaogaotiantian

gaogaotiantian commented on May 11, 2025

@gaogaotiantian
Member

Should we close this now?

2 remaining items

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

    3.14bugs and security fixestestsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      test_remote_pdb fails on FreeBSD: Remote debugging is not supported on this platform · Issue #132950 · python/cpython

      Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

      Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant