0s autopkgtest [20:37:08]: starting date and time: 2024-11-23 20:37:08+0000 0s autopkgtest [20:37:08]: git checkout: 6408f825 Correct logic in old-systemd fallback code 0s autopkgtest [20:37:08]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.702ygy01/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com\n" >> /etc/environment' --apt-pocket=proposed=src:python3-defaults --apt-upgrade ipykernel --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 -- lxd -r lxd-armhf-10.145.243.201 lxd-armhf-10.145.243.201:autopkgtest/ubuntu/plucky/armhf 57s autopkgtest [20:38:05]: testbed dpkg architecture: armhf 59s autopkgtest [20:38:07]: testbed apt version: 2.9.8 59s autopkgtest [20:38:07]: @@@@@@@@@@@@@@@@@@@@ test bed setup 67s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 67s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [930 kB] 68s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [54.8 kB] 68s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9704 B] 68s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [13.6 kB] 68s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [63.6 kB] 68s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Packages [756 B] 68s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [727 kB] 68s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [5924 B] 68s Fetched 1879 kB in 1s (2184 kB/s) 68s Reading package lists... 85s tee: /proc/self/fd/2: Permission denied 106s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 106s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 106s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 106s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 108s Reading package lists... 108s Reading package lists... 108s Building dependency tree... 108s Reading state information... 109s Calculating upgrade... 109s The following packages will be upgraded: 110s bash debconf debconf-i18n libpython3-stdlib python3 python3-debconf 110s python3-minimal vim-common vim-tiny xxd 110s 10 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 110s Need to get 2223 kB of archives. 110s After this operation, 4096 B of additional disk space will be used. 110s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf bash armhf 5.2.32-1ubuntu2 [673 kB] 110s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3-minimal armhf 3.12.7-1 [27.4 kB] 110s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3 armhf 3.12.7-1 [24.0 kB] 110s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libpython3-stdlib armhf 3.12.7-1 [10.0 kB] 110s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf debconf-i18n all 1.5.87ubuntu1 [204 kB] 110s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf python3-debconf all 1.5.87ubuntu1 [4156 B] 110s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf debconf all 1.5.87ubuntu1 [124 kB] 110s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf vim-tiny armhf 2:9.1.0861-1ubuntu1 [694 kB] 110s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf vim-common all 2:9.1.0861-1ubuntu1 [395 kB] 110s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf xxd armhf 2:9.1.0861-1ubuntu1 [67.0 kB] 111s Preconfiguring packages ... 111s Fetched 2223 kB in 1s (3605 kB/s) 111s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59616 files and directories currently installed.) 111s Preparing to unpack .../bash_5.2.32-1ubuntu2_armhf.deb ... 111s Unpacking bash (5.2.32-1ubuntu2) over (5.2.32-1ubuntu1) ... 111s Setting up bash (5.2.32-1ubuntu2) ... 111s update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode 111s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59616 files and directories currently installed.) 111s Preparing to unpack .../python3-minimal_3.12.7-1_armhf.deb ... 111s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 111s Setting up python3-minimal (3.12.7-1) ... 111s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59616 files and directories currently installed.) 111s Preparing to unpack .../python3_3.12.7-1_armhf.deb ... 111s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 111s Preparing to unpack .../libpython3-stdlib_3.12.7-1_armhf.deb ... 111s Unpacking libpython3-stdlib:armhf (3.12.7-1) over (3.12.6-0ubuntu1) ... 111s Preparing to unpack .../debconf-i18n_1.5.87ubuntu1_all.deb ... 111s Unpacking debconf-i18n (1.5.87ubuntu1) over (1.5.86ubuntu1) ... 111s Preparing to unpack .../python3-debconf_1.5.87ubuntu1_all.deb ... 111s Unpacking python3-debconf (1.5.87ubuntu1) over (1.5.86ubuntu1) ... 111s Preparing to unpack .../debconf_1.5.87ubuntu1_all.deb ... 111s Unpacking debconf (1.5.87ubuntu1) over (1.5.86ubuntu1) ... 111s Setting up debconf (1.5.87ubuntu1) ... 112s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59616 files and directories currently installed.) 112s Preparing to unpack .../vim-tiny_2%3a9.1.0861-1ubuntu1_armhf.deb ... 112s Unpacking vim-tiny (2:9.1.0861-1ubuntu1) over (2:9.1.0777-1ubuntu1) ... 112s Preparing to unpack .../vim-common_2%3a9.1.0861-1ubuntu1_all.deb ... 112s Unpacking vim-common (2:9.1.0861-1ubuntu1) over (2:9.1.0777-1ubuntu1) ... 112s Preparing to unpack .../xxd_2%3a9.1.0861-1ubuntu1_armhf.deb ... 112s Unpacking xxd (2:9.1.0861-1ubuntu1) over (2:9.1.0777-1ubuntu1) ... 112s Setting up debconf-i18n (1.5.87ubuntu1) ... 112s Setting up xxd (2:9.1.0861-1ubuntu1) ... 112s Setting up vim-common (2:9.1.0861-1ubuntu1) ... 112s Setting up libpython3-stdlib:armhf (3.12.7-1) ... 112s Setting up python3 (3.12.7-1) ... 112s Setting up vim-tiny (2:9.1.0861-1ubuntu1) ... 112s Setting up python3-debconf (1.5.87ubuntu1) ... 112s Processing triggers for debianutils (5.21) ... 112s Processing triggers for install-info (7.1.1-1) ... 112s Processing triggers for man-db (2.13.0-1) ... 114s Reading package lists... 114s Building dependency tree... 114s Reading state information... 115s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 118s autopkgtest [20:39:06]: rebooting testbed after setup commands that affected boot 191s autopkgtest [20:40:19]: testbed running kernel: Linux 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 18:12:14 UTC 2 221s autopkgtest [20:40:48]: @@@@@@@@@@@@@@@@@@@@ apt-source ipykernel 231s Get:1 http://ftpmaster.internal/ubuntu plucky/universe ipykernel 6.29.5-1 (dsc) [2800 B] 231s Get:2 http://ftpmaster.internal/ubuntu plucky/universe ipykernel 6.29.5-1 (tar) [165 kB] 231s Get:3 http://ftpmaster.internal/ubuntu plucky/universe ipykernel 6.29.5-1 (diff) [7008 B] 231s gpgv: Signature made Mon Jul 8 10:08:54 2024 UTC 231s gpgv: using RSA key AC0A4FF12611B6FCCF01C111393587D97D86500B 231s gpgv: Can't check signature: No public key 231s dpkg-source: warning: cannot verify inline signature for ./ipykernel_6.29.5-1.dsc: no acceptable signature found 231s autopkgtest [20:40:59]: testing package ipykernel version 6.29.5-1 233s autopkgtest [20:41:01]: build not needed 236s autopkgtest [20:41:04]: test pytest: preparing testbed 247s Reading package lists... 247s Building dependency tree... 247s Reading state information... 248s Starting pkgProblemResolver with broken count: 0 249s Starting 2 pkgProblemResolver with broken count: 0 249s Done 250s The following additional packages will be installed: 250s gdb libbabeltrace1 libc6-dbg libdebuginfod-common libdebuginfod1t64 250s libnorm1t64 libpgm-5.3-0t64 libpython3.12t64 libpython3.13-minimal 250s libpython3.13-stdlib libsodium23 libsource-highlight-common 250s libsource-highlight4t64 libzmq5 python3-all python3-asttokens 250s python3-async-generator python3-comm python3-coverage python3-dateutil 250s python3-debugpy python3-decorator python3-entrypoints python3-executing 250s python3-flaky python3-iniconfig python3-ipykernel python3-ipyparallel 250s python3-ipython python3-jedi python3-jupyter-client python3-jupyter-core 250s python3-matplotlib-inline python3-nest-asyncio python3-outcome 250s python3-packaging python3-parso python3-pexpect python3-platformdirs 250s python3-pluggy python3-prompt-toolkit python3-psutil python3-ptyprocess 250s python3-pure-eval python3-py python3-pytest python3-pytest-asyncio 250s python3-pytest-timeout python3-sniffio python3-sortedcontainers 250s python3-stack-data python3-tornado python3-tqdm python3-traitlets 250s python3-trio python3-typeshed python3-wcwidth python3-zmq python3.13 250s python3.13-minimal 250s Suggested packages: 250s gdb-doc gdbserver python-coverage-doc python-ipyparallel-doc 250s python-ipython-doc python-jupyter-client-doc python3-pip python-pexpect-doc 250s subversion python-sortedcontainers-doc python3-pycurl python-tornado-doc 250s python3-twisted python-traitlets-doc python3.13-venv python3.13-doc 250s binfmt-support 250s Recommended packages: 250s python3-matplotlib 250s The following NEW packages will be installed: 250s autopkgtest-satdep gdb libbabeltrace1 libc6-dbg libdebuginfod-common 250s libdebuginfod1t64 libnorm1t64 libpgm-5.3-0t64 libpython3.12t64 250s libpython3.13-minimal libpython3.13-stdlib libsodium23 250s libsource-highlight-common libsource-highlight4t64 libzmq5 python3-all 250s python3-asttokens python3-async-generator python3-comm python3-coverage 250s python3-dateutil python3-debugpy python3-decorator python3-entrypoints 250s python3-executing python3-flaky python3-iniconfig python3-ipykernel 250s python3-ipyparallel python3-ipython python3-jedi python3-jupyter-client 250s python3-jupyter-core python3-matplotlib-inline python3-nest-asyncio 250s python3-outcome python3-packaging python3-parso python3-pexpect 250s python3-platformdirs python3-pluggy python3-prompt-toolkit python3-psutil 250s python3-ptyprocess python3-pure-eval python3-py python3-pytest 250s python3-pytest-asyncio python3-pytest-timeout python3-sniffio 250s python3-sortedcontainers python3-stack-data python3-tornado python3-tqdm 250s python3-traitlets python3-trio python3-typeshed python3-wcwidth python3-zmq 250s python3.13 python3.13-minimal 250s 0 upgraded, 61 newly installed, 0 to remove and 0 not upgraded. 250s Need to get 27.8 MB/27.8 MB of archives. 250s After this operation, 93.0 MB of additional disk space will be used. 250s Get:1 /tmp/autopkgtest.NcuOL3/1-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [760 B] 250s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf libdebuginfod-common all 0.192-4 [15.4 kB] 250s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-minimal armhf 3.13.0-2 [866 kB] 251s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-minimal armhf 3.13.0-2 [1854 kB] 251s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf libbabeltrace1 armhf 1.5.11-4build1 [153 kB] 251s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf libdebuginfod1t64 armhf 0.192-4 [19.6 kB] 251s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12t64 armhf 3.12.7-3 [2075 kB] 251s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf libsource-highlight-common all 3.1.9-4.3build1 [64.2 kB] 251s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf libsource-highlight4t64 armhf 3.1.9-4.3build1 [306 kB] 251s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf libc6-dbg armhf 2.40-1ubuntu3 [6138 kB] 252s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf gdb armhf 15.1-1ubuntu2 [3947 kB] 252s Get:12 http://ftpmaster.internal/ubuntu plucky/universe armhf libnorm1t64 armhf 1.5.9+dfsg-3.1build1 [206 kB] 252s Get:13 http://ftpmaster.internal/ubuntu plucky/universe armhf libpgm-5.3-0t64 armhf 5.3.128~dfsg-2.1build1 [171 kB] 252s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-stdlib armhf 3.13.0-2 [1972 kB] 252s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf libsodium23 armhf 1.0.18-1build3 [139 kB] 252s Get:16 http://ftpmaster.internal/ubuntu plucky/universe armhf libzmq5 armhf 4.3.5-1build2 [262 kB] 252s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13 armhf 3.13.0-2 [719 kB] 252s Get:18 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3-all armhf 3.12.7-1 [890 B] 252s Get:19 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-asttokens all 2.4.1-2 [20.8 kB] 252s Get:20 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-async-generator all 1.10-4 [17.5 kB] 252s Get:21 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-traitlets all 5.14.3+really5.14.3-1 [71.5 kB] 252s Get:22 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-comm all 0.2.1-1 [7016 B] 252s Get:23 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-coverage armhf 7.4.4+dfsg1-0ubuntu3 [148 kB] 252s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf python3-dateutil all 2.9.0-3 [80.2 kB] 252s Get:25 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-debugpy armhf 1.8.8+ds-2ubuntu1 [1077 kB] 252s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf python3-decorator all 5.1.1-5 [10.1 kB] 252s Get:27 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-entrypoints all 0.4-3 [7174 B] 252s Get:28 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-executing all 2.1.0-0.1 [24.4 kB] 252s Get:29 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-flaky all 3.8.1-2 [16.6 kB] 252s Get:30 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-iniconfig all 1.1.1-2 [6024 B] 252s Get:31 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-parso all 0.8.3-1 [67.2 kB] 252s Get:32 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-typeshed all 0.0~git20231111.6764465-3 [1274 kB] 253s Get:33 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-jedi all 0.19.1+ds1-1 [693 kB] 253s Get:34 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-matplotlib-inline all 0.1.6-2 [8784 B] 253s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf python3-wcwidth all 0.2.13+dfsg1-1 [26.3 kB] 253s Get:36 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-prompt-toolkit all 3.0.48-1 [256 kB] 253s Get:37 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pure-eval all 0.2.3-1 [11.4 kB] 253s Get:38 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-stack-data all 0.6.3-1 [22.0 kB] 253s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf python3-ptyprocess all 0.7.0-6 [14.8 kB] 253s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf python3-pexpect all 4.9-3 [48.1 kB] 253s Get:41 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-ipython all 8.29.0-1 [569 kB] 253s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf python3-platformdirs all 4.3.6-1 [16.8 kB] 253s Get:43 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-jupyter-core all 5.7.2-4 [28.0 kB] 253s Get:44 http://ftpmaster.internal/ubuntu plucky/main armhf python3-psutil armhf 5.9.8-2build3 [194 kB] 253s Get:45 http://ftpmaster.internal/ubuntu plucky/main armhf python3-tornado armhf 6.4.1-3 [298 kB] 253s Get:46 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-py all 1.11.0-2 [72.7 kB] 253s Get:47 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-zmq armhf 24.0.1-5build2 [352 kB] 253s Get:48 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-jupyter-client all 8.6.3-1 [78.2 kB] 253s Get:49 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-nest-asyncio all 1.5.4-1 [6256 B] 253s Get:50 http://ftpmaster.internal/ubuntu plucky/main armhf python3-packaging all 24.2-1 [51.5 kB] 253s Get:51 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-ipykernel all 6.29.5-1 [82.5 kB] 253s Get:52 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-tqdm all 4.67.0-1 [91.6 kB] 253s Get:53 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-ipyparallel all 8.8.0-4 [2510 kB] 253s Get:54 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-outcome all 1.2.0-1.1 [5968 B] 253s Get:55 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pluggy all 1.5.0-1 [21.0 kB] 253s Get:56 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytest all 8.3.3-1 [251 kB] 253s Get:57 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytest-asyncio all 0.20.3-1.3 [10.7 kB] 253s Get:58 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytest-timeout all 2.3.1-1 [22.1 kB] 253s Get:59 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-sniffio all 1.3.1-1 [7262 B] 253s Get:60 http://ftpmaster.internal/ubuntu plucky/main armhf python3-sortedcontainers all 2.4.0-2 [27.6 kB] 253s Get:61 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-trio all 0.27.0-1 [322 kB] 253s Preconfiguring packages ... 254s Fetched 27.8 MB in 3s (9384 kB/s) 254s Selecting previously unselected package libdebuginfod-common. 254s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59616 files and directories currently installed.) 254s Preparing to unpack .../00-libdebuginfod-common_0.192-4_all.deb ... 254s Unpacking libdebuginfod-common (0.192-4) ... 254s Selecting previously unselected package libpython3.13-minimal:armhf. 254s Preparing to unpack .../01-libpython3.13-minimal_3.13.0-2_armhf.deb ... 254s Unpacking libpython3.13-minimal:armhf (3.13.0-2) ... 254s Selecting previously unselected package python3.13-minimal. 254s Preparing to unpack .../02-python3.13-minimal_3.13.0-2_armhf.deb ... 254s Unpacking python3.13-minimal (3.13.0-2) ... 254s Selecting previously unselected package libbabeltrace1:armhf. 254s Preparing to unpack .../03-libbabeltrace1_1.5.11-4build1_armhf.deb ... 254s Unpacking libbabeltrace1:armhf (1.5.11-4build1) ... 254s Selecting previously unselected package libdebuginfod1t64:armhf. 254s Preparing to unpack .../04-libdebuginfod1t64_0.192-4_armhf.deb ... 254s Unpacking libdebuginfod1t64:armhf (0.192-4) ... 254s Selecting previously unselected package libpython3.12t64:armhf. 254s Preparing to unpack .../05-libpython3.12t64_3.12.7-3_armhf.deb ... 254s Unpacking libpython3.12t64:armhf (3.12.7-3) ... 254s Selecting previously unselected package libsource-highlight-common. 254s Preparing to unpack .../06-libsource-highlight-common_3.1.9-4.3build1_all.deb ... 254s Unpacking libsource-highlight-common (3.1.9-4.3build1) ... 254s Selecting previously unselected package libsource-highlight4t64:armhf. 254s Preparing to unpack .../07-libsource-highlight4t64_3.1.9-4.3build1_armhf.deb ... 254s Unpacking libsource-highlight4t64:armhf (3.1.9-4.3build1) ... 254s Selecting previously unselected package libc6-dbg:armhf. 254s Preparing to unpack .../08-libc6-dbg_2.40-1ubuntu3_armhf.deb ... 254s Unpacking libc6-dbg:armhf (2.40-1ubuntu3) ... 254s Selecting previously unselected package gdb. 254s Preparing to unpack .../09-gdb_15.1-1ubuntu2_armhf.deb ... 254s Unpacking gdb (15.1-1ubuntu2) ... 254s Selecting previously unselected package libnorm1t64:armhf. 254s Preparing to unpack .../10-libnorm1t64_1.5.9+dfsg-3.1build1_armhf.deb ... 254s Unpacking libnorm1t64:armhf (1.5.9+dfsg-3.1build1) ... 254s Selecting previously unselected package libpgm-5.3-0t64:armhf. 254s Preparing to unpack .../11-libpgm-5.3-0t64_5.3.128~dfsg-2.1build1_armhf.deb ... 254s Unpacking libpgm-5.3-0t64:armhf (5.3.128~dfsg-2.1build1) ... 255s Selecting previously unselected package libpython3.13-stdlib:armhf. 255s Preparing to unpack .../12-libpython3.13-stdlib_3.13.0-2_armhf.deb ... 255s Unpacking libpython3.13-stdlib:armhf (3.13.0-2) ... 255s Selecting previously unselected package libsodium23:armhf. 255s Preparing to unpack .../13-libsodium23_1.0.18-1build3_armhf.deb ... 255s Unpacking libsodium23:armhf (1.0.18-1build3) ... 255s Selecting previously unselected package libzmq5:armhf. 255s Preparing to unpack .../14-libzmq5_4.3.5-1build2_armhf.deb ... 255s Unpacking libzmq5:armhf (4.3.5-1build2) ... 255s Selecting previously unselected package python3.13. 255s Preparing to unpack .../15-python3.13_3.13.0-2_armhf.deb ... 255s Unpacking python3.13 (3.13.0-2) ... 255s Selecting previously unselected package python3-all. 255s Preparing to unpack .../16-python3-all_3.12.7-1_armhf.deb ... 255s Unpacking python3-all (3.12.7-1) ... 255s Selecting previously unselected package python3-asttokens. 255s Preparing to unpack .../17-python3-asttokens_2.4.1-2_all.deb ... 255s Unpacking python3-asttokens (2.4.1-2) ... 255s Selecting previously unselected package python3-async-generator. 255s Preparing to unpack .../18-python3-async-generator_1.10-4_all.deb ... 255s Unpacking python3-async-generator (1.10-4) ... 255s Selecting previously unselected package python3-traitlets. 255s Preparing to unpack .../19-python3-traitlets_5.14.3+really5.14.3-1_all.deb ... 255s Unpacking python3-traitlets (5.14.3+really5.14.3-1) ... 255s Selecting previously unselected package python3-comm. 255s Preparing to unpack .../20-python3-comm_0.2.1-1_all.deb ... 255s Unpacking python3-comm (0.2.1-1) ... 255s Selecting previously unselected package python3-coverage. 255s Preparing to unpack .../21-python3-coverage_7.4.4+dfsg1-0ubuntu3_armhf.deb ... 255s Unpacking python3-coverage (7.4.4+dfsg1-0ubuntu3) ... 255s Selecting previously unselected package python3-dateutil. 255s Preparing to unpack .../22-python3-dateutil_2.9.0-3_all.deb ... 255s Unpacking python3-dateutil (2.9.0-3) ... 255s Selecting previously unselected package python3-debugpy. 255s Preparing to unpack .../23-python3-debugpy_1.8.8+ds-2ubuntu1_armhf.deb ... 255s Unpacking python3-debugpy (1.8.8+ds-2ubuntu1) ... 255s Selecting previously unselected package python3-decorator. 255s Preparing to unpack .../24-python3-decorator_5.1.1-5_all.deb ... 255s Unpacking python3-decorator (5.1.1-5) ... 255s Selecting previously unselected package python3-entrypoints. 255s Preparing to unpack .../25-python3-entrypoints_0.4-3_all.deb ... 255s Unpacking python3-entrypoints (0.4-3) ... 255s Selecting previously unselected package python3-executing. 255s Preparing to unpack .../26-python3-executing_2.1.0-0.1_all.deb ... 255s Unpacking python3-executing (2.1.0-0.1) ... 255s Selecting previously unselected package python3-flaky. 255s Preparing to unpack .../27-python3-flaky_3.8.1-2_all.deb ... 255s Unpacking python3-flaky (3.8.1-2) ... 255s Selecting previously unselected package python3-iniconfig. 255s Preparing to unpack .../28-python3-iniconfig_1.1.1-2_all.deb ... 255s Unpacking python3-iniconfig (1.1.1-2) ... 255s Selecting previously unselected package python3-parso. 255s Preparing to unpack .../29-python3-parso_0.8.3-1_all.deb ... 255s Unpacking python3-parso (0.8.3-1) ... 255s Selecting previously unselected package python3-typeshed. 256s Preparing to unpack .../30-python3-typeshed_0.0~git20231111.6764465-3_all.deb ... 256s Unpacking python3-typeshed (0.0~git20231111.6764465-3) ... 257s Selecting previously unselected package python3-jedi. 257s Preparing to unpack .../31-python3-jedi_0.19.1+ds1-1_all.deb ... 257s Unpacking python3-jedi (0.19.1+ds1-1) ... 257s Selecting previously unselected package python3-matplotlib-inline. 257s Preparing to unpack .../32-python3-matplotlib-inline_0.1.6-2_all.deb ... 257s Unpacking python3-matplotlib-inline (0.1.6-2) ... 257s Selecting previously unselected package python3-wcwidth. 257s Preparing to unpack .../33-python3-wcwidth_0.2.13+dfsg1-1_all.deb ... 257s Unpacking python3-wcwidth (0.2.13+dfsg1-1) ... 257s Selecting previously unselected package python3-prompt-toolkit. 257s Preparing to unpack .../34-python3-prompt-toolkit_3.0.48-1_all.deb ... 257s Unpacking python3-prompt-toolkit (3.0.48-1) ... 257s Selecting previously unselected package python3-pure-eval. 257s Preparing to unpack .../35-python3-pure-eval_0.2.3-1_all.deb ... 257s Unpacking python3-pure-eval (0.2.3-1) ... 258s Selecting previously unselected package python3-stack-data. 258s Preparing to unpack .../36-python3-stack-data_0.6.3-1_all.deb ... 258s Unpacking python3-stack-data (0.6.3-1) ... 258s Selecting previously unselected package python3-ptyprocess. 258s Preparing to unpack .../37-python3-ptyprocess_0.7.0-6_all.deb ... 258s Unpacking python3-ptyprocess (0.7.0-6) ... 258s Selecting previously unselected package python3-pexpect. 258s Preparing to unpack .../38-python3-pexpect_4.9-3_all.deb ... 258s Unpacking python3-pexpect (4.9-3) ... 258s Selecting previously unselected package python3-ipython. 258s Preparing to unpack .../39-python3-ipython_8.29.0-1_all.deb ... 258s Unpacking python3-ipython (8.29.0-1) ... 258s Selecting previously unselected package python3-platformdirs. 258s Preparing to unpack .../40-python3-platformdirs_4.3.6-1_all.deb ... 258s Unpacking python3-platformdirs (4.3.6-1) ... 258s Selecting previously unselected package python3-jupyter-core. 258s Preparing to unpack .../41-python3-jupyter-core_5.7.2-4_all.deb ... 258s Unpacking python3-jupyter-core (5.7.2-4) ... 258s Selecting previously unselected package python3-psutil. 258s Preparing to unpack .../42-python3-psutil_5.9.8-2build3_armhf.deb ... 258s Unpacking python3-psutil (5.9.8-2build3) ... 258s Selecting previously unselected package python3-tornado. 258s Preparing to unpack .../43-python3-tornado_6.4.1-3_armhf.deb ... 258s Unpacking python3-tornado (6.4.1-3) ... 258s Selecting previously unselected package python3-py. 258s Preparing to unpack .../44-python3-py_1.11.0-2_all.deb ... 258s Unpacking python3-py (1.11.0-2) ... 258s Selecting previously unselected package python3-zmq. 258s Preparing to unpack .../45-python3-zmq_24.0.1-5build2_armhf.deb ... 258s Unpacking python3-zmq (24.0.1-5build2) ... 258s Selecting previously unselected package python3-jupyter-client. 258s Preparing to unpack .../46-python3-jupyter-client_8.6.3-1_all.deb ... 258s Unpacking python3-jupyter-client (8.6.3-1) ... 258s Selecting previously unselected package python3-nest-asyncio. 258s Preparing to unpack .../47-python3-nest-asyncio_1.5.4-1_all.deb ... 258s Unpacking python3-nest-asyncio (1.5.4-1) ... 258s Selecting previously unselected package python3-packaging. 259s Preparing to unpack .../48-python3-packaging_24.2-1_all.deb ... 259s Unpacking python3-packaging (24.2-1) ... 259s Selecting previously unselected package python3-ipykernel. 259s Preparing to unpack .../49-python3-ipykernel_6.29.5-1_all.deb ... 259s Unpacking python3-ipykernel (6.29.5-1) ... 259s Selecting previously unselected package python3-tqdm. 259s Preparing to unpack .../50-python3-tqdm_4.67.0-1_all.deb ... 259s Unpacking python3-tqdm (4.67.0-1) ... 259s Selecting previously unselected package python3-ipyparallel. 259s Preparing to unpack .../51-python3-ipyparallel_8.8.0-4_all.deb ... 259s Unpacking python3-ipyparallel (8.8.0-4) ... 259s Selecting previously unselected package python3-outcome. 259s Preparing to unpack .../52-python3-outcome_1.2.0-1.1_all.deb ... 259s Unpacking python3-outcome (1.2.0-1.1) ... 259s Selecting previously unselected package python3-pluggy. 259s Preparing to unpack .../53-python3-pluggy_1.5.0-1_all.deb ... 259s Unpacking python3-pluggy (1.5.0-1) ... 259s Selecting previously unselected package python3-pytest. 259s Preparing to unpack .../54-python3-pytest_8.3.3-1_all.deb ... 259s Unpacking python3-pytest (8.3.3-1) ... 259s Selecting previously unselected package python3-pytest-asyncio. 259s Preparing to unpack .../55-python3-pytest-asyncio_0.20.3-1.3_all.deb ... 259s Unpacking python3-pytest-asyncio (0.20.3-1.3) ... 259s Selecting previously unselected package python3-pytest-timeout. 259s Preparing to unpack .../56-python3-pytest-timeout_2.3.1-1_all.deb ... 259s Unpacking python3-pytest-timeout (2.3.1-1) ... 259s Selecting previously unselected package python3-sniffio. 259s Preparing to unpack .../57-python3-sniffio_1.3.1-1_all.deb ... 259s Unpacking python3-sniffio (1.3.1-1) ... 259s Selecting previously unselected package python3-sortedcontainers. 259s Preparing to unpack .../58-python3-sortedcontainers_2.4.0-2_all.deb ... 259s Unpacking python3-sortedcontainers (2.4.0-2) ... 259s Selecting previously unselected package python3-trio. 259s Preparing to unpack .../59-python3-trio_0.27.0-1_all.deb ... 259s Unpacking python3-trio (0.27.0-1) ... 259s Selecting previously unselected package autopkgtest-satdep. 259s Preparing to unpack .../60-1-autopkgtest-satdep.deb ... 259s Unpacking autopkgtest-satdep (0) ... 259s Setting up python3-entrypoints (0.4-3) ... 260s Setting up python3-iniconfig (1.1.1-2) ... 260s Setting up python3-sniffio (1.3.1-1) ... 260s Setting up python3-outcome (1.2.0-1.1) ... 260s Setting up python3-tornado (6.4.1-3) ... 262s Setting up libnorm1t64:armhf (1.5.9+dfsg-3.1build1) ... 262s Setting up python3-pure-eval (0.2.3-1) ... 262s Setting up libsodium23:armhf (1.0.18-1build3) ... 262s Setting up python3-async-generator (1.10-4) ... 262s Setting up python3-py (1.11.0-2) ... 263s Setting up libdebuginfod-common (0.192-4) ... 263s Setting up python3-parso (0.8.3-1) ... 263s Setting up python3-asttokens (2.4.1-2) ... 264s Setting up python3-tqdm (4.67.0-1) ... 264s Setting up python3-sortedcontainers (2.4.0-2) ... 264s Setting up python3-platformdirs (4.3.6-1) ... 264s Setting up python3-psutil (5.9.8-2build3) ... 265s Setting up libsource-highlight-common (3.1.9-4.3build1) ... 265s Setting up libc6-dbg:armhf (2.40-1ubuntu3) ... 265s Setting up libpython3.12t64:armhf (3.12.7-3) ... 265s Setting up libpython3.13-minimal:armhf (3.13.0-2) ... 265s Setting up libpgm-5.3-0t64:armhf (5.3.128~dfsg-2.1build1) ... 265s Setting up python3-decorator (5.1.1-5) ... 265s Setting up python3-packaging (24.2-1) ... 266s Setting up python3-flaky (3.8.1-2) ... 266s Setting up python3-wcwidth (0.2.13+dfsg1-1) ... 266s Setting up python3-trio (0.27.0-1) ... 267s Setting up python3-typeshed (0.0~git20231111.6764465-3) ... 267s Setting up python3-executing (2.1.0-0.1) ... 267s Setting up python3-nest-asyncio (1.5.4-1) ... 268s Setting up libbabeltrace1:armhf (1.5.11-4build1) ... 268s Setting up python3-pluggy (1.5.0-1) ... 268s Setting up python3-traitlets (5.14.3+really5.14.3-1) ... 268s Setting up python3.13-minimal (3.13.0-2) ... 269s Setting up python3-dateutil (2.9.0-3) ... 270s Setting up libpython3.13-stdlib:armhf (3.13.0-2) ... 270s Setting up python3-stack-data (0.6.3-1) ... 270s Setting up python3-jupyter-core (5.7.2-4) ... 270s Setting up python3-ptyprocess (0.7.0-6) ... 270s Setting up python3-prompt-toolkit (3.0.48-1) ... 271s Setting up libdebuginfod1t64:armhf (0.192-4) ... 271s Setting up libzmq5:armhf (4.3.5-1build2) ... 271s Setting up python3-jedi (0.19.1+ds1-1) ... 272s Setting up python3.13 (3.13.0-2) ... 273s Setting up python3-pytest (8.3.3-1) ... 274s Setting up python3-all (3.12.7-1) ... 274s Setting up python3-coverage (7.4.4+dfsg1-0ubuntu3) ... 275s Setting up libsource-highlight4t64:armhf (3.1.9-4.3build1) ... 275s Setting up python3-matplotlib-inline (0.1.6-2) ... 275s Setting up python3-comm (0.2.1-1) ... 275s Setting up gdb (15.1-1ubuntu2) ... 275s Setting up python3-pexpect (4.9-3) ... 275s Setting up python3-zmq (24.0.1-5build2) ... 276s Setting up python3-pytest-asyncio (0.20.3-1.3) ... 276s Setting up python3-jupyter-client (8.6.3-1) ... 276s Setting up python3-pytest-timeout (2.3.1-1) ... 277s Setting up python3-debugpy (1.8.8+ds-2ubuntu1) ... 278s Setting up python3-ipython (8.29.0-1) ... 279s Setting up python3-ipykernel (6.29.5-1) ... 280s Setting up python3-ipyparallel (8.8.0-4) ... 280s Setting up autopkgtest-satdep (0) ... 280s Processing triggers for systemd (256.5-2ubuntu4) ... 280s Processing triggers for man-db (2.13.0-1) ... 281s Processing triggers for libc-bin (2.40-1ubuntu3) ... 299s (Reading database ... 70495 files and directories currently installed.) 299s Removing autopkgtest-satdep (0) ... 305s autopkgtest [20:42:13]: test pytest: [----------------------- 307s + py3versions -s 307s + PYS=python3.13 python3.12 307s + cp -r tests /tmp/autopkgtest.NcuOL3/autopkgtest_tmp 307s + cd /tmp/autopkgtest.NcuOL3/autopkgtest_tmp 307s + echo Testing with python3.13: 307s + timeout 300 python3.13 -m pytest -v -k not test_init_ipc_socket 307s Testing with python3.13: 308s ============================= test session starts ============================== 308s platform linux -- Python 3.13.0, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3.13 308s cachedir: .pytest_cache 308s rootdir: /tmp/autopkgtest.NcuOL3/autopkgtest_tmp 308s plugins: typeguard-4.4.1, flaky-3.8.1, asyncio-0.20.3, timeout-2.3.1 308s asyncio: mode=Mode.STRICT 309s collecting ... collected 186 items / 1 deselected / 185 selected 309s 309s tests/inprocess/test_kernel.py::test_with_cell_id PASSED [ 0%] 310s tests/inprocess/test_kernel.py::test_pylab SKIPPED (This test requir...) [ 1%] 310s tests/inprocess/test_kernel.py::test_raw_input PASSED [ 1%] 310s tests/inprocess/test_kernel.py::test_stdout PASSED [ 2%] 310s tests/inprocess/test_kernel.py::test_capfd SKIPPED (Currently don't ...) [ 2%] 310s tests/inprocess/test_kernel.py::test_getpass_stream PASSED [ 3%] 310s tests/inprocess/test_kernel.py::test_do_execute SKIPPED (async def f...) [ 3%] 311s tests/inprocess/test_kernelmanager.py::InProcessKernelManagerTestCase::test_complete FAILED [ 4%] 311s tests/inprocess/test_kernelmanager.py::InProcessKernelManagerTestCase::test_execute PASSED [ 4%] 311s tests/inprocess/test_kernelmanager.py::InProcessKernelManagerTestCase::test_history PASSED [ 5%] 311s tests/inprocess/test_kernelmanager.py::InProcessKernelManagerTestCase::test_inspect PASSED [ 5%] 311s tests/inprocess/test_kernelmanager.py::InProcessKernelManagerTestCase::test_interface PASSED [ 6%] 313s tests/test_async.py::test_async_await PASSED [ 7%] 320s tests/test_async.py::test_async_interrupt[asyncio] PASSED [ 7%] 323s tests/test_async.py::test_async_interrupt[trio] PASSED [ 8%] 324s tests/test_async.py::test_async_interrupt[curio] SKIPPED (Requires c...) [ 8%] 324s tests/test_comm.py::test_comm PASSED [ 9%] 324s tests/test_comm.py::test_comm_manager PASSED [ 9%] 324s tests/test_comm.py::test_comm_in_manager PASSED [ 10%] 324s tests/test_connect.py::test_get_connection_file PASSED [ 10%] 324s tests/test_connect.py::test_get_connection_info PASSED [ 11%] 324s tests/test_connect.py::test_port_bind_failure_raises PASSED [ 11%] 324s tests/test_connect.py::test_port_bind_failure_recovery PASSED [ 12%] 324s tests/test_connect.py::test_port_bind_failure_gives_up_retries PASSED [ 12%] 326s tests/test_debugger.py::test_debug_initialize PASSED [ 13%] 328s tests/test_debugger.py::test_attach_debug PASSED [ 14%] 330s tests/test_debugger.py::test_set_breakpoints PASSED [ 14%] 331s tests/test_debugger.py::test_stop_on_breakpoint PASSED [ 15%] 334s tests/test_debugger.py::test_breakpoint_in_cell_with_leading_empty_lines PASSED [ 15%] 335s tests/test_debugger.py::test_rich_inspect_not_at_breakpoint PASSED [ 16%] 337s tests/test_debugger.py::test_rich_inspect_at_breakpoint PASSED [ 16%] 337s tests/test_debugger.py::test_convert_to_long_pathname PASSED [ 17%] 340s tests/test_debugger.py::test_copy_to_globals PASSED [ 17%] 345s tests/test_embed_kernel.py::test_embed_kernel_basic FAILED [ 18%] 350s tests/test_embed_kernel.py::test_embed_kernel_namespace FAILED [ 18%] 357s tests/test_embed_kernel.py::test_embed_kernel_reentrant FAILED [ 19%] 357s tests/test_embed_kernel.py::test_embed_kernel_func NOTE: When using the `ipython kernel` entry point, Ctrl-C will not work. 357s 357s To exit, you will have to explicitly quit this process, by either sending 357s "quit" from a client, or using Ctrl-\ in UNIX-like environments. 357s 357s To read more about this, see https://github.com/ipython/ipython/issues/2049 357s 357s 357s To connect another client to this kernel, use: 357s --existing kernel-2027.json 357s FAILED [ 20%] 359s tests/test_eventloop.py::test_asyncio_interrupt PASSED [ 20%] 361s tests/test_eventloop.py::test_tk_loop PASSED [ 21%] 363s tests/test_eventloop.py::test_asyncio_loop PASSED [ 21%] 364s tests/test_eventloop.py::test_enable_gui PASSED [ 22%] 364s tests/test_eventloop.py::test_cocoa_loop SKIPPED (MacOS-only) [ 22%] 364s tests/test_eventloop.py::test_qt_enable_gui SKIPPED (No viable versi...) [ 23%] 364s tests/test_heartbeat.py::test_port_bind_failure_raises PASSED [ 23%] 364s tests/test_heartbeat.py::test_port_bind_success PASSED [ 24%] 364s tests/test_heartbeat.py::test_port_bind_failure_recovery PASSED [ 24%] 364s tests/test_heartbeat.py::test_port_bind_failure_gives_up_retries PASSED [ 25%] 364s tests/test_io.py::test_io_api PASSED [ 25%] 364s tests/test_io.py::test_io_isatty PASSED [ 26%] 364s tests/test_io.py::test_io_thread PASSED [ 27%] 364s tests/test_io.py::test_background_socket PASSED [ 27%] 364s tests/test_io.py::test_outstream PASSED [ 28%] 364s tests/test_io.py::test_event_pipe_gc SKIPPED (async def function and...) [ 28%] 366s tests/test_io.py::test_echo_watch PASSED [ 29%] 366s tests/test_ipkernel_direct.py::test_properties SKIPPED (async def fu...) [ 29%] 366s tests/test_ipkernel_direct.py::test_direct_kernel_info_request SKIPPED [ 30%] 366s tests/test_ipkernel_direct.py::test_direct_execute_request SKIPPED (...) [ 30%] 366s tests/test_ipkernel_direct.py::test_direct_execute_request_aborting SKIPPED [ 31%] 366s tests/test_ipkernel_direct.py::test_complete_request SKIPPED (async ...) [ 31%] 366s tests/test_ipkernel_direct.py::test_inspect_request SKIPPED (async d...) [ 32%] 366s tests/test_ipkernel_direct.py::test_history_request SKIPPED (async d...) [ 32%] 366s tests/test_ipkernel_direct.py::test_comm_info_request SKIPPED (async...) [ 33%] 366s tests/test_ipkernel_direct.py::test_direct_interrupt_request SKIPPED [ 34%] 366s tests/test_ipkernel_direct.py::test_is_complete_request SKIPPED (asy...) [ 34%] 366s tests/test_ipkernel_direct.py::test_do_apply PASSED [ 35%] 366s tests/test_ipkernel_direct.py::test_direct_debug_request SKIPPED (as...) [ 35%] 366s tests/test_ipkernel_direct.py::test_direct_clear SKIPPED (async def ...) [ 36%] 366s tests/test_ipkernel_direct.py::test_cancel_on_sigint SKIPPED (async ...) [ 36%] 366s tests/test_ipkernel_direct.py::test_dispatch_debugpy PASSED [ 37%] 366s tests/test_ipkernel_direct.py::test_start SKIPPED (async def functio...) [ 37%] 366s tests/test_ipkernel_direct.py::test_start_no_debugpy SKIPPED (async ...) [ 38%] 366s tests/test_ipkernel_direct.py::test_create_comm PASSED [ 38%] 366s tests/test_ipkernel_direct.py::test_finish_metadata PASSED [ 39%] 366s tests/test_ipkernel_direct.py::test_do_debug_request SKIPPED (async ...) [ 40%] 366s tests/test_jsonutil.py::test SKIPPED (json_clean is a no-op) [ 40%] 366s tests/test_jsonutil.py::test_encode_images SKIPPED (json_clean is a ...) [ 41%] 366s tests/test_jsonutil.py::test_lambda SKIPPED (json_clean is a no-op) [ 41%] 366s tests/test_jsonutil.py::test_exception SKIPPED (json_clean is a no-op) [ 42%] 366s tests/test_jsonutil.py::test_unicode_dict SKIPPED (json_clean is a n...) [ 42%] 367s tests/test_kernel.py::test_simple_print PASSED [ 43%] 368s tests/test_kernel.py::test_print_to_correct_cell_from_thread PASSED [ 43%] 370s tests/test_kernel.py::test_print_to_correct_cell_from_child_thread PASSED [ 44%] 371s tests/test_kernel.py::test_print_to_correct_cell_from_asyncio PASSED [ 44%] 371s tests/test_kernel.py::test_capture_fd SKIPPED (Currently don't captu...) [ 45%] 371s tests/test_kernel.py::test_subprocess_peek_at_stream_fileno SKIPPED [ 45%] 371s tests/test_kernel.py::test_sys_path PASSED [ 46%] 373s tests/test_kernel.py::test_sys_path_profile_dir PASSED [ 47%] 375s tests/test_kernel.py::test_subprocess_print PASSED [ 47%] 376s tests/test_kernel.py::test_subprocess_noprint PASSED [ 48%] 377s tests/test_kernel.py::test_subprocess_error PASSED [ 48%] 377s tests/test_kernel.py::test_raw_input PASSED [ 49%] 378s tests/test_kernel.py::test_save_history PASSED [ 49%] 378s tests/test_kernel.py::test_smoke_faulthandler PASSED [ 50%] 378s tests/test_kernel.py::test_help_output PASSED [ 50%] 379s tests/test_kernel.py::test_is_complete PASSED [ 51%] 379s tests/test_kernel.py::test_complete SKIPPED (only run on Windows) [ 51%] 379s tests/test_kernel.py::test_matplotlib_inline_on_import SKIPPED (this...) [ 52%] 380s tests/test_kernel.py::test_message_order PASSED [ 52%] 380s tests/test_kernel.py::test_unc_paths SKIPPED (test only on windows) [ 53%] 381s tests/test_kernel.py::test_shutdown PASSED [ 54%] 383s tests/test_kernel.py::test_interrupt_during_input PASSED [ 54%] 385s tests/test_kernel.py::test_interrupt_with_message PASSED [ 55%] 387s tests/test_kernel.py::test_interrupt_during_pdb_set_trace PASSED [ 55%] 390s tests/test_kernel.py::test_control_thread_priority PASSED [ 56%] 390s tests/test_kernel.py::test_shutdown_subprocesses SKIPPED (Stalls on ...) [ 56%] 390s tests/test_kernel_direct.py::test_direct_kernel_info_request SKIPPED [ 57%] 390s tests/test_kernel_direct.py::test_direct_execute_request SKIPPED (as...) [ 57%] 390s tests/test_kernel_direct.py::test_direct_execute_request_aborting SKIPPED [ 58%] 390s tests/test_kernel_direct.py::test_direct_execute_request_error SKIPPED [ 58%] 390s tests/test_kernel_direct.py::test_complete_request SKIPPED (async de...) [ 59%] 390s tests/test_kernel_direct.py::test_inspect_request SKIPPED (async def...) [ 60%] 390s tests/test_kernel_direct.py::test_history_request SKIPPED (async def...) [ 60%] 390s tests/test_kernel_direct.py::test_comm_info_request SKIPPED (async d...) [ 61%] 390s tests/test_kernel_direct.py::test_direct_interrupt_request SKIPPED (...) [ 61%] 390s tests/test_kernel_direct.py::test_direct_shutdown_request SKIPPED (a...) [ 62%] 390s tests/test_kernel_direct.py::test_is_complete_request SKIPPED (async...) [ 62%] 390s tests/test_kernel_direct.py::test_direct_debug_request SKIPPED (asyn...) [ 63%] 390s tests/test_kernel_direct.py::test_deprecated_features SKIPPED (async...) [ 63%] 390s tests/test_kernel_direct.py::test_process_control SKIPPED (async def...) [ 64%] 390s tests/test_kernel_direct.py::test_should_handle PASSED [ 64%] 390s tests/test_kernel_direct.py::test_dispatch_shell SKIPPED (async def ...) [ 65%] 390s tests/test_kernel_direct.py::test_do_one_iteration SKIPPED (async de...) [ 65%] 390s tests/test_kernel_direct.py::test_publish_debug_event SKIPPED (async...) [ 66%] 390s tests/test_kernel_direct.py::test_connect_request SKIPPED (async def...) [ 67%] 390s tests/test_kernel_direct.py::test_send_interrupt_children SKIPPED (a...) [ 67%] 390s tests/test_kernelapp.py::test_blackhole PASSED [ 68%] 391s tests/test_kernelapp.py::test_start_app PASSED [ 68%] 391s tests/test_kernelapp.py::test_merge_connection_file PASSED [ 69%] 391s tests/test_kernelapp.py::test_trio_loop PASSED [ 69%] 391s tests/test_kernelspec.py::test_make_ipkernel_cmd PASSED [ 70%] 391s tests/test_kernelspec.py::test_get_kernel_dict PASSED [ 70%] 391s tests/test_kernelspec.py::test_get_kernel_dict_with_profile PASSED [ 71%] 391s tests/test_kernelspec.py::test_write_kernel_spec PASSED [ 71%] 391s tests/test_kernelspec.py::test_write_kernel_spec_path PASSED [ 72%] 391s tests/test_kernelspec.py::test_install_kernelspec FAILED [ 72%] 391s tests/test_kernelspec.py::test_install_user PASSED [ 73%] 391s tests/test_kernelspec.py::test_install PASSED [ 74%] 391s tests/test_kernelspec.py::test_install_profile PASSED [ 74%] 391s tests/test_kernelspec.py::test_install_display_name_overrides_profile PASSED [ 75%] 391s tests/test_kernelspec.py::test_install_env[None] PASSED [ 75%] 391s tests/test_kernelspec.py::test_install_env[env1] PASSED [ 76%] 391s tests/test_kernelspec.py::test_install_env[env2] PASSED [ 76%] 391s tests/test_kernelspec.py::test_install_frozen_modules_on PASSED [ 77%] 391s tests/test_kernelspec.py::test_install_frozen_modules_off PASSED [ 77%] 391s tests/test_kernelspec.py::test_install_frozen_modules_no_op SKIPPED [ 78%] 392s tests/test_message_spec.py::test_execute PASSED [ 78%] 393s tests/test_message_spec.py::test_execute_silent PASSED [ 79%] 393s tests/test_message_spec.py::test_execute_error PASSED [ 80%] 394s tests/test_message_spec.py::test_execute_inc PASSED [ 80%] 396s tests/test_message_spec.py::test_execute_stop_on_error PASSED [ 81%] 397s tests/test_message_spec.py::test_non_execute_stop_on_error PASSED [ 81%] 398s tests/test_message_spec.py::test_user_expressions PASSED [ 82%] 398s tests/test_message_spec.py::test_user_expressions_fail PASSED [ 82%] 399s tests/test_message_spec.py::test_oinfo PASSED [ 83%] 399s tests/test_message_spec.py::test_oinfo_found PASSED [ 83%] 399s tests/test_message_spec.py::test_oinfo_detail PASSED [ 84%] 400s tests/test_message_spec.py::test_oinfo_not_found PASSED [ 84%] 401s tests/test_message_spec.py::test_complete PASSED [ 85%] 401s tests/test_message_spec.py::test_kernel_info_request PASSED [ 85%] 402s tests/test_message_spec.py::test_connect_request PASSED [ 86%] 402s tests/test_message_spec.py::test_comm_info_request PASSED [ 87%] 402s tests/test_message_spec.py::test_single_payload PASSED [ 87%] 403s tests/test_message_spec.py::test_is_complete PASSED [ 88%] 403s tests/test_message_spec.py::test_history_range PASSED [ 88%] 404s tests/test_message_spec.py::test_history_tail PASSED [ 89%] 404s tests/test_message_spec.py::test_history_search PASSED [ 89%] 404s tests/test_message_spec.py::test_stream PASSED [ 90%] 405s tests/test_message_spec.py::test_display_data PASSED [ 90%] 405s tests/test_parentpoller.py::test_parent_poller_unix PASSED [ 91%] 405s tests/test_parentpoller.py::test_parent_poller_windows SKIPPED (only...) [ 91%] 405s tests/test_pickleutil.py::test_no_closure PASSED [ 92%] 405s tests/test_pickleutil.py::test_generator_closure PASSED [ 92%] 405s tests/test_pickleutil.py::test_nested_closure PASSED [ 93%] 405s tests/test_pickleutil.py::test_closure PASSED [ 94%] 405s tests/test_pickleutil.py::test_uncan_bytes_buffer PASSED [ 94%] 406s tests/test_start_kernel.py::test_ipython_start_kernel_userns PASSED [ 95%] 407s tests/test_start_kernel.py::test_ipython_start_kernel_no_userns PASSED [ 95%] 407s tests/test_zmq_shell.py::ZMQDisplayPublisherTests::test_display_hook_halts_send PASSED [ 96%] 407s tests/test_zmq_shell.py::ZMQDisplayPublisherTests::test_display_hook_return_calls_send PASSED [ 96%] 407s tests/test_zmq_shell.py::ZMQDisplayPublisherTests::test_display_publisher_creation PASSED [ 97%] 407s tests/test_zmq_shell.py::ZMQDisplayPublisherTests::test_publish PASSED [ 97%] 407s tests/test_zmq_shell.py::ZMQDisplayPublisherTests::test_thread_local_hooks PASSED [ 98%] 407s tests/test_zmq_shell.py::ZMQDisplayPublisherTests::test_unregister_hook PASSED [ 98%] 407s tests/test_zmq_shell.py::test_magics PASSED [ 99%] 407s tests/test_zmq_shell.py::test_zmq_interactive_shell FAILED [100%] 407s 407s =================================== FAILURES =================================== 407s _________________ InProcessKernelManagerTestCase.test_complete _________________ 407s 407s self = 407s 407s def test_complete(self): 407s """Does requesting completion from an in-process kernel work?""" 407s km = self.km 407s km.start_kernel() 407s kc = km.client() 407s kc.start_channels() 407s kc.wait_for_ready() 407s km.kernel.shell.push({"my_bar": 0, "my_baz": 1}) 407s kc.complete("my_ba", 5) 407s msg = kc.get_shell_msg() 407s assert msg["header"]["msg_type"] == "complete_reply" 407s > assert sorted(msg["content"]["matches"]) == ["my_bar", "my_baz"] 407s E AssertionError: assert [] == ['my_bar', 'my_baz'] 407s E 407s E Right contains 2 more items, first extra item: 'my_bar' 407s E 407s E Full diff: 407s E + [] 407s E - [ 407s E - 'my_bar', 407s E - 'my_baz', 407s E - ] 407s 407s tests/inprocess/test_kernelmanager.py:78: AssertionError 407s ----------------------------- Captured stdout call ----------------------------- 407s status 407s ----------------------------- Captured stderr call ----------------------------- 407s Traceback (most recent call last): 407s File "/usr/lib/python3/dist-packages/jedi/cache.py", line 110, in wrapper 407s return dct[key] 407s ~~~^^^^^ 407s KeyError: ((), frozenset()) 407s 407s During handling of the above exception, another exception occurred: 407s 407s Traceback (most recent call last): 407s File "/usr/lib/python3/dist-packages/parso/grammar.py", line 252, in load_grammar 407s return _loaded_grammars[path] 407s ~~~~~~~~~~~~~~~~^^^^^^ 407s KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s During handling of the above exception, another exception occurred: 407s 407s Traceback (most recent call last): 407s File "/usr/lib/python3/dist-packages/parso/grammar.py", line 255, in load_grammar 407s with open(path) as f: 407s ~~~~^^^^^^ 407s FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s During handling of the above exception, another exception occurred: 407s 407s Traceback (most recent call last): 407s File "/usr/lib/python3/dist-packages/IPython/core/completer.py", line 3214, in _complete 407s result = matcher(context) 407s File "/usr/lib/python3/dist-packages/IPython/core/completer.py", line 2234, in _jedi_matcher 407s matches = self._jedi_matches( 407s cursor_column=context.cursor_position, 407s cursor_line=context.cursor_line, 407s text=context.full_text, 407s ) 407s File "/usr/lib/python3/dist-packages/IPython/core/completer.py", line 2288, in _jedi_matches 407s interpreter = jedi.Interpreter(text[:offset], namespaces) 407s File "/usr/lib/python3/dist-packages/jedi/api/__init__.py", line 741, in __init__ 407s super().__init__(code, environment=environment, project=project, **kwds) 407s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 407s File "/usr/lib/python3/dist-packages/jedi/api/__init__.py", line 119, in __init__ 407s self._inference_state = InferenceState( 407s ~~~~~~~~~~~~~~^ 407s project, environment=environment, script_path=self.path 407s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 407s ) 407s ^ 407s File "/usr/lib/python3/dist-packages/jedi/inference/__init__.py", line 91, in __init__ 407s self.grammar = environment.get_grammar() 407s ~~~~~~~~~~~~~~~~~~~~~~~^^ 407s File "/usr/lib/python3/dist-packages/jedi/cache.py", line 112, in wrapper 407s result = method(self, *args, **kwargs) 407s File "/usr/lib/python3/dist-packages/jedi/api/environment.py", line 37, in get_grammar 407s return parso.load_grammar(version=version_string) 407s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^ 407s File "/usr/lib/python3/dist-packages/parso/grammar.py", line 264, in load_grammar 407s raise NotImplementedError(message) 407s NotImplementedError: Python version 3.13 is currently not supported. 407s ___________________________ test_embed_kernel_basic ____________________________ 407s 407s @flaky(max_runs=3) 407s def test_embed_kernel_basic(): 407s """IPython.embed_kernel() is basically functional""" 407s cmd = "\n".join( 407s [ 407s "from IPython import embed_kernel", 407s "def go():", 407s " a=5", 407s ' b="hi there"', 407s " embed_kernel()", 407s "go()", 407s "", 407s ] 407s ) 407s 407s > with setup_kernel(cmd) as client: 407s 407s tests/test_embed_kernel.py:109: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3.13/contextlib.py:141: in __enter__ 407s return next(self.gen) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s cmd = 'from IPython import embed_kernel\ndef go():\n a=5\n b="hi there"\n embed_kernel()\ngo()\n' 407s 407s @contextmanager 407s def setup_kernel(cmd): 407s """start an embedded kernel in a subprocess, and wait for it to be ready 407s 407s Returns 407s ------- 407s kernel_manager: connected KernelManager instance 407s """ 407s 407s def connection_file_ready(connection_file): 407s """Check if connection_file is a readable json file.""" 407s if not os.path.exists(connection_file): 407s return False 407s try: 407s with open(connection_file) as f: 407s json.load(f) 407s return True 407s except ValueError: 407s return False 407s 407s kernel = Popen([sys.executable, "-c", cmd], stdout=PIPE, stderr=PIPE, encoding="utf-8") 407s try: 407s connection_file = os.path.join( 407s paths.jupyter_runtime_dir(), 407s "kernel-%i.json" % kernel.pid, 407s ) 407s # wait for connection file to exist, timeout after 5s 407s tic = time.time() 407s while ( 407s not connection_file_ready(connection_file) 407s and kernel.poll() is None 407s and time.time() < tic + SETUP_TIMEOUT 407s ): 407s time.sleep(0.1) 407s 407s # Wait 100ms for the writing to finish 407s time.sleep(0.1) 407s 407s if kernel.poll() is not None: 407s o, e = kernel.communicate() 407s raise OSError("Kernel failed to start:\n%s" % e) 407s 407s if not os.path.exists(connection_file): 407s if kernel.poll() is None: 407s kernel.terminate() 407s > raise OSError("Connection file %r never arrived" % connection_file) 407s E OSError: Connection file '/home/ubuntu/.local/share/jupyter/runtime/kernel-2426.json' never arrived 407s 407s tests/test_embed_kernel.py:74: OSError 407s _________________________ test_embed_kernel_namespace __________________________ 407s 407s @flaky(max_runs=3) 407s def test_embed_kernel_namespace(): 407s """IPython.embed_kernel() inherits calling namespace""" 407s cmd = "\n".join( 407s [ 407s "from IPython import embed_kernel", 407s "def go():", 407s " a=5", 407s ' b="hi there"', 407s " embed_kernel()", 407s "go()", 407s "", 407s ] 407s ) 407s 407s > with setup_kernel(cmd) as client: 407s 407s tests/test_embed_kernel.py:145: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3.13/contextlib.py:141: in __enter__ 407s return next(self.gen) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s cmd = 'from IPython import embed_kernel\ndef go():\n a=5\n b="hi there"\n embed_kernel()\ngo()\n' 407s 407s @contextmanager 407s def setup_kernel(cmd): 407s """start an embedded kernel in a subprocess, and wait for it to be ready 407s 407s Returns 407s ------- 407s kernel_manager: connected KernelManager instance 407s """ 407s 407s def connection_file_ready(connection_file): 407s """Check if connection_file is a readable json file.""" 407s if not os.path.exists(connection_file): 407s return False 407s try: 407s with open(connection_file) as f: 407s json.load(f) 407s return True 407s except ValueError: 407s return False 407s 407s kernel = Popen([sys.executable, "-c", cmd], stdout=PIPE, stderr=PIPE, encoding="utf-8") 407s try: 407s connection_file = os.path.join( 407s paths.jupyter_runtime_dir(), 407s "kernel-%i.json" % kernel.pid, 407s ) 407s # wait for connection file to exist, timeout after 5s 407s tic = time.time() 407s while ( 407s not connection_file_ready(connection_file) 407s and kernel.poll() is None 407s and time.time() < tic + SETUP_TIMEOUT 407s ): 407s time.sleep(0.1) 407s 407s # Wait 100ms for the writing to finish 407s time.sleep(0.1) 407s 407s if kernel.poll() is not None: 407s o, e = kernel.communicate() 407s raise OSError("Kernel failed to start:\n%s" % e) 407s 407s if not os.path.exists(connection_file): 407s if kernel.poll() is None: 407s kernel.terminate() 407s > raise OSError("Connection file %r never arrived" % connection_file) 407s E OSError: Connection file '/home/ubuntu/.local/share/jupyter/runtime/kernel-2459.json' never arrived 407s 407s tests/test_embed_kernel.py:74: OSError 407s _________________________ test_embed_kernel_reentrant __________________________ 407s 407s @flaky(max_runs=3) 407s def test_embed_kernel_reentrant(): 407s """IPython.embed_kernel() can be called multiple times""" 407s cmd = "\n".join( 407s [ 407s "from IPython import embed_kernel", 407s "count = 0", 407s "def go():", 407s " global count", 407s " embed_kernel()", 407s " count = count + 1", 407s "", 407s "while True: go()", 407s "", 407s ] 407s ) 407s 407s > with setup_kernel(cmd) as client: 407s 407s tests/test_embed_kernel.py:186: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3.13/contextlib.py:141: in __enter__ 407s return next(self.gen) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s cmd = 'from IPython import embed_kernel\ncount = 0\ndef go():\n global count\n embed_kernel()\n count = count + 1\n\nwhile True: go()\n' 407s 407s @contextmanager 407s def setup_kernel(cmd): 407s """start an embedded kernel in a subprocess, and wait for it to be ready 407s 407s Returns 407s ------- 407s kernel_manager: connected KernelManager instance 407s """ 407s 407s def connection_file_ready(connection_file): 407s """Check if connection_file is a readable json file.""" 407s if not os.path.exists(connection_file): 407s return False 407s try: 407s with open(connection_file) as f: 407s json.load(f) 407s return True 407s except ValueError: 407s return False 407s 407s kernel = Popen([sys.executable, "-c", cmd], stdout=PIPE, stderr=PIPE, encoding="utf-8") 407s try: 407s connection_file = os.path.join( 407s paths.jupyter_runtime_dir(), 407s "kernel-%i.json" % kernel.pid, 407s ) 407s # wait for connection file to exist, timeout after 5s 407s tic = time.time() 407s while ( 407s not connection_file_ready(connection_file) 407s and kernel.poll() is None 407s and time.time() < tic + SETUP_TIMEOUT 407s ): 407s time.sleep(0.1) 407s 407s # Wait 100ms for the writing to finish 407s time.sleep(0.1) 407s 407s if kernel.poll() is not None: 407s o, e = kernel.communicate() 407s raise OSError("Kernel failed to start:\n%s" % e) 407s 407s if not os.path.exists(connection_file): 407s if kernel.poll() is None: 407s kernel.terminate() 407s > raise OSError("Connection file %r never arrived" % connection_file) 407s E OSError: Connection file '/home/ubuntu/.local/share/jupyter/runtime/kernel-2495.json' never arrived 407s 407s tests/test_embed_kernel.py:74: OSError 407s ____________________________ test_embed_kernel_func ____________________________ 407s 407s def test_embed_kernel_func(): 407s from types import ModuleType 407s 407s module = ModuleType("test") 407s 407s def trigger_stop(): 407s time.sleep(1) 407s app = IPKernelApp.instance() 407s app.io_loop.add_callback(app.io_loop.stop) 407s IPKernelApp.clear_instance() 407s 407s thread = threading.Thread(target=trigger_stop) 407s thread.start() 407s 407s > embed_kernel(module, outstream_class=None) 407s 407s tests/test_embed_kernel.py:215: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/ipykernel/embed.py:55: in embed_kernel 407s app.kernel.user_ns = local_ns 407s /usr/lib/python3/dist-packages/traitlets/traitlets.py:716: in __set__ 407s self.set(obj, value) 407s /usr/lib/python3/dist-packages/traitlets/traitlets.py:690: in set 407s new_value = self._validate(obj, value) 407s /usr/lib/python3/dist-packages/traitlets/traitlets.py:722: in _validate 407s value = self.validate(obj, value) 407s /usr/lib/python3/dist-packages/traitlets/traitlets.py:2311: in validate 407s self.error(obj, value) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s self = 407s obj = 407s value = {'ModuleType': , 'module': , 'trigger_stop': .trigger_stop at 0xee0ea618>, 'thread': } 407s error = None, info = None 407s 407s def error( 407s self, 407s obj: HasTraits | None, 407s value: t.Any, 407s error: Exception | None = None, 407s info: str | None = None, 407s ) -> t.NoReturn: 407s """Raise a TraitError 407s 407s Parameters 407s ---------- 407s obj : HasTraits or None 407s The instance which owns the trait. If not 407s object is given, then an object agnostic 407s error will be raised. 407s value : any 407s The value that caused the error. 407s error : Exception (default: None) 407s An error that was raised by a child trait. 407s The arguments of this exception should be 407s of the form ``(value, info, *traits)``. 407s Where the ``value`` and ``info`` are the 407s problem value, and string describing the 407s expected value. The ``traits`` are a series 407s of :class:`TraitType` instances that are 407s "children" of this one (the first being 407s the deepest). 407s info : str (default: None) 407s A description of the expected value. By 407s default this is inferred from this trait's 407s ``info`` method. 407s """ 407s if error is not None: 407s # handle nested error 407s error.args += (self,) 407s if self.name is not None: 407s # this is the root trait that must format the final message 407s chain = " of ".join(describe("a", t) for t in error.args[2:]) 407s if obj is not None: 407s error.args = ( 407s "The '{}' trait of {} instance contains {} which " 407s "expected {}, not {}.".format( 407s self.name, 407s describe("an", obj), 408s chain, 408s error.args[1], 408s describe("the", error.args[0]), 408s ), 408s ) 408s else: 408s error.args = ( 408s "The '{}' trait contains {} which " "expected {}, not {}.".format( 408s self.name, 408s chain, 408s error.args[1], 408s describe("the", error.args[0]), 408s ), 408s ) 408s raise error 408s 408s # this trait caused an error 408s if self.name is None: 408s # this is not the root trait 408s raise TraitError(value, info or self.info(), self) 408s 408s # this is the root trait 408s if obj is not None: 408s e = "The '{}' trait of {} instance expected {}, not {}.".format( 408s self.name, 408s class_of(obj), 408s info or self.info(), 408s describe("the", value), 408s ) 408s else: 408s e = "The '{}' trait expected {}, not {}.".format( 408s self.name, 408s info or self.info(), 408s describe("the", value), 408s ) 408s > raise TraitError(e) 408s E traitlets.traitlets.TraitError: The 'user_ns' trait of an IPythonKernel instance expected a dict or None, not the FrameLocalsProxy {'ModuleType': , 'module': , 'trigger_stop': .trigger_stop at 0xee0ea618>, 'thread': }. 408s 408s /usr/lib/python3/dist-packages/traitlets/traitlets.py:831: TraitError 408s ___________________________ test_install_kernelspec ____________________________ 408s 408s def test_install_kernelspec(): 408s path = tempfile.mkdtemp() 408s try: 408s > InstallIPythonKernelSpecApp.launch_instance(argv=["--prefix", path]) 408s 408s tests/test_kernelspec.py:83: 408s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 408s /usr/lib/python3/dist-packages/traitlets/config/application.py:1073: in launch_instance 408s app = cls.instance(**kwargs) 408s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 408s 408s cls = , args = () 408s kwargs = {} 408s 408s @classmethod 408s def instance(cls: type[CT], *args: t.Any, **kwargs: t.Any) -> CT: 408s """Returns a global instance of this class. 408s 408s This method create a new instance if none have previously been created 408s and returns a previously created instance is one already exists. 408s 408s The arguments and keyword arguments passed to this method are passed 408s on to the :meth:`__init__` method of the class upon instantiation. 408s 408s Examples 408s -------- 408s Create a singleton class using instance, and retrieve it:: 408s 408s >>> from traitlets.config.configurable import SingletonConfigurable 408s >>> class Foo(SingletonConfigurable): pass 408s >>> foo = Foo.instance() 408s >>> foo == Foo.instance() 408s True 408s 408s Create a subclass that is retrieved using the base class instance:: 408s 408s >>> class Bar(SingletonConfigurable): pass 408s >>> class Bam(Bar): pass 408s >>> bam = Bam.instance() 408s >>> bam == Bar.instance() 408s True 408s """ 408s # Create and save the instance 408s if cls._instance is None: 408s inst = cls(*args, **kwargs) 408s # Now make sure that the instance will also be returned by 408s # parent classes' _instance attribute. 408s for subclass in cls._walk_mro(): 408s subclass._instance = inst 408s 408s if isinstance(cls._instance, cls): 408s return cls._instance 408s else: 408s > raise MultipleInstanceError( 408s f"An incompatible sibling of '{cls.__name__}' is already instantiated" 408s f" as singleton: {type(cls._instance).__name__}" 408s ) 408s E traitlets.config.configurable.MultipleInstanceError: An incompatible sibling of 'InstallIPythonKernelSpecApp' is already instantiated as singleton: IPKernelApp 408s 408s /usr/lib/python3/dist-packages/traitlets/config/configurable.py:592: MultipleInstanceError 408s __________________________ test_zmq_interactive_shell __________________________ 408s 408s kernel = 408s 408s def test_zmq_interactive_shell(kernel): 408s shell = ZMQInteractiveShell() 408s 408s > with pytest.raises(RuntimeError): 408s E Failed: DID NOT RAISE 408s 408s tests/test_zmq_shell.py:239: Failed 408s =============================== warnings summary =============================== 408s ../../../usr/lib/python3/dist-packages/jupyter_client/connect.py:22 408s /usr/lib/python3/dist-packages/jupyter_client/connect.py:22: DeprecationWarning: Jupyter is migrating its paths to use standard platformdirs 408s given by the platformdirs library. To remove this warning and 408s see the appropriate new directories, set the environment variable 408s `JUPYTER_PLATFORM_DIRS=1` and then run `jupyter --paths`. 408s The use of platformdirs will be the default in `jupyter_core` v6 408s from jupyter_core.paths import jupyter_data_dir, jupyter_runtime_dir, secure_write 408s 408s ../../../usr/lib/python3/dist-packages/ipykernel/jsonutil.py:29 408s /usr/lib/python3/dist-packages/ipykernel/jsonutil.py:29: DeprecationWarning: Parsing dates involving a day of month without a year specified is ambiguious 408s and fails to parse leap day. The default behavior will change in Python 3.15 408s to either always raise an exception or to use a different default year (TBD). 408s To avoid trouble, add a specific year to the input & format. 408s See https://github.com/python/cpython/issues/70647. 408s datetime.strptime("1", "%d") 408s 408s tests/inprocess/test_kernel.py::test_getpass_stream 408s /tmp/autopkgtest.NcuOL3/autopkgtest_tmp/tests/inprocess/test_kernel.py:115: UserWarning: The `stream` parameter of `getpass.getpass` will have no effect when using ipykernel 408s kernel.getpass(stream="non empty") 408s 408s tests/inprocess/test_kernel.py: 1 warning 408s tests/test_io.py: 1 warning 408s tests/test_ipkernel_direct.py: 16 warnings 408s tests/test_kernel_direct.py: 19 warnings 408s /usr/lib/python3/dist-packages/_pytest/python.py:148: PytestUnhandledCoroutineWarning: async def functions are not natively supported and have been skipped. 408s You need to install a suitable plugin for your async framework, for example: 408s - anyio 408s - pytest-asyncio 408s - pytest-tornasync 408s - pytest-trio 408s - pytest-twisted 408s warnings.warn(PytestUnhandledCoroutineWarning(msg.format(nodeid))) 408s 408s tests/test_eventloop.py::test_asyncio_interrupt 408s /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread Thread-19 (trigger_stop) 408s 408s Traceback (most recent call last): 408s File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner 408s self.run() 408s ~~~~~~~~^^ 408s File "/usr/lib/python3/dist-packages/ipykernel/ipkernel.py", line 766, in run_closure 408s _threading_Thread_run(self) 408s ~~~~~~~~~~~~~~~~~~~~~^^^^^^ 408s File "/usr/lib/python3/dist-packages/ipykernel/ipkernel.py", line 766, in run_closure 408s _threading_Thread_run(self) 408s ~~~~~~~~~~~~~~~~~~~~~^^^^^^ 408s File "/usr/lib/python3/dist-packages/ipykernel/ipkernel.py", line 766, in run_closure 408s _threading_Thread_run(self) 408s ~~~~~~~~~~~~~~~~~~~~~^^^^^^ 408s [Previous line repeated 12 more times] 408s File "/usr/lib/python3.13/threading.py", line 992, in run 408s self._target(*self._args, **self._kwargs) 408s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 408s File "/tmp/autopkgtest.NcuOL3/autopkgtest_tmp/tests/test_embed_kernel.py", line 209, in trigger_stop 408s app.io_loop.add_callback(app.io_loop.stop) 408s ^^^^^^^^^^^ 408s AttributeError: 'IPKernelApp' object has no attribute 'io_loop'. Did you mean: 'trio_loop'? 408s 408s warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) 408s 408s tests/test_zmq_shell.py::test_magics 408s /usr/lib/python3.13/pty.py:95: DeprecationWarning: This process (pid=2027) is multi-threaded, use of forkpty() may lead to deadlocks in the child. 408s pid, fd = os.forkpty() 408s 408s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 408s ===Flaky Test Report=== 408s 408s test_interface passed 1 out of the required 1 times. Success! 408s test_embed_kernel_basic failed (2 runs remaining out of 3). 408s 408s Kernel died before replying to kernel_info 408s [, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ] 408s test_embed_kernel_basic failed (1 runs remaining out of 3). 408s 408s Kernel died before replying to kernel_info 408s [, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ] 408s test_embed_kernel_basic failed; it passed 0 out of the required 1 times. 408s 408s Connection file '/home/ubuntu/.local/share/jupyter/runtime/kernel-2426.json' never arrived 408s [, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ] 408s test_embed_kernel_namespace failed (2 runs remaining out of 3). 408s 408s Connection file '/home/ubuntu/.local/share/jupyter/runtime/kernel-2436.json' never arrived 408s [, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ] 408s test_embed_kernel_namespace failed (1 runs remaining out of 3). 408s 408s Kernel died before replying to kernel_info 408s [, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ] 408s test_embed_kernel_namespace failed; it passed 0 out of the required 1 times. 408s 408s Connection file '/home/ubuntu/.local/share/jupyter/runtime/kernel-2459.json' never arrived 408s [, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ] 408s test_embed_kernel_reentrant failed (2 runs remaining out of 3). 408s 408s Kernel died before replying to kernel_info 408s [, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ] 408s test_embed_kernel_reentrant failed (1 runs remaining out of 3). 408s 408s Kernel died before replying to kernel_info 408s [, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ] 408s test_embed_kernel_reentrant failed; it passed 0 out of the required 1 times. 408s 408s Connection file '/home/ubuntu/.local/share/jupyter/runtime/kernel-2495.json' never arrived 408s [, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ] 408s test_subprocess_print passed 1 out of the required 1 times. Success! 408s test_subprocess_noprint passed 1 out of the required 1 times. Success! 408s test_subprocess_error passed 1 out of the required 1 times. Success! 408s test_ipython_start_kernel_userns passed 1 out of the required 1 times. Success! 408s test_ipython_start_kernel_no_userns passed 1 out of the required 1 times. Success! 408s 408s ===End Flaky Test Report=== 408s =========================== short test summary info ============================ 408s FAILED tests/inprocess/test_kernelmanager.py::InProcessKernelManagerTestCase::test_complete 408s FAILED tests/test_embed_kernel.py::test_embed_kernel_basic - OSError: Connect... 408s FAILED tests/test_embed_kernel.py::test_embed_kernel_namespace - OSError: Con... 408s FAILED tests/test_embed_kernel.py::test_embed_kernel_reentrant - OSError: Con... 408s FAILED tests/test_embed_kernel.py::test_embed_kernel_func - traitlets.traitle... 408s FAILED tests/test_kernelspec.py::test_install_kernelspec - traitlets.config.c... 408s FAILED tests/test_zmq_shell.py::test_zmq_interactive_shell - Failed: DID NOT ... 408s = 7 failed, 123 passed, 55 skipped, 1 deselected, 42 warnings in 99.11s (0:01:39) = 411s autopkgtest [20:43:59]: test pytest: -----------------------] 415s pytest FAIL non-zero exit status 1 415s autopkgtest [20:44:03]: test pytest: - - - - - - - - - - results - - - - - - - - - - 419s autopkgtest [20:44:07]: @@@@@@@@@@@@@@@@@@@@ summary 419s pytest FAIL non-zero exit status 1