Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.2k
Open
Description
Bug report
Bug description:
https://buildbot.python.org/#/builders/234/builds/6793/steps/6/logs/stdio
Key log text:
test_create_many_threaded (test.test_interpreters.test_stress.StressTests.test_create_many_threaded) ... Warning -- Uncaught thread exception: InterpreterErrorException in thread Thread-30 (task):RuntimeError: Failed to import encodings moduleDuring handling of the above exception, another exception occurred:interpreters.InterpreterError: sub-interpreter creation failedDuring handling of the above exception, another exception occurred:Traceback (most recent call last): ... File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_interpreters/test_stress.py", line 30, in task ...interpreters.InterpreterError: interpreter creation failed
...and during cleanup of test_interpreters:
python: Objects/typeobject.c:297: void managed_static_type_state_clear(PyInterpreterState *, PyTypeObject *, int, int): Assertion `!_PyRuntime.types.managed_static.types[full_index].interp_count' failed.
(expand for full logs)
0:00:50 load avg: 23.78 [400/481/1] test_interpreters worker non-zero exit code (Exit code -6 (SIGABRT)) -- running (10): test_socket (35.3 sec), test_capi (35.7 sec), test_statistics (50.2 sec), test_hashlib (30.3 sec), test_math (37.2 sec), test_int (50.1 sec), test.test_concurrent_futures.test_wait (48.8 sec), test.test_asyncio.test_events (34.2 sec), test_regrtest (43.2 sec), test.test_asyncio.test_tasks (46.3 sec)test_after_destroy_all (test.test_interpreters.test_api.CreateTests.test_after_destroy_all) ... oktest_after_destroy_some (test.test_interpreters.test_api.CreateTests.test_after_destroy_some) ... oktest_in_main (test.test_interpreters.test_api.CreateTests.test_in_main) ... oktest_in_subinterpreter (test.test_interpreters.test_api.CreateTests.test_in_subinterpreter) ... oktest_in_thread (test.test_interpreters.test_api.CreateTests.test_in_thread) ... oktest_created_with_capi (test.test_interpreters.test_api.GetCurrentTests.test_created_with_capi) ... oktest_idempotent (test.test_interpreters.test_api.GetCurrentTests.test_idempotent) ... oktest_main (test.test_interpreters.test_api.GetCurrentTests.test_main) ... oktest_subinterpreter (test.test_interpreters.test_api.GetCurrentTests.test_subinterpreter) ... oktest_current (test.test_interpreters.test_api.GetMainTests.test_current) ... oktest_id (test.test_interpreters.test_api.GetMainTests.test_id) ... oktest_idempotent (test.test_interpreters.test_api.GetMainTests.test_idempotent) ... oktest_equality (test.test_interpreters.test_api.InterpreterObjectTests.test_equality) ... oktest_hashable (test.test_interpreters.test_api.InterpreterObjectTests.test_hashable) ... oktest_id_readonly (test.test_interpreters.test_api.InterpreterObjectTests.test_id_readonly) ... oktest_id_type (test.test_interpreters.test_api.InterpreterObjectTests.test_id_type) ... oktest_idempotent (test.test_interpreters.test_api.InterpreterObjectTests.test_idempotent) ... oktest_init_bad_id (test.test_interpreters.test_api.InterpreterObjectTests.test_init_bad_id) ... oktest_init_does_not_exist (test.test_interpreters.test_api.InterpreterObjectTests.test_init_does_not_exist) ... oktest_init_int (test.test_interpreters.test_api.InterpreterObjectTests.test_init_int) ... oktest_init_interpreter_id (test.test_interpreters.test_api.InterpreterObjectTests.test_init_interpreter_id) ... oktest_init_unsupported (test.test_interpreters.test_api.InterpreterObjectTests.test_init_unsupported) ... oktest_pickle (test.test_interpreters.test_api.InterpreterObjectTests.test_pickle) ... oktest_whence (test.test_interpreters.test_api.InterpreterObjectTests.test_whence) ... oktest_after_creating (test.test_interpreters.test_api.ListAllTests.test_after_creating) ... oktest_after_destroying (test.test_interpreters.test_api.ListAllTests.test_after_destroying) ... oktest_created_with_capi (test.test_interpreters.test_api.ListAllTests.test_created_with_capi) ... oktest_idempotent (test.test_interpreters.test_api.ListAllTests.test_idempotent) ... oktest_initial (test.test_interpreters.test_api.ListAllTests.test_initial) ... oktest_call (test.test_interpreters.test_api.LowLevelTests.test_call) ... oktest_create (test.test_interpreters.test_api.LowLevelTests.test_create) ... oktest_destroy (test.test_interpreters.test_api.LowLevelTests.test_destroy) ... oktest_exec (test.test_interpreters.test_api.LowLevelTests.test_exec) ... oktest_get_config (test.test_interpreters.test_api.LowLevelTests.test_get_config) ... oktest_get_current (test.test_interpreters.test_api.LowLevelTests.test_get_current) ... oktest_get_main (test.test_interpreters.test_api.LowLevelTests.test_get_main) ... oktest_is_running (test.test_interpreters.test_api.LowLevelTests.test_is_running) ... oktest_list_all (test.test_interpreters.test_api.LowLevelTests.test_list_all) ... oktest_new_config (test.test_interpreters.test_api.LowLevelTests.test_new_config) ... oktest_set___main___attrs (test.test_interpreters.test_api.LowLevelTests.test_set___main___attrs) ... oktest_whence (test.test_interpreters.test_api.LowLevelTests.test_whence) ... oktest_queue_aliases (test.test_interpreters.test_api.ModuleTests.test_queue_aliases) ... oktest_call (test.test_interpreters.test_api.TestInterpreterCall.test_call) ... oktest_call_in_thread (test.test_interpreters.test_api.TestInterpreterCall.test_call_in_thread) ... oktest_all (test.test_interpreters.test_api.TestInterpreterClose.test_all) ... oktest_already_destroyed (test.test_interpreters.test_api.TestInterpreterClose.test_already_destroyed) ... oktest_basic (test.test_interpreters.test_api.TestInterpreterClose.test_basic) ... oktest_created_with_capi (test.test_interpreters.test_api.TestInterpreterClose.test_created_with_capi) ... oktest_from_current (test.test_interpreters.test_api.TestInterpreterClose.test_from_current) ... oktest_from_other_thread (test.test_interpreters.test_api.TestInterpreterClose.test_from_other_thread) ... oktest_from_sibling (test.test_interpreters.test_api.TestInterpreterClose.test_from_sibling) ... oktest_main (test.test_interpreters.test_api.TestInterpreterClose.test_main) ... oktest_still_running (test.test_interpreters.test_api.TestInterpreterClose.test_still_running) ... skipped 'Fails on FreeBSD'test_subthreads_still_running (test.test_interpreters.test_api.TestInterpreterClose.test_subthreads_still_running) ... oktest_already_running (test.test_interpreters.test_api.TestInterpreterExec.test_already_running) ... skipped 'Fails on FreeBSD'test_bad_script (test.test_interpreters.test_api.TestInterpreterExec.test_bad_script) ... oktest_bytes_for_script (test.test_interpreters.test_api.TestInterpreterExec.test_bytes_for_script) ... oktest_created_with_capi (test.test_interpreters.test_api.TestInterpreterExec.test_created_with_capi) ... oktest_display_preserved_exception (test.test_interpreters.test_api.TestInterpreterExec.test_display_preserved_exception) ... oktest_failure (test.test_interpreters.test_api.TestInterpreterExec.test_failure) ... oktest_fork (test.test_interpreters.test_api.TestInterpreterExec.test_fork) ... oktest_in_thread (test.test_interpreters.test_api.TestInterpreterExec.test_in_thread) ... oktest_success (test.test_interpreters.test_api.TestInterpreterExec.test_success) ... oktest_with_background_threads_still_running (test.test_interpreters.test_api.TestInterpreterExec.test_with_background_threads_still_running) ... oktest_already_destroyed (test.test_interpreters.test_api.TestInterpreterIsRunning.test_already_destroyed) ... oktest_created_with_capi (test.test_interpreters.test_api.TestInterpreterIsRunning.test_created_with_capi) ... oktest_finished (test.test_interpreters.test_api.TestInterpreterIsRunning.test_finished) ... oktest_from_subinterpreter (test.test_interpreters.test_api.TestInterpreterIsRunning.test_from_subinterpreter) ... oktest_main (test.test_interpreters.test_api.TestInterpreterIsRunning.test_main) ... oktest_subinterpreter (test.test_interpreters.test_api.TestInterpreterIsRunning.test_subinterpreter) ... skipped 'Fails on FreeBSD'test_with_only_background_threads (test.test_interpreters.test_api.TestInterpreterIsRunning.test_with_only_background_threads) ... oktest_created_with_capi (test.test_interpreters.test_api.TestInterpreterPrepareMain.test_created_with_capi) ... oktest_dict (test.test_interpreters.test_api.TestInterpreterPrepareMain.test_dict) ... oktest_dict_and_kwargs (test.test_interpreters.test_api.TestInterpreterPrepareMain.test_dict_and_kwargs) ... oktest_empty (test.test_interpreters.test_api.TestInterpreterPrepareMain.test_empty) ... oktest_kwargs (test.test_interpreters.test_api.TestInterpreterPrepareMain.test_kwargs) ... oktest_not_shareable (test.test_interpreters.test_api.TestInterpreterPrepareMain.test_not_shareable) ... oktest_running (test.test_interpreters.test_api.TestInterpreterPrepareMain.test_running) ... oktest_tuple (test.test_interpreters.test_api.TestInterpreterPrepareMain.test_tuple) ... oktest_default_shareables (test.test_interpreters.test_api.TestIsShareable.test_default_shareables) ... oktest_not_shareable (test.test_interpreters.test_api.TestIsShareable.test_not_shareable) ... oktest_highlevel_reloaded (test.test_interpreters.test_channels.LowLevelTests.test_highlevel_reloaded) ... oktest_create (test.test_interpreters.test_channels.TestChannels.test_create) ... oktest_is_closed (test.test_interpreters.test_channels.TestChannels.test_is_closed) ... oktest_list_all (test.test_interpreters.test_channels.TestChannels.test_list_all) ... oktest_shareable (test.test_interpreters.test_channels.TestChannels.test_shareable) ... oktest_custom_id (test.test_interpreters.test_channels.TestRecvChannelAttrs.test_custom_id) ... oktest_equality (test.test_interpreters.test_channels.TestRecvChannelAttrs.test_equality) ... oktest_id_readonly (test.test_interpreters.test_channels.TestRecvChannelAttrs.test_id_readonly) ... oktest_id_type (test.test_interpreters.test_channels.TestRecvChannelAttrs.test_id_type) ... oktest_pickle (test.test_interpreters.test_channels.TestRecvChannelAttrs.test_pickle) ... oktest_custom_id (test.test_interpreters.test_channels.TestSendChannelAttrs.test_custom_id) ... oktest_equality (test.test_interpreters.test_channels.TestSendChannelAttrs.test_equality) ... oktest_id_readonly (test.test_interpreters.test_channels.TestSendChannelAttrs.test_id_readonly) ... oktest_id_type (test.test_interpreters.test_channels.TestSendChannelAttrs.test_id_type) ... oktest_pickle (test.test_interpreters.test_channels.TestSendChannelAttrs.test_pickle) ... oktest_recv_channel_does_not_exist (test.test_interpreters.test_channels.TestSendRecv.test_recv_channel_does_not_exist) ... oktest_recv_nowait_channel_does_not_exist (test.test_interpreters.test_channels.TestSendRecv.test_recv_nowait_channel_does_not_exist) ... oktest_recv_nowait_default (test.test_interpreters.test_channels.TestSendRecv.test_recv_nowait_default) ... oktest_recv_nowait_empty (test.test_interpreters.test_channels.TestSendRecv.test_recv_nowait_empty) ... oktest_recv_timeout (test.test_interpreters.test_channels.TestSendRecv.test_recv_timeout) ... oktest_send_buffer (test.test_interpreters.test_channels.TestSendRecv.test_send_buffer) ... oktest_send_buffer_nowait (test.test_interpreters.test_channels.TestSendRecv.test_send_buffer_nowait) ... oktest_send_channel_does_not_exist (test.test_interpreters.test_channels.TestSendRecv.test_send_channel_does_not_exist) ... oktest_send_cleared_with_subinterpreter (test.test_interpreters.test_channels.TestSendRecv.test_send_cleared_with_subinterpreter) ... oktest_send_cleared_with_subinterpreter_mixed (test.test_interpreters.test_channels.TestSendRecv.test_send_cleared_with_subinterpreter_mixed) ... oktest_send_cleared_with_subinterpreter_multiple (test.test_interpreters.test_channels.TestSendRecv.test_send_cleared_with_subinterpreter_multiple) ... oktest_send_nowait_channel_does_not_exist (test.test_interpreters.test_channels.TestSendRecv.test_send_nowait_channel_does_not_exist) ... oktest_send_recv_different_interpreters (test.test_interpreters.test_channels.TestSendRecv.test_send_recv_different_interpreters) ... skipped 'broken (see BPO-...)'test_send_recv_different_threads (test.test_interpreters.test_channels.TestSendRecv.test_send_recv_different_threads) ... oktest_send_recv_main (test.test_interpreters.test_channels.TestSendRecv.test_send_recv_main) ... oktest_send_recv_nowait_different_interpreters (test.test_interpreters.test_channels.TestSendRecv.test_send_recv_nowait_different_interpreters) ... skipped 'broken (see BPO-...)'test_send_recv_nowait_main (test.test_interpreters.test_channels.TestSendRecv.test_send_recv_nowait_main) ... oktest_send_recv_nowait_main_with_default (test.test_interpreters.test_channels.TestSendRecv.test_send_recv_nowait_main_with_default) ... oktest_send_recv_nowait_same_interpreter (test.test_interpreters.test_channels.TestSendRecv.test_send_recv_nowait_same_interpreter) ... oktest_send_recv_same_interpreter (test.test_interpreters.test_channels.TestSendRecv.test_send_recv_same_interpreter) ... oktest_gh_109793 (test.test_interpreters.test_lifecycle.FinalizationTests.test_gh_109793) ... oktest_sys_path_0 (test.test_interpreters.test_lifecycle.StartupTests.test_sys_path_0) ... oktest_bind_release (test.test_interpreters.test_queues.LowLevelTests.test_bind_release) ... oktest_create_destroy (test.test_interpreters.test_queues.LowLevelTests.test_create_destroy) ... oktest_highlevel_reloaded (test.test_interpreters.test_queues.LowLevelTests.test_highlevel_reloaded) ... oktest_not_destroyed (test.test_interpreters.test_queues.LowLevelTests.test_not_destroyed) ... oktest_create (test.test_interpreters.test_queues.QueueTests.test_create) ... oktest_custom_id (test.test_interpreters.test_queues.QueueTests.test_custom_id) ... oktest_equality (test.test_interpreters.test_queues.QueueTests.test_equality) ... oktest_hashable (test.test_interpreters.test_queues.QueueTests.test_hashable) ... oktest_id_readonly (test.test_interpreters.test_queues.QueueTests.test_id_readonly) ... oktest_id_type (test.test_interpreters.test_queues.QueueTests.test_id_type) ... oktest_maxsize_readonly (test.test_interpreters.test_queues.QueueTests.test_maxsize_readonly) ... oktest_pickle (test.test_interpreters.test_queues.QueueTests.test_pickle) ... oktest_shareable (test.test_interpreters.test_queues.QueueTests.test_shareable) ... oktest_empty (test.test_interpreters.test_queues.TestQueueOps.test_empty) ... oktest_full (test.test_interpreters.test_queues.TestQueueOps.test_full) ... oktest_get_nowait (test.test_interpreters.test_queues.TestQueueOps.test_get_nowait) ... oktest_get_timeout (test.test_interpreters.test_queues.TestQueueOps.test_get_timeout) ... oktest_put_cleared_with_subinterpreter (test.test_interpreters.test_queues.TestQueueOps.test_put_cleared_with_subinterpreter) ... oktest_put_cleared_with_subinterpreter_mixed (test.test_interpreters.test_queues.TestQueueOps.test_put_cleared_with_subinterpreter_mixed) ... oktest_put_cleared_with_subinterpreter_multiple (test.test_interpreters.test_queues.TestQueueOps.test_put_cleared_with_subinterpreter_multiple) ... oktest_put_get_default_not_syncobj (test.test_interpreters.test_queues.TestQueueOps.test_put_get_default_not_syncobj) ... oktest_put_get_default_syncobj (test.test_interpreters.test_queues.TestQueueOps.test_put_get_default_syncobj) ... oktest_put_get_different_interpreters (test.test_interpreters.test_queues.TestQueueOps.test_put_get_different_interpreters) ... oktest_put_get_different_threads (test.test_interpreters.test_queues.TestQueueOps.test_put_get_different_threads) ... oktest_put_get_main (test.test_interpreters.test_queues.TestQueueOps.test_put_get_main) ... oktest_put_get_same_interpreter (test.test_interpreters.test_queues.TestQueueOps.test_put_get_same_interpreter) ... oktest_put_not_syncobj (test.test_interpreters.test_queues.TestQueueOps.test_put_not_syncobj) ... oktest_put_nowait (test.test_interpreters.test_queues.TestQueueOps.test_put_nowait) ... oktest_put_syncobj (test.test_interpreters.test_queues.TestQueueOps.test_put_syncobj) ... oktest_put_timeout (test.test_interpreters.test_queues.TestQueueOps.test_put_timeout) ... oktest_qsize (test.test_interpreters.test_queues.TestQueueOps.test_qsize) ... oktest_create_many_sequential (test.test_interpreters.test_stress.StressTests.test_create_many_sequential) ... oktest_create_many_threaded (test.test_interpreters.test_stress.StressTests.test_create_many_threaded) ... Warning -- Uncaught thread exception: InterpreterErrorException in thread Thread-30 (task):RuntimeError: Failed to import encodings moduleDuring handling of the above exception, another exception occurred:interpreters.InterpreterError: sub-interpreter creation failedDuring handling of the above exception, another exception occurred:Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/threading.py", line 1054, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/threading.py", line 996, in run self._target(*self._args, **self._kwargs) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_interpreters/test_stress.py", line 30, in task interp = interpreters.create() File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/interpreters/__init__.py", line 76, in create id = _interpreters.create(reqrefs=True)interpreters.InterpreterError: interpreter creation failedoktest_many_threads_running_interp_in_other_interp (test.test_interpreters.test_stress.StressTests.test_many_threads_running_interp_in_other_interp) ... ok----------------------------------------------------------------------Ran 152 tests in 34.741sOK (skipped=5)python: Objects/typeobject.c:297: void managed_static_type_state_clear(PyInterpreterState *, PyTypeObject *, int, int): Assertion `!_PyRuntime.types.managed_static.types[full_index].interp_count' failed.
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Metadata
Metadata
Assignees
Labels
Projects
Status
Todo