Skip to content

test_profiling.test_sampling_profiler: test_is_python_process_non_python_subprocess() failed on AMD64 Alpine Linux NoGIL PR #159534

Open

Description

@vstinner

AMD64 Alpine Linux NoGIL PR: https://buildbot.python.org/#/builders/1820/builds/75

FAIL: test_is_python_process_non_python_subprocess (test.test_profiling.test_sampling_profiler.test_children.TestIsPythonProcess.test_is_python_process_non_python_subprocess)
Test that a non-Python subprocess is not detected as Python.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/buildarea/pull_request.ware-alpine.nogil/build/Lib/test/test_profiling/test_sampling_profiler/test_children.py", line 649, in test_is_python_process_non_python_subprocess
    self.assertFalse(
    ~~~~~~~~~~~~~~~~^
        is_python_process(proc.pid),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        f"Non-Python subprocess 'sleep' (PID {proc.pid}) should NOT be "
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        f"detected as Python",
        ^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
AssertionError: True is not false : Non-Python subprocess 'sleep' (PID 1478327) should NOT be detected as Python

Activity

  1. vstinner commented on Oct 16, 2026

    @vstinner
    MemberAuthor

    Oh, it seems like the test doesn't fail on AMD64 Alpine Linux NoGIL 3.x: https://buildbot.python.org/#/builders/1819/builds/3396.

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

    testsTests in the Lib/test dirtopic-profilingtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions