test_init_use_frozen_modules (test.test_embed.InitConfigTests.test_init_use_frozen_modules) ... --- ['/data/builds/ul-workspace/components/python/python-314/build/amd64/Programs/_testembed', 'test_init_use_frozen_modules'] failed ---
stdout:
stderr:
Fatal Python error: memory allocation failed
Python runtime state: core initialized
Current thread 0x0000000000000001 (most recent call first):
<no Python frame>
------
test_init_use_frozen_modules (test.test_embed.InitConfigTests.test_init_use_frozen_modules) ['=off'] ... FAIL
--- ['/data/builds/ul-workspace/components/python/python-314/build/amd64/Programs/_testembed', 'test_init_use_frozen_modules'] failed ---
stdout:
stderr:
Fatal Python error: memory allocation failed
Python runtime state: core initialized
Current thread 0x0000000000000001 (most recent call first):
<no Python frame>
------
test_init_use_frozen_modules (test.test_embed.InitConfigTests.test_init_use_frozen_modules) ['=on'] ... FAIL
--- ['/data/builds/ul-workspace/components/python/python-314/build/amd64/Programs/_testembed', 'test_init_use_frozen_modules'] failed ---
stdout:
stderr:
Fatal Python error: memory allocation failed
Python runtime state: core initialized
Current thread 0x0000000000000001 (most recent call first):
<no Python frame>
------
test_init_use_frozen_modules (test.test_embed.InitConfigTests.test_init_use_frozen_modules) ['='] ... FAIL
======================================================================
FAIL: test_init_use_frozen_modules (test.test_embed.InitConfigTests.test_init_use_frozen_modules) ['=off']
----------------------------------------------------------------------
Traceback (most recent call last):
File "/data/builds/ul-workspace/components/python/python-314/Python-3.14.0/Lib/test/test_embed.py", line 1827, in test_init_use_frozen_modules
self.check_all_configs("test_init_use_frozen_modules", config,
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api=API_PYTHON, env=env)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/builds/ul-workspace/components/python/python-314/Python-3.14.0/Lib/test/test_embed.py", line 941, in check_all_configs
out, err = self.run_embedded_interpreter(testname,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
env=env, cwd=cwd)
^^^^^^^^^^^^^^^^^
File "/data/builds/ul-workspace/components/python/python-314/Python-3.14.0/Lib/test/test_embed.py", line 138, in run_embedded_interpreter
self.assertEqual(p.returncode, returncode,
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
"bad returncode %d, stderr is %r" %
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(p.returncode, err))
^^^^^^^^^^^^^^^^^^^^
AssertionError: 1 != 0 : bad returncode 1, stderr is 'Fatal Python error: memory allocation failed\nPython runtime state: core initialized\n\nCurrent thread 0x0000000000000001 (most recent call first):\n <no Python frame>\n'
======================================================================
FAIL: test_init_use_frozen_modules (test.test_embed.InitConfigTests.test_init_use_frozen_modules) ['=on']
----------------------------------------------------------------------
Traceback (most recent call last):
File "/data/builds/ul-workspace/components/python/python-314/Python-3.14.0/Lib/test/test_embed.py", line 1827, in test_init_use_frozen_modules
self.check_all_configs("test_init_use_frozen_modules", config,
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api=API_PYTHON, env=env)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/builds/ul-workspace/components/python/python-314/Python-3.14.0/Lib/test/test_embed.py", line 941, in check_all_configs
out, err = self.run_embedded_interpreter(testname,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
env=env, cwd=cwd)
^^^^^^^^^^^^^^^^^
File "/data/builds/ul-workspace/components/python/python-314/Python-3.14.0/Lib/test/test_embed.py", line 138, in run_embedded_interpreter
self.assertEqual(p.returncode, returncode,
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
"bad returncode %d, stderr is %r" %
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(p.returncode, err))
^^^^^^^^^^^^^^^^^^^^
AssertionError: 1 != 0 : bad returncode 1, stderr is 'Fatal Python error: memory allocation failed\nPython runtime state: core initialized\n\nCurrent thread 0x0000000000000001 (most recent call first):\n <no Python frame>\n'
======================================================================
FAIL: test_init_use_frozen_modules (test.test_embed.InitConfigTests.test_init_use_frozen_modules) ['=']
----------------------------------------------------------------------
Traceback (most recent call last):
File "/data/builds/ul-workspace/components/python/python-314/Python-3.14.0/Lib/test/test_embed.py", line 1827, in test_init_use_frozen_modules
self.check_all_configs("test_init_use_frozen_modules", config,
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api=API_PYTHON, env=env)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/builds/ul-workspace/components/python/python-314/Python-3.14.0/Lib/test/test_embed.py", line 941, in check_all_configs
out, err = self.run_embedded_interpreter(testname,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
env=env, cwd=cwd)
^^^^^^^^^^^^^^^^^
File "/data/builds/ul-workspace/components/python/python-314/Python-3.14.0/Lib/test/test_embed.py", line 138, in run_embedded_interpreter
self.assertEqual(p.returncode, returncode,
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
"bad returncode %d, stderr is %r" %
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(p.returncode, err))
^^^^^^^^^^^^^^^^^^^^
AssertionError: 1 != 0 : bad returncode 1, stderr is 'Fatal Python error: memory allocation failed\nPython runtime state: core initialized\n\nCurrent thread 0x0000000000000001 (most recent call first):\n <no Python frame>\n'
The
test_init_use_frozen_modulestest fails on OpenIndiana.The immediate cause for the failure is that in the
_PyConfig_AsDict()function theconfig_get()call fails (returnsNULL) forxoptionsandorig_argvspecs.Linked PRs