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
Domain: github.com
{"@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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:08d0c32e-f712-afd1-87f5-c2e85a198e86 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C47E:23348E:28873E2:357A81E:696B29C4 |
| html-safe-nonce | bc16983c7bb28579f63cba54cb063797ce7801acbbf4164e103cda3ac687d380 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDdFOjIzMzQ4RToyODg3M0UyOjM1N0E4MUU6Njk2QjI5QzQiLCJ2aXNpdG9yX2lkIjoiMjkxNTUwOTExNzUyMzc5ODQ2OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d3c97684d6fa5b9c02b50126886d5b3729cdd961f69a8825df73d2828a8100ab |
| hovercard-subject-tag | issue:2941170877 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/131624/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4192437557671e486bc705b17873d6e0bf5f0d7090d7f357eb1e168fc6891187/python/cpython/issues/131624 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4192437557671e486bc705b17873d6e0bf5f0d7090d7f357eb1e168fc6891187/python/cpython/issues/131624 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | furkanonder |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width