0s autopkgtest [23:24:14]: starting date and time: 2026-01-22 23:24:14+0000 0s autopkgtest [23:24:14]: git checkout: 508d4a25 a-v-ssh wait_for_ssh: demote "ssh connection failed" to a debug message 0s autopkgtest [23:24:14]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.1fz96fss/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_proxy=127.0.0.1,127.0.1.1,localhost,localdomain,internal,login.ubuntu.com,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com\n" >> /etc/environment' --apt-pocket=proposed=src:python3-defaults --apt-upgrade python-requests-unixsocket --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python3-defaults/3.14.2-1 -- lxd -r lxd-armhf-10.145.243.230 lxd-armhf-10.145.243.230:autopkgtest/ubuntu/resolute/armhf 25s autopkgtest [23:24:39]: testbed dpkg architecture: armhf 27s autopkgtest [23:24:41]: testbed apt version: 3.1.12 30s autopkgtest [23:24:44]: @@@@@@@@@@@@@@@@@@@@ test bed setup 32s autopkgtest [23:24:46]: testbed release detected to be: None 40s autopkgtest [23:24:54]: updating testbed package index (apt update) 42s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 42s Get:2 http://ftpmaster.internal/ubuntu resolute InRelease [124 kB] 43s Get:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease [124 kB] 43s Get:4 http://ftpmaster.internal/ubuntu resolute-security InRelease [124 kB] 43s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1011 kB] 43s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2820 B] 43s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [22.2 kB] 43s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [81.6 kB] 43s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf Packages [95.3 kB] 43s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe armhf Packages [658 kB] 43s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse armhf Packages [4896 B] 43s Get:12 http://ftpmaster.internal/ubuntu resolute/multiverse Sources [310 kB] 43s Get:13 http://ftpmaster.internal/ubuntu resolute/universe Sources [21.4 MB] 44s Get:14 http://ftpmaster.internal/ubuntu resolute/main Sources [1398 kB] 44s Get:15 http://ftpmaster.internal/ubuntu resolute/main armhf Packages [1371 kB] 44s Get:16 http://ftpmaster.internal/ubuntu resolute/universe armhf Packages [15.2 MB] 44s Get:17 http://ftpmaster.internal/ubuntu resolute/multiverse armhf Packages [175 kB] 48s Fetched 42.2 MB in 5s (7767 kB/s) 49s Reading package lists... 55s autopkgtest [23:25:09]: upgrading testbed (apt dist-upgrade and autopurge) 56s Reading package lists... 57s Building dependency tree... 57s Reading state information... 57s Calculating upgrade... 58s The following packages were automatically installed and are no longer required: 58s libpython3.13-minimal libpython3.13-stdlib python3.13 python3.13-minimal 58s Use 'apt autoremove' to remove them. 58s The following NEW packages will be installed: 58s libpython3.14-minimal libpython3.14-stdlib python3.14 python3.14-minimal 58s The following packages will be upgraded: 58s libplymouth5 libpython3-stdlib plymouth plymouth-theme-ubuntu-text python3 58s python3-gdbm python3-minimal 58s 7 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 58s Need to get 6525 kB of archives. 58s After this operation, 22.5 MB of additional disk space will be used. 58s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf libpython3.14-minimal armhf 3.14.2-1 [905 kB] 59s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf python3.14-minimal armhf 3.14.2-1 [2155 kB] 59s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3-gdbm armhf 3.14.2-1 [11.1 kB] 59s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3-minimal armhf 3.14.2-1 [28.2 kB] 59s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3 armhf 3.14.2-1 [22.9 kB] 59s Get:6 http://ftpmaster.internal/ubuntu resolute/main armhf libpython3.14-stdlib armhf 3.14.2-1 [2270 kB] 59s Get:7 http://ftpmaster.internal/ubuntu resolute/main armhf python3.14 armhf 3.14.2-1 [816 kB] 59s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf libpython3-stdlib armhf 3.14.2-1 [10.9 kB] 59s Get:9 http://ftpmaster.internal/ubuntu resolute/main armhf libplymouth5 armhf 24.004.60+git20250831.4a3c171d-0ubuntu4 [147 kB] 59s Get:10 http://ftpmaster.internal/ubuntu resolute/main armhf plymouth-theme-ubuntu-text armhf 24.004.60+git20250831.4a3c171d-0ubuntu4 [10.0 kB] 59s Get:11 http://ftpmaster.internal/ubuntu resolute/main armhf plymouth armhf 24.004.60+git20250831.4a3c171d-0ubuntu4 [150 kB] 59s Fetched 6525 kB in 1s (7879 kB/s) 59s Selecting previously unselected package libpython3.14-minimal:armhf. 59s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 66485 files and directories currently installed.) 59s Preparing to unpack .../libpython3.14-minimal_3.14.2-1_armhf.deb ... 59s Unpacking libpython3.14-minimal:armhf (3.14.2-1) ... 60s Selecting previously unselected package python3.14-minimal. 60s Preparing to unpack .../python3.14-minimal_3.14.2-1_armhf.deb ... 60s Unpacking python3.14-minimal (3.14.2-1) ... 60s Preparing to unpack .../python3-gdbm_3.14.2-1_armhf.deb ... 60s Unpacking python3-gdbm (3.14.2-1) over (3.13.9-1) ... 60s Setting up libpython3.14-minimal:armhf (3.14.2-1) ... 60s Setting up python3.14-minimal (3.14.2-1) ... 61s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 66827 files and directories currently installed.) 61s Preparing to unpack .../python3-minimal_3.14.2-1_armhf.deb ... 61s Unpacking python3-minimal (3.14.2-1) over (3.13.7-1) ... 61s Setting up python3-minimal (3.14.2-1) ... 62s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 66827 files and directories currently installed.) 62s Preparing to unpack .../0-python3_3.14.2-1_armhf.deb ... 62s Unpacking python3 (3.14.2-1) over (3.13.7-1) ... 62s Selecting previously unselected package libpython3.14-stdlib:armhf. 62s Preparing to unpack .../1-libpython3.14-stdlib_3.14.2-1_armhf.deb ... 62s Unpacking libpython3.14-stdlib:armhf (3.14.2-1) ... 62s Selecting previously unselected package python3.14. 62s Preparing to unpack .../2-python3.14_3.14.2-1_armhf.deb ... 62s Unpacking python3.14 (3.14.2-1) ... 62s Preparing to unpack .../3-libpython3-stdlib_3.14.2-1_armhf.deb ... 62s Unpacking libpython3-stdlib:armhf (3.14.2-1) over (3.13.7-1) ... 62s Preparing to unpack .../4-libplymouth5_24.004.60+git20250831.4a3c171d-0ubuntu4_armhf.deb ... 62s Unpacking libplymouth5:armhf (24.004.60+git20250831.4a3c171d-0ubuntu4) over (24.004.60+git20250831.4a3c171d-0ubuntu3) ... 62s Preparing to unpack .../5-plymouth-theme-ubuntu-text_24.004.60+git20250831.4a3c171d-0ubuntu4_armhf.deb ... 62s Unpacking plymouth-theme-ubuntu-text (24.004.60+git20250831.4a3c171d-0ubuntu4) over (24.004.60+git20250831.4a3c171d-0ubuntu3) ... 62s Preparing to unpack .../6-plymouth_24.004.60+git20250831.4a3c171d-0ubuntu4_armhf.deb ... 62s Unpacking plymouth (24.004.60+git20250831.4a3c171d-0ubuntu4) over (24.004.60+git20250831.4a3c171d-0ubuntu3) ... 62s Setting up libpython3.14-stdlib:armhf (3.14.2-1) ... 62s Setting up libplymouth5:armhf (24.004.60+git20250831.4a3c171d-0ubuntu4) ... 62s Setting up python3.14 (3.14.2-1) ... 64s Setting up libpython3-stdlib:armhf (3.14.2-1) ... 64s Setting up python3-gdbm (3.14.2-1) ... 64s Setting up plymouth (24.004.60+git20250831.4a3c171d-0ubuntu4) ... 64s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 64s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 64s Setting up python3 (3.14.2-1) ... 65s Processing triggers for libc-bin (2.42-2ubuntu4) ... 65s Processing triggers for systemd (259-1ubuntu2) ... 65s Processing triggers for man-db (2.13.1-1) ... 66s Processing triggers for initramfs-tools (0.150ubuntu7) ... 66s Setting up plymouth-theme-ubuntu-text (24.004.60+git20250831.4a3c171d-0ubuntu4) ... 66s Processing triggers for initramfs-tools (0.150ubuntu7) ... 68s Reading package lists... 69s Building dependency tree... 69s Reading state information... 69s Solving dependencies... 69s The following packages will be REMOVED: 69s libpython3.13-minimal* libpython3.13-stdlib* python3.13* python3.13-minimal* 70s 0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded. 70s After this operation, 21.3 MB disk space will be freed. 70s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 67257 files and directories currently installed.) 70s Removing python3.13 (3.13.11-1) ... 70s Removing libpython3.13-stdlib:armhf (3.13.11-1) ... 70s Removing python3.13-minimal (3.13.11-1) ... 71s Removing libpython3.13-minimal:armhf (3.13.11-1) ... 71s Processing triggers for man-db (2.13.1-1) ... 72s Processing triggers for systemd (259-1ubuntu2) ... 72s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 66518 files and directories currently installed.) 72s Purging configuration files for libpython3.13-minimal:armhf (3.13.11-1) ... 72s Purging configuration files for python3.13-minimal (3.13.11-1) ... 74s autopkgtest [23:25:28]: rebooting testbed after setup commands that affected boot 117s autopkgtest [23:26:11]: testbed running kernel: Linux 6.8.0-87-generic #88~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Oct 14 14:00:09 UTC 2 143s autopkgtest [23:26:37]: @@@@@@@@@@@@@@@@@@@@ apt-source python-requests-unixsocket 155s Get:1 http://ftpmaster.internal/ubuntu resolute/universe python-requests-unixsocket 1.0.1-1 (dsc) [2397 B] 155s Get:2 http://ftpmaster.internal/ubuntu resolute/universe python-requests-unixsocket 1.0.1-1 (tar) [37.4 kB] 155s Get:3 http://ftpmaster.internal/ubuntu resolute/universe python-requests-unixsocket 1.0.1-1 (diff) [3744 B] 155s gpgv: Signature made Sat Nov 29 17:21:37 2025 UTC 155s gpgv: using RSA key A0B1A9F3508956130E7A425CD416AD15AC6B43FE 155s gpgv: Can't check signature: No public key 155s dpkg-source: warning: cannot verify inline signature for ./python-requests-unixsocket_1.0.1-1.dsc: no acceptable signature found 155s autopkgtest [23:26:49]: testing package python-requests-unixsocket version 1.0.1-1 157s autopkgtest [23:26:51]: build not needed 159s autopkgtest [23:26:53]: test python3-requests-unixsocket: preparing testbed 161s Reading package lists... 161s Building dependency tree... 161s Reading state information... 161s Solving dependencies... 162s The following NEW packages will be installed: 162s autoconf automake autopoint autotools-dev build-essential cpp cpp-15 162s cpp-15-arm-linux-gnueabihf cpp-arm-linux-gnueabihf debhelper debugedit 162s dh-autoreconf dh-python dh-strip-nondeterminism dwz g++ g++-15 162s g++-15-arm-linux-gnueabihf g++-arm-linux-gnueabihf gcc gcc-15 162s gcc-15-arm-linux-gnueabihf gcc-arm-linux-gnueabihf gettext intltool-debian 162s libarchive-zip-perl libasan8 libc-dev-bin libc6-dev libcc1-0 libcrypt-dev 162s libdebhelper-perl libdw1t64 libfile-stripnondeterminism-perl libgcc-15-dev 162s libgomp1 libisl23 libmpc3 libpython3.13-minimal libpython3.13-stdlib 162s libstdc++-15-dev libtool libubsan1 linux-libc-dev m4 openstack-pkg-tools 162s po-debconf pybuild-plugin-pyproject python3-all python3-build 162s python3-hatchling python3-iniconfig python3-installer python3-pathspec 162s python3-pbr python3-pip python3-pluggy python3-pyproject-hooks 162s python3-pytest python3-requests-unixsocket python3-trove-classifiers 162s python3-waitress python3-wheel python3.13 python3.13-minimal rpcsvc-proto 162s 0 upgraded, 66 newly installed, 0 to remove and 0 not upgraded. 162s Need to get 66.1 MB of archives. 162s After this operation, 203 MB of additional disk space will be used. 162s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf libpython3.13-minimal armhf 3.13.11-1 [875 kB] 163s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf python3.13-minimal armhf 3.13.11-1 [2055 kB] 166s Get:3 http://ftpmaster.internal/ubuntu resolute/main armhf libpython3.13-stdlib armhf 3.13.11-1 [1960 kB] 169s Get:4 http://ftpmaster.internal/ubuntu resolute/main armhf python3.13 armhf 3.13.11-1 [758 kB] 171s Get:5 http://ftpmaster.internal/ubuntu resolute/main armhf m4 armhf 1.4.20-2 [212 kB] 171s Get:6 http://ftpmaster.internal/ubuntu resolute/main armhf autoconf all 2.72-3.1ubuntu1 [384 kB] 171s Get:7 http://ftpmaster.internal/ubuntu resolute/main armhf autotools-dev all 20240727.1 [43.4 kB] 172s Get:8 http://ftpmaster.internal/ubuntu resolute/main armhf automake all 1:1.18.1-3build1 [582 kB] 172s Get:9 http://ftpmaster.internal/ubuntu resolute/main armhf autopoint all 0.23.2-1 [620 kB] 173s Get:10 http://ftpmaster.internal/ubuntu resolute/main armhf libc-dev-bin armhf 2.42-2ubuntu4 [21.8 kB] 173s Get:11 http://ftpmaster.internal/ubuntu resolute/main armhf linux-libc-dev armhf 6.18.0-9.9 [1819 kB] 175s Get:12 http://ftpmaster.internal/ubuntu resolute/main armhf libcrypt-dev armhf 1:4.5.1-1 [128 kB] 175s Get:13 http://ftpmaster.internal/ubuntu resolute/main armhf rpcsvc-proto armhf 1.4.3-1 [62.3 kB] 176s Get:14 http://ftpmaster.internal/ubuntu resolute/main armhf libc6-dev armhf 2.42-2ubuntu4 [1416 kB] 178s Get:15 http://ftpmaster.internal/ubuntu resolute/main armhf libisl23 armhf 0.27-1build1 [553 kB] 178s Get:16 http://ftpmaster.internal/ubuntu resolute/main armhf libmpc3 armhf 1.3.1-2 [47.0 kB] 178s Get:17 http://ftpmaster.internal/ubuntu resolute/main armhf cpp-15-arm-linux-gnueabihf armhf 15.2.0-11ubuntu1 [10.1 MB] 189s Get:18 http://ftpmaster.internal/ubuntu resolute/main armhf cpp-15 armhf 15.2.0-11ubuntu1 [1032 B] 189s Get:19 http://ftpmaster.internal/ubuntu resolute/main armhf cpp-arm-linux-gnueabihf armhf 4:15.2.0-4ubuntu1 [5756 B] 189s Get:20 http://ftpmaster.internal/ubuntu resolute/main armhf cpp armhf 4:15.2.0-4ubuntu1 [22.4 kB] 189s Get:21 http://ftpmaster.internal/ubuntu resolute/main armhf libcc1-0 armhf 15.2.0-11ubuntu1 [43.5 kB] 189s Get:22 http://ftpmaster.internal/ubuntu resolute/main armhf libgomp1 armhf 15.2.0-11ubuntu1 [129 kB] 189s Get:23 http://ftpmaster.internal/ubuntu resolute/main armhf libasan8 armhf 15.2.0-11ubuntu1 [2947 kB] 192s Get:24 http://ftpmaster.internal/ubuntu resolute/main armhf libubsan1 armhf 15.2.0-11ubuntu1 [1187 kB] 192s Get:25 http://ftpmaster.internal/ubuntu resolute/main armhf libgcc-15-dev armhf 15.2.0-11ubuntu1 [898 kB] 193s Get:26 http://ftpmaster.internal/ubuntu resolute/main armhf gcc-15-arm-linux-gnueabihf armhf 15.2.0-11ubuntu1 [19.5 MB] 215s Get:27 http://ftpmaster.internal/ubuntu resolute/main armhf gcc-15 armhf 15.2.0-11ubuntu1 [497 kB] 215s Get:28 http://ftpmaster.internal/ubuntu resolute/main armhf gcc-arm-linux-gnueabihf armhf 4:15.2.0-4ubuntu1 [1220 B] 215s Get:29 http://ftpmaster.internal/ubuntu resolute/main armhf gcc armhf 4:15.2.0-4ubuntu1 [5022 B] 215s Get:30 http://ftpmaster.internal/ubuntu resolute/main armhf libstdc++-15-dev armhf 15.2.0-11ubuntu1 [2638 kB] 219s Get:31 http://ftpmaster.internal/ubuntu resolute/main armhf g++-15-arm-linux-gnueabihf armhf 15.2.0-11ubuntu1 [11.4 MB] 234s Get:32 http://ftpmaster.internal/ubuntu resolute/main armhf g++-15 armhf 15.2.0-11ubuntu1 [24.6 kB] 234s Get:33 http://ftpmaster.internal/ubuntu resolute/main armhf g++-arm-linux-gnueabihf armhf 4:15.2.0-4ubuntu1 [968 B] 234s Get:34 http://ftpmaster.internal/ubuntu resolute/main armhf g++ armhf 4:15.2.0-4ubuntu1 [1086 B] 234s Get:35 http://ftpmaster.internal/ubuntu resolute/main armhf build-essential armhf 12.12ubuntu2 [5256 B] 234s Get:36 http://ftpmaster.internal/ubuntu resolute/main armhf libdebhelper-perl all 13.28ubuntu1 [97.4 kB] 234s Get:37 http://ftpmaster.internal/ubuntu resolute/main armhf libtool all 2.5.4-9 [169 kB] 235s Get:38 http://ftpmaster.internal/ubuntu resolute/main armhf dh-autoreconf all 21 [12.5 kB] 235s Get:39 http://ftpmaster.internal/ubuntu resolute/main armhf libarchive-zip-perl all 1.68-1 [90.2 kB] 235s Get:40 http://ftpmaster.internal/ubuntu resolute/main armhf libfile-stripnondeterminism-perl all 1.15.0-1build1 [20.6 kB] 235s Get:41 http://ftpmaster.internal/ubuntu resolute/main armhf dh-strip-nondeterminism all 1.15.0-1build1 [5110 B] 235s Get:42 http://ftpmaster.internal/ubuntu resolute/main armhf libdw1t64 armhf 0.194-1 [254 kB] 235s Get:43 http://ftpmaster.internal/ubuntu resolute/main armhf debugedit armhf 1:5.2-3 [48.9 kB] 235s Get:44 http://ftpmaster.internal/ubuntu resolute/main armhf dwz armhf 0.16-2 [114 kB] 235s Get:45 http://ftpmaster.internal/ubuntu resolute/main armhf gettext armhf 0.23.2-1 [1059 kB] 237s Get:46 http://ftpmaster.internal/ubuntu resolute/main armhf intltool-debian all 0.35.0+20060710.6build1 [24.1 kB] 237s Get:47 http://ftpmaster.internal/ubuntu resolute/main armhf po-debconf all 1.0.22 [215 kB] 237s Get:48 http://ftpmaster.internal/ubuntu resolute/main armhf debhelper all 13.28ubuntu1 [916 kB] 238s Get:49 http://ftpmaster.internal/ubuntu resolute/universe armhf dh-python all 7.20251231 [122 kB] 238s Get:50 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-pyproject-hooks all 1.2.0-1 [10.2 kB] 238s Get:51 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-wheel all 0.46.1-2 [22.1 kB] 238s Get:52 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-build all 1.2.2-5 [30.9 kB] 238s Get:53 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-installer all 0.7.0+dfsg1-3 [17.4 kB] 238s Get:54 http://ftpmaster.internal/ubuntu resolute/universe armhf pybuild-plugin-pyproject all 7.20251231 [1714 B] 238s Get:55 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3-all armhf 3.14.2-1 [888 B] 238s Get:56 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-pathspec all 0.12.1-1build1 [24.6 kB] 238s Get:57 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-pluggy all 1.6.0-2 [21.1 kB] 238s Get:58 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-trove-classifiers all 2025.11.14.15-1 [11.1 kB] 238s Get:59 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-hatchling all 1.28.0-1 [47.3 kB] 238s Get:60 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-iniconfig all 2.1.0-2 [6962 B] 238s Get:61 http://ftpmaster.internal/ubuntu resolute/main armhf python3-pbr all 6.1.1-0ubuntu2 [58.3 kB] 239s Get:62 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-pip all 25.1.1+dfsg-1ubuntu2 [1416 kB] 240s Get:63 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-pytest all 9.0.2-2 [277 kB] 241s Get:64 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-requests-unixsocket all 1.0.1-1 [8620 B] 241s Get:65 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-waitress all 3.0.2-2 [46.3 kB] 241s Get:66 http://ftpmaster.internal/ubuntu resolute/universe armhf openstack-pkg-tools all 140 [103 kB] 242s Fetched 66.1 MB in 1min 19s (841 kB/s) 242s Selecting previously unselected package libpython3.13-minimal:armhf. 242s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 66518 files and directories currently installed.) 242s Preparing to unpack .../00-libpython3.13-minimal_3.13.11-1_armhf.deb ... 242s Unpacking libpython3.13-minimal:armhf (3.13.11-1) ... 242s Selecting previously unselected package python3.13-minimal. 242s Preparing to unpack .../01-python3.13-minimal_3.13.11-1_armhf.deb ... 242s Unpacking python3.13-minimal (3.13.11-1) ... 242s Selecting previously unselected package libpython3.13-stdlib:armhf. 242s Preparing to unpack .../02-libpython3.13-stdlib_3.13.11-1_armhf.deb ... 242s Unpacking libpython3.13-stdlib:armhf (3.13.11-1) ... 242s Selecting previously unselected package python3.13. 242s Preparing to unpack .../03-python3.13_3.13.11-1_armhf.deb ... 242s Unpacking python3.13 (3.13.11-1) ... 242s Selecting previously unselected package m4. 242s Preparing to unpack .../04-m4_1.4.20-2_armhf.deb ... 242s Unpacking m4 (1.4.20-2) ... 242s Selecting previously unselected package autoconf. 242s Preparing to unpack .../05-autoconf_2.72-3.1ubuntu1_all.deb ... 242s Unpacking autoconf (2.72-3.1ubuntu1) ... 242s Selecting previously unselected package autotools-dev. 242s Preparing to unpack .../06-autotools-dev_20240727.1_all.deb ... 242s Unpacking autotools-dev (20240727.1) ... 242s Selecting previously unselected package automake. 242s Preparing to unpack .../07-automake_1%3a1.18.1-3build1_all.deb ... 242s Unpacking automake (1:1.18.1-3build1) ... 242s Selecting previously unselected package autopoint. 242s Preparing to unpack .../08-autopoint_0.23.2-1_all.deb ... 242s Unpacking autopoint (0.23.2-1) ... 242s Selecting previously unselected package libc-dev-bin. 242s Preparing to unpack .../09-libc-dev-bin_2.42-2ubuntu4_armhf.deb ... 242s Unpacking libc-dev-bin (2.42-2ubuntu4) ... 242s Selecting previously unselected package linux-libc-dev:armhf. 242s Preparing to unpack .../10-linux-libc-dev_6.18.0-9.9_armhf.deb ... 242s Unpacking linux-libc-dev:armhf (6.18.0-9.9) ... 243s Selecting previously unselected package libcrypt-dev:armhf. 243s Preparing to unpack .../11-libcrypt-dev_1%3a4.5.1-1_armhf.deb ... 243s Unpacking libcrypt-dev:armhf (1:4.5.1-1) ... 243s Selecting previously unselected package rpcsvc-proto. 243s Preparing to unpack .../12-rpcsvc-proto_1.4.3-1_armhf.deb ... 243s Unpacking rpcsvc-proto (1.4.3-1) ... 243s Selecting previously unselected package libc6-dev:armhf. 243s Preparing to unpack .../13-libc6-dev_2.42-2ubuntu4_armhf.deb ... 243s Unpacking libc6-dev:armhf (2.42-2ubuntu4) ... 243s Selecting previously unselected package libisl23:armhf. 243s Preparing to unpack .../14-libisl23_0.27-1build1_armhf.deb ... 243s Unpacking libisl23:armhf (0.27-1build1) ... 243s Selecting previously unselected package libmpc3:armhf. 243s Preparing to unpack .../15-libmpc3_1.3.1-2_armhf.deb ... 243s Unpacking libmpc3:armhf (1.3.1-2) ... 243s Selecting previously unselected package cpp-15-arm-linux-gnueabihf. 243s Preparing to unpack .../16-cpp-15-arm-linux-gnueabihf_15.2.0-11ubuntu1_armhf.deb ... 243s Unpacking cpp-15-arm-linux-gnueabihf (15.2.0-11ubuntu1) ... 243s Selecting previously unselected package cpp-15. 243s Preparing to unpack .../17-cpp-15_15.2.0-11ubuntu1_armhf.deb ... 243s Unpacking cpp-15 (15.2.0-11ubuntu1) ... 243s Selecting previously unselected package cpp-arm-linux-gnueabihf. 243s Preparing to unpack .../18-cpp-arm-linux-gnueabihf_4%3a15.2.0-4ubuntu1_armhf.deb ... 243s Unpacking cpp-arm-linux-gnueabihf (4:15.2.0-4ubuntu1) ... 243s Selecting previously unselected package cpp. 243s Preparing to unpack .../19-cpp_4%3a15.2.0-4ubuntu1_armhf.deb ... 243s Unpacking cpp (4:15.2.0-4ubuntu1) ... 243s Selecting previously unselected package libcc1-0:armhf. 243s Preparing to unpack .../20-libcc1-0_15.2.0-11ubuntu1_armhf.deb ... 243s Unpacking libcc1-0:armhf (15.2.0-11ubuntu1) ... 243s Selecting previously unselected package libgomp1:armhf. 243s Preparing to unpack .../21-libgomp1_15.2.0-11ubuntu1_armhf.deb ... 243s Unpacking libgomp1:armhf (15.2.0-11ubuntu1) ... 243s Selecting previously unselected package libasan8:armhf. 244s Preparing to unpack .../22-libasan8_15.2.0-11ubuntu1_armhf.deb ... 244s Unpacking libasan8:armhf (15.2.0-11ubuntu1) ... 244s Selecting previously unselected package libubsan1:armhf. 244s Preparing to unpack .../23-libubsan1_15.2.0-11ubuntu1_armhf.deb ... 244s Unpacking libubsan1:armhf (15.2.0-11ubuntu1) ... 244s Selecting previously unselected package libgcc-15-dev:armhf. 244s Preparing to unpack .../24-libgcc-15-dev_15.2.0-11ubuntu1_armhf.deb ... 244s Unpacking libgcc-15-dev:armhf (15.2.0-11ubuntu1) ... 244s Selecting previously unselected package gcc-15-arm-linux-gnueabihf. 244s Preparing to unpack .../25-gcc-15-arm-linux-gnueabihf_15.2.0-11ubuntu1_armhf.deb ... 244s Unpacking gcc-15-arm-linux-gnueabihf (15.2.0-11ubuntu1) ... 244s Selecting previously unselected package gcc-15. 244s Preparing to unpack .../26-gcc-15_15.2.0-11ubuntu1_armhf.deb ... 244s Unpacking gcc-15 (15.2.0-11ubuntu1) ... 244s Selecting previously unselected package gcc-arm-linux-gnueabihf. 244s Preparing to unpack .../27-gcc-arm-linux-gnueabihf_4%3a15.2.0-4ubuntu1_armhf.deb ... 244s Unpacking gcc-arm-linux-gnueabihf (4:15.2.0-4ubuntu1) ... 244s Selecting previously unselected package gcc. 244s Preparing to unpack .../28-gcc_4%3a15.2.0-4ubuntu1_armhf.deb ... 244s Unpacking gcc (4:15.2.0-4ubuntu1) ... 244s Selecting previously unselected package libstdc++-15-dev:armhf. 244s Preparing to unpack .../29-libstdc++-15-dev_15.2.0-11ubuntu1_armhf.deb ... 244s Unpacking libstdc++-15-dev:armhf (15.2.0-11ubuntu1) ... 245s Selecting previously unselected package g++-15-arm-linux-gnueabihf. 245s Preparing to unpack .../30-g++-15-arm-linux-gnueabihf_15.2.0-11ubuntu1_armhf.deb ... 245s Unpacking g++-15-arm-linux-gnueabihf (15.2.0-11ubuntu1) ... 245s Selecting previously unselected package g++-15. 245s Preparing to unpack .../31-g++-15_15.2.0-11ubuntu1_armhf.deb ... 245s Unpacking g++-15 (15.2.0-11ubuntu1) ... 245s Selecting previously unselected package g++-arm-linux-gnueabihf. 245s Preparing to unpack .../32-g++-arm-linux-gnueabihf_4%3a15.2.0-4ubuntu1_armhf.deb ... 245s Unpacking g++-arm-linux-gnueabihf (4:15.2.0-4ubuntu1) ... 245s Selecting previously unselected package g++. 245s Preparing to unpack .../33-g++_4%3a15.2.0-4ubuntu1_armhf.deb ... 245s Unpacking g++ (4:15.2.0-4ubuntu1) ... 245s Selecting previously unselected package build-essential. 245s Preparing to unpack .../34-build-essential_12.12ubuntu2_armhf.deb ... 245s Unpacking build-essential (12.12ubuntu2) ... 245s Selecting previously unselected package libdebhelper-perl. 245s Preparing to unpack .../35-libdebhelper-perl_13.28ubuntu1_all.deb ... 245s Unpacking libdebhelper-perl (13.28ubuntu1) ... 245s Selecting previously unselected package libtool. 245s Preparing to unpack .../36-libtool_2.5.4-9_all.deb ... 246s Unpacking libtool (2.5.4-9) ... 246s Selecting previously unselected package dh-autoreconf. 246s Preparing to unpack .../37-dh-autoreconf_21_all.deb ... 246s Unpacking dh-autoreconf (21) ... 246s Selecting previously unselected package libarchive-zip-perl. 246s Preparing to unpack .../38-libarchive-zip-perl_1.68-1_all.deb ... 246s Unpacking libarchive-zip-perl (1.68-1) ... 246s Selecting previously unselected package libfile-stripnondeterminism-perl. 246s Preparing to unpack .../39-libfile-stripnondeterminism-perl_1.15.0-1build1_all.deb ... 246s Unpacking libfile-stripnondeterminism-perl (1.15.0-1build1) ... 246s Selecting previously unselected package dh-strip-nondeterminism. 246s Preparing to unpack .../40-dh-strip-nondeterminism_1.15.0-1build1_all.deb ... 246s Unpacking dh-strip-nondeterminism (1.15.0-1build1) ... 246s Selecting previously unselected package libdw1t64:armhf. 246s Preparing to unpack .../41-libdw1t64_0.194-1_armhf.deb ... 246s Unpacking libdw1t64:armhf (0.194-1) ... 246s Selecting previously unselected package debugedit. 246s Preparing to unpack .../42-debugedit_1%3a5.2-3_armhf.deb ... 246s Unpacking debugedit (1:5.2-3) ... 246s Selecting previously unselected package dwz. 246s Preparing to unpack .../43-dwz_0.16-2_armhf.deb ... 246s Unpacking dwz (0.16-2) ... 246s Selecting previously unselected package gettext. 246s Preparing to unpack .../44-gettext_0.23.2-1_armhf.deb ... 246s Unpacking gettext (0.23.2-1) ... 246s Selecting previously unselected package intltool-debian. 246s Preparing to unpack .../45-intltool-debian_0.35.0+20060710.6build1_all.deb ... 246s Unpacking intltool-debian (0.35.0+20060710.6build1) ... 246s Selecting previously unselected package po-debconf. 246s Preparing to unpack .../46-po-debconf_1.0.22_all.deb ... 246s Unpacking po-debconf (1.0.22) ... 246s Selecting previously unselected package debhelper. 246s Preparing to unpack .../47-debhelper_13.28ubuntu1_all.deb ... 246s Unpacking debhelper (13.28ubuntu1) ... 246s Selecting previously unselected package dh-python. 246s Preparing to unpack .../48-dh-python_7.20251231_all.deb ... 246s Unpacking dh-python (7.20251231) ... 246s Selecting previously unselected package python3-pyproject-hooks. 246s Preparing to unpack .../49-python3-pyproject-hooks_1.2.0-1_all.deb ... 246s Unpacking python3-pyproject-hooks (1.2.0-1) ... 246s Selecting previously unselected package python3-wheel. 246s Preparing to unpack .../50-python3-wheel_0.46.1-2_all.deb ... 246s Unpacking python3-wheel (0.46.1-2) ... 246s Selecting previously unselected package python3-build. 246s Preparing to unpack .../51-python3-build_1.2.2-5_all.deb ... 246s Unpacking python3-build (1.2.2-5) ... 246s Selecting previously unselected package python3-installer. 246s Preparing to unpack .../52-python3-installer_0.7.0+dfsg1-3_all.deb ... 246s Unpacking python3-installer (0.7.0+dfsg1-3) ... 246s Selecting previously unselected package pybuild-plugin-pyproject. 246s Preparing to unpack .../53-pybuild-plugin-pyproject_7.20251231_all.deb ... 246s Unpacking pybuild-plugin-pyproject (7.20251231) ... 246s Selecting previously unselected package python3-all. 247s Preparing to unpack .../54-python3-all_3.14.2-1_armhf.deb ... 247s Unpacking python3-all (3.14.2-1) ... 247s Selecting previously unselected package python3-pathspec. 247s Preparing to unpack .../55-python3-pathspec_0.12.1-1build1_all.deb ... 247s Unpacking python3-pathspec (0.12.1-1build1) ... 247s Selecting previously unselected package python3-pluggy. 247s Preparing to unpack .../56-python3-pluggy_1.6.0-2_all.deb ... 247s Unpacking python3-pluggy (1.6.0-2) ... 247s Selecting previously unselected package python3-trove-classifiers. 247s Preparing to unpack .../57-python3-trove-classifiers_2025.11.14.15-1_all.deb ... 247s Unpacking python3-trove-classifiers (2025.11.14.15-1) ... 247s Selecting previously unselected package python3-hatchling. 247s Preparing to unpack .../58-python3-hatchling_1.28.0-1_all.deb ... 247s Unpacking python3-hatchling (1.28.0-1) ... 247s Selecting previously unselected package python3-iniconfig. 247s Preparing to unpack .../59-python3-iniconfig_2.1.0-2_all.deb ... 247s Unpacking python3-iniconfig (2.1.0-2) ... 247s Selecting previously unselected package python3-pbr. 247s Preparing to unpack .../60-python3-pbr_6.1.1-0ubuntu2_all.deb ... 247s Unpacking python3-pbr (6.1.1-0ubuntu2) ... 247s Selecting previously unselected package python3-pip. 247s Preparing to unpack .../61-python3-pip_25.1.1+dfsg-1ubuntu2_all.deb ... 247s Unpacking python3-pip (25.1.1+dfsg-1ubuntu2) ... 247s Selecting previously unselected package python3-pytest. 247s Preparing to unpack .../62-python3-pytest_9.0.2-2_all.deb ... 247s Unpacking python3-pytest (9.0.2-2) ... 247s Selecting previously unselected package python3-requests-unixsocket. 247s Preparing to unpack .../63-python3-requests-unixsocket_1.0.1-1_all.deb ... 247s Unpacking python3-requests-unixsocket (1.0.1-1) ... 247s Selecting previously unselected package python3-waitress. 247s Preparing to unpack .../64-python3-waitress_3.0.2-2_all.deb ... 247s Unpacking python3-waitress (3.0.2-2) ... 247s Selecting previously unselected package openstack-pkg-tools. 247s Preparing to unpack .../65-openstack-pkg-tools_140_all.deb ... 247s Unpacking openstack-pkg-tools (140) ... 247s Setting up dh-python (7.20251231) ... 248s Setting up python3-iniconfig (2.1.0-2) ... 248s Setting up python3-waitress (3.0.2-2) ... 248s Setting up python3-pbr (6.1.1-0ubuntu2) ... 249s Setting up libarchive-zip-perl (1.68-1) ... 249s Setting up libdebhelper-perl (13.28ubuntu1) ... 249s Setting up linux-libc-dev:armhf (6.18.0-9.9) ... 249s Setting up m4 (1.4.20-2) ... 249s Setting up libgomp1:armhf (15.2.0-11ubuntu1) ... 249s Setting up python3-wheel (0.46.1-2) ... 249s Setting up libdw1t64:armhf (0.194-1) ... 249s Setting up python3-requests-unixsocket (1.0.1-1) ... 249s Setting up libpython3.13-minimal:armhf (3.13.11-1) ... 249s Setting up autotools-dev (20240727.1) ... 249s Setting up rpcsvc-proto (1.4.3-1) ... 249s Setting up python3-pyproject-hooks (1.2.0-1) ... 249s Setting up libmpc3:armhf (1.3.1-2) ... 249s Setting up autopoint (0.23.2-1) ... 249s Setting up python3-pip (25.1.1+dfsg-1ubuntu2) ... 252s Setting up python3-installer (0.7.0+dfsg1-3) ... 253s Setting up autoconf (2.72-3.1ubuntu1) ... 253s Setting up python3-pluggy (1.6.0-2) ... 253s Setting up libubsan1:armhf (15.2.0-11ubuntu1) ... 253s Setting up dwz (0.16-2) ... 253s Setting up python3-trove-classifiers (2025.11.14.15-1) ... 253s Setting up libcrypt-dev:armhf (1:4.5.1-1) ... 253s Setting up libasan8:armhf (15.2.0-11ubuntu1) ... 253s Setting up debugedit (1:5.2-3) ... 253s Setting up python3.13-minimal (3.13.11-1) ... 254s Setting up libisl23:armhf (0.27-1build1) ... 254s Setting up python3-build (1.2.2-5) ... 254s Setting up libc-dev-bin (2.42-2ubuntu4) ... 254s Setting up python3-pathspec (0.12.1-1build1) ... 255s Setting up cpp-15-arm-linux-gnueabihf (15.2.0-11ubuntu1) ... 255s Setting up libpython3.13-stdlib:armhf (3.13.11-1) ... 255s Setting up libcc1-0:armhf (15.2.0-11ubuntu1) ... 255s Setting up cpp-arm-linux-gnueabihf (4:15.2.0-4ubuntu1) ... 255s Setting up automake (1:1.18.1-3build1) ... 255s update-alternatives: using /usr/bin/automake-1.18 to provide /usr/bin/automake (automake) in auto mode 255s Setting up libfile-stripnondeterminism-perl (1.15.0-1build1) ... 255s Setting up gettext (0.23.2-1) ... 255s Setting up libgcc-15-dev:armhf (15.2.0-11ubuntu1) ... 255s Setting up gcc-15-arm-linux-gnueabihf (15.2.0-11ubuntu1) ... 255s Setting up python3.13 (3.13.11-1) ... 256s Setting up pybuild-plugin-pyproject (7.20251231) ... 256s Setting up python3-pytest (9.0.2-2) ... 257s Setting up python3-all (3.14.2-1) ... 257s Setting up intltool-debian (0.35.0+20060710.6build1) ... 257s Setting up dh-strip-nondeterminism (1.15.0-1build1) ... 257s Setting up cpp-15 (15.2.0-11ubuntu1) ... 257s Setting up cpp (4:15.2.0-4ubuntu1) ... 257s Setting up libc6-dev:armhf (2.42-2ubuntu4) ... 257s Setting up python3-hatchling (1.28.0-1) ... 257s Setting up gcc-arm-linux-gnueabihf (4:15.2.0-4ubuntu1) ... 257s Setting up po-debconf (1.0.22) ... 257s Setting up openstack-pkg-tools (140) ... 257s Setting up gcc-15 (15.2.0-11ubuntu1) ... 257s Setting up libstdc++-15-dev:armhf (15.2.0-11ubuntu1) ... 257s Setting up libtool (2.5.4-9) ... 257s Setting up g++-15-arm-linux-gnueabihf (15.2.0-11ubuntu1) ... 257s Setting up gcc (4:15.2.0-4ubuntu1) ... 257s Setting up dh-autoreconf (21) ... 257s Setting up g++-15 (15.2.0-11ubuntu1) ... 258s Setting up g++-arm-linux-gnueabihf (4:15.2.0-4ubuntu1) ... 258s Setting up debhelper (13.28ubuntu1) ... 258s Setting up g++ (4:15.2.0-4ubuntu1) ... 258s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 258s Setting up build-essential (12.12ubuntu2) ... 258s Processing triggers for libc-bin (2.42-2ubuntu4) ... 258s Processing triggers for systemd (259-1ubuntu2) ... 258s Processing triggers for man-db (2.13.1-1) ... 259s Processing triggers for install-info (7.2-5) ... 268s autopkgtest [23:28:42]: test python3-requests-unixsocket: [----------------------- 271s === python3.13 === 271s ============================= test session starts ============================== 271s platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0 -- /usr/bin/python3.13 271s cachedir: .pytest_cache 271s rootdir: /tmp/autopkgtest.UOnmOY/autopkgtest_tmp 271s plugins: typeguard-4.4.4 272s collecting ... collected 6 items 272s 272s tests/test_requests_unixsocket.py::test_use_UnixAdapter_directly PASSED [ 16%] 272s tests/test_requests_unixsocket.py::test_unix_domain_adapter_ok PASSED [ 33%] 272s tests/test_requests_unixsocket.py::test_unix_domain_adapter_url_with_query_params FAILED [ 50%] 272s tests/test_requests_unixsocket.py::test_unix_domain_adapter_connection_error PASSED [ 66%] 272s tests/test_requests_unixsocket.py::test_unix_domain_adapter_connection_proxies_error PASSED [ 83%] 272s tests/test_requests_unixsocket.py::test_unix_domain_adapter_monkeypatch PASSED [100%] 272s 272s =================================== FAILURES =================================== 272s ________________ test_unix_domain_adapter_url_with_query_params ________________ 272s 272s self = 272s method = 'PATCH', url = '/containers/nginx/logs?timestamp=true', body = None 272s headers = {'User-Agent': 'python-requests/2.32.5', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Length': '0'} 272s retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) 272s redirect = False, assert_same_host = False 272s timeout = Timeout(connect=None, read=None, total=None), pool_timeout = None 272s release_conn = False, chunked = False, body_pos = None, preload_content = False 272s decode_content = False, response_kw = {} 272s parsed_url = Url(scheme=None, auth=None, host=None, port=None, path='/containers/nginx/logs', query='timestamp=true', fragment=None) 272s destination_scheme = None, conn = None, release_this_conn = True 272s http_tunnel_required = False, err = None, clean_exit = False 272s 272s def urlopen( # type: ignore[override] 272s self, 272s method: str, 272s url: str, 272s body: _TYPE_BODY | None = None, 272s headers: typing.Mapping[str, str] | None = None, 272s retries: Retry | bool | int | None = None, 272s redirect: bool = True, 272s assert_same_host: bool = True, 272s timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, 272s pool_timeout: int | None = None, 272s release_conn: bool | None = None, 272s chunked: bool = False, 272s body_pos: _TYPE_BODY_POSITION | None = None, 272s preload_content: bool = True, 272s decode_content: bool = True, 272s **response_kw: typing.Any, 272s ) -> BaseHTTPResponse: 272s """ 272s Get a connection from the pool and perform an HTTP request. This is the 272s lowest level call for making a request, so you'll need to specify all 272s the raw details. 272s 272s .. note:: 272s 272s More commonly, it's appropriate to use a convenience method 272s such as :meth:`request`. 272s 272s .. note:: 272s 272s `release_conn` will only behave as expected if 272s `preload_content=False` because we want to make 272s `preload_content=False` the default behaviour someday soon without 272s breaking backwards compatibility. 272s 272s :param method: 272s HTTP request method (such as GET, POST, PUT, etc.) 272s 272s :param url: 272s The URL to perform the request on. 272s 272s :param body: 272s Data to send in the request body, either :class:`str`, :class:`bytes`, 272s an iterable of :class:`str`/:class:`bytes`, or a file-like object. 272s 272s :param headers: 272s Dictionary of custom headers to send, such as User-Agent, 272s If-None-Match, etc. If None, pool headers are used. If provided, 272s these headers completely replace any pool-specific headers. 272s 272s :param retries: 272s Configure the number of retries to allow before raising a 272s :class:`~urllib3.exceptions.MaxRetryError` exception. 272s 272s If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a 272s :class:`~urllib3.util.retry.Retry` object for fine-grained control 272s over different types of retries. 272s Pass an integer number to retry connection errors that many times, 272s but no other types of errors. Pass zero to never retry. 272s 272s If ``False``, then retries are disabled and any exception is raised 272s immediately. Also, instead of raising a MaxRetryError on redirects, 272s the redirect response will be returned. 272s 272s :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int. 272s 272s :param redirect: 272s If True, automatically handle redirects (status codes 301, 302, 272s 303, 307, 308). Each redirect counts as a retry. Disabling retries 272s will disable redirect, too. 272s 272s :param assert_same_host: 272s If ``True``, will make sure that the host of the pool requests is 272s consistent else will raise HostChangedError. When ``False``, you can 272s use the pool on an HTTP proxy and request foreign hosts. 272s 272s :param timeout: 272s If specified, overrides the default timeout for this one 272s request. It may be a float (in seconds) or an instance of 272s :class:`urllib3.util.Timeout`. 272s 272s :param pool_timeout: 272s If set and the pool is set to block=True, then this method will 272s block for ``pool_timeout`` seconds and raise EmptyPoolError if no 272s connection is available within the time period. 272s 272s :param bool preload_content: 272s If True, the response's body will be preloaded into memory. 272s 272s :param bool decode_content: 272s If True, will attempt to decode the body based on the 272s 'content-encoding' header. 272s 272s :param release_conn: 272s If False, then the urlopen call will not release the connection 272s back into the pool once a response is received (but will release if 272s you read the entire contents of the response such as when 272s `preload_content=True`). This is useful if you're not preloading 272s the response's content immediately. You will need to call 272s ``r.release_conn()`` on the response ``r`` to return the connection 272s back into the pool. If None, it takes the value of ``preload_content`` 272s which defaults to ``True``. 272s 272s :param bool chunked: 272s If True, urllib3 will send the body using chunked transfer 272s encoding. Otherwise, urllib3 will send the body using the standard 272s content-length form. Defaults to False. 272s 272s :param int body_pos: 272s Position to seek to in file-like body in the event of a retry or 272s redirect. Typically this won't need to be set because urllib3 will 272s auto-populate the value when needed. 272s """ 272s parsed_url = parse_url(url) 272s destination_scheme = parsed_url.scheme 272s 272s if headers is None: 272s headers = self.headers 272s 272s if not isinstance(retries, Retry): 272s retries = Retry.from_int(retries, redirect=redirect, default=self.retries) 272s 272s if release_conn is None: 272s release_conn = preload_content 272s 272s # Check host 272s if assert_same_host and not self.is_same_host(url): 272s raise HostChangedError(self, url, retries) 272s 272s # Ensure that the URL we're connecting to is properly encoded 272s if url.startswith("/"): 272s url = to_str(_encode_target(url)) 272s else: 272s url = to_str(parsed_url.url) 272s 272s conn = None 272s 272s # Track whether `conn` needs to be released before 272s # returning/raising/recursing. Update this variable if necessary, and 272s # leave `release_conn` constant throughout the function. That way, if 272s # the function recurses, the original value of `release_conn` will be 272s # passed down into the recursive call, and its value will be respected. 272s # 272s # See issue #651 [1] for details. 272s # 272s # [1] 272s release_this_conn = release_conn 272s 272s http_tunnel_required = connection_requires_http_tunnel( 272s self.proxy, self.proxy_config, destination_scheme 272s ) 272s 272s # Merge the proxy headers. Only done when not using HTTP CONNECT. We 272s # have to copy the headers dict so we can safely change it without those 272s # changes being reflected in anyone else's copy. 272s if not http_tunnel_required: 272s headers = headers.copy() # type: ignore[attr-defined] 272s headers.update(self.proxy_headers) # type: ignore[union-attr] 272s 272s # Must keep the exception bound to a separate variable or else Python 3 272s # complains about UnboundLocalError. 272s err = None 272s 272s # Keep track of whether we cleanly exited the except block. This 272s # ensures we do proper cleanup in finally. 272s clean_exit = False 272s 272s # Rewind body position, if needed. Record current position 272s # for future rewinds in the event of a redirect/retry. 272s body_pos = set_file_position(body, body_pos) 272s 272s try: 272s # Request a connection from the queue. 272s timeout_obj = self._get_timeout(timeout) 272s conn = self._get_conn(timeout=pool_timeout) 272s 272s conn.timeout = timeout_obj.connect_timeout # type: ignore[assignment] 272s 272s # Is this a closed/new connection that requires CONNECT tunnelling? 272s if self.proxy is not None and http_tunnel_required and conn.is_closed: 272s try: 272s self._prepare_proxy(conn) 272s except (BaseSSLError, OSError, SocketTimeout) as e: 272s self._raise_timeout( 272s err=e, url=self.proxy.url, timeout_value=conn.timeout 272s ) 272s raise 272s 272s # If we're going to release the connection in ``finally:``, then 272s # the response doesn't need to know about the connection. Otherwise 272s # it will also try to release it and we'll have a double-release 272s # mess. 272s response_conn = conn if not release_conn else None 272s 272s # Make the request on the HTTPConnection object 272s > response = self._make_request( 272s conn, 272s method, 272s url, 272s timeout=timeout_obj, 272s body=body, 272s headers=headers, 272s chunked=chunked, 272s retries=retries, 272s response_conn=response_conn, 272s preload_content=preload_content, 272s decode_content=decode_content, 272s **response_kw, 272s ) 272s 272s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:787: 272s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 272s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:534: in _make_request 272s response = conn.getresponse() 272s ^^^^^^^^^^^^^^^^^^ 272s /usr/lib/python3/dist-packages/urllib3/connection.py:565: in getresponse 272s httplib_response = super().getresponse() 272s ^^^^^^^^^^^^^^^^^^^^^ 272s /usr/lib/python3.13/http/client.py:1450: in getresponse 272s response.begin() 272s /usr/lib/python3.13/http/client.py:336: in begin 272s version, status, reason = self._read_status() 272s ^^^^^^^^^^^^^^^^^^^ 272s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 272s 272s self = 272s 272s def _read_status(self): 272s line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") 272s if len(line) > _MAXLINE: 272s raise LineTooLong("status line") 272s if self.debuglevel > 0: 272s print("reply:", repr(line)) 272s if not line: 272s # Presumably, the server closed the connection before 272s # sending a valid response. 272s raise RemoteDisconnected("Remote end closed connection without" 272s " response") 272s try: 272s version, status, reason = line.split(None, 2) 272s except ValueError: 272s try: 272s version, status = line.split(None, 1) 272s reason = "" 272s except ValueError: 272s # empty version will cause next test to fail. 272s version = "" 272s if not version.startswith("HTTP/"): 272s self._close_conn() 272s > raise BadStatusLine(line) 272s E http.client.BadStatusLine: Hello world!HTTP/1.1 200 OK 272s 272s /usr/lib/python3.13/http/client.py:318: BadStatusLine 272s 272s During handling of the above exception, another exception occurred: 272s 272s self = 272s request = , stream = False 272s timeout = Timeout(connect=None, read=None, total=None), verify = True 272s cert = None 272s proxies = OrderedDict({'no': '127.0.0.1,127.0.1.1,localhost,localdomain,internal,login.ubuntu.com,archive.ubuntu.com,ports.ubunt...canonical.com,radosgw.ps5.canonical.com', 'https': 'http://squid.internal:3128', 'http': 'http://squid.internal:3128'}) 272s 272s def send( 272s self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None 272s ): 272s """Sends PreparedRequest object. Returns Response object. 272s 272s :param request: The :class:`PreparedRequest ` being sent. 272s :param stream: (optional) Whether to stream the request content. 272s :param timeout: (optional) How long to wait for the server to send 272s data before giving up, as a float, or a :ref:`(connect timeout, 272s read timeout) ` tuple. 272s :type timeout: float or tuple or urllib3 Timeout object 272s :param verify: (optional) Either a boolean, in which case it controls whether 272s we verify the server's TLS certificate, or a string, in which case it 272s must be a path to a CA bundle to use 272s :param cert: (optional) Any user-provided SSL certificate to be trusted. 272s :param proxies: (optional) The proxies dictionary to apply to the request. 272s :rtype: requests.Response 272s """ 272s 272s try: 272s conn = self.get_connection_with_tls_context( 272s request, verify, proxies=proxies, cert=cert 272s ) 272s except LocationValueError as e: 272s raise InvalidURL(e, request=request) 272s 272s self.cert_verify(conn, request.url, verify, cert) 272s url = self.request_url(request, proxies) 272s self.add_headers( 272s request, 272s stream=stream, 272s timeout=timeout, 272s verify=verify, 272s cert=cert, 272s proxies=proxies, 272s ) 272s 272s chunked = not (request.body is None or "Content-Length" in request.headers) 272s 272s if isinstance(timeout, tuple): 272s try: 272s connect, read = timeout 272s timeout = TimeoutSauce(connect=connect, read=read) 272s except ValueError: 272s raise ValueError( 272s f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " 272s f"or a single float to set both timeouts to the same value." 272s ) 272s elif isinstance(timeout, TimeoutSauce): 272s pass 272s else: 272s timeout = TimeoutSauce(connect=timeout, read=timeout) 272s 272s try: 272s > resp = conn.urlopen( 272s method=request.method, 272s url=url, 272s body=request.body, 272s headers=request.headers, 272s redirect=False, 272s assert_same_host=False, 272s preload_content=False, 272s decode_content=False, 272s retries=self.max_retries, 272s timeout=timeout, 272s chunked=chunked, 272s ) 272s 272s /usr/lib/python3/dist-packages/requests/adapters.py:644: 272s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 272s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:841: in urlopen 272s retries = retries.increment( 272s /usr/lib/python3/dist-packages/urllib3/util/retry.py:474: in increment 272s raise reraise(type(error), error, _stacktrace) 272s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 272s /usr/lib/python3/dist-packages/urllib3/util/util.py:38: in reraise 272s raise value.with_traceback(tb) 272s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:787: in urlopen 272s response = self._make_request( 272s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:534: in _make_request 272s response = conn.getresponse() 272s ^^^^^^^^^^^^^^^^^^ 272s /usr/lib/python3/dist-packages/urllib3/connection.py:565: in getresponse 272s httplib_response = super().getresponse() 272s ^^^^^^^^^^^^^^^^^^^^^ 272s /usr/lib/python3.13/http/client.py:1450: in getresponse 272s response.begin() 272s /usr/lib/python3.13/http/client.py:336: in begin 272s version, status, reason = self._read_status() 272s ^^^^^^^^^^^^^^^^^^^ 272s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 272s 272s self = 272s 272s def _read_status(self): 272s line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") 272s if len(line) > _MAXLINE: 272s raise LineTooLong("status line") 272s if self.debuglevel > 0: 272s print("reply:", repr(line)) 272s if not line: 272s # Presumably, the server closed the connection before 272s # sending a valid response. 272s raise RemoteDisconnected("Remote end closed connection without" 272s " response") 272s try: 272s version, status, reason = line.split(None, 2) 272s except ValueError: 272s try: 272s version, status = line.split(None, 1) 272s reason = "" 272s except ValueError: 272s # empty version will cause next test to fail. 272s version = "" 272s if not version.startswith("HTTP/"): 272s self._close_conn() 272s > raise BadStatusLine(line) 272s E urllib3.exceptions.ProtocolError: ('Connection aborted.', BadStatusLine('Hello world!HTTP/1.1 200 OK\r\n')) 272s 272s /usr/lib/python3.13/http/client.py:318: ProtocolError 272s 272s During handling of the above exception, another exception occurred: 272s 272s def test_unix_domain_adapter_url_with_query_params(): 272s with UnixSocketServerThread() as usock_thread: 272s session = requests_unixsocket.Session("http+unix://") 272s urlencoded_usock = requests.compat.quote_plus(usock_thread.usock) 272s url = "http+unix://%s/containers/nginx/logs?timestamp=true" % urlencoded_usock 272s 272s for method in ["get", "post", "head", "patch", "put", "delete", "options"]: 272s logger.debug("Calling session.%s(%r) ...", method, url) 272s > r = getattr(session, method)(url) 272s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 272s 272s tests/test_requests_unixsocket.py:65: 272s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 272s /usr/lib/python3/dist-packages/requests/sessions.py:661: in patch 272s return self.request("PATCH", url, data=data, **kwargs) 272s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 272s /usr/lib/python3/dist-packages/requests/sessions.py:589: in request 272s resp = self.send(prep, **send_kwargs) 272s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 272s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send 272s r = adapter.send(request, **kwargs) 272s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 272s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 272s 272s self = 272s request = , stream = False 272s timeout = Timeout(connect=None, read=None, total=None), verify = True 272s cert = None 272s proxies = OrderedDict({'no': '127.0.0.1,127.0.1.1,localhost,localdomain,internal,login.ubuntu.com,archive.ubuntu.com,ports.ubunt...canonical.com,radosgw.ps5.canonical.com', 'https': 'http://squid.internal:3128', 'http': 'http://squid.internal:3128'}) 272s 272s def send( 272s self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None 272s ): 272s """Sends PreparedRequest object. Returns Response object. 272s 272s :param request: The :class:`PreparedRequest ` being sent. 272s :param stream: (optional) Whether to stream the request content. 272s :param timeout: (optional) How long to wait for the server to send 272s data before giving up, as a float, or a :ref:`(connect timeout, 272s read timeout) ` tuple. 272s :type timeout: float or tuple or urllib3 Timeout object 272s :param verify: (optional) Either a boolean, in which case it controls whether 272s we verify the server's TLS certificate, or a string, in which case it 272s must be a path to a CA bundle to use 272s :param cert: (optional) Any user-provided SSL certificate to be trusted. 272s :param proxies: (optional) The proxies dictionary to apply to the request. 272s :rtype: requests.Response 272s """ 272s 272s try: 272s conn = self.get_connection_with_tls_context( 272s request, verify, proxies=proxies, cert=cert 272s ) 272s except LocationValueError as e: 272s raise InvalidURL(e, request=request) 272s 272s self.cert_verify(conn, request.url, verify, cert) 272s url = self.request_url(request, proxies) 272s self.add_headers( 272s request, 272s stream=stream, 272s timeout=timeout, 272s verify=verify, 272s cert=cert, 272s proxies=proxies, 272s ) 272s 272s chunked = not (request.body is None or "Content-Length" in request.headers) 272s 272s if isinstance(timeout, tuple): 272s try: 272s connect, read = timeout 272s timeout = TimeoutSauce(connect=connect, read=read) 272s except ValueError: 272s raise ValueError( 272s f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " 272s f"or a single float to set both timeouts to the same value." 272s ) 272s elif isinstance(timeout, TimeoutSauce): 272s pass 272s else: 272s timeout = TimeoutSauce(connect=timeout, read=timeout) 272s 272s try: 272s resp = conn.urlopen( 272s method=request.method, 272s url=url, 272s body=request.body, 272s headers=request.headers, 272s redirect=False, 272s assert_same_host=False, 272s preload_content=False, 272s decode_content=False, 272s retries=self.max_retries, 272s timeout=timeout, 272s chunked=chunked, 272s ) 272s 272s except (ProtocolError, OSError) as err: 272s > raise ConnectionError(err, request=request) 272s E requests.exceptions.ConnectionError: ('Connection aborted.', BadStatusLine('Hello world!HTTP/1.1 200 OK\r\n')) 272s 272s /usr/lib/python3/dist-packages/requests/adapters.py:659: ConnectionError 272s =========================== short test summary info ============================ 272s FAILED tests/test_requests_unixsocket.py::test_unix_domain_adapter_url_with_query_params 272s ========================= 1 failed, 5 passed in 0.68s ========================== 274s autopkgtest [23:28:48]: test python3-requests-unixsocket: -----------------------] 278s autopkgtest [23:28:52]: test python3-requests-unixsocket: - - - - - - - - - - results - - - - - - - - - - 278s python3-requests-unixsocket FAIL non-zero exit status 1 283s autopkgtest [23:28:57]: @@@@@@@@@@@@@@@@@@@@ summary 283s python3-requests-unixsocket FAIL non-zero exit status 1