lib-python/3/test/test_embed.py::unmodified
== PyPy 3.12.13 (089c43735760, Jul 23 2026, 15:52:42) [PyPy 8.0.0-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.12.90+deb13-amd64-i686-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_829366æ
== CPU count: 9
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 1626327606
0:00:00 load avg: 1.21 Run 1 test sequentially in a single process
0:00:00 load avg: 1.21 [1/1] test_embed
test_audit (test.test_embed.AuditingTests.test_audit) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_audit_run_command (test.test_embed.AuditingTests.test_audit_run_command) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_audit_run_file (test.test_embed.AuditingTests.test_audit_run_file) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_audit_run_interactivehook (test.test_embed.AuditingTests.test_audit_run_interactivehook) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_audit_run_startup (test.test_embed.AuditingTests.test_audit_run_startup) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_audit_run_stdin (test.test_embed.AuditingTests.test_audit_run_stdin) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_audit_subinterpreter (test.test_embed.AuditingTests.test_audit_subinterpreter) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_get_incomplete_frame (test.test_embed.AuditingTests.test_get_incomplete_frame) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_open_code_hook (test.test_embed.AuditingTests.test_open_code_hook) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_bpo20891 (test.test_embed.EmbeddingTests.test_bpo20891)
bpo-20891: Calling PyGILState_Ensure in a non-Python thread must not ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_finalize_structseq (test.test_embed.EmbeddingTests.test_finalize_structseq) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_forced_io_encoding (test.test_embed.EmbeddingTests.test_forced_io_encoding) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_getargs_reset_static_parser (test.test_embed.EmbeddingTests.test_getargs_reset_static_parser) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_initialize_pymain (test.test_embed.EmbeddingTests.test_initialize_pymain)
bpo-34008: Calling Py_Main() after Py_Initialize() must not fail. ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_initialize_twice (test.test_embed.EmbeddingTests.test_initialize_twice)
bpo-33932: Calling Py_Initialize() twice should do nothing (and not ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_pre_initialization_api (test.test_embed.EmbeddingTests.test_pre_initialization_api)
Checks some key parts of the C-API that need to work before the runtime ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_pre_initialization_sys_options (test.test_embed.EmbeddingTests.test_pre_initialization_sys_options)
Checks that sys.warnoptions and sys._xoptions can be set before the ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_repeated_init_and_inittab (test.test_embed.EmbeddingTests.test_repeated_init_and_inittab) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_run_main (test.test_embed.EmbeddingTests.test_run_main) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_run_main_loop (test.test_embed.EmbeddingTests.test_run_main_loop) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_simple_initialization_api (test.test_embed.EmbeddingTests.test_simple_initialization_api) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_specialized_static_code_gets_unspecialized_at_Py_FINALIZE (test.test_embed.EmbeddingTests.test_specialized_static_code_gets_unspecialized_at_Py_FINALIZE) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_static_types_inherited_slots (test.test_embed.EmbeddingTests.test_static_types_inherited_slots) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_subinterps_different_ids (test.test_embed.EmbeddingTests.test_subinterps_different_ids) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_subinterps_distinct_state (test.test_embed.EmbeddingTests.test_subinterps_distinct_state) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_subinterps_main (test.test_embed.EmbeddingTests.test_subinterps_main) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_ucnhash_capi_reset (test.test_embed.EmbeddingTests.test_ucnhash_capi_reset) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_get_argc_argv (test.test_embed.InitConfigTests.test_get_argc_argv) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_getpath_abspath_win32 (test.test_embed.InitConfigTests.test_getpath_abspath_win32) ... skipped 'specific to Windows'
test_global_pathconfig (test.test_embed.InitConfigTests.test_global_pathconfig) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_init_compat_config (test.test_embed.InitConfigTests.test_init_compat_config) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_init_compat_env (test.test_embed.InitConfigTests.test_init_compat_env) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_init_default_config (test.test_embed.InitConfigTests.test_init_default_config) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_init_dev_mode (test.test_embed.InitConfigTests.test_init_dev_mode) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_init_dont_configure_locale (test.test_embed.InitConfigTests.test_init_dont_configure_locale) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_init_dont_parse_argv (test.test_embed.InitConfigTests.test_init_dont_parse_argv) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_init_env_dev_mode (test.test_embed.InitConfigTests.test_init_env_dev_mode) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_init_env_dev_mode_alloc (test.test_embed.InitConfigTests.test_init_env_dev_mode_alloc) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_init_from_config (test.test_embed.InitConfigTests.test_init_from_config) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_init_global_config (test.test_embed.InitConfigTests.test_init_global_config) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_init_is_python_build_with_home (test.test_embed.InitConfigTests.test_init_is_python_build_with_home) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_init_isolated_config (test.test_embed.InitConfigTests.test_init_isolated_config) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_init_isolated_flag (test.test_embed.InitConfigTests.test_init_isolated_flag) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_init_main (test.test_embed.InitConfigTests.test_init_main) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_init_main_interpreter_settings (test.test_embed.InitConfigTests.test_init_main_interpreter_settings) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_init_parse_argv (test.test_embed.InitConfigTests.test_init_parse_argv) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_init_pybuilddir (test.test_embed.InitConfigTests.test_init_pybuilddir) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_init_pybuilddir_win32 (test.test_embed.InitConfigTests.test_init_pybuilddir_win32) ... skipped 'See test_init_pybuilddir'
test_init_python_config (test.test_embed.InitConfigTests.test_init_python_config) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_init_python_env (test.test_embed.InitConfigTests.test_init_python_env) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_init_pyvenv_cfg (test.test_embed.InitConfigTests.test_init_pyvenv_cfg) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_init_read_set (test.test_embed.InitConfigTests.test_init_read_set) ... skipped 'as of 3.11 this test no longer works because path calculations do not occur on read'
test_init_run_main (test.test_embed.InitConfigTests.test_init_run_main) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_init_set_config (test.test_embed.InitConfigTests.test_init_set_config) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_init_setpath (test.test_embed.InitConfigTests.test_init_setpath) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_init_setpath_config (test.test_embed.InitConfigTests.test_init_setpath_config) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_init_setpythonhome (test.test_embed.InitConfigTests.test_init_setpythonhome) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_init_sys_add (test.test_embed.InitConfigTests.test_init_sys_add) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_init_use_frozen_modules (test.test_embed.InitConfigTests.test_init_use_frozen_modules) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_init_warnoptions (test.test_embed.InitConfigTests.test_init_warnoptions) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_preinit_compat_config (test.test_embed.InitConfigTests.test_preinit_compat_config) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_preinit_dont_parse_argv (test.test_embed.InitConfigTests.test_preinit_dont_parse_argv) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_preinit_isolated1 (test.test_embed.InitConfigTests.test_preinit_isolated1) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_preinit_isolated2 (test.test_embed.InitConfigTests.test_preinit_isolated2) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_preinit_isolated_config (test.test_embed.InitConfigTests.test_preinit_isolated_config) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_preinit_parse_argv (test.test_embed.InitConfigTests.test_preinit_parse_argv) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_preinit_python_config (test.test_embed.InitConfigTests.test_preinit_python_config) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_frozenmain (test.test_embed.MiscTests.test_frozenmain) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_no_memleak (test.test_embed.MiscTests.test_no_memleak) ... skipped '-X showrefcount requires a Python debug build'
test_unicode_id_init (test.test_embed.MiscTests.test_unicode_id_init) ... skipped "'/buildbot/slave/pypy-c-jit-linux-x86-32/build/pypy/goal/Programs/_testembed' doesn't exist"
test_set_config (test.test_embed.SetConfigTests.test_set_config) ...
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-x86-32/build/lib-python/3/runpy.py", line 198, in _run_module_as_main
return _run_code(code, main_globals, None,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/slave/pypy-c-jit-linux-x86-32/build/lib-python/3/runpy.py", line 88, in _run_code
exec(code, run_globals)
File "/buildbot/slave/pypy-c-jit-linux-x86-32/build/lib-python/3/test/_test_embed_set_config.py", line 8, in <module>
import _testinternalcapi
ModuleNotFoundError: No module named '_testinternalcapi'
FAIL
======================================================================
FAIL: test_set_config (test.test_embed.SetConfigTests.test_set_config)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buildbot/slave/pypy-c-jit-linux-x86-32/build/lib-python/3/test/test_embed.py", line 1757, in test_set_config
self.assertEqual(proc.returncode, 0,
^^^^^^^^^^^
AssertionError: 1 != 0 : (1, '', 'Traceback (most recent call last):\n File "/buildbot/slave/pypy-c-jit-linux-x86-32/build/lib-python/3/runpy.py", line 198, in _run_module_as_main\n return _run_code(code, main_globals, None,\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/buildbot/slave/pypy-c-jit-linux-x86-32/build/lib-python/3/runpy.py", line 88, in _run_code\n exec(code, run_globals)\n File "/buildbot/slave/pypy-c-jit-linux-x86-32/build/lib-python/3/test/_test_embed_set_config.py", line 8, in <module>\n import _testinternalcapi\nModuleNotFoundError: No module named \'_testinternalcapi\'\n')
----------------------------------------------------------------------
Ran 71 tests in 0.067s
FAILED (failures=1, skipped=70)
0:00:00 load avg: 1.21 [1/1/1] test_embed failed (1 failure)
== Tests result: FAILURE ==
1 test failed:
test_embed
Total duration: 149 ms
Total tests: run=71 failures=1 skipped=70
Total test files: run=1/1 failed=1
Result: FAILURE
test test_embed failed
builder: pypy-c-jit-linux-x86-32 build #8403+
test: lib-python/3/test/test_embed.py::unmodified