0s autopkgtest [03:38:22]: starting date and time: 2025-01-04 03:38:22+0000 0s autopkgtest [03:38:22]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [03:38:22]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.7dlmbuhw/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python3-defaults --apt-upgrade python-requests-toolbelt --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-ppc64el-6.secgroup --name adt-plucky-ppc64el-python-requests-toolbelt-20250104-033822-juju-7f2275-prod-proposed-migration-environment-15-e615b8b9-e9a6-4ab6-8a78-f85ddc2ada9e --image adt/ubuntu-plucky-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration-ppc64el -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,radosgw.ps5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 266s autopkgtest [03:42:48]: testbed dpkg architecture: ppc64el 266s autopkgtest [03:42:48]: testbed apt version: 2.9.18 266s autopkgtest [03:42:48]: @@@@@@@@@@@@@@@@@@@@ test bed setup 267s autopkgtest [03:42:49]: testbed release detected to be: None 267s autopkgtest [03:42:49]: updating testbed package index (apt update) 268s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 268s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 268s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 268s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 268s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 268s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [70.7 kB] 268s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [681 kB] 268s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.1 kB] 268s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [89.2 kB] 268s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted ppc64el Packages [756 B] 268s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [634 kB] 268s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [4356 B] 269s Fetched 1577 kB in 1s (1603 kB/s) 269s Reading package lists... 270s Reading package lists... 270s Building dependency tree... 270s Reading state information... 270s Calculating upgrade... 271s The following packages will be upgraded: 271s binutils binutils-common binutils-powerpc64le-linux-gnu libbinutils 271s libctf-nobfd0 libctf0 libsframe1 271s 7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 271s Need to get 3752 kB of archives. 271s After this operation, 0 B of additional disk space will be used. 271s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el libctf0 ppc64el 2.43.50.20241230-1ubuntu1 [114 kB] 271s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el libctf-nobfd0 ppc64el 2.43.50.20241230-1ubuntu1 [117 kB] 271s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el binutils-powerpc64le-linux-gnu ppc64el 2.43.50.20241230-1ubuntu1 [2569 kB] 271s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el libbinutils ppc64el 2.43.50.20241230-1ubuntu1 [711 kB] 271s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el binutils ppc64el 2.43.50.20241230-1ubuntu1 [3096 B] 271s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el binutils-common ppc64el 2.43.50.20241230-1ubuntu1 [222 kB] 271s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el libsframe1 ppc64el 2.43.50.20241230-1ubuntu1 [15.9 kB] 272s Fetched 3752 kB in 1s (5152 kB/s) 272s (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 ... 74025 files and directories currently installed.) 272s Preparing to unpack .../0-libctf0_2.43.50.20241230-1ubuntu1_ppc64el.deb ... 272s Unpacking libctf0:ppc64el (2.43.50.20241230-1ubuntu1) over (2.43.50.20241221-1ubuntu1) ... 272s Preparing to unpack .../1-libctf-nobfd0_2.43.50.20241230-1ubuntu1_ppc64el.deb ... 272s Unpacking libctf-nobfd0:ppc64el (2.43.50.20241230-1ubuntu1) over (2.43.50.20241221-1ubuntu1) ... 272s Preparing to unpack .../2-binutils-powerpc64le-linux-gnu_2.43.50.20241230-1ubuntu1_ppc64el.deb ... 272s Unpacking binutils-powerpc64le-linux-gnu (2.43.50.20241230-1ubuntu1) over (2.43.50.20241221-1ubuntu1) ... 272s Preparing to unpack .../3-libbinutils_2.43.50.20241230-1ubuntu1_ppc64el.deb ... 272s Unpacking libbinutils:ppc64el (2.43.50.20241230-1ubuntu1) over (2.43.50.20241221-1ubuntu1) ... 272s Preparing to unpack .../4-binutils_2.43.50.20241230-1ubuntu1_ppc64el.deb ... 272s Unpacking binutils (2.43.50.20241230-1ubuntu1) over (2.43.50.20241221-1ubuntu1) ... 272s Preparing to unpack .../5-binutils-common_2.43.50.20241230-1ubuntu1_ppc64el.deb ... 272s Unpacking binutils-common:ppc64el (2.43.50.20241230-1ubuntu1) over (2.43.50.20241221-1ubuntu1) ... 272s Preparing to unpack .../6-libsframe1_2.43.50.20241230-1ubuntu1_ppc64el.deb ... 272s Unpacking libsframe1:ppc64el (2.43.50.20241230-1ubuntu1) over (2.43.50.20241221-1ubuntu1) ... 272s Setting up binutils-common:ppc64el (2.43.50.20241230-1ubuntu1) ... 272s Setting up libctf-nobfd0:ppc64el (2.43.50.20241230-1ubuntu1) ... 272s Setting up libsframe1:ppc64el (2.43.50.20241230-1ubuntu1) ... 272s Setting up libbinutils:ppc64el (2.43.50.20241230-1ubuntu1) ... 272s Setting up libctf0:ppc64el (2.43.50.20241230-1ubuntu1) ... 272s Setting up binutils-powerpc64le-linux-gnu (2.43.50.20241230-1ubuntu1) ... 272s Setting up binutils (2.43.50.20241230-1ubuntu1) ... 272s Processing triggers for libc-bin (2.40-4ubuntu1) ... 272s Processing triggers for man-db (2.13.0-1) ... 273s Reading package lists... 273s Building dependency tree... 273s Reading state information... 273s 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. 273s autopkgtest [03:42:55]: upgrading testbed (apt dist-upgrade and autopurge) 274s Reading package lists... 274s Building dependency tree... 274s Reading state information... 274s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 274s Starting 2 pkgProblemResolver with broken count: 0 274s Done 274s Entering ResolveByKeep 275s 275s The following packages were automatically installed and are no longer required: 275s python3.12 python3.12-minimal 275s Use 'sudo apt autoremove' to remove them. 275s The following NEW packages will be installed: 275s libpython3.13-minimal libpython3.13-stdlib python3.13 python3.13-minimal 275s The following packages will be upgraded: 275s libpython3-stdlib python3 python3-minimal 275s 3 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 275s Need to get 6300 kB of archives. 275s After this operation, 26.2 MB of additional disk space will be used. 275s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpython3.13-minimal ppc64el 3.13.1-2 [883 kB] 275s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3.13-minimal ppc64el 3.13.1-2 [2496 kB] 276s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el python3-minimal ppc64el 3.13.1-1~exp2 [27.6 kB] 276s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el python3 ppc64el 3.13.1-1~exp2 [24.0 kB] 276s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpython3.13-stdlib ppc64el 3.13.1-2 [2131 kB] 276s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3.13 ppc64el 3.13.1-2 [729 kB] 276s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libpython3-stdlib ppc64el 3.13.1-1~exp2 [10.2 kB] 276s Fetched 6300 kB in 1s (6799 kB/s) 276s Selecting previously unselected package libpython3.13-minimal:ppc64el. 276s (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 ... 74025 files and directories currently installed.) 276s Preparing to unpack .../libpython3.13-minimal_3.13.1-2_ppc64el.deb ... 276s Unpacking libpython3.13-minimal:ppc64el (3.13.1-2) ... 276s Selecting previously unselected package python3.13-minimal. 276s Preparing to unpack .../python3.13-minimal_3.13.1-2_ppc64el.deb ... 276s Unpacking python3.13-minimal (3.13.1-2) ... 276s Setting up libpython3.13-minimal:ppc64el (3.13.1-2) ... 276s Setting up python3.13-minimal (3.13.1-2) ... 277s (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 ... 74345 files and directories currently installed.) 277s Preparing to unpack .../python3-minimal_3.13.1-1~exp2_ppc64el.deb ... 277s Unpacking python3-minimal (3.13.1-1~exp2) over (3.12.8-1) ... 277s Setting up python3-minimal (3.13.1-1~exp2) ... 277s (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 ... 74345 files and directories currently installed.) 277s Preparing to unpack .../python3_3.13.1-1~exp2_ppc64el.deb ... 277s Unpacking python3 (3.13.1-1~exp2) over (3.12.8-1) ... 277s Selecting previously unselected package libpython3.13-stdlib:ppc64el. 277s Preparing to unpack .../libpython3.13-stdlib_3.13.1-2_ppc64el.deb ... 277s Unpacking libpython3.13-stdlib:ppc64el (3.13.1-2) ... 277s Selecting previously unselected package python3.13. 277s Preparing to unpack .../python3.13_3.13.1-2_ppc64el.deb ... 277s Unpacking python3.13 (3.13.1-2) ... 277s Preparing to unpack .../libpython3-stdlib_3.13.1-1~exp2_ppc64el.deb ... 277s Unpacking libpython3-stdlib:ppc64el (3.13.1-1~exp2) over (3.12.8-1) ... 277s Setting up libpython3.13-stdlib:ppc64el (3.13.1-2) ... 277s Setting up libpython3-stdlib:ppc64el (3.13.1-1~exp2) ... 277s Setting up python3.13 (3.13.1-2) ... 278s Setting up python3 (3.13.1-1~exp2) ... 279s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 279s for fn in glob1(directory, "%s.*" % fname): 279s Processing triggers for man-db (2.13.0-1) ... 279s Processing triggers for systemd (257-2ubuntu1) ... 279s Reading package lists... 280s Building dependency tree... 280s Reading state information... 280s Starting pkgProblemResolver with broken count: 0 280s Starting 2 pkgProblemResolver with broken count: 0 280s Done 280s The following packages will be REMOVED: 280s python3.12* python3.12-minimal* 280s 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. 280s After this operation, 9889 kB disk space will be freed. 280s (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 ... 74762 files and directories currently installed.) 280s Removing python3.12 (3.12.8-3) ... 280s Removing python3.12-minimal (3.12.8-3) ... 281s /usr/bin/py3clean:125: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 281s for fn in glob1(directory, "%s.%s.py[co]" % (fname, magic_tag)): 281s Processing triggers for man-db (2.13.0-1) ... 281s Processing triggers for systemd (257-2ubuntu1) ... 282s (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 ... 74734 files and directories currently installed.) 282s Purging configuration files for python3.12-minimal (3.12.8-3) ... 284s autopkgtest [03:43:06]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP Mon Sep 16 13:49:23 UTC 2024 284s autopkgtest [03:43:06]: @@@@@@@@@@@@@@@@@@@@ apt-source python-requests-toolbelt 286s Get:1 http://ftpmaster.internal/ubuntu plucky/universe python-requests-toolbelt 1.0.0-3 (dsc) [2490 B] 286s Get:2 http://ftpmaster.internal/ubuntu plucky/universe python-requests-toolbelt 1.0.0-3 (tar) [207 kB] 286s Get:3 http://ftpmaster.internal/ubuntu plucky/universe python-requests-toolbelt 1.0.0-3 (diff) [4424 B] 286s gpgv: Signature made Sat Aug 3 14:09:51 2024 UTC 286s gpgv: using RSA key 13796755BBC72BB8ABE2AEB5FA9DEC5DE11C63F1 286s gpgv: issuer "eamanu@debian.org" 286s gpgv: Can't check signature: No public key 286s dpkg-source: warning: cannot verify inline signature for ./python-requests-toolbelt_1.0.0-3.dsc: no acceptable signature found 286s autopkgtest [03:43:08]: testing package python-requests-toolbelt version 1.0.0-3 287s autopkgtest [03:43:09]: build not needed 287s autopkgtest [03:43:09]: test pytest: preparing testbed 287s Reading package lists... 287s Building dependency tree... 287s Reading state information... 288s Starting pkgProblemResolver with broken count: 0 288s Starting 2 pkgProblemResolver with broken count: 0 288s Done 288s The following NEW packages will be installed: 288s fonts-font-awesome fonts-lato libjs-jquery libjs-sphinxdoc libjs-underscore 288s python-requests-toolbelt-doc python3-all python3-betamax python3-iniconfig 288s python3-packaging python3-pluggy python3-pytest python3-requests-toolbelt 288s python3-trustme python3.12 python3.12-minimal sphinx-rtd-theme-common 288s 0 upgraded, 17 newly installed, 0 to remove and 0 not upgraded. 288s Need to get 8376 kB of archives. 288s After this operation, 28.1 MB of additional disk space will be used. 288s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3.12-minimal ppc64el 3.12.8-3 [2465 kB] 289s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el fonts-lato all 2.015-1 [2781 kB] 289s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3.12 ppc64el 3.12.8-3 [667 kB] 289s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el fonts-font-awesome all 5.0.10+really4.7.0~dfsg-4.1 [516 kB] 289s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 289s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 289s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjs-sphinxdoc all 8.1.3-3 [30.9 kB] 289s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el sphinx-rtd-theme-common all 3.0.2+dfsg-1 [1014 kB] 289s Get:9 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python-requests-toolbelt-doc all 1.0.0-3 [53.6 kB] 289s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el python3-all ppc64el 3.13.1-1~exp2 [896 B] 289s Get:11 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-betamax all 0.9.0-1 [24.4 kB] 289s Get:12 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-iniconfig all 1.1.1-2 [6024 B] 289s Get:13 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-packaging all 24.2-1 [51.5 kB] 289s Get:14 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pluggy all 1.5.0-1 [21.0 kB] 289s Get:15 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pytest all 8.3.3-1 [251 kB] 289s Get:16 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-requests-toolbelt all 1.0.0-3 [36.9 kB] 289s Get:17 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-trustme all 1.2.0-2 [12.4 kB] 289s Fetched 8376 kB in 1s (9306 kB/s) 289s Selecting previously unselected package python3.12-minimal. 289s (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 ... 74734 files and directories currently installed.) 289s Preparing to unpack .../00-python3.12-minimal_3.12.8-3_ppc64el.deb ... 289s Unpacking python3.12-minimal (3.12.8-3) ... 289s Selecting previously unselected package fonts-lato. 289s Preparing to unpack .../01-fonts-lato_2.015-1_all.deb ... 289s Unpacking fonts-lato (2.015-1) ... 289s Selecting previously unselected package python3.12. 289s Preparing to unpack .../02-python3.12_3.12.8-3_ppc64el.deb ... 289s Unpacking python3.12 (3.12.8-3) ... 289s Selecting previously unselected package fonts-font-awesome. 289s Preparing to unpack .../03-fonts-font-awesome_5.0.10+really4.7.0~dfsg-4.1_all.deb ... 289s Unpacking fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 289s Selecting previously unselected package libjs-jquery. 289s Preparing to unpack .../04-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 289s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 289s Selecting previously unselected package libjs-underscore. 289s Preparing to unpack .../05-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 289s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 289s Selecting previously unselected package libjs-sphinxdoc. 289s Preparing to unpack .../06-libjs-sphinxdoc_8.1.3-3_all.deb ... 289s Unpacking libjs-sphinxdoc (8.1.3-3) ... 289s Selecting previously unselected package sphinx-rtd-theme-common. 290s Preparing to unpack .../07-sphinx-rtd-theme-common_3.0.2+dfsg-1_all.deb ... 290s Unpacking sphinx-rtd-theme-common (3.0.2+dfsg-1) ... 290s Selecting previously unselected package python-requests-toolbelt-doc. 290s Preparing to unpack .../08-python-requests-toolbelt-doc_1.0.0-3_all.deb ... 290s Unpacking python-requests-toolbelt-doc (1.0.0-3) ... 290s Selecting previously unselected package python3-all. 290s Preparing to unpack .../09-python3-all_3.13.1-1~exp2_ppc64el.deb ... 290s Unpacking python3-all (3.13.1-1~exp2) ... 290s Selecting previously unselected package python3-betamax. 290s Preparing to unpack .../10-python3-betamax_0.9.0-1_all.deb ... 290s Unpacking python3-betamax (0.9.0-1) ... 290s Selecting previously unselected package python3-iniconfig. 290s Preparing to unpack .../11-python3-iniconfig_1.1.1-2_all.deb ... 290s Unpacking python3-iniconfig (1.1.1-2) ... 290s Selecting previously unselected package python3-packaging. 290s Preparing to unpack .../12-python3-packaging_24.2-1_all.deb ... 290s Unpacking python3-packaging (24.2-1) ... 290s Selecting previously unselected package python3-pluggy. 290s Preparing to unpack .../13-python3-pluggy_1.5.0-1_all.deb ... 290s Unpacking python3-pluggy (1.5.0-1) ... 290s Selecting previously unselected package python3-pytest. 290s Preparing to unpack .../14-python3-pytest_8.3.3-1_all.deb ... 290s Unpacking python3-pytest (8.3.3-1) ... 290s Selecting previously unselected package python3-requests-toolbelt. 290s Preparing to unpack .../15-python3-requests-toolbelt_1.0.0-3_all.deb ... 290s Unpacking python3-requests-toolbelt (1.0.0-3) ... 290s Selecting previously unselected package python3-trustme. 290s Preparing to unpack .../16-python3-trustme_1.2.0-2_all.deb ... 290s Unpacking python3-trustme (1.2.0-2) ... 290s Setting up python3-iniconfig (1.1.1-2) ... 290s Setting up python3.12-minimal (3.12.8-3) ... 291s Setting up fonts-lato (2.015-1) ... 291s Setting up python3-requests-toolbelt (1.0.0-3) ... 291s Setting up python3.12 (3.12.8-3) ... 292s Setting up python3-all (3.13.1-1~exp2) ... 292s Setting up python3-trustme (1.2.0-2) ... 293s Setting up python3-packaging (24.2-1) ... 293s Setting up python3-betamax (0.9.0-1) ... 293s Setting up python3-pluggy (1.5.0-1) ... 293s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 293s Setting up fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 293s Setting up sphinx-rtd-theme-common (3.0.2+dfsg-1) ... 293s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 293s Setting up python3-pytest (8.3.3-1) ... 294s Setting up libjs-sphinxdoc (8.1.3-3) ... 294s Setting up python-requests-toolbelt-doc (1.0.0-3) ... 294s Processing triggers for man-db (2.13.0-1) ... 294s Processing triggers for systemd (257-2ubuntu1) ... 295s autopkgtest [03:43:17]: test pytest: [----------------------- 295s + cp -r tests /tmp/autopkgtest.BL2MLW/autopkgtest_tmp 295s + cp setup.py /tmp/autopkgtest.BL2MLW/autopkgtest_tmp 295s + cd /tmp/autopkgtest.BL2MLW/autopkgtest_tmp 295s + py3versions -s 295s + python3.12 -m pytest -k not test_reads_open_file_objects and not test_reads_open_file_objects_using_to_string and not test_reads_open_file_objects_with_a_specified_filename and not test_dump_response and not test_dump_all and not test_prepared_request_override_base and not test_prepared_request_with_base and not test_request_override_base and not test_request_with_base -v 296s ============================= test session starts ============================== 296s platform linux -- Python 3.12.8, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3.12 296s cachedir: .pytest_cache 296s rootdir: /tmp/autopkgtest.BL2MLW/autopkgtest_tmp 296s plugins: typeguard-4.4.1, betamax-0.9.0 297s collecting ... collected 169 items / 14 deselected / 155 selected 297s 297s tests/test_auth.py::TestGuessAuth::test_basic PASSED [ 0%] 297s tests/test_auth.py::TestGuessAuth::test_digest PASSED [ 1%] 297s tests/test_auth.py::TestGuessAuth::test_no_auth PASSED [ 1%] 297s tests/test_auth.py::TestGuessProxyAuth::test_handle_407_header_basic PASSED [ 2%] 297s tests/test_auth.py::TestGuessProxyAuth::test_handle_407_header_digest PASSED [ 3%] 297s tests/test_auth_handler.py::test_turns_tuples_into_basic_auth PASSED [ 3%] 297s tests/test_auth_handler.py::test_uses_null_strategy_for_non_matching_domains PASSED [ 4%] 297s tests/test_auth_handler.py::test_normalizes_domain_keys PASSED [ 5%] 297s tests/test_auth_handler.py::test_can_add_new_strategies PASSED [ 5%] 297s tests/test_auth_handler.py::test_prepares_auth_correctly PASSED [ 6%] 297s tests/test_downloadutils.py::test_get_download_file_path_uses_content_disposition PASSED [ 7%] 297s tests/test_downloadutils.py::test_get_download_file_path_directory PASSED [ 7%] 297s tests/test_downloadutils.py::test_get_download_file_path_specific_file PASSED [ 8%] 297s tests/test_downloadutils.py::test_stream_response_to_file_uses_content_disposition PASSED [ 9%] 297s tests/test_downloadutils.py::test_stream_response_to_specific_filename PASSED [ 9%] 297s tests/test_downloadutils.py::test_stream_response_to_directory PASSED [ 10%] 297s tests/test_downloadutils.py::test_stream_response_to_existing_file PASSED [ 10%] 297s tests/test_downloadutils.py::test_stream_response_to_file_like_object PASSED [ 11%] 297s tests/test_downloadutils.py::test_stream_response_to_file_chunksize PASSED [ 12%] 297s tests/test_downloadutils.py::test_tee PASSED [ 12%] 297s tests/test_downloadutils.py::test_tee_rejects_StringIO PASSED [ 13%] 297s tests/test_downloadutils.py::test_tee_to_file PASSED [ 14%] 297s tests/test_downloadutils.py::test_tee_to_bytearray PASSED [ 14%] 297s tests/test_downloadutils.py::test_tee_to_bytearray_only_accepts_bytearrays PASSED [ 15%] 297s tests/test_dump.py::TestSimplePrivateFunctions::test_coerce_to_bytes_skips_byte_strings PASSED [ 16%] 297s tests/test_dump.py::TestSimplePrivateFunctions::test_coerce_to_bytes_converts_text PASSED [ 16%] 297s tests/test_dump.py::TestSimplePrivateFunctions::test_format_header PASSED [ 17%] 297s tests/test_dump.py::TestSimplePrivateFunctions::test_format_header_handles_unicode PASSED [ 18%] 297s tests/test_dump.py::TestSimplePrivateFunctions::test_build_request_path PASSED [ 18%] 297s tests/test_dump.py::TestSimplePrivateFunctions::test_build_request_path_with_query_string PASSED [ 19%] 297s tests/test_dump.py::TestSimplePrivateFunctions::test_build_request_path_with_proxy_info PASSED [ 20%] 297s tests/test_dump.py::TestResponsePrivateFunctions::test_get_proxy_information_sans_proxy PASSED [ 20%] 297s tests/test_dump.py::TestResponsePrivateFunctions::test_get_proxy_information_with_proxy_over_http PASSED [ 21%] 297s tests/test_dump.py::TestResponsePrivateFunctions::test_get_proxy_information_with_proxy_over_https PASSED [ 21%] 297s tests/test_dump.py::TestResponsePrivateFunctions::test_dump_request_data PASSED [ 22%] 297s tests/test_dump.py::TestResponsePrivateFunctions::test_dump_non_string_request_data PASSED [ 23%] 297s tests/test_dump.py::TestResponsePrivateFunctions::test_dump_request_data_with_proxy_info PASSED [ 23%] 297s tests/test_fingerprintadapter.py::TestFingerprintAdapter::test_fingerprint PASSED [ 24%] 297s tests/test_forgetfulcookiejar.py::TestForgetfulCookieJar::test_cookies_are_ignored PASSED [ 25%] 297s tests/test_formdata.py::test_urlencode_flattens_nested_structures[query0] PASSED [ 25%] 297s tests/test_formdata.py::test_urlencode_flattens_nested_structures[query1] PASSED [ 26%] 297s tests/test_formdata.py::test_urlencode_flattens_nested_structures[query2] PASSED [ 27%] 297s tests/test_formdata.py::test_urlencode_catches_invalid_input PASSED [ 27%] 297s tests/test_host_header_ssl_adapter.py::TestHostHeaderSSLAdapter::test_ssladapter SKIPPED [ 28%] 297s tests/test_host_header_ssl_adapter.py::TestHostHeaderSSLAdapter::test_stream SKIPPED [ 29%] 297s tests/test_host_header_ssl_adapter.py::TestHostHeaderSSLAdapter::test_case_insensitive_header SKIPPED [ 29%] 297s tests/test_host_header_ssl_adapter.py::TestHostHeaderSSLAdapter::test_plain_requests SKIPPED [ 30%] 297s tests/test_multipart_decoder.py::TestBodyPart::test_changing_encoding_changes_text PASSED [ 30%] 297s tests/test_multipart_decoder.py::TestBodyPart::test_equality_content_does_not_equal_bytes PASSED [ 31%] 297s tests/test_multipart_decoder.py::TestBodyPart::test_equality_content_equals_bytes PASSED [ 32%] 297s tests/test_multipart_decoder.py::TestBodyPart::test_equality_content_should_be_equal PASSED [ 32%] 297s tests/test_multipart_decoder.py::TestBodyPart::test_equality_content_should_not_be_equal PASSED [ 33%] 297s tests/test_multipart_decoder.py::TestBodyPart::test_no_crlf_crlf_in_content PASSED [ 34%] 297s tests/test_multipart_decoder.py::TestBodyPart::test_no_headers PASSED [ 34%] 297s tests/test_multipart_decoder.py::TestBodyPart::test_text_should_be_equal PASSED [ 35%] 297s tests/test_multipart_decoder.py::TestMultipartDecoder::test_content_of_parts PASSED [ 36%] 297s tests/test_multipart_decoder.py::TestMultipartDecoder::test_from_response PASSED [ 36%] 297s tests/test_multipart_decoder.py::TestMultipartDecoder::test_from_responsecaplarge PASSED [ 37%] 297s tests/test_multipart_decoder.py::TestMultipartDecoder::test_header_of_parts PASSED [ 38%] 297s tests/test_multipart_decoder.py::TestMultipartDecoder::test_length_of_parts PASSED [ 38%] 297s tests/test_multipart_decoder.py::TestMultipartDecoder::test_non_multipart_response_fails PASSED [ 39%] 297s tests/test_multipart_encoder.py::TestCustomBytesIO::test_accepts_encoded_strings_with_unicode PASSED [ 40%] 297s tests/test_multipart_encoder.py::TestCustomBytesIO::test_can_get_length PASSED [ 40%] 297s tests/test_multipart_encoder.py::TestCustomBytesIO::test_can_read_after_writing_to PASSED [ 41%] 297s tests/test_multipart_encoder.py::TestCustomBytesIO::test_can_read_some_after_writing_to PASSED [ 41%] 297s tests/test_multipart_encoder.py::TestCustomBytesIO::test_readable PASSED [ 42%] 297s tests/test_multipart_encoder.py::TestCustomBytesIO::test_truncates_intelligently PASSED [ 43%] 297s tests/test_multipart_encoder.py::TestCustomBytesIO::test_writable PASSED [ 43%] 297s tests/test_multipart_encoder.py::TestFileFromURLWrapper::test_no_content_length_header PASSED [ 44%] 297s tests/test_multipart_encoder.py::TestFileFromURLWrapper::test_read_file PASSED [ 45%] 297s tests/test_multipart_encoder.py::TestMultipartEncoder::test_accepts_custom_content_type PASSED [ 45%] 297s tests/test_multipart_encoder.py::TestMultipartEncoder::test_accepts_custom_headers PASSED [ 46%] 297s tests/test_multipart_encoder.py::TestMultipartEncoder::test_content_type PASSED [ 47%] 297s tests/test_multipart_encoder.py::TestMultipartEncoder::test_encodes_data_the_same PASSED [ 47%] 297s tests/test_multipart_encoder.py::TestMultipartEncoder::test_encodes_with_readable_data PASSED [ 48%] 297s tests/test_multipart_encoder.py::TestMultipartEncoder::test_handles_empty_unicode_values PASSED [ 49%] 297s tests/test_multipart_encoder.py::TestMultipartEncoder::test_handles_encoded_unicode_strings PASSED [ 49%] 297s tests/test_multipart_encoder.py::TestMultipartEncoder::test_handles_uncode_strings PASSED [ 50%] 297s tests/test_multipart_encoder.py::TestMultipartEncoder::test_length_is_correct PASSED [ 50%] 297s tests/test_multipart_encoder.py::TestMultipartEncoder::test_no_parts PASSED [ 51%] 297s tests/test_multipart_encoder.py::TestMultipartEncoder::test_reads_file_from_url_wrapper PASSED [ 52%] 297s tests/test_multipart_encoder.py::TestMultipartEncoder::test_regresion_1 PASSED [ 52%] 297s tests/test_multipart_encoder.py::TestMultipartEncoder::test_regression_2 PASSED [ 53%] 297s tests/test_multipart_encoder.py::TestMultipartEncoder::test_streams_its_data PASSED [ 54%] 297s tests/test_multipart_encoder.py::TestMultipartEncoder::test_to_string PASSED [ 54%] 297s tests/test_multipart_monitor.py::TestMultipartEncoderMonitor::test_bytes_read PASSED [ 55%] 297s tests/test_multipart_monitor.py::TestMultipartEncoderMonitor::test_callback PASSED [ 56%] 297s tests/test_multipart_monitor.py::TestMultipartEncoderMonitor::test_callback_called_when_reading_everything PASSED [ 56%] 297s tests/test_multipart_monitor.py::TestMultipartEncoderMonitor::test_content_type PASSED [ 57%] 297s tests/test_multipart_monitor.py::TestMultipartEncoderMonitor::test_default_callable_is_the_identity PASSED [ 58%] 297s tests/test_multipart_monitor.py::TestMultipartEncoderMonitor::test_from_fields PASSED [ 58%] 297s tests/test_multipart_monitor.py::TestMultipartEncoderMonitor::test_length PASSED [ 59%] 297s tests/test_multipart_monitor.py::TestMultipartEncoderMonitor::test_read PASSED [ 60%] 297s tests/test_proxy_digest_auth.py::TestProxyDigestAuth::test_digest_challenge PASSED [ 60%] 297s tests/test_proxy_digest_auth.py::TestProxyDigestAuth::test_no_challenge PASSED [ 61%] 297s tests/test_proxy_digest_auth.py::TestProxyDigestAuth::test_ntlm_challenge PASSED [ 61%] 297s tests/test_proxy_digest_auth.py::TestProxyDigestAuth::test_with_existing_nonce PASSED [ 62%] 297s tests/test_sessions.py::TestBasedSession::test_prepared_request_without_base PASSED [ 63%] 297s tests/test_sessions.py::TestBasedSession::test_request_without_base PASSED [ 63%] 297s tests/test_socket_options_adapter.py::test_options_passing_on_newer_requests PASSED [ 64%] 297s tests/test_socket_options_adapter.py::test_options_not_passed_on_older_requests PASSED [ 65%] 297s tests/test_socket_options_adapter.py::test_keep_alive_on_newer_requests_no_idle PASSED [ 65%] 297s tests/test_socket_options_adapter.py::test_keep_alive_on_newer_requests_with_idle PASSED [ 66%] 297s tests/test_source_adapter.py::test_source_address_adapter_string PASSED [ 67%] 297s tests/test_source_adapter.py::test_source_address_adapter_tuple PASSED [ 67%] 297s tests/test_source_adapter.py::test_source_address_adapter_type_error PASSED [ 68%] 297s tests/test_ssladapter.py::TestSSLAdapter::test_klevas PASSED [ 69%] 297s tests/test_ssladapter.py::TestSSLAdapter::test_proxies PASSED [ 69%] 297s tests/test_streaming_iterator.py::TestStreamingIterator::test_read_returns_all_chunks_in_one[True] PASSED [ 70%] 297s tests/test_streaming_iterator.py::TestStreamingIterator::test_read_returns_all_chunks_in_one[False] PASSED [ 70%] 297s tests/test_streaming_iterator.py::TestStreamingIterator::test_read_returns_empty_string_after_exhausting_the_iterator[True] PASSED [ 71%] 297s tests/test_streaming_iterator.py::TestStreamingIterator::test_read_returns_empty_string_after_exhausting_the_iterator[False] PASSED [ 72%] 297s tests/test_streaming_iterator.py::TestStreamingIteratorWithLargeChunks::test_returns_the_amount_requested[True] PASSED [ 72%] 297s tests/test_streaming_iterator.py::TestStreamingIteratorWithLargeChunks::test_returns_the_amount_requested[False] PASSED [ 73%] 297s tests/test_streaming_iterator.py::TestStreamingIteratorWithLargeChunks::test_returns_all_of_the_bytes[True] PASSED [ 74%] 297s tests/test_streaming_iterator.py::TestStreamingIteratorWithLargeChunks::test_returns_all_of_the_bytes[False] PASSED [ 74%] 297s tests/test_user_agent.py::TestUserAgentBuilder::test_include_implementation PASSED [ 75%] 297s tests/test_user_agent.py::TestUserAgentBuilder::test_include_system PASSED [ 76%] 297s tests/test_user_agent.py::TestUserAgentBuilder::test_includes_extras PASSED [ 76%] 297s tests/test_user_agent.py::TestUserAgentBuilder::test_only_user_agent_name PASSED [ 77%] 297s tests/test_user_agent.py::TestUserAgent::test_user_agent_builds_extras_appropriately PASSED [ 78%] 297s tests/test_user_agent.py::TestUserAgent::test_user_agent_checks_extras_for_tuples_of_incorrect_length PASSED [ 78%] 297s tests/test_user_agent.py::TestUserAgent::test_user_agent_provides_package_name PASSED [ 79%] 297s tests/test_user_agent.py::TestUserAgent::test_user_agent_provides_package_version PASSED [ 80%] 297s tests/test_user_agent.py::TestImplementationString::test_cpython_implementation PASSED [ 80%] 297s tests/test_user_agent.py::TestImplementationString::test_pypy_implementation_final PASSED [ 81%] 297s tests/test_user_agent.py::TestImplementationString::test_pypy_implementation_non_final PASSED [ 81%] 297s tests/test_user_agent.py::TestImplementationString::test_unknown_implementation PASSED [ 82%] 297s tests/test_x509_adapter.py::TestX509Adapter::test_requires_new_enough_requests SKIPPED [ 83%] 297s tests/test_x509_adapter.py::TestX509Adapter::test_x509_der_and_password PASSED [ 83%] 297s tests/test_x509_adapter.py::TestX509Adapter::test_x509_pem PASSED [ 84%] 297s tests/threaded/test_api.py::test_creates_a_pool_for_the_user PASSED [ 85%] 297s tests/threaded/test_api.py::test_raises_a_value_error_for_non_dictionaries PASSED [ 85%] 297s tests/threaded/test_api.py::test_raises_a_value_error_for_falsey_requests PASSED [ 86%] 297s tests/threaded/test_api.py::test_passes_on_kwargs PASSED [ 87%] 297s tests/threaded/test_pool.py::TestPool::test_auth_generator_is_called PASSED [ 87%] 297s tests/threaded/test_pool.py::TestPool::test_from_exceptions_populates_a_queue PASSED [ 88%] 297s tests/threaded/test_pool.py::TestPool::test_from_urls_constructs_get_requests PASSED [ 89%] 297s tests/threaded/test_pool.py::TestPool::test_from_urls_constructs_get_requests_with_kwargs PASSED [ 89%] 297s tests/threaded/test_pool.py::TestPool::test_get_exception_returns_none_when_queue_is_empty PASSED [ 90%] 297s tests/threaded/test_pool.py::TestPool::test_get_exception_returns_thread_exception PASSED [ 90%] 297s tests/threaded/test_pool.py::TestPool::test_get_response_returns_none_when_queue_is_empty PASSED [ 91%] 297s tests/threaded/test_pool.py::TestPool::test_get_response_returns_thread_response PASSED [ 92%] 297s tests/threaded/test_pool.py::TestPool::test_initializer_is_called PASSED [ 92%] 297s tests/threaded/test_pool.py::TestPool::test_join_all PASSED [ 93%] 297s tests/threaded/test_pool.py::TestPool::test_lists_are_correctly_returned PASSED [ 94%] 297s tests/threaded/test_pool.py::TestPool::test_number_of_processes_can_be_arbitrary PASSED [ 94%] 297s tests/threaded/test_pool.py::TestPool::test_requires_positive_number_of_processes PASSED [ 95%] 297s tests/threaded/test_pool.py::TestPool::test_session_is_called PASSED [ 96%] 297s tests/threaded/test_thread.py::TestSessionThread::test_handle_invalid_request PASSED [ 96%] 297s tests/threaded/test_thread.py::TestSessionThread::test_handle_valid_request PASSED [ 97%] 297s tests/threaded/test_thread.py::TestSessionThread::test_is_alive_proxies_to_worker PASSED [ 98%] 297s tests/threaded/test_thread.py::TestSessionThread::test_join_proxies_to_worker PASSED [ 98%] 297s tests/threaded/test_thread.py::TestSessionThread::test_make_request PASSED [ 99%] 297s tests/threaded/test_thread.py::TestSessionThread::test_thread_initialization PASSED [100%] 297s 297s =============================== warnings summary =============================== 297s tests/test_auth.py: 3 warnings 297s tests/test_downloadutils.py: 9 warnings 297s tests/test_fingerprintadapter.py: 1 warning 297s tests/test_forgetfulcookiejar.py: 1 warning 297s tests/test_multipart_encoder.py: 3 warnings 297s tests/test_ssladapter.py: 1 warning 297s tests/test_x509_adapter.py: 2 warnings 297s /usr/lib/python3/dist-packages/betamax/adapter.py:105: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 297s now = datetime.utcnow() 297s 297s tests/test_x509_adapter.py::TestX509Adapter::test_x509_der_and_password 297s tests/test_x509_adapter.py::TestX509Adapter::test_x509_pem 297s /usr/lib/python3/dist-packages/requests_toolbelt/adapters/x509.py:152: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 297s now = datetime.utcnow() 297s 297s tests/test_x509_adapter.py::TestX509Adapter::test_x509_der_and_password 297s tests/test_x509_adapter.py::TestX509Adapter::test_x509_pem 297s /usr/lib/python3/dist-packages/requests_toolbelt/adapters/x509.py:153: CryptographyDeprecationWarning: Properties that return a naïve datetime object have been deprecated. Please switch to not_valid_after_utc. 297s if cert.not_valid_after < now or cert.not_valid_before > now: 297s 297s tests/test_x509_adapter.py::TestX509Adapter::test_x509_der_and_password 297s tests/test_x509_adapter.py::TestX509Adapter::test_x509_pem 297s /usr/lib/python3/dist-packages/requests_toolbelt/adapters/x509.py:153: CryptographyDeprecationWarning: Properties that return a naïve datetime object have been deprecated. Please switch to not_valid_before_utc. 297s if cert.not_valid_after < now or cert.not_valid_before > now: 297s 297s tests/test_x509_adapter.py::TestX509Adapter::test_x509_der_and_password 297s tests/test_x509_adapter.py::TestX509Adapter::test_x509_pem 297s /usr/lib/python3/dist-packages/requests_toolbelt/adapters/x509.py:194: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. 297s ssl_context._ctx.use_certificate(X509.from_cryptography(cert)) 297s 297s tests/test_x509_adapter.py::TestX509Adapter::test_x509_der_and_password 297s tests/test_x509_adapter.py::TestX509Adapter::test_x509_pem 297s /usr/lib/python3/dist-packages/requests_toolbelt/adapters/x509.py:195: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. 297s ssl_context._ctx.use_privatekey(PKey.from_cryptography_key(key)) 297s 297s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 297s ========== 150 passed, 5 skipped, 14 deselected, 30 warnings in 1.31s ========== 297s + python3.13 -m pytest -k not test_reads_open_file_objects and not test_reads_open_file_objects_using_to_string and not test_reads_open_file_objects_with_a_specified_filename and not test_dump_response and not test_dump_all and not test_prepared_request_override_base and not test_prepared_request_with_base and not test_request_override_base and not test_request_with_base -v 298s ============================= test session starts ============================== 298s platform linux -- Python 3.13.1, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3.13 298s cachedir: .pytest_cache 298s rootdir: /tmp/autopkgtest.BL2MLW/autopkgtest_tmp 298s plugins: typeguard-4.4.1, betamax-0.9.0 298s collecting ... collected 169 items / 14 deselected / 155 selected 298s 298s tests/test_auth.py::TestGuessAuth::test_basic PASSED [ 0%] 298s tests/test_auth.py::TestGuessAuth::test_digest PASSED [ 1%] 298s tests/test_auth.py::TestGuessAuth::test_no_auth PASSED [ 1%] 298s tests/test_auth.py::TestGuessProxyAuth::test_handle_407_header_basic PASSED [ 2%] 298s tests/test_auth.py::TestGuessProxyAuth::test_handle_407_header_digest PASSED [ 3%] 298s tests/test_auth_handler.py::test_turns_tuples_into_basic_auth PASSED [ 3%] 298s tests/test_auth_handler.py::test_uses_null_strategy_for_non_matching_domains PASSED [ 4%] 298s tests/test_auth_handler.py::test_normalizes_domain_keys PASSED [ 5%] 298s tests/test_auth_handler.py::test_can_add_new_strategies PASSED [ 5%] 298s tests/test_auth_handler.py::test_prepares_auth_correctly PASSED [ 6%] 298s tests/test_downloadutils.py::test_get_download_file_path_uses_content_disposition PASSED [ 7%] 298s tests/test_downloadutils.py::test_get_download_file_path_directory PASSED [ 7%] 298s tests/test_downloadutils.py::test_get_download_file_path_specific_file PASSED [ 8%] 298s tests/test_downloadutils.py::test_stream_response_to_file_uses_content_disposition PASSED [ 9%] 298s tests/test_downloadutils.py::test_stream_response_to_specific_filename PASSED [ 9%] 298s tests/test_downloadutils.py::test_stream_response_to_directory PASSED [ 10%] 298s tests/test_downloadutils.py::test_stream_response_to_existing_file PASSED [ 10%] 298s tests/test_downloadutils.py::test_stream_response_to_file_like_object PASSED [ 11%] 298s tests/test_downloadutils.py::test_stream_response_to_file_chunksize PASSED [ 12%] 298s tests/test_downloadutils.py::test_tee PASSED [ 12%] 298s tests/test_downloadutils.py::test_tee_rejects_StringIO PASSED [ 13%] 298s tests/test_downloadutils.py::test_tee_to_file PASSED [ 14%] 298s tests/test_downloadutils.py::test_tee_to_bytearray PASSED [ 14%] 298s tests/test_downloadutils.py::test_tee_to_bytearray_only_accepts_bytearrays PASSED [ 15%] 298s tests/test_dump.py::TestSimplePrivateFunctions::test_coerce_to_bytes_skips_byte_strings PASSED [ 16%] 298s tests/test_dump.py::TestSimplePrivateFunctions::test_coerce_to_bytes_converts_text PASSED [ 16%] 298s tests/test_dump.py::TestSimplePrivateFunctions::test_format_header PASSED [ 17%] 298s tests/test_dump.py::TestSimplePrivateFunctions::test_format_header_handles_unicode PASSED [ 18%] 298s tests/test_dump.py::TestSimplePrivateFunctions::test_build_request_path PASSED [ 18%] 298s tests/test_dump.py::TestSimplePrivateFunctions::test_build_request_path_with_query_string PASSED [ 19%] 298s tests/test_dump.py::TestSimplePrivateFunctions::test_build_request_path_with_proxy_info PASSED [ 20%] 298s tests/test_dump.py::TestResponsePrivateFunctions::test_get_proxy_information_sans_proxy PASSED [ 20%] 298s tests/test_dump.py::TestResponsePrivateFunctions::test_get_proxy_information_with_proxy_over_http PASSED [ 21%] 298s tests/test_dump.py::TestResponsePrivateFunctions::test_get_proxy_information_with_proxy_over_https PASSED [ 21%] 298s tests/test_dump.py::TestResponsePrivateFunctions::test_dump_request_data PASSED [ 22%] 298s tests/test_dump.py::TestResponsePrivateFunctions::test_dump_non_string_request_data PASSED [ 23%] 298s tests/test_dump.py::TestResponsePrivateFunctions::test_dump_request_data_with_proxy_info PASSED [ 23%] 298s tests/test_fingerprintadapter.py::TestFingerprintAdapter::test_fingerprint PASSED [ 24%] 298s tests/test_forgetfulcookiejar.py::TestForgetfulCookieJar::test_cookies_are_ignored PASSED [ 25%] 299s tests/test_formdata.py::test_urlencode_flattens_nested_structures[query0] PASSED [ 25%] 299s tests/test_formdata.py::test_urlencode_flattens_nested_structures[query1] PASSED [ 26%] 299s tests/test_formdata.py::test_urlencode_flattens_nested_structures[query2] PASSED [ 27%] 299s tests/test_formdata.py::test_urlencode_catches_invalid_input PASSED [ 27%] 299s tests/test_host_header_ssl_adapter.py::TestHostHeaderSSLAdapter::test_ssladapter SKIPPED [ 28%] 299s tests/test_host_header_ssl_adapter.py::TestHostHeaderSSLAdapter::test_stream SKIPPED [ 29%] 299s tests/test_host_header_ssl_adapter.py::TestHostHeaderSSLAdapter::test_case_insensitive_header SKIPPED [ 29%] 299s tests/test_host_header_ssl_adapter.py::TestHostHeaderSSLAdapter::test_plain_requests SKIPPED [ 30%] 299s tests/test_multipart_decoder.py::TestBodyPart::test_changing_encoding_changes_text PASSED [ 30%] 299s tests/test_multipart_decoder.py::TestBodyPart::test_equality_content_does_not_equal_bytes PASSED [ 31%] 299s tests/test_multipart_decoder.py::TestBodyPart::test_equality_content_equals_bytes PASSED [ 32%] 299s tests/test_multipart_decoder.py::TestBodyPart::test_equality_content_should_be_equal PASSED [ 32%] 299s tests/test_multipart_decoder.py::TestBodyPart::test_equality_content_should_not_be_equal PASSED [ 33%] 299s tests/test_multipart_decoder.py::TestBodyPart::test_no_crlf_crlf_in_content PASSED [ 34%] 299s tests/test_multipart_decoder.py::TestBodyPart::test_no_headers PASSED [ 34%] 299s tests/test_multipart_decoder.py::TestBodyPart::test_text_should_be_equal PASSED [ 35%] 299s tests/test_multipart_decoder.py::TestMultipartDecoder::test_content_of_parts PASSED [ 36%] 299s tests/test_multipart_decoder.py::TestMultipartDecoder::test_from_response PASSED [ 36%] 299s tests/test_multipart_decoder.py::TestMultipartDecoder::test_from_responsecaplarge PASSED [ 37%] 299s tests/test_multipart_decoder.py::TestMultipartDecoder::test_header_of_parts PASSED [ 38%] 299s tests/test_multipart_decoder.py::TestMultipartDecoder::test_length_of_parts PASSED [ 38%] 299s tests/test_multipart_decoder.py::TestMultipartDecoder::test_non_multipart_response_fails PASSED [ 39%] 299s tests/test_multipart_encoder.py::TestCustomBytesIO::test_accepts_encoded_strings_with_unicode PASSED [ 40%] 299s tests/test_multipart_encoder.py::TestCustomBytesIO::test_can_get_length PASSED [ 40%] 299s tests/test_multipart_encoder.py::TestCustomBytesIO::test_can_read_after_writing_to PASSED [ 41%] 299s tests/test_multipart_encoder.py::TestCustomBytesIO::test_can_read_some_after_writing_to PASSED [ 41%] 299s tests/test_multipart_encoder.py::TestCustomBytesIO::test_readable PASSED [ 42%] 299s tests/test_multipart_encoder.py::TestCustomBytesIO::test_truncates_intelligently PASSED [ 43%] 299s tests/test_multipart_encoder.py::TestCustomBytesIO::test_writable PASSED [ 43%] 299s tests/test_multipart_encoder.py::TestFileFromURLWrapper::test_no_content_length_header PASSED [ 44%] 299s tests/test_multipart_encoder.py::TestFileFromURLWrapper::test_read_file PASSED [ 45%] 299s tests/test_multipart_encoder.py::TestMultipartEncoder::test_accepts_custom_content_type PASSED [ 45%] 299s tests/test_multipart_encoder.py::TestMultipartEncoder::test_accepts_custom_headers PASSED [ 46%] 299s tests/test_multipart_encoder.py::TestMultipartEncoder::test_content_type PASSED [ 47%] 299s tests/test_multipart_encoder.py::TestMultipartEncoder::test_encodes_data_the_same PASSED [ 47%] 299s tests/test_multipart_encoder.py::TestMultipartEncoder::test_encodes_with_readable_data PASSED [ 48%] 299s tests/test_multipart_encoder.py::TestMultipartEncoder::test_handles_empty_unicode_values PASSED [ 49%] 299s tests/test_multipart_encoder.py::TestMultipartEncoder::test_handles_encoded_unicode_strings PASSED [ 49%] 299s tests/test_multipart_encoder.py::TestMultipartEncoder::test_handles_uncode_strings PASSED [ 50%] 299s tests/test_multipart_encoder.py::TestMultipartEncoder::test_length_is_correct PASSED [ 50%] 299s tests/test_multipart_encoder.py::TestMultipartEncoder::test_no_parts PASSED [ 51%] 299s tests/test_multipart_encoder.py::TestMultipartEncoder::test_reads_file_from_url_wrapper PASSED [ 52%] 299s tests/test_multipart_encoder.py::TestMultipartEncoder::test_regresion_1 PASSED [ 52%] 299s tests/test_multipart_encoder.py::TestMultipartEncoder::test_regression_2 PASSED [ 53%] 299s tests/test_multipart_encoder.py::TestMultipartEncoder::test_streams_its_data PASSED [ 54%] 299s tests/test_multipart_encoder.py::TestMultipartEncoder::test_to_string PASSED [ 54%] 299s tests/test_multipart_monitor.py::TestMultipartEncoderMonitor::test_bytes_read PASSED [ 55%] 299s tests/test_multipart_monitor.py::TestMultipartEncoderMonitor::test_callback PASSED [ 56%] 299s tests/test_multipart_monitor.py::TestMultipartEncoderMonitor::test_callback_called_when_reading_everything PASSED [ 56%] 299s tests/test_multipart_monitor.py::TestMultipartEncoderMonitor::test_content_type PASSED [ 57%] 299s tests/test_multipart_monitor.py::TestMultipartEncoderMonitor::test_default_callable_is_the_identity PASSED [ 58%] 299s tests/test_multipart_monitor.py::TestMultipartEncoderMonitor::test_from_fields PASSED [ 58%] 299s tests/test_multipart_monitor.py::TestMultipartEncoderMonitor::test_length PASSED [ 59%] 299s tests/test_multipart_monitor.py::TestMultipartEncoderMonitor::test_read PASSED [ 60%] 299s tests/test_proxy_digest_auth.py::TestProxyDigestAuth::test_digest_challenge PASSED [ 60%] 299s tests/test_proxy_digest_auth.py::TestProxyDigestAuth::test_no_challenge PASSED [ 61%] 299s tests/test_proxy_digest_auth.py::TestProxyDigestAuth::test_ntlm_challenge PASSED [ 61%] 299s tests/test_proxy_digest_auth.py::TestProxyDigestAuth::test_with_existing_nonce PASSED [ 62%] 299s tests/test_sessions.py::TestBasedSession::test_prepared_request_without_base PASSED [ 63%] 299s tests/test_sessions.py::TestBasedSession::test_request_without_base PASSED [ 63%] 299s tests/test_socket_options_adapter.py::test_options_passing_on_newer_requests PASSED [ 64%] 299s tests/test_socket_options_adapter.py::test_options_not_passed_on_older_requests PASSED [ 65%] 299s tests/test_socket_options_adapter.py::test_keep_alive_on_newer_requests_no_idle PASSED [ 65%] 299s tests/test_socket_options_adapter.py::test_keep_alive_on_newer_requests_with_idle PASSED [ 66%] 299s tests/test_source_adapter.py::test_source_address_adapter_string PASSED [ 67%] 299s tests/test_source_adapter.py::test_source_address_adapter_tuple PASSED [ 67%] 299s tests/test_source_adapter.py::test_source_address_adapter_type_error PASSED [ 68%] 299s tests/test_ssladapter.py::TestSSLAdapter::test_klevas PASSED [ 69%] 299s tests/test_ssladapter.py::TestSSLAdapter::test_proxies PASSED [ 69%] 299s tests/test_streaming_iterator.py::TestStreamingIterator::test_read_returns_all_chunks_in_one[True] PASSED [ 70%] 299s tests/test_streaming_iterator.py::TestStreamingIterator::test_read_returns_all_chunks_in_one[False] PASSED [ 70%] 299s tests/test_streaming_iterator.py::TestStreamingIterator::test_read_returns_empty_string_after_exhausting_the_iterator[True] PASSED [ 71%] 299s tests/test_streaming_iterator.py::TestStreamingIterator::test_read_returns_empty_string_after_exhausting_the_iterator[False] PASSED [ 72%] 299s tests/test_streaming_iterator.py::TestStreamingIteratorWithLargeChunks::test_returns_the_amount_requested[True] PASSED [ 72%] 299s tests/test_streaming_iterator.py::TestStreamingIteratorWithLargeChunks::test_returns_the_amount_requested[False] PASSED [ 73%] 299s tests/test_streaming_iterator.py::TestStreamingIteratorWithLargeChunks::test_returns_all_of_the_bytes[True] PASSED [ 74%] 299s tests/test_streaming_iterator.py::TestStreamingIteratorWithLargeChunks::test_returns_all_of_the_bytes[False] PASSED [ 74%] 299s tests/test_user_agent.py::TestUserAgentBuilder::test_include_implementation PASSED [ 75%] 299s tests/test_user_agent.py::TestUserAgentBuilder::test_include_system PASSED [ 76%] 299s tests/test_user_agent.py::TestUserAgentBuilder::test_includes_extras PASSED [ 76%] 299s tests/test_user_agent.py::TestUserAgentBuilder::test_only_user_agent_name PASSED [ 77%] 299s tests/test_user_agent.py::TestUserAgent::test_user_agent_builds_extras_appropriately PASSED [ 78%] 299s tests/test_user_agent.py::TestUserAgent::test_user_agent_checks_extras_for_tuples_of_incorrect_length PASSED [ 78%] 299s tests/test_user_agent.py::TestUserAgent::test_user_agent_provides_package_name PASSED [ 79%] 299s tests/test_user_agent.py::TestUserAgent::test_user_agent_provides_package_version PASSED [ 80%] 299s tests/test_user_agent.py::TestImplementationString::test_cpython_implementation PASSED [ 80%] 299s tests/test_user_agent.py::TestImplementationString::test_pypy_implementation_final PASSED [ 81%] 299s tests/test_user_agent.py::TestImplementationString::test_pypy_implementation_non_final PASSED [ 81%] 299s tests/test_user_agent.py::TestImplementationString::test_unknown_implementation PASSED [ 82%] 299s tests/test_x509_adapter.py::TestX509Adapter::test_requires_new_enough_requests SKIPPED [ 83%] 299s tests/test_x509_adapter.py::TestX509Adapter::test_x509_der_and_password PASSED [ 83%] 299s tests/test_x509_adapter.py::TestX509Adapter::test_x509_pem PASSED [ 84%] 299s tests/threaded/test_api.py::test_creates_a_pool_for_the_user PASSED [ 85%] 299s tests/threaded/test_api.py::test_raises_a_value_error_for_non_dictionaries PASSED [ 85%] 299s tests/threaded/test_api.py::test_raises_a_value_error_for_falsey_requests PASSED [ 86%] 299s tests/threaded/test_api.py::test_passes_on_kwargs PASSED [ 87%] 299s tests/threaded/test_pool.py::TestPool::test_auth_generator_is_called PASSED [ 87%] 299s tests/threaded/test_pool.py::TestPool::test_from_exceptions_populates_a_queue PASSED [ 88%] 299s tests/threaded/test_pool.py::TestPool::test_from_urls_constructs_get_requests PASSED [ 89%] 299s tests/threaded/test_pool.py::TestPool::test_from_urls_constructs_get_requests_with_kwargs PASSED [ 89%] 299s tests/threaded/test_pool.py::TestPool::test_get_exception_returns_none_when_queue_is_empty PASSED [ 90%] 299s tests/threaded/test_pool.py::TestPool::test_get_exception_returns_thread_exception PASSED [ 90%] 299s tests/threaded/test_pool.py::TestPool::test_get_response_returns_none_when_queue_is_empty PASSED [ 91%] 299s tests/threaded/test_pool.py::TestPool::test_get_response_returns_thread_response PASSED [ 92%] 299s tests/threaded/test_pool.py::TestPool::test_initializer_is_called PASSED [ 92%] 299s tests/threaded/test_pool.py::TestPool::test_join_all PASSED [ 93%] 299s tests/threaded/test_pool.py::TestPool::test_lists_are_correctly_returned PASSED [ 94%] 299s tests/threaded/test_pool.py::TestPool::test_number_of_processes_can_be_arbitrary PASSED [ 94%] 299s tests/threaded/test_pool.py::TestPool::test_requires_positive_number_of_processes PASSED [ 95%] 299s tests/threaded/test_pool.py::TestPool::test_session_is_called PASSED [ 96%] 299s tests/threaded/test_thread.py::TestSessionThread::test_handle_invalid_request PASSED [ 96%] 299s tests/threaded/test_thread.py::TestSessionThread::test_handle_valid_request PASSED [ 97%] 299s tests/threaded/test_thread.py::TestSessionThread::test_is_alive_proxies_to_worker PASSED [ 98%] 299s tests/threaded/test_thread.py::TestSessionThread::test_join_proxies_to_worker PASSED [ 98%] 299s tests/threaded/test_thread.py::TestSessionThread::test_make_request PASSED [ 99%] 299s tests/threaded/test_thread.py::TestSessionThread::test_thread_initialization PASSED [100%] 299s 299s =============================== warnings summary =============================== 299s tests/test_auth.py: 3 warnings 299s tests/test_downloadutils.py: 9 warnings 299s tests/test_fingerprintadapter.py: 1 warning 299s tests/test_forgetfulcookiejar.py: 1 warning 299s tests/test_multipart_encoder.py: 3 warnings 299s tests/test_ssladapter.py: 1 warning 299s tests/test_x509_adapter.py: 2 warnings 299s /usr/lib/python3/dist-packages/betamax/adapter.py:105: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 299s now = datetime.utcnow() 299s 299s tests/test_x509_adapter.py::TestX509Adapter::test_x509_der_and_password 299s tests/test_x509_adapter.py::TestX509Adapter::test_x509_pem 299s /usr/lib/python3/dist-packages/requests_toolbelt/adapters/x509.py:152: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 299s now = datetime.utcnow() 299s 299s tests/test_x509_adapter.py::TestX509Adapter::test_x509_der_and_password 299s tests/test_x509_adapter.py::TestX509Adapter::test_x509_pem 299s /usr/lib/python3/dist-packages/requests_toolbelt/adapters/x509.py:153: CryptographyDeprecationWarning: Properties that return a naïve datetime object have been deprecated. Please switch to not_valid_after_utc. 299s if cert.not_valid_after < now or cert.not_valid_before > now: 299s 299s tests/test_x509_adapter.py::TestX509Adapter::test_x509_der_and_password 299s tests/test_x509_adapter.py::TestX509Adapter::test_x509_pem 299s /usr/lib/python3/dist-packages/requests_toolbelt/adapters/x509.py:153: CryptographyDeprecationWarning: Properties that return a naïve datetime object have been deprecated. Please switch to not_valid_before_utc. 299s if cert.not_valid_after < now or cert.not_valid_before > now: 299s 299s tests/test_x509_adapter.py::TestX509Adapter::test_x509_der_and_password 299s tests/test_x509_adapter.py::TestX509Adapter::test_x509_pem 299s /usr/lib/python3/dist-packages/requests_toolbelt/adapters/x509.py:194: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. 299s ssl_context._ctx.use_certificate(X509.from_cryptography(cert)) 299s 299s tests/test_x509_adapter.py::TestX509Adapter::test_x509_der_and_password 299s tests/test_x509_adapter.py::TestX509Adapter::test_x509_pem 299s /usr/lib/python3/dist-packages/requests_toolbelt/adapters/x509.py:195: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. 299s ssl_context._ctx.use_privatekey(PKey.from_cryptography_key(key)) 299s 299s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 299s ========== 150 passed, 5 skipped, 14 deselected, 30 warnings in 1.17s ========== 300s autopkgtest [03:43:22]: test pytest: -----------------------] 300s pytest PASS 300s autopkgtest [03:43:22]: test pytest: - - - - - - - - - - results - - - - - - - - - - 300s autopkgtest [03:43:22]: @@@@@@@@@@@@@@@@@@@@ summary 300s pytest PASS 305s nova [W] Using flock in prodstack6-ppc64el 305s flock: timeout while waiting to get lock 305s Creating nova instance adt-plucky-ppc64el-python-requests-toolbelt-20250104-033822-juju-7f2275-prod-proposed-migration-environment-15-e615b8b9-e9a6-4ab6-8a78-f85ddc2ada9e from image adt/ubuntu-plucky-ppc64el-server-20250103.img (UUID f20efbba-1df4-424c-8de8-0f24e2643aa4)... 305s nova [W] Timed out waiting for f63ed8c4-747b-45e1-b8b3-14c2848b032a to get deleted.