Unfortunately the buildbots are still red:
https://buildbot.python.org/all/#/builders/483/builds/1416/steps/5/logs/stdio
https://buildbot.python.org/all/#/builders/172/builds/1102
One is the test_embed problem with frozen modules:
======================================================================
FAIL: test_init_setpythonhome (test.test_embed.InitConfigTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/home/buildbot/python/3.x.koobs-freebsd-9e36.nondebug/build/Lib/test/test_embed.py", line 1253, in test_init_setpythonhome
self.check_all_configs("test_init_setpythonhome", config,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/home/buildbot/python/3.x.koobs-freebsd-9e36.nondebug/build/Lib/test/test_embed.py", line 736, in check_all_configs
self.check_config(configs, expected_config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/home/buildbot/python/3.x.koobs-freebsd-9e36.nondebug/build/Lib/test/test_embed.py", line 662, in check_config
self.assertEqual(config, expected)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: {'_co[346 chars]'], 'xoptions': [], 'warnoptions': [], 'python[1945 chars]': 1} != {'_co[346 chars]'], 'orig_argv': [], 'xoptions': [], 'warnopti[1946 chars]: -1}
{'_config_init': 1,
'_init_main': 1,
'_install_importlib': 1,
'_isolated_interpreter': 0,
'argv': [''],
'base_exec_prefix': '/usr/home/buildbot/python/3.x.koobs-freebsd-9e36.nondebug/build',
'base_executable': '',
'base_prefix': '/usr/home/buildbot/python/3.x.koobs-freebsd-9e36.nondebug/build',
'buffered_stdio': 1,
'bytes_warning': 0,
'check_hash_pycs_mode': 'default',
'code_debug_ranges': 1,
'configure_c_stdio': 0,
'dev_mode': 0,
'dump_refs': 0,
'exec_prefix': '/usr/home/buildbot/python/3.x.koobs-freebsd-9e36.nondebug/build',
'executable': '',
'faulthandler': 0,
'hash_seed': 0,
'home': '/usr/home/buildbot/python/3.x.koobs-freebsd-9e36.nondebug/build',
'import_time': 0,
'inspect': 0,
'install_signal_handlers': 1,
'interactive': 0,
'isolated': 0,
'malloc_stats': 0,
'module_search_paths': ['/usr/home/buildbot/python/3.x.koobs-freebsd-9e36.nondebug/build/target/lib/python311.zip',
'/usr/home/buildbot/python/3.x.koobs-freebsd-9e36.nondebug/build/Lib',
'/usr/home/buildbot/python/3.x.koobs-freebsd-9e36.nondebug/build/build/lib.freebsd-12.3-RELEASE-amd64-3.11',
'/usr/home/buildbot/python/3.x.koobs-freebsd-9e36.nondebug/build/lib/python311.zip',
'/usr/home/buildbot/python/3.x.koobs-freebsd-9e36.nondebug/build/lib/python3.11',
'/usr/home/buildbot/python/3.x.koobs-freebsd-9e36.nondebug/build/lib/python3.11/lib-dynload'],
'module_search_paths_set': 1,
'optimization_level': 0,
'orig_argv': [],
'parse_argv': 0,
'parser_debug': 0,
'pathconfig_warnings': 1,
'platlibdir': 'lib',
'prefix': '/usr/home/buildbot/python/3.x.koobs-freebsd-9e36.nondebug/build',
'program_name': 'python3',
'pycache_prefix': None,
'pythonpath_env': '/usr/home/buildbot/python/3.x.koobs-freebsd-9e36.nondebug/build/target/lib/python311.zip:/usr/home/buildbot/python/3.x.koobs-freebsd-9e36.nondebug/build/Lib:/usr/home/buildbot/python/3.x.koobs-freebsd-9e36.nondebug/build/build/lib.freebsd-12.3-RELEASE-amd64-3.11',
'quiet': 0,
'run_command': None,
'run_filename': None,
'run_module': None,
'show_ref_count': 0,
'site_import': 1,
'skip_source_first_line': 0,
'stdlib_dir': '/usr/home/buildbot/python/3.x.koobs-freebsd-9e36.nondebug/build/lib/python3.11',
'tracemalloc': 0,
'use_environment': 1,
- 'use_frozen_modules': 1,
+ 'use_frozen_modules': -1,
? +
'use_hash_seed': 0,
'user_site_directory': 1,
'verbose': 0,
'warn_default_encoding': 0,
'warnoptions': [],
'write_bytecode': 1,
'xoptions': []}
----------------------------------------------------------------------
Ran 1 test in 0.131s
FAILED (failures=1)
test test_embed failed
0:27:39 load avg: 1.11 Re-running test_logging in verbose mode (matching: test_udp_reconnection)
test_udp_reconnection (test.test_logging.IPv6SysLogHandlerTest) ... ok
test_udp_reconnection (test.test_logging.SysLogHandlerTest) ... ok
test_udp_reconnection (test.test_logging.UnixSysLogHandlerTest) ... ok
----------------------------------------------------------------------
The other is a capi problem:
======================================================================
FAIL: test_pyobject_freed_is_freed (test.test_capi.PyMemMallocDebugTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/home/buildbot/python/3.x.koobs-freebsd-564d/build/Lib/test/test_capi.py", line 943, in test_pyobject_freed_is_freed
self.check_pyobject_is_freed('check_pyobject_freed_is_freed')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/home/buildbot/python/3.x.koobs-freebsd-564d/build/Lib/test/test_capi.py", line 931, in check_pyobject_is_freed
assert_python_ok('-c', code, PYTHONMALLOC=self.PYTHONMALLOC)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/home/buildbot/python/3.x.koobs-freebsd-564d/build/Lib/test/support/script_helper.py", line 160, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/home/buildbot/python/3.x.koobs-freebsd-564d/build/Lib/test/support/script_helper.py", line 145, in _assert_python
res.fail(cmd_line)
^^^^^^^^^^^^^^^^^^
File "/usr/home/buildbot/python/3.x.koobs-freebsd-564d/build/Lib/test/support/script_helper.py", line 72, in fail
raise AssertionError("Process return code is %d\n"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: Process return code is 1
command line: ['/usr/home/buildbot/python/3.x.koobs-freebsd-564d/build/python', '-X', 'faulthandler', '-c', '\nimport gc, os, sys, _testcapi\n# Disable the GC to avoid crash on GC collection\ngc.disable()\ntry:\n _testcapi.check_pyobject_freed_is_freed()\n # Exit immediately to avoid a crash while deallocating\n # the invalid object\n os._exit(0)\nexcept _testcapi.error:\n os._exit(1)\n']
stdout:
---
---
stderr:
---
--- |