Skip to content

test_remote_exec fails on Android with PermissionError #133006

@vstinner

Description

@vstinner

Example: https://buildbot.python.org/#/builders/1591/builds/1914

ERROR: test_breakpoints (test.test_remote_pdb.PdbConnectTestCase.test_breakpoints)
Test setting and hitting breakpoints.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/data/user/0/org.python.testbed/files/python/lib/python3.14/test/test_remote_pdb.py", line 431, in test_breakpoints
    process, client_file = self._connect_and_get_client_file()
                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/data/user/0/org.python.testbed/files/python/lib/python3.14/test/test_remote_pdb.py", line 324, in _connect_and_get_client_file
    process = subprocess.Popen(
        [sys.executable, self.script_path],
    ...<2 lines>...
        text=True
    )
  File "/data/user/0/org.python.testbed/files/python/lib/python3.14/subprocess.py", line 1038, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                        pass_fds, cwd, env,
                        ^^^^^^^^^^^^^^^^^^^
    ...<5 lines>...
                        gid, gids, uid, umask,
                        ^^^^^^^^^^^^^^^^^^^^^^
                        start_new_session, process_group)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/user/0/org.python.testbed/files/python/lib/python3.14/subprocess.py", line 1967, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] Permission denied: ''

cc @pablogsal @gaogaotiantian

Linked PRs

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