1s autopkgtest [20:37:21]: starting date and time: 2024-11-23 20:37:21+0000 1s autopkgtest [20:37:22]: git checkout: 0acbae0a WIP show VirtSubproc stderr in real-time 1s autopkgtest [20:37:22]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.nvxlazzk/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.12.7-1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor builder-cpu2-ram4-disk20 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-24.secgroup --name adt-plucky-amd64-ipykernel-20241123-203721-juju-7f2275-prod-proposed-migration-environment-2-f4faa0ee-9b02-45f9-b844-80873636a355 --image adt/ubuntu-plucky-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration-amd64 -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 68s autopkgtest [20:38:29]: testbed dpkg architecture: amd64 68s autopkgtest [20:38:29]: testbed apt version: 2.9.8 68s autopkgtest [20:38:29]: @@@@@@@@@@@@@@@@@@@@ test bed setup 69s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 70s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [930 kB] 70s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [54.8 kB] 70s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [13.6 kB] 70s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9704 B] 70s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [43.4 kB] 70s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [91.3 kB] 70s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [40.1 kB] 70s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/restricted i386 Packages [2408 B] 70s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [295 kB] 70s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [806 kB] 70s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [5528 B] 70s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [20.0 kB] 71s Fetched 2386 kB in 1s (1751 kB/s) 71s Reading package lists... 73s Reading package lists... 73s Building dependency tree... 73s Reading state information... 73s Calculating upgrade... 73s The following package was automatically installed and is no longer required: 73s libsgutils2-1.46-2 73s Use 'sudo apt autoremove' to remove it. 73s The following NEW packages will be installed: 73s libsgutils2-1.48 73s The following packages will be upgraded: 73s amd64-microcode bash bpftrace curl debconf debconf-i18n distro-info 73s fwupd-signed gir1.2-girepository-2.0 gir1.2-glib-2.0 hostname 73s intel-microcode libaudit-common libaudit1 libcurl3t64-gnutls libcurl4t64 73s libgirepository-1.0-1 libglib2.0-0t64 libglib2.0-data libpam-modules 73s libpam-modules-bin libpam-runtime libpam0g libplymouth5 libpython3-stdlib 73s libselinux1 libsemanage-common libsemanage2 linux-base lxd-installer 73s openssh-client openssh-server openssh-sftp-server plymouth 73s plymouth-theme-ubuntu-text python3 python3-blinker python3-dbus 73s python3-debconf python3-gi python3-jsonschema-specifications python3-minimal 73s python3-rpds-py python3-yaml sg3-utils sg3-utils-udev vim-common vim-tiny 73s xxd 74s 49 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 74s Need to get 19.9 MB of archives. 74s After this operation, 4441 kB of additional disk space will be used. 74s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 bash amd64 5.2.32-1ubuntu2 [918 kB] 74s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 hostname amd64 3.25 [11.1 kB] 74s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 libaudit-common all 1:4.0.2-2ubuntu1 [6578 B] 74s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 libaudit1 amd64 1:4.0.2-2ubuntu1 [53.9 kB] 74s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 debconf-i18n all 1.5.87ubuntu1 [204 kB] 74s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3-minimal amd64 3.12.7-1 [27.4 kB] 74s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3 amd64 3.12.7-1 [24.0 kB] 74s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libpython3-stdlib amd64 3.12.7-1 [10.0 kB] 74s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-debconf all 1.5.87ubuntu1 [4156 B] 74s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 debconf all 1.5.87ubuntu1 [124 kB] 74s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 libpam0g amd64 1.5.3-7ubuntu4 [69.6 kB] 74s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 libselinux1 amd64 3.7-3ubuntu1 [86.9 kB] 74s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 libpam-modules-bin amd64 1.5.3-7ubuntu4 [53.7 kB] 74s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 libpam-modules amd64 1.5.3-7ubuntu4 [294 kB] 74s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 openssh-sftp-server amd64 1:9.9p1-3ubuntu2 [41.2 kB] 74s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 openssh-server amd64 1:9.9p1-3ubuntu2 [625 kB] 75s Get:17 http://ftpmaster.internal/ubuntu plucky/main amd64 openssh-client amd64 1:9.9p1-3ubuntu2 [1080 kB] 75s Get:18 http://ftpmaster.internal/ubuntu plucky/main amd64 libpam-runtime all 1.5.3-7ubuntu4 [40.8 kB] 75s Get:19 http://ftpmaster.internal/ubuntu plucky/main amd64 libsemanage-common all 3.7-2build1 [7186 B] 75s Get:20 http://ftpmaster.internal/ubuntu plucky/main amd64 libsemanage2 amd64 3.7-2build1 [105 kB] 75s Get:21 http://ftpmaster.internal/ubuntu plucky/main amd64 distro-info amd64 1.12 [20.0 kB] 75s Get:22 http://ftpmaster.internal/ubuntu plucky/main amd64 gir1.2-girepository-2.0 amd64 1.82.0-2 [25.3 kB] 75s Get:23 http://ftpmaster.internal/ubuntu plucky/main amd64 gir1.2-glib-2.0 amd64 2.82.2-3 [182 kB] 75s Get:24 http://ftpmaster.internal/ubuntu plucky/main amd64 libglib2.0-0t64 amd64 2.82.2-3 [1655 kB] 75s Get:25 http://ftpmaster.internal/ubuntu plucky/main amd64 libgirepository-1.0-1 amd64 1.82.0-2 [88.7 kB] 75s Get:26 http://ftpmaster.internal/ubuntu plucky/main amd64 libglib2.0-data all 2.82.2-3 [51.7 kB] 75s Get:27 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-dbus amd64 1.3.2-5build4 [110 kB] 75s Get:28 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-gi amd64 3.50.0-3build1 [293 kB] 75s Get:29 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-yaml amd64 6.0.2-1build1 [187 kB] 75s Get:30 http://ftpmaster.internal/ubuntu plucky/main amd64 vim-tiny amd64 2:9.1.0861-1ubuntu1 [1037 kB] 76s Get:31 http://ftpmaster.internal/ubuntu plucky/main amd64 vim-common all 2:9.1.0861-1ubuntu1 [395 kB] 76s Get:32 http://ftpmaster.internal/ubuntu plucky/main amd64 xxd amd64 2:9.1.0861-1ubuntu1 [67.8 kB] 76s Get:33 http://ftpmaster.internal/ubuntu plucky/main amd64 libplymouth5 amd64 24.004.60-2ubuntu3 [145 kB] 76s Get:34 http://ftpmaster.internal/ubuntu plucky/main amd64 plymouth-theme-ubuntu-text amd64 24.004.60-2ubuntu3 [10.3 kB] 76s Get:35 http://ftpmaster.internal/ubuntu plucky/main amd64 plymouth amd64 24.004.60-2ubuntu3 [140 kB] 76s Get:36 http://ftpmaster.internal/ubuntu plucky/main amd64 bpftrace amd64 0.21.2-2ubuntu3 [1787 kB] 76s Get:37 http://ftpmaster.internal/ubuntu plucky/main amd64 curl amd64 8.9.1-2ubuntu3 [243 kB] 76s Get:38 http://ftpmaster.internal/ubuntu plucky/main amd64 libcurl4t64 amd64 8.9.1-2ubuntu3 [420 kB] 76s Get:39 http://ftpmaster.internal/ubuntu plucky/main amd64 fwupd-signed amd64 1.55+1.7-1 [30.6 kB] 76s Get:40 http://ftpmaster.internal/ubuntu plucky/main amd64 libcurl3t64-gnutls amd64 8.9.1-2ubuntu3 [412 kB] 76s Get:41 http://ftpmaster.internal/ubuntu plucky/main amd64 libsgutils2-1.48 amd64 1.48-0ubuntu1 [124 kB] 76s Get:42 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-base all 4.10.1ubuntu1 [34.8 kB] 76s Get:43 http://ftpmaster.internal/ubuntu plucky/main amd64 lxd-installer all 10 [5264 B] 76s Get:44 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-blinker all 1.9.0-1 [10.7 kB] 76s Get:45 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-rpds-py amd64 0.21.0-2ubuntu1 [323 kB] 76s Get:46 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-jsonschema-specifications all 2023.12.1-2 [9116 B] 76s Get:47 http://ftpmaster.internal/ubuntu plucky/main amd64 sg3-utils amd64 1.48-0ubuntu1 [1042 kB] 76s Get:48 http://ftpmaster.internal/ubuntu plucky/main amd64 sg3-utils-udev all 1.48-0ubuntu1 [6608 B] 76s Get:49 http://ftpmaster.internal/ubuntu plucky/main amd64 amd64-microcode amd64 3.20240820.1ubuntu1 [187 kB] 76s Get:50 http://ftpmaster.internal/ubuntu plucky/main amd64 intel-microcode amd64 3.20241112.1ubuntu2 [7055 kB] 77s Preconfiguring packages ... 77s Fetched 19.9 MB in 3s (6117 kB/s) 77s (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 ... 75620 files and directories currently installed.) 77s Preparing to unpack .../bash_5.2.32-1ubuntu2_amd64.deb ... 77s Unpacking bash (5.2.32-1ubuntu2) over (5.2.32-1ubuntu1) ... 77s Setting up bash (5.2.32-1ubuntu2) ... 77s update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode 77s (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 ... 75620 files and directories currently installed.) 77s Preparing to unpack .../hostname_3.25_amd64.deb ... 77s Unpacking hostname (3.25) over (3.23+nmu2ubuntu2) ... 77s Setting up hostname (3.25) ... 77s (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 ... 75620 files and directories currently installed.) 77s Preparing to unpack .../libaudit-common_1%3a4.0.2-2ubuntu1_all.deb ... 77s Unpacking libaudit-common (1:4.0.2-2ubuntu1) over (1:4.0.1-1ubuntu2) ... 77s Setting up libaudit-common (1:4.0.2-2ubuntu1) ... 77s (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 ... 75620 files and directories currently installed.) 77s Preparing to unpack .../libaudit1_1%3a4.0.2-2ubuntu1_amd64.deb ... 77s Unpacking libaudit1:amd64 (1:4.0.2-2ubuntu1) over (1:4.0.1-1ubuntu2) ... 77s Setting up libaudit1:amd64 (1:4.0.2-2ubuntu1) ... 78s (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 ... 75620 files and directories currently installed.) 78s Preparing to unpack .../debconf-i18n_1.5.87ubuntu1_all.deb ... 78s Unpacking debconf-i18n (1.5.87ubuntu1) over (1.5.86ubuntu1) ... 78s Preparing to unpack .../python3-minimal_3.12.7-1_amd64.deb ... 78s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 78s Setting up python3-minimal (3.12.7-1) ... 78s (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 ... 75620 files and directories currently installed.) 78s Preparing to unpack .../python3_3.12.7-1_amd64.deb ... 78s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 78s Preparing to unpack .../libpython3-stdlib_3.12.7-1_amd64.deb ... 78s Unpacking libpython3-stdlib:amd64 (3.12.7-1) over (3.12.6-0ubuntu1) ... 78s Preparing to unpack .../python3-debconf_1.5.87ubuntu1_all.deb ... 78s Unpacking python3-debconf (1.5.87ubuntu1) over (1.5.86ubuntu1) ... 78s Preparing to unpack .../debconf_1.5.87ubuntu1_all.deb ... 78s Unpacking debconf (1.5.87ubuntu1) over (1.5.86ubuntu1) ... 78s Setting up debconf (1.5.87ubuntu1) ... 78s (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 ... 75620 files and directories currently installed.) 78s Preparing to unpack .../libpam0g_1.5.3-7ubuntu4_amd64.deb ... 78s Unpacking libpam0g:amd64 (1.5.3-7ubuntu4) over (1.5.3-7ubuntu2) ... 78s Setting up libpam0g:amd64 (1.5.3-7ubuntu4) ... 78s (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 ... 75620 files and directories currently installed.) 78s Preparing to unpack .../libselinux1_3.7-3ubuntu1_amd64.deb ... 78s Unpacking libselinux1:amd64 (3.7-3ubuntu1) over (3.5-2ubuntu5) ... 78s Setting up libselinux1:amd64 (3.7-3ubuntu1) ... 78s (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 ... 75620 files and directories currently installed.) 78s Preparing to unpack .../libpam-modules-bin_1.5.3-7ubuntu4_amd64.deb ... 78s Unpacking libpam-modules-bin (1.5.3-7ubuntu4) over (1.5.3-7ubuntu2) ... 78s Setting up libpam-modules-bin (1.5.3-7ubuntu4) ... 79s pam_namespace.service is a disabled or a static unit not running, not starting it. 79s (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 ... 75620 files and directories currently installed.) 79s Preparing to unpack .../libpam-modules_1.5.3-7ubuntu4_amd64.deb ... 79s Unpacking libpam-modules:amd64 (1.5.3-7ubuntu4) over (1.5.3-7ubuntu2) ... 79s Setting up libpam-modules:amd64 (1.5.3-7ubuntu4) ... 79s (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 ... 75620 files and directories currently installed.) 79s Preparing to unpack .../openssh-sftp-server_1%3a9.9p1-3ubuntu2_amd64.deb ... 79s Unpacking openssh-sftp-server (1:9.9p1-3ubuntu2) over (1:9.7p1-7ubuntu5) ... 79s Preparing to unpack .../openssh-server_1%3a9.9p1-3ubuntu2_amd64.deb ... 79s Unpacking openssh-server (1:9.9p1-3ubuntu2) over (1:9.7p1-7ubuntu5) ... 79s Preparing to unpack .../openssh-client_1%3a9.9p1-3ubuntu2_amd64.deb ... 79s Unpacking openssh-client (1:9.9p1-3ubuntu2) over (1:9.7p1-7ubuntu5) ... 79s Preparing to unpack .../libpam-runtime_1.5.3-7ubuntu4_all.deb ... 79s Unpacking libpam-runtime (1.5.3-7ubuntu4) over (1.5.3-7ubuntu2) ... 79s Setting up libpam-runtime (1.5.3-7ubuntu4) ... 79s (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 ... 75622 files and directories currently installed.) 79s Preparing to unpack .../libsemanage-common_3.7-2build1_all.deb ... 79s Unpacking libsemanage-common (3.7-2build1) over (3.5-1build6) ... 79s Setting up libsemanage-common (3.7-2build1) ... 79s (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 ... 75621 files and directories currently installed.) 79s Preparing to unpack .../libsemanage2_3.7-2build1_amd64.deb ... 79s Unpacking libsemanage2:amd64 (3.7-2build1) over (3.5-1build6) ... 79s Setting up libsemanage2:amd64 (3.7-2build1) ... 80s (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 ... 75621 files and directories currently installed.) 80s Preparing to unpack .../00-distro-info_1.12_amd64.deb ... 80s Unpacking distro-info (1.12) over (1.9) ... 80s Preparing to unpack .../01-gir1.2-girepository-2.0_1.82.0-2_amd64.deb ... 80s Unpacking gir1.2-girepository-2.0:amd64 (1.82.0-2) over (1.80.1-4) ... 80s Preparing to unpack .../02-gir1.2-glib-2.0_2.82.2-3_amd64.deb ... 80s Unpacking gir1.2-glib-2.0:amd64 (2.82.2-3) over (2.82.1-0ubuntu1) ... 80s Preparing to unpack .../03-libglib2.0-0t64_2.82.2-3_amd64.deb ... 80s Unpacking libglib2.0-0t64:amd64 (2.82.2-3) over (2.82.1-0ubuntu1) ... 80s Preparing to unpack .../04-libgirepository-1.0-1_1.82.0-2_amd64.deb ... 80s Unpacking libgirepository-1.0-1:amd64 (1.82.0-2) over (1.80.1-4) ... 80s Preparing to unpack .../05-libglib2.0-data_2.82.2-3_all.deb ... 80s Unpacking libglib2.0-data (2.82.2-3) over (2.82.1-0ubuntu1) ... 80s Preparing to unpack .../06-python3-dbus_1.3.2-5build4_amd64.deb ... 80s Unpacking python3-dbus (1.3.2-5build4) over (1.3.2-5build3) ... 80s Preparing to unpack .../07-python3-gi_3.50.0-3build1_amd64.deb ... 80s Unpacking python3-gi (3.50.0-3build1) over (3.50.0-3) ... 80s Preparing to unpack .../08-python3-yaml_6.0.2-1build1_amd64.deb ... 80s Unpacking python3-yaml (6.0.2-1build1) over (6.0.2-1) ... 80s Preparing to unpack .../09-vim-tiny_2%3a9.1.0861-1ubuntu1_amd64.deb ... 80s Unpacking vim-tiny (2:9.1.0861-1ubuntu1) over (2:9.1.0777-1ubuntu1) ... 80s Preparing to unpack .../10-vim-common_2%3a9.1.0861-1ubuntu1_all.deb ... 80s Unpacking vim-common (2:9.1.0861-1ubuntu1) over (2:9.1.0777-1ubuntu1) ... 80s Preparing to unpack .../11-xxd_2%3a9.1.0861-1ubuntu1_amd64.deb ... 80s Unpacking xxd (2:9.1.0861-1ubuntu1) over (2:9.1.0777-1ubuntu1) ... 80s Preparing to unpack .../12-libplymouth5_24.004.60-2ubuntu3_amd64.deb ... 80s Unpacking libplymouth5:amd64 (24.004.60-2ubuntu3) over (24.004.60-1ubuntu11) ... 80s Preparing to unpack .../13-plymouth-theme-ubuntu-text_24.004.60-2ubuntu3_amd64.deb ... 80s Unpacking plymouth-theme-ubuntu-text (24.004.60-2ubuntu3) over (24.004.60-1ubuntu11) ... 80s Preparing to unpack .../14-plymouth_24.004.60-2ubuntu3_amd64.deb ... 80s Unpacking plymouth (24.004.60-2ubuntu3) over (24.004.60-1ubuntu11) ... 80s Preparing to unpack .../15-bpftrace_0.21.2-2ubuntu3_amd64.deb ... 80s Unpacking bpftrace (0.21.2-2ubuntu3) over (0.21.2-2ubuntu2) ... 80s Preparing to unpack .../16-curl_8.9.1-2ubuntu3_amd64.deb ... 80s Unpacking curl (8.9.1-2ubuntu3) over (8.9.1-2ubuntu2) ... 80s Preparing to unpack .../17-libcurl4t64_8.9.1-2ubuntu3_amd64.deb ... 80s Unpacking libcurl4t64:amd64 (8.9.1-2ubuntu3) over (8.9.1-2ubuntu2) ... 80s Preparing to unpack .../18-fwupd-signed_1.55+1.7-1_amd64.deb ... 80s Unpacking fwupd-signed (1.55+1.7-1) over (1.54+1.6-1build1) ... 80s Preparing to unpack .../19-libcurl3t64-gnutls_8.9.1-2ubuntu3_amd64.deb ... 80s Unpacking libcurl3t64-gnutls:amd64 (8.9.1-2ubuntu3) over (8.9.1-2ubuntu2) ... 80s Selecting previously unselected package libsgutils2-1.48:amd64. 80s Preparing to unpack .../20-libsgutils2-1.48_1.48-0ubuntu1_amd64.deb ... 80s Unpacking libsgutils2-1.48:amd64 (1.48-0ubuntu1) ... 80s Preparing to unpack .../21-linux-base_4.10.1ubuntu1_all.deb ... 80s Unpacking linux-base (4.10.1ubuntu1) over (4.5ubuntu9) ... 80s Preparing to unpack .../22-lxd-installer_10_all.deb ... 80s Unpacking lxd-installer (10) over (9) ... 80s Preparing to unpack .../23-python3-blinker_1.9.0-1_all.deb ... 80s Unpacking python3-blinker (1.9.0-1) over (1.8.2-1) ... 80s Preparing to unpack .../24-python3-rpds-py_0.21.0-2ubuntu1_amd64.deb ... 81s Unpacking python3-rpds-py (0.21.0-2ubuntu1) over (0.20.0-0ubuntu3) ... 81s Preparing to unpack .../25-python3-jsonschema-specifications_2023.12.1-2_all.deb ... 81s Unpacking python3-jsonschema-specifications (2023.12.1-2) over (2023.12.1-1ubuntu1) ... 81s Preparing to unpack .../26-sg3-utils_1.48-0ubuntu1_amd64.deb ... 81s Unpacking sg3-utils (1.48-0ubuntu1) over (1.46-3ubuntu5) ... 81s Preparing to unpack .../27-sg3-utils-udev_1.48-0ubuntu1_all.deb ... 81s Unpacking sg3-utils-udev (1.48-0ubuntu1) over (1.46-3ubuntu5) ... 81s Preparing to unpack .../28-amd64-microcode_3.20240820.1ubuntu1_amd64.deb ... 81s Unpacking amd64-microcode (3.20240820.1ubuntu1) over (3.20240116.2+nmu1ubuntu1.1) ... 81s Preparing to unpack .../29-intel-microcode_3.20241112.1ubuntu2_amd64.deb ... 81s Unpacking intel-microcode (3.20241112.1ubuntu2) over (3.20240910.0ubuntu1) ... 81s Setting up distro-info (1.12) ... 81s Setting up linux-base (4.10.1ubuntu1) ... 81s Setting up libcurl4t64:amd64 (8.9.1-2ubuntu3) ... 81s Setting up bpftrace (0.21.2-2ubuntu3) ... 81s Setting up openssh-client (1:9.9p1-3ubuntu2) ... 81s Setting up intel-microcode (3.20241112.1ubuntu2) ... 81s intel-microcode: microcode will be updated at next boot 81s Setting up libcurl3t64-gnutls:amd64 (8.9.1-2ubuntu3) ... 81s Setting up fwupd-signed (1.55+1.7-1) ... 81s Setting up libsgutils2-1.48:amd64 (1.48-0ubuntu1) ... 81s Setting up debconf-i18n (1.5.87ubuntu1) ... 81s Setting up amd64-microcode (3.20240820.1ubuntu1) ... 81s amd64-microcode: microcode will be updated at next boot 81s Setting up xxd (2:9.1.0861-1ubuntu1) ... 81s Setting up libglib2.0-0t64:amd64 (2.82.2-3) ... 81s No schema files found: doing nothing. 81s Setting up libglib2.0-data (2.82.2-3) ... 81s Setting up vim-common (2:9.1.0861-1ubuntu1) ... 81s Setting up gir1.2-glib-2.0:amd64 (2.82.2-3) ... 81s Setting up lxd-installer (10) ... 81s Setting up libplymouth5:amd64 (24.004.60-2ubuntu3) ... 81s Setting up libgirepository-1.0-1:amd64 (1.82.0-2) ... 81s Setting up curl (8.9.1-2ubuntu3) ... 81s Setting up libpython3-stdlib:amd64 (3.12.7-1) ... 81s Setting up sg3-utils (1.48-0ubuntu1) ... 81s Setting up openssh-sftp-server (1:9.9p1-3ubuntu2) ... 81s Setting up openssh-server (1:9.9p1-3ubuntu2) ... 81s Installing new version of config file /etc/ssh/moduli ... 82s Replacing config file /etc/ssh/sshd_config with new version 82s Setting up plymouth (24.004.60-2ubuntu3) ... 82s update-initramfs: Generating /boot/initrd.img-6.11.0-8-generic 82s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 90s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 90s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 90s Setting up python3 (3.12.7-1) ... 90s Setting up vim-tiny (2:9.1.0861-1ubuntu1) ... 90s Setting up sg3-utils-udev (1.48-0ubuntu1) ... 90s update-initramfs: deferring update (trigger activated) 90s Setting up plymouth-theme-ubuntu-text (24.004.60-2ubuntu3) ... 90s update-initramfs: deferring update (trigger activated) 90s Setting up gir1.2-girepository-2.0:amd64 (1.82.0-2) ... 90s Setting up python3-gi (3.50.0-3build1) ... 90s Setting up python3-rpds-py (0.21.0-2ubuntu1) ... 91s Setting up python3-jsonschema-specifications (2023.12.1-2) ... 91s Setting up python3-blinker (1.9.0-1) ... 91s Setting up python3-dbus (1.3.2-5build4) ... 91s Setting up python3-debconf (1.5.87ubuntu1) ... 91s Setting up python3-yaml (6.0.2-1build1) ... 91s Processing triggers for man-db (2.13.0-1) ... 92s Processing triggers for debianutils (5.21) ... 92s Processing triggers for install-info (7.1.1-1) ... 92s Processing triggers for initramfs-tools (0.142ubuntu35) ... 92s update-initramfs: Generating /boot/initrd.img-6.11.0-8-generic 92s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 99s Processing triggers for libc-bin (2.40-1ubuntu3) ... 99s Processing triggers for ufw (0.36.2-8) ... 99s Reading package lists... 99s Building dependency tree... 99s Reading state information... 100s The following packages will be REMOVED: 100s libsgutils2-1.46-2* 100s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 100s After this operation, 294 kB disk space will be freed. 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 ... 75656 files and directories currently installed.) 100s Removing libsgutils2-1.46-2:amd64 (1.46-3ubuntu5) ... 100s Processing triggers for libc-bin (2.40-1ubuntu3) ... 100s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 100s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 101s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 101s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 101s Reading package lists... 101s Reading package lists... 102s Building dependency tree... 102s Reading state information... 102s Calculating upgrade... 102s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 102s Reading package lists... 102s Building dependency tree... 102s Reading state information... 102s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 102s autopkgtest [20:39:03]: rebooting testbed after setup commands that affected boot 106s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 120s autopkgtest [20:39:21]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 13:41:20 UTC 2024 123s autopkgtest [20:39:24]: @@@@@@@@@@@@@@@@@@@@ apt-source ipykernel 124s Get:1 http://ftpmaster.internal/ubuntu plucky/universe ipykernel 6.29.5-1 (dsc) [2800 B] 124s Get:2 http://ftpmaster.internal/ubuntu plucky/universe ipykernel 6.29.5-1 (tar) [165 kB] 124s Get:3 http://ftpmaster.internal/ubuntu plucky/universe ipykernel 6.29.5-1 (diff) [7008 B] 125s gpgv: Signature made Mon Jul 8 10:08:54 2024 UTC 125s gpgv: using RSA key AC0A4FF12611B6FCCF01C111393587D97D86500B 125s gpgv: Can't check signature: No public key 125s dpkg-source: warning: cannot verify inline signature for ./ipykernel_6.29.5-1.dsc: no acceptable signature found 125s autopkgtest [20:39:26]: testing package ipykernel version 6.29.5-1 125s autopkgtest [20:39:26]: build not needed 125s autopkgtest [20:39:26]: test pytest: preparing testbed 126s Reading package lists... 127s Building dependency tree... 127s Reading state information... 127s Starting pkgProblemResolver with broken count: 0 127s Starting 2 pkgProblemResolver with broken count: 0 127s Done 127s The following additional packages will be installed: 127s gdb libbabeltrace1 libdebuginfod-common libdebuginfod1t64 libipt2 127s libnorm1t64 libpgm-5.3-0t64 libpython3.13-minimal libpython3.13-stdlib 127s libsodium23 libsource-highlight-common libsource-highlight4t64 libzmq5 127s python3-all python3-asttokens python3-async-generator python3-comm 127s python3-coverage python3-dateutil python3-debugpy python3-decorator 127s python3-entrypoints python3-executing python3-flaky python3-iniconfig 127s python3-ipykernel python3-ipyparallel python3-ipython python3-jedi 127s python3-jupyter-client python3-jupyter-core python3-matplotlib-inline 127s python3-nest-asyncio python3-outcome python3-packaging python3-parso 127s python3-pexpect python3-platformdirs python3-pluggy python3-prompt-toolkit 127s python3-psutil python3-ptyprocess python3-pure-eval python3-py 127s python3-pytest python3-pytest-asyncio python3-pytest-timeout python3-sniffio 127s python3-sortedcontainers python3-stack-data python3-tornado python3-tqdm 127s python3-traitlets python3-trio python3-typeshed python3-wcwidth python3-zmq 127s python3.13 python3.13-minimal 127s Suggested packages: 127s gdb-doc gdbserver python-coverage-doc python-ipyparallel-doc 127s python-ipython-doc python-jupyter-client-doc python3-pip python-pexpect-doc 127s subversion python-sortedcontainers-doc python3-pycurl python-tornado-doc 127s python3-twisted python-traitlets-doc python3.13-venv python3.13-doc 127s binfmt-support 127s Recommended packages: 127s libc-dbg python3-matplotlib 127s The following NEW packages will be installed: 127s autopkgtest-satdep gdb libbabeltrace1 libdebuginfod-common libdebuginfod1t64 127s libipt2 libnorm1t64 libpgm-5.3-0t64 libpython3.13-minimal 127s libpython3.13-stdlib libsodium23 libsource-highlight-common 127s libsource-highlight4t64 libzmq5 python3-all python3-asttokens 127s python3-async-generator python3-comm python3-coverage python3-dateutil 127s python3-debugpy python3-decorator python3-entrypoints python3-executing 127s python3-flaky python3-iniconfig python3-ipykernel python3-ipyparallel 127s python3-ipython python3-jedi python3-jupyter-client python3-jupyter-core 127s python3-matplotlib-inline python3-nest-asyncio python3-outcome 127s python3-packaging python3-parso python3-pexpect python3-platformdirs 127s python3-pluggy python3-prompt-toolkit python3-psutil python3-ptyprocess 127s python3-pure-eval python3-py python3-pytest python3-pytest-asyncio 127s python3-pytest-timeout python3-sniffio python3-sortedcontainers 127s python3-stack-data python3-tornado python3-tqdm python3-traitlets 127s python3-trio python3-typeshed python3-wcwidth python3-zmq python3.13 127s python3.13-minimal 127s 0 upgraded, 60 newly installed, 0 to remove and 0 not upgraded. 127s Need to get 20.4 MB/20.4 MB of archives. 127s After this operation, 86.1 MB of additional disk space will be used. 127s Get:1 /tmp/autopkgtest.C2ebVB/1-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [756 B] 127s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 libdebuginfod-common all 0.192-4 [15.4 kB] 127s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3.13-minimal amd64 3.13.0-2 [879 kB] 128s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13-minimal amd64 3.13.0-2 [2188 kB] 128s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 libbabeltrace1 amd64 1.5.11-4build1 [185 kB] 128s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 libdebuginfod1t64 amd64 0.192-4 [21.0 kB] 128s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 libipt2 amd64 2.1.1-1 [58.9 kB] 128s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 libsource-highlight-common all 3.1.9-4.3build1 [64.2 kB] 128s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 libsource-highlight4t64 amd64 3.1.9-4.3build1 [258 kB] 128s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 gdb amd64 15.1-1ubuntu2 [4119 kB] 128s Get:11 http://ftpmaster.internal/ubuntu plucky/universe amd64 libnorm1t64 amd64 1.5.9+dfsg-3.1build1 [154 kB] 128s Get:12 http://ftpmaster.internal/ubuntu plucky/universe amd64 libpgm-5.3-0t64 amd64 5.3.128~dfsg-2.1build1 [167 kB] 128s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3.13-stdlib amd64 3.13.0-2 [2107 kB] 128s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 libsodium23 amd64 1.0.18-1build3 [161 kB] 128s Get:15 http://ftpmaster.internal/ubuntu plucky/universe amd64 libzmq5 amd64 4.3.5-1build2 [260 kB] 128s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13 amd64 3.13.0-2 [719 kB] 129s Get:17 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3-all amd64 3.12.7-1 [890 B] 129s Get:18 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-asttokens all 2.4.1-2 [20.8 kB] 129s Get:19 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-async-generator all 1.10-4 [17.5 kB] 129s Get:20 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-traitlets all 5.14.3+really5.14.3-1 [71.5 kB] 129s Get:21 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-comm all 0.2.1-1 [7016 B] 129s Get:22 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-coverage amd64 7.4.4+dfsg1-0ubuntu3 [150 kB] 129s Get:23 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-dateutil all 2.9.0-3 [80.2 kB] 129s Get:24 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-debugpy amd64 1.8.8+ds-2ubuntu1 [1145 kB] 129s Get:25 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-decorator all 5.1.1-5 [10.1 kB] 129s Get:26 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-entrypoints all 0.4-3 [7174 B] 129s Get:27 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-executing all 2.1.0-0.1 [24.4 kB] 129s Get:28 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-flaky all 3.8.1-2 [16.6 kB] 129s Get:29 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-iniconfig all 1.1.1-2 [6024 B] 129s Get:30 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-parso all 0.8.3-1 [67.2 kB] 129s Get:31 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-typeshed all 0.0~git20231111.6764465-3 [1274 kB] 129s Get:32 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-jedi all 0.19.1+ds1-1 [693 kB] 129s Get:33 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-matplotlib-inline all 0.1.6-2 [8784 B] 129s Get:34 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-wcwidth all 0.2.13+dfsg1-1 [26.3 kB] 129s Get:35 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-prompt-toolkit all 3.0.48-1 [256 kB] 129s Get:36 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pure-eval all 0.2.3-1 [11.4 kB] 129s Get:37 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-stack-data all 0.6.3-1 [22.0 kB] 129s Get:38 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-ptyprocess all 0.7.0-6 [14.8 kB] 129s Get:39 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-pexpect all 4.9-3 [48.1 kB] 129s Get:40 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-ipython all 8.29.0-1 [569 kB] 129s Get:41 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-platformdirs all 4.3.6-1 [16.8 kB] 129s Get:42 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-jupyter-core all 5.7.2-4 [28.0 kB] 129s Get:43 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-psutil amd64 5.9.8-2build3 [196 kB] 129s Get:44 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-tornado amd64 6.4.1-3 [299 kB] 129s Get:45 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-py all 1.11.0-2 [72.7 kB] 129s Get:46 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-zmq amd64 24.0.1-5build2 [406 kB] 129s Get:47 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-jupyter-client all 8.6.3-1 [78.2 kB] 129s Get:48 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-nest-asyncio all 1.5.4-1 [6256 B] 129s Get:49 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-packaging all 24.2-1 [51.5 kB] 129s Get:50 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-ipykernel all 6.29.5-1 [82.5 kB] 129s Get:51 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-tqdm all 4.67.0-1 [91.6 kB] 129s Get:52 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-ipyparallel all 8.8.0-4 [2510 kB] 129s Get:53 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-outcome all 1.2.0-1.1 [5968 B] 129s Get:54 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pluggy all 1.5.0-1 [21.0 kB] 129s Get:55 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pytest all 8.3.3-1 [251 kB] 129s Get:56 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pytest-asyncio all 0.20.3-1.3 [10.7 kB] 129s Get:57 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pytest-timeout all 2.3.1-1 [22.1 kB] 129s Get:58 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-sniffio all 1.3.1-1 [7262 B] 129s Get:59 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-sortedcontainers all 2.4.0-2 [27.6 kB] 129s Get:60 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-trio all 0.27.0-1 [322 kB] 129s Preconfiguring packages ... 129s Fetched 20.4 MB in 2s (9921 kB/s) 129s Selecting previously unselected package libdebuginfod-common. 130s (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 ... 75651 files and directories currently installed.) 130s Preparing to unpack .../00-libdebuginfod-common_0.192-4_all.deb ... 130s Unpacking libdebuginfod-common (0.192-4) ... 130s Selecting previously unselected package libpython3.13-minimal:amd64. 130s Preparing to unpack .../01-libpython3.13-minimal_3.13.0-2_amd64.deb ... 130s Unpacking libpython3.13-minimal:amd64 (3.13.0-2) ... 130s Selecting previously unselected package python3.13-minimal. 130s Preparing to unpack .../02-python3.13-minimal_3.13.0-2_amd64.deb ... 130s Unpacking python3.13-minimal (3.13.0-2) ... 130s Selecting previously unselected package libbabeltrace1:amd64. 130s Preparing to unpack .../03-libbabeltrace1_1.5.11-4build1_amd64.deb ... 130s Unpacking libbabeltrace1:amd64 (1.5.11-4build1) ... 130s Selecting previously unselected package libdebuginfod1t64:amd64. 130s Preparing to unpack .../04-libdebuginfod1t64_0.192-4_amd64.deb ... 130s Unpacking libdebuginfod1t64:amd64 (0.192-4) ... 130s Selecting previously unselected package libipt2. 130s Preparing to unpack .../05-libipt2_2.1.1-1_amd64.deb ... 130s Unpacking libipt2 (2.1.1-1) ... 130s Selecting previously unselected package libsource-highlight-common. 130s Preparing to unpack .../06-libsource-highlight-common_3.1.9-4.3build1_all.deb ... 130s Unpacking libsource-highlight-common (3.1.9-4.3build1) ... 130s Selecting previously unselected package libsource-highlight4t64:amd64. 130s Preparing to unpack .../07-libsource-highlight4t64_3.1.9-4.3build1_amd64.deb ... 130s Unpacking libsource-highlight4t64:amd64 (3.1.9-4.3build1) ... 130s Selecting previously unselected package gdb. 130s Preparing to unpack .../08-gdb_15.1-1ubuntu2_amd64.deb ... 130s Unpacking gdb (15.1-1ubuntu2) ... 130s Selecting previously unselected package libnorm1t64:amd64. 130s Preparing to unpack .../09-libnorm1t64_1.5.9+dfsg-3.1build1_amd64.deb ... 130s Unpacking libnorm1t64:amd64 (1.5.9+dfsg-3.1build1) ... 130s Selecting previously unselected package libpgm-5.3-0t64:amd64. 130s Preparing to unpack .../10-libpgm-5.3-0t64_5.3.128~dfsg-2.1build1_amd64.deb ... 130s Unpacking libpgm-5.3-0t64:amd64 (5.3.128~dfsg-2.1build1) ... 130s Selecting previously unselected package libpython3.13-stdlib:amd64. 130s Preparing to unpack .../11-libpython3.13-stdlib_3.13.0-2_amd64.deb ... 130s Unpacking libpython3.13-stdlib:amd64 (3.13.0-2) ... 130s Selecting previously unselected package libsodium23:amd64. 130s Preparing to unpack .../12-libsodium23_1.0.18-1build3_amd64.deb ... 130s Unpacking libsodium23:amd64 (1.0.18-1build3) ... 130s Selecting previously unselected package libzmq5:amd64. 130s Preparing to unpack .../13-libzmq5_4.3.5-1build2_amd64.deb ... 130s Unpacking libzmq5:amd64 (4.3.5-1build2) ... 130s Selecting previously unselected package python3.13. 130s Preparing to unpack .../14-python3.13_3.13.0-2_amd64.deb ... 130s Unpacking python3.13 (3.13.0-2) ... 130s Selecting previously unselected package python3-all. 130s Preparing to unpack .../15-python3-all_3.12.7-1_amd64.deb ... 130s Unpacking python3-all (3.12.7-1) ... 130s Selecting previously unselected package python3-asttokens. 130s Preparing to unpack .../16-python3-asttokens_2.4.1-2_all.deb ... 130s Unpacking python3-asttokens (2.4.1-2) ... 130s Selecting previously unselected package python3-async-generator. 130s Preparing to unpack .../17-python3-async-generator_1.10-4_all.deb ... 130s Unpacking python3-async-generator (1.10-4) ... 130s Selecting previously unselected package python3-traitlets. 130s Preparing to unpack .../18-python3-traitlets_5.14.3+really5.14.3-1_all.deb ... 130s Unpacking python3-traitlets (5.14.3+really5.14.3-1) ... 130s Selecting previously unselected package python3-comm. 130s Preparing to unpack .../19-python3-comm_0.2.1-1_all.deb ... 130s Unpacking python3-comm (0.2.1-1) ... 130s Selecting previously unselected package python3-coverage. 130s Preparing to unpack .../20-python3-coverage_7.4.4+dfsg1-0ubuntu3_amd64.deb ... 130s Unpacking python3-coverage (7.4.4+dfsg1-0ubuntu3) ... 130s Selecting previously unselected package python3-dateutil. 130s Preparing to unpack .../21-python3-dateutil_2.9.0-3_all.deb ... 130s Unpacking python3-dateutil (2.9.0-3) ... 130s Selecting previously unselected package python3-debugpy. 130s Preparing to unpack .../22-python3-debugpy_1.8.8+ds-2ubuntu1_amd64.deb ... 130s Unpacking python3-debugpy (1.8.8+ds-2ubuntu1) ... 130s Selecting previously unselected package python3-decorator. 130s Preparing to unpack .../23-python3-decorator_5.1.1-5_all.deb ... 130s Unpacking python3-decorator (5.1.1-5) ... 130s Selecting previously unselected package python3-entrypoints. 130s Preparing to unpack .../24-python3-entrypoints_0.4-3_all.deb ... 130s Unpacking python3-entrypoints (0.4-3) ... 130s Selecting previously unselected package python3-executing. 130s Preparing to unpack .../25-python3-executing_2.1.0-0.1_all.deb ... 130s Unpacking python3-executing (2.1.0-0.1) ... 130s Selecting previously unselected package python3-flaky. 130s Preparing to unpack .../26-python3-flaky_3.8.1-2_all.deb ... 130s Unpacking python3-flaky (3.8.1-2) ... 130s Selecting previously unselected package python3-iniconfig. 130s Preparing to unpack .../27-python3-iniconfig_1.1.1-2_all.deb ... 130s Unpacking python3-iniconfig (1.1.1-2) ... 130s Selecting previously unselected package python3-parso. 130s Preparing to unpack .../28-python3-parso_0.8.3-1_all.deb ... 130s Unpacking python3-parso (0.8.3-1) ... 131s Selecting previously unselected package python3-typeshed. 131s Preparing to unpack .../29-python3-typeshed_0.0~git20231111.6764465-3_all.deb ... 131s Unpacking python3-typeshed (0.0~git20231111.6764465-3) ... 131s Selecting previously unselected package python3-jedi. 131s Preparing to unpack .../30-python3-jedi_0.19.1+ds1-1_all.deb ... 131s Unpacking python3-jedi (0.19.1+ds1-1) ... 131s Selecting previously unselected package python3-matplotlib-inline. 131s Preparing to unpack .../31-python3-matplotlib-inline_0.1.6-2_all.deb ... 131s Unpacking python3-matplotlib-inline (0.1.6-2) ... 131s Selecting previously unselected package python3-wcwidth. 131s Preparing to unpack .../32-python3-wcwidth_0.2.13+dfsg1-1_all.deb ... 131s Unpacking python3-wcwidth (0.2.13+dfsg1-1) ... 131s Selecting previously unselected package python3-prompt-toolkit. 131s Preparing to unpack .../33-python3-prompt-toolkit_3.0.48-1_all.deb ... 131s Unpacking python3-prompt-toolkit (3.0.48-1) ... 131s Selecting previously unselected package python3-pure-eval. 131s Preparing to unpack .../34-python3-pure-eval_0.2.3-1_all.deb ... 131s Unpacking python3-pure-eval (0.2.3-1) ... 131s Selecting previously unselected package python3-stack-data. 131s Preparing to unpack .../35-python3-stack-data_0.6.3-1_all.deb ... 131s Unpacking python3-stack-data (0.6.3-1) ... 131s Selecting previously unselected package python3-ptyprocess. 131s Preparing to unpack .../36-python3-ptyprocess_0.7.0-6_all.deb ... 131s Unpacking python3-ptyprocess (0.7.0-6) ... 131s Selecting previously unselected package python3-pexpect. 131s Preparing to unpack .../37-python3-pexpect_4.9-3_all.deb ... 131s Unpacking python3-pexpect (4.9-3) ... 131s Selecting previously unselected package python3-ipython. 131s Preparing to unpack .../38-python3-ipython_8.29.0-1_all.deb ... 131s Unpacking python3-ipython (8.29.0-1) ... 131s Selecting previously unselected package python3-platformdirs. 132s Preparing to unpack .../39-python3-platformdirs_4.3.6-1_all.deb ... 132s Unpacking python3-platformdirs (4.3.6-1) ... 132s Selecting previously unselected package python3-jupyter-core. 132s Preparing to unpack .../40-python3-jupyter-core_5.7.2-4_all.deb ... 132s Unpacking python3-jupyter-core (5.7.2-4) ... 132s Selecting previously unselected package python3-psutil. 132s Preparing to unpack .../41-python3-psutil_5.9.8-2build3_amd64.deb ... 132s Unpacking python3-psutil (5.9.8-2build3) ... 132s Selecting previously unselected package python3-tornado. 132s Preparing to unpack .../42-python3-tornado_6.4.1-3_amd64.deb ... 132s Unpacking python3-tornado (6.4.1-3) ... 132s Selecting previously unselected package python3-py. 132s Preparing to unpack .../43-python3-py_1.11.0-2_all.deb ... 132s Unpacking python3-py (1.11.0-2) ... 132s Selecting previously unselected package python3-zmq. 132s Preparing to unpack .../44-python3-zmq_24.0.1-5build2_amd64.deb ... 132s Unpacking python3-zmq (24.0.1-5build2) ... 132s Selecting previously unselected package python3-jupyter-client. 132s Preparing to unpack .../45-python3-jupyter-client_8.6.3-1_all.deb ... 132s Unpacking python3-jupyter-client (8.6.3-1) ... 132s Selecting previously unselected package python3-nest-asyncio. 132s Preparing to unpack .../46-python3-nest-asyncio_1.5.4-1_all.deb ... 132s Unpacking python3-nest-asyncio (1.5.4-1) ... 132s Selecting previously unselected package python3-packaging. 132s Preparing to unpack .../47-python3-packaging_24.2-1_all.deb ... 132s Unpacking python3-packaging (24.2-1) ... 132s Selecting previously unselected package python3-ipykernel. 132s Preparing to unpack .../48-python3-ipykernel_6.29.5-1_all.deb ... 132s Unpacking python3-ipykernel (6.29.5-1) ... 132s Selecting previously unselected package python3-tqdm. 132s Preparing to unpack .../49-python3-tqdm_4.67.0-1_all.deb ... 132s Unpacking python3-tqdm (4.67.0-1) ... 132s Selecting previously unselected package python3-ipyparallel. 132s Preparing to unpack .../50-python3-ipyparallel_8.8.0-4_all.deb ... 132s Unpacking python3-ipyparallel (8.8.0-4) ... 132s Selecting previously unselected package python3-outcome. 132s Preparing to unpack .../51-python3-outcome_1.2.0-1.1_all.deb ... 132s Unpacking python3-outcome (1.2.0-1.1) ... 132s Selecting previously unselected package python3-pluggy. 132s Preparing to unpack .../52-python3-pluggy_1.5.0-1_all.deb ... 132s Unpacking python3-pluggy (1.5.0-1) ... 132s Selecting previously unselected package python3-pytest. 132s Preparing to unpack .../53-python3-pytest_8.3.3-1_all.deb ... 132s Unpacking python3-pytest (8.3.3-1) ... 132s Selecting previously unselected package python3-pytest-asyncio. 132s Preparing to unpack .../54-python3-pytest-asyncio_0.20.3-1.3_all.deb ... 132s Unpacking python3-pytest-asyncio (0.20.3-1.3) ... 132s Selecting previously unselected package python3-pytest-timeout. 132s Preparing to unpack .../55-python3-pytest-timeout_2.3.1-1_all.deb ... 132s Unpacking python3-pytest-timeout (2.3.1-1) ... 132s Selecting previously unselected package python3-sniffio. 132s Preparing to unpack .../56-python3-sniffio_1.3.1-1_all.deb ... 132s Unpacking python3-sniffio (1.3.1-1) ... 132s Selecting previously unselected package python3-sortedcontainers. 132s Preparing to unpack .../57-python3-sortedcontainers_2.4.0-2_all.deb ... 132s Unpacking python3-sortedcontainers (2.4.0-2) ... 132s Selecting previously unselected package python3-trio. 132s Preparing to unpack .../58-python3-trio_0.27.0-1_all.deb ... 132s Unpacking python3-trio (0.27.0-1) ... 132s Selecting previously unselected package autopkgtest-satdep. 132s Preparing to unpack .../59-1-autopkgtest-satdep.deb ... 132s Unpacking autopkgtest-satdep (0) ... 132s Setting up python3-entrypoints (0.4-3) ... 132s Setting up python3-iniconfig (1.1.1-2) ... 132s Setting up python3-sniffio (1.3.1-1) ... 133s Setting up python3-outcome (1.2.0-1.1) ... 133s Setting up python3-tornado (6.4.1-3) ... 133s Setting up libnorm1t64:amd64 (1.5.9+dfsg-3.1build1) ... 133s Setting up python3-pure-eval (0.2.3-1) ... 133s Setting up libsodium23:amd64 (1.0.18-1build3) ... 133s Setting up python3-async-generator (1.10-4) ... 134s Setting up python3-py (1.11.0-2) ... 134s Setting up libdebuginfod-common (0.192-4) ... 134s Setting up python3-parso (0.8.3-1) ... 134s Setting up python3-asttokens (2.4.1-2) ... 134s Setting up python3-tqdm (4.67.0-1) ... 135s Setting up python3-sortedcontainers (2.4.0-2) ... 135s Setting up python3-platformdirs (4.3.6-1) ... 135s Setting up python3-psutil (5.9.8-2build3) ... 135s Setting up libsource-highlight-common (3.1.9-4.3build1) ... 135s Setting up libpython3.13-minimal:amd64 (3.13.0-2) ... 135s Setting up libpgm-5.3-0t64:amd64 (5.3.128~dfsg-2.1build1) ... 135s Setting up python3-decorator (5.1.1-5) ... 135s Setting up python3-packaging (24.2-1) ... 136s Setting up python3-flaky (3.8.1-2) ... 136s Setting up python3-wcwidth (0.2.13+dfsg1-1) ... 136s Setting up python3-trio (0.27.0-1) ... 137s Setting up python3-typeshed (0.0~git20231111.6764465-3) ... 137s Setting up python3-executing (2.1.0-0.1) ... 137s Setting up python3-nest-asyncio (1.5.4-1) ... 137s Setting up libipt2 (2.1.1-1) ... 137s Setting up libbabeltrace1:amd64 (1.5.11-4build1) ... 137s Setting up python3-pluggy (1.5.0-1) ... 137s Setting up python3-traitlets (5.14.3+really5.14.3-1) ... 137s Setting up python3.13-minimal (3.13.0-2) ... 138s Setting up python3-dateutil (2.9.0-3) ... 138s Setting up libpython3.13-stdlib:amd64 (3.13.0-2) ... 138s Setting up python3-stack-data (0.6.3-1) ... 138s Setting up python3-jupyter-core (5.7.2-4) ... 138s Setting up python3-ptyprocess (0.7.0-6) ... 139s Setting up python3-prompt-toolkit (3.0.48-1) ... 139s Setting up libdebuginfod1t64:amd64 (0.192-4) ... 139s Setting up libzmq5:amd64 (4.3.5-1build2) ... 139s Setting up python3-jedi (0.19.1+ds1-1) ... 140s Setting up python3.13 (3.13.0-2) ... 140s Setting up python3-pytest (8.3.3-1) ... 141s Setting up python3-all (3.12.7-1) ... 141s Setting up python3-coverage (7.4.4+dfsg1-0ubuntu3) ... 141s Setting up libsource-highlight4t64:amd64 (3.1.9-4.3build1) ... 141s Setting up python3-matplotlib-inline (0.1.6-2) ... 141s Setting up python3-comm (0.2.1-1) ... 141s Setting up gdb (15.1-1ubuntu2) ... 141s Setting up python3-pexpect (4.9-3) ... 142s Setting up python3-zmq (24.0.1-5build2) ... 142s Setting up python3-pytest-asyncio (0.20.3-1.3) ... 142s Setting up python3-jupyter-client (8.6.3-1) ... 142s Setting up python3-pytest-timeout (2.3.1-1) ... 142s Setting up python3-debugpy (1.8.8+ds-2ubuntu1) ... 143s Setting up python3-ipython (8.29.0-1) ... 144s Setting up python3-ipykernel (6.29.5-1) ... 144s Setting up python3-ipyparallel (8.8.0-4) ... 145s Setting up autopkgtest-satdep (0) ... 145s Processing triggers for systemd (256.5-2ubuntu4) ... 145s Processing triggers for man-db (2.13.0-1) ... 146s Processing triggers for libc-bin (2.40-1ubuntu3) ... 149s (Reading database ... 86088 files and directories currently installed.) 149s Removing autopkgtest-satdep (0) ... 149s autopkgtest [20:39:50]: test pytest: [----------------------- 150s + py3versions -s 150s Testing with python3.13: 150s + PYS=python3.13 python3.12 150s + cp -r tests /tmp/autopkgtest.C2ebVB/autopkgtest_tmp 150s + cd /tmp/autopkgtest.C2ebVB/autopkgtest_tmp 150s + echo Testing with python3.13: 150s + timeout 300 python3.13 -m pytest -v -k not test_init_ipc_socket 150s ============================= test session starts ============================== 150s platform linux -- Python 3.13.0, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3.13 150s cachedir: .pytest_cache 150s rootdir: /tmp/autopkgtest.C2ebVB/autopkgtest_tmp 150s plugins: timeout-2.3.1, typeguard-4.4.1, flaky-3.8.1, asyncio-0.20.3 150s asyncio: mode=Mode.STRICT 151s collecting ... collected 186 items / 1 deselected / 185 selected 151s 151s tests/inprocess/test_kernel.py::test_with_cell_id PASSED [ 0%] 151s tests/inprocess/test_kernel.py::test_pylab SKIPPED (This test requir...) [ 1%] 151s tests/inprocess/test_kernel.py::test_raw_input PASSED [ 1%] 152s tests/inprocess/test_kernel.py::test_stdout PASSED [ 2%] 152s tests/inprocess/test_kernel.py::test_capfd SKIPPED (Currently don't ...) [ 2%] 152s tests/inprocess/test_kernel.py::test_getpass_stream PASSED [ 3%] 152s tests/inprocess/test_kernel.py::test_do_execute SKIPPED (async def f...) [ 3%] 152s tests/inprocess/test_kernelmanager.py::InProcessKernelManagerTestCase::test_complete FAILED [ 4%] 152s tests/inprocess/test_kernelmanager.py::InProcessKernelManagerTestCase::test_execute PASSED [ 4%] 153s tests/inprocess/test_kernelmanager.py::InProcessKernelManagerTestCase::test_history PASSED [ 5%] 153s tests/inprocess/test_kernelmanager.py::InProcessKernelManagerTestCase::test_inspect PASSED [ 5%] 153s tests/inprocess/test_kernelmanager.py::InProcessKernelManagerTestCase::test_interface PASSED [ 6%] 154s tests/test_async.py::test_async_await PASSED [ 7%] 161s tests/test_async.py::test_async_interrupt[asyncio] PASSED [ 7%] 163s tests/test_async.py::test_async_interrupt[trio] PASSED [ 8%] 164s tests/test_async.py::test_async_interrupt[curio] SKIPPED (Requires c...) [ 8%] 164s tests/test_comm.py::test_comm PASSED [ 9%] 164s tests/test_comm.py::test_comm_manager PASSED [ 9%] 164s tests/test_comm.py::test_comm_in_manager PASSED [ 10%] 164s tests/test_connect.py::test_get_connection_file PASSED [ 10%] 164s tests/test_connect.py::test_get_connection_info PASSED [ 11%] 165s tests/test_connect.py::test_port_bind_failure_raises PASSED [ 11%] 165s tests/test_connect.py::test_port_bind_failure_recovery PASSED [ 12%] 165s tests/test_connect.py::test_port_bind_failure_gives_up_retries PASSED [ 12%] 166s tests/test_debugger.py::test_debug_initialize PASSED [ 13%] 167s tests/test_debugger.py::test_attach_debug PASSED [ 14%] 169s tests/test_debugger.py::test_set_breakpoints PASSED [ 14%] 170s tests/test_debugger.py::test_stop_on_breakpoint PASSED [ 15%] 172s tests/test_debugger.py::test_breakpoint_in_cell_with_leading_empty_lines PASSED [ 15%] 173s tests/test_debugger.py::test_rich_inspect_not_at_breakpoint PASSED [ 16%] 175s tests/test_debugger.py::test_rich_inspect_at_breakpoint PASSED [ 16%] 175s tests/test_debugger.py::test_convert_to_long_pathname PASSED [ 17%] 177s tests/test_debugger.py::test_copy_to_globals PASSED [ 17%] 178s tests/test_embed_kernel.py::test_embed_kernel_basic FAILED [ 18%] 180s tests/test_embed_kernel.py::test_embed_kernel_namespace FAILED [ 18%] 181s tests/test_embed_kernel.py::test_embed_kernel_reentrant FAILED [ 19%] 181s tests/test_embed_kernel.py::test_embed_kernel_func NOTE: When using the `ipython kernel` entry point, Ctrl-C will not work. 181s 181s To exit, you will have to explicitly quit this process, by either sending 181s "quit" from a client, or using Ctrl-\ in UNIX-like environments. 181s 181s To read more about this, see https://github.com/ipython/ipython/issues/2049 181s 181s 181s To connect another client to this kernel, use: 181s --existing kernel-2378.json 181s FAILED [ 20%] 183s tests/test_eventloop.py::test_asyncio_interrupt PASSED [ 20%] 185s tests/test_eventloop.py::test_tk_loop PASSED [ 21%] 186s tests/test_eventloop.py::test_asyncio_loop PASSED [ 21%] 187s tests/test_eventloop.py::test_enable_gui PASSED [ 22%] 187s tests/test_eventloop.py::test_cocoa_loop SKIPPED (MacOS-only) [ 22%] 187s tests/test_eventloop.py::test_qt_enable_gui SKIPPED (No viable versi...) [ 23%] 187s tests/test_heartbeat.py::test_port_bind_failure_raises PASSED [ 23%] 187s tests/test_heartbeat.py::test_port_bind_success PASSED [ 24%] 187s tests/test_heartbeat.py::test_port_bind_failure_recovery PASSED [ 24%] 187s tests/test_heartbeat.py::test_port_bind_failure_gives_up_retries PASSED [ 25%] 187s tests/test_io.py::test_io_api PASSED [ 25%] 187s tests/test_io.py::test_io_isatty PASSED [ 26%] 187s tests/test_io.py::test_io_thread PASSED [ 27%] 187s tests/test_io.py::test_background_socket PASSED [ 27%] 187s tests/test_io.py::test_outstream PASSED [ 28%] 187s tests/test_io.py::test_event_pipe_gc SKIPPED (async def function and...) [ 28%] 188s tests/test_io.py::test_echo_watch PASSED [ 29%] 188s tests/test_ipkernel_direct.py::test_properties SKIPPED (async def fu...) [ 29%] 188s tests/test_ipkernel_direct.py::test_direct_kernel_info_request SKIPPED [ 30%] 188s tests/test_ipkernel_direct.py::test_direct_execute_request SKIPPED (...) [ 30%] 188s tests/test_ipkernel_direct.py::test_direct_execute_request_aborting SKIPPED [ 31%] 188s tests/test_ipkernel_direct.py::test_complete_request SKIPPED (async ...) [ 31%] 188s tests/test_ipkernel_direct.py::test_inspect_request SKIPPED (async d...) [ 32%] 188s tests/test_ipkernel_direct.py::test_history_request SKIPPED (async d...) [ 32%] 188s tests/test_ipkernel_direct.py::test_comm_info_request SKIPPED (async...) [ 33%] 188s tests/test_ipkernel_direct.py::test_direct_interrupt_request SKIPPED [ 34%] 188s tests/test_ipkernel_direct.py::test_is_complete_request SKIPPED (asy...) [ 34%] 189s tests/test_ipkernel_direct.py::test_do_apply PASSED [ 35%] 189s tests/test_ipkernel_direct.py::test_direct_debug_request SKIPPED (as...) [ 35%] 189s tests/test_ipkernel_direct.py::test_direct_clear SKIPPED (async def ...) [ 36%] 189s tests/test_ipkernel_direct.py::test_cancel_on_sigint SKIPPED (async ...) [ 36%] 189s tests/test_ipkernel_direct.py::test_dispatch_debugpy PASSED [ 37%] 189s tests/test_ipkernel_direct.py::test_start SKIPPED (async def functio...) [ 37%] 189s tests/test_ipkernel_direct.py::test_start_no_debugpy SKIPPED (async ...) [ 38%] 189s tests/test_ipkernel_direct.py::test_create_comm PASSED [ 38%] 189s tests/test_ipkernel_direct.py::test_finish_metadata PASSED [ 39%] 189s tests/test_ipkernel_direct.py::test_do_debug_request SKIPPED (async ...) [ 40%] 189s tests/test_jsonutil.py::test SKIPPED (json_clean is a no-op) [ 40%] 189s tests/test_jsonutil.py::test_encode_images SKIPPED (json_clean is a ...) [ 41%] 189s tests/test_jsonutil.py::test_lambda SKIPPED (json_clean is a no-op) [ 41%] 189s tests/test_jsonutil.py::test_exception SKIPPED (json_clean is a no-op) [ 42%] 189s tests/test_jsonutil.py::test_unicode_dict SKIPPED (json_clean is a n...) [ 42%] 190s tests/test_kernel.py::test_simple_print PASSED [ 43%] 191s tests/test_kernel.py::test_print_to_correct_cell_from_thread PASSED [ 43%] 192s tests/test_kernel.py::test_print_to_correct_cell_from_child_thread PASSED [ 44%] 194s tests/test_kernel.py::test_print_to_correct_cell_from_asyncio PASSED [ 44%] 194s tests/test_kernel.py::test_capture_fd SKIPPED (Currently don't captu...) [ 45%] 194s tests/test_kernel.py::test_subprocess_peek_at_stream_fileno SKIPPED [ 45%] 194s tests/test_kernel.py::test_sys_path PASSED [ 46%] 195s tests/test_kernel.py::test_sys_path_profile_dir PASSED [ 47%] 197s tests/test_kernel.py::test_subprocess_print PASSED [ 47%] 198s tests/test_kernel.py::test_subprocess_noprint PASSED [ 48%] 199s tests/test_kernel.py::test_subprocess_error PASSED [ 48%] 199s tests/test_kernel.py::test_raw_input PASSED [ 49%] 199s tests/test_kernel.py::test_save_history PASSED [ 49%] 199s tests/test_kernel.py::test_smoke_faulthandler PASSED [ 50%] 200s tests/test_kernel.py::test_help_output PASSED [ 50%] 200s tests/test_kernel.py::test_is_complete PASSED [ 51%] 200s tests/test_kernel.py::test_complete SKIPPED (only run on Windows) [ 51%] 200s tests/test_kernel.py::test_matplotlib_inline_on_import SKIPPED (this...) [ 52%] 201s tests/test_kernel.py::test_message_order PASSED [ 52%] 201s tests/test_kernel.py::test_unc_paths SKIPPED (test only on windows) [ 53%] 201s tests/test_kernel.py::test_shutdown PASSED [ 54%] 203s tests/test_kernel.py::test_interrupt_during_input PASSED [ 54%] 205s tests/test_kernel.py::test_interrupt_with_message PASSED [ 55%] 207s tests/test_kernel.py::test_interrupt_during_pdb_set_trace PASSED [ 55%] 210s tests/test_kernel.py::test_control_thread_priority PASSED [ 56%] 210s tests/test_kernel.py::test_shutdown_subprocesses SKIPPED (Stalls on ...) [ 56%] 210s tests/test_kernel_direct.py::test_direct_kernel_info_request SKIPPED [ 57%] 210s tests/test_kernel_direct.py::test_direct_execute_request SKIPPED (as...) [ 57%] 210s tests/test_kernel_direct.py::test_direct_execute_request_aborting SKIPPED [ 58%] 210s tests/test_kernel_direct.py::test_direct_execute_request_error SKIPPED [ 58%] 210s tests/test_kernel_direct.py::test_complete_request SKIPPED (async de...) [ 59%] 210s tests/test_kernel_direct.py::test_inspect_request SKIPPED (async def...) [ 60%] 210s tests/test_kernel_direct.py::test_history_request SKIPPED (async def...) [ 60%] 210s tests/test_kernel_direct.py::test_comm_info_request SKIPPED (async d...) [ 61%] 210s tests/test_kernel_direct.py::test_direct_interrupt_request SKIPPED (...) [ 61%] 210s tests/test_kernel_direct.py::test_direct_shutdown_request SKIPPED (a...) [ 62%] 210s tests/test_kernel_direct.py::test_is_complete_request SKIPPED (async...) [ 62%] 210s tests/test_kernel_direct.py::test_direct_debug_request SKIPPED (asyn...) [ 63%] 210s tests/test_kernel_direct.py::test_deprecated_features SKIPPED (async...) [ 63%] 210s tests/test_kernel_direct.py::test_process_control SKIPPED (async def...) [ 64%] 210s tests/test_kernel_direct.py::test_should_handle PASSED [ 64%] 210s tests/test_kernel_direct.py::test_dispatch_shell SKIPPED (async def ...) [ 65%] 210s tests/test_kernel_direct.py::test_do_one_iteration SKIPPED (async de...) [ 65%] 210s tests/test_kernel_direct.py::test_publish_debug_event SKIPPED (async...) [ 66%] 210s tests/test_kernel_direct.py::test_connect_request SKIPPED (async def...) [ 67%] 210s tests/test_kernel_direct.py::test_send_interrupt_children SKIPPED (a...) [ 67%] 210s tests/test_kernelapp.py::test_blackhole PASSED [ 68%] 211s tests/test_kernelapp.py::test_start_app PASSED [ 68%] 211s tests/test_kernelapp.py::test_merge_connection_file PASSED [ 69%] 211s tests/test_kernelapp.py::test_trio_loop PASSED [ 69%] 211s tests/test_kernelspec.py::test_make_ipkernel_cmd PASSED [ 70%] 211s tests/test_kernelspec.py::test_get_kernel_dict PASSED [ 70%] 211s tests/test_kernelspec.py::test_get_kernel_dict_with_profile PASSED [ 71%] 211s tests/test_kernelspec.py::test_write_kernel_spec PASSED [ 71%] 211s tests/test_kernelspec.py::test_write_kernel_spec_path PASSED [ 72%] 211s tests/test_kernelspec.py::test_install_kernelspec FAILED [ 72%] 211s tests/test_kernelspec.py::test_install_user PASSED [ 73%] 211s tests/test_kernelspec.py::test_install PASSED [ 74%] 211s tests/test_kernelspec.py::test_install_profile PASSED [ 74%] 211s tests/test_kernelspec.py::test_install_display_name_overrides_profile PASSED [ 75%] 211s tests/test_kernelspec.py::test_install_env[None] PASSED [ 75%] 211s tests/test_kernelspec.py::test_install_env[env1] PASSED [ 76%] 211s tests/test_kernelspec.py::test_install_env[env2] PASSED [ 76%] 211s tests/test_kernelspec.py::test_install_frozen_modules_on PASSED [ 77%] 211s tests/test_kernelspec.py::test_install_frozen_modules_off PASSED [ 77%] 211s tests/test_kernelspec.py::test_install_frozen_modules_no_op SKIPPED [ 78%] 211s tests/test_message_spec.py::test_execute PASSED [ 78%] 212s tests/test_message_spec.py::test_execute_silent PASSED [ 79%] 213s tests/test_message_spec.py::test_execute_error PASSED [ 80%] 213s tests/test_message_spec.py::test_execute_inc PASSED [ 80%] 216s tests/test_message_spec.py::test_execute_stop_on_error PASSED [ 81%] 217s tests/test_message_spec.py::test_non_execute_stop_on_error PASSED [ 81%] 217s tests/test_message_spec.py::test_user_expressions PASSED [ 82%] 218s tests/test_message_spec.py::test_user_expressions_fail PASSED [ 82%] 218s tests/test_message_spec.py::test_oinfo PASSED [ 83%] 218s tests/test_message_spec.py::test_oinfo_found PASSED [ 83%] 219s tests/test_message_spec.py::test_oinfo_detail PASSED [ 84%] 219s tests/test_message_spec.py::test_oinfo_not_found PASSED [ 84%] 220s tests/test_message_spec.py::test_complete PASSED [ 85%] 220s tests/test_message_spec.py::test_kernel_info_request PASSED [ 85%] 221s tests/test_message_spec.py::test_connect_request PASSED [ 86%] 221s tests/test_message_spec.py::test_comm_info_request PASSED [ 87%] 222s tests/test_message_spec.py::test_single_payload PASSED [ 87%] 222s tests/test_message_spec.py::test_is_complete PASSED [ 88%] 222s tests/test_message_spec.py::test_history_range PASSED [ 88%] 223s tests/test_message_spec.py::test_history_tail PASSED [ 89%] 223s tests/test_message_spec.py::test_history_search PASSED [ 89%] 224s tests/test_message_spec.py::test_stream PASSED [ 90%] 224s tests/test_message_spec.py::test_display_data PASSED [ 90%] 224s tests/test_parentpoller.py::test_parent_poller_unix PASSED [ 91%] 224s tests/test_parentpoller.py::test_parent_poller_windows SKIPPED (only...) [ 91%] 224s tests/test_pickleutil.py::test_no_closure PASSED [ 92%] 224s tests/test_pickleutil.py::test_generator_closure PASSED [ 92%] 224s tests/test_pickleutil.py::test_nested_closure PASSED [ 93%] 224s tests/test_pickleutil.py::test_closure PASSED [ 94%] 224s tests/test_pickleutil.py::test_uncan_bytes_buffer PASSED [ 94%] 225s tests/test_start_kernel.py::test_ipython_start_kernel_userns PASSED [ 95%] 225s tests/test_start_kernel.py::test_ipython_start_kernel_no_userns PASSED [ 95%] 225s tests/test_zmq_shell.py::ZMQDisplayPublisherTests::test_display_hook_halts_send PASSED [ 96%] 225s tests/test_zmq_shell.py::ZMQDisplayPublisherTests::test_display_hook_return_calls_send PASSED [ 96%] 225s tests/test_zmq_shell.py::ZMQDisplayPublisherTests::test_display_publisher_creation PASSED [ 97%] 225s tests/test_zmq_shell.py::ZMQDisplayPublisherTests::test_publish PASSED [ 97%] 226s tests/test_zmq_shell.py::ZMQDisplayPublisherTests::test_thread_local_hooks PASSED [ 98%] 226s tests/test_zmq_shell.py::ZMQDisplayPublisherTests::test_unregister_hook PASSED [ 98%] 226s tests/test_zmq_shell.py::test_magics PASSED [ 99%] 226s tests/test_zmq_shell.py::test_zmq_interactive_shell FAILED [100%] 226s 226s =================================== FAILURES =================================== 226s _________________ InProcessKernelManagerTestCase.test_complete _________________ 226s 226s self = 226s 226s def test_complete(self): 226s """Does requesting completion from an in-process kernel work?""" 226s km = self.km 226s km.start_kernel() 226s kc = km.client() 226s kc.start_channels() 226s kc.wait_for_ready() 226s km.kernel.shell.push({"my_bar": 0, "my_baz": 1}) 226s kc.complete("my_ba", 5) 226s msg = kc.get_shell_msg() 226s assert msg["header"]["msg_type"] == "complete_reply" 226s > assert sorted(msg["content"]["matches"]) == ["my_bar", "my_baz"] 226s E AssertionError: assert [] == ['my_bar', 'my_baz'] 226s E 226s E Right contains 2 more items, first extra item: 'my_bar' 226s E 226s E Full diff: 226s E + [] 226s E - [ 226s E - 'my_bar', 226s E - 'my_baz', 226s E - ] 226s 226s tests/inprocess/test_kernelmanager.py:78: AssertionError 226s ----------------------------- Captured stdout call ----------------------------- 226s status 226s ----------------------------- Captured stderr call ----------------------------- 226s Traceback (most recent call last): 226s File "/usr/lib/python3/dist-packages/jedi/cache.py", line 110, in wrapper 226s return dct[key] 226s ~~~^^^^^ 226s KeyError: ((), frozenset()) 226s 226s During handling of the above exception, another exception occurred: 226s 226s Traceback (most recent call last): 226s File "/usr/lib/python3/dist-packages/parso/grammar.py", line 252, in load_grammar 226s return _loaded_grammars[path] 226s ~~~~~~~~~~~~~~~~^^^^^^ 226s KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 226s 226s During handling of the above exception, another exception occurred: 226s 226s Traceback (most recent call last): 226s File "/usr/lib/python3/dist-packages/parso/grammar.py", line 255, in load_grammar 226s with open(path) as f: 226s ~~~~^^^^^^ 226s FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 226s 226s During handling of the above exception, another exception occurred: 226s 226s Traceback (most recent call last): 226s File "/usr/lib/python3/dist-packages/IPython/core/completer.py", line 3214, in _complete 226s result = matcher(context) 226s File "/usr/lib/python3/dist-packages/IPython/core/completer.py", line 2234, in _jedi_matcher 226s matches = self._jedi_matches( 226s cursor_column=context.cursor_position, 226s cursor_line=context.cursor_line, 226s text=context.full_text, 226s ) 226s File "/usr/lib/python3/dist-packages/IPython/core/completer.py", line 2288, in _jedi_matches 226s interpreter = jedi.Interpreter(text[:offset], namespaces) 226s File "/usr/lib/python3/dist-packages/jedi/api/__init__.py", line 741, in __init__ 226s super().__init__(code, environment=environment, project=project, **kwds) 226s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 226s File "/usr/lib/python3/dist-packages/jedi/api/__init__.py", line 119, in __init__ 226s self._inference_state = InferenceState( 226s ~~~~~~~~~~~~~~^ 226s project, environment=environment, script_path=self.path 226s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 226s ) 226s ^ 226s File "/usr/lib/python3/dist-packages/jedi/inference/__init__.py", line 91, in __init__ 226s self.grammar = environment.get_grammar() 226s ~~~~~~~~~~~~~~~~~~~~~~~^^ 226s File "/usr/lib/python3/dist-packages/jedi/cache.py", line 112, in wrapper 226s result = method(self, *args, **kwargs) 226s File "/usr/lib/python3/dist-packages/jedi/api/environment.py", line 37, in get_grammar 226s return parso.load_grammar(version=version_string) 226s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^ 226s File "/usr/lib/python3/dist-packages/parso/grammar.py", line 264, in load_grammar 226s raise NotImplementedError(message) 226s NotImplementedError: Python version 3.13 is currently not supported. 226s ___________________________ test_embed_kernel_basic ____________________________ 226s 226s @flaky(max_runs=3) 226s def test_embed_kernel_basic(): 226s """IPython.embed_kernel() is basically functional""" 226s cmd = "\n".join( 226s [ 226s "from IPython import embed_kernel", 226s "def go():", 226s " a=5", 226s ' b="hi there"', 226s " embed_kernel()", 226s "go()", 226s "", 226s ] 226s ) 226s 226s > with setup_kernel(cmd) as client: 226s 226s tests/test_embed_kernel.py:109: 226s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 226s /usr/lib/python3.13/contextlib.py:141: in __enter__ 226s return next(self.gen) 226s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 226s 226s cmd = 'from IPython import embed_kernel\ndef go():\n a=5\n b="hi there"\n embed_kernel()\ngo()\n' 226s 226s @contextmanager 226s def setup_kernel(cmd): 226s """start an embedded kernel in a subprocess, and wait for it to be ready 226s 226s Returns 226s ------- 226s kernel_manager: connected KernelManager instance 226s """ 226s 226s def connection_file_ready(connection_file): 226s """Check if connection_file is a readable json file.""" 226s if not os.path.exists(connection_file): 226s return False 226s try: 226s with open(connection_file) as f: 226s json.load(f) 226s return True 226s except ValueError: 226s return False 226s 226s kernel = Popen([sys.executable, "-c", cmd], stdout=PIPE, stderr=PIPE, encoding="utf-8") 226s try: 226s connection_file = os.path.join( 226s paths.jupyter_runtime_dir(), 226s "kernel-%i.json" % kernel.pid, 226s ) 226s # wait for connection file to exist, timeout after 5s 226s tic = time.time() 226s while ( 226s not connection_file_ready(connection_file) 226s and kernel.poll() is None 226s and time.time() < tic + SETUP_TIMEOUT 226s ): 226s time.sleep(0.1) 226s 226s # Wait 100ms for the writing to finish 226s time.sleep(0.1) 226s 226s if kernel.poll() is not None: 226s o, e = kernel.communicate() 226s raise OSError("Kernel failed to start:\n%s" % e) 226s 226s if not os.path.exists(connection_file): 226s if kernel.poll() is None: 226s kernel.terminate() 226s > raise OSError("Connection file %r never arrived" % connection_file) 226s E OSError: Connection file '/home/ubuntu/.local/share/jupyter/runtime/kernel-2775.json' never arrived 226s 226s tests/test_embed_kernel.py:74: OSError 226s _________________________ test_embed_kernel_namespace __________________________ 226s 226s @flaky(max_runs=3) 226s def test_embed_kernel_namespace(): 226s """IPython.embed_kernel() inherits calling namespace""" 226s cmd = "\n".join( 226s [ 226s "from IPython import embed_kernel", 226s "def go():", 226s " a=5", 226s ' b="hi there"', 226s " embed_kernel()", 226s "go()", 226s "", 226s ] 226s ) 226s 226s > with setup_kernel(cmd) as client: 226s 226s tests/test_embed_kernel.py:145: 226s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 226s /usr/lib/python3.13/contextlib.py:141: in __enter__ 226s return next(self.gen) 226s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 226s 226s cmd = 'from IPython import embed_kernel\ndef go():\n a=5\n b="hi there"\n embed_kernel()\ngo()\n' 226s 226s @contextmanager 226s def setup_kernel(cmd): 226s """start an embedded kernel in a subprocess, and wait for it to be ready 226s 226s Returns 226s ------- 226s kernel_manager: connected KernelManager instance 226s """ 226s 226s def connection_file_ready(connection_file): 226s """Check if connection_file is a readable json file.""" 226s if not os.path.exists(connection_file): 226s return False 226s try: 226s with open(connection_file) as f: 226s json.load(f) 226s return True 226s except ValueError: 226s return False 226s 226s kernel = Popen([sys.executable, "-c", cmd], stdout=PIPE, stderr=PIPE, encoding="utf-8") 226s try: 226s connection_file = os.path.join( 226s paths.jupyter_runtime_dir(), 226s "kernel-%i.json" % kernel.pid, 226s ) 226s # wait for connection file to exist, timeout after 5s 226s tic = time.time() 226s while ( 226s not connection_file_ready(connection_file) 226s and kernel.poll() is None 226s and time.time() < tic + SETUP_TIMEOUT 226s ): 226s time.sleep(0.1) 226s 226s # Wait 100ms for the writing to finish 226s time.sleep(0.1) 226s 226s if kernel.poll() is not None: 226s o, e = kernel.communicate() 226s raise OSError("Kernel failed to start:\n%s" % e) 226s 226s if not os.path.exists(connection_file): 226s if kernel.poll() is None: 226s kernel.terminate() 226s > raise OSError("Connection file %r never arrived" % connection_file) 226s E OSError: Connection file '/home/ubuntu/.local/share/jupyter/runtime/kernel-2805.json' never arrived 226s 226s tests/test_embed_kernel.py:74: OSError 226s _________________________ test_embed_kernel_reentrant __________________________ 226s 226s @flaky(max_runs=3) 226s def test_embed_kernel_reentrant(): 226s """IPython.embed_kernel() can be called multiple times""" 226s cmd = "\n".join( 226s [ 226s "from IPython import embed_kernel", 226s "count = 0", 226s "def go():", 226s " global count", 226s " embed_kernel()", 226s " count = count + 1", 226s "", 226s "while True: go()", 226s "", 226s ] 226s ) 226s 226s > with setup_kernel(cmd) as client: 226s 226s tests/test_embed_kernel.py:186: 226s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 226s /usr/lib/python3.13/contextlib.py:141: in __enter__ 226s return next(self.gen) 226s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 226s 226s cmd = 'from IPython import embed_kernel\ncount = 0\ndef go():\n global count\n embed_kernel()\n count = count + 1\n\nwhile True: go()\n' 226s 226s @contextmanager 226s def setup_kernel(cmd): 226s """start an embedded kernel in a subprocess, and wait for it to be ready 226s 226s Returns 226s ------- 226s kernel_manager: connected KernelManager instance 226s """ 226s 226s def connection_file_ready(connection_file): 226s """Check if connection_file is a readable json file.""" 226s if not os.path.exists(connection_file): 226s return False 226s try: 226s with open(connection_file) as f: 226s json.load(f) 226s return True 226s except ValueError: 226s return False 226s 226s kernel = Popen([sys.executable, "-c", cmd], stdout=PIPE, stderr=PIPE, encoding="utf-8") 226s try: 226s connection_file = os.path.join( 226s paths.jupyter_runtime_dir(), 226s "kernel-%i.json" % kernel.pid, 226s ) 226s # wait for connection file to exist, timeout after 5s 226s tic = time.time() 226s while ( 226s not connection_file_ready(connection_file) 226s and kernel.poll() is None 226s and time.time() < tic + SETUP_TIMEOUT 226s ): 226s time.sleep(0.1) 226s 226s # Wait 100ms for the writing to finish 226s time.sleep(0.1) 226s 226s if kernel.poll() is not None: 226s o, e = kernel.communicate() 226s raise OSError("Kernel failed to start:\n%s" % e) 226s 226s if not os.path.exists(connection_file): 226s if kernel.poll() is None: 226s kernel.terminate() 226s > raise OSError("Connection file %r never arrived" % connection_file) 226s E OSError: Connection file '/home/ubuntu/.local/share/jupyter/runtime/kernel-2835.json' never arrived 226s 226s tests/test_embed_kernel.py:74: OSError 226s ____________________________ test_embed_kernel_func ____________________________ 226s 226s def test_embed_kernel_func(): 226s from types import ModuleType 226s 226s module = ModuleType("test") 226s 226s def trigger_stop(): 226s time.sleep(1) 226s app = IPKernelApp.instance() 226s app.io_loop.add_callback(app.io_loop.stop) 226s IPKernelApp.clear_instance() 226s 226s thread = threading.Thread(target=trigger_stop) 226s thread.start() 226s 226s > embed_kernel(module, outstream_class=None) 226s 226s tests/test_embed_kernel.py:215: 226s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 226s /usr/lib/python3/dist-packages/ipykernel/embed.py:55: in embed_kernel 226s app.kernel.user_ns = local_ns 226s /usr/lib/python3/dist-packages/traitlets/traitlets.py:716: in __set__ 226s self.set(obj, value) 226s /usr/lib/python3/dist-packages/traitlets/traitlets.py:690: in set 226s new_value = self._validate(obj, value) 226s /usr/lib/python3/dist-packages/traitlets/traitlets.py:722: in _validate 226s value = self.validate(obj, value) 226s /usr/lib/python3/dist-packages/traitlets/traitlets.py:2311: in validate 226s self.error(obj, value) 226s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 226s 226s self = 226s obj = 226s value = {'ModuleType': , 'module': , 'trigger_stop': .trigger_stop at 0x7c2239d15ee0>, 'thread': } 226s error = None, info = None 226s 226s def error( 226s self, 226s obj: HasTraits | None, 226s value: t.Any, 226s error: Exception | None = None, 226s info: str | None = None, 226s ) -> t.NoReturn: 226s """Raise a TraitError 226s 226s Parameters 226s ---------- 226s obj : HasTraits or None 226s The instance which owns the trait. If not 226s object is given, then an object agnostic 226s error will be raised. 226s value : any 226s The value that caused the error. 226s error : Exception (default: None) 226s An error that was raised by a child trait. 226s The arguments of this exception should be 226s of the form ``(value, info, *traits)``. 226s Where the ``value`` and ``info`` are the 226s problem value, and string describing the 226s expected value. The ``traits`` are a series 226s of :class:`TraitType` instances that are 226s "children" of this one (the first being 226s the deepest). 226s info : str (default: None) 226s A description of the expected value. By 226s default this is inferred from this trait's 226s ``info`` method. 226s """ 226s if error is not None: 226s # handle nested error 226s error.args += (self,) 226s if self.name is not None: 226s # this is the root trait that must format the final message 226s chain = " of ".join(describe("a", t) for t in error.args[2:]) 226s if obj is not None: 226s error.args = ( 226s "The '{}' trait of {} instance contains {} which " 226s "expected {}, not {}.".format( 226s self.name, 226s describe("an", obj), 226s chain, 226s error.args[1], 226s describe("the", error.args[0]), 226s ), 226s ) 226s else: 226s error.args = ( 226s "The '{}' trait contains {} which " "expected {}, not {}.".format( 226s self.name, 226s chain, 226s error.args[1], 226s describe("the", error.args[0]), 226s ), 226s ) 226s raise error 226s 226s # this trait caused an error 226s if self.name is None: 226s # this is not the root trait 226s raise TraitError(value, info or self.info(), self) 226s 226s # this is the root trait 226s if obj is not None: 226s e = "The '{}' trait of {} instance expected {}, not {}.".format( 226s self.name, 226s class_of(obj), 226s info or self.info(), 226s describe("the", value), 226s ) 226s else: 226s e = "The '{}' trait expected {}, not {}.".format( 226s self.name, 226s info or self.info(), 226s describe("the", value), 226s ) 226s > raise TraitError(e) 226s E traitlets.traitlets.TraitError: The 'user_ns' trait of an IPythonKernel instance expected a dict or None, not the FrameLocalsProxy {'ModuleType': , 'module': , 'trigger_stop': .trigger_stop at 0x7c2239d15ee0>, 'thread': }. 226s 226s /usr/lib/python3/dist-packages/traitlets/traitlets.py:831: TraitError 226s ___________________________ test_install_kernelspec ____________________________ 226s 226s def test_install_kernelspec(): 226s path = tempfile.mkdtemp() 226s try: 226s > InstallIPythonKernelSpecApp.launch_instance(argv=["--prefix", path]) 226s 226s tests/test_kernelspec.py:83: 226s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 226s /usr/lib/python3/dist-packages/traitlets/config/application.py:1073: in launch_instance 226s app = cls.instance(**kwargs) 226s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 226s 226s cls = , args = () 226s kwargs = {} 226s 226s @classmethod 226s def instance(cls: type[CT], *args: t.Any, **kwargs: t.Any) -> CT: 226s """Returns a global instance of this class. 226s 226s This method create a new instance if none have previously been created 226s and returns a previously created instance is one already exists. 226s 226s The arguments and keyword arguments passed to this method are passed 226s on to the :meth:`__init__` method of the class upon instantiation. 226s 226s Examples 226s -------- 226s Create a singleton class using instance, and retrieve it:: 226s 226s >>> from traitlets.config.configurable import SingletonConfigurable 226s >>> class Foo(SingletonConfigurable): pass 226s >>> foo = Foo.instance() 226s >>> foo == Foo.instance() 226s True 226s 226s Create a subclass that is retrieved using the base class instance:: 226s 226s >>> class Bar(SingletonConfigurable): pass 226s >>> class Bam(Bar): pass 226s >>> bam = Bam.instance() 226s >>> bam == Bar.instance() 226s True 226s """ 226s # Create and save the instance 226s if cls._instance is None: 226s inst = cls(*args, **kwargs) 226s # Now make sure that the instance will also be returned by 226s # parent classes' _instance attribute. 226s for subclass in cls._walk_mro(): 226s subclass._instance = inst 226s 226s if isinstance(cls._instance, cls): 226s return cls._instance 226s else: 226s > raise MultipleInstanceError( 226s f"An incompatible sibling of '{cls.__name__}' is already instantiated" 226s f" as singleton: {type(cls._instance).__name__}" 226s ) 226s E traitlets.config.configurable.MultipleInstanceError: An incompatible sibling of 'InstallIPythonKernelSpecApp' is already instantiated as singleton: IPKernelApp 226s 226s /usr/lib/python3/dist-packages/traitlets/config/configurable.py:592: MultipleInstanceError 226s __________________________ test_zmq_interactive_shell __________________________ 226s 226s kernel = 226s 226s def test_zmq_interactive_shell(kernel): 226s shell = ZMQInteractiveShell() 226s 226s > with pytest.raises(RuntimeError): 226s E Failed: DID NOT RAISE 226s 226s tests/test_zmq_shell.py:239: Failed 226s =============================== warnings summary =============================== 226s ../../../usr/lib/python3/dist-packages/jupyter_client/connect.py:22 226s /usr/lib/python3/dist-packages/jupyter_client/connect.py:22: DeprecationWarning: Jupyter is migrating its paths to use standard platformdirs 226s given by the platformdirs library. To remove this warning and 226s see the appropriate new directories, set the environment variable 226s `JUPYTER_PLATFORM_DIRS=1` and then run `jupyter --paths`. 226s The use of platformdirs will be the default in `jupyter_core` v6 226s from jupyter_core.paths import jupyter_data_dir, jupyter_runtime_dir, secure_write 226s 226s ../../../usr/lib/python3/dist-packages/ipykernel/jsonutil.py:29 226s /usr/lib/python3/dist-packages/ipykernel/jsonutil.py:29: DeprecationWarning: Parsing dates involving a day of month without a year specified is ambiguious 226s and fails to parse leap day. The default behavior will change in Python 3.15 226s to either always raise an exception or to use a different default year (TBD). 226s To avoid trouble, add a specific year to the input & format. 226s See https://github.com/python/cpython/issues/70647. 226s datetime.strptime("1", "%d") 226s 226s tests/inprocess/test_kernel.py::test_getpass_stream 226s /tmp/autopkgtest.C2ebVB/autopkgtest_tmp/tests/inprocess/test_kernel.py:115: UserWarning: The `stream` parameter of `getpass.getpass` will have no effect when using ipykernel 226s kernel.getpass(stream="non empty") 226s 226s tests/inprocess/test_kernel.py: 1 warning 226s tests/test_io.py: 1 warning 226s tests/test_ipkernel_direct.py: 16 warnings 226s tests/test_kernel_direct.py: 19 warnings 226s /usr/lib/python3/dist-packages/_pytest/python.py:148: PytestUnhandledCoroutineWarning: async def functions are not natively supported and have been skipped. 226s You need to install a suitable plugin for your async framework, for example: 226s - anyio 226s - pytest-asyncio 226s - pytest-tornasync 226s - pytest-trio 226s - pytest-twisted 226s warnings.warn(PytestUnhandledCoroutineWarning(msg.format(nodeid))) 226s 226s tests/test_eventloop.py::test_asyncio_interrupt 226s /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread Thread-14 (trigger_stop) 226s 226s Traceback (most recent call last): 226s File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner 226s self.run() 226s ~~~~~~~~^^ 226s File "/usr/lib/python3/dist-packages/ipykernel/ipkernel.py", line 766, in run_closure 226s _threading_Thread_run(self) 226s ~~~~~~~~~~~~~~~~~~~~~^^^^^^ 226s File "/usr/lib/python3/dist-packages/ipykernel/ipkernel.py", line 766, in run_closure 226s _threading_Thread_run(self) 226s ~~~~~~~~~~~~~~~~~~~~~^^^^^^ 226s File "/usr/lib/python3/dist-packages/ipykernel/ipkernel.py", line 766, in run_closure 226s _threading_Thread_run(self) 226s ~~~~~~~~~~~~~~~~~~~~~^^^^^^ 226s [Previous line repeated 12 more times] 226s File "/usr/lib/python3.13/threading.py", line 992, in run 226s self._target(*self._args, **self._kwargs) 226s ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 226s File "/tmp/autopkgtest.C2ebVB/autopkgtest_tmp/tests/test_embed_kernel.py", line 209, in trigger_stop 226s app.io_loop.add_callback(app.io_loop.stop) 226s ^^^^^^^^^^^ 226s AttributeError: 'IPKernelApp' object has no attribute 'io_loop'. Did you mean: 'trio_loop'? 226s 226s warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) 226s 226s tests/test_zmq_shell.py::test_magics 226s /usr/lib/python3.13/pty.py:95: DeprecationWarning: This process (pid=2378) is multi-threaded, use of forkpty() may lead to deadlocks in the child. 226s pid, fd = os.forkpty() 226s 226s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 226s ===Flaky Test Report=== 226s 226s test_interface passed 1 out of the required 1 times. Success! 226s test_embed_kernel_basic failed (2 runs remaining out of 3). 226s 226s Connection file '/home/ubuntu/.local/share/jupyter/runtime/kernel-2755.json' never arrived 226s [, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ] 226s test_embed_kernel_basic failed (1 runs remaining out of 3). 226s 226s Kernel failed to start: 226s Traceback (most recent call last): 226s File "", line 6, in 226s go() 226s ~~^^ 226s File "", line 5, in go 226s embed_kernel() 226s ~~~~~~~~~~~~^^ 226s File "/usr/lib/python3/dist-packages/IPython/__init__.py", line 102, in embed_kernel 226s real_embed_kernel(module=module, local_ns=local_ns, **kwargs) 226s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 226s File "/usr/lib/python3/dist-packages/ipykernel/embed.py", line 55, in embed_kernel 226s app.kernel.user_ns = local_ns 226s ^^^^^^^^^^^^^^^^^^ 226s File "/usr/lib/python3/dist-packages/traitlets/traitlets.py", line 716, in __set__ 226s self.set(obj, value) 226s ~~~~~~~~^^^^^^^^^^^^ 226s File "/usr/lib/python3/dist-packages/traitlets/traitlets.py", line 690, in set 226s new_value = self._validate(obj, value) 226s File "/usr/lib/python3/dist-packages/traitlets/traitlets.py", line 722, in _validate 226s value = self.validate(obj, value) 226s File "/usr/lib/python3/dist-packages/traitlets/traitlets.py", line 2311, in validate 226s self.error(obj, value) 226s ~~~~~~~~~~^^^^^^^^^^^^ 226s File "/usr/lib/python3/dist-packages/traitlets/traitlets.py", line 831, in error 226s raise TraitError(e) 226s traitlets.traitlets.TraitError: The 'user_ns' trait of an IPythonKernel instance expected a dict or None, not the FrameLocalsProxy {'a': 5, 'b': 'hi there'}. 226s 226s [, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ] 226s test_embed_kernel_basic failed; it passed 0 out of the required 1 times. 226s 226s Connection file '/home/ubuntu/.local/share/jupyter/runtime/kernel-2775.json' never arrived 226s [, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ] 226s test_embed_kernel_namespace failed (2 runs remaining out of 3). 226s 226s Connection file '/home/ubuntu/.local/share/jupyter/runtime/kernel-2785.json' never arrived 226s [, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ] 226s test_embed_kernel_namespace failed (1 runs remaining out of 3). 226s 226s Connection file '/home/ubuntu/.local/share/jupyter/runtime/kernel-2795.json' never arrived 226s [, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ] 226s test_embed_kernel_namespace failed; it passed 0 out of the required 1 times. 226s 226s Connection file '/home/ubuntu/.local/share/jupyter/runtime/kernel-2805.json' never arrived 226s [, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ] 226s test_embed_kernel_reentrant failed (2 runs remaining out of 3). 226s 226s Connection file '/home/ubuntu/.local/share/jupyter/runtime/kernel-2815.json' never arrived 226s [, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ] 226s test_embed_kernel_reentrant failed (1 runs remaining out of 3). 226s 226s Connection file '/home/ubuntu/.local/share/jupyter/runtime/kernel-2825.json' never arrived 226s [, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ] 226s test_embed_kernel_reentrant failed; it passed 0 out of the required 1 times. 226s 226s Connection file '/home/ubuntu/.local/share/jupyter/runtime/kernel-2835.json' never arrived 226s [, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ] 226s test_subprocess_print passed 1 out of the required 1 times. Success! 226s test_subprocess_noprint passed 1 out of the required 1 times. Success! 226s test_subprocess_error passed 1 out of the required 1 times. Success! 226s test_ipython_start_kernel_userns passed 1 out of the required 1 times. Success! 226s test_ipython_start_kernel_no_userns passed 1 out of the required 1 times. Success! 226s 226s ===End Flaky Test Report=== 226s =========================== short test summary info ============================ 226s FAILED tests/inprocess/test_kernelmanager.py::InProcessKernelManagerTestCase::test_complete 226s FAILED tests/test_embed_kernel.py::test_embed_kernel_basic - OSError: Connect... 226s FAILED tests/test_embed_kernel.py::test_embed_kernel_namespace - OSError: Con... 226s FAILED tests/test_embed_kernel.py::test_embed_kernel_reentrant - OSError: Con... 226s FAILED tests/test_embed_kernel.py::test_embed_kernel_func - traitlets.traitle... 226s FAILED tests/test_kernelspec.py::test_install_kernelspec - traitlets.config.c... 226s FAILED tests/test_zmq_shell.py::test_zmq_interactive_shell - Failed: DID NOT ... 226s = 7 failed, 123 passed, 55 skipped, 1 deselected, 42 warnings in 75.51s (0:01:15) = 227s autopkgtest [20:41:08]: test pytest: -----------------------] 228s autopkgtest [20:41:09]: test pytest: - - - - - - - - - - results - - - - - - - - - - 228s pytest FAIL non-zero exit status 1 228s autopkgtest [20:41:09]: @@@@@@@@@@@@@@@@@@@@ summary 228s pytest FAIL non-zero exit status 1 235s virt: nova [W] Skipping flock for amd64 235s virt: Creating nova instance adt-plucky-amd64-ipykernel-20241123-203721-juju-7f2275-prod-proposed-migration-environment-2-f4faa0ee-9b02-45f9-b844-80873636a355 from image adt/ubuntu-plucky-amd64-server-20241119.img (UUID 2e5306de-7efa-448c-bc27-5518979e66f0)...