René's URL Explorer Experiment


Title: posix_spawn and posix_spawnp tests failing on NetBSD with stack limit assertions · Issue #131624 · python/cpython · GitHub

Open Graph Title: posix_spawn and posix_spawnp tests failing on NetBSD with stack limit assertions · Issue #131624 · python/cpython

X Title: posix_spawn and posix_spawnp tests failing on NetBSD with stack limit assertions · Issue #131624 · python/cpython

Description: Bug report Bug description: Multiple tests in test_posix for posix_spawn and posix_spawnp functionality are failing on NetBSD with stack limit-related assertions in the spawned processes. All failing tests show child processes exiting wi...

Open Graph Description: Bug report Bug description: Multiple tests in test_posix for posix_spawn and posix_spawnp functionality are failing on NetBSD with stack limit-related assertions in the spawned processes. All faili...

X Description: Bug report Bug description: Multiple tests in test_posix for posix_spawn and posix_spawnp functionality are failing on NetBSD with stack limit-related assertions in the spawned processes. All faili...

Opengraph URL: https://github.com/python/cpython/issues/131624

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"posix_spawn and posix_spawnp tests failing on NetBSD with stack limit assertions","articleBody":"# Bug report\n\n### Bug description:\n\nMultiple tests in `test_posix` for `posix_spawn` and `posix_spawnp` functionality are failing on NetBSD with stack limit-related assertions in the spawned processes. All failing tests show child processes exiting with code -6 (SIGABRT).\n\n### Environment\n\nCPython version: 3.14.0a6+ (heads/main:557d2d20d48, Mar 23 2025)\nPlatform: NetBSD-10.0-amd64-x86_64-64bit-ELF little-endian\nBuild Flags: `--with-debug`\n\n### Tests\n\n```sh\n./python -m test test_posix -m TestPosixSpawn -m TestPosixSpawnP -v\n```\nOutput:\n```python\n─./python -m test test_posix -m TestPosixSpawn -m TestPosixSpawnP -v                                                                                                                                  \n== CPython 3.14.0a6+ (heads/main:557d2d20d48, Mar 23 2025, 15:29:59) [GCC 10.5.0]\n== NetBSD-10.0-amd64-x86_64-64bit-ELF little-endian\n== Python build: debug\n== cwd: /home/blue/cpython/build/test_python_worker_362æ\n== CPU count: 16\n== encodings: locale=UTF-8 FS=utf-8\n== resources: all test resources are disabled, use -u option to unskip tests\n\nUsing random seed: 1713724710\n0:00:00 load avg: 0.17 Run 1 test sequentially in a single process\n0:00:00 load avg: 0.17 [1/1] test_posix\ntest_bad_file_actions (test.test_posix.TestPosixSpawn.test_bad_file_actions) ... ok\ntest_close_file (test.test_posix.TestPosixSpawn.test_close_file) ... assertion \"here_addr \u003c _tstate-\u003ec_stack_top\" failed: file \"Python/ceval.c\", line 468, function \"_Py_InitializeRecursionLimits\"\nFAIL\ntest_dup2 (test.test_posix.TestPosixSpawn.test_dup2) ... ok\ntest_empty_file_actions (test.test_posix.TestPosixSpawn.test_empty_file_actions) ... ok\ntest_multiple_file_actions (test.test_posix.TestPosixSpawn.test_multiple_file_actions) ... assertion \"here_addr \u003c _tstate-\u003ec_stack_top\" failed: file \"Python/ceval.c\", line 468, function \"_Py_InitializeRecursionLimits\"\nFAIL\ntest_no_such_executable (test.test_posix.TestPosixSpawn.test_no_such_executable) ... ok\ntest_none_file_actions (test.test_posix.TestPosixSpawn.test_none_file_actions) ... ok\ntest_open_file (test.test_posix.TestPosixSpawn.test_open_file) ... assertion \"here_addr \u003c _tstate-\u003ec_stack_top\" failed: file \"Python/ceval.c\", line 468, function \"_Py_InitializeRecursionLimits\"\nFAIL\ntest_resetids (test.test_posix.TestPosixSpawn.test_resetids) ... assertion \"here_addr \u003c _tstate-\u003ec_stack_top\" failed: file \"Python/ceval.c\", line 468, function \"_Py_InitializeRecursionLimits\"\nFAIL\ntest_resetids_explicit_default (test.test_posix.TestPosixSpawn.test_resetids_explicit_default) ... assertion \"here_addr \u003c _tstate-\u003ec_stack_top\" failed: file \"Python/ceval.c\", line 468, function \"_Py_InitializeRecursionLimits\"\nFAIL\ntest_returns_pid (test.test_posix.TestPosixSpawn.test_returns_pid) ... assertion \"here_addr \u003c _tstate-\u003ec_stack_top\" failed: file \"Python/ceval.c\", line 468, function \"_Py_InitializeRecursionLimits\"\nFAIL\ntest_setpgroup (test.test_posix.TestPosixSpawn.test_setpgroup) ... assertion \"here_addr \u003c _tstate-\u003ec_stack_top\" failed: file \"Python/ceval.c\", line 468, function \"_Py_InitializeRecursionLimits\"\nFAIL\ntest_setpgroup_wrong_type (test.test_posix.TestPosixSpawn.test_setpgroup_wrong_type) ... ok\ntest_setscheduler_only_param (test.test_posix.TestPosixSpawn.test_setscheduler_only_param) ... skipped 'bpo-34685: test can fail on BSD'\ntest_setscheduler_with_policy (test.test_posix.TestPosixSpawn.test_setscheduler_with_policy) ... skipped 'bpo-34685: test can fail on BSD'\ntest_setsid (test.test_posix.TestPosixSpawn.test_setsid) ... skipped \"setsid is not supported: NotImplementedError('posix_spawn: setsid unavailable on this platform')\"\ntest_setsigdef (test.test_posix.TestPosixSpawn.test_setsigdef) ... ok\ntest_setsigdef_wrong_type (test.test_posix.TestPosixSpawn.test_setsigdef_wrong_type) ... ok\ntest_setsigmask (test.test_posix.TestPosixSpawn.test_setsigmask) ... assertion \"here_addr \u003c _tstate-\u003ec_stack_top\" failed: file \"Python/ceval.c\", line 468, function \"_Py_InitializeRecursionLimits\"\nFAIL\ntest_setsigmask_wrong_type (test.test_posix.TestPosixSpawn.test_setsigmask_wrong_type) ... ok\ntest_specify_environment (test.test_posix.TestPosixSpawn.test_specify_environment) ... assertion \"here_addr \u003c _tstate-\u003ec_stack_top\" failed: file \"Python/ceval.c\", line 468, function \"_Py_InitializeRecursionLimits\"\nFAIL\ntest_bad_file_actions (test.test_posix.TestPosixSpawnP.test_bad_file_actions) ... ok\ntest_close_file (test.test_posix.TestPosixSpawnP.test_close_file) ... assertion \"here_addr \u003c _tstate-\u003ec_stack_top\" failed: file \"Python/ceval.c\", line 468, function \"_Py_InitializeRecursionLimits\"\nFAIL\ntest_dup2 (test.test_posix.TestPosixSpawnP.test_dup2) ... assertion \"here_addr \u003c _tstate-\u003ec_stack_top\" failed: file \"Python/ceval.c\", line 468, function \"_Py_InitializeRecursionLimits\"\nFAIL\ntest_empty_file_actions (test.test_posix.TestPosixSpawnP.test_empty_file_actions) ... assertion \"here_addr \u003c _tstate-\u003ec_stack_top\" failed: file \"Python/ceval.c\", line 468, function \"_Py_InitializeRecursionLimits\"\nFAIL\ntest_multiple_file_actions (test.test_posix.TestPosixSpawnP.test_multiple_file_actions) ... assertion \"here_addr \u003c _tstate-\u003ec_stack_top\" failed: file \"Python/ceval.c\", line 468, function \"_Py_InitializeRecursionLimits\"\nFAIL\ntest_no_such_executable (test.test_posix.TestPosixSpawnP.test_no_such_executable) ... ok\ntest_none_file_actions (test.test_posix.TestPosixSpawnP.test_none_file_actions) ... assertion \"here_addr \u003c _tstate-\u003ec_stack_top\" failed: file \"Python/ceval.c\", line 468, function \"_Py_InitializeRecursionLimits\"\nFAIL\ntest_open_file (test.test_posix.TestPosixSpawnP.test_open_file) ... assertion \"here_addr \u003c _tstate-\u003ec_stack_top\" failed: file \"Python/ceval.c\", line 468, function \"_Py_InitializeRecursionLimits\"\nFAIL\ntest_posix_spawnp (test.test_posix.TestPosixSpawnP.test_posix_spawnp) ... ok\ntest_resetids (test.test_posix.TestPosixSpawnP.test_resetids) ... assertion \"_tstate-\u003ec_stack_soft_limit \u003c here_addr\" failed: file \"Python/ceval.c\", line 467, function \"_Py_InitializeRecursionLimits\"\nFAIL\ntest_resetids_explicit_default (test.test_posix.TestPosixSpawnP.test_resetids_explicit_default) ... assertion \"_tstate-\u003ec_stack_soft_limit \u003c here_addr\" failed: file \"Python/ceval.c\", line 467, function \"_Py_InitializeRecursionLimits\"\nFAIL\ntest_returns_pid (test.test_posix.TestPosixSpawnP.test_returns_pid) ... assertion \"_tstate-\u003ec_stack_soft_limit \u003c here_addr\" failed: file \"Python/ceval.c\", line 467, function \"_Py_InitializeRecursionLimits\"\nFAIL\ntest_setpgroup (test.test_posix.TestPosixSpawnP.test_setpgroup) ... assertion \"_tstate-\u003ec_stack_soft_limit \u003c here_addr\" failed: file \"Python/ceval.c\", line 467, function \"_Py_InitializeRecursionLimits\"\nFAIL\ntest_setpgroup_wrong_type (test.test_posix.TestPosixSpawnP.test_setpgroup_wrong_type) ... ok\ntest_setscheduler_only_param (test.test_posix.TestPosixSpawnP.test_setscheduler_only_param) ... skipped 'bpo-34685: test can fail on BSD'\ntest_setscheduler_with_policy (test.test_posix.TestPosixSpawnP.test_setscheduler_with_policy) ... skipped 'bpo-34685: test can fail on BSD'\ntest_setsid (test.test_posix.TestPosixSpawnP.test_setsid) ... skipped \"setsid is not supported: NotImplementedError('posix_spawnp: setsid unavailable on this platform')\"\ntest_setsigdef (test.test_posix.TestPosixSpawnP.test_setsigdef) ... assertion \"_tstate-\u003ec_stack_soft_limit \u003c here_addr\" failed: file \"Python/ceval.c\", line 467, function \"_Py_InitializeRecursionLimits\"\nFAIL\ntest_setsigdef_wrong_type (test.test_posix.TestPosixSpawnP.test_setsigdef_wrong_type) ... ok\ntest_setsigmask (test.test_posix.TestPosixSpawnP.test_setsigmask) ... ok\ntest_setsigmask_wrong_type (test.test_posix.TestPosixSpawnP.test_setsigmask_wrong_type) ... ok\ntest_specify_environment (test.test_posix.TestPosixSpawnP.test_specify_environment) ... assertion \"here_addr \u003c _tstate-\u003ec_stack_top\" failed: file \"Python/ceval.c\", line 468, function \"_Py_InitializeRecursionLimits\"\nFAIL\n\n======================================================================\nFAIL: test_close_file (test.test_posix.TestPosixSpawn.test_close_file)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n  File \"/home/blue/cpython/Lib/test/test_posix.py\", line 2087, in test_close_file\n    support.wait_process(pid, exitcode=0)\n    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^\n  File \"/home/blue/cpython/Lib/test/support/__init__.py\", line 2241, in wait_process\n    raise AssertionError(f\"process {pid} exited with code {exitcode2}, \"\n                         f\"but exit code {exitcode} is expected\")\nAssertionError: process 14888 exited with code -6, but exit code 0 is expected\n\n======================================================================\nFAIL: test_multiple_file_actions (test.test_posix.TestPosixSpawn.test_multiple_file_actions)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n  File \"/home/blue/cpython/Lib/test/test_posix.py\", line 2021, in test_multiple_file_actions\n    support.wait_process(pid, exitcode=0)\n    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^\n  File \"/home/blue/cpython/Lib/test/support/__init__.py\", line 2241, in wait_process\n    raise AssertionError(f\"process {pid} exited with code {exitcode2}, \"\n                         f\"but exit code {exitcode} is expected\")\nAssertionError: process 4875 exited with code -6, but exit code 0 is expected\n\n======================================================================\nFAIL: test_open_file (test.test_posix.TestPosixSpawn.test_open_file)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n  File \"/home/blue/cpython/Lib/test/test_posix.py\", line 2068, in test_open_file\n    support.wait_process(pid, exitcode=0)\n    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^\n  File \"/home/blue/cpython/Lib/test/support/__init__.py\", line 2241, in wait_process\n    raise AssertionError(f\"process {pid} exited with code {exitcode2}, \"\n                         f\"but exit code {exitcode} is expected\")\nAssertionError: process 22411 exited with code -6, but exit code 0 is expected\n\n======================================================================\nFAIL: test_resetids (test.test_posix.TestPosixSpawn.test_resetids)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n  File \"/home/blue/cpython/Lib/test/test_posix.py\", line 1860, in test_resetids\n    support.wait_process(pid, exitcode=0)\n    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^\n  File \"/home/blue/cpython/Lib/test/support/__init__.py\", line 2241, in wait_process\n    raise AssertionError(f\"process {pid} exited with code {exitcode2}, \"\n                         f\"but exit code {exitcode} is expected\")\nAssertionError: process 6982 exited with code -6, but exit code 0 is expected\n\n======================================================================\nFAIL: test_resetids_explicit_default (test.test_posix.TestPosixSpawn.test_resetids_explicit_default)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n  File \"/home/blue/cpython/Lib/test/test_posix.py\", line 1851, in test_resetids_explicit_default\n    support.wait_process(pid, exitcode=0)\n    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^\n  File \"/home/blue/cpython/Lib/test/support/__init__.py\", line 2241, in wait_process\n    raise AssertionError(f\"process {pid} exited with code {exitcode2}, \"\n                         f\"but exit code {exitcode} is expected\")\nAssertionError: process 9121 exited with code -6, but exit code 0 is expected\n\n======================================================================\nFAIL: test_returns_pid (test.test_posix.TestPosixSpawn.test_returns_pid)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n  File \"/home/blue/cpython/Lib/test/test_posix.py\", line 1792, in test_returns_pid\n    support.wait_process(pid, exitcode=0)\n    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^\n  File \"/home/blue/cpython/Lib/test/support/__init__.py\", line 2241, in wait_process\n    raise AssertionError(f\"process {pid} exited with code {exitcode2}, \"\n                         f\"but exit code {exitcode} is expected\")\nAssertionError: process 20376 exited with code -6, but exit code 0 is expected\n\n======================================================================\nFAIL: test_setpgroup (test.test_posix.TestPosixSpawn.test_setpgroup)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n  File \"/home/blue/cpython/Lib/test/test_posix.py\", line 1869, in test_setpgroup\n    support.wait_process(pid, exitcode=0)\n    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^\n  File \"/home/blue/cpython/Lib/test/support/__init__.py\", line 2241, in wait_process\n    raise AssertionError(f\"process {pid} exited with code {exitcode2}, \"\n                         f\"but exit code {exitcode} is expected\")\nAssertionError: process 29677 exited with code -6, but exit code 0 is expected\n\n======================================================================\nFAIL: test_setsigmask (test.test_posix.TestPosixSpawn.test_setsigmask)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n  File \"/home/blue/cpython/Lib/test/test_posix.py\", line 1890, in test_setsigmask\n    support.wait_process(pid, exitcode=0)\n    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^\n  File \"/home/blue/cpython/Lib/test/support/__init__.py\", line 2241, in wait_process\n    raise AssertionError(f\"process {pid} exited with code {exitcode2}, \"\n                         f\"but exit code {exitcode} is expected\")\nAssertionError: process 29091 exited with code -6, but exit code 0 is expected\n\n======================================================================\nFAIL: test_specify_environment (test.test_posix.TestPosixSpawn.test_specify_environment)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n  File \"/home/blue/cpython/Lib/test/test_posix.py\", line 1822, in test_specify_environment\n    support.wait_process(pid, exitcode=0)\n    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^\n  File \"/home/blue/cpython/Lib/test/support/__init__.py\", line 2241, in wait_process\n    raise AssertionError(f\"process {pid} exited with code {exitcode2}, \"\n                         f\"but exit code {exitcode} is expected\")\nAssertionError: process 26401 exited with code -6, but exit code 0 is expected\n\n======================================================================\nFAIL: test_close_file (test.test_posix.TestPosixSpawnP.test_close_file)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n  File \"/home/blue/cpython/Lib/test/test_posix.py\", line 2087, in test_close_file\n    support.wait_process(pid, exitcode=0)\n    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^\n  File \"/home/blue/cpython/Lib/test/support/__init__.py\", line 2241, in wait_process\n    raise AssertionError(f\"process {pid} exited with code {exitcode2}, \"\n                         f\"but exit code {exitcode} is expected\")\nAssertionError: process 2519 exited with code -6, but exit code 0 is expected\n\n======================================================================\nFAIL: test_dup2 (test.test_posix.TestPosixSpawnP.test_dup2)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n  File \"/home/blue/cpython/Lib/test/test_posix.py\", line 2105, in test_dup2\n    support.wait_process(pid, exitcode=0)\n    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^\n  File \"/home/blue/cpython/Lib/test/support/__init__.py\", line 2241, in wait_process\n    raise AssertionError(f\"process {pid} exited with code {exitcode2}, \"\n                         f\"but exit code {exitcode} is expected\")\nAssertionError: process 10663 exited with code -6, but exit code 0 is expected\n\n======================================================================\nFAIL: test_empty_file_actions (test.test_posix.TestPosixSpawnP.test_empty_file_actions)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n  File \"/home/blue/cpython/Lib/test/test_posix.py\", line 1842, in test_empty_file_actions\n    support.wait_process(pid, exitcode=0)\n    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^\n  File \"/home/blue/cpython/Lib/test/support/__init__.py\", line 2241, in wait_process\n    raise AssertionError(f\"process {pid} exited with code {exitcode2}, \"\n                         f\"but exit code {exitcode} is expected\")\nAssertionError: process 29538 exited with code -6, but exit code 0 is expected\n\n======================================================================\nFAIL: test_multiple_file_actions (test.test_posix.TestPosixSpawnP.test_multiple_file_actions)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n  File \"/home/blue/cpython/Lib/test/test_posix.py\", line 2021, in test_multiple_file_actions\n    support.wait_process(pid, exitcode=0)\n    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^\n  File \"/home/blue/cpython/Lib/test/support/__init__.py\", line 2241, in wait_process\n    raise AssertionError(f\"process {pid} exited with code {exitcode2}, \"\n                         f\"but exit code {exitcode} is expected\")\nAssertionError: process 13306 exited with code -6, but exit code 0 is expected\n\n======================================================================\nFAIL: test_none_file_actions (test.test_posix.TestPosixSpawnP.test_none_file_actions)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n  File \"/home/blue/cpython/Lib/test/test_posix.py\", line 1833, in test_none_file_actions\n    support.wait_process(pid, exitcode=0)\n    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^\n  File \"/home/blue/cpython/Lib/test/support/__init__.py\", line 2241, in wait_process\n    raise AssertionError(f\"process {pid} exited with code {exitcode2}, \"\n                         f\"but exit code {exitcode} is expected\")\nAssertionError: process 4660 exited with code -6, but exit code 0 is expected\n\n======================================================================\nFAIL: test_open_file (test.test_posix.TestPosixSpawnP.test_open_file)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n  File \"/home/blue/cpython/Lib/test/test_posix.py\", line 2068, in test_open_file\n    support.wait_process(pid, exitcode=0)\n    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^\n  File \"/home/blue/cpython/Lib/test/support/__init__.py\", line 2241, in wait_process\n    raise AssertionError(f\"process {pid} exited with code {exitcode2}, \"\n                         f\"but exit code {exitcode} is expected\")\nAssertionError: process 15283 exited with code -6, but exit code 0 is expected\n\n======================================================================\nFAIL: test_resetids (test.test_posix.TestPosixSpawnP.test_resetids)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n  File \"/home/blue/cpython/Lib/test/test_posix.py\", line 1860, in test_resetids\n    support.wait_process(pid, exitcode=0)\n    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^\n  File \"/home/blue/cpython/Lib/test/support/__init__.py\", line 2241, in wait_process\n    raise AssertionError(f\"process {pid} exited with code {exitcode2}, \"\n                         f\"but exit code {exitcode} is expected\")\nAssertionError: process 27835 exited with code -6, but exit code 0 is expected\n\n======================================================================\nFAIL: test_resetids_explicit_default (test.test_posix.TestPosixSpawnP.test_resetids_explicit_default)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n  File \"/home/blue/cpython/Lib/test/test_posix.py\", line 1851, in test_resetids_explicit_default\n    support.wait_process(pid, exitcode=0)\n    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^\n  File \"/home/blue/cpython/Lib/test/support/__init__.py\", line 2241, in wait_process\n    raise AssertionError(f\"process {pid} exited with code {exitcode2}, \"\n                         f\"but exit code {exitcode} is expected\")\nAssertionError: process 12737 exited with code -6, but exit code 0 is expected\n\n======================================================================\nFAIL: test_returns_pid (test.test_posix.TestPosixSpawnP.test_returns_pid)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n  File \"/home/blue/cpython/Lib/test/test_posix.py\", line 1792, in test_returns_pid\n    support.wait_process(pid, exitcode=0)\n    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^\n  File \"/home/blue/cpython/Lib/test/support/__init__.py\", line 2241, in wait_process\n    raise AssertionError(f\"process {pid} exited with code {exitcode2}, \"\n                         f\"but exit code {exitcode} is expected\")\nAssertionError: process 1830 exited with code -6, but exit code 0 is expected\n\n======================================================================\nFAIL: test_setpgroup (test.test_posix.TestPosixSpawnP.test_setpgroup)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n  File \"/home/blue/cpython/Lib/test/test_posix.py\", line 1869, in test_setpgroup\n    support.wait_process(pid, exitcode=0)\n    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^\n  File \"/home/blue/cpython/Lib/test/support/__init__.py\", line 2241, in wait_process\n    raise AssertionError(f\"process {pid} exited with code {exitcode2}, \"\n                         f\"but exit code {exitcode} is expected\")\nAssertionError: process 24458 exited with code -6, but exit code 0 is expected\n\n======================================================================\nFAIL: test_setsigdef (test.test_posix.TestPosixSpawnP.test_setsigdef)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n  File \"/home/blue/cpython/Lib/test/test_posix.py\", line 1955, in test_setsigdef\n    support.wait_process(pid, exitcode=-signal.SIGUSR1)\n    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/home/blue/cpython/Lib/test/support/__init__.py\", line 2241, in wait_process\n    raise AssertionError(f\"process {pid} exited with code {exitcode2}, \"\n                         f\"but exit code {exitcode} is expected\")\nAssertionError: process 11736 exited with code -6, but exit code -30 is expected\n\n======================================================================\nFAIL: test_specify_environment (test.test_posix.TestPosixSpawnP.test_specify_environment)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n  File \"/home/blue/cpython/Lib/test/test_posix.py\", line 1822, in test_specify_environment\n    support.wait_process(pid, exitcode=0)\n    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^\n  File \"/home/blue/cpython/Lib/test/support/__init__.py\", line 2241, in wait_process\n    raise AssertionError(f\"process {pid} exited with code {exitcode2}, \"\n                         f\"but exit code {exitcode} is expected\")\nAssertionError: process 28506 exited with code -6, but exit code 0 is expected\n\n----------------------------------------------------------------------\nRan 43 tests in 2.545s\n\nFAILED (failures=21, skipped=6)\nWarning -- files was modified by test_posix\nWarning --   Before: []\nWarning --   After:  ['python.core']\ntest test_posix failed\n0:00:02 load avg: 0.17 [1/1/1] test_posix failed (21 failures)\n\n== Tests result: FAILURE ==\n\n1 test failed:\n    test_posix\n\nTotal duration: 2.7 sec\nTotal tests: run=43 (filtered) failures=21 skipped=6\nTotal test files: run=1/1 (filtered) failed=1\nResult: FAILURE\n```\n\n\n### CPython versions tested on:\n\nCPython main branch, 3.14\n\n### Operating systems tested on:\n\nOther\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-131625\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/furkanonder","@type":"Person","name":"furkanonder"},"datePublished":"2025-03-23T13:06:27.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/131624/cpython/issues/131624"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:08d0c32e-f712-afd1-87f5-c2e85a198e86
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC47E:23348E:28873E2:357A81E:696B29C4
html-safe-noncebc16983c7bb28579f63cba54cb063797ce7801acbbf4164e103cda3ac687d380
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDdFOjIzMzQ4RToyODg3M0UyOjM1N0E4MUU6Njk2QjI5QzQiLCJ2aXNpdG9yX2lkIjoiMjkxNTUwOTExNzUyMzc5ODQ2OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd3c97684d6fa5b9c02b50126886d5b3729cdd961f69a8825df73d2828a8100ab
hovercard-subject-tagissue:2941170877
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/131624/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4192437557671e486bc705b17873d6e0bf5f0d7090d7f357eb1e168fc6891187/python/cpython/issues/131624
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4192437557671e486bc705b17873d6e0bf5f0d7090d7f357eb1e168fc6891187/python/cpython/issues/131624
og:image:altBug report Bug description: Multiple tests in test_posix for posix_spawn and posix_spawnp functionality are failing on NetBSD with stack limit-related assertions in the spawned processes. All faili...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamefurkanonder
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/issues/131624#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F131624
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F131624
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/131624
Reloadhttps://github.com/python/cpython/issues/131624
Reloadhttps://github.com/python/cpython/issues/131624
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/issues/131624
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/issues/131624
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/131624
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/131624
posix_spawn and posix_spawnp tests failing on NetBSD with stack limit assertionshttps://github.com/python/cpython/issues/131624#top
3.14bugs and security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.14%22
OS-netbsdhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22OS-netbsd%22
interpreter-core(Objects, Python, Grammar, and Parser dirs)https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22interpreter-core%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
https://github.com/furkanonder
https://github.com/furkanonder
furkanonderhttps://github.com/furkanonder
on Mar 23, 2025https://github.com/python/cpython/issues/131624#issue-2941170877
gh-131624: Fix posix_spawn tests failing on NetBSD with stack limit assertions #131625https://github.com/python/cpython/pull/131625
3.14bugs and security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.14%22
OS-netbsdhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22OS-netbsd%22
interpreter-core(Objects, Python, Grammar, and Parser dirs)https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22interpreter-core%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.