0s autopkgtest [18:14:09]: starting date and time: 2026-01-22 18:14:09+0000 0s autopkgtest [18:14:09]: git checkout: 508d4a25 a-v-ssh wait_for_ssh: demote "ssh connection failed" to a debug message 0s autopkgtest [18:14:09]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.a3z9jr4y/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,localhost,localdomain,internal,login.ubuntu.com,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.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.14.2-1 -- lxd -r lxd-armhf-10.145.243.254 lxd-armhf-10.145.243.254:autopkgtest/ubuntu/resolute/armhf 22s autopkgtest [18:14:31]: testbed dpkg architecture: armhf 24s autopkgtest [18:14:33]: testbed apt version: 3.1.12 28s autopkgtest [18:14:37]: @@@@@@@@@@@@@@@@@@@@ test bed setup 30s autopkgtest [18:14:39]: testbed release detected to be: None 38s autopkgtest [18:14:47]: updating testbed package index (apt update) 40s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 40s Get:2 http://ftpmaster.internal/ubuntu resolute InRelease [124 kB] 40s Get:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease [124 kB] 40s Get:4 http://ftpmaster.internal/ubuntu resolute-security InRelease [124 kB] 40s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2820 B] 40s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [19.2 kB] 40s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [80.9 kB] 40s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [815 kB] 41s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf Packages [97.4 kB] 41s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe armhf Packages [571 kB] 41s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse armhf Packages [3644 B] 41s Get:12 http://ftpmaster.internal/ubuntu resolute/universe Sources [21.4 MB] 41s Get:13 http://ftpmaster.internal/ubuntu resolute/main Sources [1402 kB] 41s Get:14 http://ftpmaster.internal/ubuntu resolute/multiverse Sources [310 kB] 41s Get:15 http://ftpmaster.internal/ubuntu resolute/main armhf Packages [1371 kB] 41s Get:16 http://ftpmaster.internal/ubuntu resolute/universe armhf Packages [14.9 MB] 42s Get:17 http://ftpmaster.internal/ubuntu resolute/multiverse armhf Packages [175 kB] 45s Fetched 41.6 MB in 5s (7935 kB/s) 46s Reading package lists... 52s autopkgtest [18:15:01]: upgrading testbed (apt dist-upgrade and autopurge) 54s Reading package lists... 55s Building dependency tree... 55s Reading state information... 55s Calculating upgrade... 56s The following packages were automatically installed and are no longer required: 56s libpython3.13-minimal libpython3.13-stdlib python3.13 python3.13-minimal 56s Use 'apt autoremove' to remove them. 56s The following NEW packages will be installed: 56s libpython3.14-minimal libpython3.14-stdlib python3.14 python3.14-minimal 56s The following packages will be upgraded: 56s libpython3-stdlib python3 python3-gdbm python3-minimal 56s 4 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 56s Need to get 6219 kB of archives. 56s After this operation, 22.5 MB of additional disk space will be used. 56s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf libpython3.14-minimal armhf 3.14.2-1 [905 kB] 56s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf python3.14-minimal armhf 3.14.2-1 [2155 kB] 57s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3-gdbm armhf 3.14.2-1 [11.1 kB] 57s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3-minimal armhf 3.14.2-1 [28.2 kB] 57s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3 armhf 3.14.2-1 [22.9 kB] 57s Get:6 http://ftpmaster.internal/ubuntu resolute/main armhf libpython3.14-stdlib armhf 3.14.2-1 [2270 kB] 57s Get:7 http://ftpmaster.internal/ubuntu resolute/main armhf python3.14 armhf 3.14.2-1 [816 kB] 57s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf libpython3-stdlib armhf 3.14.2-1 [10.9 kB] 57s Fetched 6219 kB in 1s (6816 kB/s) 57s Selecting previously unselected package libpython3.14-minimal:armhf. 57s (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 ... 66485 files and directories currently installed.) 57s Preparing to unpack .../libpython3.14-minimal_3.14.2-1_armhf.deb ... 57s Unpacking libpython3.14-minimal:armhf (3.14.2-1) ... 58s Selecting previously unselected package python3.14-minimal. 58s Preparing to unpack .../python3.14-minimal_3.14.2-1_armhf.deb ... 58s Unpacking python3.14-minimal (3.14.2-1) ... 58s Preparing to unpack .../python3-gdbm_3.14.2-1_armhf.deb ... 58s Unpacking python3-gdbm (3.14.2-1) over (3.13.9-1) ... 58s Setting up libpython3.14-minimal:armhf (3.14.2-1) ... 58s Setting up python3.14-minimal (3.14.2-1) ... 59s (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 ... 66827 files and directories currently installed.) 59s Preparing to unpack .../python3-minimal_3.14.2-1_armhf.deb ... 59s Unpacking python3-minimal (3.14.2-1) over (3.13.7-1) ... 59s Setting up python3-minimal (3.14.2-1) ... 60s (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 ... 66827 files and directories currently installed.) 60s Preparing to unpack .../python3_3.14.2-1_armhf.deb ... 60s Unpacking python3 (3.14.2-1) over (3.13.7-1) ... 60s Selecting previously unselected package libpython3.14-stdlib:armhf. 60s Preparing to unpack .../libpython3.14-stdlib_3.14.2-1_armhf.deb ... 60s Unpacking libpython3.14-stdlib:armhf (3.14.2-1) ... 60s Selecting previously unselected package python3.14. 60s Preparing to unpack .../python3.14_3.14.2-1_armhf.deb ... 60s Unpacking python3.14 (3.14.2-1) ... 60s Preparing to unpack .../libpython3-stdlib_3.14.2-1_armhf.deb ... 60s Unpacking libpython3-stdlib:armhf (3.14.2-1) over (3.13.7-1) ... 60s Setting up libpython3.14-stdlib:armhf (3.14.2-1) ... 60s Setting up python3.14 (3.14.2-1) ... 62s Setting up libpython3-stdlib:armhf (3.14.2-1) ... 62s Setting up python3-gdbm (3.14.2-1) ... 62s Setting up python3 (3.14.2-1) ... 62s Processing triggers for man-db (2.13.1-1) ... 63s Processing triggers for systemd (259-1ubuntu2) ... 65s Reading package lists... 65s Building dependency tree... 65s Reading state information... 66s Solving dependencies... 66s The following packages will be REMOVED: 66s libpython3.13-minimal* libpython3.13-stdlib* python3.13* python3.13-minimal* 67s 0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded. 67s After this operation, 21.3 MB disk space will be freed. 67s (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 ... 67257 files and directories currently installed.) 67s Removing python3.13 (3.13.11-1) ... 67s Removing libpython3.13-stdlib:armhf (3.13.11-1) ... 67s Removing python3.13-minimal (3.13.11-1) ... 68s Removing libpython3.13-minimal:armhf (3.13.11-1) ... 69s Processing triggers for man-db (2.13.1-1) ... 69s Processing triggers for systemd (259-1ubuntu2) ... 69s (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 ... 66518 files and directories currently installed.) 69s Purging configuration files for libpython3.13-minimal:armhf (3.13.11-1) ... 69s Purging configuration files for python3.13-minimal (3.13.11-1) ... 72s autopkgtest [18:15:21]: rebooting testbed after setup commands that affected boot 114s autopkgtest [18:16:03]: testbed running kernel: Linux 6.8.0-87-generic #88~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Oct 14 14:00:09 UTC 2 140s autopkgtest [18:16:29]: @@@@@@@@@@@@@@@@@@@@ apt-source ipykernel 151s Get:1 http://ftpmaster.internal/ubuntu resolute/universe ipykernel 6.30.1-1 (dsc) [2800 B] 151s Get:2 http://ftpmaster.internal/ubuntu resolute/universe ipykernel 6.30.1-1 (tar) [168 kB] 151s Get:3 http://ftpmaster.internal/ubuntu resolute/universe ipykernel 6.30.1-1 (diff) [6288 B] 151s gpgv: Signature made Thu Aug 14 09:41:52 2025 UTC 151s gpgv: using RSA key AC0A4FF12611B6FCCF01C111393587D97D86500B 151s gpgv: Can't check signature: No public key 151s dpkg-source: warning: cannot verify inline signature for ./ipykernel_6.30.1-1.dsc: no acceptable signature found 151s autopkgtest [18:16:40]: testing package ipykernel version 6.30.1-1 153s autopkgtest [18:16:42]: build not needed 155s autopkgtest [18:16:44]: test pytest: preparing testbed 157s Reading package lists... 158s Building dependency tree... 158s Reading state information... 158s Solving dependencies... 159s The following NEW packages will be installed: 159s gdb libbabeltrace1 libc6-dbg libdebuginfod-common libdebuginfod1t64 159s libdw1t64 libnorm1t64 libpgm-5.3-0t64 libpython3.13 libpython3.13-minimal 159s libpython3.13-stdlib libsodium23 libsource-highlight-common 159s libsource-highlight4t64 libzmq5 python3-all python3-astroid 159s python3-asttokens python3-comm python3-coverage python3-debugpy 159s python3-decorator python3-executing python3-flaky python3-iniconfig 159s python3-ipykernel python3-ipyparallel python3-ipython python3-jedi 159s python3-jupyter-client python3-jupyter-core python3-matplotlib-inline 159s python3-nest-asyncio python3-outcome python3-parso python3-platformdirs 159s python3-pluggy python3-prompt-toolkit python3-psutil python3-pure-eval 159s python3-pytest python3-pytest-asyncio python3-pytest-timeout python3-sniffio 159s python3-sortedcontainers python3-stack-data python3-tornado python3-tqdm 159s python3-traitlets python3-trio python3-typeshed python3-wcwidth python3-zmq 159s python3.13 python3.13-minimal 159s 0 upgraded, 55 newly installed, 0 to remove and 0 not upgraded. 159s Need to get 25.2 MB of archives. 159s After this operation, 91.5 MB of additional disk space will be used. 159s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf libpython3.13-minimal armhf 3.13.11-1 [875 kB] 160s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf python3.13-minimal armhf 3.13.11-1 [2055 kB] 160s Get:3 http://ftpmaster.internal/ubuntu resolute/main armhf libdebuginfod-common all 0.194-1 [15.1 kB] 160s Get:4 http://ftpmaster.internal/ubuntu resolute/main armhf libpython3.13-stdlib armhf 3.13.11-1 [1960 kB] 160s Get:5 http://ftpmaster.internal/ubuntu resolute/main armhf python3.13 armhf 3.13.11-1 [758 kB] 160s Get:6 http://ftpmaster.internal/ubuntu resolute/main armhf libdw1t64 armhf 0.194-1 [254 kB] 160s Get:7 http://ftpmaster.internal/ubuntu resolute/main armhf libbabeltrace1 armhf 1.5.11-5 [155 kB] 160s Get:8 http://ftpmaster.internal/ubuntu resolute/main armhf libdebuginfod1t64 armhf 0.194-1 [18.8 kB] 160s Get:9 http://ftpmaster.internal/ubuntu resolute/main armhf libpython3.13 armhf 3.13.11-1 [2124 kB] 160s Get:10 http://ftpmaster.internal/ubuntu resolute/main armhf libsource-highlight-common all 3.1.9-4.3build2 [64.2 kB] 160s Get:11 http://ftpmaster.internal/ubuntu resolute/main armhf libsource-highlight4t64 armhf 3.1.9-4.3build2 [297 kB] 160s Get:12 http://ftpmaster.internal/ubuntu resolute/main armhf libc6-dbg armhf 2.42-2ubuntu4 [4516 kB] 160s Get:13 http://ftpmaster.internal/ubuntu resolute/main armhf gdb armhf 16.3-5ubuntu1 [3639 kB] 160s Get:14 http://ftpmaster.internal/ubuntu resolute/universe armhf libnorm1t64 armhf 1.5.9+dfsg-4 [210 kB] 160s Get:15 http://ftpmaster.internal/ubuntu resolute/universe armhf libpgm-5.3-0t64 armhf 5.3.128~dfsg-2.1build2 [173 kB] 160s Get:16 http://ftpmaster.internal/ubuntu resolute/main armhf libsodium23 armhf 1.0.18-2 [141 kB] 160s Get:17 http://ftpmaster.internal/ubuntu resolute/universe armhf libzmq5 armhf 4.3.5-1build3 [271 kB] 160s Get:18 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3-all armhf 3.14.2-1 [888 B] 160s Get:19 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-astroid all 4.0.2-1ubuntu1 [172 kB] 160s Get:20 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-asttokens all 3.0.1-1 [20.7 kB] 160s Get:21 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-traitlets all 5.14.3+really5.14.3-2 [71.7 kB] 160s Get:22 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-comm all 0.2.1-1build1 [7148 B] 160s Get:23 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-coverage armhf 7.8.2+dfsg1-1ubuntu1 [158 kB] 160s Get:24 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-debugpy armhf 1.8.19+ds-1ubuntu1 [910 kB] 160s Get:25 http://ftpmaster.internal/ubuntu resolute/main armhf python3-decorator all 5.2.1-2 [28.1 kB] 160s Get:26 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-executing all 2.2.1-0.1 [26.2 kB] 160s Get:27 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-flaky all 3.8.1-4 [16.8 kB] 160s Get:28 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-iniconfig all 2.1.0-2 [6962 B] 160s Get:29 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-parso all 0.8.5-1 [68.0 kB] 160s Get:30 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-typeshed all 0.0~git20241223.ea91db2-4 [1554 kB] 160s Get:31 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-jedi all 0.19.1+ds1-1build1 [694 kB] 160s Get:32 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-matplotlib-inline all 0.2.1-1 [9462 B] 160s Get:33 http://ftpmaster.internal/ubuntu resolute/main armhf python3-wcwidth all 0.2.14+dfsg1-1build1 [26.5 kB] 160s Get:34 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-prompt-toolkit all 3.0.52-2 [258 kB] 160s Get:35 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-pure-eval all 0.2.3-1 [11.4 kB] 160s Get:36 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-stack-data all 0.6.3-3 [22.2 kB] 160s Get:37 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-ipython all 8.35.0-2 [575 kB] 160s Get:38 http://ftpmaster.internal/ubuntu resolute/main armhf python3-platformdirs all 4.5.1-1 [17.1 kB] 160s Get:39 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-jupyter-core all 5.9.1-1 [28.9 kB] 160s Get:40 http://ftpmaster.internal/ubuntu resolute/main armhf python3-psutil armhf 7.1.0-1ubuntu1 [189 kB] 160s Get:41 http://ftpmaster.internal/ubuntu resolute/main armhf python3-tornado armhf 6.5.4-0.1 [306 kB] 160s Get:42 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-zmq armhf 27.1.0-1 [223 kB] 160s Get:43 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-jupyter-client all 8.7.0-1 [78.5 kB] 160s Get:44 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-nest-asyncio all 1.6.0-1 [6686 B] 160s Get:45 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-ipykernel all 6.30.1-1 [82.8 kB] 160s Get:46 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-tqdm all 4.67.1-7 [93.3 kB] 160s Get:47 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-ipyparallel all 9.0.2-1 [1314 kB] 160s Get:48 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-outcome all 1.2.0-2 [6208 B] 161s Get:49 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-pluggy all 1.6.0-2 [21.1 kB] 161s Get:50 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-pytest all 9.0.2-2 [277 kB] 161s Get:51 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-pytest-asyncio all 1.3.0-1 [13.8 kB] 161s Get:52 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-pytest-timeout all 2.4.0-2 [22.5 kB] 161s Get:53 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-sniffio all 1.3.1-1 [7262 B] 161s Get:54 http://ftpmaster.internal/ubuntu resolute/main armhf python3-sortedcontainers all 2.4.0-2build1 [27.1 kB] 161s Get:55 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-trio all 0.32.0-1 [342 kB] 161s Preconfiguring packages ... 161s Fetched 25.2 MB in 2s (16.1 MB/s) 161s Selecting previously unselected package libpython3.13-minimal:armhf. 161s (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 ... 66518 files and directories currently installed.) 161s Preparing to unpack .../00-libpython3.13-minimal_3.13.11-1_armhf.deb ... 161s Unpacking libpython3.13-minimal:armhf (3.13.11-1) ... 162s Selecting previously unselected package python3.13-minimal. 162s Preparing to unpack .../01-python3.13-minimal_3.13.11-1_armhf.deb ... 162s Unpacking python3.13-minimal (3.13.11-1) ... 162s Selecting previously unselected package libdebuginfod-common. 162s Preparing to unpack .../02-libdebuginfod-common_0.194-1_all.deb ... 162s Unpacking libdebuginfod-common (0.194-1) ... 162s Selecting previously unselected package libpython3.13-stdlib:armhf. 162s Preparing to unpack .../03-libpython3.13-stdlib_3.13.11-1_armhf.deb ... 162s Unpacking libpython3.13-stdlib:armhf (3.13.11-1) ... 162s Selecting previously unselected package python3.13. 162s Preparing to unpack .../04-python3.13_3.13.11-1_armhf.deb ... 162s Unpacking python3.13 (3.13.11-1) ... 162s Selecting previously unselected package libdw1t64:armhf. 162s Preparing to unpack .../05-libdw1t64_0.194-1_armhf.deb ... 162s Unpacking libdw1t64:armhf (0.194-1) ... 162s Selecting previously unselected package libbabeltrace1:armhf. 162s Preparing to unpack .../06-libbabeltrace1_1.5.11-5_armhf.deb ... 162s Unpacking libbabeltrace1:armhf (1.5.11-5) ... 162s Selecting previously unselected package libdebuginfod1t64:armhf. 162s Preparing to unpack .../07-libdebuginfod1t64_0.194-1_armhf.deb ... 162s Unpacking libdebuginfod1t64:armhf (0.194-1) ... 162s Selecting previously unselected package libpython3.13:armhf. 162s Preparing to unpack .../08-libpython3.13_3.13.11-1_armhf.deb ... 162s Unpacking libpython3.13:armhf (3.13.11-1) ... 162s Selecting previously unselected package libsource-highlight-common. 162s Preparing to unpack .../09-libsource-highlight-common_3.1.9-4.3build2_all.deb ... 162s Unpacking libsource-highlight-common (3.1.9-4.3build2) ... 162s Selecting previously unselected package libsource-highlight4t64:armhf. 162s Preparing to unpack .../10-libsource-highlight4t64_3.1.9-4.3build2_armhf.deb ... 162s Unpacking libsource-highlight4t64:armhf (3.1.9-4.3build2) ... 162s Selecting previously unselected package libc6-dbg:armhf. 163s Preparing to unpack .../11-libc6-dbg_2.42-2ubuntu4_armhf.deb ... 163s Unpacking libc6-dbg:armhf (2.42-2ubuntu4) ... 163s Selecting previously unselected package gdb. 163s Preparing to unpack .../12-gdb_16.3-5ubuntu1_armhf.deb ... 163s Unpacking gdb (16.3-5ubuntu1) ... 163s Selecting previously unselected package libnorm1t64:armhf. 163s Preparing to unpack .../13-libnorm1t64_1.5.9+dfsg-4_armhf.deb ... 163s Unpacking libnorm1t64:armhf (1.5.9+dfsg-4) ... 163s Selecting previously unselected package libpgm-5.3-0t64:armhf. 163s Preparing to unpack .../14-libpgm-5.3-0t64_5.3.128~dfsg-2.1build2_armhf.deb ... 163s Unpacking libpgm-5.3-0t64:armhf (5.3.128~dfsg-2.1build2) ... 163s Selecting previously unselected package libsodium23:armhf. 163s Preparing to unpack .../15-libsodium23_1.0.18-2_armhf.deb ... 163s Unpacking libsodium23:armhf (1.0.18-2) ... 163s Selecting previously unselected package libzmq5:armhf. 163s Preparing to unpack .../16-libzmq5_4.3.5-1build3_armhf.deb ... 163s Unpacking libzmq5:armhf (4.3.5-1build3) ... 163s Selecting previously unselected package python3-all. 163s Preparing to unpack .../17-python3-all_3.14.2-1_armhf.deb ... 163s Unpacking python3-all (3.14.2-1) ... 163s Selecting previously unselected package python3-astroid. 163s Preparing to unpack .../18-python3-astroid_4.0.2-1ubuntu1_all.deb ... 163s Unpacking python3-astroid (4.0.2-1ubuntu1) ... 163s Selecting previously unselected package python3-asttokens. 163s Preparing to unpack .../19-python3-asttokens_3.0.1-1_all.deb ... 163s Unpacking python3-asttokens (3.0.1-1) ... 163s Selecting previously unselected package python3-traitlets. 163s Preparing to unpack .../20-python3-traitlets_5.14.3+really5.14.3-2_all.deb ... 163s Unpacking python3-traitlets (5.14.3+really5.14.3-2) ... 163s Selecting previously unselected package python3-comm. 163s Preparing to unpack .../21-python3-comm_0.2.1-1build1_all.deb ... 163s Unpacking python3-comm (0.2.1-1build1) ... 163s Selecting previously unselected package python3-coverage. 163s Preparing to unpack .../22-python3-coverage_7.8.2+dfsg1-1ubuntu1_armhf.deb ... 163s Unpacking python3-coverage (7.8.2+dfsg1-1ubuntu1) ... 163s Selecting previously unselected package python3-debugpy. 163s Preparing to unpack .../23-python3-debugpy_1.8.19+ds-1ubuntu1_armhf.deb ... 163s Unpacking python3-debugpy (1.8.19+ds-1ubuntu1) ... 163s Selecting previously unselected package python3-decorator. 163s Preparing to unpack .../24-python3-decorator_5.2.1-2_all.deb ... 163s Unpacking python3-decorator (5.2.1-2) ... 163s Selecting previously unselected package python3-executing. 163s Preparing to unpack .../25-python3-executing_2.2.1-0.1_all.deb ... 163s Unpacking python3-executing (2.2.1-0.1) ... 163s Selecting previously unselected package python3-flaky. 163s Preparing to unpack .../26-python3-flaky_3.8.1-4_all.deb ... 163s Unpacking python3-flaky (3.8.1-4) ... 164s Selecting previously unselected package python3-iniconfig. 164s Preparing to unpack .../27-python3-iniconfig_2.1.0-2_all.deb ... 164s Unpacking python3-iniconfig (2.1.0-2) ... 164s Selecting previously unselected package python3-parso. 164s Preparing to unpack .../28-python3-parso_0.8.5-1_all.deb ... 164s Unpacking python3-parso (0.8.5-1) ... 164s Selecting previously unselected package python3-typeshed. 164s Preparing to unpack .../29-python3-typeshed_0.0~git20241223.ea91db2-4_all.deb ... 164s Unpacking python3-typeshed (0.0~git20241223.ea91db2-4) ... 165s Selecting previously unselected package python3-jedi. 165s Preparing to unpack .../30-python3-jedi_0.19.1+ds1-1build1_all.deb ... 165s Unpacking python3-jedi (0.19.1+ds1-1build1) ... 165s Selecting previously unselected package python3-matplotlib-inline. 165s Preparing to unpack .../31-python3-matplotlib-inline_0.2.1-1_all.deb ... 165s Unpacking python3-matplotlib-inline (0.2.1-1) ... 165s Selecting previously unselected package python3-wcwidth. 165s Preparing to unpack .../32-python3-wcwidth_0.2.14+dfsg1-1build1_all.deb ... 165s Unpacking python3-wcwidth (0.2.14+dfsg1-1build1) ... 165s Selecting previously unselected package python3-prompt-toolkit. 165s Preparing to unpack .../33-python3-prompt-toolkit_3.0.52-2_all.deb ... 165s Unpacking python3-prompt-toolkit (3.0.52-2) ... 165s Selecting previously unselected package python3-pure-eval. 165s Preparing to unpack .../34-python3-pure-eval_0.2.3-1_all.deb ... 165s Unpacking python3-pure-eval (0.2.3-1) ... 165s Selecting previously unselected package python3-stack-data. 165s Preparing to unpack .../35-python3-stack-data_0.6.3-3_all.deb ... 165s Unpacking python3-stack-data (0.6.3-3) ... 165s Selecting previously unselected package python3-ipython. 165s Preparing to unpack .../36-python3-ipython_8.35.0-2_all.deb ... 165s Unpacking python3-ipython (8.35.0-2) ... 165s Selecting previously unselected package python3-platformdirs. 165s Preparing to unpack .../37-python3-platformdirs_4.5.1-1_all.deb ... 165s Unpacking python3-platformdirs (4.5.1-1) ... 165s Selecting previously unselected package python3-jupyter-core. 165s Preparing to unpack .../38-python3-jupyter-core_5.9.1-1_all.deb ... 165s Unpacking python3-jupyter-core (5.9.1-1) ... 166s Selecting previously unselected package python3-psutil. 166s Preparing to unpack .../39-python3-psutil_7.1.0-1ubuntu1_armhf.deb ... 166s Unpacking python3-psutil (7.1.0-1ubuntu1) ... 166s Selecting previously unselected package python3-tornado. 166s Preparing to unpack .../40-python3-tornado_6.5.4-0.1_armhf.deb ... 166s Unpacking python3-tornado (6.5.4-0.1) ... 166s Selecting previously unselected package python3-zmq. 166s Preparing to unpack .../41-python3-zmq_27.1.0-1_armhf.deb ... 166s Unpacking python3-zmq (27.1.0-1) ... 166s Selecting previously unselected package python3-jupyter-client. 166s Preparing to unpack .../42-python3-jupyter-client_8.7.0-1_all.deb ... 166s Unpacking python3-jupyter-client (8.7.0-1) ... 166s Selecting previously unselected package python3-nest-asyncio. 166s Preparing to unpack .../43-python3-nest-asyncio_1.6.0-1_all.deb ... 166s Unpacking python3-nest-asyncio (1.6.0-1) ... 166s Selecting previously unselected package python3-ipykernel. 166s Preparing to unpack .../44-python3-ipykernel_6.30.1-1_all.deb ... 166s Unpacking python3-ipykernel (6.30.1-1) ... 166s Selecting previously unselected package python3-tqdm. 166s Preparing to unpack .../45-python3-tqdm_4.67.1-7_all.deb ... 166s Unpacking python3-tqdm (4.67.1-7) ... 166s Selecting previously unselected package python3-ipyparallel. 166s Preparing to unpack .../46-python3-ipyparallel_9.0.2-1_all.deb ... 166s Unpacking python3-ipyparallel (9.0.2-1) ... 166s Selecting previously unselected package python3-outcome. 166s Preparing to unpack .../47-python3-outcome_1.2.0-2_all.deb ... 166s Unpacking python3-outcome (1.2.0-2) ... 166s Selecting previously unselected package python3-pluggy. 166s Preparing to unpack .../48-python3-pluggy_1.6.0-2_all.deb ... 166s Unpacking python3-pluggy (1.6.0-2) ... 166s Selecting previously unselected package python3-pytest. 166s Preparing to unpack .../49-python3-pytest_9.0.2-2_all.deb ... 166s Unpacking python3-pytest (9.0.2-2) ... 166s Selecting previously unselected package python3-pytest-asyncio. 166s Preparing to unpack .../50-python3-pytest-asyncio_1.3.0-1_all.deb ... 166s Unpacking python3-pytest-asyncio (1.3.0-1) ... 166s Selecting previously unselected package python3-pytest-timeout. 166s Preparing to unpack .../51-python3-pytest-timeout_2.4.0-2_all.deb ... 166s Unpacking python3-pytest-timeout (2.4.0-2) ... 166s Selecting previously unselected package python3-sniffio. 166s Preparing to unpack .../52-python3-sniffio_1.3.1-1_all.deb ... 166s Unpacking python3-sniffio (1.3.1-1) ... 166s Selecting previously unselected package python3-sortedcontainers. 166s Preparing to unpack .../53-python3-sortedcontainers_2.4.0-2build1_all.deb ... 166s Unpacking python3-sortedcontainers (2.4.0-2build1) ... 167s Selecting previously unselected package python3-trio. 167s Preparing to unpack .../54-python3-trio_0.32.0-1_all.deb ... 167s Unpacking python3-trio (0.32.0-1) ... 167s Setting up python3-iniconfig (2.1.0-2) ... 167s Setting up python3-sniffio (1.3.1-1) ... 167s Setting up python3-outcome (1.2.0-2) ... 168s Setting up python3-tornado (6.5.4-0.1) ... 169s Setting up libnorm1t64:armhf (1.5.9+dfsg-4) ... 169s Setting up python3-pure-eval (0.2.3-1) ... 169s Setting up libsodium23:armhf (1.0.18-2) ... 169s Setting up libdebuginfod-common (0.194-1) ... 169s Setting up python3-parso (0.8.5-1) ... 170s Setting up python3-tqdm (4.67.1-7) ... 170s Setting up python3-sortedcontainers (2.4.0-2build1) ... 171s Setting up python3-platformdirs (4.5.1-1) ... 171s Setting up python3-psutil (7.1.0-1ubuntu1) ... 172s Setting up libsource-highlight-common (3.1.9-4.3build2) ... 172s Setting up libc6-dbg:armhf (2.42-2ubuntu4) ... 172s Setting up libdw1t64:armhf (0.194-1) ... 172s Setting up libpython3.13-minimal:armhf (3.13.11-1) ... 172s Setting up libpgm-5.3-0t64:armhf (5.3.128~dfsg-2.1build2) ... 172s Setting up python3-decorator (5.2.1-2) ... 172s Setting up python3-flaky (3.8.1-4) ... 172s Setting up python3-wcwidth (0.2.14+dfsg1-1build1) ... 173s Setting up python3-trio (0.32.0-1) ... 174s Setting up python3-typeshed (0.0~git20241223.ea91db2-4) ... 174s Setting up python3-nest-asyncio (1.6.0-1) ... 174s Setting up libbabeltrace1:armhf (1.5.11-5) ... 174s Setting up python3-pluggy (1.6.0-2) ... 175s Setting up python3-astroid (4.0.2-1ubuntu1) ... 175s Setting up python3-traitlets (5.14.3+really5.14.3-2) ... 176s Setting up python3.13-minimal (3.13.11-1) ... 177s Setting up libpython3.13-stdlib:armhf (3.13.11-1) ... 177s Setting up python3-jupyter-core (5.9.1-1) ... 177s Setting up libpython3.13:armhf (3.13.11-1) ... 177s Setting up python3-prompt-toolkit (3.0.52-2) ... 178s Setting up libdebuginfod1t64:armhf (0.194-1) ... 178s Setting up libzmq5:armhf (4.3.5-1build3) ... 178s Setting up python3-jedi (0.19.1+ds1-1build1) ... 179s Setting up python3.13 (3.13.11-1) ... 181s Setting up python3-asttokens (3.0.1-1) ... 181s Setting up python3-pytest (9.0.2-2) ... 182s Setting up python3-all (3.14.2-1) ... 182s Setting up python3-coverage (7.8.2+dfsg1-1ubuntu1) ... 182s Setting up libsource-highlight4t64:armhf (3.1.9-4.3build2) ... 182s Setting up python3-matplotlib-inline (0.2.1-1) ... 183s Setting up python3-comm (0.2.1-1build1) ... 183s Setting up gdb (16.3-5ubuntu1) ... 183s Setting up python3-executing (2.2.1-0.1) ... 183s Setting up python3-zmq (27.1.0-1) ... 184s Setting up python3-pytest-asyncio (1.3.0-1) ... 184s Setting up python3-jupyter-client (8.7.0-1) ... 185s Setting up python3-stack-data (0.6.3-3) ... 185s Setting up python3-pytest-timeout (2.4.0-2) ... 185s Setting up python3-debugpy (1.8.19+ds-1ubuntu1) ... 187s Setting up python3-ipython (8.35.0-2) ... 188s /usr/lib/python3/dist-packages/IPython/core/interactiveshell.py:3141: SyntaxWarning: 'return' in a 'finally' block 188s return result 189s Setting up python3-ipykernel (6.30.1-1) ... 189s Setting up python3-ipyparallel (9.0.2-1) ... 190s Processing triggers for systemd (259-1ubuntu2) ... 190s Processing triggers for man-db (2.13.1-1) ... 191s Processing triggers for libc-bin (2.42-2ubuntu4) ... 200s autopkgtest [18:17:29]: test pytest: [----------------------- 202s + py3versions -s 202s + PYS=python3.13 python3.14 202s + cp -r pyproject.toml tests /tmp/autopkgtest.lYx5tq/autopkgtest_tmp 202s + cd /tmp/autopkgtest.lYx5tq/autopkgtest_tmp 202s + echo Testing with python3.13: 202s + timeout 300 python3.13 -m pytest -v -k not test_init_ipc_socket 202s Testing with python3.13: 204s ============================= test session starts ============================== 204s platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0 -- /usr/bin/python3.13 204s cachedir: .pytest_cache 204s rootdir: /tmp/autopkgtest.lYx5tq/autopkgtest_tmp 204s configfile: pyproject.toml 204s testpaths: tests 204s plugins: typeguard-4.4.4, flaky-3.8.1, asyncio-1.3.0, timeout-2.4.0 204s asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function 204s timeout: 300.0s 204s timeout method: signal 204s timeout func_only: False 204s collecting ... collected 187 items / 1 deselected / 186 selected 204s 205s tests/inprocess/test_kernel.py::test_with_cell_id PASSED [ 0%] 205s tests/inprocess/test_kernel.py::test_pylab SKIPPED (This test requir...) [ 1%] 205s tests/inprocess/test_kernel.py::test_raw_input PASSED [ 1%] 205s tests/inprocess/test_kernel.py::test_stdout PASSED [ 2%] 205s tests/inprocess/test_kernel.py::test_capfd SKIPPED (Currently don't ...) [ 2%] 206s tests/inprocess/test_kernel.py::test_getpass_stream PASSED [ 3%] 206s tests/inprocess/test_kernel.py::test_do_execute PASSED [ 3%] 206s tests/inprocess/test_kernelmanager.py::InProcessKernelManagerTestCase::test_complete PASSED [ 4%] 207s tests/inprocess/test_kernelmanager.py::InProcessKernelManagerTestCase::test_execute PASSED [ 4%] 207s tests/inprocess/test_kernelmanager.py::InProcessKernelManagerTestCase::test_history PASSED [ 5%] 207s tests/inprocess/test_kernelmanager.py::InProcessKernelManagerTestCase::test_inspect PASSED [ 5%] 207s tests/inprocess/test_kernelmanager.py::InProcessKernelManagerTestCase::test_interface PASSED [ 6%] 209s tests/test_async.py::test_async_await PASSED [ 6%] 217s tests/test_async.py::test_async_interrupt[asyncio] PASSED [ 7%] 219s tests/test_async.py::test_async_interrupt[trio] PASSED [ 8%] 219s tests/test_comm.py::test_comm PASSED [ 8%] 219s tests/test_comm.py::test_comm_manager PASSED [ 9%] 219s tests/test_comm.py::test_comm_in_manager PASSED [ 9%] 219s tests/test_connect.py::test_get_connection_file PASSED [ 10%] 219s tests/test_connect.py::test_get_connection_info PASSED [ 10%] 219s tests/test_connect.py::test_port_bind_failure_raises PASSED [ 11%] 219s tests/test_connect.py::test_port_bind_failure_recovery PASSED [ 11%] 219s tests/test_connect.py::test_port_bind_failure_gives_up_retries PASSED [ 12%] 221s tests/test_debugger.py::test_debug_initialize PASSED [ 12%] 223s tests/test_debugger.py::test_attach_debug PASSED [ 13%] 226s tests/test_debugger.py::test_set_breakpoints PASSED [ 13%] 228s tests/test_debugger.py::test_stop_on_breakpoint PASSED [ 14%] 230s tests/test_debugger.py::test_breakpoint_in_cell_with_leading_empty_lines PASSED [ 15%] 232s tests/test_debugger.py::test_rich_inspect_not_at_breakpoint PASSED [ 15%] 235s tests/test_debugger.py::test_rich_inspect_at_breakpoint PASSED [ 16%] 235s tests/test_debugger.py::test_convert_to_long_pathname PASSED [ 16%] 238s tests/test_debugger.py::test_copy_to_globals PASSED [ 17%] 240s tests/test_debugger.py::test_debug_requests_sequential PASSED [ 17%] 242s tests/test_embed_kernel.py::test_embed_kernel_basic PASSED [ 18%] 243s tests/test_embed_kernel.py::test_embed_kernel_namespace PASSED [ 18%] 246s tests/test_embed_kernel.py::test_embed_kernel_reentrant PASSED [ 19%] 247s tests/test_embed_kernel.py::test_embed_kernel_func NOTE: When using the `ipython kernel` entry point, Ctrl-C will not work. 247s 247s To exit, you will have to explicitly quit this process, by either sending 247s "quit" from a client, or using Ctrl-\ in UNIX-like environments. 247s 247s To read more about this, see https://github.com/ipython/ipython/issues/2049 247s 247s 247s To connect another client to this kernel, use: 247s --existing kernel-1880.json 247s PASSED [ 19%] 249s tests/test_eventloop.py::test_asyncio_interrupt PASSED [ 20%] 251s tests/test_eventloop.py::test_tk_loop PASSED [ 20%] 253s tests/test_eventloop.py::test_asyncio_loop PASSED [ 21%] 255s tests/test_eventloop.py::test_enable_gui PASSED [ 22%] 255s tests/test_eventloop.py::test_cocoa_loop SKIPPED (MacOS-only) [ 22%] 255s tests/test_eventloop.py::test_qt_enable_gui[NOTSET] SKIPPED (got emp...) [ 23%] 255s tests/test_heartbeat.py::test_port_bind_failure_raises PASSED [ 23%] 255s tests/test_heartbeat.py::test_port_bind_success PASSED [ 24%] 255s tests/test_heartbeat.py::test_port_bind_failure_recovery PASSED [ 24%] 255s tests/test_heartbeat.py::test_port_bind_failure_gives_up_retries PASSED [ 25%] 255s tests/test_io.py::test_io_api PASSED [ 25%] 255s tests/test_io.py::test_io_isatty PASSED [ 26%] 255s tests/test_io.py::test_io_thread PASSED [ 26%] 255s tests/test_io.py::test_background_socket PASSED [ 27%] 255s tests/test_io.py::test_outstream PASSED [ 27%] 255s tests/test_io.py::test_event_pipe_gc PASSED [ 28%] 256s tests/test_io.py::test_echo_watch PASSED [ 29%] 256s tests/test_ipkernel_direct.py::test_properties PASSED [ 29%] 257s tests/test_ipkernel_direct.py::test_direct_kernel_info_request PASSED [ 30%] 257s tests/test_ipkernel_direct.py::test_direct_execute_request PASSED [ 30%] 257s tests/test_ipkernel_direct.py::test_direct_execute_request_aborting PASSED [ 31%] 257s tests/test_ipkernel_direct.py::test_complete_request PASSED [ 31%] 257s tests/test_ipkernel_direct.py::test_inspect_request PASSED [ 32%] 257s tests/test_ipkernel_direct.py::test_history_request PASSED [ 32%] 257s tests/test_ipkernel_direct.py::test_comm_info_request PASSED [ 33%] 257s tests/test_ipkernel_direct.py::test_direct_interrupt_request PASSED [ 33%] 257s tests/test_ipkernel_direct.py::test_is_complete_request PASSED [ 34%] 258s tests/test_ipkernel_direct.py::test_do_apply PASSED [ 34%] 258s tests/test_ipkernel_direct.py::test_direct_debug_request PASSED [ 35%] 258s tests/test_ipkernel_direct.py::test_direct_clear PASSED [ 36%] 258s tests/test_ipkernel_direct.py::test_cancel_on_sigint PASSED [ 36%] 258s tests/test_ipkernel_direct.py::test_dispatch_debugpy PASSED [ 37%] 258s tests/test_ipkernel_direct.py::test_start PASSED [ 37%] 258s tests/test_ipkernel_direct.py::test_start_no_debugpy PASSED [ 38%] 258s tests/test_ipkernel_direct.py::test_create_comm PASSED [ 38%] 258s tests/test_ipkernel_direct.py::test_finish_metadata PASSED [ 39%] 258s tests/test_ipkernel_direct.py::test_do_debug_request PASSED [ 39%] 258s tests/test_jsonutil.py::test SKIPPED (json_clean is a no-op) [ 40%] 258s tests/test_jsonutil.py::test_encode_images SKIPPED (json_clean is a ...) [ 40%] 258s tests/test_jsonutil.py::test_lambda SKIPPED (json_clean is a no-op) [ 41%] 258s tests/test_jsonutil.py::test_exception SKIPPED (json_clean is a no-op) [ 41%] 258s tests/test_jsonutil.py::test_unicode_dict SKIPPED (json_clean is a n...) [ 42%] 260s tests/test_kernel.py::test_simple_print PASSED [ 43%] 261s tests/test_kernel.py::test_print_to_correct_cell_from_thread PASSED [ 43%] 262s tests/test_kernel.py::test_print_to_correct_cell_from_child_thread PASSED [ 44%] 264s tests/test_kernel.py::test_print_to_correct_cell_from_asyncio PASSED [ 44%] 264s tests/test_kernel.py::test_capture_fd SKIPPED (Currently don't captu...) [ 45%] 264s tests/test_kernel.py::test_subprocess_peek_at_stream_fileno SKIPPED [ 45%] 264s tests/test_kernel.py::test_sys_path PASSED [ 46%] 265s tests/test_kernel.py::test_sys_path_profile_dir PASSED [ 46%] 273s tests/test_kernel.py::test_subprocess_print FAILED [ 47%] 274s tests/test_kernel.py::test_subprocess_noprint PASSED [ 47%] 279s tests/test_kernel.py::test_subprocess_error FAILED [ 48%] 279s tests/test_kernel.py::test_raw_input PASSED [ 48%] 279s tests/test_kernel.py::test_save_history PASSED [ 49%] 280s tests/test_kernel.py::test_smoke_faulthandler PASSED [ 50%] 281s tests/test_kernel.py::test_help_output PASSED [ 50%] 281s tests/test_kernel.py::test_is_complete PASSED [ 51%] 281s tests/test_kernel.py::test_complete SKIPPED (only run on Windows) [ 51%] 281s tests/test_kernel.py::test_matplotlib_inline_on_import SKIPPED (this...) [ 52%] 282s tests/test_kernel.py::test_message_order PASSED [ 52%] 282s tests/test_kernel.py::test_unc_paths SKIPPED (test only on windows) [ 53%] 284s tests/test_kernel.py::test_shutdown PASSED [ 53%] 287s tests/test_kernel.py::test_interrupt_during_input PASSED [ 54%] 290s tests/test_kernel.py::test_interrupt_with_message PASSED [ 54%] 292s tests/test_kernel.py::test_interrupt_during_pdb_set_trace FAILED [ 55%] 295s tests/test_kernel.py::test_control_thread_priority PASSED [ 55%] 298s tests/test_kernel.py::test_sequential_control_messages PASSED [ 56%] 298s tests/test_kernel.py::test_shutdown_subprocesses SKIPPED (Stalls on ...) [ 56%] 298s tests/test_kernel_direct.py::test_direct_kernel_info_request PASSED [ 57%] 298s tests/test_kernel_direct.py::test_direct_execute_request PASSED [ 58%] 298s tests/test_kernel_direct.py::test_direct_execute_request_aborting PASSED [ 58%] 298s tests/test_kernel_direct.py::test_direct_execute_request_error PASSED [ 59%] 298s tests/test_kernel_direct.py::test_complete_request PASSED [ 59%] 298s tests/test_kernel_direct.py::test_inspect_request PASSED [ 60%] 298s tests/test_kernel_direct.py::test_history_request PASSED [ 60%] 298s tests/test_kernel_direct.py::test_comm_info_request PASSED [ 61%] 298s tests/test_kernel_direct.py::test_direct_interrupt_request PASSED [ 61%] 298s tests/test_kernel_direct.py::test_direct_shutdown_request PASSED [ 62%] 298s tests/test_kernel_direct.py::test_is_complete_request PASSED [ 62%] 298s tests/test_kernel_direct.py::test_direct_debug_request PASSED [ 63%] 298s tests/test_kernel_direct.py::test_deprecated_features PASSED [ 63%] 298s tests/test_kernel_direct.py::test_process_control PASSED [ 64%] 298s tests/test_kernel_direct.py::test_should_handle PASSED [ 65%] 298s tests/test_kernel_direct.py::test_dispatch_shell PASSED [ 65%] 298s tests/test_kernel_direct.py::test_do_one_iteration PASSED [ 66%] 298s tests/test_kernel_direct.py::test_publish_debug_event PASSED [ 66%] 298s tests/test_kernel_direct.py::test_connect_request PASSED [ 67%] 298s tests/test_kernel_direct.py::test_send_interrupt_children PASSED [ 67%] 298s tests/test_kernelapp.py::test_blackhole PASSED [ 68%] 298s tests/test_kernelapp.py::test_start_app PASSED [ 68%] 298s tests/test_kernelapp.py::test_merge_connection_file PASSED [ 69%] 298s tests/test_kernelapp.py::test_trio_loop PASSED [ 69%] 298s tests/test_kernelspec.py::test_make_ipkernel_cmd PASSED [ 70%] 298s tests/test_kernelspec.py::test_get_kernel_dict PASSED [ 70%] 298s tests/test_kernelspec.py::test_get_kernel_dict_with_profile PASSED [ 71%] 298s tests/test_kernelspec.py::test_write_kernel_spec PASSED [ 72%] 298s tests/test_kernelspec.py::test_write_kernel_spec_path PASSED [ 72%] 298s tests/test_kernelspec.py::test_install_kernelspec PASSED [ 73%] 298s tests/test_kernelspec.py::test_install_user PASSED [ 73%] 298s tests/test_kernelspec.py::test_install PASSED [ 74%] 298s tests/test_kernelspec.py::test_install_profile PASSED [ 74%] 298s tests/test_kernelspec.py::test_install_display_name_overrides_profile PASSED [ 75%] 298s tests/test_kernelspec.py::test_install_env[None] PASSED [ 75%] 298s tests/test_kernelspec.py::test_install_env[env1] PASSED [ 76%] 298s tests/test_kernelspec.py::test_install_env[env2] PASSED [ 76%] 298s tests/test_kernelspec.py::test_install_frozen_modules_on PASSED [ 77%] 298s tests/test_kernelspec.py::test_install_frozen_modules_off PASSED [ 77%] 298s tests/test_kernelspec.py::test_install_frozen_modules_no_op SKIPPED [ 78%] 299s tests/test_message_spec.py::test_execute PASSED [ 79%] 299s tests/test_message_spec.py::test_execute_silent PASSED [ 79%] 300s tests/test_message_spec.py::test_execute_error PASSED [ 80%] 300s tests/test_message_spec.py::test_execute_inc PASSED [ 80%] 303s tests/test_message_spec.py::test_execute_stop_on_error PASSED [ 81%] 304s tests/test_message_spec.py::test_non_execute_stop_on_error PASSED [ 81%] 304s tests/test_message_spec.py::test_user_expressions PASSED [ 82%] 305s tests/test_message_spec.py::test_user_expressions_fail PASSED [ 82%] 305s tests/test_message_spec.py::test_oinfo PASSED [ 83%] 306s tests/test_message_spec.py::test_oinfo_found PASSED [ 83%] 306s tests/test_message_spec.py::test_oinfo_detail PASSED [ 84%] 306s tests/test_message_spec.py::test_oinfo_not_found PASSED [ 84%] 307s tests/test_message_spec.py::test_complete PASSED [ 85%] 308s tests/test_message_spec.py::test_kernel_info_request PASSED [ 86%] 308s tests/test_message_spec.py::test_connect_request PASSED [ 86%] 308s tests/test_message_spec.py::test_comm_info_request PASSED [ 87%] 309s tests/test_message_spec.py::test_single_payload PASSED [ 87%] 309s tests/test_message_spec.py::test_is_complete PASSED [ 88%] 310s tests/test_message_spec.py::test_history_range PASSED [ 88%] 310s tests/test_message_spec.py::test_history_tail PASSED [ 89%] 311s tests/test_message_spec.py::test_history_search PASSED [ 89%] 311s tests/test_message_spec.py::test_stream PASSED [ 90%] 311s tests/test_message_spec.py::test_display_data PASSED [ 90%] 311s tests/test_parentpoller.py::test_parent_poller_unix PASSED [ 91%] 311s tests/test_parentpoller.py::test_parent_poller_windows SKIPPED (only...) [ 91%] 311s tests/test_pickleutil.py::test_no_closure PASSED [ 92%] 311s tests/test_pickleutil.py::test_generator_closure PASSED [ 93%] 312s tests/test_pickleutil.py::test_nested_closure PASSED [ 93%] 312s tests/test_pickleutil.py::test_closure PASSED [ 94%] 312s tests/test_pickleutil.py::test_uncan_bytes_buffer PASSED [ 94%] 313s tests/test_start_kernel.py::test_ipython_start_kernel_userns PASSED [ 95%] 315s tests/test_start_kernel.py::test_ipython_start_kernel_no_userns PASSED [ 95%] 315s tests/test_zmq_shell.py::ZMQDisplayPublisherTests::test_display_hook_halts_send PASSED [ 96%] 315s tests/test_zmq_shell.py::ZMQDisplayPublisherTests::test_display_hook_return_calls_send PASSED [ 96%] 315s tests/test_zmq_shell.py::ZMQDisplayPublisherTests::test_display_publisher_creation PASSED [ 97%] 315s tests/test_zmq_shell.py::ZMQDisplayPublisherTests::test_publish PASSED [ 97%] 315s tests/test_zmq_shell.py::ZMQDisplayPublisherTests::test_thread_local_hooks PASSED [ 98%] 315s tests/test_zmq_shell.py::ZMQDisplayPublisherTests::test_unregister_hook PASSED [ 98%] 315s tests/test_zmq_shell.py::test_magics PASSED [ 99%] 315s tests/test_zmq_shell.py::test_zmq_interactive_shell PASSED [100%] 315s 315s =================================== FAILURES =================================== 315s ____________________________ test_subprocess_print _____________________________ 315s 315s @flaky(max_runs=3) 315s @pytest.mark.skipif( 315s sys.platform == "win32" or (sys.platform == "darwin" and sys.version_info >= (3, 8)), 315s reason="subprocess prints fail on Windows and MacOS Python 3.8+", 315s ) 315s def test_subprocess_print(): 315s  """printing from forked mp.Process""" 315s with new_kernel() as kc: 315s _check_master(kc, expected=True) 315s flush_channels(kc) 315s np = 5 315s code = "\n".join( 315s [ 315s "import time", 315s "import multiprocessing as mp", 315s "pool = [mp.Process(target=print, args=('hello', i,)) for i in range(%i)]" % np, 315s "for p in pool: p.start()", 315s "for p in pool: p.join()", 315s "time.sleep(0.5),", 315s ] 315s ) 315s  315s msg_id, content = execute(kc=kc, code=code) 315s stdout, stderr = assemble_output(kc.get_iopub_msg) 315s > assert stdout.count("hello") == np, stdout 315s E AssertionError:  315s E assert 0 == 5 315s E + where 0 = ('hello') 315s E + where = ''.count 315s 315s code = "import time\nimport multiprocessing as mp\npool = [mp.Process(target=print, args=('hello', i,)) for i in range(5)]\nfor p in pool: p.start()\nfor p in pool: p.join()\ntime.sleep(0.5)," 315s content = {'execution_count': 3, 'payload': [], 'status': 'ok', 'user_expressions': {}} 315s kc = 315s msg_id = 'd3d98b67-5ce8a263361e7c1f84ff520b_1880_4' 315s np = 5 315s stderr = '' 315s stdout = '' 315s 315s tests/test_kernel.py:236: AssertionError 315s ----------------------------- Captured stdout call ----------------------------- 315s Ignoring reply not to b3773954-3e37b562758f22d7b80ab77e_1880_2: {'header': {'msg_id': '8ae022dc-2e96a99eff604fed31edae58_2510_5', 'msg_type': 'kernel_info_reply', 'username': 'ubuntu', 'session': '8ae022dc-2e96a99eff604fed31edae58', 'date': '2026-01-22T18:18:36.013993Z', 'version': '5.4'}, 'msg_id': '8ae022dc-2e96a99eff604fed31edae58_2510_5', 'msg_type': 'kernel_info_reply', 'parent_header': {'msg_id': 'b3773954-3e37b562758f22d7b80ab77e_1880_1', 'msg_type': 'kernel_info_request', 'username': 'ubuntu', 'session': 'b3773954-3e37b562758f22d7b80ab77e', 'date': '2026-01-22T18:18:35.955525Z', 'version': '5.4'}, 'metadata': {}, 'content': {'status': 'ok', 'protocol_version': '5.3', 'implementation': 'ipython', 'implementation_version': '8.35.0', 'language_info': {'name': 'python', 'version': '3.14.2', 'mimetype': 'text/x-python', 'codemirror_mode': {'name': 'ipython', 'version': 3}, 'pygments_lexer': 'ipython3', 'nbconvert_exporter': 'python', 'file_extension': '.py'}, 'banner': "Python 3.14.2 (main, Dec 6 2025, 13:20:08) [GCC 15.2.0]\nType 'copyright', 'credits' or 'license' for more information\nIPython 8.35.0 -- An enhanced Interactive Python. Type '?' for help.\n", 'help_links': [{'text': 'Python Reference', 'url': 'https://docs.python.org/3.14'}, {'text': 'IPython Reference', 'url': 'https://ipython.org/documentation.html'}, {'text': 'NumPy Reference', 'url': 'https://docs.scipy.org/doc/numpy/reference/'}, {'text': 'SciPy Reference', 'url': 'https://docs.scipy.org/doc/scipy/reference/'}, {'text': 'Matplotlib Reference', 'url': 'https://matplotlib.org/contents.html'}, {'text': 'SymPy Reference', 'url': 'http://docs.sympy.org/latest/index.html'}, {'text': 'pandas Reference', 'url': 'https://pandas.pydata.org/pandas-docs/stable/'}]}, 'buffers': []} 315s hello 0 315s hello 1 315s hello 2 315s hello 3 315s hello 4 315s ----------------------------- Captured stdout call ----------------------------- 315s hello 0 315s hello 1 315s hello 2 315s hello 3 315s hello 4 315s ----------------------------- Captured stdout call ----------------------------- 315s Ignoring reply not to d3d98b67-5ce8a263361e7c1f84ff520b_1880_2: {'header': {'msg_id': '3021d408-deafbc9e33760c3414881b35_2556_5', 'msg_type': 'kernel_info_reply', 'username': 'ubuntu', 'session': '3021d408-deafbc9e33760c3414881b35', 'date': '2026-01-22T18:18:41.055613Z', 'version': '5.4'}, 'msg_id': '3021d408-deafbc9e33760c3414881b35_2556_5', 'msg_type': 'kernel_info_reply', 'parent_header': {'msg_id': 'd3d98b67-5ce8a263361e7c1f84ff520b_1880_1', 'msg_type': 'kernel_info_request', 'username': 'ubuntu', 'session': 'd3d98b67-5ce8a263361e7c1f84ff520b', 'date': '2026-01-22T18:18:40.840678Z', 'version': '5.4'}, 'metadata': {}, 'content': {'status': 'ok', 'protocol_version': '5.3', 'implementation': 'ipython', 'implementation_version': '8.35.0', 'language_info': {'name': 'python', 'version': '3.14.2', 'mimetype': 'text/x-python', 'codemirror_mode': {'name': 'ipython', 'version': 3}, 'pygments_lexer': 'ipython3', 'nbconvert_exporter': 'python', 'file_extension': '.py'}, 'banner': "Python 3.14.2 (main, Dec 6 2025, 13:20:08) [GCC 15.2.0]\nType 'copyright', 'credits' or 'license' for more information\nIPython 8.35.0 -- An enhanced Interactive Python. Type '?' for help.\n", 'help_links': [{'text': 'Python Reference', 'url': 'https://docs.python.org/3.14'}, {'text': 'IPython Reference', 'url': 'https://ipython.org/documentation.html'}, {'text': 'NumPy Reference', 'url': 'https://docs.scipy.org/doc/numpy/reference/'}, {'text': 'SciPy Reference', 'url': 'https://docs.scipy.org/doc/scipy/reference/'}, {'text': 'Matplotlib Reference', 'url': 'https://matplotlib.org/contents.html'}, {'text': 'SymPy Reference', 'url': 'http://docs.sympy.org/latest/index.html'}, {'text': 'pandas Reference', 'url': 'https://pandas.pydata.org/pandas-docs/stable/'}]}, 'buffers': []} 315s hello 0 315s hello 1 315s hello 2 315s hello 3 315s hello 4 315s ____________________________ test_subprocess_error _____________________________ 315s 315s @flaky(max_runs=3) 315s @pytest.mark.skipif( 315s sys.platform == "win32" or (sys.platform == "darwin" and sys.version_info >= (3, 8)), 315s reason="subprocess prints fail on Windows and MacOS Python 3.8+", 315s ) 315s def test_subprocess_error(): 315s  """error in mp.Process doesn't crash""" 315s with new_kernel() as kc: 315s code = "\n".join( 315s [ 315s "import multiprocessing as mp", 315s "p = mp.Process(target=int, args=('hi',))", 315s "p.start()", 315s "p.join()", 315s ] 315s ) 315s  315s msg_id, content = execute(kc=kc, code=code) 315s stdout, stderr = assemble_output(kc.get_iopub_msg) 315s assert stdout == "" 315s > assert "ValueError" in stderr 315s E AssertionError: assert 'ValueError' in '' 315s 315s code = "import multiprocessing as mp\np = mp.Process(target=int, args=('hi',))\np.start()\np.join()" 315s content = {'execution_count': 1, 'payload': [], 'status': 'ok', 'user_expressions': {}} 315s kc = 315s msg_id = '5b08599a-16644d501122a091e46d5984_1880_2' 315s stderr = '' 315s stdout = '' 315s 315s tests/test_kernel.py:287: AssertionError 315s ----------------------------- Captured stdout call ----------------------------- 315s Ignoring reply not to f549650c-d5dbb5e06e382c547772eaf7_1880_2: {'header': {'msg_id': 'dcbf920f-5f0e566b09c8cb97ab21072a_2586_5', 'msg_type': 'kernel_info_reply', 'username': 'ubuntu', 'session': 'dcbf920f-5f0e566b09c8cb97ab21072a', 'date': '2026-01-22T18:18:44.536960Z', 'version': '5.4'}, 'msg_id': 'dcbf920f-5f0e566b09c8cb97ab21072a_2586_5', 'msg_type': 'kernel_info_reply', 'parent_header': {'msg_id': 'f549650c-d5dbb5e06e382c547772eaf7_1880_1', 'msg_type': 'kernel_info_request', 'username': 'ubuntu', 'session': 'f549650c-d5dbb5e06e382c547772eaf7', 'date': '2026-01-22T18:18:44.297357Z', 'version': '5.4'}, 'metadata': {}, 'content': {'status': 'ok', 'protocol_version': '5.3', 'implementation': 'ipython', 'implementation_version': '8.35.0', 'language_info': {'name': 'python', 'version': '3.14.2', 'mimetype': 'text/x-python', 'codemirror_mode': {'name': 'ipython', 'version': 3}, 'pygments_lexer': 'ipython3', 'nbconvert_exporter': 'python', 'file_extension': '.py'}, 'banner': "Python 3.14.2 (main, Dec 6 2025, 13:20:08) [GCC 15.2.0]\nType 'copyright', 'credits' or 'license' for more information\nIPython 8.35.0 -- An enhanced Interactive Python. Type '?' for help.\n", 'help_links': [{'text': 'Python Reference', 'url': 'https://docs.python.org/3.14'}, {'text': 'IPython Reference', 'url': 'https://ipython.org/documentation.html'}, {'text': 'NumPy Reference', 'url': 'https://docs.scipy.org/doc/numpy/reference/'}, {'text': 'SciPy Reference', 'url': 'https://docs.scipy.org/doc/scipy/reference/'}, {'text': 'Matplotlib Reference', 'url': 'https://matplotlib.org/contents.html'}, {'text': 'SymPy Reference', 'url': 'http://docs.sympy.org/latest/index.html'}, {'text': 'pandas Reference', 'url': 'https://pandas.pydata.org/pandas-docs/stable/'}]}, 'buffers': []} 315s Process Process-1: 315s Traceback (most recent call last): 315s File "/usr/lib/python3.14/multiprocessing/process.py", line 320, in _bootstrap 315s self.run() 315s ~~~~~~~~^^ 315s File "/usr/lib/python3.14/multiprocessing/process.py", line 108, in run 315s self._target(*self._args, **self._kwargs) 315s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 315s ValueError: invalid literal for int() with base 10: 'hi' 315s ----------------------------- Captured stdout call ----------------------------- 315s Ignoring reply not to 5a251fe9-09c51c71d5945ec1f7b4df8c_1880_2: {'header': {'msg_id': '9ac34cb1-c975376f7bd6663d909a3e09_2605_5', 'msg_type': 'kernel_info_reply', 'username': 'ubuntu', 'session': '9ac34cb1-c975376f7bd6663d909a3e09', 'date': '2026-01-22T18:18:46.252342Z', 'version': '5.4'}, 'msg_id': '9ac34cb1-c975376f7bd6663d909a3e09_2605_5', 'msg_type': 'kernel_info_reply', 'parent_header': {'msg_id': '5a251fe9-09c51c71d5945ec1f7b4df8c_1880_1', 'msg_type': 'kernel_info_request', 'username': 'ubuntu', 'session': '5a251fe9-09c51c71d5945ec1f7b4df8c', 'date': '2026-01-22T18:18:46.054485Z', 'version': '5.4'}, 'metadata': {}, 'content': {'status': 'ok', 'protocol_version': '5.3', 'implementation': 'ipython', 'implementation_version': '8.35.0', 'language_info': {'name': 'python', 'version': '3.14.2', 'mimetype': 'text/x-python', 'codemirror_mode': {'name': 'ipython', 'version': 3}, 'pygments_lexer': 'ipython3', 'nbconvert_exporter': 'python', 'file_extension': '.py'}, 'banner': "Python 3.14.2 (main, Dec 6 2025, 13:20:08) [GCC 15.2.0]\nType 'copyright', 'credits' or 'license' for more information\nIPython 8.35.0 -- An enhanced Interactive Python. Type '?' for help.\n", 'help_links': [{'text': 'Python Reference', 'url': 'https://docs.python.org/3.14'}, {'text': 'IPython Reference', 'url': 'https://ipython.org/documentation.html'}, {'text': 'NumPy Reference', 'url': 'https://docs.scipy.org/doc/numpy/reference/'}, {'text': 'SciPy Reference', 'url': 'https://docs.scipy.org/doc/scipy/reference/'}, {'text': 'Matplotlib Reference', 'url': 'https://matplotlib.org/contents.html'}, {'text': 'SymPy Reference', 'url': 'http://docs.sympy.org/latest/index.html'}, {'text': 'pandas Reference', 'url': 'https://pandas.pydata.org/pandas-docs/stable/'}]}, 'buffers': []} 315s Process Process-1: 315s Traceback (most recent call last): 315s File "/usr/lib/python3.14/multiprocessing/process.py", line 320, in _bootstrap 315s self.run() 315s ~~~~~~~~^^ 315s File "/usr/lib/python3.14/multiprocessing/process.py", line 108, in run 315s self._target(*self._args, **self._kwargs) 315s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 315s ValueError: invalid literal for int() with base 10: 'hi' 315s ----------------------------- Captured stdout call ----------------------------- 315s Ignoring reply not to 5b08599a-16644d501122a091e46d5984_1880_2: {'header': {'msg_id': '33dce28d-414f4c355091e038c685acac_2624_5', 'msg_type': 'kernel_info_reply', 'username': 'ubuntu', 'session': '33dce28d-414f4c355091e038c685acac', 'date': '2026-01-22T18:18:47.964021Z', 'version': '5.4'}, 'msg_id': '33dce28d-414f4c355091e038c685acac_2624_5', 'msg_type': 'kernel_info_reply', 'parent_header': {'msg_id': '5b08599a-16644d501122a091e46d5984_1880_1', 'msg_type': 'kernel_info_request', 'username': 'ubuntu', 'session': '5b08599a-16644d501122a091e46d5984', 'date': '2026-01-22T18:18:47.760507Z', 'version': '5.4'}, 'metadata': {}, 'content': {'status': 'ok', 'protocol_version': '5.3', 'implementation': 'ipython', 'implementation_version': '8.35.0', 'language_info': {'name': 'python', 'version': '3.14.2', 'mimetype': 'text/x-python', 'codemirror_mode': {'name': 'ipython', 'version': 3}, 'pygments_lexer': 'ipython3', 'nbconvert_exporter': 'python', 'file_extension': '.py'}, 'banner': "Python 3.14.2 (main, Dec 6 2025, 13:20:08) [GCC 15.2.0]\nType 'copyright', 'credits' or 'license' for more information\nIPython 8.35.0 -- An enhanced Interactive Python. Type '?' for help.\n", 'help_links': [{'text': 'Python Reference', 'url': 'https://docs.python.org/3.14'}, {'text': 'IPython Reference', 'url': 'https://ipython.org/documentation.html'}, {'text': 'NumPy Reference', 'url': 'https://docs.scipy.org/doc/numpy/reference/'}, {'text': 'SciPy Reference', 'url': 'https://docs.scipy.org/doc/scipy/reference/'}, {'text': 'Matplotlib Reference', 'url': 'https://matplotlib.org/contents.html'}, {'text': 'SymPy Reference', 'url': 'http://docs.sympy.org/latest/index.html'}, {'text': 'pandas Reference', 'url': 'https://pandas.pydata.org/pandas-docs/stable/'}]}, 'buffers': []} 315s Process Process-1: 315s Traceback (most recent call last): 315s File "/usr/lib/python3.14/multiprocessing/process.py", line 320, in _bootstrap 315s self.run() 315s ~~~~~~~~^^ 315s File "/usr/lib/python3.14/multiprocessing/process.py", line 108, in run 315s self._target(*self._args, **self._kwargs) 315s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 315s ValueError: invalid literal for int() with base 10: 'hi' 315s _____________________ test_interrupt_during_pdb_set_trace ______________________ 315s 315s @pytest.mark.skipif( 315s "__pypy__" in sys.builtin_module_names, 315s reason="fails on pypy", 315s ) 315s def test_interrupt_during_pdb_set_trace(): 315s  """ 315s  The kernel exits after being interrupted while waiting in pdb.set_trace(). 315s  315s  Merely testing input() isn't enough, pdb has its own issues that need 315s  to be handled in addition. 315s  315s  This test will fail with versions of IPython < 7.14.0. 315s  """ 315s with new_kernel() as kc: 315s km = kc.parent 315s msg_id = kc.execute("import pdb; pdb.set_trace()") 315s msg_id2 = kc.execute("3 + 4") 315s time.sleep(1) # Make sure it's actually waiting for input. 315s km.interrupt_kernel() 315s from .test_message_spec import validate_message 315s  315s # If we failed to interrupt interrupt, this will timeout: 315s reply = get_reply(kc, msg_id, TIMEOUT) 315s validate_message(reply, "execute_reply", msg_id) 315s # If we failed to interrupt interrupt, this will timeout: 315s reply = get_reply(kc, msg_id2, TIMEOUT) 315s > validate_message(reply, "execute_reply", msg_id2) 315s 315s kc = 315s km = 315s msg_id = '24b05d18-37ccd3532dfac390222e515b_1880_1' 315s msg_id2 = '24b05d18-37ccd3532dfac390222e515b_1880_2' 315s reply = {'buffers': [], 'content': {'status': 'aborted'}, 'header': {'date': '2026-01-22T18:19:00.790515Z', 'msg_id': 'a728fd2... 'engine': '18162fcd-40c8-47fa-a64c-18ad3d6ecd8f', 'started': '2026-01-22T18:19:00.790492Z', 'status': 'aborted'}, ...} 315s validate_message = 315s 315s tests/test_kernel.py:553: 315s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 315s tests/test_message_spec.py:280: in validate_message 315s ref.check(content) 315s content = {'status': 'aborted'} 315s msg = {'buffers': [], 'content': {'status': 'aborted'}, 'header': {'date': '2026-01-22T18:19:00.790515Z', 'msg_id': 'a728fd2... 'engine': '18162fcd-40c8-47fa-a64c-18ad3d6ecd8f', 'started': '2026-01-22T18:19:00.790492Z', 'status': 'aborted'}, ...} 315s msg_type = 'execute_reply' 315s parent = '24b05d18-37ccd3532dfac390222e515b_1880_2' 315s ref = 315s tests/test_message_spec.py:121: in check 315s Reference.check(self, d) 315s d = {'status': 'aborted'} 315s self = 315s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 315s 315s self = 315s d = {'status': 'aborted'} 315s 315s def check(self, d): 315s  """validate a dict against our traits""" 315s for key in self.trait_names(): 315s > assert key in d 315s E AssertionError: assert 'execution_count' in {'status': 'aborted'} 315s 315s d = {'status': 'aborted'} 315s key = 'execution_count' 315s self = 315s 315s tests/test_message_spec.py:50: AssertionError 315s ===Flaky Test Report=== 315s 315s test_interface passed 1 out of the required 1 times. Success! 315s test_embed_kernel_basic passed 1 out of the required 1 times. Success! 315s test_embed_kernel_namespace passed 1 out of the required 1 times. Success! 315s test_embed_kernel_reentrant passed 1 out of the required 1 times. Success! 315s test_subprocess_print failed (2 runs remaining out of 3). 315s 315s 315s assert 0 == 5 315s + where 0 = ('hello') 315s + where = ''.count 315s [, , , , , , , , , , , , , , , , , , , , , , , , , , , ] 315s test_subprocess_print failed (1 runs remaining out of 3). 315s 315s 315s assert 0 == 5 315s + where 0 = ('hello') 315s + where = ''.count 315s [, , , , , , , , , , , , , , , , , , , , , , , , , , , ] 315s test_subprocess_print failed; it passed 0 out of the required 1 times. 315s 315s 315s assert 0 == 5 315s + where 0 = ('hello') 315s + where = ''.count 315s [, , , , , , , , , , , , , , , , , , , , , , , , , , , ] 315s test_subprocess_noprint passed 1 out of the required 1 times. Success! 315s test_subprocess_error failed (2 runs remaining out of 3). 315s 315s assert 'ValueError' in '' 315s [, , , , , , , , , , , , , , , , , , , , , , , , , , , ] 315s test_subprocess_error failed (1 runs remaining out of 3). 315s 315s assert 'ValueError' in '' 315s [, , , , , , , , , , , , , , , , , , , , , , , , , , , ] 315s test_subprocess_error failed; it passed 0 out of the required 1 times. 315s 315s assert 'ValueError' in '' 315s [, , , , , , , , , , , , , , , , , , , , , , , , , , , ] 315s test_ipython_start_kernel_userns passed 1 out of the required 1 times. Success! 315s test_ipython_start_kernel_no_userns passed 1 out of the required 1 times. Success! 316s 316s ===End Flaky Test Report=== 316s ============================= slowest 10 durations ============================= 316s 5.83s call tests/test_async.py::test_async_interrupt[asyncio] 316s 3.42s call tests/test_kernel.py::test_control_thread_priority 316s 2.77s call tests/test_kernel.py::test_interrupt_with_message 316s 2.64s call tests/test_kernel.py::test_subprocess_print 316s 2.56s call tests/test_kernel.py::test_interrupt_during_input 316s 2.50s call tests/test_embed_kernel.py::test_embed_kernel_reentrant 316s 2.46s call tests/test_message_spec.py::test_execute_stop_on_error 316s 2.35s call tests/test_kernel.py::test_sequential_control_messages 316s 2.32s call tests/test_kernel.py::test_interrupt_during_pdb_set_trace 316s 2.28s setup tests/test_debugger.py::test_rich_inspect_at_breakpoint 316s =========================== short test summary info ============================ 316s SKIPPED [1] tests/inprocess/test_kernel.py:58: This test requires matplotlib 316s SKIPPED [1] tests/inprocess/test_kernel.py:92: Currently don't capture during test as pytest does its own capturing 316s SKIPPED [1] tests/test_eventloop.py:122: MacOS-only 316s SKIPPED [1] tests/test_eventloop.py:127: got empty parameter set for (gui) 316s SKIPPED [1] tests/test_jsonutil.py:36: json_clean is a no-op 316s SKIPPED [1] tests/test_jsonutil.py:72: json_clean is a no-op 316s SKIPPED [1] tests/test_jsonutil.py:99: json_clean is a no-op 316s SKIPPED [1] tests/test_jsonutil.py:105: json_clean is a no-op 316s SKIPPED [1] tests/test_jsonutil.py:116: json_clean is a no-op 316s SKIPPED [1] tests/test_kernel.py:161: Currently don't capture during test as pytest does its own capturing 316s SKIPPED [1] tests/test_kernel.py:173: Currently don't capture during test as pytest does its own capturing 316s SKIPPED [1] tests/test_kernel.py:384: only run on Windows 316s SKIPPED [1] tests/test_kernel.py:412: this test requires matplotlib 316s SKIPPED [1] tests/test_kernel.py:443: test only on windows 316s SKIPPED [1] tests/test_kernel.py:673: Stalls on linux 316s SKIPPED [1] tests/test_kernelspec.py:179: checks versions older than 3.11 and other Python implementations 316s SKIPPED [1] tests/test_parentpoller.py:30: only works on windows 316s FAILED tests/test_kernel.py::test_subprocess_print - AssertionError: 316s FAILED tests/test_kernel.py::test_subprocess_error - AssertionError: assert 'ValueError' in '' 316s FAILED tests/test_kernel.py::test_interrupt_during_pdb_set_trace - AssertionError: assert 'execution_count' in {'status': 'aborted'} 316s ===== 3 failed, 166 passed, 17 skipped, 1 deselected in 111.81s (0:01:51) ====== 324s autopkgtest [18:19:33]: test pytest: -----------------------] 328s autopkgtest [18:19:37]: test pytest: - - - - - - - - - - results - - - - - - - - - - 328s pytest FAIL non-zero exit status 1 332s autopkgtest [18:19:41]: @@@@@@@@@@@@@@@@@@@@ summary 332s pytest FAIL non-zero exit status 1