==> Building on ss ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/python-jupyter_client ./ PKGBUILD 1,190 100% 0.00kB/s 0:00:00 1,190 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=1/3) python-jupyter_client-7.4.3-1.log 250 100% 244.14kB/s 0:00:00 250 100% 244.14kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 972 bytes received 110 bytes 432.80 bytes/sec total size is 1,379 speedup is 1.27 ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l felix1 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... community downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix1]...done ==> Making package: python-jupyter_client 7.4.3-1 (Mon Oct 24 13:29:39 2022) ==> Retrieving sources...  -> Downloading jupyter_client-7.4.3.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 319k 100 319k 0 0 452k 0 --:--:-- --:--:-- --:--:-- 452k ==> Validating source files with sha256sums... jupyter_client-7.4.3.tar.gz ... Passed ==> Making package: python-jupyter_client 7.4.3-1 (Mon Oct 24 13:31:10 2022) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... warning: dependency cycle detected: warning: python-jupyter_client will be installed before its python-ipykernel dependency Package (33) New Version Net Change Download Size community/ipython 8.5.0-1 5.86 MiB core/libnsl 2.0.0-2 0.06 MiB community/libpgm 5.3.128-2 0.34 MiB extra/libsodium 1.0.18-2 0.38 MiB core/python 3.10.8-2 81.32 MiB community/python-asttokens 2.0.8-1 0.13 MiB community/python-backcall 0.2.0-6 0.06 MiB community/python-debugpy 1.6.3-1 13.90 MiB community/python-decorator 5.1.1-1 0.05 MiB community/python-executing 1.1.1-1 0.15 MiB 0.04 MiB community/python-jedi 0.18.1-1 5.60 MiB community/python-jupyter_client 7.4.2-1 1.16 MiB 0.20 MiB community/python-matplotlib-inline 0.1.3-1 0.04 MiB community/python-parso 1:0.8.3-1 0.74 MiB community/python-pexpect 4.8.0-6 0.31 MiB community/python-pickleshare 0.7.5-8 0.02 MiB community/python-prompt_toolkit 3.0.31-1 3.50 MiB community/python-psutil 5.9.2-1 2.09 MiB community/python-ptyprocess 0.7.0-4 0.06 MiB community/python-pure-eval 0.2.2-1 0.05 MiB community/python-pygments 2.13.0-1 11.59 MiB extra/python-six 1.16.0-6 0.09 MiB community/python-stack-data 0.5.1-1 0.17 MiB community/python-tornado 6.2.0-1 4.07 MiB community/python-wcwidth 0.2.5-6 0.47 MiB community/zeromq 4.3.4-2 5.59 MiB community/python-dateutil 2.8.2-4 0.82 MiB community/python-entrypoints 0.4-2 0.03 MiB community/python-ipykernel 6.15.3-1 1.01 MiB community/python-jupyter_core 4.11.2-1 0.44 MiB 0.08 MiB community/python-nest-asyncio 1.5.6-1 0.02 MiB community/python-pyzmq 24.0.1-1 1.61 MiB 0.41 MiB community/python-traitlets 5.5.0-1 1.20 MiB 0.20 MiB Total Download Size: 0.93 MiB Total Installed Size: 142.91 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-pyzmq-24.0.1-1-riscv64 downloading... python-jupyter_client-7.4.2-1-any downloading... python-traitlets-5.5.0-1-any downloading... python-jupyter_core-4.11.2-1-any downloading... python-executing-1.1.1-1-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libnsl... installing python... Optional dependencies for python python-setuptools python-pip sqlite [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter installing python-decorator... installing python-traitlets... installing python-tornado... Optional dependencies for python-tornado python-pycurl: for tornado.curl_httpclient python-twisted: for tornado.platform.twisted installing python-ptyprocess... installing python-pexpect... installing python-pickleshare... installing python-pygments... installing python-wcwidth... installing python-prompt_toolkit... installing python-parso... installing python-jedi... installing python-backcall... installing python-matplotlib-inline... Optional dependencies for python-matplotlib-inline python-matplotlib installing python-six... installing python-asttokens... installing python-executing... installing python-pure-eval... installing python-stack-data... installing ipython... Optional dependencies for ipython python-black: to auto format with Black yapf: to auto format with YAPF installing libsodium... installing libpgm... installing zeromq... installing python-pyzmq... installing python-jupyter_core... installing python-dateutil... installing python-entrypoints... installing python-nest-asyncio... installing python-jupyter_client... installing python-debugpy... installing python-psutil... installing python-ipykernel... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (18) New Version Net Change Download Size community/python-apipkg 3.0.1-1 0.04 MiB extra/python-attrs 22.1.0-1 0.43 MiB community/python-editables 0.3-2 0.02 MiB community/python-iniconfig 1.1.1-5 0.02 MiB extra/python-packaging 21.3-1 0.26 MiB community/python-pathspec 0.10.1-1 0.17 MiB extra/python-pep517 0.13.0-1 0.13 MiB community/python-pluggy 1.0.0-1 0.10 MiB community/python-py 1.11.0-1 0.71 MiB extra/python-pyparsing 3.0.9-1 0.96 MiB extra/python-tomli 2.0.1-1 0.08 MiB community/python-async_generator 1.10-7 0.16 MiB 0.04 MiB community/python-build 0.8.0-2 1.04 MiB community/python-hatchling 1.10.0-1 0.52 MiB community/python-installer 0.5.1-1 1.13 MiB community/python-pytest 7.1.3-1 2.62 MiB community/python-pytest-asyncio 0.20.0-1 0.07 MiB 0.02 MiB community/python-pytest-timeout 2.1.0-1 0.06 MiB 0.02 MiB Total Download Size: 0.08 MiB Total Installed Size: 8.52 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-async_generator-1.10-7-any downloading... python-pytest-asyncio-0.20.0-1-any downloading... python-pytest-timeout-2.1.0-1-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing python-tomli... installing python-pep517... installing python-pyparsing... Optional dependencies for python-pyparsing python-railroad-diagrams: for generating Railroad Diagrams python-jinja: for generating Railroad Diagrams installing python-packaging... installing python-build... Optional dependencies for python-build python-virtualenv: Use virtualenv for build isolation installing python-installer... installing python-pathspec... installing python-pluggy... installing python-editables... installing python-hatchling... installing python-attrs... installing python-iniconfig... installing python-apipkg... installing python-py... installing python-pytest... installing python-async_generator... installing python-pytest-asyncio... installing python-pytest-timeout... [?25h==> Retrieving sources...  -> Found jupyter_client-7.4.3.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting jupyter_client-7.4.3.tar.gz with bsdtar ==> Starting build()... * Getting dependencies for wheel... * Building wheel... Successfully built jupyter_client-7.4.3-py3-none-any.whl ==> Starting check()... /usr/lib/python3.10/site-packages/pytest_asyncio/plugin.py:175: DeprecationWarning: You're using an outdated version of pytest. Newer releases of pytest-asyncio will not be compatible with this pytest version. Please update pytest to version 7 or later. warnings.warn( ============================= test session starts ============================== platform linux -- Python 3.10.8, pytest-7.1.3, pluggy-1.0.0 -- /usr/bin/python cachedir: .pytest_cache rootdir: /build/python-jupyter_client/src/jupyter_client-7.4.3, configfile: pyproject.toml, testpaths: jupyter_client/tests/ plugins: asyncio-0.20.0, timeout-2.1.0 asyncio: mode=auto timeout: 300.0s timeout method: signal timeout func_only: False collecting ... collected 180 items jupyter_client/tests/test_adapter.py::test_default_version PASSED [ 0%] jupyter_client/tests/test_adapter.py::test_code_to_line_no_code PASSED [ 1%] jupyter_client/tests/test_adapter.py::V4toV5TestCase::test_complete_reply PASSED [ 1%] jupyter_client/tests/test_adapter.py::V4toV5TestCase::test_complete_request PASSED [ 2%] jupyter_client/tests/test_adapter.py::V4toV5TestCase::test_display_data PASSED [ 2%] jupyter_client/tests/test_adapter.py::V4toV5TestCase::test_execute_reply PASSED [ 3%] jupyter_client/tests/test_adapter.py::V4toV5TestCase::test_execute_request PASSED [ 3%] jupyter_client/tests/test_adapter.py::V4toV5TestCase::test_input_request PASSED [ 4%] jupyter_client/tests/test_adapter.py::V4toV5TestCase::test_kernel_info_reply PASSED [ 5%] jupyter_client/tests/test_adapter.py::V4toV5TestCase::test_no_adapt PASSED [ 5%] jupyter_client/tests/test_adapter.py::V4toV5TestCase::test_object_info_reply PASSED [ 6%] jupyter_client/tests/test_adapter.py::V4toV5TestCase::test_object_info_reply_not_found PASSED [ 6%] jupyter_client/tests/test_adapter.py::V4toV5TestCase::test_object_info_request PASSED [ 7%] jupyter_client/tests/test_adapter.py::V4toV5TestCase::test_rename_type PASSED [ 7%] jupyter_client/tests/test_adapter.py::V4toV5TestCase::test_same_version PASSED [ 8%] jupyter_client/tests/test_adapter.py::V5toV4TestCase::test_complete_reply PASSED [ 8%] jupyter_client/tests/test_adapter.py::V5toV4TestCase::test_complete_request PASSED [ 9%] jupyter_client/tests/test_adapter.py::V5toV4TestCase::test_display_data PASSED [ 10%] jupyter_client/tests/test_adapter.py::V5toV4TestCase::test_execute_request PASSED [ 10%] jupyter_client/tests/test_adapter.py::V5toV4TestCase::test_input_request PASSED [ 11%] jupyter_client/tests/test_adapter.py::V5toV4TestCase::test_inspect_reply PASSED [ 11%] jupyter_client/tests/test_adapter.py::V5toV4TestCase::test_inspect_request PASSED [ 12%] jupyter_client/tests/test_adapter.py::V5toV4TestCase::test_inspect_request_token PASSED [ 12%] jupyter_client/tests/test_adapter.py::V5toV4TestCase::test_kernel_info_reply PASSED [ 13%] jupyter_client/tests/test_adapter.py::V5toV4TestCase::test_no_adapt PASSED [ 13%] jupyter_client/tests/test_adapter.py::V5toV4TestCase::test_rename_type PASSED [ 14%] jupyter_client/tests/test_adapter.py::V5toV4TestCase::test_same_version PASSED [ 15%] jupyter_client/tests/test_client.py::TestKernelClient::test_comm_info PASSED [ 15%] jupyter_client/tests/test_client.py::TestKernelClient::test_complete PASSED [ 16%] jupyter_client/tests/test_client.py::TestKernelClient::test_execute_interactive PASSED [ 16%] jupyter_client/tests/test_client.py::TestKernelClient::test_history PASSED [ 17%] jupyter_client/tests/test_client.py::TestKernelClient::test_inspect PASSED [ 17%] jupyter_client/tests/test_client.py::TestKernelClient::test_kernel_info PASSED [ 18%] jupyter_client/tests/test_client.py::TestKernelClient::test_shutdown PASSED [ 18%] jupyter_client/tests/test_client.py::TestKernelClient::test_shutdown_id PASSED [ 19%] jupyter_client/tests/test_connect.py::test_write_connection_file PASSED [ 20%] jupyter_client/tests/test_connect.py::test_load_connection_file_session PASSED [ 20%] jupyter_client/tests/test_connect.py::test_load_connection_file_session_with_kn PASSED [ 21%] jupyter_client/tests/test_connect.py::test_app_load_connection_file PASSED [ 21%] jupyter_client/tests/test_connect.py::test_load_connection_info PASSED [ 22%] jupyter_client/tests/test_connect.py::test_find_connection_file PASSED [ 22%] jupyter_client/tests/test_connect.py::test_find_connection_file_local PASSED [ 23%] jupyter_client/tests/test_connect.py::test_find_connection_file_relative PASSED [ 23%] jupyter_client/tests/test_connect.py::test_find_connection_file_abspath PASSED [ 24%] jupyter_client/tests/test_connect.py::test_mixin_record_random_ports PASSED [ 25%] jupyter_client/tests/test_connect.py::test_mixin_cleanup_random_ports PASSED [ 25%] jupyter_client/tests/test_jsonutil.py::test_extract_date_from_naive PASSED [ 26%] jupyter_client/tests/test_jsonutil.py::test_extract_dates PASSED [ 26%] jupyter_client/tests/test_jsonutil.py::test_parse_ms_precision PASSED [ 27%] jupyter_client/tests/test_jsonutil.py::test_json_default_date PASSED [ 27%] jupyter_client/tests/test_jsonutil.py::test_json_default PASSED [ 28%] jupyter_client/tests/test_kernelapp.py::test_kernelapp_lifecycle PASSED [ 28%] jupyter_client/tests/test_kernelmanager.py::TestKernelManagerShutDownGracefully::test_signal_kernel_subprocesses[signaltest-_install_kernel-_ShutdownStatus.ShutdownRequest] PASSED [ 29%] jupyter_client/tests/test_kernelmanager.py::TestKernelManagerShutDownGracefully::test_signal_kernel_subprocesses[signaltest-no-shutdown-install_kernel_dont_shutdown-_ShutdownStatus.SigtermRequest] PASSED [ 30%] jupyter_client/tests/test_kernelmanager.py::TestKernelManagerShutDownGracefully::test_signal_kernel_subprocesses[signaltest-no-terminate-install_kernel_dont_terminate-_ShutdownStatus.SigkillRequest] PASSED [ 30%] jupyter_client/tests/test_kernelmanager.py::TestKernelManagerShutDownGracefully::test_async_signal_kernel_subprocesses[signaltest-_install_kernel-_ShutdownStatus.ShutdownRequest] PASSED [ 31%] jupyter_client/tests/test_kernelmanager.py::TestKernelManagerShutDownGracefully::test_async_signal_kernel_subprocesses[signaltest-no-shutdown-install_kernel_dont_shutdown-_ShutdownStatus.SigtermRequest] PASSED [ 31%] jupyter_client/tests/test_kernelmanager.py::TestKernelManagerShutDownGracefully::test_async_signal_kernel_subprocesses[signaltest-no-terminate-install_kernel_dont_terminate-_ShutdownStatus.SigkillRequest] PASSED [ 32%] jupyter_client/tests/test_kernelmanager.py::TestKernelManager::test_lifecycle[tcp] PASSED [ 32%] jupyter_client/tests/test_kernelmanager.py::TestKernelManager::test_lifecycle[ipc] PASSED [ 33%] jupyter_client/tests/test_kernelmanager.py::TestKernelManager::test_get_connect_info[tcp] PASSED [ 33%] jupyter_client/tests/test_kernelmanager.py::TestKernelManager::test_get_connect_info[ipc] PASSED [ 34%] jupyter_client/tests/test_kernelmanager.py::TestKernelManager::test_signal_kernel_subprocesses PASSED [ 35%] jupyter_client/tests/test_kernelmanager.py::TestKernelManager::test_start_new_kernel PASSED [ 35%] jupyter_client/tests/test_kernelmanager.py::TestKernelManager::test_templated_kspec_env PASSED [ 36%] jupyter_client/tests/test_kernelmanager.py::TestKernelManager::test_cleanup_context[tcp] PASSED [ 36%] jupyter_client/tests/test_kernelmanager.py::TestKernelManager::test_cleanup_context[ipc] PASSED [ 37%] jupyter_client/tests/test_kernelmanager.py::TestKernelManager::test_no_cleanup_shared_context PASSED [ 37%] jupyter_client/tests/test_kernelmanager.py::TestKernelManager::test_subclass_callables[tcp] PASSED [ 38%] jupyter_client/tests/test_kernelmanager.py::TestKernelManager::test_subclass_callables[ipc] PASSED [ 38%] jupyter_client/tests/test_kernelmanager.py::TestParallel::test_start_sequence_kernels[tcp] FAILED [ 39%] jupyter_client/tests/test_kernelmanager.py::TestParallel::test_start_sequence_kernels[ipc] FAILED [ 40%] jupyter_client/tests/test_kernelmanager.py::TestParallel::test_start_parallel_thread_kernels[tcp] FAILED [ 40%] jupyter_client/tests/test_kernelmanager.py::TestParallel::test_start_parallel_thread_kernels[ipc] SKIPPED (IPC transport is currently not working for this test!) [ 41%] jupyter_client/tests/test_kernelmanager.py::TestParallel::test_start_parallel_process_kernels[tcp] FAILED [ 41%] jupyter_client/tests/test_kernelmanager.py::TestParallel::test_start_parallel_process_kernels[ipc] SKIPPED (IPC transport is currently not working for this test!) [ 42%] jupyter_client/tests/test_kernelmanager.py::TestParallel::test_start_sequence_process_kernels[tcp] FAILED [ 42%] jupyter_client/tests/test_kernelmanager.py::TestParallel::test_start_sequence_process_kernels[ipc] SKIPPED (IPC transport is currently not working for this test!) [ 43%] jupyter_client/tests/test_kernelmanager.py::TestAsyncKernelManager::test_lifecycle[AsyncKernelManager-tcp] ERROR [ 43%] jupyter_client/tests/test_kernelmanager.py::TestAsyncKernelManager::test_lifecycle[AsyncKernelManager-ipc] PASSED [ 44%] jupyter_client/tests/test_kernelmanager.py::TestAsyncKernelManager::test_lifecycle[AsyncKMSubclass-tcp] PASSED [ 45%] jupyter_client/tests/test_kernelmanager.py::TestAsyncKernelManager::test_lifecycle[AsyncKMSubclass-ipc] PASSED [ 45%] jupyter_client/tests/test_kernelmanager.py::TestAsyncKernelManager::test_get_connect_info[AsyncKernelManager-tcp] PASSED [ 46%] jupyter_client/tests/test_kernelmanager.py::TestAsyncKernelManager::test_get_connect_info[AsyncKernelManager-ipc] PASSED [ 46%] jupyter_client/tests/test_kernelmanager.py::TestAsyncKernelManager::test_get_connect_info[AsyncKMSubclass-tcp] PASSED [ 47%] jupyter_client/tests/test_kernelmanager.py::TestAsyncKernelManager::test_get_connect_info[AsyncKMSubclass-ipc] PASSED [ 47%] jupyter_client/tests/test_kernelmanager.py::TestAsyncKernelManager::test_signal_kernel_subprocesses ERROR [ 48%] jupyter_client/tests/test_kernelmanager.py::TestAsyncKernelManager::test_start_new_async_kernel ERROR [ 48%] jupyter_client/tests/test_kernelmanager.py::TestAsyncKernelManager::test_subclass_callables[tcp] PASSED [ 49%] jupyter_client/tests/test_kernelmanager.py::TestAsyncKernelManager::test_subclass_callables[ipc] PASSED [ 50%] jupyter_client/tests/test_kernelspec.py::KernelSpecTests::test_allowed_kernel_names PASSED [ 50%] jupyter_client/tests/test_kernelspec.py::KernelSpecTests::test_cant_install_kernel_spec PASSED [ 51%] jupyter_client/tests/test_kernelspec.py::KernelSpecTests::test_deprecated_whitelist PASSED [ 51%] jupyter_client/tests/test_kernelspec.py::KernelSpecTests::test_find_all_specs PASSED [ 52%] jupyter_client/tests/test_kernelspec.py::KernelSpecTests::test_find_kernel_specs PASSED [ 52%] jupyter_client/tests/test_kernelspec.py::KernelSpecTests::test_get_kernel_spec PASSED [ 53%] jupyter_client/tests/test_kernelspec.py::KernelSpecTests::test_install_kernel_spec PASSED [ 53%] jupyter_client/tests/test_kernelspec.py::KernelSpecTests::test_install_kernel_spec_prefix PASSED [ 54%] jupyter_client/tests/test_kernelspec.py::KernelSpecTests::test_kernel_spec_priority PASSED [ 55%] jupyter_client/tests/test_kernelspec.py::KernelSpecTests::test_remove_kernel_spec PASSED [ 55%] jupyter_client/tests/test_kernelspec.py::KernelSpecTests::test_remove_kernel_spec_app PASSED [ 56%] jupyter_client/tests/test_kernelspec.py::KernelSpecTests::test_subclass PASSED [ 56%] jupyter_client/tests/test_kernelspec.py::KernelSpecTests::test_validate_kernel_name PASSED [ 57%] jupyter_client/tests/test_localinterfaces.py::test_load_ips PASSED [ 57%] jupyter_client/tests/test_manager.py::test_connection_file_real_path PASSED [ 58%] jupyter_client/tests/test_multikernelmanager.py::TestKernelManager::test_ipc_cinfo PASSED [ 58%] jupyter_client/tests/test_multikernelmanager.py::TestKernelManager::test_ipc_lifecycle PASSED [ 59%] jupyter_client/tests/test_multikernelmanager.py::TestKernelManager::test_shutdown_all PASSED [ 60%] jupyter_client/tests/test_multikernelmanager.py::TestKernelManager::test_start_parallel_process_kernels PASSED [ 60%] jupyter_client/tests/test_multikernelmanager.py::TestKernelManager::test_start_parallel_thread_kernels PASSED [ 61%] jupyter_client/tests/test_multikernelmanager.py::TestKernelManager::test_start_sequence_ipc_kernels PASSED [ 61%] jupyter_client/tests/test_multikernelmanager.py::TestKernelManager::test_start_sequence_tcp_kernels PASSED [ 62%] jupyter_client/tests/test_multikernelmanager.py::TestKernelManager::test_subclass_callables PASSED [ 62%] jupyter_client/tests/test_multikernelmanager.py::TestKernelManager::test_tcp_cinfo PASSED [ 63%] jupyter_client/tests/test_multikernelmanager.py::TestKernelManager::test_tcp_lifecycle PASSED [ 63%] jupyter_client/tests/test_multikernelmanager.py::TestKernelManager::test_tcp_lifecycle_with_kernel_id PASSED [ 64%] jupyter_client/tests/test_multikernelmanager.py::TestAsyncKernelManager::test_bad_kernelspec PASSED [ 65%] jupyter_client/tests/test_multikernelmanager.py::TestAsyncKernelManager::test_bad_kernelspec_pending PASSED [ 65%] jupyter_client/tests/test_multikernelmanager.py::TestAsyncKernelManager::test_ipc_cinfo PASSED [ 66%] jupyter_client/tests/test_multikernelmanager.py::TestAsyncKernelManager::test_ipc_lifecycle PASSED [ 66%] jupyter_client/tests/test_multikernelmanager.py::TestAsyncKernelManager::test_shutdown_all PASSED [ 67%] jupyter_client/tests/test_multikernelmanager.py::TestAsyncKernelManager::test_shutdown_all_while_starting PASSED [ 67%] jupyter_client/tests/test_multikernelmanager.py::TestAsyncKernelManager::test_start_parallel_process_kernels PASSED [ 68%] jupyter_client/tests/test_multikernelmanager.py::TestAsyncKernelManager::test_start_parallel_thread_kernels PASSED [ 68%] jupyter_client/tests/test_multikernelmanager.py::TestAsyncKernelManager::test_start_sequence_ipc_kernels PASSED [ 69%] jupyter_client/tests/test_multikernelmanager.py::TestAsyncKernelManager::test_start_sequence_tcp_kernels PASSED [ 70%] jupyter_client/tests/test_multikernelmanager.py::TestAsyncKernelManager::test_subclass_callables PASSED [ 70%] jupyter_client/tests/test_multikernelmanager.py::TestAsyncKernelManager::test_tcp_cinfo PASSED [ 71%] jupyter_client/tests/test_multikernelmanager.py::TestAsyncKernelManager::test_tcp_lifecycle PASSED [ 71%] jupyter_client/tests/test_multikernelmanager.py::TestAsyncKernelManager::test_tcp_lifecycle_with_kernel_id PASSED [ 72%] jupyter_client/tests/test_multikernelmanager.py::TestAsyncKernelManager::test_use_after_shutdown_all PASSED [ 72%] jupyter_client/tests/test_multikernelmanager.py::TestAsyncKernelManager::test_use_pending_kernels PASSED [ 73%] jupyter_client/tests/test_multikernelmanager.py::TestAsyncKernelManager::test_use_pending_kernels_early_interrupt PASSED [ 73%] jupyter_client/tests/test_multikernelmanager.py::TestAsyncKernelManager::test_use_pending_kernels_early_restart PASSED [ 74%] jupyter_client/tests/test_multikernelmanager.py::TestAsyncKernelManager::test_use_pending_kernels_early_shutdown PASSED [ 75%] jupyter_client/tests/test_provisioning.py::TestDiscovery::test_find_all_specs PASSED [ 75%] jupyter_client/tests/test_provisioning.py::TestDiscovery::test_get_missing PASSED [ 76%] jupyter_client/tests/test_provisioning.py::TestDiscovery::test_get_new PASSED [ 76%] jupyter_client/tests/test_provisioning.py::TestRuntime::test_existing[no_provisioner] PASSED [ 77%] jupyter_client/tests/test_provisioning.py::TestRuntime::test_existing[default_provisioner] PASSED [ 77%] jupyter_client/tests/test_provisioning.py::TestRuntime::test_existing[missing_provisioner] PASSED [ 78%] jupyter_client/tests/test_provisioning.py::TestRuntime::test_existing[custom_provisioner] PASSED [ 78%] jupyter_client/tests/test_provisioning.py::TestRuntime::test_existing[subclassed_provisioner] PASSED [ 79%] jupyter_client/tests/test_provisioning.py::TestRuntime::test_new PASSED [ 80%] jupyter_client/tests/test_provisioning.py::TestRuntime::test_custom_lifecycle PASSED [ 80%] jupyter_client/tests/test_provisioning.py::TestRuntime::test_default_provisioner_config PASSED [ 81%] jupyter_client/tests/test_public_api.py::test_kms PASSED [ 81%] jupyter_client/tests/test_public_api.py::test_kcs PASSED [ 82%] jupyter_client/tests/test_public_api.py::test_launcher PASSED [ 82%] jupyter_client/tests/test_public_api.py::test_connect PASSED [ 83%] jupyter_client/tests/test_restarter.py::test_restart_check[tcp] PASSED [ 83%] jupyter_client/tests/test_restarter.py::test_restart_check[ipc] PASSED [ 84%] jupyter_client/tests/test_restarter.py::test_restarter_gives_up[tcp] FAILED [ 85%] jupyter_client/tests/test_restarter.py::test_restarter_gives_up[ipc] FAILED [ 85%] jupyter_client/tests/test_restarter.py::test_async_restart_check[tcp] FAILED [ 86%] jupyter_client/tests/test_restarter.py::test_async_restart_check[ipc] PASSED [ 86%] jupyter_client/tests/test_restarter.py::test_async_restarter_gives_up[tcp] PASSED [ 87%] jupyter_client/tests/test_restarter.py::test_async_restarter_gives_up[ipc] PASSED [ 87%] jupyter_client/tests/test_session.py::TestSession::test_args PASSED [ 88%] jupyter_client/tests/test_session.py::TestSession::test_bad_pack PASSED [ 88%] jupyter_client/tests/test_session.py::TestSession::test_bad_packer PASSED [ 89%] jupyter_client/tests/test_session.py::TestSession::test_bad_roundtrip PASSED [ 90%] jupyter_client/tests/test_session.py::TestSession::test_bad_unpack PASSED [ 90%] jupyter_client/tests/test_session.py::TestSession::test_bad_unpacker PASSED [ 91%] jupyter_client/tests/test_session.py::TestSession::test_clone PASSED [ 91%] jupyter_client/tests/test_session.py::TestSession::test_cull_digest_history PASSED [ 92%] jupyter_client/tests/test_session.py::TestSession::test_datetimes PASSED [ 92%] jupyter_client/tests/test_session.py::TestSession::test_datetimes_msgpack SKIPPED (could not import 'msgpack': No module named 'msgpack') [ 93%] jupyter_client/tests/test_session.py::TestSession::test_datetimes_pickle PASSED [ 93%] jupyter_client/tests/test_session.py::TestSession::test_default_secure PASSED [ 94%] jupyter_client/tests/test_session.py::TestSession::test_feed_identities PASSED [ 95%] jupyter_client/tests/test_session.py::TestSession::test_msg PASSED [ 95%] jupyter_client/tests/test_session.py::TestSession::test_send PASSED [ 96%] jupyter_client/tests/test_session.py::TestSession::test_send_raw PASSED [ 96%] jupyter_client/tests/test_session.py::TestSession::test_serialize PASSED [ 97%] jupyter_client/tests/test_session.py::TestSession::test_session_id PASSED [ 97%] jupyter_client/tests/test_session.py::TestSession::test_tracking PASSED [ 98%] jupyter_client/tests/test_session.py::TestSession::test_unique_msg_ids PASSED [ 98%] jupyter_client/tests/test_session.py::TestSession::test_zero_digest_history PASSED [ 99%] jupyter_client/tests/test_ssh.py::test_random_ports PASSED [100%] ==================================== ERRORS ==================================== _ ERROR at setup of TestAsyncKernelManager.test_lifecycle[AsyncKernelManager-tcp] _ cls = func = . at 0xffffff8ebc4ee0> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: "Callable[[], TResult]", when: "Literal['collect', 'setup', 'call', 'teardown']", reraise: Optional[ Union[Type[BaseException], Tuple[Type[BaseException], ...]] ] = None, ) -> "CallInfo[TResult]": """Call func, wrapping the result in a CallInfo.   :param func:  The function to call. Called without arguments.  :param when:  The phase in which the function is called.  :param reraise:  Exception or exceptions that shall propagate if raised by the  function, instead of being wrapped in the CallInfo.  """ excinfo = None start = timing.time() precise_start = timing.perf_counter() try: > result: Optional[TResult] = func() /usr/lib/python3.10/site-packages/_pytest/runner.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.10/site-packages/_pytest/runner.py:259: in lambda: ihook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3.10/site-packages/pluggy/_hooks.py:265: in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) /usr/lib/python3.10/site-packages/pluggy/_manager.py:80: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3.10/site-packages/_pytest/unraisableexception.py:83: in pytest_runtest_setup yield from unraisable_exception_runtest_hook() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def unraisable_exception_runtest_hook() -> Generator[None, None, None]: with catch_unraisable_exception() as cm: yield if cm.unraisable: if cm.unraisable.err_msg is not None: err_msg = cm.unraisable.err_msg else: err_msg = "Exception ignored in" msg = f"{err_msg}: {cm.unraisable.object!r}\n\n" msg += "".join( traceback.format_exception( cm.unraisable.exc_type, cm.unraisable.exc_value, cm.unraisable.exc_traceback, ) ) > warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) E pytest.PytestUnraisableExceptionWarning: Exception ignored in:  E  E Traceback (most recent call last): E File "/usr/lib/python3.10/site-packages/zmq/sugar/socket.py", line 115, in __del__ E warn( E ResourceWarning: Unclosed socket  /usr/lib/python3.10/site-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning ___ ERROR at setup of TestAsyncKernelManager.test_signal_kernel_subprocesses ___ event_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> request = > kwargs = {} setup = ._asyncgen_fixture_wrapper..setup at 0xffffff8c87c4c0> finalizer = ._asyncgen_fixture_wrapper..finalizer at 0xffffff8c87c310> @functools.wraps(func) def _asyncgen_fixture_wrapper( event_loop: asyncio.AbstractEventLoop, request: SubRequest, **kwargs: Any ) -> _R: gen_obj = func(**_add_kwargs(func, kwargs, event_loop, request)) async def setup() -> _R: res = await gen_obj.__anext__() return res def finalizer() -> None: """Yield again, to finalize.""" async def async_finalizer() -> None: try: await gen_obj.__anext__() except StopAsyncIteration: pass else: msg = "Async generator fixture didn't stop." msg += "Yield only once." raise ValueError(msg) event_loop.run_until_complete(async_finalizer()) > result = event_loop.run_until_complete(setup()) /usr/lib/python3.10/site-packages/pytest_asyncio/plugin.py:278: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.10/site-packages/nest_asyncio.py:84: in run_until_complete self._run_once() /usr/lib/python3.10/site-packages/nest_asyncio.py:107: in _run_once event_list = self._selector.select(timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , timeout = 1.0 def select(self, timeout=None): if timeout is None: timeout = -1 elif timeout <= 0: timeout = 0 else: # epoll_wait() has a resolution of 1 millisecond, round away # from zero to wait *at least* timeout seconds. timeout = math.ceil(timeout * 1e3) * 1e-3 # epoll_wait() expects `maxevents` to be greater than zero; # we want to make sure that `select()` can be called when no # FD is registered. max_ev = max(len(self._fd_to_key), 1) ready = [] try: > fd_event_list = self._selector.poll(timeout, max_ev) E Failed: Timeout >10.0s /usr/lib/python3.10/selectors.py:469: Failed ---------------------------- Captured stderr setup ----------------------------- +++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++ ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-33 (72057591479394688) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib/python3.10/threading.py", line 973, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 84, in run_until_complete self._run_once() File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 120, in _run_once handle._run() File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 196, in step step_orig(task, exc) File "/usr/lib/python3.10/asyncio/tasks.py", line 232, in __step result = coro.send(None) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib/python3.10/threading.py", line 607, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.10/threading.py", line 324, in wait gotit = waiter.acquire(True, timeout) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-24 (72057591487787392) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib/python3.10/threading.py", line 973, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 84, in run_until_complete self._run_once() File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 120, in _run_once handle._run() File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 196, in step step_orig(task, exc) File "/usr/lib/python3.10/asyncio/tasks.py", line 232, in __step result = coro.send(None) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib/python3.10/threading.py", line 607, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.10/threading.py", line 324, in wait gotit = waiter.acquire(True, timeout) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-22 (72057592125874560) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib/python3.10/threading.py", line 973, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 84, in run_until_complete self._run_once() File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 120, in _run_once handle._run() File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 196, in step step_orig(task, exc) File "/usr/lib/python3.10/asyncio/tasks.py", line 232, in __step result = coro.send(None) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib/python3.10/threading.py", line 607, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.10/threading.py", line 324, in wait gotit = waiter.acquire(True, timeout) +++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++ _____ ERROR at setup of TestAsyncKernelManager.test_start_new_async_kernel _____ event_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> request = > kwargs = {} setup = ._asyncgen_fixture_wrapper..setup at 0xffffff8c87dbd0> finalizer = ._asyncgen_fixture_wrapper..finalizer at 0xffffff8c87dcf0> @functools.wraps(func) def _asyncgen_fixture_wrapper( event_loop: asyncio.AbstractEventLoop, request: SubRequest, **kwargs: Any ) -> _R: gen_obj = func(**_add_kwargs(func, kwargs, event_loop, request)) async def setup() -> _R: res = await gen_obj.__anext__() return res def finalizer() -> None: """Yield again, to finalize.""" async def async_finalizer() -> None: try: await gen_obj.__anext__() except StopAsyncIteration: pass else: msg = "Async generator fixture didn't stop." msg += "Yield only once." raise ValueError(msg) event_loop.run_until_complete(async_finalizer()) > result = event_loop.run_until_complete(setup()) /usr/lib/python3.10/site-packages/pytest_asyncio/plugin.py:278: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.10/site-packages/nest_asyncio.py:84: in run_until_complete self._run_once() /usr/lib/python3.10/site-packages/nest_asyncio.py:107: in _run_once event_list = self._selector.select(timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , timeout = 1.0 def select(self, timeout=None): if timeout is None: timeout = -1 elif timeout <= 0: timeout = 0 else: # epoll_wait() has a resolution of 1 millisecond, round away # from zero to wait *at least* timeout seconds. timeout = math.ceil(timeout * 1e3) * 1e-3 # epoll_wait() expects `maxevents` to be greater than zero; # we want to make sure that `select()` can be called when no # FD is registered. max_ev = max(len(self._fd_to_key), 1) ready = [] try: > fd_event_list = self._selector.poll(timeout, max_ev) E Failed: Timeout >10.0s /usr/lib/python3.10/selectors.py:469: Failed ---------------------------- Captured stderr setup ----------------------------- /usr/lib/python3.10/site-packages/IPython/paths.py:70: UserWarning: IPython parent '/tmp/tmpilyfiro5' is not a writable location, using a temp directory. warn("IPython parent '{0}' is not a writable location," +++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++ ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-34 (72057591009632640) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib/python3.10/threading.py", line 973, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 84, in run_until_complete self._run_once() File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 120, in _run_once handle._run() File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 196, in step step_orig(task, exc) File "/usr/lib/python3.10/asyncio/tasks.py", line 232, in __step result = coro.send(None) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib/python3.10/threading.py", line 607, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.10/threading.py", line 324, in wait gotit = waiter.acquire(True, timeout) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-33 (72057591479394688) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib/python3.10/threading.py", line 973, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 84, in run_until_complete self._run_once() File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 120, in _run_once handle._run() File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 196, in step step_orig(task, exc) File "/usr/lib/python3.10/asyncio/tasks.py", line 232, in __step result = coro.send(None) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib/python3.10/threading.py", line 607, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.10/threading.py", line 324, in wait gotit = waiter.acquire(True, timeout) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-24 (72057591487787392) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib/python3.10/threading.py", line 973, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 84, in run_until_complete self._run_once() File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 120, in _run_once handle._run() File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 196, in step step_orig(task, exc) File "/usr/lib/python3.10/asyncio/tasks.py", line 232, in __step result = coro.send(None) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib/python3.10/threading.py", line 607, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.10/threading.py", line 324, in wait gotit = waiter.acquire(True, timeout) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-22 (72057592125874560) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib/python3.10/threading.py", line 973, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 84, in run_until_complete self._run_once() File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 120, in _run_once handle._run() File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 196, in step step_orig(task, exc) File "/usr/lib/python3.10/asyncio/tasks.py", line 232, in __step result = coro.send(None) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib/python3.10/threading.py", line 607, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.10/threading.py", line 324, in wait gotit = waiter.acquire(True, timeout) +++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++ =================================== FAILURES =================================== ________________ TestParallel.test_start_sequence_kernels[tcp] _________________ self = config = {'KernelManager': {'transport': 'tcp'}}, install_kernel = None @pytest.mark.timeout(TIMEOUT) def test_start_sequence_kernels(self, config, install_kernel): """Ensure that a sequence of kernel startups doesn't break anything.""" self._run_signaltest_lifecycle(config) > self._run_signaltest_lifecycle(config) jupyter_client/tests/test_kernelmanager.py:363: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jupyter_client/tests/test_kernelmanager.py:422: in _run_signaltest_lifecycle kc = self._prepare_kernel(km, stdout=PIPE, stderr=PIPE) jupyter_client/tests/test_kernelmanager.py:412: in _prepare_kernel kc.wait_for_ready(timeout=startup_timeout) jupyter_client/utils.py:30: in wrapped raise e jupyter_client/utils.py:27: in wrapped return loop.run_until_complete(future) /usr/lib/python3.10/site-packages/nest_asyncio.py:84: in run_until_complete self._run_once() /usr/lib/python3.10/site-packages/nest_asyncio.py:107: in _run_once event_list = self._selector.select(timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , timeout = 1.0 def select(self, timeout=None): if timeout is None: timeout = -1 elif timeout <= 0: timeout = 0 else: # epoll_wait() has a resolution of 1 millisecond, round away # from zero to wait *at least* timeout seconds. timeout = math.ceil(timeout * 1e3) * 1e-3 # epoll_wait() expects `maxevents` to be greater than zero; # we want to make sure that `select()` can be called when no # FD is registered. max_ev = max(len(self._fd_to_key), 1) ready = [] try: > fd_event_list = self._selector.poll(timeout, max_ev) E Failed: Timeout >30.0s /usr/lib/python3.10/selectors.py:469: Failed ----------------------------- Captured stderr call ----------------------------- +++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++ ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-22 (72057592125874560) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib/python3.10/threading.py", line 973, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 84, in run_until_complete self._run_once() File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 120, in _run_once handle._run() File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 196, in step step_orig(task, exc) File "/usr/lib/python3.10/asyncio/tasks.py", line 232, in __step result = coro.send(None) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib/python3.10/threading.py", line 607, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.10/threading.py", line 324, in wait gotit = waiter.acquire(True, timeout) +++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++ ________________ TestParallel.test_start_sequence_kernels[ipc] _________________ self = config = {'KernelManager': {'transport': 'ipc', 'ip': 'test'}} install_kernel = None @pytest.mark.timeout(TIMEOUT) def test_start_sequence_kernels(self, config, install_kernel): """Ensure that a sequence of kernel startups doesn't break anything.""" self._run_signaltest_lifecycle(config) > self._run_signaltest_lifecycle(config) jupyter_client/tests/test_kernelmanager.py:363: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jupyter_client/tests/test_kernelmanager.py:422: in _run_signaltest_lifecycle kc = self._prepare_kernel(km, stdout=PIPE, stderr=PIPE) jupyter_client/tests/test_kernelmanager.py:412: in _prepare_kernel kc.wait_for_ready(timeout=startup_timeout) jupyter_client/utils.py:30: in wrapped raise e jupyter_client/utils.py:27: in wrapped return loop.run_until_complete(future) /usr/lib/python3.10/site-packages/nest_asyncio.py:84: in run_until_complete self._run_once() /usr/lib/python3.10/site-packages/nest_asyncio.py:107: in _run_once event_list = self._selector.select(timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , timeout = 1.0 def select(self, timeout=None): if timeout is None: timeout = -1 elif timeout <= 0: timeout = 0 else: # epoll_wait() has a resolution of 1 millisecond, round away # from zero to wait *at least* timeout seconds. timeout = math.ceil(timeout * 1e3) * 1e-3 # epoll_wait() expects `maxevents` to be greater than zero; # we want to make sure that `select()` can be called when no # FD is registered. max_ev = max(len(self._fd_to_key), 1) ready = [] try: > fd_event_list = self._selector.poll(timeout, max_ev) E Failed: Timeout >30.0s /usr/lib/python3.10/selectors.py:469: Failed ----------------------------- Captured stderr call ----------------------------- +++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++ ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-24 (72057591487787392) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib/python3.10/threading.py", line 973, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 84, in run_until_complete self._run_once() File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 120, in _run_once handle._run() File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 196, in step step_orig(task, exc) File "/usr/lib/python3.10/asyncio/tasks.py", line 232, in __step result = coro.send(None) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib/python3.10/threading.py", line 607, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.10/threading.py", line 324, in wait gotit = waiter.acquire(True, timeout) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-22 (72057592125874560) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib/python3.10/threading.py", line 973, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 84, in run_until_complete self._run_once() File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 120, in _run_once handle._run() File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 196, in step step_orig(task, exc) File "/usr/lib/python3.10/asyncio/tasks.py", line 232, in __step result = coro.send(None) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib/python3.10/threading.py", line 607, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.10/threading.py", line 324, in wait gotit = waiter.acquire(True, timeout) +++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++ _____________ TestParallel.test_start_parallel_thread_kernels[tcp] _____________ self = config = {'KernelManager': {'transport': 'tcp'}}, install_kernel = None @pytest.mark.timeout(TIMEOUT + 10) def test_start_parallel_thread_kernels(self, config, install_kernel): if config.KernelManager.transport == "ipc": # FIXME pytest.skip("IPC transport is currently not working for this test!") self._run_signaltest_lifecycle(config) with concurrent.futures.ThreadPoolExecutor(max_workers=2) as thread_executor: future1 = thread_executor.submit(self._run_signaltest_lifecycle, config) future2 = thread_executor.submit(self._run_signaltest_lifecycle, config) > future1.result() jupyter_client/tests/test_kernelmanager.py:375: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.10/concurrent/futures/_base.py:453: in result self._condition.wait(timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , 0)> timeout = None def wait(self, timeout=None): """Wait until notified or until a timeout occurs.   If the calling thread has not acquired the lock when this method is  called, a RuntimeError is raised.   This method releases the underlying lock, and then blocks until it is  awakened by a notify() or notify_all() call for the same condition  variable in another thread, or until the optional timeout occurs. Once  awakened or timed out, it re-acquires the lock and returns.   When the timeout argument is present and not None, it should be a  floating point number specifying a timeout for the operation in seconds  (or fractions thereof).   When the underlying lock is an RLock, it is not released using its  release() method, since this may not actually unlock the lock when it  was acquired multiple times recursively. Instead, an internal interface  of the RLock class is used, which really unlocks it even when it has  been recursively acquired several times. Another internal interface is  then used to restore the recursion level when the lock is reacquired.   """ if not self._is_owned(): raise RuntimeError("cannot wait on un-acquired lock") waiter = _allocate_lock() waiter.acquire() self._waiters.append(waiter) saved_state = self._release_save() gotit = False try: # restore state no matter what (e.g., KeyboardInterrupt) if timeout is None: > waiter.acquire() E Failed: Timeout >40.0s /usr/lib/python3.10/threading.py:320: Failed ----------------------------- Captured stderr call ----------------------------- +++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++ ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-27 (72057590682481024) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib/python3.10/threading.py", line 973, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 84, in run_until_complete self._run_once() File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 120, in _run_once handle._run() File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 196, in step step_orig(task, exc) File "/usr/lib/python3.10/asyncio/tasks.py", line 232, in __step result = coro.send(None) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib/python3.10/threading.py", line 607, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.10/threading.py", line 324, in wait gotit = waiter.acquire(True, timeout) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-26 (72057590967669120) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib/python3.10/threading.py", line 973, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 84, in run_until_complete self._run_once() File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 120, in _run_once handle._run() File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 196, in step step_orig(task, exc) File "/usr/lib/python3.10/asyncio/tasks.py", line 232, in __step result = coro.send(None) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib/python3.10/threading.py", line 607, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.10/threading.py", line 324, in wait gotit = waiter.acquire(True, timeout) ~~~~~~~~~~~~~ Stack of ThreadPoolExecutor-0_1 (72057591479394688) ~~~~~~~~~~~~~~ File "/usr/lib/python3.10/threading.py", line 973, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/usr/lib/python3.10/threading.py", line 953, in run self._target(*self._args, **self._kwargs) File "/usr/lib/python3.10/concurrent/futures/thread.py", line 83, in _worker work_item.run() File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/test_kernelmanager.py", line 422, in _run_signaltest_lifecycle kc = self._prepare_kernel(km, stdout=PIPE, stderr=PIPE) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/test_kernelmanager.py", line 412, in _prepare_kernel kc.wait_for_ready(timeout=startup_timeout) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/utils.py", line 27, in wrapped return loop.run_until_complete(future) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 84, in run_until_complete self._run_once() File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 107, in _run_once event_list = self._selector.select(timeout) File "/usr/lib/python3.10/selectors.py", line 469, in select fd_event_list = self._selector.poll(timeout, max_ev) ~~~~~~~~~~~~~ Stack of ThreadPoolExecutor-0_0 (72057591445823872) ~~~~~~~~~~~~~~ File "/usr/lib/python3.10/threading.py", line 973, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/usr/lib/python3.10/threading.py", line 953, in run self._target(*self._args, **self._kwargs) File "/usr/lib/python3.10/concurrent/futures/thread.py", line 83, in _worker work_item.run() File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/test_kernelmanager.py", line 422, in _run_signaltest_lifecycle kc = self._prepare_kernel(km, stdout=PIPE, stderr=PIPE) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/test_kernelmanager.py", line 412, in _prepare_kernel kc.wait_for_ready(timeout=startup_timeout) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/utils.py", line 27, in wrapped return loop.run_until_complete(future) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 84, in run_until_complete self._run_once() File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 107, in _run_once event_list = self._selector.select(timeout) File "/usr/lib/python3.10/selectors.py", line 469, in select fd_event_list = self._selector.poll(timeout, max_ev) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-24 (72057591487787392) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib/python3.10/threading.py", line 973, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 84, in run_until_complete self._run_once() File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 120, in _run_once handle._run() File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 196, in step step_orig(task, exc) File "/usr/lib/python3.10/asyncio/tasks.py", line 232, in __step result = coro.send(None) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib/python3.10/threading.py", line 607, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.10/threading.py", line 324, in wait gotit = waiter.acquire(True, timeout) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-22 (72057592125874560) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib/python3.10/threading.py", line 973, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 84, in run_until_complete self._run_once() File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 120, in _run_once handle._run() File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 196, in step step_orig(task, exc) File "/usr/lib/python3.10/asyncio/tasks.py", line 232, in __step result = coro.send(None) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib/python3.10/threading.py", line 607, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.10/threading.py", line 324, in wait gotit = waiter.acquire(True, timeout) +++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++ ____________ TestParallel.test_start_parallel_process_kernels[tcp] _____________ self = config = {'KernelManager': {'transport': 'tcp'}}, install_kernel = None @pytest.mark.timeout(TIMEOUT) @pytest.mark.skipif( (sys.platform == "darwin") and (sys.version_info >= (3, 6)) and (sys.version_info < (3, 8)), reason='"Bad file descriptor" error', ) def test_start_parallel_process_kernels(self, config, install_kernel): if config.KernelManager.transport == "ipc": # FIXME pytest.skip("IPC transport is currently not working for this test!") self._run_signaltest_lifecycle(config) with concurrent.futures.ThreadPoolExecutor(max_workers=1) as thread_executor: future1 = thread_executor.submit(self._run_signaltest_lifecycle, config) with concurrent.futures.ProcessPoolExecutor(max_workers=1) as process_executor: future2 = process_executor.submit(self._run_signaltest_lifecycle, config) > future2.result() jupyter_client/tests/test_kernelmanager.py:391: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.10/concurrent/futures/_base.py:453: in result self._condition.wait(timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , 0)> timeout = None def wait(self, timeout=None): """Wait until notified or until a timeout occurs.   If the calling thread has not acquired the lock when this method is  called, a RuntimeError is raised.   This method releases the underlying lock, and then blocks until it is  awakened by a notify() or notify_all() call for the same condition  variable in another thread, or until the optional timeout occurs. Once  awakened or timed out, it re-acquires the lock and returns.   When the timeout argument is present and not None, it should be a  floating point number specifying a timeout for the operation in seconds  (or fractions thereof).   When the underlying lock is an RLock, it is not released using its  release() method, since this may not actually unlock the lock when it  was acquired multiple times recursively. Instead, an internal interface  of the RLock class is used, which really unlocks it even when it has  been recursively acquired several times. Another internal interface is  then used to restore the recursion level when the lock is reacquired.   """ if not self._is_owned(): raise RuntimeError("cannot wait on un-acquired lock") waiter = _allocate_lock() waiter.acquire() self._waiters.append(waiter) saved_state = self._release_save() gotit = False try: # restore state no matter what (e.g., KeyboardInterrupt) if timeout is None: > waiter.acquire() E Failed: Timeout >30.0s /usr/lib/python3.10/threading.py:320: Failed ----------------------------- Captured stderr call ----------------------------- +++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++ ~~~~~~~~~~~~~~~~ Stack of QueueFeederThread (72057591009632640) ~~~~~~~~~~~~~~~~ File "/usr/lib/python3.10/threading.py", line 973, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/usr/lib/python3.10/threading.py", line 953, in run self._target(*self._args, **self._kwargs) File "/usr/lib/python3.10/multiprocessing/queues.py", line 231, in _feed nwait() File "/usr/lib/python3.10/threading.py", line 320, in wait waiter.acquire() ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-30 (72057591018025344) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib/python3.10/threading.py", line 973, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/usr/lib/python3.10/concurrent/futures/process.py", line 320, in run result_item, is_broken, cause = self.wait_result_broken_or_wakeup() File "/usr/lib/python3.10/concurrent/futures/process.py", line 380, in wait_result_broken_or_wakeup ready = mp.connection.wait(readers + worker_sentinels) File "/usr/lib/python3.10/multiprocessing/connection.py", line 936, in wait ready = selector.select(timeout) File "/usr/lib/python3.10/selectors.py", line 416, in select fd_event_list = self._selector.poll(timeout) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-29 (72057591437431168) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib/python3.10/threading.py", line 973, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 84, in run_until_complete self._run_once() File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 120, in _run_once handle._run() File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 196, in step step_orig(task, exc) File "/usr/lib/python3.10/asyncio/tasks.py", line 232, in __step result = coro.send(None) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib/python3.10/threading.py", line 607, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.10/threading.py", line 324, in wait gotit = waiter.acquire(True, timeout) ~~~~~~~~~~~~~ Stack of ThreadPoolExecutor-1_0 (72057590976061824) ~~~~~~~~~~~~~~ File "/usr/lib/python3.10/threading.py", line 973, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/usr/lib/python3.10/threading.py", line 953, in run self._target(*self._args, **self._kwargs) File "/usr/lib/python3.10/concurrent/futures/thread.py", line 83, in _worker work_item.run() File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/test_kernelmanager.py", line 422, in _run_signaltest_lifecycle kc = self._prepare_kernel(km, stdout=PIPE, stderr=PIPE) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/test_kernelmanager.py", line 412, in _prepare_kernel kc.wait_for_ready(timeout=startup_timeout) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/utils.py", line 27, in wrapped return loop.run_until_complete(future) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 84, in run_until_complete self._run_once() File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 107, in _run_once event_list = self._selector.select(timeout) File "/usr/lib/python3.10/selectors.py", line 469, in select fd_event_list = self._selector.poll(timeout, max_ev) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-24 (72057591487787392) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib/python3.10/threading.py", line 973, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 84, in run_until_complete self._run_once() File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 120, in _run_once handle._run() File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 196, in step step_orig(task, exc) File "/usr/lib/python3.10/asyncio/tasks.py", line 232, in __step result = coro.send(None) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib/python3.10/threading.py", line 607, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.10/threading.py", line 324, in wait gotit = waiter.acquire(True, timeout) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-22 (72057592125874560) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib/python3.10/threading.py", line 973, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 84, in run_until_complete self._run_once() File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 120, in _run_once handle._run() File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 196, in step step_orig(task, exc) File "/usr/lib/python3.10/asyncio/tasks.py", line 232, in __step result = coro.send(None) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib/python3.10/threading.py", line 607, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.10/threading.py", line 324, in wait gotit = waiter.acquire(True, timeout) +++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++ ____________ TestParallel.test_start_sequence_process_kernels[tcp] _____________ self = config = {'KernelManager': {'transport': 'tcp'}}, install_kernel = None @pytest.mark.timeout(TIMEOUT) @pytest.mark.skipif( (sys.platform == "darwin") and (sys.version_info >= (3, 6)) and (sys.version_info < (3, 8)), reason='"Bad file descriptor" error', ) def test_start_sequence_process_kernels(self, config, install_kernel): if config.KernelManager.transport == "ipc": # FIXME pytest.skip("IPC transport is currently not working for this test!") self._run_signaltest_lifecycle(config) with concurrent.futures.ProcessPoolExecutor(max_workers=1) as pool_executor: future = pool_executor.submit(self._run_signaltest_lifecycle, config) > future.result() jupyter_client/tests/test_kernelmanager.py:405: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.10/concurrent/futures/_base.py:453: in result self._condition.wait(timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , 0)> timeout = None def wait(self, timeout=None): """Wait until notified or until a timeout occurs.   If the calling thread has not acquired the lock when this method is  called, a RuntimeError is raised.   This method releases the underlying lock, and then blocks until it is  awakened by a notify() or notify_all() call for the same condition  variable in another thread, or until the optional timeout occurs. Once  awakened or timed out, it re-acquires the lock and returns.   When the timeout argument is present and not None, it should be a  floating point number specifying a timeout for the operation in seconds  (or fractions thereof).   When the underlying lock is an RLock, it is not released using its  release() method, since this may not actually unlock the lock when it  was acquired multiple times recursively. Instead, an internal interface  of the RLock class is used, which really unlocks it even when it has  been recursively acquired several times. Another internal interface is  then used to restore the recursion level when the lock is reacquired.   """ if not self._is_owned(): raise RuntimeError("cannot wait on un-acquired lock") waiter = _allocate_lock() waiter.acquire() self._waiters.append(waiter) saved_state = self._release_save() gotit = False try: # restore state no matter what (e.g., KeyboardInterrupt) if timeout is None: > waiter.acquire() E Failed: Timeout >30.0s /usr/lib/python3.10/threading.py:320: Failed ----------------------------- Captured stderr call ----------------------------- +++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++ ~~~~~~~~~~~~~~~~ Stack of QueueFeederThread (72057591445823872) ~~~~~~~~~~~~~~~~ File "/usr/lib/python3.10/threading.py", line 973, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/usr/lib/python3.10/threading.py", line 953, in run self._target(*self._args, **self._kwargs) File "/usr/lib/python3.10/multiprocessing/queues.py", line 231, in _feed nwait() File "/usr/lib/python3.10/threading.py", line 320, in wait waiter.acquire() ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-32 (72057591009632640) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib/python3.10/threading.py", line 973, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/usr/lib/python3.10/concurrent/futures/process.py", line 320, in run result_item, is_broken, cause = self.wait_result_broken_or_wakeup() File "/usr/lib/python3.10/concurrent/futures/process.py", line 380, in wait_result_broken_or_wakeup ready = mp.connection.wait(readers + worker_sentinels) File "/usr/lib/python3.10/multiprocessing/connection.py", line 936, in wait ready = selector.select(timeout) File "/usr/lib/python3.10/selectors.py", line 416, in select fd_event_list = self._selector.poll(timeout) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-24 (72057591487787392) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib/python3.10/threading.py", line 973, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 84, in run_until_complete self._run_once() File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 120, in _run_once handle._run() File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 196, in step step_orig(task, exc) File "/usr/lib/python3.10/asyncio/tasks.py", line 232, in __step result = coro.send(None) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib/python3.10/threading.py", line 607, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.10/threading.py", line 324, in wait gotit = waiter.acquire(True, timeout) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-22 (72057592125874560) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib/python3.10/threading.py", line 973, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 84, in run_until_complete self._run_once() File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 120, in _run_once handle._run() File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 196, in step step_orig(task, exc) File "/usr/lib/python3.10/asyncio/tasks.py", line 232, in __step result = coro.send(None) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib/python3.10/threading.py", line 607, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.10/threading.py", line 324, in wait gotit = waiter.acquire(True, timeout) +++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++ _________________________ test_restarter_gives_up[tcp] _________________________ args = () kwargs = {'config': {'KernelManager': {'transport': 'tcp'}, 'KernelRestarter': {'restart_limit': 1, 'debug': True}}, 'debug_logging': None, 'install_fail_kernel': 'problemtest-fail'} coro = task = wait_for=> @functools.wraps(func) def inner(*args, **kwargs): coro = func(*args, **kwargs) if not inspect.isawaitable(coro): pyfuncitem.warn( pytest.PytestWarning( f"The test {pyfuncitem} is marked with '@pytest.mark.asyncio' " "but it is not an async function. " "Please remove asyncio marker. " "If the test is not marked explicitly, " "check for global markers applied via 'pytestmark'." ) ) return task = asyncio.ensure_future(coro, loop=_loop) try: > _loop.run_until_complete(task) /usr/lib/python3.10/site-packages/pytest_asyncio/plugin.py:449: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.10/site-packages/nest_asyncio.py:84: in run_until_complete self._run_once() /usr/lib/python3.10/site-packages/nest_asyncio.py:107: in _run_once event_list = self._selector.select(timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , timeout = 2.992 def select(self, timeout=None): if timeout is None: timeout = -1 elif timeout <= 0: timeout = 0 else: # epoll_wait() has a resolution of 1 millisecond, round away # from zero to wait *at least* timeout seconds. timeout = math.ceil(timeout * 1e3) * 1e-3 # epoll_wait() expects `maxevents` to be greater than zero; # we want to make sure that `select()` can be called when no # FD is registered. max_ev = max(len(self._fd_to_key), 1) ready = [] try: > fd_event_list = self._selector.poll(timeout, max_ev) E Failed: Timeout >300.0s /usr/lib/python3.10/selectors.py:469: Failed ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 981, in launch_instance app.initialize(argv) File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 110, in inner return method(app, *args, **kwargs) File "/usr/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 666, in initialize self.init_sockets() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 981, in launch_instance app.initialize(argv) File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 110, in inner return method(app, *args, **kwargs) File "/usr/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 666, in initialize self.init_sockets() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 981, in launch_instance app.initialize(argv) File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 110, in inner return method(app, *args, **kwargs) File "/usr/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 666, in initialize self.init_sockets() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 981, in launch_instance app.initialize(argv) File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 110, in inner return method(app, *args, **kwargs) File "/usr/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 666, in initialize self.init_sockets() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 981, in launch_instance app.initialize(argv) File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 110, in inner return method(app, *args, **kwargs) File "/usr/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 666, in initialize self.init_sockets() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 981, in launch_instance app.initialize(argv) File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 110, in inner return method(app, *args, **kwargs) File "/usr/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 666, in initialize self.init_sockets() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 981, in launch_instance app.initialize(argv) File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 110, in inner return method(app, *args, **kwargs) File "/usr/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 666, in initialize self.init_sockets() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 981, in launch_instance app.initialize(argv) File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 110, in inner return method(app, *args, **kwargs) File "/usr/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 666, in initialize self.init_sockets() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 981, in launch_instance app.initialize(argv) File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 110, in inner return method(app, *args, **kwargs) File "/usr/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 666, in initialize self.init_sockets() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 981, in launch_instance app.initialize(argv) File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 110, in inner return method(app, *args, **kwargs) File "/usr/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 666, in initialize self.init_sockets() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 981, in launch_instance app.initialize(argv) File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 110, in inner return method(app, *args, **kwargs) File "/usr/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 666, in initialize self.init_sockets() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 981, in launch_instance app.initialize(argv) File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 110, in inner return method(app, *args, **kwargs) File "/usr/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 666, in initialize self.init_sockets() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 981, in launch_instance app.initialize(argv) File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 110, in inner return method(app, *args, **kwargs) File "/usr/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 666, in initialize self.init_sockets() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 981, in launch_instance app.initialize(argv) File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 110, in inner return method(app, *args, **kwargs) File "/usr/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 666, in initialize self.init_sockets() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 981, in launch_instance app.initialize(argv) File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 110, in inner return method(app, *args, **kwargs) File "/usr/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 666, in initialize self.init_sockets() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 981, in launch_instance app.initialize(argv) File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 110, in inner return method(app, *args, **kwargs) File "/usr/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 666, in initialize self.init_sockets() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 981, in launch_instance app.initialize(argv) File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 110, in inner return method(app, *args, **kwargs) File "/usr/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 666, in initialize self.init_sockets() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 981, in launch_instance app.initialize(argv) File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 110, in inner return method(app, *args, **kwargs) File "/usr/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 666, in initialize self.init_sockets() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 981, in launch_instance app.initialize(argv) File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 110, in inner return method(app, *args, **kwargs) File "/usr/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 666, in initialize self.init_sockets() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes +++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++ ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-34 (72057591009632640) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib/python3.10/threading.py", line 973, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 84, in run_until_complete self._run_once() File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 120, in _run_once handle._run() File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 196, in step step_orig(task, exc) File "/usr/lib/python3.10/asyncio/tasks.py", line 232, in __step result = coro.send(None) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib/python3.10/threading.py", line 607, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.10/threading.py", line 324, in wait gotit = waiter.acquire(True, timeout) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-33 (72057591479394688) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib/python3.10/threading.py", line 973, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 84, in run_until_complete self._run_once() File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 120, in _run_once handle._run() File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 196, in step step_orig(task, exc) File "/usr/lib/python3.10/asyncio/tasks.py", line 232, in __step result = coro.send(None) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib/python3.10/threading.py", line 607, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.10/threading.py", line 324, in wait gotit = waiter.acquire(True, timeout) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-24 (72057591487787392) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib/python3.10/threading.py", line 973, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 84, in run_until_complete self._run_once() File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 120, in _run_once handle._run() File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 196, in step step_orig(task, exc) File "/usr/lib/python3.10/asyncio/tasks.py", line 232, in __step result = coro.send(None) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib/python3.10/threading.py", line 607, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.10/threading.py", line 324, in wait gotit = waiter.acquire(True, timeout) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-22 (72057592125874560) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib/python3.10/threading.py", line 973, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 84, in run_until_complete self._run_once() File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 120, in _run_once handle._run() File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 196, in step step_orig(task, exc) File "/usr/lib/python3.10/asyncio/tasks.py", line 232, in __step result = coro.send(None) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib/python3.10/threading.py", line 607, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.10/threading.py", line 324, in wait gotit = waiter.acquire(True, timeout) +++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++ ------------------------------ Captured log call ------------------------------- DEBUG  traitlets:factory.py:96 Instantiating kernel 'Problematic Test Kernel' with kernel provisioner: custom-test-provisioner DEBUG  traitlets:manager.py:393 Starting kernel: ['/usr/bin/python', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmp6ivha6hc.json'] DEBUG  traitlets:connect.py:604 Connecting to: tcp://127.0.0.1:35241 DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... INFO  traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), new random ports DEBUG  traitlets:manager.py:393 Starting kernel: ['/usr/bin/python', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmp6ivha6hc.json'] DEBUG  traitlets:connect.py:604 Connecting to: tcp://127.0.0.1:42763 DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG  traitlets:restarter.py:116 Polling kernel... INFO  traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR  traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff8c6cd630> failed Traceback (most recent call last): File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG  traitlets:manager.py:393 Starting kernel: ['/usr/bin/python', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmp6ivha6hc.json'] DEBUG  traitlets:connect.py:604 Connecting to: tcp://127.0.0.1:42763 DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG  traitlets:restarter.py:116 Polling kernel... INFO  traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR  traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff8c6cd630> failed Traceback (most recent call last): File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG  traitlets:manager.py:393 Starting kernel: ['/usr/bin/python', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmp6ivha6hc.json'] DEBUG  traitlets:connect.py:604 Connecting to: tcp://127.0.0.1:42763 DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG  traitlets:restarter.py:116 Polling kernel... INFO  traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR  traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff8c6cd630> failed Traceback (most recent call last): File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG  traitlets:manager.py:393 Starting kernel: ['/usr/bin/python', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmp6ivha6hc.json'] DEBUG  traitlets:connect.py:604 Connecting to: tcp://127.0.0.1:42763 DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG  traitlets:restarter.py:116 Polling kernel... INFO  traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR  traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff8c6cd630> failed Traceback (most recent call last): File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG  traitlets:manager.py:393 Starting kernel: ['/usr/bin/python', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmp6ivha6hc.json'] DEBUG  traitlets:connect.py:604 Connecting to: tcp://127.0.0.1:42763 DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG  traitlets:restarter.py:116 Polling kernel... INFO  traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR  traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff8c6cd630> failed Traceback (most recent call last): File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG  traitlets:manager.py:393 Starting kernel: ['/usr/bin/python', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmp6ivha6hc.json'] DEBUG  traitlets:connect.py:604 Connecting to: tcp://127.0.0.1:42763 DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG  traitlets:restarter.py:116 Polling kernel... INFO  traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR  traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff8c6cd630> failed Traceback (most recent call last): File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG  traitlets:manager.py:393 Starting kernel: ['/usr/bin/python', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmp6ivha6hc.json'] DEBUG  traitlets:connect.py:604 Connecting to: tcp://127.0.0.1:42763 DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG  traitlets:restarter.py:116 Polling kernel... INFO  traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR  traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff8c6cd630> failed Traceback (most recent call last): File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG  traitlets:manager.py:393 Starting kernel: ['/usr/bin/python', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmp6ivha6hc.json'] DEBUG  traitlets:connect.py:604 Connecting to: tcp://127.0.0.1:42763 DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG  traitlets:restarter.py:116 Polling kernel... INFO  traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR  traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff8c6cd630> failed Traceback (most recent call last): File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG  traitlets:manager.py:393 Starting kernel: ['/usr/bin/python', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmp6ivha6hc.json'] DEBUG  traitlets:connect.py:604 Connecting to: tcp://127.0.0.1:42763 DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG  traitlets:restarter.py:116 Polling kernel... INFO  traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR  traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff8c6cd630> failed Traceback (most recent call last): File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG  traitlets:manager.py:393 Starting kernel: ['/usr/bin/python', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmp6ivha6hc.json'] DEBUG  traitlets:connect.py:604 Connecting to: tcp://127.0.0.1:42763 DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG  traitlets:restarter.py:116 Polling kernel... INFO  traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR  traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff8c6cd630> failed Traceback (most recent call last): File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG  traitlets:manager.py:393 Starting kernel: ['/usr/bin/python', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmp6ivha6hc.json'] DEBUG  traitlets:connect.py:604 Connecting to: tcp://127.0.0.1:42763 DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG  traitlets:restarter.py:116 Polling kernel... INFO  traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR  traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff8c6cd630> failed Traceback (most recent call last): File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG  traitlets:manager.py:393 Starting kernel: ['/usr/bin/python', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmp6ivha6hc.json'] DEBUG  traitlets:connect.py:604 Connecting to: tcp://127.0.0.1:42763 DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG  traitlets:restarter.py:116 Polling kernel... INFO  traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR  traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff8c6cd630> failed Traceback (most recent call last): File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG  traitlets:manager.py:393 Starting kernel: ['/usr/bin/python', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmp6ivha6hc.json'] DEBUG  traitlets:connect.py:604 Connecting to: tcp://127.0.0.1:42763 DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG  traitlets:restarter.py:116 Polling kernel... INFO  traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR  traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff8c6cd630> failed Traceback (most recent call last): File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG  traitlets:manager.py:393 Starting kernel: ['/usr/bin/python', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmp6ivha6hc.json'] DEBUG  traitlets:connect.py:604 Connecting to: tcp://127.0.0.1:42763 DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG  traitlets:restarter.py:116 Polling kernel... INFO  traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR  traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff8c6cd630> failed Traceback (most recent call last): File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG  traitlets:manager.py:393 Starting kernel: ['/usr/bin/python', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmp6ivha6hc.json'] DEBUG  traitlets:connect.py:604 Connecting to: tcp://127.0.0.1:42763 DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG  traitlets:restarter.py:116 Polling kernel... INFO  traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR  traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff8c6cd630> failed Traceback (most recent call last): File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG  traitlets:manager.py:393 Starting kernel: ['/usr/bin/python', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmp6ivha6hc.json'] DEBUG  traitlets:connect.py:604 Connecting to: tcp://127.0.0.1:42763 DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG  traitlets:restarter.py:116 Polling kernel... INFO  traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR  traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff8c6cd630> failed Traceback (most recent call last): File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG  traitlets:manager.py:393 Starting kernel: ['/usr/bin/python', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmp6ivha6hc.json'] DEBUG  traitlets:connect.py:604 Connecting to: tcp://127.0.0.1:42763 DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG  traitlets:restarter.py:116 Polling kernel... INFO  traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR  traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff8c6cd630> failed Traceback (most recent call last): File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG  traitlets:manager.py:393 Starting kernel: ['/usr/bin/python', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmp6ivha6hc.json'] DEBUG  traitlets:connect.py:604 Connecting to: tcp://127.0.0.1:42763 DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG  traitlets:restarter.py:116 Polling kernel... INFO  traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR  traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff8c6cd630> failed Traceback (most recent call last): File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG  traitlets:manager.py:393 Starting kernel: ['/usr/bin/python', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmp6ivha6hc.json'] DEBUG  traitlets:connect.py:604 Connecting to: tcp://127.0.0.1:42763 DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded --------------------------- Captured stderr teardown --------------------------- Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 981, in launch_instance app.initialize(argv) File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 110, in inner return method(app, *args, **kwargs) File "/usr/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 666, in initialize self.init_sockets() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes _________________________ test_restarter_gives_up[ipc] _________________________ args = () kwargs = {'config': {'KernelManager': {'transport': 'ipc', 'ip': 'test'}, 'KernelRestarter': {'restart_limit': 1, 'debug': True}}, 'debug_logging': None, 'install_fail_kernel': 'problemtest-fail'} coro = task = wait_for=> @functools.wraps(func) def inner(*args, **kwargs): coro = func(*args, **kwargs) if not inspect.isawaitable(coro): pyfuncitem.warn( pytest.PytestWarning( f"The test {pyfuncitem} is marked with '@pytest.mark.asyncio' " "but it is not an async function. " "Please remove asyncio marker. " "If the test is not marked explicitly, " "check for global markers applied via 'pytestmark'." ) ) return task = asyncio.ensure_future(coro, loop=_loop) try: > _loop.run_until_complete(task) /usr/lib/python3.10/site-packages/pytest_asyncio/plugin.py:449: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.10/site-packages/nest_asyncio.py:84: in run_until_complete self._run_once() /usr/lib/python3.10/site-packages/nest_asyncio.py:107: in _run_once event_list = self._selector.select(timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , timeout = 2.992 def select(self, timeout=None): if timeout is None: timeout = -1 elif timeout <= 0: timeout = 0 else: # epoll_wait() has a resolution of 1 millisecond, round away # from zero to wait *at least* timeout seconds. timeout = math.ceil(timeout * 1e3) * 1e-3 # epoll_wait() expects `maxevents` to be greater than zero; # we want to make sure that `select()` can be called when no # FD is registered. max_ev = max(len(self._fd_to_key), 1) ready = [] try: > fd_event_list = self._selector.poll(timeout, max_ev) E Failed: Timeout >300.0s /usr/lib/python3.10/selectors.py:469: Failed ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 981, in launch_instance app.initialize(argv) File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 110, in inner return method(app, *args, **kwargs) File "/usr/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 666, in initialize self.init_sockets() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 981, in launch_instance app.initialize(argv) File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 110, in inner return method(app, *args, **kwargs) File "/usr/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 666, in initialize self.init_sockets() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 981, in launch_instance app.initialize(argv) File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 110, in inner return method(app, *args, **kwargs) File "/usr/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 666, in initialize self.init_sockets() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 981, in launch_instance app.initialize(argv) File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 110, in inner return method(app, *args, **kwargs) File "/usr/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 666, in initialize self.init_sockets() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 981, in launch_instance app.initialize(argv) File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 110, in inner return method(app, *args, **kwargs) File "/usr/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 666, in initialize self.init_sockets() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 981, in launch_instance app.initialize(argv) File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 110, in inner return method(app, *args, **kwargs) File "/usr/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 666, in initialize self.init_sockets() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 981, in launch_instance app.initialize(argv) File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 110, in inner return method(app, *args, **kwargs) File "/usr/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 666, in initialize self.init_sockets() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 981, in launch_instance app.initialize(argv) File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 110, in inner return method(app, *args, **kwargs) File "/usr/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 666, in initialize self.init_sockets() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 981, in launch_instance app.initialize(argv) File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 110, in inner return method(app, *args, **kwargs) File "/usr/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 666, in initialize self.init_sockets() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 981, in launch_instance app.initialize(argv) File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 110, in inner return method(app, *args, **kwargs) File "/usr/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 666, in initialize self.init_sockets() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 981, in launch_instance app.initialize(argv) File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 110, in inner return method(app, *args, **kwargs) File "/usr/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 666, in initialize self.init_sockets() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 981, in launch_instance app.initialize(argv) File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 110, in inner return method(app, *args, **kwargs) File "/usr/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 666, in initialize self.init_sockets() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 981, in launch_instance app.initialize(argv) File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 110, in inner return method(app, *args, **kwargs) File "/usr/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 666, in initialize self.init_sockets() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 981, in launch_instance app.initialize(argv) File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 110, in inner return method(app, *args, **kwargs) File "/usr/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 666, in initialize self.init_sockets() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 981, in launch_instance app.initialize(argv) File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 110, in inner return method(app, *args, **kwargs) File "/usr/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 666, in initialize self.init_sockets() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 981, in launch_instance app.initialize(argv) File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 110, in inner return method(app, *args, **kwargs) File "/usr/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 666, in initialize self.init_sockets() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 981, in launch_instance app.initialize(argv) File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 110, in inner return method(app, *args, **kwargs) File "/usr/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 666, in initialize self.init_sockets() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 981, in launch_instance app.initialize(argv) File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 110, in inner return method(app, *args, **kwargs) File "/usr/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 666, in initialize self.init_sockets() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 981, in launch_instance app.initialize(argv) File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 110, in inner return method(app, *args, **kwargs) File "/usr/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 666, in initialize self.init_sockets() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 981, in launch_instance app.initialize(argv) File "/usr/lib/python3.10/site-packages/traitlets/config/application.py", line 110, in inner return method(app, *args, **kwargs) File "/usr/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 666, in initialize self.init_sockets() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes +++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++ ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-34 (72057591009632640) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib/python3.10/threading.py", line 973, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 84, in run_until_complete self._run_once() File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 120, in _run_once handle._run() File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 196, in step step_orig(task, exc) File "/usr/lib/python3.10/asyncio/tasks.py", line 232, in __step result = coro.send(None) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib/python3.10/threading.py", line 607, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.10/threading.py", line 324, in wait gotit = waiter.acquire(True, timeout) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-33 (72057591479394688) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib/python3.10/threading.py", line 973, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 84, in run_until_complete self._run_once() File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 120, in _run_once handle._run() File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 196, in step step_orig(task, exc) File "/usr/lib/python3.10/asyncio/tasks.py", line 232, in __step result = coro.send(None) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib/python3.10/threading.py", line 607, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.10/threading.py", line 324, in wait gotit = waiter.acquire(True, timeout) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-24 (72057591487787392) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib/python3.10/threading.py", line 973, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 84, in run_until_complete self._run_once() File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 120, in _run_once handle._run() File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 196, in step step_orig(task, exc) File "/usr/lib/python3.10/asyncio/tasks.py", line 232, in __step result = coro.send(None) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib/python3.10/threading.py", line 607, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.10/threading.py", line 324, in wait gotit = waiter.acquire(True, timeout) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-22 (72057592125874560) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib/python3.10/threading.py", line 973, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 84, in run_until_complete self._run_once() File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 120, in _run_once handle._run() File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/usr/lib/python3.10/site-packages/nest_asyncio.py", line 196, in step step_orig(task, exc) File "/usr/lib/python3.10/asyncio/tasks.py", line 232, in __step result = coro.send(None) File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib/python3.10/threading.py", line 607, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.10/threading.py", line 324, in wait gotit = waiter.acquire(True, timeout) +++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++ ------------------------------ Captured log call ------------------------------- DEBUG  traitlets:factory.py:96 Instantiating kernel 'Problematic Test Kernel' with kernel provisioner: custom-test-provisioner DEBUG  traitlets:manager.py:393 Starting kernel: ['/usr/bin/python', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmpbub26uzb.json'] DEBUG  traitlets:connect.py:604 Connecting to: ipc://test-9 DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... INFO  traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), new random ports DEBUG  traitlets:manager.py:393 Starting kernel: ['/usr/bin/python', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmpbub26uzb.json'] DEBUG  traitlets:connect.py:604 Connecting to: ipc://test-9 DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG  traitlets:restarter.py:116 Polling kernel... INFO  traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR  traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff8c73b640> failed Traceback (most recent call last): File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG  traitlets:manager.py:393 Starting kernel: ['/usr/bin/python', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmpbub26uzb.json'] DEBUG  traitlets:connect.py:604 Connecting to: ipc://test-9 DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG  traitlets:restarter.py:116 Polling kernel... INFO  traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR  traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff8c73b640> failed Traceback (most recent call last): File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG  traitlets:manager.py:393 Starting kernel: ['/usr/bin/python', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmpbub26uzb.json'] DEBUG  traitlets:connect.py:604 Connecting to: ipc://test-9 DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG  traitlets:restarter.py:116 Polling kernel... INFO  traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR  traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff8c73b640> failed Traceback (most recent call last): File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG  traitlets:manager.py:393 Starting kernel: ['/usr/bin/python', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmpbub26uzb.json'] DEBUG  traitlets:connect.py:604 Connecting to: ipc://test-9 DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG  traitlets:restarter.py:116 Polling kernel... INFO  traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR  traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff8c73b640> failed Traceback (most recent call last): File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG  traitlets:manager.py:393 Starting kernel: ['/usr/bin/python', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmpbub26uzb.json'] DEBUG  traitlets:connect.py:604 Connecting to: ipc://test-9 DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG  traitlets:restarter.py:116 Polling kernel... INFO  traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR  traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff8c73b640> failed Traceback (most recent call last): File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG  traitlets:manager.py:393 Starting kernel: ['/usr/bin/python', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmpbub26uzb.json'] DEBUG  traitlets:connect.py:604 Connecting to: ipc://test-9 DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG  traitlets:restarter.py:116 Polling kernel... INFO  traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR  traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff8c73b640> failed Traceback (most recent call last): File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG  traitlets:manager.py:393 Starting kernel: ['/usr/bin/python', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmpbub26uzb.json'] DEBUG  traitlets:connect.py:604 Connecting to: ipc://test-9 DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG  traitlets:restarter.py:116 Polling kernel... INFO  traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR  traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff8c73b640> failed Traceback (most recent call last): File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG  traitlets:manager.py:393 Starting kernel: ['/usr/bin/python', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmpbub26uzb.json'] DEBUG  traitlets:connect.py:604 Connecting to: ipc://test-9 DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG  traitlets:restarter.py:116 Polling kernel... INFO  traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR  traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff8c73b640> failed Traceback (most recent call last): File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG  traitlets:manager.py:393 Starting kernel: ['/usr/bin/python', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmpbub26uzb.json'] DEBUG  traitlets:connect.py:604 Connecting to: ipc://test-9 DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG  traitlets:restarter.py:116 Polling kernel... INFO  traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR  traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff8c73b640> failed Traceback (most recent call last): File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG  traitlets:manager.py:393 Starting kernel: ['/usr/bin/python', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmpbub26uzb.json'] DEBUG  traitlets:connect.py:604 Connecting to: ipc://test-9 DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG  traitlets:restarter.py:116 Polling kernel... INFO  traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR  traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff8c73b640> failed Traceback (most recent call last): File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG  traitlets:manager.py:393 Starting kernel: ['/usr/bin/python', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmpbub26uzb.json'] DEBUG  traitlets:connect.py:604 Connecting to: ipc://test-9 DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG  traitlets:restarter.py:116 Polling kernel... INFO  traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR  traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff8c73b640> failed Traceback (most recent call last): File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG  traitlets:manager.py:393 Starting kernel: ['/usr/bin/python', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmpbub26uzb.json'] DEBUG  traitlets:connect.py:604 Connecting to: ipc://test-9 DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG  traitlets:restarter.py:116 Polling kernel... INFO  traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR  traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff8c73b640> failed Traceback (most recent call last): File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG  traitlets:manager.py:393 Starting kernel: ['/usr/bin/python', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmpbub26uzb.json'] DEBUG  traitlets:connect.py:604 Connecting to: ipc://test-9 DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG  traitlets:restarter.py:116 Polling kernel... INFO  traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR  traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff8c73b640> failed Traceback (most recent call last): File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG  traitlets:manager.py:393 Starting kernel: ['/usr/bin/python', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmpbub26uzb.json'] DEBUG  traitlets:connect.py:604 Connecting to: ipc://test-9 DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG  traitlets:restarter.py:116 Polling kernel... INFO  traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR  traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff8c73b640> failed Traceback (most recent call last): File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG  traitlets:manager.py:393 Starting kernel: ['/usr/bin/python', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmpbub26uzb.json'] DEBUG  traitlets:connect.py:604 Connecting to: ipc://test-9 DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG  traitlets:restarter.py:116 Polling kernel... INFO  traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR  traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff8c73b640> failed Traceback (most recent call last): File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG  traitlets:manager.py:393 Starting kernel: ['/usr/bin/python', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmpbub26uzb.json'] DEBUG  traitlets:connect.py:604 Connecting to: ipc://test-9 DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG  traitlets:restarter.py:116 Polling kernel... INFO  traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR  traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff8c73b640> failed Traceback (most recent call last): File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG  traitlets:manager.py:393 Starting kernel: ['/usr/bin/python', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmpbub26uzb.json'] DEBUG  traitlets:connect.py:604 Connecting to: ipc://test-9 DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG  traitlets:restarter.py:116 Polling kernel... INFO  traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR  traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff8c73b640> failed Traceback (most recent call last): File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG  traitlets:manager.py:393 Starting kernel: ['/usr/bin/python', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmpbub26uzb.json'] DEBUG  traitlets:connect.py:604 Connecting to: ipc://test-9 DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG  traitlets:restarter.py:116 Polling kernel... INFO  traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR  traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff8c73b640> failed Traceback (most recent call last): File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/build/python-jupyter_client/src/jupyter_client-7.4.3/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG  traitlets:manager.py:393 Starting kernel: ['/usr/bin/python', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmpbub26uzb.json'] DEBUG  traitlets:connect.py:604 Connecting to: ipc://test-9 DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:116 Polling kernel... DEBUG  traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded ________________________ test_async_restart_check[tcp] _________________________ cls = func = . at 0xffffff8c73ad40> when = 'call' reraise = (, ) @classmethod def from_call( cls, func: "Callable[[], TResult]", when: "Literal['collect', 'setup', 'call', 'teardown']", reraise: Optional[ Union[Type[BaseException], Tuple[Type[BaseException], ...]] ] = None, ) -> "CallInfo[TResult]": """Call func, wrapping the result in a CallInfo.   :param func:  The function to call. Called without arguments.  :param when:  The phase in which the function is called.  :param reraise:  Exception or exceptions that shall propagate if raised by the  function, instead of being wrapped in the CallInfo.  """ excinfo = None start = timing.time() precise_start = timing.perf_counter() try: > result: Optional[TResult] = func() /usr/lib/python3.10/site-packages/_pytest/runner.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.10/site-packages/_pytest/runner.py:259: in lambda: ihook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3.10/site-packages/pluggy/_hooks.py:265: in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) /usr/lib/python3.10/site-packages/pluggy/_manager.py:80: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3.10/site-packages/_pytest/unraisableexception.py:88: in pytest_runtest_call yield from unraisable_exception_runtest_hook() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def unraisable_exception_runtest_hook() -> Generator[None, None, None]: with catch_unraisable_exception() as cm: yield if cm.unraisable: if cm.unraisable.err_msg is not None: err_msg = cm.unraisable.err_msg else: err_msg = "Exception ignored in" msg = f"{err_msg}: {cm.unraisable.object!r}\n\n" msg += "".join( traceback.format_exception( cm.unraisable.exc_type, cm.unraisable.exc_value, cm.unraisable.exc_traceback, ) ) > warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) E pytest.PytestUnraisableExceptionWarning: Exception ignored in:  E  E Traceback (most recent call last): E File "/usr/lib/python3.10/site-packages/zmq/sugar/socket.py", line 115, in __del__ E warn( E ResourceWarning: Unclosed socket  /usr/lib/python3.10/site-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning ------------------------------ Captured log call ------------------------------- DEBUG  traitlets:factory.py:96 Instantiating kernel 'Problematic Test Kernel' with kernel provisioner: custom-test-provisioner DEBUG  traitlets:manager.py:393 Starting kernel: ['/usr/bin/python', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmpq1jcn4t4.json'] DEBUG  traitlets:connect.py:604 Connecting to: tcp://127.0.0.1:37507 DEBUG  traitlets:client.py:365 connecting iopub channel to tcp://127.0.0.1:49735 DEBUG  traitlets:connect.py:604 Connecting to: tcp://127.0.0.1:49735 DEBUG  traitlets:client.py:355 connecting shell channel to tcp://127.0.0.1:46157 DEBUG  traitlets:connect.py:604 Connecting to: tcp://127.0.0.1:46157 DEBUG  traitlets:client.py:375 connecting stdin channel to tcp://127.0.0.1:53631 DEBUG  traitlets:connect.py:604 Connecting to: tcp://127.0.0.1:53631 DEBUG  traitlets:client.py:385 connecting heartbeat channel to tcp://127.0.0.1:59599 DEBUG  traitlets:client.py:394 connecting control channel to tcp://127.0.0.1:37507 DEBUG  traitlets:connect.py:604 Connecting to: tcp://127.0.0.1:37507 DEBUG  traitlets:restarter.py:54 Polling kernel... DEBUG  traitlets:restarter.py:54 Polling kernel... DEBUG  traitlets:restarter.py:54 Polling kernel... DEBUG  traitlets:restarter.py:54 Polling kernel... DEBUG  traitlets:restarter.py:54 Polling kernel... INFO  traitlets:restarter.py:72 AsyncIOLoopKernelRestarter: restarting kernel (1/1), new random ports DEBUG  traitlets:manager.py:393 Starting kernel: ['/usr/bin/python', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmpq1jcn4t4.json'] DEBUG  traitlets:connect.py:604 Connecting to: tcp://127.0.0.1:43807 DEBUG  traitlets:client.py:128 Destroying zmq context for DEBUG  traitlets:client.py:365 connecting iopub channel to tcp://127.0.0.1:39331 DEBUG  traitlets:connect.py:604 Connecting to: tcp://127.0.0.1:39331 DEBUG  traitlets:client.py:355 connecting shell channel to tcp://127.0.0.1:59369 DEBUG  traitlets:connect.py:604 Connecting to: tcp://127.0.0.1:59369 DEBUG  traitlets:client.py:375 connecting stdin channel to tcp://127.0.0.1:34429 DEBUG  traitlets:connect.py:604 Connecting to: tcp://127.0.0.1:34429 DEBUG  traitlets:client.py:385 connecting heartbeat channel to tcp://127.0.0.1:33923 DEBUG  traitlets:client.py:394 connecting control channel to tcp://127.0.0.1:43807 DEBUG  traitlets:connect.py:604 Connecting to: tcp://127.0.0.1:43807 DEBUG  traitlets:restarter.py:54 Polling kernel... WARNING  traitlets:client.py:125 Could not destroy zmq context for WARNING  traitlets:client.py:125 Could not destroy zmq context for DEBUG  traitlets:multikernelmanager.py:122 Destroying zmq context for ERROR  asyncio:base_events.py:1747 Task was destroyed but it is pending! task: wait_for=> ERROR  asyncio:base_events.py:1747 Task was destroyed but it is pending! task: wait_for=> DEBUG  traitlets:restarter.py:54 Polling kernel... DEBUG  traitlets:restarter.py:54 Polling kernel... DEBUG  traitlets:restarter.py:54 Polling kernel... DEBUG  traitlets:restarter.py:97 AsyncIOLoopKernelRestarter: restart apparently succeeded DEBUG  traitlets:client.py:128 Destroying zmq context for ============================= slowest 10 durations ============================= 300.01s call jupyter_client/tests/test_restarter.py::test_restarter_gives_up[ipc] 300.01s call jupyter_client/tests/test_restarter.py::test_restarter_gives_up[tcp] 58.47s call jupyter_client/tests/test_kernelmanager.py::TestParallel::test_start_parallel_thread_kernels[tcp] 57.97s call jupyter_client/tests/test_kernelmanager.py::TestParallel::test_start_parallel_process_kernels[tcp] 56.72s call jupyter_client/tests/test_kernelmanager.py::TestParallel::test_start_sequence_process_kernels[tcp] 54.41s call jupyter_client/tests/test_restarter.py::test_async_restarter_gives_up[tcp] 54.36s call jupyter_client/tests/test_restarter.py::test_async_restarter_gives_up[ipc] 30.02s call jupyter_client/tests/test_kernelmanager.py::TestParallel::test_start_sequence_kernels[tcp] 30.01s call jupyter_client/tests/test_kernelmanager.py::TestParallel::test_start_sequence_kernels[ipc] 29.35s call jupyter_client/tests/test_restarter.py::test_async_restart_check[tcp] =========================== short test summary info ============================ SKIPPED [1] jupyter_client/tests/test_kernelmanager.py:369: IPC transport is currently not working for this test! SKIPPED [1] jupyter_client/tests/test_kernelmanager.py:385: IPC transport is currently not working for this test! SKIPPED [1] jupyter_client/tests/test_kernelmanager.py:401: IPC transport is currently not working for this test! SKIPPED [1] jupyter_client/tests/test_session.py:309: could not import 'msgpack': No module named 'msgpack' ERROR jupyter_client/tests/test_kernelmanager.py::TestAsyncKernelManager::test_lifecycle[AsyncKernelManager-tcp] ERROR jupyter_client/tests/test_kernelmanager.py::TestAsyncKernelManager::test_signal_kernel_subprocesses ERROR jupyter_client/tests/test_kernelmanager.py::TestAsyncKernelManager::test_start_new_async_kernel FAILED jupyter_client/tests/test_kernelmanager.py::TestParallel::test_start_sequence_kernels[tcp] FAILED jupyter_client/tests/test_kernelmanager.py::TestParallel::test_start_sequence_kernels[ipc] FAILED jupyter_client/tests/test_kernelmanager.py::TestParallel::test_start_parallel_thread_kernels[tcp] FAILED jupyter_client/tests/test_kernelmanager.py::TestParallel::test_start_parallel_process_kernels[tcp] FAILED jupyter_client/tests/test_kernelmanager.py::TestParallel::test_start_sequence_process_kernels[tcp] FAILED jupyter_client/tests/test_restarter.py::test_restarter_gives_up[tcp] FAILED jupyter_client/tests/test_restarter.py::test_restarter_gives_up[ipc] FAILED jupyter_client/tests/test_restarter.py::test_async_restart_check[tcp] ======= 8 failed, 165 passed, 4 skipped, 3 errors in 1466.11s (0:24:26) ======== ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix1/build receiving incremental file list python-jupyter_client-7.4.3-1-riscv64-build.log python-jupyter_client-7.4.3-1-riscv64-check.log sent 62 bytes received 14,453 bytes 5,806.00 bytes/sec total size is 207,716 speedup is 14.31