==> Building on minun ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list ./ .SRCINFO 683 100% 0.00kB/s 0:00:00 683 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=3/5) .nvchecker.toml 59 100% 57.62kB/s 0:00:00 59 100% 57.62kB/s 0:00:00 (xfr#2, to-chk=2/5) PKGBUILD 1,055 100% 1.01MB/s 0:00:00 1,055 100% 1.01MB/s 0:00:00 (xfr#3, to-chk=1/5) jupyter-console-6.6.3-3.log 204 100% 199.22kB/s 0:00:00 204 100% 199.22kB/s 0:00:00 (xfr#4, to-chk=0/5) sent 1,269 bytes received 107 bytes 917.33 bytes/sec total size is 1,989 speedup is 1.45 ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root0 on remote host... ]2;🔵 Container arch-nspawn-3267883 on minun.felixc.at[?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] -> [root0]...done ==> Making package: jupyter-console 6.6.3-3 (Fri Oct 11 17:39:54 2024) ==> Retrieving sources...  -> Found jupyter_console-6.6.3.tar.gz ==> Validating source files with sha256sums... jupyter_console-6.6.3.tar.gz ... Passed ]2;🔵 Container arch-nspawn-3269229 on minun.felixc.at==> Making package: jupyter-console 6.6.3-3 (Fri Oct 11 17:40:06 2024) ==> 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 (33) New Version Net Change Download Size extra/ipython 8.27.0-1 8.21 MiB extra/libpgm 5.3.128-3 0.32 MiB extra/libsodium 1.0.20-1 0.44 MiB extra/python-argcomplete 3.4.0-1 0.27 MiB extra/python-asttokens 2.4.1-2 0.20 MiB extra/python-comm 0.2.2-2 0.05 MiB 0.01 MiB extra/python-dateutil 2.9.0-5 0.99 MiB extra/python-decorator 5.1.1-4 0.06 MiB extra/python-executing 2.1.0-1 0.24 MiB 0.05 MiB extra/python-importlib-metadata 7.2.1-1 0.22 MiB 0.05 MiB extra/python-ipykernel 6.29.2-1 1.13 MiB 0.21 MiB extra/python-jedi 0.19.1-2 6.35 MiB extra/python-jupyter-core 5.7.2-2 0.28 MiB 0.06 MiB extra/python-matplotlib-inline 0.1.6-4.1 0.06 MiB extra/python-nest-asyncio 1.6.0-3 0.04 MiB 0.01 MiB extra/python-parso 1:0.8.4-2 0.97 MiB extra/python-pexpect 4.9.0-2 0.39 MiB extra/python-platformdirs 4.3.6-1 0.24 MiB extra/python-prompt_toolkit 3.0.48-1 4.39 MiB 0.69 MiB extra/python-psutil 6.0.0-1 3.08 MiB extra/python-ptyprocess 0.7.0-6 0.12 MiB extra/python-pure-eval 0.2.3-1 0.10 MiB extra/python-pygments 2.18.0-1 14.10 MiB extra/python-pyzmq 25.1.2-2 2.48 MiB 0.50 MiB extra/python-six 1.16.0-9 0.11 MiB extra/python-stack-data 0.6.3-2 0.22 MiB extra/python-tornado 6.4.1-1 5.61 MiB extra/python-traitlets 5.14.3-2 1.00 MiB extra/python-typing_extensions 4.12.2-1 0.41 MiB extra/python-wcwidth 0.2.13-2 0.57 MiB extra/python-zipp 3.19.2-1 0.08 MiB extra/zeromq 4.3.5-2 2.89 MiB extra/python-jupyter-client 8.6.3-1 1.12 MiB 0.20 MiB Total Download Size: 1.79 MiB Total Installed Size: 56.73 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-prompt_toolkit-3.0.48-1-any downloading... python-pyzmq-25.1.2-2-riscv64 downloading... python-ipykernel-6.29.2-1-any downloading... python-jupyter-client-8.6.3-1-any downloading... python-jupyter-core-5.7.2-2-any downloading... python-executing-2.1.0-1-any downloading... python-importlib-metadata-7.2.1-1-any downloading... python-comm-0.2.2-2-any downloading... python-nest-asyncio-1.6.0-3-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... 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-dateutil... installing python-zipp... installing python-importlib-metadata... installing python-comm... installing python-platformdirs... installing python-jupyter-core... 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-pycares: an alternative non-blocking DNS resolver python-twisted: for tornado.platform.twisted installing python-ipykernel... Optional dependencies for python-ipykernel python-debugpy: debugger support installing python-jupyter-client... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (12) New Version Net Change Download Size extra/python-editables 0.5-3 0.03 MiB extra/python-iniconfig 2.0.0-5 0.04 MiB extra/python-packaging 24.1-1 0.49 MiB extra/python-pathspec 0.12.1-2 0.23 MiB extra/python-pluggy 1.5.0-1 0.20 MiB extra/python-pyproject-hooks 1.2.0-1 0.10 MiB extra/python-trove-classifiers 2024.9.12-1 0.12 MiB extra/python-build 1.2.1-3 0.19 MiB extra/python-flaky 3.8.1-1 0.15 MiB 0.03 MiB extra/python-hatchling 1.25.0-1 1.06 MiB extra/python-installer 0.7.0-8 0.18 MiB extra/python-pytest 1:8.3.3-1 3.90 MiB Total Download Size: 0.03 MiB Total Installed Size: 6.68 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-flaky-3.8.1-1-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing python-packaging... installing python-pyproject-hooks... installing python-build... Optional dependencies for python-build python-pip: to use as the Python package installer (default) python-uv: to use as the Python package installer python-virtualenv: to use virtualenv for build isolation installing python-installer... installing python-pathspec... installing python-pluggy... installing python-editables... installing python-trove-classifiers... installing python-hatchling... installing python-iniconfig... installing python-pytest... installing python-flaky... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... [?25h==> Retrieving sources...  -> Found jupyter_console-6.6.3.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting jupyter_console-6.6.3.tar.gz with bsdtar ==> Starting build()... * Getting build dependencies for wheel... * Building wheel... Successfully built jupyter_console-6.6.3-py3-none-any.whl ==> Starting check()... ============================= test session starts ============================== platform linux -- Python 3.12.6, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python cachedir: .pytest_cache rootdir: /build/jupyter-console/src/jupyter_console-6.6.3 configfile: pyproject.toml plugins: flaky-3.8.1 collecting ... collected 10 items jupyter_console/tests/test_console.py::test_console_starts FAILED [ 10%] jupyter_console/tests/test_console.py::test_help_output PASSED [ 20%] jupyter_console/tests/test_console.py::test_display_text FAILED [ 30%] jupyter_console/tests/test_console.py::test_multiprocessing FAILED [ 40%] jupyter_console/tests/test_console.py::test_generate_config PASSED [ 50%] jupyter_console/tests/test_image_handler.py::ZMQTerminalInteractiveShellTestCase::test_call_pil_by_default PASSED [ 60%] jupyter_console/tests/test_image_handler.py::ZMQTerminalInteractiveShellTestCase::test_handle_image_PIL SKIPPED [ 70%] jupyter_console/tests/test_image_handler.py::ZMQTerminalInteractiveShellTestCase::test_handle_image_callable PASSED [ 80%] jupyter_console/tests/test_image_handler.py::ZMQTerminalInteractiveShellTestCase::test_handle_image_stream PASSED [ 90%] jupyter_console/tests/test_image_handler.py::ZMQTerminalInteractiveShellTestCase::test_handle_image_tempfile PASSED [100%] =================================== FAILURES =================================== _____________________________ test_console_starts ______________________________ @flaky @pytest.mark.skipif(should_skip, reason="not supported") def test_console_starts(): """test that `jupyter console` starts a terminal""" > p, pexpect, t = start_console() jupyter_console/tests/test_console.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jupyter_console/tests/test_console.py:79: in start_console p.expect(r"In \[\d+\]", timeout=t) /usr/lib/python3.12/site-packages/pexpect/spawnbase.py:354: in expect return self.expect_list(compiled_pattern_list, /usr/lib/python3.12/site-packages/pexpect/spawnbase.py:383: in expect_list return exp.expect_loop(timeout) /usr/lib/python3.12/site-packages/pexpect/expect.py:179: in expect_loop return self.eof(e) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = err = EOF('End Of File (EOF). Exception style platform.') def eof(self, err=None): spawn = self.spawn spawn.before = spawn._before.getvalue() spawn._buffer = spawn.buffer_type() spawn._before = spawn.buffer_type() spawn.after = EOF index = self.searcher.eof_index if index >= 0: spawn.match = EOF spawn.match_index = index return index else: spawn.match = None spawn.match_index = None msg = str(spawn) msg += '\nsearcher: %s' % self.searcher if err is not None: msg = str(err) + '\n' + msg exc = EOF(msg) exc.__cause__ = None # in Python 3.x we can use "raise exc from None" > raise exc E pexpect.exceptions.EOF: End Of File (EOF). Exception style platform. E E command: /usr/bin/python E args: ['/usr/bin/python', '-m', 'jupyter_console', '--colors=NoColor'] E buffer (last 100 chars): b'' E before (last 100 chars): b'espond to kernel_info_request") from e\r\nRuntimeError: Kernel didn\'t respond to kernel_info_request\r\n' E after: E match: None E match_index: None E exitstatus: None E flag_eof: True E pid: 2829 E child_fd: 14 E closed: False E timeout: 30 E delimiter: E logfile: None E logfile_read: None E logfile_send: None E maxread: 2000 E ignorecase: False E searchwindowsize: None E delaybeforesend: 0.05 E delayafterclose: 0.1 E delayafterterminate: 0.1 E searcher: searcher_re: E 0: re.compile(b'In \\[\\d+\\]') /usr/lib/python3.12/site-packages/pexpect/expect.py:122: EOF ______________________________ test_display_text _______________________________ @flaky @pytest.mark.skipif(should_skip, reason="not supported") def test_display_text(): "Ensure display protocol plain/text key is supported" # equivalent of: # # x = %lsmagic # from IPython.display import display; display(x); > p, pexpect, t = start_console() jupyter_console/tests/test_console.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jupyter_console/tests/test_console.py:79: in start_console p.expect(r"In \[\d+\]", timeout=t) /usr/lib/python3.12/site-packages/pexpect/spawnbase.py:354: in expect return self.expect_list(compiled_pattern_list, /usr/lib/python3.12/site-packages/pexpect/spawnbase.py:383: in expect_list return exp.expect_loop(timeout) /usr/lib/python3.12/site-packages/pexpect/expect.py:179: in expect_loop return self.eof(e) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = err = EOF('End Of File (EOF). Exception style platform.') def eof(self, err=None): spawn = self.spawn spawn.before = spawn._before.getvalue() spawn._buffer = spawn.buffer_type() spawn._before = spawn.buffer_type() spawn.after = EOF index = self.searcher.eof_index if index >= 0: spawn.match = EOF spawn.match_index = index return index else: spawn.match = None spawn.match_index = None msg = str(spawn) msg += '\nsearcher: %s' % self.searcher if err is not None: msg = str(err) + '\n' + msg exc = EOF(msg) exc.__cause__ = None # in Python 3.x we can use "raise exc from None" > raise exc E pexpect.exceptions.EOF: End Of File (EOF). Exception style platform. E E command: /usr/bin/python E args: ['/usr/bin/python', '-m', 'jupyter_console', '--colors=NoColor'] E buffer (last 100 chars): b'' E before (last 100 chars): b'espond to kernel_info_request") from e\r\nRuntimeError: Kernel didn\'t respond to kernel_info_request\r\n' E after: E match: None E match_index: None E exitstatus: None E flag_eof: True E pid: 2854 E child_fd: 16 E closed: False E timeout: 30 E delimiter: E logfile: None E logfile_read: None E logfile_send: None E maxread: 2000 E ignorecase: False E searchwindowsize: None E delaybeforesend: 0.05 E delayafterclose: 0.1 E delayafterterminate: 0.1 E searcher: searcher_re: E 0: re.compile(b'In \\[\\d+\\]') /usr/lib/python3.12/site-packages/pexpect/expect.py:122: EOF _____________________________ test_multiprocessing _____________________________ def test_multiprocessing(): > p, pexpect, t = start_console() jupyter_console/tests/test_console.py:84: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jupyter_console/tests/test_console.py:79: in start_console p.expect(r"In \[\d+\]", timeout=t) /usr/lib/python3.12/site-packages/pexpect/spawnbase.py:354: in expect return self.expect_list(compiled_pattern_list, /usr/lib/python3.12/site-packages/pexpect/spawnbase.py:383: in expect_list return exp.expect_loop(timeout) /usr/lib/python3.12/site-packages/pexpect/expect.py:179: in expect_loop return self.eof(e) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = err = EOF('End Of File (EOF). Exception style platform.') def eof(self, err=None): spawn = self.spawn spawn.before = spawn._before.getvalue() spawn._buffer = spawn.buffer_type() spawn._before = spawn.buffer_type() spawn.after = EOF index = self.searcher.eof_index if index >= 0: spawn.match = EOF spawn.match_index = index return index else: spawn.match = None spawn.match_index = None msg = str(spawn) msg += '\nsearcher: %s' % self.searcher if err is not None: msg = str(err) + '\n' + msg exc = EOF(msg) exc.__cause__ = None # in Python 3.x we can use "raise exc from None" > raise exc E pexpect.exceptions.EOF: End Of File (EOF). Exception style platform. E E command: /usr/bin/python E args: ['/usr/bin/python', '-m', 'jupyter_console', '--colors=NoColor'] E buffer (last 100 chars): b'' E before (last 100 chars): b'espond to kernel_info_request") from e\r\nRuntimeError: Kernel didn\'t respond to kernel_info_request\r\n' E after: E match: None E match_index: None E exitstatus: None E flag_eof: True E pid: 2865 E child_fd: 17 E closed: False E timeout: 30 E delimiter: E logfile: None E logfile_read: None E logfile_send: None E maxread: 2000 E ignorecase: False E searchwindowsize: None E delaybeforesend: 0.05 E delayafterclose: 0.1 E delayafterterminate: 0.1 E searcher: searcher_re: E 0: re.compile(b'In \\[\\d+\\]') /usr/lib/python3.12/site-packages/pexpect/expect.py:122: EOF =============================== warnings summary =============================== jupyter_console/tests/test_image_handler.py::ZMQTerminalInteractiveShellTestCase::test_call_pil_by_default /usr/lib/python3.12/site-packages/jupyter_client/connect.py:22: 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 jupyter_data_dir, jupyter_runtime_dir, secure_write -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ===Flaky Test Report=== test_console_starts failed (1 runs remaining out of 2). End Of File (EOF). Exception style platform. command: /usr/bin/python args: ['/usr/bin/python', '-m', 'jupyter_console', '--colors=NoColor'] buffer (last 100 chars): b'' before (last 100 chars): b'espond to kernel_info_request") from e\r\nRuntimeError: Kernel didn\'t respond to kernel_info_request\r\n' after: match: None match_index: None exitstatus: None flag_eof: True pid: 2818 child_fd: 13 closed: False timeout: 30 delimiter: logfile: None logfile_read: None logfile_send: None maxread: 2000 ignorecase: False searchwindowsize: None delaybeforesend: 0.05 delayafterclose: 0.1 delayafterterminate: 0.1 searcher: searcher_re: 0: re.compile(b'In \\[\\d+\\]') [, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ] test_console_starts failed; it passed 0 out of the required 1 times. End Of File (EOF). Exception style platform. command: /usr/bin/python args: ['/usr/bin/python', '-m', 'jupyter_console', '--colors=NoColor'] buffer (last 100 chars): b'' before (last 100 chars): b'espond to kernel_info_request") from e\r\nRuntimeError: Kernel didn\'t respond to kernel_info_request\r\n' after: match: None match_index: None exitstatus: None flag_eof: True pid: 2829 child_fd: 14 closed: False timeout: 30 delimiter: logfile: None logfile_read: None logfile_send: None maxread: 2000 ignorecase: False searchwindowsize: None delaybeforesend: 0.05 delayafterclose: 0.1 delayafterterminate: 0.1 searcher: searcher_re: 0: re.compile(b'In \\[\\d+\\]') [, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ] test_display_text failed (1 runs remaining out of 2). End Of File (EOF). Exception style platform. command: /usr/bin/python args: ['/usr/bin/python', '-m', 'jupyter_console', '--colors=NoColor'] buffer (last 100 chars): b'' before (last 100 chars): b'espond to kernel_info_request") from e\r\nRuntimeError: Kernel didn\'t respond to kernel_info_request\r\n' after: match: None match_index: None exitstatus: None flag_eof: True pid: 2843 child_fd: 15 closed: False timeout: 30 delimiter: logfile: None logfile_read: None logfile_send: None maxread: 2000 ignorecase: False searchwindowsize: None delaybeforesend: 0.05 delayafterclose: 0.1 delayafterterminate: 0.1 searcher: searcher_re: 0: re.compile(b'In \\[\\d+\\]') [, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ] test_display_text failed; it passed 0 out of the required 1 times. End Of File (EOF). Exception style platform. command: /usr/bin/python args: ['/usr/bin/python', '-m', 'jupyter_console', '--colors=NoColor'] buffer (last 100 chars): b'' before (last 100 chars): b'espond to kernel_info_request") from e\r\nRuntimeError: Kernel didn\'t respond to kernel_info_request\r\n' after: match: None match_index: None exitstatus: None flag_eof: True pid: 2854 child_fd: 16 closed: False timeout: 30 delimiter: logfile: None logfile_read: None logfile_send: None maxread: 2000 ignorecase: False searchwindowsize: None delaybeforesend: 0.05 delayafterclose: 0.1 delayafterterminate: 0.1 searcher: searcher_re: 0: re.compile(b'In \\[\\d+\\]') [, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ] ===End Flaky Test Report=== ============================= slowest 10 durations ============================= 64.13s call jupyter_console/tests/test_console.py::test_console_starts 63.00s call jupyter_console/tests/test_console.py::test_multiprocessing 62.92s call jupyter_console/tests/test_console.py::test_display_text 9.76s call jupyter_console/tests/test_console.py::test_help_output 2.69s call jupyter_console/tests/test_console.py::test_generate_config 0.23s call jupyter_console/tests/test_image_handler.py::ZMQTerminalInteractiveShellTestCase::test_handle_image_tempfile 0.22s call jupyter_console/tests/test_image_handler.py::ZMQTerminalInteractiveShellTestCase::test_handle_image_stream 0.21s call jupyter_console/tests/test_image_handler.py::ZMQTerminalInteractiveShellTestCase::test_call_pil_by_default (2 durations < 0.005s hidden. Use -vv to show these durations.) =========================== short test summary info ============================ FAILED jupyter_console/tests/test_console.py::test_console_starts - pexpect.e... FAILED jupyter_console/tests/test_console.py::test_display_text - pexpect.exc... FAILED jupyter_console/tests/test_console.py::test_multiprocessing - pexpect.... ======== 3 failed, 6 passed, 1 skipped, 1 warning in 332.71s (0:05:32) ========= ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root0/build [?25h[?25hreceiving incremental file list jupyter-console-6.6.3-3-riscv64-build.log jupyter-console-6.6.3-3-riscv64-check.log sent 62 bytes received 3,073 bytes 2,090.00 bytes/sec total size is 26,217 speedup is 8.36