0s autopkgtest [08:05:01]: starting date and time: 2026-01-23 08:05:01+0000 0s autopkgtest [08:05:01]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [08:05:01]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.1p_fg1pg/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --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 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-cpu2-ram4-disk20-s390x --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@sto01-s390x-18.secgroup --name adt-resolute-s390x-ipykernel-20260123-080501-juju-7f2275-prod-proposed-migration-environment-2-30071cff-e964-43ab-9392-822bdd87bfab --image adt/ubuntu-resolute-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-autopkgtest-workers-s390x -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 9s Creating nova instance adt-resolute-s390x-ipykernel-20260123-080501-juju-7f2275-prod-proposed-migration-environment-2-30071cff-e964-43ab-9392-822bdd87bfab from image adt/ubuntu-resolute-s390x-server-20260123.img (UUID 5f2e306c-5dfc-4ef6-8be2-414f657c7562)... 85s autopkgtest [08:06:26]: testbed dpkg architecture: s390x 85s autopkgtest [08:06:26]: testbed apt version: 3.1.13 86s autopkgtest [08:06:27]: @@@@@@@@@@@@@@@@@@@@ test bed setup 86s autopkgtest [08:06:27]: testbed release detected to be: None 87s autopkgtest [08:06:28]: updating testbed package index (apt update) 87s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 87s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 87s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 87s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 87s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [23.6 kB] 88s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2820 B] 88s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [95.5 kB] 88s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1058 kB] 88s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x Packages [113 kB] 88s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe s390x Packages [847 kB] 88s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse s390x Packages [9152 B] 88s Fetched 2273 kB in 1s (2183 kB/s) 91s Reading package lists... 92s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 92s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 92s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 92s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 94s Reading package lists... 94s Reading package lists... 94s Building dependency tree... 94s Reading state information... 94s Calculating upgrade... 94s The following packages were automatically installed and are no longer required: 94s python3.13 python3.13-minimal 94s Use 'sudo apt autoremove' to remove them. 94s The following NEW packages will be installed: 94s libpython3.14-minimal libpython3.14-stdlib python3.14 python3.14-minimal 94s The following packages will be upgraded: 94s libpython3-stdlib python3 python3-gdbm python3-minimal 95s 4 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 95s Need to get 6689 kB of archives. 95s After this operation, 24.3 MB of additional disk space will be used. 95s Get:1 http://ftpmaster.internal/ubuntu resolute/main s390x libpython3.14-minimal s390x 3.14.2-1 [917 kB] 95s Get:2 http://ftpmaster.internal/ubuntu resolute/main s390x python3.14-minimal s390x 3.14.2-1 [2510 kB] 95s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x python3-minimal s390x 3.14.2-1 [28.2 kB] 95s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x python3 s390x 3.14.2-1 [22.9 kB] 95s Get:5 http://ftpmaster.internal/ubuntu resolute/main s390x libpython3.14-stdlib s390x 3.14.2-1 [2373 kB] 95s Get:6 http://ftpmaster.internal/ubuntu resolute/main s390x python3.14 s390x 3.14.2-1 [816 kB] 95s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x libpython3-stdlib s390x 3.14.2-1 [10.9 kB] 95s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x python3-gdbm s390x 3.14.2-1 [11.1 kB] 95s dpkg-preconfigure: unable to re-open stdin: No such file or directory 95s Fetched 6689 kB in 1s (12.3 MB/s) 96s Selecting previously unselected package libpython3.14-minimal:s390x. 96s (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 ... 87685 files and directories currently installed.) 96s Preparing to unpack .../libpython3.14-minimal_3.14.2-1_s390x.deb ... 96s Unpacking libpython3.14-minimal:s390x (3.14.2-1) ... 96s Selecting previously unselected package python3.14-minimal. 96s Preparing to unpack .../python3.14-minimal_3.14.2-1_s390x.deb ... 96s Unpacking python3.14-minimal (3.14.2-1) ... 96s Setting up libpython3.14-minimal:s390x (3.14.2-1) ... 96s Setting up python3.14-minimal (3.14.2-1) ... 99s (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 ... 88027 files and directories currently installed.) 99s Preparing to unpack .../python3-minimal_3.14.2-1_s390x.deb ... 99s Unpacking python3-minimal (3.14.2-1) over (3.13.9-3) ... 99s Setting up python3-minimal (3.14.2-1) ... 100s (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 ... 88027 files and directories currently installed.) 100s Preparing to unpack .../python3_3.14.2-1_s390x.deb ... 101s running python pre-rtupdate hooks for python3.14... 101s Unpacking python3 (3.14.2-1) over (3.13.9-3) ... 101s Selecting previously unselected package libpython3.14-stdlib:s390x. 101s Preparing to unpack .../libpython3.14-stdlib_3.14.2-1_s390x.deb ... 101s Unpacking libpython3.14-stdlib:s390x (3.14.2-1) ... 101s Selecting previously unselected package python3.14. 101s Preparing to unpack .../python3.14_3.14.2-1_s390x.deb ... 101s Unpacking python3.14 (3.14.2-1) ... 101s Preparing to unpack .../libpython3-stdlib_3.14.2-1_s390x.deb ... 101s Unpacking libpython3-stdlib:s390x (3.14.2-1) over (3.13.9-3) ... 101s Preparing to unpack .../python3-gdbm_3.14.2-1_s390x.deb ... 101s Unpacking python3-gdbm (3.14.2-1) over (3.13.9-3) ... 101s Setting up libpython3.14-stdlib:s390x (3.14.2-1) ... 101s Setting up python3.14 (3.14.2-1) ... 106s Setting up libpython3-stdlib:s390x (3.14.2-1) ... 106s Setting up python3-gdbm (3.14.2-1) ... 106s Setting up python3 (3.14.2-1) ... 106s running python rtupdate hooks for python3.14... 106s running python post-rtupdate hooks for python3.14... 107s Processing triggers for man-db (2.13.1-1) ... 108s Processing triggers for systemd (259-1ubuntu2) ... 109s autopkgtest [08:06:50]: upgrading testbed (apt dist-upgrade and autopurge) 109s Reading package lists... 110s Building dependency tree... 110s Reading state information... 110s Calculating upgrade... 111s The following packages were automatically installed and are no longer required: 111s python3.13 python3.13-minimal 111s Use 'sudo apt autoremove' to remove them. 111s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 111s Reading package lists... 112s Building dependency tree... 112s Reading state information... 112s Solving dependencies... 113s The following packages will be REMOVED: 113s python3.13* python3.13-minimal* 114s 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. 114s After this operation, 8012 kB disk space will be freed. 114s (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 ... 88457 files and directories currently installed.) 114s Removing python3.13 (3.13.11-1) ... 114s Removing python3.13-minimal (3.13.11-1) ... 120s Processing triggers for man-db (2.13.1-1) ... 121s Processing triggers for systemd (259-1ubuntu2) ... 122s (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 ... 88430 files and directories currently installed.) 122s Purging configuration files for python3.13-minimal (3.13.11-1) ... 126s autopkgtest [08:07:07]: testbed running kernel: Linux 6.18.0-9-generic #9-Ubuntu SMP Mon Jan 12 15:39:23 UTC 2026 126s autopkgtest [08:07:07]: @@@@@@@@@@@@@@@@@@@@ apt-source ipykernel 129s Get:1 http://ftpmaster.internal/ubuntu resolute/universe ipykernel 6.30.1-1 (dsc) [2800 B] 129s Get:2 http://ftpmaster.internal/ubuntu resolute/universe ipykernel 6.30.1-1 (tar) [168 kB] 129s Get:3 http://ftpmaster.internal/ubuntu resolute/universe ipykernel 6.30.1-1 (diff) [6288 B] 130s gpgv: Signature made Thu Aug 14 09:41:52 2025 UTC 130s gpgv: using RSA key AC0A4FF12611B6FCCF01C111393587D97D86500B 130s gpgv: Can't check signature: No public key 130s dpkg-source: warning: cannot verify inline signature for ./ipykernel_6.30.1-1.dsc: no acceptable signature found 130s autopkgtest [08:07:11]: testing package ipykernel version 6.30.1-1 130s autopkgtest [08:07:11]: build not needed 131s autopkgtest [08:07:12]: test pytest: preparing testbed 131s Reading package lists... 132s Building dependency tree... 132s Reading state information... 133s Solving dependencies... 133s The following NEW packages will be installed: 133s gdb libbabeltrace1 libnorm1t64 libpgm-5.3-0t64 libsodium23 133s libsource-highlight-common libsource-highlight4t64 libzmq5 python3-all 133s python3-astroid python3-asttokens python3-comm python3-coverage 133s python3-debugpy python3-decorator python3-executing python3-flaky 133s python3-iniconfig python3-ipykernel python3-ipyparallel python3-ipython 133s python3-jedi python3-jupyter-client python3-jupyter-core 133s python3-matplotlib-inline python3-nest-asyncio python3-outcome python3-parso 133s python3-platformdirs python3-pluggy python3-prompt-toolkit python3-psutil 133s python3-pure-eval python3-pytest python3-pytest-asyncio 133s python3-pytest-timeout python3-sniffio python3-sortedcontainers 133s python3-stack-data python3-tornado python3-tqdm python3-traitlets 133s python3-trio python3-typeshed python3-wcwidth python3-zmq python3.13 133s python3.13-minimal 133s 0 upgraded, 48 newly installed, 0 to remove and 0 not upgraded. 133s Need to get 16.1 MB of archives. 133s After this operation, 69.3 MB of additional disk space will be used. 133s Get:1 http://ftpmaster.internal/ubuntu resolute/main s390x python3.13-minimal s390x 3.13.11-1 [2405 kB] 135s Get:2 http://ftpmaster.internal/ubuntu resolute/main s390x python3.13 s390x 3.13.11-1 [758 kB] 136s Get:3 http://ftpmaster.internal/ubuntu resolute/main s390x libbabeltrace1 s390x 1.5.11-5 [170 kB] 136s Get:4 http://ftpmaster.internal/ubuntu resolute/main s390x libsource-highlight-common all 3.1.9-4.3build2 [64.2 kB] 136s Get:5 http://ftpmaster.internal/ubuntu resolute/main s390x libsource-highlight4t64 s390x 3.1.9-4.3build2 [274 kB] 137s Get:6 http://ftpmaster.internal/ubuntu resolute/main s390x gdb s390x 16.3-5ubuntu1 [3912 kB] 138s Get:7 http://ftpmaster.internal/ubuntu resolute/universe s390x libnorm1t64 s390x 1.5.9+dfsg-4 [156 kB] 138s Get:8 http://ftpmaster.internal/ubuntu resolute/universe s390x libpgm-5.3-0t64 s390x 5.3.128~dfsg-2.1build2 [169 kB] 138s Get:9 http://ftpmaster.internal/ubuntu resolute/main s390x libsodium23 s390x 1.0.18-2 [138 kB] 138s Get:10 http://ftpmaster.internal/ubuntu resolute/universe s390x libzmq5 s390x 4.3.5-1build3 [252 kB] 138s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x python3-all s390x 3.14.2-1 [890 B] 138s Get:12 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-astroid all 4.0.2-1ubuntu1 [172 kB] 138s Get:13 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-asttokens all 3.0.1-1 [20.7 kB] 138s Get:14 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-traitlets all 5.14.3+really5.14.3-2 [71.7 kB] 138s Get:15 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-comm all 0.2.1-1build1 [7148 B] 138s Get:16 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-coverage s390x 7.8.2+dfsg1-1ubuntu1 [160 kB] 138s Get:17 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-debugpy s390x 1.8.19+ds-1ubuntu1 [968 kB] 138s Get:18 http://ftpmaster.internal/ubuntu resolute/main s390x python3-decorator all 5.2.1-2 [28.1 kB] 138s Get:19 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-executing all 2.2.1-0.1 [26.2 kB] 138s Get:20 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-flaky all 3.8.1-4 [16.8 kB] 138s Get:21 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-iniconfig all 2.1.0-2 [6962 B] 138s Get:22 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-parso all 0.8.5-1 [68.0 kB] 138s Get:23 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-typeshed all 0.0~git20241223.ea91db2-4 [1554 kB] 139s Get:24 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-jedi all 0.19.1+ds1-1build1 [694 kB] 139s Get:25 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-matplotlib-inline all 0.2.1-1 [9462 B] 139s Get:26 http://ftpmaster.internal/ubuntu resolute/main s390x python3-wcwidth all 0.2.14+dfsg1-1build1 [26.5 kB] 139s Get:27 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-prompt-toolkit all 3.0.52-2 [258 kB] 139s Get:28 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-pure-eval all 0.2.3-1 [11.4 kB] 139s Get:29 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-stack-data all 0.6.3-3 [22.2 kB] 139s Get:30 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-ipython all 8.35.0-2 [575 kB] 139s Get:31 http://ftpmaster.internal/ubuntu resolute/main s390x python3-platformdirs all 4.5.1-1 [17.1 kB] 139s Get:32 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-jupyter-core all 5.9.1-1 [28.9 kB] 139s Get:33 http://ftpmaster.internal/ubuntu resolute/main s390x python3-psutil s390x 7.1.0-1ubuntu1 [191 kB] 139s Get:34 http://ftpmaster.internal/ubuntu resolute/main s390x python3-tornado s390x 6.5.4-0.1 [306 kB] 139s Get:35 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-zmq s390x 27.1.0-1 [248 kB] 139s Get:36 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-jupyter-client all 8.7.0-1 [78.5 kB] 139s Get:37 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-nest-asyncio all 1.6.0-1 [6686 B] 139s Get:38 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-ipykernel all 6.30.1-1 [82.8 kB] 139s Get:39 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-tqdm all 4.67.1-7 [93.3 kB] 139s Get:40 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-ipyparallel all 9.0.2-1 [1314 kB] 139s Get:41 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-outcome all 1.2.0-2 [6208 B] 139s Get:42 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-pluggy all 1.6.0-2 [21.1 kB] 139s Get:43 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-pytest all 9.0.2-2 [277 kB] 139s Get:44 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-pytest-asyncio all 1.3.0-1 [13.8 kB] 139s Get:45 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-pytest-timeout all 2.4.0-2 [22.5 kB] 139s Get:46 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-sniffio all 1.3.1-1 [7262 B] 139s Get:47 http://ftpmaster.internal/ubuntu resolute/main s390x python3-sortedcontainers all 2.4.0-2build1 [27.1 kB] 139s Get:48 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-trio all 0.32.0-1 [342 kB] 140s Fetched 16.1 MB in 6s (2720 kB/s) 140s Selecting previously unselected package python3.13-minimal. 140s (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 ... 88432 files and directories currently installed.) 140s Preparing to unpack .../00-python3.13-minimal_3.13.11-1_s390x.deb ... 140s Unpacking python3.13-minimal (3.13.11-1) ... 140s Selecting previously unselected package python3.13. 140s Preparing to unpack .../01-python3.13_3.13.11-1_s390x.deb ... 140s Unpacking python3.13 (3.13.11-1) ... 140s Selecting previously unselected package libbabeltrace1:s390x. 140s Preparing to unpack .../02-libbabeltrace1_1.5.11-5_s390x.deb ... 141s Unpacking libbabeltrace1:s390x (1.5.11-5) ... 141s Selecting previously unselected package libsource-highlight-common. 141s Preparing to unpack .../03-libsource-highlight-common_3.1.9-4.3build2_all.deb ... 141s Unpacking libsource-highlight-common (3.1.9-4.3build2) ... 141s Selecting previously unselected package libsource-highlight4t64:s390x. 141s Preparing to unpack .../04-libsource-highlight4t64_3.1.9-4.3build2_s390x.deb ... 141s Unpacking libsource-highlight4t64:s390x (3.1.9-4.3build2) ... 141s Selecting previously unselected package gdb. 141s Preparing to unpack .../05-gdb_16.3-5ubuntu1_s390x.deb ... 141s Unpacking gdb (16.3-5ubuntu1) ... 141s Selecting previously unselected package libnorm1t64:s390x. 141s Preparing to unpack .../06-libnorm1t64_1.5.9+dfsg-4_s390x.deb ... 141s Unpacking libnorm1t64:s390x (1.5.9+dfsg-4) ... 141s Selecting previously unselected package libpgm-5.3-0t64:s390x. 141s Preparing to unpack .../07-libpgm-5.3-0t64_5.3.128~dfsg-2.1build2_s390x.deb ... 141s Unpacking libpgm-5.3-0t64:s390x (5.3.128~dfsg-2.1build2) ... 141s Selecting previously unselected package libsodium23:s390x. 141s Preparing to unpack .../08-libsodium23_1.0.18-2_s390x.deb ... 141s Unpacking libsodium23:s390x (1.0.18-2) ... 141s Selecting previously unselected package libzmq5:s390x. 141s Preparing to unpack .../09-libzmq5_4.3.5-1build3_s390x.deb ... 141s Unpacking libzmq5:s390x (4.3.5-1build3) ... 142s Selecting previously unselected package python3-all. 142s Preparing to unpack .../10-python3-all_3.14.2-1_s390x.deb ... 142s Unpacking python3-all (3.14.2-1) ... 142s Selecting previously unselected package python3-astroid. 142s Preparing to unpack .../11-python3-astroid_4.0.2-1ubuntu1_all.deb ... 142s Unpacking python3-astroid (4.0.2-1ubuntu1) ... 142s Selecting previously unselected package python3-asttokens. 142s Preparing to unpack .../12-python3-asttokens_3.0.1-1_all.deb ... 142s Unpacking python3-asttokens (3.0.1-1) ... 142s Selecting previously unselected package python3-traitlets. 142s Preparing to unpack .../13-python3-traitlets_5.14.3+really5.14.3-2_all.deb ... 142s Unpacking python3-traitlets (5.14.3+really5.14.3-2) ... 142s Selecting previously unselected package python3-comm. 142s Preparing to unpack .../14-python3-comm_0.2.1-1build1_all.deb ... 142s Unpacking python3-comm (0.2.1-1build1) ... 142s Selecting previously unselected package python3-coverage. 142s Preparing to unpack .../15-python3-coverage_7.8.2+dfsg1-1ubuntu1_s390x.deb ... 142s Unpacking python3-coverage (7.8.2+dfsg1-1ubuntu1) ... 142s Selecting previously unselected package python3-debugpy. 142s Preparing to unpack .../16-python3-debugpy_1.8.19+ds-1ubuntu1_s390x.deb ... 142s Unpacking python3-debugpy (1.8.19+ds-1ubuntu1) ... 143s Selecting previously unselected package python3-decorator. 143s Preparing to unpack .../17-python3-decorator_5.2.1-2_all.deb ... 143s Unpacking python3-decorator (5.2.1-2) ... 143s Selecting previously unselected package python3-executing. 143s Preparing to unpack .../18-python3-executing_2.2.1-0.1_all.deb ... 143s Unpacking python3-executing (2.2.1-0.1) ... 143s Selecting previously unselected package python3-flaky. 143s Preparing to unpack .../19-python3-flaky_3.8.1-4_all.deb ... 143s Unpacking python3-flaky (3.8.1-4) ... 143s Selecting previously unselected package python3-iniconfig. 143s Preparing to unpack .../20-python3-iniconfig_2.1.0-2_all.deb ... 143s Unpacking python3-iniconfig (2.1.0-2) ... 143s Selecting previously unselected package python3-parso. 143s Preparing to unpack .../21-python3-parso_0.8.5-1_all.deb ... 143s Unpacking python3-parso (0.8.5-1) ... 143s Selecting previously unselected package python3-typeshed. 143s Preparing to unpack .../22-python3-typeshed_0.0~git20241223.ea91db2-4_all.deb ... 143s Unpacking python3-typeshed (0.0~git20241223.ea91db2-4) ... 145s Selecting previously unselected package python3-jedi. 145s Preparing to unpack .../23-python3-jedi_0.19.1+ds1-1build1_all.deb ... 145s Unpacking python3-jedi (0.19.1+ds1-1build1) ... 145s Selecting previously unselected package python3-matplotlib-inline. 145s Preparing to unpack .../24-python3-matplotlib-inline_0.2.1-1_all.deb ... 145s Unpacking python3-matplotlib-inline (0.2.1-1) ... 145s Selecting previously unselected package python3-wcwidth. 145s Preparing to unpack .../25-python3-wcwidth_0.2.14+dfsg1-1build1_all.deb ... 145s Unpacking python3-wcwidth (0.2.14+dfsg1-1build1) ... 145s Selecting previously unselected package python3-prompt-toolkit. 146s Preparing to unpack .../26-python3-prompt-toolkit_3.0.52-2_all.deb ... 146s Unpacking python3-prompt-toolkit (3.0.52-2) ... 146s Selecting previously unselected package python3-pure-eval. 146s Preparing to unpack .../27-python3-pure-eval_0.2.3-1_all.deb ... 146s Unpacking python3-pure-eval (0.2.3-1) ... 146s Selecting previously unselected package python3-stack-data. 146s Preparing to unpack .../28-python3-stack-data_0.6.3-3_all.deb ... 146s Unpacking python3-stack-data (0.6.3-3) ... 146s Selecting previously unselected package python3-ipython. 146s Preparing to unpack .../29-python3-ipython_8.35.0-2_all.deb ... 146s Unpacking python3-ipython (8.35.0-2) ... 146s Selecting previously unselected package python3-platformdirs. 146s Preparing to unpack .../30-python3-platformdirs_4.5.1-1_all.deb ... 147s Unpacking python3-platformdirs (4.5.1-1) ... 147s Selecting previously unselected package python3-jupyter-core. 147s Preparing to unpack .../31-python3-jupyter-core_5.9.1-1_all.deb ... 147s Unpacking python3-jupyter-core (5.9.1-1) ... 147s Selecting previously unselected package python3-psutil. 147s Preparing to unpack .../32-python3-psutil_7.1.0-1ubuntu1_s390x.deb ... 147s Unpacking python3-psutil (7.1.0-1ubuntu1) ... 147s Selecting previously unselected package python3-tornado. 147s Preparing to unpack .../33-python3-tornado_6.5.4-0.1_s390x.deb ... 147s Unpacking python3-tornado (6.5.4-0.1) ... 147s Selecting previously unselected package python3-zmq. 147s Preparing to unpack .../34-python3-zmq_27.1.0-1_s390x.deb ... 147s Unpacking python3-zmq (27.1.0-1) ... 147s Selecting previously unselected package python3-jupyter-client. 147s Preparing to unpack .../35-python3-jupyter-client_8.7.0-1_all.deb ... 147s Unpacking python3-jupyter-client (8.7.0-1) ... 147s Selecting previously unselected package python3-nest-asyncio. 147s Preparing to unpack .../36-python3-nest-asyncio_1.6.0-1_all.deb ... 147s Unpacking python3-nest-asyncio (1.6.0-1) ... 147s Selecting previously unselected package python3-ipykernel. 147s Preparing to unpack .../37-python3-ipykernel_6.30.1-1_all.deb ... 147s Unpacking python3-ipykernel (6.30.1-1) ... 148s Selecting previously unselected package python3-tqdm. 148s Preparing to unpack .../38-python3-tqdm_4.67.1-7_all.deb ... 148s Unpacking python3-tqdm (4.67.1-7) ... 148s Selecting previously unselected package python3-ipyparallel. 148s Preparing to unpack .../39-python3-ipyparallel_9.0.2-1_all.deb ... 148s Unpacking python3-ipyparallel (9.0.2-1) ... 148s Selecting previously unselected package python3-outcome. 148s Preparing to unpack .../40-python3-outcome_1.2.0-2_all.deb ... 148s Unpacking python3-outcome (1.2.0-2) ... 148s Selecting previously unselected package python3-pluggy. 148s Preparing to unpack .../41-python3-pluggy_1.6.0-2_all.deb ... 148s Unpacking python3-pluggy (1.6.0-2) ... 148s Selecting previously unselected package python3-pytest. 148s Preparing to unpack .../42-python3-pytest_9.0.2-2_all.deb ... 148s Unpacking python3-pytest (9.0.2-2) ... 148s Selecting previously unselected package python3-pytest-asyncio. 148s Preparing to unpack .../43-python3-pytest-asyncio_1.3.0-1_all.deb ... 148s Unpacking python3-pytest-asyncio (1.3.0-1) ... 148s Selecting previously unselected package python3-pytest-timeout. 148s Preparing to unpack .../44-python3-pytest-timeout_2.4.0-2_all.deb ... 148s Unpacking python3-pytest-timeout (2.4.0-2) ... 148s Selecting previously unselected package python3-sniffio. 148s Preparing to unpack .../45-python3-sniffio_1.3.1-1_all.deb ... 148s Unpacking python3-sniffio (1.3.1-1) ... 148s Selecting previously unselected package python3-sortedcontainers. 148s Preparing to unpack .../46-python3-sortedcontainers_2.4.0-2build1_all.deb ... 148s Unpacking python3-sortedcontainers (2.4.0-2build1) ... 148s Selecting previously unselected package python3-trio. 148s Preparing to unpack .../47-python3-trio_0.32.0-1_all.deb ... 148s Unpacking python3-trio (0.32.0-1) ... 148s Setting up python3-iniconfig (2.1.0-2) ... 149s Setting up python3-sniffio (1.3.1-1) ... 149s Setting up python3-outcome (1.2.0-2) ... 150s Setting up python3-tornado (6.5.4-0.1) ... 153s Setting up libnorm1t64:s390x (1.5.9+dfsg-4) ... 153s Setting up python3-pure-eval (0.2.3-1) ... 154s Setting up libsodium23:s390x (1.0.18-2) ... 154s Setting up python3-parso (0.8.5-1) ... 155s Setting up python3-tqdm (4.67.1-7) ... 156s Setting up python3-sortedcontainers (2.4.0-2build1) ... 156s Setting up python3-platformdirs (4.5.1-1) ... 157s Setting up python3-psutil (7.1.0-1ubuntu1) ... 160s Setting up libsource-highlight-common (3.1.9-4.3build2) ... 160s Setting up libpgm-5.3-0t64:s390x (5.3.128~dfsg-2.1build2) ... 160s Setting up python3-decorator (5.2.1-2) ... 161s Setting up python3-flaky (3.8.1-4) ... 161s Setting up python3-wcwidth (0.2.14+dfsg1-1build1) ... 162s Setting up python3-trio (0.32.0-1) ... 165s Setting up python3-typeshed (0.0~git20241223.ea91db2-4) ... 165s Setting up python3-nest-asyncio (1.6.0-1) ... 165s Setting up libbabeltrace1:s390x (1.5.11-5) ... 165s Setting up python3-pluggy (1.6.0-2) ... 166s Setting up python3-astroid (4.0.2-1ubuntu1) ... 168s Setting up python3-traitlets (5.14.3+really5.14.3-2) ... 169s Setting up python3.13-minimal (3.13.11-1) ... 172s Setting up python3-jupyter-core (5.9.1-1) ... 173s Setting up python3-prompt-toolkit (3.0.52-2) ... 175s Setting up libzmq5:s390x (4.3.5-1build3) ... 175s Setting up python3-jedi (0.19.1+ds1-1build1) ... 177s 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) ... 183s Setting up python3-all (3.14.2-1) ... 183s Setting up python3-coverage (7.8.2+dfsg1-1ubuntu1) ... 184s Setting up libsource-highlight4t64:s390x (3.1.9-4.3build2) ... 184s Setting up python3-matplotlib-inline (0.2.1-1) ... 185s Setting up python3-comm (0.2.1-1build1) ... 185s Setting up gdb (16.3-5ubuntu1) ... 185s Setting up python3-executing (2.2.1-0.1) ... 186s Setting up python3-zmq (27.1.0-1) ... 187s Setting up python3-pytest-asyncio (1.3.0-1) ... 187s Setting up python3-jupyter-client (8.7.0-1) ... 188s Setting up python3-stack-data (0.6.3-3) ... 189s Setting up python3-pytest-timeout (2.4.0-2) ... 189s Setting up python3-debugpy (1.8.19+ds-1ubuntu1) ... 194s Setting up python3-ipython (8.35.0-2) ... 198s /usr/lib/python3/dist-packages/IPython/core/interactiveshell.py:3141: SyntaxWarning: 'return' in a 'finally' block 198s return result 199s Setting up python3-ipykernel (6.30.1-1) ... 200s Setting up python3-ipyparallel (9.0.2-1) ... 202s Processing triggers for systemd (259-1ubuntu2) ... 202s Processing triggers for man-db (2.13.1-1) ... 204s Processing triggers for libc-bin (2.42-2ubuntu4) ... 205s autopkgtest [08:08:26]: test pytest: [----------------------- 206s + py3versions -s 206s + PYS=python3.13 python3.14 206s + cp -r pyproject.toml tests /tmp/autopkgtest.NYOiNa/autopkgtest_tmp 206s + cd /tmp/autopkgtest.NYOiNa/autopkgtest_tmp 206s + Testing with python3.13: 206s echo Testing with python3.13: 206s + timeout 300 python3.13 -m pytest -v -k not test_init_ipc_socket 208s ============================= test session starts ============================== 208s platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0 -- /usr/bin/python3.13 208s cachedir: .pytest_cache 208s rootdir: /tmp/autopkgtest.NYOiNa/autopkgtest_tmp 208s configfile: pyproject.toml 208s testpaths: tests 208s plugins: typeguard-4.4.4, asyncio-1.3.0, timeout-2.4.0, flaky-3.8.1 208s asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function 208s timeout: 300.0s 208s timeout method: signal 208s timeout func_only: False 210s collecting ... collected 187 items / 1 deselected / 186 selected 210s 211s tests/inprocess/test_kernel.py::test_with_cell_id PASSED [ 0%] 211s tests/inprocess/test_kernel.py::test_pylab SKIPPED (This test requir...) [ 1%] 211s tests/inprocess/test_kernel.py::test_raw_input PASSED [ 1%] 211s tests/inprocess/test_kernel.py::test_stdout PASSED [ 2%] 211s tests/inprocess/test_kernel.py::test_capfd SKIPPED (Currently don't ...) [ 2%] 212s tests/inprocess/test_kernel.py::test_getpass_stream PASSED [ 3%] 212s tests/inprocess/test_kernel.py::test_do_execute PASSED [ 3%] 213s tests/inprocess/test_kernelmanager.py::InProcessKernelManagerTestCase::test_complete PASSED [ 4%] 213s tests/inprocess/test_kernelmanager.py::InProcessKernelManagerTestCase::test_execute PASSED [ 4%] 213s tests/inprocess/test_kernelmanager.py::InProcessKernelManagerTestCase::test_history PASSED [ 5%] 214s tests/inprocess/test_kernelmanager.py::InProcessKernelManagerTestCase::test_inspect PASSED [ 5%] 214s tests/inprocess/test_kernelmanager.py::InProcessKernelManagerTestCase::test_interface PASSED [ 6%] 217s tests/test_async.py::test_async_await PASSED [ 6%] 226s tests/test_async.py::test_async_interrupt[asyncio] PASSED [ 7%] 233s tests/test_async.py::test_async_interrupt[trio] PASSED [ 8%] 233s tests/test_comm.py::test_comm PASSED [ 8%] 233s tests/test_comm.py::test_comm_manager PASSED [ 9%] 233s tests/test_comm.py::test_comm_in_manager PASSED [ 9%] 233s tests/test_connect.py::test_get_connection_file PASSED [ 10%] 233s tests/test_connect.py::test_get_connection_info PASSED [ 10%] 233s tests/test_connect.py::test_port_bind_failure_raises PASSED [ 11%] 233s tests/test_connect.py::test_port_bind_failure_recovery PASSED [ 11%] 233s tests/test_connect.py::test_port_bind_failure_gives_up_retries PASSED [ 12%] 237s tests/test_debugger.py::test_debug_initialize PASSED [ 12%] 242s tests/test_debugger.py::test_attach_debug PASSED [ 13%] 244s tests/test_debugger.py::test_set_breakpoints PASSED [ 13%] 246s tests/test_debugger.py::test_stop_on_breakpoint PASSED [ 14%] 249s tests/test_debugger.py::test_breakpoint_in_cell_with_leading_empty_lines PASSED [ 15%] 253s tests/test_debugger.py::test_rich_inspect_not_at_breakpoint PASSED [ 15%] 258s tests/test_debugger.py::test_rich_inspect_at_breakpoint PASSED [ 16%] 258s tests/test_debugger.py::test_convert_to_long_pathname PASSED [ 16%] 262s tests/test_debugger.py::test_copy_to_globals PASSED [ 17%] 266s tests/test_debugger.py::test_debug_requests_sequential PASSED [ 17%] 269s tests/test_embed_kernel.py::test_embed_kernel_basic PASSED [ 18%] 271s tests/test_embed_kernel.py::test_embed_kernel_namespace PASSED [ 18%] 275s tests/test_embed_kernel.py::test_embed_kernel_reentrant PASSED [ 19%] 276s tests/test_embed_kernel.py::test_embed_kernel_func NOTE: When using the `ipython kernel` entry point, Ctrl-C will not work. 276s 276s To exit, you will have to explicitly quit this process, by either sending 276s "quit" from a client, or using Ctrl-\ in UNIX-like environments. 276s 276s To read more about this, see https://github.com/ipython/ipython/issues/2049 276s 276s 276s To connect another client to this kernel, use: 276s --existing kernel-2852.json 276s PASSED [ 19%] 279s tests/test_eventloop.py::test_asyncio_interrupt PASSED [ 20%] 283s tests/test_eventloop.py::test_tk_loop PASSED [ 20%] 286s tests/test_eventloop.py::test_asyncio_loop PASSED [ 21%] 287s tests/test_eventloop.py::test_enable_gui PASSED [ 22%] 287s tests/test_eventloop.py::test_cocoa_loop SKIPPED (MacOS-only) [ 22%] 287s tests/test_eventloop.py::test_qt_enable_gui[NOTSET] SKIPPED (got emp...) [ 23%] 287s tests/test_heartbeat.py::test_port_bind_failure_raises PASSED [ 23%] 287s tests/test_heartbeat.py::test_port_bind_success PASSED [ 24%] 287s tests/test_heartbeat.py::test_port_bind_failure_recovery PASSED [ 24%] 287s tests/test_heartbeat.py::test_port_bind_failure_gives_up_retries PASSED [ 25%] 287s tests/test_io.py::test_io_api PASSED [ 25%] 287s tests/test_io.py::test_io_isatty PASSED [ 26%] 287s tests/test_io.py::test_io_thread PASSED [ 26%] 287s tests/test_io.py::test_background_socket PASSED [ 27%] 287s tests/test_io.py::test_outstream PASSED [ 27%] 287s tests/test_io.py::test_event_pipe_gc PASSED [ 28%] 289s tests/test_io.py::test_echo_watch PASSED [ 29%] 289s tests/test_ipkernel_direct.py::test_properties PASSED [ 29%] 289s tests/test_ipkernel_direct.py::test_direct_kernel_info_request PASSED [ 30%] 289s tests/test_ipkernel_direct.py::test_direct_execute_request PASSED [ 30%] 289s tests/test_ipkernel_direct.py::test_direct_execute_request_aborting PASSED [ 31%] 291s tests/test_ipkernel_direct.py::test_complete_request PASSED [ 31%] 291s tests/test_ipkernel_direct.py::test_inspect_request PASSED [ 32%] 291s tests/test_ipkernel_direct.py::test_history_request PASSED [ 32%] 291s tests/test_ipkernel_direct.py::test_comm_info_request PASSED [ 33%] 291s tests/test_ipkernel_direct.py::test_direct_interrupt_request PASSED [ 33%] 291s tests/test_ipkernel_direct.py::test_is_complete_request PASSED [ 34%] 291s tests/test_ipkernel_direct.py::test_do_apply PASSED [ 34%] 291s tests/test_ipkernel_direct.py::test_direct_debug_request PASSED [ 35%] 291s tests/test_ipkernel_direct.py::test_direct_clear PASSED [ 36%] 291s tests/test_ipkernel_direct.py::test_cancel_on_sigint PASSED [ 36%] 291s tests/test_ipkernel_direct.py::test_dispatch_debugpy PASSED [ 37%] 291s tests/test_ipkernel_direct.py::test_start PASSED [ 37%] 291s tests/test_ipkernel_direct.py::test_start_no_debugpy PASSED [ 38%] 291s tests/test_ipkernel_direct.py::test_create_comm PASSED [ 38%] 291s tests/test_ipkernel_direct.py::test_finish_metadata PASSED [ 39%] 291s tests/test_ipkernel_direct.py::test_do_debug_request PASSED [ 39%] 291s tests/test_jsonutil.py::test SKIPPED (json_clean is a no-op) [ 40%] 291s tests/test_jsonutil.py::test_encode_images SKIPPED (json_clean is a ...) [ 40%] 291s tests/test_jsonutil.py::test_lambda SKIPPED (json_clean is a no-op) [ 41%] 291s tests/test_jsonutil.py::test_exception SKIPPED (json_clean is a no-op) [ 41%] 291s tests/test_jsonutil.py::test_unicode_dict SKIPPED (json_clean is a n...) [ 42%] 294s tests/test_kernel.py::test_simple_print PASSED [ 43%] 295s tests/test_kernel.py::test_print_to_correct_cell_from_thread PASSED [ 43%] 297s tests/test_kernel.py::test_print_to_correct_cell_from_child_thread PASSED [ 44%] 298s tests/test_kernel.py::test_print_to_correct_cell_from_asyncio PASSED [ 44%] 298s tests/test_kernel.py::test_capture_fd SKIPPED (Currently don't captu...) [ 45%] 298s tests/test_kernel.py::test_subprocess_peek_at_stream_fileno SKIPPED [ 45%] 298s tests/test_kernel.py::test_sys_path PASSED [ 46%] 300s tests/test_kernel.py::test_sys_path_profile_dir PASSED [ 46%] 309s tests/test_kernel.py::test_subprocess_print FAILED [ 47%] 309s tests/test_kernel.py::test_subprocess_noprint PASSED [ 47%] 318s tests/test_kernel.py::test_subprocess_error FAILED [ 48%] 318s tests/test_kernel.py::test_raw_input PASSED [ 48%] 318s tests/test_kernel.py::test_save_history PASSED [ 49%] 318s tests/test_kernel.py::test_smoke_faulthandler PASSED [ 50%] 320s tests/test_kernel.py::test_help_output PASSED [ 50%] 320s tests/test_kernel.py::test_is_complete PASSED [ 51%] 320s tests/test_kernel.py::test_complete SKIPPED (only run on Windows) [ 51%] 320s tests/test_kernel.py::test_matplotlib_inline_on_import SKIPPED (this...) [ 52%] 321s tests/test_kernel.py::test_message_order PASSED [ 52%] 321s tests/test_kernel.py::test_unc_paths SKIPPED (test only on windows) [ 53%] 324s tests/test_kernel.py::test_shutdown PASSED [ 53%] 327s tests/test_kernel.py::test_interrupt_during_input PASSED [ 54%] 331s tests/test_kernel.py::test_interrupt_with_message PASSED [ 54%] 335s tests/test_kernel.py::test_interrupt_during_pdb_set_trace FAILED [ 55%] 340s tests/test_kernel.py::test_control_thread_priority PASSED [ 55%] 344s tests/test_kernel.py::test_sequential_control_messages PASSED [ 56%] 344s tests/test_kernel.py::test_shutdown_subprocesses SKIPPED (Stalls on ...) [ 56%] 344s tests/test_kernel_direct.py::test_direct_kernel_info_request PASSED [ 57%] 344s tests/test_kernel_direct.py::test_direct_execute_request PASSED [ 58%] 345s tests/test_kernel_direct.py::test_direct_execute_request_aborting PASSED [ 58%] 345s tests/test_kernel_direct.py::test_direct_execute_request_error PASSED [ 59%] 345s tests/test_kernel_direct.py::test_complete_request PASSED [ 59%] 345s tests/test_kernel_direct.py::test_inspect_request PASSED [ 60%] 345s tests/test_kernel_direct.py::test_history_request PASSED [ 60%] 345s tests/test_kernel_direct.py::test_comm_info_request PASSED [ 61%] 345s tests/test_kernel_direct.py::test_direct_interrupt_request PASSED [ 61%] 345s tests/test_kernel_direct.py::test_direct_shutdown_request PASSED [ 62%] 345s tests/test_kernel_direct.py::test_is_complete_request PASSED [ 62%] 345s tests/test_kernel_direct.py::test_direct_debug_request PASSED [ 63%] 345s tests/test_kernel_direct.py::test_deprecated_features PASSED [ 63%] 345s tests/test_kernel_direct.py::test_process_control PASSED [ 64%] 345s tests/test_kernel_direct.py::test_should_handle PASSED [ 65%] 345s tests/test_kernel_direct.py::test_dispatch_shell PASSED [ 65%] 345s tests/test_kernel_direct.py::test_do_one_iteration PASSED [ 66%] 345s tests/test_kernel_direct.py::test_publish_debug_event PASSED [ 66%] 345s tests/test_kernel_direct.py::test_connect_request PASSED [ 67%] 345s tests/test_kernel_direct.py::test_send_interrupt_children PASSED [ 67%] 345s tests/test_kernelapp.py::test_blackhole PASSED [ 68%] 345s tests/test_kernelapp.py::test_start_app PASSED [ 68%] 345s tests/test_kernelapp.py::test_merge_connection_file PASSED [ 69%] 345s tests/test_kernelapp.py::test_trio_loop PASSED [ 69%] 345s tests/test_kernelspec.py::test_make_ipkernel_cmd PASSED [ 70%] 345s tests/test_kernelspec.py::test_get_kernel_dict PASSED [ 70%] 345s tests/test_kernelspec.py::test_get_kernel_dict_with_profile PASSED [ 71%] 345s tests/test_kernelspec.py::test_write_kernel_spec PASSED [ 72%] 345s tests/test_kernelspec.py::test_write_kernel_spec_path PASSED [ 72%] 345s tests/test_kernelspec.py::test_install_kernelspec PASSED [ 73%] 345s tests/test_kernelspec.py::test_install_user PASSED [ 73%] 345s tests/test_kernelspec.py::test_install PASSED [ 74%] 345s tests/test_kernelspec.py::test_install_profile PASSED [ 74%] 345s tests/test_kernelspec.py::test_install_display_name_overrides_profile PASSED [ 75%] 345s tests/test_kernelspec.py::test_install_env[None] PASSED [ 75%] 345s tests/test_kernelspec.py::test_install_env[env1] PASSED [ 76%] 345s tests/test_kernelspec.py::test_install_env[env2] PASSED [ 76%] 345s tests/test_kernelspec.py::test_install_frozen_modules_on PASSED [ 77%] 345s tests/test_kernelspec.py::test_install_frozen_modules_off PASSED [ 77%] 345s tests/test_kernelspec.py::test_install_frozen_modules_no_op SKIPPED [ 78%] 345s tests/test_message_spec.py::test_execute PASSED [ 79%] 346s tests/test_message_spec.py::test_execute_silent PASSED [ 79%] 347s tests/test_message_spec.py::test_execute_error PASSED [ 80%] 347s tests/test_message_spec.py::test_execute_inc PASSED [ 80%] 350s tests/test_message_spec.py::test_execute_stop_on_error PASSED [ 81%] 351s tests/test_message_spec.py::test_non_execute_stop_on_error PASSED [ 81%] 352s tests/test_message_spec.py::test_user_expressions PASSED [ 82%] 352s tests/test_message_spec.py::test_user_expressions_fail PASSED [ 82%] 353s tests/test_message_spec.py::test_oinfo PASSED [ 83%] 353s tests/test_message_spec.py::test_oinfo_found PASSED [ 83%] 354s tests/test_message_spec.py::test_oinfo_detail PASSED [ 84%] 354s tests/test_message_spec.py::test_oinfo_not_found PASSED [ 84%] 356s tests/test_message_spec.py::test_complete PASSED [ 85%] 356s tests/test_message_spec.py::test_kernel_info_request PASSED [ 86%] 357s tests/test_message_spec.py::test_connect_request PASSED [ 86%] 357s tests/test_message_spec.py::test_comm_info_request PASSED [ 87%] 358s tests/test_message_spec.py::test_single_payload PASSED [ 87%] 358s tests/test_message_spec.py::test_is_complete PASSED [ 88%] 359s tests/test_message_spec.py::test_history_range PASSED [ 88%] 359s tests/test_message_spec.py::test_history_tail PASSED [ 89%] 360s tests/test_message_spec.py::test_history_search PASSED [ 89%] 360s tests/test_message_spec.py::test_stream PASSED [ 90%] 361s tests/test_message_spec.py::test_display_data PASSED [ 90%] 361s tests/test_parentpoller.py::test_parent_poller_unix PASSED [ 91%] 361s tests/test_parentpoller.py::test_parent_poller_windows SKIPPED (only...) [ 91%] 361s tests/test_pickleutil.py::test_no_closure PASSED [ 92%] 361s tests/test_pickleutil.py::test_generator_closure PASSED [ 93%] 361s tests/test_pickleutil.py::test_nested_closure PASSED [ 93%] 361s tests/test_pickleutil.py::test_closure PASSED [ 94%] 361s tests/test_pickleutil.py::test_uncan_bytes_buffer PASSED [ 94%] 364s tests/test_start_kernel.py::test_ipython_start_kernel_userns PASSED [ 95%] 368s tests/test_start_kernel.py::test_ipython_start_kernel_no_userns PASSED [ 95%] 368s tests/test_zmq_shell.py::ZMQDisplayPublisherTests::test_display_hook_halts_send PASSED [ 96%] 368s tests/test_zmq_shell.py::ZMQDisplayPublisherTests::test_display_hook_return_calls_send PASSED [ 96%] 368s tests/test_zmq_shell.py::ZMQDisplayPublisherTests::test_display_publisher_creation PASSED [ 97%] 368s tests/test_zmq_shell.py::ZMQDisplayPublisherTests::test_publish PASSED [ 97%] 368s tests/test_zmq_shell.py::ZMQDisplayPublisherTests::test_thread_local_hooks PASSED [ 98%] 368s tests/test_zmq_shell.py::ZMQDisplayPublisherTests::test_unregister_hook PASSED [ 98%] 369s tests/test_zmq_shell.py::test_magics PASSED [ 99%] 370s tests/test_zmq_shell.py::test_zmq_interactive_shell PASSED [100%] 370s 370s =================================== FAILURES =================================== 370s ____________________________ test_subprocess_print _____________________________ 370s 370s @flaky(max_runs=3) 370s @pytest.mark.skipif( 370s sys.platform == "win32" or (sys.platform == "darwin" and sys.version_info >= (3, 8)), 370s reason="subprocess prints fail on Windows and MacOS Python 3.8+", 370s ) 370s def test_subprocess_print(): 370s  """printing from forked mp.Process""" 370s with new_kernel() as kc: 370s _check_master(kc, expected=True) 370s flush_channels(kc) 370s np = 5 370s code = "\n".join( 370s [ 370s "import time", 370s "import multiprocessing as mp", 370s "pool = [mp.Process(target=print, args=('hello', i,)) for i in range(%i)]" % np, 370s "for p in pool: p.start()", 370s "for p in pool: p.join()", 370s "time.sleep(0.5),", 370s ] 370s ) 370s  370s msg_id, content = execute(kc=kc, code=code) 370s stdout, stderr = assemble_output(kc.get_iopub_msg) 370s > assert stdout.count("hello") == np, stdout 370s E AssertionError:  370s E assert 0 == 5 370s E + where 0 = ('hello') 370s E + where = ''.count 370s 370s 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)," 370s content = {'execution_count': 3, 'payload': [], 'status': 'ok', 'user_expressions': {}} 370s kc = 370s msg_id = '58a909cf-29b6a79cb58a2b2bcfbcf292_2852_4' 370s np = 5 370s stderr = '' 370s stdout = '' 370s 370s tests/test_kernel.py:236: AssertionError 370s ----------------------------- Captured stdout call ----------------------------- 370s Ignoring reply not to 323b4896-909f439b60f0126ac3f77de4_2852_3: {'header': {'msg_id': '540c90a9-df0da3a236fc342ea3d8a5cc_3490_8', 'msg_type': 'kernel_info_reply', 'username': 'ubuntu', 'session': '540c90a9-df0da3a236fc342ea3d8a5cc', 'date': '2026-01-23T08:11:23.917030Z', 'version': '5.4'}, 'msg_id': '540c90a9-df0da3a236fc342ea3d8a5cc_3490_8', 'msg_type': 'kernel_info_reply', 'parent_header': {'msg_id': '323b4896-909f439b60f0126ac3f77de4_2852_2', 'msg_type': 'kernel_info_request', 'username': 'ubuntu', 'session': '323b4896-909f439b60f0126ac3f77de4', 'date': '2026-01-23T08:11:23.915786Z', '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': []} 370s hello 0 370s hello 1 370s hello 2 370s hello 3 370s hello 4 370s ----------------------------- Captured stdout call ----------------------------- 370s Ignoring reply not to e02ccc7b-c877881ccf0696ee92a778d5_2852_2: {'header': {'msg_id': 'd975382e-ef28c89da50c6b16606b49ef_3513_5', 'msg_type': 'kernel_info_reply', 'username': 'ubuntu', 'session': 'd975382e-ef28c89da50c6b16606b49ef', 'date': '2026-01-23T08:11:26.738170Z', 'version': '5.4'}, 'msg_id': 'd975382e-ef28c89da50c6b16606b49ef_3513_5', 'msg_type': 'kernel_info_reply', 'parent_header': {'msg_id': 'e02ccc7b-c877881ccf0696ee92a778d5_2852_1', 'msg_type': 'kernel_info_request', 'username': 'ubuntu', 'session': 'e02ccc7b-c877881ccf0696ee92a778d5', 'date': '2026-01-23T08:11:26.625391Z', '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': []} 370s hello 0 370s hello 1 370s hello 2 370s hello 3 370s hello 4 370s ----------------------------- Captured stdout call ----------------------------- 370s Ignoring reply not to 58a909cf-29b6a79cb58a2b2bcfbcf292_2852_2: {'header': {'msg_id': '60a5ed55-ccf29919a64a6307e13f17bc_3536_5', 'msg_type': 'kernel_info_reply', 'username': 'ubuntu', 'session': '60a5ed55-ccf29919a64a6307e13f17bc', 'date': '2026-01-23T08:11:29.696312Z', 'version': '5.4'}, 'msg_id': '60a5ed55-ccf29919a64a6307e13f17bc_3536_5', 'msg_type': 'kernel_info_reply', 'parent_header': {'msg_id': '58a909cf-29b6a79cb58a2b2bcfbcf292_2852_1', 'msg_type': 'kernel_info_request', 'username': 'ubuntu', 'session': '58a909cf-29b6a79cb58a2b2bcfbcf292', 'date': '2026-01-23T08:11:29.073738Z', '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': []} 370s hello 0 370s hello 1 370s hello 2 370s hello 3 370s hello 4 370s ____________________________ test_subprocess_error _____________________________ 370s 370s @flaky(max_runs=3) 370s @pytest.mark.skipif( 370s sys.platform == "win32" or (sys.platform == "darwin" and sys.version_info >= (3, 8)), 370s reason="subprocess prints fail on Windows and MacOS Python 3.8+", 370s ) 370s def test_subprocess_error(): 370s  """error in mp.Process doesn't crash""" 370s with new_kernel() as kc: 370s code = "\n".join( 370s [ 370s "import multiprocessing as mp", 370s "p = mp.Process(target=int, args=('hi',))", 370s "p.start()", 370s "p.join()", 370s ] 370s ) 370s  370s msg_id, content = execute(kc=kc, code=code) 370s stdout, stderr = assemble_output(kc.get_iopub_msg) 370s assert stdout == "" 370s > assert "ValueError" in stderr 370s E AssertionError: assert 'ValueError' in '' 370s 370s code = "import multiprocessing as mp\np = mp.Process(target=int, args=('hi',))\np.start()\np.join()" 370s content = {'execution_count': 1, 'payload': [], 'status': 'ok', 'user_expressions': {}} 370s kc = 370s msg_id = 'edd6914e-9810f20fa61f5432723c74c7_2852_4' 370s stderr = '' 370s stdout = '' 370s 370s tests/test_kernel.py:287: AssertionError 370s ----------------------------- Captured stdout call ----------------------------- 370s Ignoring reply not to 17b76889-054ac7f27069157f572cb31e_2852_3: {'header': {'msg_id': '0025196a-4d7437706a523b0e1ff08645_3566_5', 'msg_type': 'kernel_info_reply', 'username': 'ubuntu', 'session': '0025196a-4d7437706a523b0e1ff08645', 'date': '2026-01-23T08:11:33.702462Z', 'version': '5.4'}, 'msg_id': '0025196a-4d7437706a523b0e1ff08645_3566_5', 'msg_type': 'kernel_info_reply', 'parent_header': {'msg_id': '17b76889-054ac7f27069157f572cb31e_2852_1', 'msg_type': 'kernel_info_request', 'username': 'ubuntu', 'session': '17b76889-054ac7f27069157f572cb31e', 'date': '2026-01-23T08:11:32.699059Z', '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': []} 370s Ignoring reply not to 17b76889-054ac7f27069157f572cb31e_2852_3: {'header': {'msg_id': '0025196a-4d7437706a523b0e1ff08645_3566_8', 'msg_type': 'kernel_info_reply', 'username': 'ubuntu', 'session': '0025196a-4d7437706a523b0e1ff08645', 'date': '2026-01-23T08:11:33.703333Z', 'version': '5.4'}, 'msg_id': '0025196a-4d7437706a523b0e1ff08645_3566_8', 'msg_type': 'kernel_info_reply', 'parent_header': {'msg_id': '17b76889-054ac7f27069157f572cb31e_2852_2', 'msg_type': 'kernel_info_request', 'username': 'ubuntu', 'session': '17b76889-054ac7f27069157f572cb31e', 'date': '2026-01-23T08:11:33.700654Z', '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': []} 370s Process Process-1: 370s Traceback (most recent call last): 370s File "/usr/lib/python3.14/multiprocessing/process.py", line 320, in _bootstrap 370s self.run() 370s ~~~~~~~~^^ 370s File "/usr/lib/python3.14/multiprocessing/process.py", line 108, in run 370s self._target(*self._args, **self._kwargs) 370s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 370s ValueError: invalid literal for int() with base 10: 'hi' 370s ----------------------------- Captured stdout call ----------------------------- 370s Ignoring reply not to 7383a309-17d36167499e9de50757d0cf_2852_2: {'header': {'msg_id': '264f25ea-36bef8924ce97bab67be4da2_3585_5', 'msg_type': 'kernel_info_reply', 'username': 'ubuntu', 'session': '264f25ea-36bef8924ce97bab67be4da2', 'date': '2026-01-23T08:11:35.395528Z', 'version': '5.4'}, 'msg_id': '264f25ea-36bef8924ce97bab67be4da2_3585_5', 'msg_type': 'kernel_info_reply', 'parent_header': {'msg_id': '7383a309-17d36167499e9de50757d0cf_2852_1', 'msg_type': 'kernel_info_request', 'username': 'ubuntu', 'session': '7383a309-17d36167499e9de50757d0cf', 'date': '2026-01-23T08:11:35.111843Z', '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': []} 370s Process Process-1: 370s Traceback (most recent call last): 370s File "/usr/lib/python3.14/multiprocessing/process.py", line 320, in _bootstrap 370s self.run() 370s ~~~~~~~~^^ 370s File "/usr/lib/python3.14/multiprocessing/process.py", line 108, in run 370s self._target(*self._args, **self._kwargs) 370s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 370s ValueError: invalid literal for int() with base 10: 'hi' 370s ----------------------------- Captured stdout call ----------------------------- 370s Ignoring reply not to edd6914e-9810f20fa61f5432723c74c7_2852_4: {'header': {'msg_id': 'd1f5be98-ac6e44823d791662b3bd5bf0_3604_8', 'msg_type': 'kernel_info_reply', 'username': 'ubuntu', 'session': 'd1f5be98-ac6e44823d791662b3bd5bf0', 'date': '2026-01-23T08:11:39.330910Z', 'version': '5.4'}, 'msg_id': 'd1f5be98-ac6e44823d791662b3bd5bf0_3604_8', 'msg_type': 'kernel_info_reply', 'parent_header': {'msg_id': 'edd6914e-9810f20fa61f5432723c74c7_2852_2', 'msg_type': 'kernel_info_request', 'username': 'ubuntu', 'session': 'edd6914e-9810f20fa61f5432723c74c7', 'date': '2026-01-23T08:11:38.329661Z', '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': []} 370s Ignoring reply not to edd6914e-9810f20fa61f5432723c74c7_2852_4: {'header': {'msg_id': 'd1f5be98-ac6e44823d791662b3bd5bf0_3604_11', 'msg_type': 'kernel_info_reply', 'username': 'ubuntu', 'session': 'd1f5be98-ac6e44823d791662b3bd5bf0', 'date': '2026-01-23T08:11:39.528849Z', 'version': '5.4'}, 'msg_id': 'd1f5be98-ac6e44823d791662b3bd5bf0_3604_11', 'msg_type': 'kernel_info_reply', 'parent_header': {'msg_id': 'edd6914e-9810f20fa61f5432723c74c7_2852_3', 'msg_type': 'kernel_info_request', 'username': 'ubuntu', 'session': 'edd6914e-9810f20fa61f5432723c74c7', 'date': '2026-01-23T08:11:39.527180Z', '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': []} 370s Process Process-1: 370s Traceback (most recent call last): 370s File "/usr/lib/python3.14/multiprocessing/process.py", line 320, in _bootstrap 370s self.run() 370s ~~~~~~~~^^ 370s File "/usr/lib/python3.14/multiprocessing/process.py", line 108, in run 370s self._target(*self._args, **self._kwargs) 370s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 370s ValueError: invalid literal for int() with base 10: 'hi' 370s _____________________ test_interrupt_during_pdb_set_trace ______________________ 370s 370s @pytest.mark.skipif( 370s "__pypy__" in sys.builtin_module_names, 370s reason="fails on pypy", 370s ) 370s def test_interrupt_during_pdb_set_trace(): 370s  """ 370s  The kernel exits after being interrupted while waiting in pdb.set_trace(). 370s  370s  Merely testing input() isn't enough, pdb has its own issues that need 370s  to be handled in addition. 370s  370s  This test will fail with versions of IPython < 7.14.0. 370s  """ 370s with new_kernel() as kc: 370s km = kc.parent 370s msg_id = kc.execute("import pdb; pdb.set_trace()") 370s msg_id2 = kc.execute("3 + 4") 370s time.sleep(1) # Make sure it's actually waiting for input. 370s km.interrupt_kernel() 370s from .test_message_spec import validate_message 370s  370s # If we failed to interrupt interrupt, this will timeout: 370s reply = get_reply(kc, msg_id, TIMEOUT) 370s validate_message(reply, "execute_reply", msg_id) 370s # If we failed to interrupt interrupt, this will timeout: 370s reply = get_reply(kc, msg_id2, TIMEOUT) 370s > validate_message(reply, "execute_reply", msg_id2) 370s 370s kc = 370s km = 370s msg_id = 'b26ac96a-259668cd26928f137c4545ed_2852_2' 370s msg_id2 = 'b26ac96a-259668cd26928f137c4545ed_2852_3' 370s reply = {'buffers': [], 'content': {'status': 'aborted'}, 'header': {'date': '2026-01-23T08:11:57.079644Z', 'msg_id': '65fb8dc... 'engine': '15cfb977-5da6-40c5-9575-f5c721b4a42b', 'started': '2026-01-23T08:11:57.079635Z', 'status': 'aborted'}, ...} 370s validate_message = 370s 370s tests/test_kernel.py:553: 370s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 370s tests/test_message_spec.py:280: in validate_message 370s ref.check(content) 370s content = {'status': 'aborted'} 370s msg = {'buffers': [], 'content': {'status': 'aborted'}, 'header': {'date': '2026-01-23T08:11:57.079644Z', 'msg_id': '65fb8dc... 'engine': '15cfb977-5da6-40c5-9575-f5c721b4a42b', 'started': '2026-01-23T08:11:57.079635Z', 'status': 'aborted'}, ...} 370s msg_type = 'execute_reply' 370s parent = 'b26ac96a-259668cd26928f137c4545ed_2852_3' 370s ref = 370s tests/test_message_spec.py:121: in check 370s Reference.check(self, d) 370s d = {'status': 'aborted'} 370s self = 370s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 370s 370s self = 370s d = {'status': 'aborted'} 370s 370s def check(self, d): 370s  """validate a dict against our traits""" 370s for key in self.trait_names(): 370s > assert key in d 370s E AssertionError: assert 'execution_count' in {'status': 'aborted'} 370s 370s d = {'status': 'aborted'} 370s key = 'execution_count' 370s self = 370s 370s tests/test_message_spec.py:50: AssertionError 370s ----------------------------- Captured stdout call ----------------------------- 370s Ignoring reply not to b26ac96a-259668cd26928f137c4545ed_2852_2: {'header': {'msg_id': '65fb8dcc-841a438b1112c6cd3d89586a_3672_5', 'msg_type': 'kernel_info_reply', 'username': 'ubuntu', 'session': '65fb8dcc-841a438b1112c6cd3d89586a', 'date': '2026-01-23T08:11:54.873419Z', 'version': '5.4'}, 'msg_id': '65fb8dcc-841a438b1112c6cd3d89586a_3672_5', 'msg_type': 'kernel_info_reply', 'parent_header': {'msg_id': 'b26ac96a-259668cd26928f137c4545ed_2852_1', 'msg_type': 'kernel_info_request', 'username': 'ubuntu', 'session': 'b26ac96a-259668cd26928f137c4545ed', 'date': '2026-01-23T08:11:54.663754Z', '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': []} 370s ===Flaky Test Report=== 370s 370s test_interface passed 1 out of the required 1 times. Success! 370s test_embed_kernel_basic passed 1 out of the required 1 times. Success! 370s test_embed_kernel_namespace passed 1 out of the required 1 times. Success! 370s test_embed_kernel_reentrant passed 1 out of the required 1 times. Success! 370s test_subprocess_print failed (2 runs remaining out of 3). 370s 370s 370s assert 0 == 5 370s + where 0 = ('hello') 370s + where = ''.count 370s [, , , , , , , , , , , , , , , , , , , , , , , , , , , ] 370s test_subprocess_print failed (1 runs remaining out of 3). 370s 370s 370s assert 0 == 5 370s + where 0 = ('hello') 370s + where = ''.count 370s [, , , , , , , , , , , , , , , , , , , , , , , , , , , ] 370s test_subprocess_print failed; it passed 0 out of the required 1 times. 370s 370s 370s assert 0 == 5 370s + where 0 = ('hello') 370s + where = ''.count 370s [, , , , , , , , , , , , , , , , , , , , , , , , , , , ] 370s test_subprocess_noprint passed 1 out of the required 1 times. Success! 370s test_subprocess_error failed (2 runs remaining out of 3). 370s 370s assert 'ValueError' in '' 370s [, , , , , , , , , , , , , , , , , , , , , , , , , , , ] 370s test_subprocess_error failed (1 runs remaining out of 3). 370s 370s assert 'ValueError' in '' 370s [, , , , , , , , , , , , , , , , , , , , , , , , , , , ] 370s test_subprocess_error failed; it passed 0 out of the required 1 times. 370s 370s assert 'ValueError' in '' 370s [, , , , , , , , , , , , , , , , , , , , , , , , , , , ] 370s test_ipython_start_kernel_userns passed 1 out of the required 1 times. Success! 370s test_ipython_start_kernel_no_userns passed 1 out of the required 1 times. Success! 371s 371s ===End Flaky Test Report=== 371s ============================= slowest 10 durations ============================= 371s 6.68s call tests/test_async.py::test_async_interrupt[asyncio] 371s 5.20s call tests/test_kernel.py::test_control_thread_priority 371s 4.71s setup tests/test_debugger.py::test_attach_debug 371s 4.34s call tests/test_kernel.py::test_sequential_control_messages 371s 3.96s call tests/test_kernel.py::test_interrupt_with_message 371s 3.94s setup tests/test_debugger.py::test_debug_requests_sequential 371s 3.93s setup tests/test_debugger.py::test_rich_inspect_at_breakpoint 371s 3.80s call tests/test_kernel.py::test_interrupt_during_input 371s 3.77s setup tests/test_debugger.py::test_rich_inspect_not_at_breakpoint 371s 3.69s call tests/test_embed_kernel.py::test_embed_kernel_reentrant 371s =========================== short test summary info ============================ 371s SKIPPED [1] tests/inprocess/test_kernel.py:58: This test requires matplotlib 371s SKIPPED [1] tests/inprocess/test_kernel.py:92: Currently don't capture during test as pytest does its own capturing 371s SKIPPED [1] tests/test_eventloop.py:122: MacOS-only 371s SKIPPED [1] tests/test_eventloop.py:127: got empty parameter set for (gui) 371s SKIPPED [1] tests/test_jsonutil.py:36: json_clean is a no-op 371s SKIPPED [1] tests/test_jsonutil.py:72: json_clean is a no-op 371s SKIPPED [1] tests/test_jsonutil.py:99: json_clean is a no-op 371s SKIPPED [1] tests/test_jsonutil.py:105: json_clean is a no-op 371s SKIPPED [1] tests/test_jsonutil.py:116: json_clean is a no-op 371s SKIPPED [1] tests/test_kernel.py:161: Currently don't capture during test as pytest does its own capturing 371s SKIPPED [1] tests/test_kernel.py:173: Currently don't capture during test as pytest does its own capturing 371s SKIPPED [1] tests/test_kernel.py:384: only run on Windows 371s SKIPPED [1] tests/test_kernel.py:412: this test requires matplotlib 371s SKIPPED [1] tests/test_kernel.py:443: test only on windows 371s SKIPPED [1] tests/test_kernel.py:673: Stalls on linux 371s SKIPPED [1] tests/test_kernelspec.py:179: checks versions older than 3.11 and other Python implementations 371s SKIPPED [1] tests/test_parentpoller.py:30: only works on windows 371s FAILED tests/test_kernel.py::test_subprocess_print - AssertionError: 371s FAILED tests/test_kernel.py::test_subprocess_error - AssertionError: assert 'ValueError' in '' 371s FAILED tests/test_kernel.py::test_interrupt_during_pdb_set_trace - AssertionError: assert 'execution_count' in {'status': 'aborted'} 371s ===== 3 failed, 166 passed, 17 skipped, 1 deselected in 161.15s (0:02:41) ====== 384s autopkgtest [08:11:25]: test pytest: -----------------------] 385s autopkgtest [08:11:26]: test pytest: - - - - - - - - - - results - - - - - - - - - - 385s pytest FAIL non-zero exit status 1 386s autopkgtest [08:11:27]: @@@@@@@@@@@@@@@@@@@@ summary 386s pytest FAIL non-zero exit status 1