-
-
Couldn't load subscription status.
- Fork 33.3k
Open
Labels
OS-unsupportedtestsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
The test_init_use_frozen_modules test fails on OpenIndiana.
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 immediate cause for the failure is that in the _PyConfig_AsDict() function the config_get() call fails (returns NULL) for xoptions and orig_argv specs.
msmojtabafar
Metadata
Metadata
Assignees
Labels
OS-unsupportedtestsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Projects
Status
No status