==> Building on luxio ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list ./ .SRCINFO 1,459 100% 0.00kB/s 0:00:00 1,459 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=2/4) PKGBUILD 2,103 100% 2.01MB/s 0:00:00 2,103 100% 2.01MB/s 0:00:00 (xfr#2, to-chk=1/4) jupyter-server-2.11.0-1.log 324 100% 316.41kB/s 0:00:00 324 100% 316.41kB/s 0:00:00 (xfr#3, to-chk=0/4) sent 1,873 bytes received 88 bytes 1,307.33 bytes/sec total size is 3,754 speedup is 1.91 ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root13 on remote host... [?25l:: Synchronizing package databases... core downloading... extra 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] -> [root13]...done ==> Making package: jupyter-server 2.11.0-1 (Wed Nov 22 10:10:48 2023) ==> Retrieving sources...  -> Downloading jupyter_server-2.11.0.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 1 693k 1 12393 0 0 15476 0 0:00:45 --:--:-- 0:00:45 15476 100 693k 100 693k 0 0 859k 0 --:--:-- --:--:-- --:--:-- 110M ==> Validating source files with sha256sums... jupyter_server-2.11.0.tar.gz ... Passed ==> Making package: jupyter-server 2.11.0-1 (Wed Nov 22 10:10:58 2023) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... warning: dependency cycle detected: warning: python-ipykernel will be installed before its python-jupyter-client dependency Package (80) New Version Net Change Download Size core/argon2 20190702-5 0.08 MiB extra/ipython 8.17.2-1 8.72 MiB 1.43 MiB extra/jupyter-nbclient 0.9.0-1 0.24 MiB 0.05 MiB extra/jupyterlab-pygments 0.2.2-1 0.06 MiB core/libnsl 2.0.1-1 0.07 MiB extra/libpgm 5.3.128-3 0.32 MiB extra/libsodium 1.0.19-2 0.41 MiB extra/libyaml 0.2.5-2 0.15 MiB extra/python-argcomplete 2.0.0-2 0.26 MiB extra/python-argon2-cffi-bindings 21.2.0-4 0.05 MiB extra/python-asttokens 2.4.1-1 0.21 MiB extra/python-attrs 22.2.0-3 0.55 MiB extra/python-beautifulsoup4 4.12.2-1 1.68 MiB extra/python-bleach 6.1.0-1 2.07 MiB extra/python-cffi 1.16.0-1 1.41 MiB extra/python-click 8.1.7-1 1.24 MiB extra/python-colorama 0.4.6-2 0.27 MiB extra/python-comm 0.2.0-1 0.05 MiB 0.01 MiB extra/python-dateutil 2.8.2-5 1.05 MiB extra/python-decorator 5.1.1-3 0.07 MiB extra/python-defusedxml 0.7.1-5 0.15 MiB extra/python-executing 2.0.0-1 0.25 MiB extra/python-fastjsonschema 2.19.0-1 0.30 MiB extra/python-idna 3.4-3 0.71 MiB extra/python-importlib-metadata 5.0.0-5 0.20 MiB extra/python-ipykernel 6.26.0-1 1.10 MiB extra/python-jedi 0.19.1-1 6.49 MiB extra/python-json-logger 2.0.7-2 0.04 MiB extra/python-jsonschema 4.19.2-1 1.37 MiB extra/python-jsonschema-specifications 2023.7.1-1 0.05 MiB extra/python-markdown-it-py 3.0.0-1 0.71 MiB extra/python-markupsafe 2.1.3-1 0.08 MiB extra/python-matplotlib-inline 0.1.6-4.1 0.06 MiB extra/python-mdurl 0.1.2-4 0.06 MiB extra/python-mistune 1:2.0.5-1 0.27 MiB extra/python-nest-asyncio 1.5.8-1 0.04 MiB extra/python-pandocfilters 1.5.0-3 0.05 MiB extra/python-parso 1:0.8.3-2 1.01 MiB extra/python-pexpect 4.8.0-7 0.38 MiB extra/python-platformdirs 4.0.0-1 0.23 MiB extra/python-ply 3.11-12 0.40 MiB extra/python-prompt_toolkit 3.0.39-1 4.65 MiB extra/python-psutil 5.9.6-1 3.36 MiB extra/python-ptyprocess 0.7.0-5 0.08 MiB extra/python-pure-eval 0.2.2-3 0.11 MiB extra/python-pycparser 2.21-5 1.77 MiB extra/python-pygments 2.16.1-1 13.80 MiB extra/python-pyrsistent 0.19.3-3 0.63 MiB extra/python-pyzmq 25.1.1-1 2.60 MiB extra/python-referencing 0.30.2-1 0.39 MiB extra/python-rich 13.7.0-1 3.30 MiB 0.52 MiB extra/python-rpds-py 0.10.6-1 0.55 MiB extra/python-six 1.16.0-8 0.12 MiB extra/python-sniffio 1.3.0-3 0.03 MiB extra/python-soupsieve 2.5-1 0.45 MiB extra/python-stack-data 0.6.3-1 0.23 MiB extra/python-tinycss2 1.2.1-2 0.27 MiB extra/python-typing_extensions 4.8.0-1 0.35 MiB extra/python-uc-micro-py 1.0.2-1 0.02 MiB extra/python-wcwidth 0.2.9-1 0.55 MiB extra/python-webencodings 0.5.1-10 0.07 MiB extra/python-yaml 6.0.1-2 0.91 MiB extra/python-zipp 3.17.0-1 0.06 MiB extra/zeromq 4.3.5-2 2.89 MiB extra/jupyter-nbconvert 7.11.0-1 1.57 MiB 0.28 MiB extra/jupyter-nbformat 5.9.2-1 0.68 MiB core/python 3.11.5-2.1 107.29 MiB extra/python-anyio 3.7.1-1 1.19 MiB extra/python-argon2_cffi 23.1.0-1 0.11 MiB extra/python-jinja 1:3.1.2-4 1.82 MiB extra/python-jupyter-client 8.6.0-1 1.18 MiB 0.20 MiB extra/python-jupyter-core 5.5.0-1 0.30 MiB extra/python-jupyter-events 0.9.0-1 0.14 MiB 0.03 MiB extra/python-overrides 7.4.0-1 0.15 MiB extra/python-packaging 23.2-1 0.53 MiB extra/python-prometheus_client 0.18.0-1 0.62 MiB 0.12 MiB extra/python-send2trash 1.8.2-1 0.10 MiB extra/python-tornado 6.3.1-1 5.93 MiB 0.80 MiB extra/python-traitlets 5.13.0-1 1.07 MiB extra/python-websocket-client 1.6.4-1 0.65 MiB Total Download Size: 3.44 MiB Total Installed Size: 193.42 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... ipython-8.17.2-1-any downloading... python-tornado-6.3.1-1-riscv64 downloading... python-rich-13.7.0-1-any downloading... jupyter-nbconvert-7.11.0-1-any downloading... python-jupyter-client-8.6.0-1-any downloading... python-prometheus_client-0.18.0-1-any downloading... jupyter-nbclient-0.9.0-1-any downloading... python-jupyter-events-0.9.0-1-any downloading... python-comm-0.2.0-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: for building Python packages using tooling that is usually bundled with Python python-pip: for installing Python packages using tooling that is usually bundled with Python python-pipx: for installing Python software not packaged on Arch Linux sqlite: for a default database integration [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter installing python-decorator... installing python-parso... installing python-jedi... installing python-argcomplete... installing python-typing_extensions... installing python-traitlets... installing python-matplotlib-inline... Optional dependencies for python-matplotlib-inline python-matplotlib installing python-ptyprocess... installing python-pexpect... installing python-pygments... installing python-wcwidth... installing python-prompt_toolkit... 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 python-pickleshare: for the ip.db database yapf: to auto format with YAPF installing python-platformdirs... installing python-jupyter-core... installing python-attrs... installing python-pyrsistent... installing python-rpds-py... installing python-referencing... installing python-jsonschema-specifications... installing python-jsonschema... Optional dependencies for python-jsonschema python-isoduration: for duration format python-fqdn: for hostname format python-idna: for idn-hostname format [pending] python-jsonpointer: for json-pointer & relative-json-pointer format python-rfc3339-validator: for date-time format python-rfc3987: for iri, iri-reference, uri & uri-reference format python-uri-template: for uri-template format python-webcolors: for color format installing python-fastjsonschema... installing jupyter-nbformat... installing python-dateutil... installing python-zipp... installing python-importlib-metadata... installing python-comm... installing python-nest-asyncio... installing python-psutil... installing libsodium... installing libpgm... installing zeromq... Optional dependencies for zeromq cppzmq: C++ binding for libzmq installing python-pyzmq... installing python-tornado... Optional dependencies for python-tornado python-pycurl: for tornado.curl_httpclient python-twisted: for tornado.platform.twisted installing python-ipykernel... Optional dependencies for python-ipykernel python-debugpy: debugger support installing python-jupyter-client... installing jupyter-nbclient... installing jupyterlab-pygments... installing python-soupsieve... installing python-beautifulsoup4... Optional dependencies for python-beautifulsoup4 python-chardet: to autodetect character encodings python-lxml: alternative HTML parser python-html5lib: alternative HTML parser installing python-packaging... installing python-webencodings... installing python-bleach... Optional dependencies for python-bleach python-tinycss2: for CSS sanitisation [pending] installing python-defusedxml... installing python-markupsafe... installing python-jinja... Optional dependencies for python-jinja python-babel: for i18n support installing python-mistune... installing python-pandocfilters... installing python-tinycss2... installing jupyter-nbconvert... Optional dependencies for jupyter-nbconvert pandoc: non-html conversion output python-pyppeteer: for webPDF conversion support installing python-idna... installing python-sniffio... installing python-anyio... Optional dependencies for python-anyio python-trio: trio backend python-outcome: trio backend python-uvloop: use uvloop for asyncio backend python-pytest: pytest plugin installing python-ply... installing python-pycparser... installing python-cffi... Optional dependencies for python-cffi python-setuptools: "limited api" version checking in cffi.setuptools_ext installing argon2... installing python-argon2-cffi-bindings... installing python-argon2_cffi... installing python-click... installing python-json-logger... installing python-colorama... installing python-uc-micro-py... installing python-mdurl... installing python-markdown-it-py... Optional dependencies for python-markdown-it-py python-mdit_py_plugins: core plugins installing python-rich... installing libyaml... installing python-yaml... installing python-jupyter-events... installing python-overrides... installing python-prometheus_client... installing python-send2trash... installing python-websocket-client... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (22) New Version Net Change Download Size extra/jupyter-server 2.10.1-1 3.35 MiB 0.50 MiB extra/python-charset-normalizer 3.3.2-1 0.47 MiB extra/python-editables 0.5-1 0.03 MiB extra/python-hatchling 1.18.0-2 1.02 MiB extra/python-iniconfig 2.0.0-4 0.04 MiB extra/python-pathspec 0.11.2-1 0.22 MiB extra/python-pluggy 1.3.0-1 0.20 MiB extra/python-pyproject-hooks 1.0.0-5 0.09 MiB extra/python-trove-classifiers 2023.11.14-1 0.11 MiB extra/python-urllib3 1.26.15-1 1.30 MiB extra/python-build 1.0.3-1 0.68 MiB extra/python-flaky 3.7.0-8 0.18 MiB extra/python-hatch-jupyter-builder 0.8.3-2 0.14 MiB extra/python-installer 0.7.0-3 0.82 MiB extra/python-jupyter-server-terminals 0.4.4-4 0.08 MiB extra/python-pytest 7.4.3-1 4.02 MiB extra/python-pytest-console-scripts 1.4.1-1 0.07 MiB extra/python-pytest-jupyter 0.7.0-3.1 0.12 MiB extra/python-pytest-timeout 2.2.0-1 0.08 MiB extra/python-pytest-tornasync 0.6.0.post2-5 0.03 MiB extra/python-requests 2.31.0-1 0.61 MiB extra/python-terminado 0.18.0-1 0.10 MiB 0.03 MiB Total Download Size: 0.52 MiB Total Installed Size: 13.75 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... jupyter-server-2.10.1-1-any downloading... python-terminado-0.18.0-1-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing python-pyproject-hooks... installing python-build... Optional dependencies for python-build python-virtualenv: Use virtualenv for build isolation installing python-pathspec... installing python-pluggy... installing python-editables... installing python-trove-classifiers... installing python-hatchling... installing python-hatch-jupyter-builder... installing python-installer... installing python-flaky... installing jupyter-server... Optional dependencies for jupyter-server jupyter-server-mathjax: to use local MathJax python-jupyter-server-terminals: terminals support [pending] installing python-terminado... installing python-jupyter-server-terminals... installing python-iniconfig... installing python-pytest... installing python-pytest-console-scripts... installing python-pytest-jupyter... installing python-pytest-timeout... installing python-pytest-tornasync... installing python-charset-normalizer... installing python-urllib3... Optional dependencies for python-urllib3 python-brotli: Brotli support python-certifi: security support python-cryptography: security support python-idna: security support [installed] python-pyopenssl: security support python-pysocks: SOCKS support installing python-requests... Optional dependencies for python-requests python-chardet: alternative character encoding library python-pysocks: SOCKS proxy support [?25h==> Retrieving sources...  -> Found jupyter_server-2.11.0.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting jupyter_server-2.11.0.tar.gz with bsdtar ==> Starting prepare()... ==> Starting build()... * Getting build dependencies for wheel... * Building wheel... INFO:hatch_jupyter_builder.utils:Running jupyter-builder INFO:hatch_jupyter_builder.utils:Skip-if-exists file(s) found INFO:hatch_jupyter_builder.utils:Skipping build INFO:hatch_jupyter_builder.utils:Ensured target(s) exist! INFO:hatch_jupyter_builder.utils:Finished running jupyter-builder Successfully built jupyter_server-2.11.0-py3-none-any.whl ==> Starting check()... ============================= test session starts ============================== platform linux -- Python 3.11.5, pytest-7.4.3, pluggy-1.3.0 -- /build/jupyter-server/src/jupyter_server-2.11.0/test-env/bin/python cachedir: .pytest_cache rootdir: /build/jupyter-server/src/jupyter_server-2.11.0 configfile: pyproject.toml testpaths: tests/ plugins: anyio-3.7.1, flaky-3.7.0, console-scripts-1.4.1, timeout-2.2.0, tornasync-0.6.0.post2 timeout: 100.0s timeout method: thread timeout func_only: False collecting ... collected 963 items / 476 deselected / 487 selected tests/test_config_manager.py::test_json PASSED [ 0%] tests/test_files.py::test_file_types[jupyter_server.files.handlers.FilesHandler] PASSED [ 0%] tests/test_files.py::test_file_types[jupyter_server.base.handlers.AuthenticatedFileHandler] PASSED [ 0%] tests/test_files.py::test_hidden_files[maybe_hidden0-jupyter_server.files.handlers.FilesHandler] PASSED [ 0%] tests/test_files.py::test_hidden_files[maybe_hidden0-jupyter_server.base.handlers.AuthenticatedFileHandler] PASSED [ 1%] tests/test_files.py::test_hidden_files[maybe_hidden1-jupyter_server.files.handlers.FilesHandler] PASSED [ 1%] tests/test_files.py::test_hidden_files[maybe_hidden1-jupyter_server.base.handlers.AuthenticatedFileHandler] PASSED [ 1%] tests/test_files.py::test_hidden_files[maybe_hidden2-jupyter_server.files.handlers.FilesHandler] PASSED [ 1%] tests/test_files.py::test_hidden_files[maybe_hidden2-jupyter_server.base.handlers.AuthenticatedFileHandler] PASSED [ 1%] tests/test_files.py::test_hidden_files[maybe_hidden3-jupyter_server.files.handlers.FilesHandler] PASSED [ 2%] tests/test_files.py::test_hidden_files[maybe_hidden3-jupyter_server.base.handlers.AuthenticatedFileHandler] PASSED [ 2%] tests/test_files.py::test_regression_is_hidden[jupyter_server.files.handlers.FilesHandler] PASSED [ 2%] tests/test_files.py::test_regression_is_hidden[jupyter_server.base.handlers.AuthenticatedFileHandler] PASSED [ 2%] tests/test_files.py::test_contents_manager[jupyter_server.files.handlers.FilesHandler] PASSED [ 2%] tests/test_files.py::test_contents_manager[jupyter_server.base.handlers.AuthenticatedFileHandler] PASSED [ 3%] tests/test_files.py::test_save_hooks[jupyter_server.files.handlers.FilesHandler] PASSED [ 3%] tests/test_files.py::test_save_hooks[jupyter_server.base.handlers.AuthenticatedFileHandler] PASSED [ 3%] tests/test_files.py::test_download[jupyter_server.files.handlers.FilesHandler] PASSED [ 3%] tests/test_files.py::test_download[jupyter_server.base.handlers.AuthenticatedFileHandler] PASSED [ 3%] tests/test_files.py::test_old_files_redirect[jupyter_server.files.handlers.FilesHandler] PASSED [ 4%] tests/test_files.py::test_old_files_redirect[jupyter_server.base.handlers.AuthenticatedFileHandler] PASSED [ 4%] tests/test_gateway.py::test_gateway_env_options PASSED [ 4%] tests/test_gateway.py::test_gateway_cli_options PASSED [ 4%] tests/test_gateway.py::test_token_renewer_config[default-] PASSED [ 4%] tests/test_gateway.py::test_token_renewer_config[custom-None] PASSED [ 5%] tests/test_gateway.py::test_token_renewer_config[custom-] PASSED [ 5%] tests/test_gateway.py::test_gateway_request_timeout_pad_option[50-10-50-45] PASSED [ 5%] tests/test_gateway.py::test_gateway_request_timeout_pad_option[10-50-55-50] PASSED [ 5%] tests/test_gateway.py::test_gateway_request_with_expiring_cookies[False-None-None-EXISTING=1-False] PASSED [ 5%] tests/test_gateway.py::test_gateway_request_with_expiring_cookies[True-None-None-EXISTING=1-True] PASSED [ 6%] tests/test_gateway.py::test_gateway_request_with_expiring_cookies[True-Expires-Wed, 22 Nov 2023 09:14:53 +0000-None-True] PASSED [ 6%] tests/test_gateway.py::test_gateway_request_with_expiring_cookies[True-Max-Age--360-EXISTING=1-False] PASSED [ 6%] tests/test_gateway.py::test_gateway_class_mappings PASSED [ 6%] tests/test_gateway.py::test_gateway_get_kernelspecs PASSED [ 6%] tests/test_gateway.py::test_gateway_get_named_kernelspec PASSED [ 7%] tests/test_gateway.py::test_gateway_session_lifecycle[False] PASSED [ 7%] tests/test_gateway.py::test_gateway_session_lifecycle[True] PASSED [ 7%] tests/test_gateway.py::test_gateway_kernel_lifecycle[False] PASSED [ 7%] tests/test_gateway.py::test_gateway_kernel_lifecycle[True] PASSED [ 8%] tests/test_gateway.py::test_gateway_shutdown[True] PASSED [ 8%] tests/test_gateway.py::test_gateway_shutdown[False] PASSED [ 8%] tests/test_gateway.py::test_kernel_client_response_router_notifies_channel_queue_when_finished PASSED [ 8%] tests/test_gateway.py::test_channel_queue_get_msg_with_invalid_timeout PASSED [ 8%] tests/test_gateway.py::test_channel_queue_get_msg_raises_empty_after_timeout PASSED [ 9%] tests/test_gateway.py::test_channel_queue_get_msg_without_timeout PASSED [ 9%] tests/test_gateway.py::test_channel_queue_get_msg_with_existing_item PASSED [ 9%] tests/test_gateway.py::test_channel_queue_get_msg_when_response_router_had_finished PASSED [ 9%] tests/test_gateway.py::test_websocket_connection_closed PASSED [ 9%] tests/test_paths.py::test_path_regex PASSED [ 10%] tests/test_paths.py::test_path_regex_bad PASSED [ 10%] tests/test_paths.py::test_trailing_slash[/notebooks/mynotebook/-/notebooks/mynotebook] PASSED [ 10%] tests/test_paths.py::test_trailing_slash[////foo///-/foo] PASSED [ 10%] tests/test_paths.py::test_trailing_slash[//example.com/-/example.com] PASSED [ 10%] tests/test_paths.py::test_trailing_slash[/has/param/?hasparam=true-/has/param?hasparam=true] PASSED [ 11%] tests/test_serialize.py::test_serialize_binary PASSED [ 11%] tests/test_serialize.py::test_deserialize_binary PASSED [ 11%] tests/test_serverapp.py::test_help_output PASSED [ 11%] tests/test_serverapp.py::test_server_list[json] PASSED [ 11%] tests/test_serverapp.py::test_server_list[jsonlist] PASSED [ 12%] tests/test_serverapp.py::test_server_list[] PASSED [ 12%] tests/test_serverapp.py::test_server_info_file PASSED [ 12%] tests/test_serverapp.py::test_root_dir PASSED [ 12%] tests/test_serverapp.py::test_invalid_root_dir[invalid_root_dir0] PASSED [ 12%] tests/test_serverapp.py::test_invalid_root_dir[invalid_root_dir1] PASSED [ 13%] tests/test_serverapp.py::test_invalid_root_dir[invalid_root_dir2] PASSED [ 13%] tests/test_serverapp.py::test_valid_root_dir[valid_root_dir0] PASSED [ 13%] tests/test_serverapp.py::test_valid_root_dir[valid_root_dir1] PASSED [ 13%] tests/test_serverapp.py::test_valid_root_dir[valid_root_dir2] PASSED [ 13%] tests/test_serverapp.py::test_generate_config PASSED [ 14%] tests/test_serverapp.py::test_server_password PASSED [ 14%] tests/test_serverapp.py::test_list_running_servers PASSED [ 14%] tests/test_serverapp.py::test_resolve_file_to_run_and_root_dir[None-notebook.ipynb-notebook.ipynb] PASSED [ 14%] tests/test_serverapp.py::test_resolve_file_to_run_and_root_dir[None-/tmp_path/path/to/notebook.ipynb-notebook.ipynb] PASSED [ 14%] tests/test_serverapp.py::test_resolve_file_to_run_and_root_dir[/jp_root_dir-/tmp_path/path/to/notebook.ipynb-SystemExit] PASSED [ 15%] tests/test_serverapp.py::test_resolve_file_to_run_and_root_dir[/tmp_path-/tmp_path/path/to/notebook.ipynb-path/to/notebook.ipynb] PASSED [ 15%] tests/test_serverapp.py::test_resolve_file_to_run_and_root_dir[/jp_root_dir-notebook.ipynb-notebook.ipynb] PASSED [ 15%] tests/test_serverapp.py::test_resolve_file_to_run_and_root_dir[/jp_root_dir-path/to/notebook.ipynb-path/to/notebook.ipynb] PASSED [ 15%] tests/test_serverapp.py::test_urls[config0-http://localhost:8888/?token=...-http://127.0.0.1:8888/?token=...-http://localhost:8888/] PASSED [ 16%] tests/test_serverapp.py::test_urls[config1-http://localhost:9999/?token=-http://127.0.0.1:9999/?token=-http://localhost:9999/] PASSED [ 16%] tests/test_serverapp.py::test_urls[config2-http://1.1.1.1:8888/?token=-http://127.0.0.1:8888/?token=-http://1.1.1.1:8888/] PASSED [ 16%] tests/test_serverapp.py::test_urls[config3-https://localhost:8888/?token=-https://127.0.0.1:8888/?token=-https://localhost:8888/] PASSED [ 16%] tests/test_serverapp.py::test_urls[config4-http://test.org/?token=-http://127.0.0.1:9999/?token=-http://localhost:9999/] PASSED [ 16%] tests/test_serverapp.py::test_urls[config5-http://localhost:8888/test/?token=-http://127.0.0.1:8888/test/?token=-http://localhost:8888/] PASSED [ 17%] tests/test_serverapp.py::test_urls[config6-http+unix://%2Ftmp%2Fjp-test.sock/?token=-http+unix://%2Ftmp%2Fjp-test.sock/?token=-http+unix://%2Ftmp%2Fjp-test.sock/] PASSED [ 17%] tests/test_serverapp.py::test_urls[config7-http+unix://%2Ftmp%2Fjp-test.sock/test/?token=-http+unix://%2Ftmp%2Fjp-test.sock/test/?token=-http+unix://%2Ftmp%2Fjp-test.sock/] PASSED [ 17%] tests/test_serverapp.py::test_urls[config8-http://localhost:8888/?token=-http://127.0.0.1:8888/?token=-http://localhost:8888/] PASSED [ 17%] tests/test_serverapp.py::test_valid_preferred_dir PASSED [ 17%] tests/test_serverapp.py::test_valid_preferred_dir_is_root_subdir PASSED [ 18%] tests/test_serverapp.py::test_valid_preferred_dir_does_not_exist PASSED [ 18%] tests/test_serverapp.py::test_preferred_dir_validation_sync_regression[FileContentsManager] PASSED [ 18%] tests/test_serverapp.py::test_preferred_dir_validation_sync_regression[AsyncFileContentsManager] PASSED [ 18%] tests/test_serverapp.py::test_preferred_dir_validation[cli-cli-ServerApp] PASSED [ 18%] tests/test_serverapp.py::test_preferred_dir_validation[cli-cli-FileContentsManager] PASSED [ 19%] tests/test_serverapp.py::test_preferred_dir_validation[cli-config-ServerApp] PASSED [ 19%] tests/test_serverapp.py::test_preferred_dir_validation[cli-config-FileContentsManager] PASSED [ 19%] tests/test_serverapp.py::test_preferred_dir_validation[cli-default-ServerApp] PASSED [ 19%] tests/test_serverapp.py::test_preferred_dir_validation[cli-default-FileContentsManager] PASSED [ 19%] tests/test_serverapp.py::test_preferred_dir_validation[config-cli-ServerApp] PASSED [ 20%] tests/test_serverapp.py::test_preferred_dir_validation[config-cli-FileContentsManager] PASSED [ 20%] tests/test_serverapp.py::test_preferred_dir_validation[config-config-ServerApp] PASSED [ 20%] tests/test_serverapp.py::test_preferred_dir_validation[config-config-FileContentsManager] PASSED [ 20%] tests/test_serverapp.py::test_preferred_dir_validation[config-default-ServerApp] PASSED [ 20%] tests/test_serverapp.py::test_preferred_dir_validation[config-default-FileContentsManager] PASSED [ 21%] tests/test_serverapp.py::test_preferred_dir_validation[default-cli-ServerApp] PASSED [ 21%] tests/test_serverapp.py::test_preferred_dir_validation[default-cli-FileContentsManager] PASSED [ 21%] tests/test_serverapp.py::test_preferred_dir_validation[default-config-ServerApp] PASSED [ 21%] tests/test_serverapp.py::test_preferred_dir_validation[default-config-FileContentsManager] PASSED [ 21%] tests/test_serverapp.py::test_preferred_dir_validation[default-default-ServerApp] PASSED [ 22%] tests/test_serverapp.py::test_preferred_dir_validation[default-default-FileContentsManager] PASSED [ 22%] tests/test_serverapp.py::test_invalid_preferred_dir_does_not_exist PASSED [ 22%] tests/test_serverapp.py::test_invalid_preferred_dir_does_not_exist_set PASSED [ 22%] tests/test_serverapp.py::test_invalid_preferred_dir_not_root_subdir PASSED [ 22%] tests/test_serverapp.py::test_invalid_preferred_dir_not_root_subdir_set PASSED [ 23%] tests/test_serverapp.py::test_absolute_preferred_dir_not_root_subdir_set PASSED [ 23%] tests/test_serverapp.py::test_random_ports PASSED [ 23%] tests/test_serverapp.py::test_server_web_application PASSED [ 23%] tests/test_serverapp.py::test_misc PASSED [ 24%] tests/test_serverapp.py::test_deprecated_props PASSED [ 24%] tests/test_serverapp.py::test_signals PASSED [ 24%] tests/test_serverapp.py::test_shutdown_no_activity PASSED [ 24%] tests/test_serverapp.py::test_running_server_info PASSED [ 24%] tests/test_serverapp.py::test_browser_open_files[True] PASSED [ 25%] tests/test_serverapp.py::test_browser_open_files[False] PASSED [ 25%] tests/test_serverapp.py::test_deprecated_notebook_dir_priority PASSED [ 25%] tests/test_serverapp.py::test_immutable_cache_trait PASSED [ 25%] tests/test_terminal.py::test_no_terminals PASSED [ 25%] tests/test_terminal.py::test_terminal_create PASSED [ 26%] tests/test_terminal.py::test_terminal_create_with_kwargs PASSED [ 26%] tests/test_terminal.py::test_terminal_create_with_cwd PASSED [ 26%] tests/test_terminal.py::test_terminal_create_with_relative_cwd SKIPPED [ 26%] tests/test_terminal.py::test_terminal_create_with_bad_cwd SKIPPED (N...) [ 26%] tests/test_terminal.py::test_culling_config PASSED [ 27%] tests/test_terminal.py::test_culling PASSED [ 27%] tests/test_terminal.py::test_shell_command_override[shell_command="['/path/to/shell', '-l']"-expected_shell0-5.4] PASSED [ 27%] tests/test_terminal.py::test_shell_command_override[shell_command="/string/path/to/shell -l"-expected_shell1-5.1] PASSED [ 27%] tests/test_terminal.py::test_importing_shims PASSED [ 27%] tests/test_traittypes.py::TestInstanceFromClasses::test_good_values[1] PASSED [ 28%] tests/test_traittypes.py::TestInstanceFromClasses::test_good_values[test] PASSED [ 28%] tests/test_traittypes.py::TestInstanceFromClasses::test_good_values[value2] PASSED [ 28%] tests/test_traittypes.py::TestInstanceFromClasses::test_bad_values[2.4] PASSED [ 28%] tests/test_traittypes.py::TestInstanceFromClasses::test_bad_values[value1] PASSED [ 28%] tests/test_traittypes.py::TestTypeFromClasses::test_good_values[DummyClass] PASSED [ 29%] tests/test_traittypes.py::TestTypeFromClasses::test_good_values[DummyInt] PASSED [ 29%] tests/test_traittypes.py::TestTypeFromClasses::test_good_values[LargeFileManager] PASSED [ 29%] tests/test_traittypes.py::TestTypeFromClasses::test_good_values[jupyter_server.services.contents.manager.ContentsManager] PASSED [ 29%] tests/test_traittypes.py::TestTypeFromClasses::test_bad_values[float] PASSED [ 29%] tests/test_traittypes.py::TestTypeFromClasses::test_bad_values[object] PASSED [ 30%] tests/test_utils.py::test_help_output PASSED [ 30%] tests/test_utils.py::test_url_escaping[/this is a test/for spaces/-/this%20is%20a%20test/for%20spaces/] PASSED [ 30%] tests/test_utils.py::test_url_escaping[notebook with space.ipynb-notebook%20with%20space.ipynb] PASSED [ 30%] tests/test_utils.py::test_url_escaping[/path with a/notebook and space.ipynb-/path%20with%20a/notebook%20and%20space.ipynb] PASSED [ 31%] tests/test_utils.py::test_url_escaping[/ !@$#%^&* / test %^ notebook @#$ name.ipynb-/%20%21%40%24%23%25%5E%26%2A%20/%20test%20%25%5E%20notebook%20%40%23%24%20name.ipynb] PASSED [ 31%] tests/test_utils.py::test_is_namespace_package[test_namespace-True] PASSED [ 31%] tests/test_utils.py::test_is_namespace_package[sys-False] PASSED [ 31%] tests/test_utils.py::test_is_namespace_package[jupyter_server-False] PASSED [ 31%] tests/test_utils.py::test_is_namespace_package[not_a_python_namespace-None] PASSED [ 32%] tests/test_utils.py::test_is_namespace_package_no_spec PASSED [ 32%] tests/test_utils.py::test_path_utils PASSED [ 32%] tests/test_utils.py::test_check_version PASSED [ 32%] tests/test_utils.py::test_check_pid PASSED [ 32%] tests/test_utils.py::test_run_sync_in_loop PASSED [ 33%] tests/test_utils.py::test_unix_socket_in_use PASSED [ 33%] tests/test_version.py::test_invalid_pep440_versions[4.1.0.b1] PASSED [ 33%] tests/test_version.py::test_invalid_pep440_versions[4.1.b1] PASSED [ 33%] tests/test_version.py::test_invalid_pep440_versions[4.2] PASSED [ 33%] tests/test_version.py::test_invalid_pep440_versions[X.y.z] PASSED [ 34%] tests/test_version.py::test_invalid_pep440_versions[1.2.3.dev1.post2] PASSED [ 34%] tests/test_version.py::test_valid_pep440_versions[4.1.1] PASSED [ 34%] tests/test_version.py::test_valid_pep440_versions[4.2.1b3] PASSED [ 34%] tests/test_version.py::test_current_version PASSED [ 34%] tests/test_view.py::test_view[False-nosuchfile.html] PASSED [ 35%] tests/test_view.py::test_view[False-nosuchfile.bin] PASSED [ 35%] tests/test_view.py::test_view[True-exists.html] PASSED [ 35%] tests/test_view.py::test_view[True-exists.bin] PASSED [ 35%] tests/auth/test_identity.py::test_identity_model[str-name-expected0] PASSED [ 35%] tests/auth/test_identity.py::test_identity_model[old_user1-expected1] PASSED [ 36%] tests/auth/test_identity.py::test_identity_model[old_user2-expected2] PASSED [ 36%] tests/auth/test_identity.py::test_identity_model[old_user3-expected3] PASSED [ 36%] tests/auth/test_identity.py::test_identity_model[old_user4-ValueError] PASSED [ 36%] tests/auth/test_identity.py::test_identity_model[old_user5-ValueError] PASSED [ 36%] tests/auth/test_identity.py::test_user_defaults[fields0-TypeError] PASSED [ 37%] tests/auth/test_identity.py::test_user_defaults[fields1-expected1] PASSED [ 37%] tests/auth/test_identity.py::test_user_defaults[fields2-expected2] PASSED [ 37%] tests/auth/test_identity.py::test_user_defaults[fields3-expected3] PASSED [ 37%] tests/auth/test_identity.py::test_validate_security[--None-highly insecure] PASSED [ 37%] tests/auth/test_identity.py::test_validate_security[--ssl1-all IP addresses] PASSED [ 38%] tests/auth/test_identity.py::test_validate_security[-secret-None-and not using encryption] PASSED [ 38%] tests/auth/test_identity.py::test_validate_security[-secret-ssl3-False] PASSED [ 38%] tests/auth/test_identity.py::test_validate_security[127.0.0.1-secret-None-False] PASSED [ 38%] tests/auth/test_identity.py::test_password_required[True-False-True] PASSED [ 39%] tests/auth/test_identity.py::test_password_required[True-True-True] PASSED [ 39%] tests/auth/test_identity.py::test_password_required[False-False-True] PASSED [ 39%] tests/auth/test_identity.py::test_password_required[False-True-False] PASSED [ 39%] tests/auth/test_identity.py::test_auth_disabled PASSED [ 39%] tests/auth/test_legacy_login.py::test_password_required[True-False-True] PASSED [ 40%] tests/auth/test_legacy_login.py::test_password_required[True-True-True] PASSED [ 40%] tests/auth/test_legacy_login.py::test_password_required[False-False-True] PASSED [ 40%] tests/auth/test_legacy_login.py::test_password_required[False-True-False] PASSED [ 40%] tests/auth/test_legacy_login.py::test_validate_security[--None-highly insecure] PASSED [ 40%] tests/auth/test_legacy_login.py::test_validate_security[--ssl1-all IP addresses] PASSED [ 41%] tests/auth/test_legacy_login.py::test_validate_security[-secret-None-and not using encryption] PASSED [ 41%] tests/auth/test_legacy_login.py::test_validate_security[-secret-ssl3-False] PASSED [ 41%] tests/auth/test_legacy_login.py::test_validate_security[127.0.0.1-secret-None-False] PASSED [ 41%] tests/auth/test_legacy_login.py::test_change_password[True] PASSED [ 41%] tests/auth/test_legacy_login.py::test_change_password[False] PASSED [ 42%] tests/auth/test_legacy_login.py::test_login_cookie PASSED [ 42%] tests/auth/test_legacy_login.py::test_logout PASSED [ 42%] tests/auth/test_legacy_login.py::test_legacy_identity_config PASSED [ 42%] tests/auth/test_legacy_login.py::test_legacy_identity_api PASSED [ 42%] tests/auth/test_legacy_login.py::test_legacy_base_class PASSED [ 43%] tests/auth/test_legacy_login.py::test_deprecated_config PASSED [ 43%] tests/auth/test_legacy_login.py::test_deprecated_config_priority PASSED [ 43%] tests/auth/test_login.py::test_next_bad[\\\\tree] PASSED [ 43%] tests/auth/test_login.py::test_next_bad[//some-host] PASSED [ 43%] tests/auth/test_login.py::test_next_bad[//host{base_url}tree] PASSED [ 44%] tests/auth/test_login.py::test_next_bad[https://google.com] PASSED [ 44%] tests/auth/test_login.py::test_next_bad[/absolute/not/base_url] PASSED [ 44%] tests/auth/test_login.py::test_next_bad[https:///a%40b/extra/slash] PASSED [ 44%] tests/auth/test_login.py::test_next_ok[tree/] PASSED [ 44%] tests/auth/test_login.py::test_next_ok[//{base_url}tree] PASSED [ 45%] tests/auth/test_login.py::test_next_ok[notebooks/notebook.ipynb] PASSED [ 45%] tests/auth/test_login.py::test_next_ok[tree//something] PASSED [ 45%] tests/auth/test_login.py::test_login_cookie PASSED [ 45%] tests/auth/test_login.py::test_change_password[True] PASSED [ 45%] tests/auth/test_login.py::test_change_password[False] PASSED [ 46%] tests/auth/test_login.py::test_logout PASSED [ 46%] tests/auth/test_login.py::test_token_cookie_user_id PASSED [ 46%] tests/auth/test_security.py::test_passwd_structure PASSED [ 46%] tests/auth/test_security.py::test_roundtrip PASSED [ 47%] tests/auth/test_security.py::test_bad PASSED [ 47%] tests/auth/test_security.py::test_passwd_check_unicode PASSED [ 47%] tests/auth/test_utils.py::test_match_url_to_resource[/api/kernels-kernels] PASSED [ 47%] tests/auth/test_utils.py::test_match_url_to_resource[/api/kernelspecs-kernelspecs] PASSED [ 47%] tests/auth/test_utils.py::test_match_url_to_resource[/api/contents-contents] PASSED [ 48%] tests/auth/test_utils.py::test_match_url_to_resource[/api/sessions-sessions] PASSED [ 48%] tests/auth/test_utils.py::test_match_url_to_resource[/api/terminals-terminals] PASSED [ 48%] tests/auth/test_utils.py::test_match_url_to_resource[/api/nbconvert-nbconvert] PASSED [ 48%] tests/auth/test_utils.py::test_match_url_to_resource[/api/config/x-config] PASSED [ 48%] tests/auth/test_utils.py::test_match_url_to_resource[/api/shutdown-server] PASSED [ 49%] tests/auth/test_utils.py::test_match_url_to_resource[/nbconvert/py-nbconvert] PASSED [ 49%] tests/auth/test_utils.py::test_bad_match_url_to_resource[/made/up/url] PASSED [ 49%] tests/auth/test_utils.py::test_bad_match_url_to_resource[/api/kernel] PASSED [ 49%] tests/auth/test_utils.py::test_bad_match_url_to_resource[/tree] PASSED [ 49%] tests/base/test_call_context.py::test_jupyter_handler_contextvar PASSED [ 50%] tests/base/test_call_context.py::test_context_variable_names PASSED [ 50%] tests/base/test_call_context.py::test_same_context_operations PASSED [ 50%] tests/base/test_call_context.py::test_multi_context_operations PASSED [ 50%] tests/base/test_handlers.py::test_authenticated_handler PASSED [ 50%] tests/base/test_handlers.py::test_jupyter_handler PASSED [ 51%] tests/base/test_handlers.py::test_api_handler PASSED [ 51%] tests/base/test_handlers.py::test_authenticated_file_handler PASSED [ 51%] tests/base/test_handlers.py::test_api_version_handler PASSED [ 51%] tests/base/test_handlers.py::test_files_redirect_handler PASSED [ 51%] tests/base/test_handlers.py::test_redirect_with_params PASSED [ 52%] tests/base/test_handlers.py::test_static_handler PASSED [ 52%] tests/base/test_websocket.py::test_web_socket_mixin PASSED [ 52%] tests/base/test_websocket.py::test_web_socket_mixin_ping PASSED [ 52%] tests/base/test_websocket.py::test_ping_client_terminated PASSED [ 52%] tests/base/test_websocket.py::test_ping_client_timeout PASSED [ 53%] tests/extension/test_app.py::test_initialize PASSED [ 53%] tests/extension/test_app.py::test_instance_creation_with_argv[mock_trait-test mock trait-jp_argv0] PASSED [ 53%] tests/extension/test_app.py::test_extensionapp_load_config_file PASSED [ 53%] tests/extension/test_app.py::test_extensionapp_no_parent PASSED [ 54%] tests/extension/test_app.py::test_browser_open[True-config0] PASSED [ 54%] tests/extension/test_app.py::test_browser_open[True-config1] PASSED [ 54%] tests/extension/test_app.py::test_browser_open[False-config2] PASSED [ 54%] tests/extension/test_app.py::test_browser_open[True-config3] PASSED [ 54%] tests/extension/test_app.py::test_browser_open[False-config4] PASSED [ 55%] tests/extension/test_app.py::test_browser_open[True-config5] PASSED [ 55%] tests/extension/test_app.py::test_browser_open[False-config6] PASSED [ 55%] tests/extension/test_app.py::test_browser_open[True-config7] PASSED [ 55%] tests/extension/test_app.py::test_browser_open[False-config8] PASSED [ 55%] tests/extension/test_app.py::test_load_parallel_extensions PASSED [ 56%] tests/extension/test_app.py::test_stop_extension PASSED [ 56%] tests/extension/test_app.py::test_events PASSED [ 56%] tests/extension/test_config.py::test_list_extension_from_configd PASSED [ 56%] tests/extension/test_entrypoint.py::test_server_extension_list[subprocess] PASSED [ 56%] tests/extension/test_handler.py::test_handler PASSED [ 57%] tests/extension/test_handler.py::test_handler_template PASSED [ 57%] tests/extension/test_handler.py::test_handler_setting[jp_server_config0] PASSED [ 57%] tests/extension/test_handler.py::test_handler_argv[jp_argv0] PASSED [ 57%] tests/extension/test_handler.py::test_base_url[jp_server_config0-/test_prefix/] PASSED [ 57%] tests/extension/test_launch.py::test_launch_instance PASSED [ 58%] tests/extension/test_launch.py::test_base_url PASSED [ 58%] tests/extension/test_launch.py::test_token_file PASSED [ 58%] tests/extension/test_manager.py::test_extension_point_api PASSED [ 58%] tests/extension/test_manager.py::test_extension_point_metadata_error PASSED [ 58%] tests/extension/test_manager.py::test_extension_point_notfound_error PASSED [ 59%] tests/extension/test_manager.py::test_extension_package_api PASSED [ 59%] tests/extension/test_manager.py::test_extension_package_notfound_error PASSED [ 59%] tests/extension/test_manager.py::test_extension_manager_api PASSED [ 59%] tests/extension/test_manager.py::test_extension_manager_linked_extensions PASSED [ 59%] tests/extension/test_manager.py::test_extension_manager_fail_add[True] PASSED [ 60%] tests/extension/test_manager.py::test_extension_manager_fail_add[False] PASSED [ 60%] tests/extension/test_manager.py::test_extension_manager_fail_link[True] PASSED [ 60%] tests/extension/test_manager.py::test_extension_manager_fail_link[False] PASSED [ 60%] tests/extension/test_manager.py::test_extension_manager_fail_load[True] PASSED [ 60%] tests/extension/test_manager.py::test_extension_manager_fail_load[False] PASSED [ 61%] tests/extension/test_manager.py::test_disable_no_import[True] PASSED [ 61%] tests/extension/test_manager.py::test_disable_no_import[False] PASSED [ 61%] tests/extension/test_serverextension.py::test_help_output PASSED [ 61%] tests/extension/test_serverextension.py::test_enable PASSED [ 62%] tests/extension/test_serverextension.py::test_disable PASSED [ 62%] tests/extension/test_serverextension.py::test_merge_config PASSED [ 62%] tests/extension/test_serverextension.py::test_load_ordered[jp_server_config0] PASSED [ 62%] tests/extension/test_serverextension.py::test_server_extension_apps PASSED [ 62%] tests/extension/test_serverextension.py::test_server_extension_app PASSED [ 63%] tests/extension/test_utils.py::test_validate_extension PASSED [ 63%] tests/extension/test_utils.py::test_get_loader PASSED [ 63%] tests/extension/test_utils.py::test_get_metadata PASSED [ 63%] tests/nbconvert/test_handlers.py::test_from_file SKIPPED (Command 'p...) [ 63%] tests/nbconvert/test_handlers.py::test_from_file_404 SKIPPED (Comman...) [ 64%] tests/nbconvert/test_handlers.py::test_from_file_download SKIPPED (C...) [ 64%] tests/nbconvert/test_handlers.py::test_from_file_zip SKIPPED (Comman...) [ 64%] tests/nbconvert/test_handlers.py::test_from_post SKIPPED (Command 'p...) [ 64%] tests/nbconvert/test_handlers.py::test_from_post_zip SKIPPED (Comman...) [ 64%] tests/services/contents/test_checkpoints.py::test_checkpoints_follow_file[contents_manager0] PASSED [ 65%] tests/services/contents/test_checkpoints.py::test_checkpoints_follow_file[contents_manager1] PASSED [ 65%] tests/services/contents/test_checkpoints.py::test_checkpoints_follow_file[contents_manager2] PASSED [ 65%] tests/services/contents/test_checkpoints.py::test_checkpoints_follow_file[contents_manager3] PASSED [ 65%] tests/services/contents/test_checkpoints.py::test_nb_checkpoints[contents_manager0] PASSED [ 65%] tests/services/contents/test_checkpoints.py::test_nb_checkpoints[contents_manager1] PASSED [ 66%] tests/services/contents/test_checkpoints.py::test_nb_checkpoints[contents_manager2] PASSED [ 66%] tests/services/contents/test_checkpoints.py::test_nb_checkpoints[contents_manager3] PASSED [ 66%] tests/services/contents/test_checkpoints.py::test_file_checkpoints[contents_manager0] PASSED [ 66%] tests/services/contents/test_checkpoints.py::test_file_checkpoints[contents_manager1] PASSED [ 66%] tests/services/contents/test_checkpoints.py::test_file_checkpoints[contents_manager2] PASSED [ 67%] tests/services/contents/test_checkpoints.py::test_file_checkpoints[contents_manager3] PASSED [ 67%] tests/services/contents/test_config.py::test_config_did_something[AsyncGenericFileCheckpoints] PASSED [ 67%] tests/services/contents/test_config.py::test_config_did_something[AsyncFileCheckpoints] PASSED [ 67%] tests/services/contents/test_config.py::test_pre_post_save_hook_config[jp_server_config0] PASSED [ 67%] tests/services/contents/test_config.py::test_async_contents_manager[AsyncGenericFileCheckpoints] PASSED [ 68%] tests/services/contents/test_config.py::test_async_contents_manager[AsyncFileCheckpoints] PASSED [ 68%] tests/services/contents/test_fileio.py::test_atomic_writing PASSED [ 68%] tests/services/contents/test_fileio.py::test_atomic_writing_umask PASSED [ 68%] tests/services/contents/test_fileio.py::test_atomic_writing_newlines PASSED [ 68%] tests/services/contents/test_fileio.py::test_path_to_invalid PASSED [ 69%] tests/services/contents/test_fileio.py::test_file_manager_mixin PASSED [ 69%] tests/services/contents/test_fileio.py::test_async_file_manager_mixin PASSED [ 69%] tests/services/contents/test_largefilemanager.py::test_save[LargeFileManager] PASSED [ 69%] tests/services/contents/test_largefilemanager.py::test_save[AsyncLargeFileManager] PASSED [ 70%] tests/services/contents/test_largefilemanager.py::test_bad_save[LargeFileManager-model0-HTTP 400: Bad Request (No file type provided)] PASSED [ 70%] tests/services/contents/test_largefilemanager.py::test_bad_save[LargeFileManager-model1-HTTP 400: Bad Request (File type "notebook" is not supported for large file transfer)] PASSED [ 70%] tests/services/contents/test_largefilemanager.py::test_bad_save[LargeFileManager-model2-HTTP 400: Bad Request (No file content provided)] PASSED [ 70%] tests/services/contents/test_largefilemanager.py::test_bad_save[LargeFileManager-model3-HTTP 400: Bad Request (Must specify format of file contents as 'text' or 'base64')] PASSED [ 70%] tests/services/contents/test_largefilemanager.py::test_bad_save[AsyncLargeFileManager-model0-HTTP 400: Bad Request (No file type provided)] PASSED [ 71%] tests/services/contents/test_largefilemanager.py::test_bad_save[AsyncLargeFileManager-model1-HTTP 400: Bad Request (File type "notebook" is not supported for large file transfer)] PASSED [ 71%] tests/services/contents/test_largefilemanager.py::test_bad_save[AsyncLargeFileManager-model2-HTTP 400: Bad Request (No file content provided)] PASSED [ 71%] tests/services/contents/test_largefilemanager.py::test_bad_save[AsyncLargeFileManager-model3-HTTP 400: Bad Request (Must specify format of file contents as 'text' or 'base64')] PASSED [ 71%] tests/services/contents/test_largefilemanager.py::test_saving_different_chunks[LargeFileManager] PASSED [ 71%] tests/services/contents/test_largefilemanager.py::test_saving_different_chunks[AsyncLargeFileManager] PASSED [ 72%] tests/services/contents/test_largefilemanager.py::test_save_in_subdirectory[LargeFileManager] PASSED [ 72%] tests/services/contents/test_largefilemanager.py::test_save_in_subdirectory[AsyncLargeFileManager] PASSED [ 72%] tests/services/contents/test_manager.py::test_root_dir[FileContentsManager] PASSED [ 72%] tests/services/contents/test_manager.py::test_root_dir[AsyncFileContentsManager] PASSED [ 72%] tests/services/contents/test_manager.py::test_missing_root_dir[FileContentsManager] PASSED [ 73%] tests/services/contents/test_manager.py::test_missing_root_dir[AsyncFileContentsManager] PASSED [ 73%] tests/services/contents/test_manager.py::test_invalid_root_dir[FileContentsManager] PASSED [ 73%] tests/services/contents/test_manager.py::test_invalid_root_dir[AsyncFileContentsManager] PASSED [ 73%] tests/services/contents/test_manager.py::test_get_os_path[FileContentsManager] PASSED [ 73%] tests/services/contents/test_manager.py::test_get_os_path[AsyncFileContentsManager] PASSED [ 74%] tests/services/contents/test_manager.py::test_get_os_path_posix[FileContentsManager] PASSED [ 74%] tests/services/contents/test_manager.py::test_get_os_path_posix[AsyncFileContentsManager] PASSED [ 74%] tests/services/contents/test_manager.py::test_checkpoint_subdir[FileContentsManager] PASSED [ 74%] tests/services/contents/test_manager.py::test_checkpoint_subdir[AsyncFileContentsManager] PASSED [ 74%] tests/services/contents/test_manager.py::test_bad_symlink[FileContentsManager] PASSED [ 75%] tests/services/contents/test_manager.py::test_bad_symlink[AsyncFileContentsManager] PASSED [ 75%] tests/services/contents/test_manager.py::test_recursive_symlink[FileContentsManager] PASSED [ 75%] tests/services/contents/test_manager.py::test_recursive_symlink[AsyncFileContentsManager] PASSED [ 75%] tests/services/contents/test_manager.py::test_good_symlink[FileContentsManager] PASSED [ 75%] tests/services/contents/test_manager.py::test_good_symlink[AsyncFileContentsManager] PASSED [ 76%] tests/services/contents/test_manager.py::test_403[FileContentsManager] PASSED [ 76%] tests/services/contents/test_manager.py::test_403[AsyncFileContentsManager] PASSED [ 76%] tests/services/contents/test_manager.py::test_400[FileContentsManager] PASSED [ 76%] tests/services/contents/test_manager.py::test_400[AsyncFileContentsManager] PASSED [ 77%] tests/services/contents/test_manager.py::test_404[FileContentsManager] PASSED [ 77%] tests/services/contents/test_manager.py::test_404[AsyncFileContentsManager] PASSED [ 77%] tests/services/contents/test_manager.py::test_escape_root[FileContentsManager] PASSED [ 77%] tests/services/contents/test_manager.py::test_escape_root[AsyncFileContentsManager] PASSED [ 77%] tests/services/contents/test_manager.py::test_new_untitled[jp_contents_manager0] PASSED [ 78%] tests/services/contents/test_manager.py::test_new_untitled[jp_contents_manager1] PASSED [ 78%] tests/services/contents/test_manager.py::test_new_untitled[jp_contents_manager2] PASSED [ 78%] tests/services/contents/test_manager.py::test_new_untitled[jp_contents_manager3] PASSED [ 78%] tests/services/contents/test_manager.py::test_modified_date[jp_contents_manager0] PASSED [ 78%] tests/services/contents/test_manager.py::test_modified_date[jp_contents_manager1] PASSED [ 79%] tests/services/contents/test_manager.py::test_modified_date[jp_contents_manager2] PASSED [ 79%] tests/services/contents/test_manager.py::test_modified_date[jp_contents_manager3] PASSED [ 79%] tests/services/contents/test_manager.py::test_get[jp_contents_manager0] PASSED [ 79%] tests/services/contents/test_manager.py::test_get[jp_contents_manager1] PASSED [ 79%] tests/services/contents/test_manager.py::test_get[jp_contents_manager2] PASSED [ 80%] tests/services/contents/test_manager.py::test_get[jp_contents_manager3] PASSED [ 80%] tests/services/contents/test_manager.py::test_update[jp_contents_manager0] PASSED [ 80%] tests/services/contents/test_manager.py::test_update[jp_contents_manager1] PASSED [ 80%] tests/services/contents/test_manager.py::test_update[jp_contents_manager2] PASSED [ 80%] tests/services/contents/test_manager.py::test_update[jp_contents_manager3] PASSED [ 81%] tests/services/contents/test_manager.py::test_save[jp_contents_manager0] PASSED [ 81%] tests/services/contents/test_manager.py::test_save[jp_contents_manager1] PASSED [ 81%] tests/services/contents/test_manager.py::test_save[jp_contents_manager2] PASSED [ 81%] tests/services/contents/test_manager.py::test_save[jp_contents_manager3] PASSED [ 81%] tests/services/contents/test_manager.py::test_delete[jp_contents_manager0] PASSED [ 82%] tests/services/contents/test_manager.py::test_delete[jp_contents_manager1] PASSED [ 82%] tests/services/contents/test_manager.py::test_delete[jp_contents_manager2] PASSED [ 82%] tests/services/contents/test_manager.py::test_delete[jp_contents_manager3] PASSED [ 82%] tests/services/contents/test_manager.py::test_rename[jp_contents_manager0] PASSED [ 82%] tests/services/contents/test_manager.py::test_rename[jp_contents_manager1] PASSED [ 83%] tests/services/contents/test_manager.py::test_rename[jp_contents_manager2] PASSED [ 83%] tests/services/contents/test_manager.py::test_rename[jp_contents_manager3] PASSED [ 83%] tests/services/contents/test_manager.py::test_delete_root[jp_contents_manager0] PASSED [ 83%] tests/services/contents/test_manager.py::test_delete_root[jp_contents_manager1] PASSED [ 83%] tests/services/contents/test_manager.py::test_delete_root[jp_contents_manager2] PASSED [ 84%] tests/services/contents/test_manager.py::test_delete_root[jp_contents_manager3] PASSED [ 84%] tests/services/contents/test_manager.py::test_copy[jp_contents_manager0] PASSED [ 84%] tests/services/contents/test_manager.py::test_copy[jp_contents_manager1] PASSED [ 84%] tests/services/contents/test_manager.py::test_copy[jp_contents_manager2] PASSED [ 85%] tests/services/contents/test_manager.py::test_copy[jp_contents_manager3] PASSED [ 85%] tests/services/contents/test_manager.py::test_copy_dir[jp_contents_manager0] PASSED [ 85%] tests/services/contents/test_manager.py::test_copy_dir[jp_contents_manager1] PASSED [ 85%] tests/services/contents/test_manager.py::test_copy_dir[jp_contents_manager2] PASSED [ 85%] tests/services/contents/test_manager.py::test_copy_dir[jp_contents_manager3] PASSED [ 86%] tests/services/contents/test_manager.py::test_copy_big_dir[jp_contents_manager0] PASSED [ 86%] tests/services/contents/test_manager.py::test_copy_big_dir[jp_contents_manager1] PASSED [ 86%] tests/services/contents/test_manager.py::test_copy_big_dir[jp_contents_manager2] PASSED [ 86%] tests/services/contents/test_manager.py::test_copy_big_dir[jp_contents_manager3] PASSED [ 86%] tests/services/contents/test_manager.py::test_mark_trusted_cells[jp_contents_manager0] PASSED [ 87%] tests/services/contents/test_manager.py::test_mark_trusted_cells[jp_contents_manager1] PASSED [ 87%] tests/services/contents/test_manager.py::test_mark_trusted_cells[jp_contents_manager2] PASSED [ 87%] tests/services/contents/test_manager.py::test_mark_trusted_cells[jp_contents_manager3] PASSED [ 87%] tests/services/contents/test_manager.py::test_check_and_sign[jp_contents_manager0] PASSED [ 87%] tests/services/contents/test_manager.py::test_check_and_sign[jp_contents_manager1] PASSED [ 88%] tests/services/contents/test_manager.py::test_check_and_sign[jp_contents_manager2] PASSED [ 88%] tests/services/contents/test_manager.py::test_check_and_sign[jp_contents_manager3] PASSED [ 88%] tests/services/contents/test_manager.py::test_nb_validation[jp_contents_manager0] PASSED [ 88%] tests/services/contents/test_manager.py::test_nb_validation[jp_contents_manager1] PASSED [ 88%] tests/services/contents/test_manager.py::test_nb_validation[jp_contents_manager2] PASSED [ 89%] tests/services/contents/test_manager.py::test_nb_validation[jp_contents_manager3] PASSED [ 89%] tests/services/contents/test_manager.py::test_validate_notebook_model[jp_contents_manager0] PASSED [ 89%] tests/services/contents/test_manager.py::test_validate_notebook_model[jp_contents_manager1] PASSED [ 89%] tests/services/contents/test_manager.py::test_validate_notebook_model[jp_contents_manager2] PASSED [ 89%] tests/services/contents/test_manager.py::test_validate_notebook_model[jp_contents_manager3] PASSED [ 90%] tests/services/contents/test_manager.py::test_regression_is_hidden[jp_contents_manager0] PASSED [ 90%] tests/services/contents/test_manager.py::test_regression_is_hidden[jp_contents_manager1] PASSED [ 90%] tests/services/contents/test_manager.py::test_regression_is_hidden[jp_contents_manager2] PASSED [ 90%] tests/services/contents/test_manager.py::test_regression_is_hidden[jp_contents_manager3] PASSED [ 90%] tests/services/events/test_extension.py::test_subscribe_websocket PASSED [ 91%] tests/services/kernels/test_config.py::test_config PASSED [ 91%] tests/services/kernels/test_config.py::test_async_kernel_manager PASSED [ 91%] tests/services/kernels/test_config.py::test_not_server_kernel_manager PASSED [ 91%] tests/services/kernels/test_connection.py::test_websocket_connection PASSED [ 91%] tests/services/kernels/test_cull.py::test_cull_idle[jp_server_config0] FAILED [ 92%] tests/services/kernels/test_cull.py::test_cull_idle[jp_server_config1] FAILED [ 92%] tests/services/kernels/test_cull.py::test_cull_idle_disable PASSED [ 92%] tests/services/kernels/test_cull.py::test_cull_dead[jp_server_config0] PASSED [ 92%] tests/services/kernels/test_events.py::test_kernel_action_success_event[start] PASSED [ 93%] tests/services/kernels/test_events.py::test_kernel_action_success_event[restart] PASSED [ 93%] tests/services/kernels/test_events.py::test_kernel_action_success_event[interrupt] PASSED [ 93%] tests/services/kernels/test_events.py::test_kernel_action_success_event[shutdown] PASSED [ 93%] tests/services/kernels/test_events.py::test_kernel_action_failed_event[start] PASSED [ 93%] tests/services/kernels/test_events.py::test_kernel_action_failed_event[restart] PASSED [ 94%] tests/services/kernels/test_events.py::test_kernel_action_failed_event[interrupt] PASSED [ 94%] tests/services/kernels/test_events.py::test_kernel_action_failed_event[shutdown] PASSED [ 94%] tests/services/kernels/test_events.py::test_kernel_action_http_error_event[start] PASSED [ 94%] tests/services/kernels/test_events.py::test_kernel_action_http_error_event[restart] PASSED [ 94%] tests/services/kernels/test_events.py::test_kernel_action_http_error_event[interrupt] PASSED [ 95%] tests/services/kernels/test_events.py::test_kernel_action_http_error_event[shutdown] PASSED [ 95%] tests/services/sessions/test_manager.py::test_kernel_record_equals PASSED [ 95%] tests/services/sessions/test_manager.py::test_kernel_record_update PASSED [ 95%] tests/services/sessions/test_manager.py::test_kernel_record_list PASSED [ 95%] tests/services/sessions/test_manager.py::test_get_session PASSED [ 96%] tests/services/sessions/test_manager.py::test_bad_get_session PASSED [ 96%] tests/services/sessions/test_manager.py::test_get_session_dead_kernel PASSED [ 96%] tests/services/sessions/test_manager.py::test_list_session PASSED [ 96%] tests/services/sessions/test_manager.py::test_list_sessions_dead_kernel PASSED [ 96%] tests/services/sessions/test_manager.py::test_update_session PASSED [ 97%] tests/services/sessions/test_manager.py::test_bad_update_session PASSED [ 97%] tests/services/sessions/test_manager.py::test_delete_session PASSED [ 97%] tests/services/sessions/test_manager.py::test_bad_delete_session PASSED [ 97%] tests/services/sessions/test_manager.py::test_bad_database_filepath PASSED [ 97%] tests/services/sessions/test_manager.py::test_good_database_filepath PASSED [ 98%] tests/services/sessions/test_manager.py::test_session_persistence PASSED [ 98%] tests/services/sessions/test_manager.py::test_pending_kernel PASSED [ 98%] tests/unix_sockets/test_serverapp_integration.py::test_shutdown_sock_server_integration SKIPPED [ 98%] tests/unix_sockets/test_serverapp_integration.py::test_sock_server_validate_sockmode_type SKIPPED [ 98%] tests/unix_sockets/test_serverapp_integration.py::test_sock_server_validate_sockmode_accessible SKIPPED [ 99%] tests/unix_sockets/test_serverapp_integration.py::test_stop_multi_integration SKIPPED [ 99%] tests/unix_sockets/test_serverapp_integration.py::test_launch_socket_collision SKIPPED [ 99%] tests/unix_sockets/test_serverapp_integration.py::test_shutdown_server SKIPPED [ 99%] tests/unix_sockets/test_serverapp_integration.py::test_jupyter_server_apps SKIPPED [100%] =================================== FAILURES =================================== ______________________ test_cull_idle[jp_server_config0] _______________________ jp_fetch = .client_fetch at 0x2ab030745bc0> jp_ws_fetch = .client_fetch at 0x2ab030747060> @pytest.mark.parametrize( "jp_server_config", [ # Test the synchronous case Config( { "ServerApp": { "kernel_manager_class": "jupyter_server.services.kernels.kernelmanager.MappingKernelManager", "MappingKernelManager": { "cull_idle_timeout": CULL_TIMEOUT, "cull_interval": CULL_INTERVAL, "cull_connected": False, }, } } ), # Test the async case Config( { "ServerApp": { "kernel_manager_class": "jupyter_server.services.kernels.kernelmanager.AsyncMappingKernelManager", "AsyncMappingKernelManager": { "cull_idle_timeout": CULL_TIMEOUT, "cull_interval": CULL_INTERVAL, "cull_connected": False, }, } } ), ], ) async def test_cull_idle(jp_fetch, jp_ws_fetch): r = await jp_fetch("api", "kernels", method="POST", allow_nonstandard_methods=True) kernel = json.loads(r.body.decode()) kid = kernel["id"]  # Open a websocket connection. > ws = await jp_ws_fetch("api", "kernels", kid, "channels") E tornado.simple_httpclient.HTTPTimeoutError: Timeout during request jp_fetch = .client_fetch at 0x2ab030745bc0> jp_ws_fetch = .client_fetch at 0x2ab030747060> kernel = {'connections': 0, 'execution_state': 'starting', 'id': '469ef9e7-3735-4d2d-ab52-8505f843ee02', 'last_activity': '2023-11-22T09:14:27.246802Z', ...} kid = '469ef9e7-3735-4d2d-ab52-8505f843ee02' r = HTTPResponse(_body=b'{"id": "469ef9e7-3735-4d2d-ab52-8505f843ee02", "name": "python3", "last_activity": "2023-11-22T09...lient.HTTPRequest object at 0x2ab030798c10>,request_time=0.1930232048034668,start_time=1700644467.0775325,time_info={}) tests/services/kernels/test_cull.py:85: HTTPTimeoutError ---------------------------- Captured stderr setup ----------------------------- [D 2023-11-22 10:14:26.686 ServerApp] Config changed: {'ServerApp': {'kernel_manager_class': 'jupyter_server.services.kernels.kernelmanager.MappingKernelManager', 'MappingKernelManager': {'cull_idle_timeout': 5, 'cull_interval': 1, 'cull_connected': False}, 'jpserver_extensions': {'jupyter_server_terminals': True}}, 'NotebookNotary': {'db_file': ':memory:'}, 'IdentityProvider': {'token': }} ------------------------------ Captured log setup ------------------------------ DEBUG  ServerApp:application.py:457 Config changed: {'ServerApp': {'kernel_manager_class': 'jupyter_server.services.kernels.kernelmanager.MappingKernelManager', 'MappingKernelManager': {'cull_idle_timeout': 5, 'cull_interval': 1, 'cull_connected': False}, 'jpserver_extensions': {'jupyter_server_terminals': True}}, 'NotebookNotary': {'db_file': ':memory:'}, 'IdentityProvider': {'token': }} DEBUG  ServerApp:application.py:193 Searching ['/tmp/pytest-of-builduser/pytest-0/test_cull_idle_jp_server_confi0/env/etc/jupyter', '/tmp/pytest-of-builduser/pytest-0/test_cull_idle_jp_server_confi0/config', '/build/.local/etc/jupyter', '/tmp/pytest-of-builduser/pytest-0/test_cull_idle_jp_server_confi0/etc/jupyter'] for config files DEBUG  ServerApp:application.py:908 Looking for jupyter_config in /tmp/pytest-of-builduser/pytest-0/test_cull_idle_jp_server_confi0/etc/jupyter DEBUG  ServerApp:application.py:908 Looking for jupyter_config in /build/.local/etc/jupyter DEBUG  ServerApp:application.py:908 Looking for jupyter_config in /tmp/pytest-of-builduser/pytest-0/test_cull_idle_jp_server_confi0/config DEBUG  ServerApp:application.py:908 Looking for jupyter_config in /tmp/pytest-of-builduser/pytest-0/test_cull_idle_jp_server_confi0/env/etc/jupyter DEBUG  ServerApp:application.py:457 Config changed: {'ServerApp': {'kernel_manager_class': 'jupyter_server.services.kernels.kernelmanager.MappingKernelManager', 'MappingKernelManager': {'cull_idle_timeout': 5, 'cull_interval': 1, 'cull_connected': False}, 'jpserver_extensions': {'jupyter_server_terminals': True}}, 'NotebookNotary': {'db_file': ':memory:'}, 'IdentityProvider': {'token': }} DEBUG  ServerApp:application.py:908 Looking for jupyter_server_config in /tmp/pytest-of-builduser/pytest-0/test_cull_idle_jp_server_confi0/etc/jupyter DEBUG  ServerApp:application.py:908 Looking for jupyter_server_config in /build/.local/etc/jupyter DEBUG  ServerApp:application.py:908 Looking for jupyter_server_config in /tmp/pytest-of-builduser/pytest-0/test_cull_idle_jp_server_confi0/config DEBUG  ServerApp:application.py:908 Looking for jupyter_server_config in /tmp/pytest-of-builduser/pytest-0/test_cull_idle_jp_server_confi0/env/etc/jupyter DEBUG  ServerApp:application.py:457 Config changed: {'ServerApp': {'kernel_manager_class': 'jupyter_server.services.kernels.kernelmanager.MappingKernelManager', 'MappingKernelManager': {'cull_idle_timeout': 5, 'cull_interval': 1, 'cull_connected': False}, 'jpserver_extensions': {'jupyter_server_terminals': True}}, 'NotebookNotary': {'db_file': ':memory:'}, 'IdentityProvider': {'token': }} DEBUG  ServerApp:application.py:457 Config changed: {'ServerApp': {'kernel_manager_class': 'jupyter_server.services.kernels.kernelmanager.MappingKernelManager', 'MappingKernelManager': {'cull_idle_timeout': 5, 'cull_interval': 1, 'cull_connected': False}, 'jpserver_extensions': {'jupyter_server_terminals': True}}, 'NotebookNotary': {'db_file': ':memory:'}, 'IdentityProvider': {'token': }} INFO  traitlets:utils.py:71 Package jupyter_server_terminals took 0.0001s to import INFO  ServerApp:serverapp.py:2852 Serving notebooks from local directory: /tmp/pytest-of-builduser/pytest-0/test_cull_idle_jp_server_confi0/root_dir INFO  ServerApp:serverapp.py:2852 Jupyter Server 2.11.0 is running at: INFO  ServerApp:serverapp.py:2852 http://localhost:46613/a%40b/?token=e3c30ae51ae298c336de740c237b93fcf69805d3430deb9a INFO  ServerApp:serverapp.py:2852 http://127.0.0.1:46613/a%40b/?token=e3c30ae51ae298c336de740c237b93fcf69805d3430deb9a INFO  ServerApp:serverapp.py:2853 Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). CRITICAL ServerApp:serverapp.py:2915 To access the server, open this file in a browser: file:///tmp/pytest-of-builduser/pytest-0/test_cull_idle_jp_server_confi0/runtime/jpserver-3277-open.html Or copy and paste one of these URLs: http://localhost:46613/a%40b/?token=e3c30ae51ae298c336de740c237b93fcf69805d3430deb9a http://127.0.0.1:46613/a%40b/?token=e3c30ae51ae298c336de740c237b93fcf69805d3430deb9a ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/lib/python3.11/site-packages/ipykernel_launcher.py", line 15, in from ipykernel import kernelapp as app File "/usr/lib/python3.11/site-packages/ipykernel/kernelapp.py", line 52, in from .ipkernel import IPythonKernel File "/usr/lib/python3.11/site-packages/ipykernel/ipkernel.py", line 24, in from .eventloops import _use_appnope File "/usr/lib/python3.11/site-packages/ipykernel/eventloops.py", line 12, in from packaging.version import Version as V # noqa ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/packaging/version.py", line 36, in class _Version(NamedTuple): File "/usr/lib/python3.11/typing.py", line 2891, in __new__ nm_tpl = _make_nmtuple(typename, types.items(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/typing.py", line 2859, in _make_nmtuple nm_tpl = collections.namedtuple(name, fields, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/collections/__init__.py", line 436, in namedtuple __new__ = eval(code, namespace) ^^^^^^^^^^^^^^^^^^^^^ File "", line 0, in KeyboardInterrupt ------------------------------ Captured log call ------------------------------- DEBUG  ServerApp:identity.py:444 Accepting token-authenticated request from 127.0.0.1 DEBUG  ServerApp:identity.py:475 Generating new user for token-authenticated request: 102364a31be342f3949aac0431ef54b2 DEBUG  ServerApp:factory.py:95 Instantiating kernel 'Python 3 (ipykernel)' with kernel provisioner: local-provisioner DEBUG  ServerApp:manager.py:438 Starting kernel: ['/build/jupyter-server/src/jupyter_server-2.11.0/test-env/bin/python', '-m', 'ipykernel_launcher', '-f', '/tmp/pytest-of-builduser/pytest-0/test_cull_idle_jp_server_confi0/runtime/kernel-469ef9e7-3735-4d2d-ab52-8505f843ee02.json'] DEBUG  ServerApp:connect.py:653 Connecting to: tcp://127.0.0.1:48325 DEBUG  ServerApp:connect.py:653 Connecting to: tcp://127.0.0.1:52095 INFO  ServerApp:kernelmanager.py:244 Kernel started: 469ef9e7-3735-4d2d-ab52-8505f843ee02 DEBUG  ServerApp:kernelmanager.py:245 Kernel args: {'kernel_name': 'python3'} INFO  ServerApp:kernelmanager.py:603 Culling kernels with idle durations > 5 seconds at 1 second intervals ... DEBUG  ServerApp:log.py:98 201 POST /a%40b/api/kernels (102364a31be342f3949aac0431ef54b2@127.0.0.1) 162.30ms DEBUG  ServerApp:identity.py:444 Accepting token-authenticated request from 127.0.0.1 DEBUG  ServerApp:identity.py:475 Generating new user for token-authenticated request: 0e4c4572ad4849ef8eeb199791164327 WARNING  ServerApp:websocket.py:54 No session ID specified DEBUG  ServerApp:channels.py:580 Requesting kernel info from 469ef9e7-3735-4d2d-ab52-8505f843ee02 DEBUG  ServerApp:connect.py:653 Connecting to: tcp://127.0.0.1:56169 DEBUG  ServerApp:kernelmanager.py:618 Polling every 1 seconds for kernels idle > 5 seconds... DEBUG  ServerApp:kernelmanager.py:654 kernel_id=469ef9e7-3735-4d2d-ab52-8505f843ee02, kernel_name=python3, last_activity=2023-11-22 09:14:27.246802+00:00 DEBUG  ServerApp:kernelmanager.py:618 Polling every 1 seconds for kernels idle > 5 seconds... DEBUG  ServerApp:kernelmanager.py:654 kernel_id=469ef9e7-3735-4d2d-ab52-8505f843ee02, kernel_name=python3, last_activity=2023-11-22 09:14:27.246802+00:00 DEBUG  ServerApp:kernelmanager.py:618 Polling every 1 seconds for kernels idle > 5 seconds... DEBUG  ServerApp:kernelmanager.py:654 kernel_id=469ef9e7-3735-4d2d-ab52-8505f843ee02, kernel_name=python3, last_activity=2023-11-22 09:14:27.246802+00:00 DEBUG  ServerApp:kernelmanager.py:618 Polling every 1 seconds for kernels idle > 5 seconds... DEBUG  ServerApp:kernelmanager.py:654 kernel_id=469ef9e7-3735-4d2d-ab52-8505f843ee02, kernel_name=python3, last_activity=2023-11-22 09:14:27.246802+00:00 DEBUG  ServerApp:kernelmanager.py:618 Polling every 1 seconds for kernels idle > 5 seconds... DEBUG  ServerApp:kernelmanager.py:654 kernel_id=469ef9e7-3735-4d2d-ab52-8505f843ee02, kernel_name=python3, last_activity=2023-11-22 09:14:27.246802+00:00 WARNING  ServerApp:kernelmanager.py:670 Culling 'starting' kernel 'python3' (469ef9e7-3735-4d2d-ab52-8505f843ee02) with 0 connections due to 5 seconds of inactivity. DEBUG  ServerApp:kernelmanager.py:395 Clearing buffer for 469ef9e7-3735-4d2d-ab52-8505f843ee02 INFO  ServerApp:multikernelmanager.py:306 Kernel shutdown: 469ef9e7-3735-4d2d-ab52-8505f843ee02 DEBUG  ServerApp:kernelmanager.py:618 Polling every 1 seconds for kernels idle > 5 seconds... DEBUG  ServerApp:kernelmanager.py:618 Polling every 1 seconds for kernels idle > 5 seconds... DEBUG  ServerApp:kernelmanager.py:618 Polling every 1 seconds for kernels idle > 5 seconds... DEBUG  ServerApp:kernelmanager.py:618 Polling every 1 seconds for kernels idle > 5 seconds... DEBUG  ServerApp:kernelmanager.py:618 Polling every 1 seconds for kernels idle > 5 seconds... DEBUG  ServerApp:kernelmanager.py:618 Polling every 1 seconds for kernels idle > 5 seconds... DEBUG  ServerApp:kernelmanager.py:618 Polling every 1 seconds for kernels idle > 5 seconds... DEBUG  ServerApp:kernelmanager.py:618 Polling every 1 seconds for kernels idle > 5 seconds... DEBUG  ServerApp:kernelmanager.py:618 Polling every 1 seconds for kernels idle > 5 seconds... DEBUG  ServerApp:kernelmanager.py:618 Polling every 1 seconds for kernels idle > 5 seconds... DEBUG  ServerApp:kernelmanager.py:618 Polling every 1 seconds for kernels idle > 5 seconds... DEBUG  ServerApp:kernelmanager.py:618 Polling every 1 seconds for kernels idle > 5 seconds... DEBUG  ServerApp:kernelmanager.py:618 Polling every 1 seconds for kernels idle > 5 seconds... DEBUG  ServerApp:kernelmanager.py:618 Polling every 1 seconds for kernels idle > 5 seconds... DEBUG  ServerApp:kernelmanager.py:618 Polling every 1 seconds for kernels idle > 5 seconds... DEBUG  ServerApp:channels.py:400 Websocket closed 469ef9e7-3735-4d2d-ab52-8505f843ee02:6d389802-3a8cfd7b2978b54e6e4d3cc7 ---------------------------- Captured log teardown ----------------------------- INFO  ServerApp:serverapp.py:2635 Shutting down 1 extension DEBUG  ServerApp:manager.py:372 jupyter_server_terminals | extension app 'jupyter_server_terminals' stopping DEBUG  ServerApp:manager.py:374 jupyter_server_terminals | extension app 'jupyter_server_terminals' stopped ERROR  asyncio:base_events.py:1771 Exception in callback BaseAsyncIOLoop._handle_events(33, 1) handle: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/zmq/eventloop/zmqstream.py", line 614, in _handle_events zmq_events = self.socket.EVENTS ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/zmq/sugar/attrsettr.py", line 55, in __getattr__ return self._get_attr_opt(upper_key, opt) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/zmq/sugar/attrsettr.py", line 67, in _get_attr_opt return self.get(opt) ^^^^^^^^^^^^^ File "zmq/backend/cython/socket.pyx", line 478, in zmq.backend.cython.socket.Socket.get File "zmq/backend/cython/socket.pyx", line 138, in zmq.backend.cython.socket._check_closed zmq.error.ZMQError: Socket operation on non-socket During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.11/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/usr/lib/python3.11/site-packages/tornado/platform/asyncio.py", line 192, in _handle_events handler_func(fileobj, events) File "/usr/lib/python3.11/site-packages/zmq/eventloop/zmqstream.py", line 624, in _handle_events if self.closed(): ^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/zmq/eventloop/zmqstream.py", line 576, in closed self.close() File "/usr/lib/python3.11/site-packages/zmq/eventloop/zmqstream.py", line 547, in close warnings.warn( UserWarning: Unregistering FD 33 after closing socket. This could result in unregistering handlers for the wrong socket. Please use stream.close() instead of closing the socket directly. ERROR  asyncio:base_events.py:1771 Exception in callback BaseAsyncIOLoop._handle_events(33, 1) handle: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/zmq/eventloop/zmqstream.py", line 614, in _handle_events zmq_events = self.socket.EVENTS ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/zmq/sugar/attrsettr.py", line 55, in __getattr__ return self._get_attr_opt(upper_key, opt) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/zmq/sugar/attrsettr.py", line 67, in _get_attr_opt return self.get(opt) ^^^^^^^^^^^^^ File "zmq/backend/cython/socket.pyx", line 478, in zmq.backend.cython.socket.Socket.get File "zmq/backend/cython/socket.pyx", line 138, in zmq.backend.cython.socket._check_closed zmq.error.ZMQError: Socket operation on non-socket During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.11/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/usr/lib/python3.11/site-packages/tornado/platform/asyncio.py", line 192, in _handle_events handler_func(fileobj, events) File "/usr/lib/python3.11/site-packages/zmq/eventloop/zmqstream.py", line 624, in _handle_events if self.closed(): ^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/zmq/eventloop/zmqstream.py", line 576, in closed self.close() File "/usr/lib/python3.11/site-packages/zmq/eventloop/zmqstream.py", line 547, in close warnings.warn( UserWarning: Unregistering FD 33 after closing socket. This could result in unregistering handlers for the wrong socket. Please use stream.close() instead of closing the socket directly. ______________________ test_cull_idle[jp_server_config1] _______________________ jp_fetch = .client_fetch at 0x2ab0307a4860> jp_ws_fetch = .client_fetch at 0x2ab0307a4040> @pytest.mark.parametrize( "jp_server_config", [ # Test the synchronous case Config( { "ServerApp": { "kernel_manager_class": "jupyter_server.services.kernels.kernelmanager.MappingKernelManager", "MappingKernelManager": { "cull_idle_timeout": CULL_TIMEOUT, "cull_interval": CULL_INTERVAL, "cull_connected": False, }, } } ), # Test the async case Config( { "ServerApp": { "kernel_manager_class": "jupyter_server.services.kernels.kernelmanager.AsyncMappingKernelManager", "AsyncMappingKernelManager": { "cull_idle_timeout": CULL_TIMEOUT, "cull_interval": CULL_INTERVAL, "cull_connected": False, }, } } ), ], ) async def test_cull_idle(jp_fetch, jp_ws_fetch): r = await jp_fetch("api", "kernels", method="POST", allow_nonstandard_methods=True) kernel = json.loads(r.body.decode()) kid = kernel["id"]  # Open a websocket connection. > ws = await jp_ws_fetch("api", "kernels", kid, "channels") E tornado.simple_httpclient.HTTPTimeoutError: Timeout during request jp_fetch = .client_fetch at 0x2ab0307a4860> jp_ws_fetch = .client_fetch at 0x2ab0307a4040> kernel = {'connections': 0, 'execution_state': 'starting', 'id': '1ae3309e-408b-49a2-a200-39a3ebdd621b', 'last_activity': '2023-11-22T09:14:49.294153Z', ...} kid = '1ae3309e-408b-49a2-a200-39a3ebdd621b' r = HTTPResponse(_body=b'{"id": "1ae3309e-408b-49a2-a200-39a3ebdd621b", "name": "python3", "last_activity": "2023-11-22T09...lient.HTTPRequest object at 0x2ab04102a890>,request_time=0.1234743595123291,start_time=1700644489.1793005,time_info={}) tests/services/kernels/test_cull.py:85: HTTPTimeoutError ---------------------------- Captured stderr setup ----------------------------- [D 2023-11-22 10:14:48.927 ServerApp] Config changed: {'ServerApp': {'kernel_manager_class': 'jupyter_server.services.kernels.kernelmanager.AsyncMappingKernelManager', 'AsyncMappingKernelManager': {'cull_idle_timeout': 5, 'cull_interval': 1, 'cull_connected': False}, 'jpserver_extensions': {'jupyter_server_terminals': True}}, 'NotebookNotary': {'db_file': ':memory:'}, 'IdentityProvider': {'token': }} ------------------------------ Captured log setup ------------------------------ DEBUG  ServerApp:application.py:457 Config changed: {'ServerApp': {'kernel_manager_class': 'jupyter_server.services.kernels.kernelmanager.AsyncMappingKernelManager', 'AsyncMappingKernelManager': {'cull_idle_timeout': 5, 'cull_interval': 1, 'cull_connected': False}, 'jpserver_extensions': {'jupyter_server_terminals': True}}, 'NotebookNotary': {'db_file': ':memory:'}, 'IdentityProvider': {'token': }} DEBUG  ServerApp:application.py:193 Searching ['/tmp/pytest-of-builduser/pytest-0/test_cull_idle_jp_server_confi1/env/etc/jupyter', '/tmp/pytest-of-builduser/pytest-0/test_cull_idle_jp_server_confi1/config', '/build/.local/etc/jupyter', '/tmp/pytest-of-builduser/pytest-0/test_cull_idle_jp_server_confi1/etc/jupyter'] for config files DEBUG  ServerApp:application.py:908 Looking for jupyter_config in /tmp/pytest-of-builduser/pytest-0/test_cull_idle_jp_server_confi1/etc/jupyter DEBUG  ServerApp:application.py:908 Looking for jupyter_config in /build/.local/etc/jupyter DEBUG  ServerApp:application.py:908 Looking for jupyter_config in /tmp/pytest-of-builduser/pytest-0/test_cull_idle_jp_server_confi1/config DEBUG  ServerApp:application.py:908 Looking for jupyter_config in /tmp/pytest-of-builduser/pytest-0/test_cull_idle_jp_server_confi1/env/etc/jupyter DEBUG  ServerApp:application.py:457 Config changed: {'ServerApp': {'kernel_manager_class': 'jupyter_server.services.kernels.kernelmanager.AsyncMappingKernelManager', 'AsyncMappingKernelManager': {'cull_idle_timeout': 5, 'cull_interval': 1, 'cull_connected': False}, 'jpserver_extensions': {'jupyter_server_terminals': True}}, 'NotebookNotary': {'db_file': ':memory:'}, 'IdentityProvider': {'token': }} DEBUG  ServerApp:application.py:908 Looking for jupyter_server_config in /tmp/pytest-of-builduser/pytest-0/test_cull_idle_jp_server_confi1/etc/jupyter DEBUG  ServerApp:application.py:908 Looking for jupyter_server_config in /build/.local/etc/jupyter DEBUG  ServerApp:application.py:908 Looking for jupyter_server_config in /tmp/pytest-of-builduser/pytest-0/test_cull_idle_jp_server_confi1/config DEBUG  ServerApp:application.py:908 Looking for jupyter_server_config in /tmp/pytest-of-builduser/pytest-0/test_cull_idle_jp_server_confi1/env/etc/jupyter DEBUG  ServerApp:application.py:457 Config changed: {'ServerApp': {'kernel_manager_class': 'jupyter_server.services.kernels.kernelmanager.AsyncMappingKernelManager', 'AsyncMappingKernelManager': {'cull_idle_timeout': 5, 'cull_interval': 1, 'cull_connected': False}, 'jpserver_extensions': {'jupyter_server_terminals': True}}, 'NotebookNotary': {'db_file': ':memory:'}, 'IdentityProvider': {'token': }} DEBUG  ServerApp:application.py:457 Config changed: {'ServerApp': {'kernel_manager_class': 'jupyter_server.services.kernels.kernelmanager.AsyncMappingKernelManager', 'AsyncMappingKernelManager': {'cull_idle_timeout': 5, 'cull_interval': 1, 'cull_connected': False}, 'jpserver_extensions': {'jupyter_server_terminals': True}}, 'NotebookNotary': {'db_file': ':memory:'}, 'IdentityProvider': {'token': }} INFO  traitlets:utils.py:71 Package jupyter_server_terminals took 0.0001s to import INFO  ServerApp:serverapp.py:2852 Serving notebooks from local directory: /tmp/pytest-of-builduser/pytest-0/test_cull_idle_jp_server_confi1/root_dir INFO  ServerApp:serverapp.py:2852 Jupyter Server 2.11.0 is running at: INFO  ServerApp:serverapp.py:2852 http://localhost:41497/a%40b/?token=c36465ac97b18a0ba82e3722d6ed165c354aa78ac5f19184 INFO  ServerApp:serverapp.py:2852 http://127.0.0.1:41497/a%40b/?token=c36465ac97b18a0ba82e3722d6ed165c354aa78ac5f19184 INFO  ServerApp:serverapp.py:2853 Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). CRITICAL ServerApp:serverapp.py:2915 To access the server, open this file in a browser: file:///tmp/pytest-of-builduser/pytest-0/test_cull_idle_jp_server_confi1/runtime/jpserver-3277-open.html Or copy and paste one of these URLs: http://localhost:41497/a%40b/?token=c36465ac97b18a0ba82e3722d6ed165c354aa78ac5f19184 http://127.0.0.1:41497/a%40b/?token=c36465ac97b18a0ba82e3722d6ed165c354aa78ac5f19184 ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/lib/python3.11/site-packages/ipykernel_launcher.py", line 17, in app.launch_new_instance() File "/usr/lib/python3.11/site-packages/traitlets/config/application.py", line 1052, in launch_instance app.initialize(argv) File "/usr/lib/python3.11/site-packages/traitlets/config/application.py", line 117, in inner return method(app, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/ipykernel/kernelapp.py", line 690, in initialize self.init_sockets() File "/usr/lib/python3.11/site-packages/ipykernel/kernelapp.py", line 343, in init_sockets self.init_control(context) File "/usr/lib/python3.11/site-packages/ipykernel/kernelapp.py", line 367, in init_control self.control_thread = ControlThread(daemon=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/ipykernel/control.py", line 15, in __init__ self.io_loop = IOLoop(make_current=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/tornado/util.py", line 263, in __new__ impl = cls.configured_class() ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/tornado/util.py", line 335, in configured_class base.__impl_class = cls.configurable_default() ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/tornado/ioloop.py", line 348, in configurable_default from tornado.platform.asyncio import AsyncIOLoop File "", line 1176, in _find_and_load File "", line 1147, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "", line 936, in exec_module File "", line 1032, in get_code File "", line 1130, in get_data KeyboardInterrupt ------------------------------ Captured log call ------------------------------- DEBUG  ServerApp:identity.py:444 Accepting token-authenticated request from 127.0.0.1 DEBUG  ServerApp:identity.py:475 Generating new user for token-authenticated request: 1ab03190aa394c83a70781f3b9e0e065 DEBUG  ServerApp:factory.py:95 Instantiating kernel 'Python 3 (ipykernel)' with kernel provisioner: local-provisioner DEBUG  ServerApp:manager.py:438 Starting kernel: ['/build/jupyter-server/src/jupyter_server-2.11.0/test-env/bin/python', '-m', 'ipykernel_launcher', '-f', '/tmp/pytest-of-builduser/pytest-0/test_cull_idle_jp_server_confi1/runtime/kernel-1ae3309e-408b-49a2-a200-39a3ebdd621b.json'] DEBUG  ServerApp:connect.py:653 Connecting to: tcp://127.0.0.1:56811 DEBUG  ServerApp:connect.py:653 Connecting to: tcp://127.0.0.1:51147 INFO  ServerApp:kernelmanager.py:244 Kernel started: 1ae3309e-408b-49a2-a200-39a3ebdd621b DEBUG  ServerApp:kernelmanager.py:245 Kernel args: {'kernel_name': 'python3'} INFO  ServerApp:kernelmanager.py:603 Culling kernels with idle durations > 5 seconds at 1 second intervals ... DEBUG  ServerApp:log.py:98 201 POST /a%40b/api/kernels (1ab03190aa394c83a70781f3b9e0e065@127.0.0.1) 108.45ms DEBUG  ServerApp:identity.py:444 Accepting token-authenticated request from 127.0.0.1 DEBUG  ServerApp:identity.py:475 Generating new user for token-authenticated request: c2c60609e3c6486f8f9f66879d41a29c WARNING  ServerApp:websocket.py:54 No session ID specified DEBUG  ServerApp:channels.py:580 Requesting kernel info from 1ae3309e-408b-49a2-a200-39a3ebdd621b DEBUG  ServerApp:connect.py:653 Connecting to: tcp://127.0.0.1:55069 DEBUG  ServerApp:kernelmanager.py:618 Polling every 1 seconds for kernels idle > 5 seconds... DEBUG  ServerApp:kernelmanager.py:654 kernel_id=1ae3309e-408b-49a2-a200-39a3ebdd621b, kernel_name=python3, last_activity=2023-11-22 09:14:49.294153+00:00 DEBUG  ServerApp:kernelmanager.py:618 Polling every 1 seconds for kernels idle > 5 seconds... DEBUG  ServerApp:kernelmanager.py:654 kernel_id=1ae3309e-408b-49a2-a200-39a3ebdd621b, kernel_name=python3, last_activity=2023-11-22 09:14:49.294153+00:00 DEBUG  ServerApp:kernelmanager.py:618 Polling every 1 seconds for kernels idle > 5 seconds... DEBUG  ServerApp:kernelmanager.py:654 kernel_id=1ae3309e-408b-49a2-a200-39a3ebdd621b, kernel_name=python3, last_activity=2023-11-22 09:14:49.294153+00:00 DEBUG  ServerApp:kernelmanager.py:618 Polling every 1 seconds for kernels idle > 5 seconds... DEBUG  ServerApp:kernelmanager.py:654 kernel_id=1ae3309e-408b-49a2-a200-39a3ebdd621b, kernel_name=python3, last_activity=2023-11-22 09:14:49.294153+00:00 DEBUG  ServerApp:kernelmanager.py:618 Polling every 1 seconds for kernels idle > 5 seconds... DEBUG  ServerApp:kernelmanager.py:654 kernel_id=1ae3309e-408b-49a2-a200-39a3ebdd621b, kernel_name=python3, last_activity=2023-11-22 09:14:49.294153+00:00 WARNING  ServerApp:kernelmanager.py:670 Culling 'starting' kernel 'python3' (1ae3309e-408b-49a2-a200-39a3ebdd621b) with 0 connections due to 5 seconds of inactivity. DEBUG  ServerApp:kernelmanager.py:395 Clearing buffer for 1ae3309e-408b-49a2-a200-39a3ebdd621b INFO  ServerApp:multikernelmanager.py:306 Kernel shutdown: 1ae3309e-408b-49a2-a200-39a3ebdd621b DEBUG  ServerApp:kernelmanager.py:618 Polling every 1 seconds for kernels idle > 5 seconds... DEBUG  ServerApp:kernelmanager.py:618 Polling every 1 seconds for kernels idle > 5 seconds... DEBUG  ServerApp:kernelmanager.py:618 Polling every 1 seconds for kernels idle > 5 seconds... DEBUG  ServerApp:kernelmanager.py:618 Polling every 1 seconds for kernels idle > 5 seconds... DEBUG  ServerApp:kernelmanager.py:618 Polling every 1 seconds for kernels idle > 5 seconds... DEBUG  ServerApp:kernelmanager.py:618 Polling every 1 seconds for kernels idle > 5 seconds... DEBUG  ServerApp:kernelmanager.py:618 Polling every 1 seconds for kernels idle > 5 seconds... DEBUG  ServerApp:kernelmanager.py:618 Polling every 1 seconds for kernels idle > 5 seconds... DEBUG  ServerApp:kernelmanager.py:618 Polling every 1 seconds for kernels idle > 5 seconds... DEBUG  ServerApp:kernelmanager.py:618 Polling every 1 seconds for kernels idle > 5 seconds... DEBUG  ServerApp:kernelmanager.py:618 Polling every 1 seconds for kernels idle > 5 seconds... DEBUG  ServerApp:kernelmanager.py:618 Polling every 1 seconds for kernels idle > 5 seconds... DEBUG  ServerApp:kernelmanager.py:618 Polling every 1 seconds for kernels idle > 5 seconds... DEBUG  ServerApp:kernelmanager.py:618 Polling every 1 seconds for kernels idle > 5 seconds... DEBUG  ServerApp:kernelmanager.py:618 Polling every 1 seconds for kernels idle > 5 seconds... DEBUG  ServerApp:channels.py:400 Websocket closed 1ae3309e-408b-49a2-a200-39a3ebdd621b:733cee0a-aba84f16baafcf521ed80271 ---------------------------- Captured log teardown ----------------------------- INFO  ServerApp:serverapp.py:2635 Shutting down 1 extension DEBUG  ServerApp:manager.py:372 jupyter_server_terminals | extension app 'jupyter_server_terminals' stopping DEBUG  ServerApp:manager.py:374 jupyter_server_terminals | extension app 'jupyter_server_terminals' stopped =============================== warnings summary =============================== jupyter_server/base/handlers.py:23 /build/jupyter-server/src/jupyter_server-2.11.0/jupyter_server/base/handlers.py:23: DeprecationWarning: Jupyter is migrating its paths to use standard platformdirs given by the platformdirs library. To remove this warning and see the appropriate new directories, set the environment variable `JUPYTER_PLATFORM_DIRS=1` and then run `jupyter --paths`. The use of platformdirs will be the default in `jupyter_core` v6 from jupyter_core.paths import is_hidden tests/extension/test_app.py: 10 warnings /build/jupyter-server/src/jupyter_server-2.11.0/jupyter_server/serverapp.py:2434: ResourceWarning: unclosed self._find_http_port() Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ===Flaky Test Report=== test_culling_config passed 1 out of the required 1 times. Success! test_culling passed 1 out of the required 1 times. Success! ===End Flaky Test Report=== ============================= slowest 10 durations ============================= 23.07s call tests/services/kernels/test_cull.py::test_cull_idle_disable 20.21s call tests/services/kernels/test_cull.py::test_cull_idle[jp_server_config0] 20.14s call tests/services/kernels/test_cull.py::test_cull_idle[jp_server_config1] 12.21s call tests/test_terminal.py::test_culling 11.03s call tests/services/kernels/test_connection.py::test_websocket_connection 10.16s call tests/test_utils.py::test_help_output 5.25s call tests/test_terminal.py::test_terminal_create_with_cwd 4.53s call tests/services/contents/test_manager.py::test_copy_big_dir[jp_contents_manager2] 4.30s call tests/services/contents/test_manager.py::test_copy_big_dir[jp_contents_manager3] 3.79s call tests/extension/test_serverextension.py::test_help_output =========================== short test summary info ============================ SKIPPED [1] tests/test_terminal.py:161: Not yet working SKIPPED [1] tests/test_terminal.py:198: Not yet working SKIPPED [1] tests/nbconvert/test_handlers.py:48: Command 'pandoc' is not available SKIPPED [1] tests/nbconvert/test_handlers.py:77: Command 'pandoc' is not available SKIPPED [1] tests/nbconvert/test_handlers.py:90: Command 'pandoc' is not available SKIPPED [1] tests/nbconvert/test_handlers.py:104: Command 'pandoc' is not available SKIPPED [1] tests/nbconvert/test_handlers.py:117: Command 'pandoc' is not available SKIPPED [1] tests/nbconvert/test_handlers.py:136: Command 'pandoc' is not available SKIPPED [7] tests/conftest.py:37: Skipping this test because it's marked 'integration_test'. Run integration tests using the `--integration_tests` flag. FAILED tests/services/kernels/test_cull.py::test_cull_idle[jp_server_config0] - tornado.simple_httpclient.HTTPTimeoutError: Timeout during request FAILED tests/services/kernels/test_cull.py::test_cull_idle[jp_server_config1] - tornado.simple_httpclient.HTTPTimeoutError: Timeout during request = 2 failed, 470 passed, 15 skipped, 476 deselected, 11 warnings in 229.30s (0:03:49) = ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root13/build receiving incremental file list jupyter-server-2.11.0-1-riscv64-build.log jupyter-server-2.11.0-1-riscv64-check.log jupyter-server-2.11.0-1-riscv64-prepare.log sent 81 bytes received 11,590 bytes 7,780.67 bytes/sec total size is 96,014 speedup is 8.23