0s autopkgtest [09:19:33]: starting date and time: 2025-03-13 09:19:33+0000 0s autopkgtest [09:19:33]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [09:19:33]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.1p7azkp5/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:pytest-httpx,src:httpx,src:python-urllib3 --apt-upgrade pydiscovergy --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=pytest-httpx/0.35.0-1 httpx/0.28.1-1 python-urllib3/2.3.0-2' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-s390x --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@bos03-s390x-25.secgroup --name adt-plucky-s390x-pydiscovergy-20250313-091933-juju-7f2275-prod-proposed-migration-environment-20-ebfe28e3-a9d7-4dc8-b7a7-ed1d3905813a --image adt/ubuntu-plucky-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-proposed-migration-s390x -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/ 119s autopkgtest [09:21:32]: testbed dpkg architecture: s390x 119s autopkgtest [09:21:32]: testbed apt version: 2.9.32ubuntu1 119s autopkgtest [09:21:32]: @@@@@@@@@@@@@@@@@@@@ test bed setup 119s autopkgtest [09:21:32]: testbed release detected to be: None 120s autopkgtest [09:21:33]: updating testbed package index (apt update) 120s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [110 kB] 120s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 121s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 121s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 121s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [429 kB] 121s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [11.5 kB] 121s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [44.2 kB] 121s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [59.1 kB] 121s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [342 kB] 121s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [2512 B] 121s Fetched 999 kB in 1s (1221 kB/s) 121s Reading package lists... 122s Reading package lists... 122s Building dependency tree... 122s Reading state information... 122s Calculating upgrade... 122s Calculating upgrade... 122s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 122s Reading package lists... 123s Building dependency tree... 123s Reading state information... 123s Solving dependencies... 123s The following packages will be REMOVED: 123s linux-image-6.11.0-8-generic* 123s 0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded. 123s After this operation, 10.5 MB disk space will be freed. 123s (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 ... 81495 files and directories currently installed.) 123s Removing linux-image-6.11.0-8-generic (6.11.0-8.8) ... 123s I: /boot/vmlinuz.old is now a symlink to vmlinuz-6.14.0-7-generic 123s I: /boot/initrd.img.old is now a symlink to initrd.img-6.14.0-7-generic 123s /etc/kernel/postrm.d/initramfs-tools: 123s update-initramfs: Deleting /boot/initrd.img-6.11.0-8-generic 123s /etc/kernel/postrm.d/zz-zipl: 123s Using config file '/etc/zipl.conf' 123s Building bootmap in '/boot' 123s Adding IPL section 'ubuntu' (default) 123s Preparing boot device for LD-IPL: vda (0000). 123s Done. 123s (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 ... 81491 files and directories currently installed.) 123s Purging configuration files for linux-image-6.11.0-8-generic (6.11.0-8.8) ... 123s rmdir: failed to remove '/lib/modules/6.11.0-8-generic': Directory not empty 123s autopkgtest [09:21:36]: upgrading testbed (apt dist-upgrade and autopurge) 124s Reading package lists... 124s Building dependency tree... 124s Reading state information... 124s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 124s Starting 2 pkgProblemResolver with broken count: 0 124s Done 124s Entering ResolveByKeep 124s 124s Calculating upgrade... 124s The following packages were automatically installed and are no longer required: 124s libnsl2 libpython3.12-minimal libpython3.12-stdlib libpython3.12t64 124s linux-headers-6.11.0-8 linux-headers-6.11.0-8-generic 124s linux-modules-6.11.0-8-generic linux-tools-6.11.0-8 124s linux-tools-6.11.0-8-generic 124s Use 'sudo apt autoremove' to remove them. 124s The following packages will be upgraded: 124s python3-urllib3 124s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 124s Need to get 94.1 kB of archives. 124s After this operation, 0 B of additional disk space will be used. 124s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x python3-urllib3 all 2.3.0-2 [94.1 kB] 125s Fetched 94.1 kB in 0s (343 kB/s) 125s (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 ... 81491 files and directories currently installed.) 125s Preparing to unpack .../python3-urllib3_2.3.0-2_all.deb ... 125s Unpacking python3-urllib3 (2.3.0-2) over (2.3.0-1) ... 125s Setting up python3-urllib3 (2.3.0-2) ... 125s Reading package lists... 125s Building dependency tree... 125s Reading state information... 126s Starting pkgProblemResolver with broken count: 0 126s Starting 2 pkgProblemResolver with broken count: 0 126s Done 126s Solving dependencies... 126s The following packages will be REMOVED: 126s libnsl2* libpython3.12-minimal* libpython3.12-stdlib* libpython3.12t64* 126s linux-headers-6.11.0-8* linux-headers-6.11.0-8-generic* 126s linux-modules-6.11.0-8-generic* linux-tools-6.11.0-8* 126s linux-tools-6.11.0-8-generic* 126s 0 upgraded, 0 newly installed, 9 to remove and 0 not upgraded. 126s After this operation, 167 MB disk space will be freed. 126s (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 ... 81491 files and directories currently installed.) 126s Removing linux-tools-6.11.0-8-generic (6.11.0-8.8) ... 126s Removing linux-tools-6.11.0-8 (6.11.0-8.8) ... 126s Removing libpython3.12t64:s390x (3.12.9-1) ... 126s Removing libpython3.12-stdlib:s390x (3.12.9-1) ... 126s Removing libnsl2:s390x (1.3.0-3build3) ... 126s Removing libpython3.12-minimal:s390x (3.12.9-1) ... 126s Removing linux-headers-6.11.0-8-generic (6.11.0-8.8) ... 126s Removing linux-headers-6.11.0-8 (6.11.0-8.8) ... 127s Removing linux-modules-6.11.0-8-generic (6.11.0-8.8) ... 127s Processing triggers for libc-bin (2.41-1ubuntu1) ... 127s (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 ... 56391 files and directories currently installed.) 127s Purging configuration files for libpython3.12-minimal:s390x (3.12.9-1) ... 127s Purging configuration files for linux-modules-6.11.0-8-generic (6.11.0-8.8) ... 127s autopkgtest [09:21:40]: rebooting testbed after setup commands that affected boot 146s autopkgtest [09:21:59]: testbed running kernel: Linux 6.14.0-7-generic #7-Ubuntu SMP Fri Feb 28 10:57:32 UTC 2025 149s autopkgtest [09:22:02]: @@@@@@@@@@@@@@@@@@@@ apt-source pydiscovergy 150s Get:1 http://ftpmaster.internal/ubuntu plucky/universe pydiscovergy 3.1.0-1 (dsc) [2460 B] 150s Get:2 http://ftpmaster.internal/ubuntu plucky/universe pydiscovergy 3.1.0-1 (tar) [46.6 kB] 150s Get:3 http://ftpmaster.internal/ubuntu plucky/universe pydiscovergy 3.1.0-1 (diff) [2548 B] 150s gpgv: Signature made Thu Feb 13 15:28:46 2025 UTC 150s gpgv: using RSA key FB8ACFA78C726089C38AD0269605A1098C63B92A 150s gpgv: Can't check signature: No public key 150s dpkg-source: warning: cannot verify inline signature for ./pydiscovergy_3.1.0-1.dsc: no acceptable signature found 150s autopkgtest [09:22:03]: testing package pydiscovergy version 3.1.0-1 150s autopkgtest [09:22:03]: build not needed 151s autopkgtest [09:22:04]: test run-tests: preparing testbed 151s Reading package lists... 151s Building dependency tree... 151s Reading state information... 151s Starting pkgProblemResolver with broken count: 0 151s Starting 2 pkgProblemResolver with broken count: 0 151s Done 151s The following NEW packages will be installed: 151s python3-all python3-anyio python3-async-generator python3-authlib 151s python3-click python3-h11 python3-httpcore python3-httpx python3-iniconfig 151s python3-mashumaro python3-msgpack python3-orjson python3-packaging 151s python3-pluggy python3-pycryptodome python3-pydiscovergy python3-pytest 151s python3-pytest-asyncio python3-pytest-httpx python3-respx python3-sniffio 151s python3-tomli python3-tomli-w 152s 0 upgraded, 23 newly installed, 0 to remove and 0 not upgraded. 152s Need to get 2566 kB of archives. 152s After this operation, 10.6 MB of additional disk space will be used. 152s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x python3-all s390x 3.13.2-2 [886 B] 152s Get:2 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-sniffio all 1.3.1-1 [7262 B] 152s Get:3 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-anyio all 4.8.0-2 [63.4 kB] 152s Get:4 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-async-generator all 1.10-4 [17.5 kB] 152s Get:5 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pycryptodome s390x 3.20.0+dfsg-3build1 [1094 kB] 152s Get:6 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-authlib all 1.5.1-1 [116 kB] 152s Get:7 http://ftpmaster.internal/ubuntu plucky/main s390x python3-click all 8.2.0+0.really.8.1.8-1 [80.0 kB] 152s Get:8 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-h11 all 0.14.0-1 [51.1 kB] 152s Get:9 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-httpcore all 1.0.7-1 [38.8 kB] 152s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x python3-httpx all 0.28.1-1 [59.4 kB] 152s Get:11 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-iniconfig all 1.1.1-2 [6024 B] 152s Get:12 http://ftpmaster.internal/ubuntu plucky/main s390x python3-msgpack s390x 1.0.3-3build4 [87.7 kB] 152s Get:13 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-orjson s390x 3.10.7-2build1 [319 kB] 152s Get:14 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-tomli s390x 2.2.1-2build1 [129 kB] 152s Get:15 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-tomli-w all 1.0.0-3 [7342 B] 152s Get:16 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-mashumaro all 3.15-1 [89.4 kB] 152s Get:17 http://ftpmaster.internal/ubuntu plucky/main s390x python3-packaging all 24.2-1 [51.5 kB] 152s Get:18 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pluggy all 1.5.0-1 [21.0 kB] 152s Get:19 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pydiscovergy all 3.1.0-1 [12.6 kB] 152s Get:20 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pytest all 8.3.4-1 [252 kB] 152s Get:21 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pytest-asyncio all 0.25.1-1 [17.0 kB] 152s Get:22 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x python3-pytest-httpx all 0.35.0-1 [24.0 kB] 152s Get:23 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-respx all 0.21.1-2 [21.0 kB] 152s Fetched 2566 kB in 1s (3457 kB/s) 152s Selecting previously unselected package python3-all. 153s (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 ... 56389 files and directories currently installed.) 153s Preparing to unpack .../00-python3-all_3.13.2-2_s390x.deb ... 153s Unpacking python3-all (3.13.2-2) ... 153s Selecting previously unselected package python3-sniffio. 153s Preparing to unpack .../01-python3-sniffio_1.3.1-1_all.deb ... 153s Unpacking python3-sniffio (1.3.1-1) ... 153s Selecting previously unselected package python3-anyio. 153s Preparing to unpack .../02-python3-anyio_4.8.0-2_all.deb ... 153s Unpacking python3-anyio (4.8.0-2) ... 153s Selecting previously unselected package python3-async-generator. 153s Preparing to unpack .../03-python3-async-generator_1.10-4_all.deb ... 153s Unpacking python3-async-generator (1.10-4) ... 153s Selecting previously unselected package python3-pycryptodome. 153s Preparing to unpack .../04-python3-pycryptodome_3.20.0+dfsg-3build1_s390x.deb ... 153s Unpacking python3-pycryptodome (3.20.0+dfsg-3build1) ... 153s Selecting previously unselected package python3-authlib. 153s Preparing to unpack .../05-python3-authlib_1.5.1-1_all.deb ... 153s Unpacking python3-authlib (1.5.1-1) ... 153s Selecting previously unselected package python3-click. 153s Preparing to unpack .../06-python3-click_8.2.0+0.really.8.1.8-1_all.deb ... 153s Unpacking python3-click (8.2.0+0.really.8.1.8-1) ... 153s Selecting previously unselected package python3-h11. 153s Preparing to unpack .../07-python3-h11_0.14.0-1_all.deb ... 153s Unpacking python3-h11 (0.14.0-1) ... 153s Selecting previously unselected package python3-httpcore. 153s Preparing to unpack .../08-python3-httpcore_1.0.7-1_all.deb ... 153s Unpacking python3-httpcore (1.0.7-1) ... 153s Selecting previously unselected package python3-httpx. 153s Preparing to unpack .../09-python3-httpx_0.28.1-1_all.deb ... 153s Unpacking python3-httpx (0.28.1-1) ... 153s Selecting previously unselected package python3-iniconfig. 153s Preparing to unpack .../10-python3-iniconfig_1.1.1-2_all.deb ... 153s Unpacking python3-iniconfig (1.1.1-2) ... 153s Selecting previously unselected package python3-msgpack. 153s Preparing to unpack .../11-python3-msgpack_1.0.3-3build4_s390x.deb ... 153s Unpacking python3-msgpack (1.0.3-3build4) ... 153s Selecting previously unselected package python3-orjson. 153s Preparing to unpack .../12-python3-orjson_3.10.7-2build1_s390x.deb ... 153s Unpacking python3-orjson (3.10.7-2build1) ... 153s Selecting previously unselected package python3-tomli. 153s Preparing to unpack .../13-python3-tomli_2.2.1-2build1_s390x.deb ... 153s Unpacking python3-tomli (2.2.1-2build1) ... 153s Selecting previously unselected package python3-tomli-w. 153s Preparing to unpack .../14-python3-tomli-w_1.0.0-3_all.deb ... 153s Unpacking python3-tomli-w (1.0.0-3) ... 153s Selecting previously unselected package python3-mashumaro. 153s Preparing to unpack .../15-python3-mashumaro_3.15-1_all.deb ... 153s Unpacking python3-mashumaro (3.15-1) ... 153s Selecting previously unselected package python3-packaging. 153s Preparing to unpack .../16-python3-packaging_24.2-1_all.deb ... 153s Unpacking python3-packaging (24.2-1) ... 153s Selecting previously unselected package python3-pluggy. 153s Preparing to unpack .../17-python3-pluggy_1.5.0-1_all.deb ... 153s Unpacking python3-pluggy (1.5.0-1) ... 153s Selecting previously unselected package python3-pydiscovergy. 153s Preparing to unpack .../18-python3-pydiscovergy_3.1.0-1_all.deb ... 153s Unpacking python3-pydiscovergy (3.1.0-1) ... 153s Selecting previously unselected package python3-pytest. 153s Preparing to unpack .../19-python3-pytest_8.3.4-1_all.deb ... 153s Unpacking python3-pytest (8.3.4-1) ... 153s Selecting previously unselected package python3-pytest-asyncio. 153s Preparing to unpack .../20-python3-pytest-asyncio_0.25.1-1_all.deb ... 153s Unpacking python3-pytest-asyncio (0.25.1-1) ... 153s Selecting previously unselected package python3-pytest-httpx. 153s Preparing to unpack .../21-python3-pytest-httpx_0.35.0-1_all.deb ... 153s Unpacking python3-pytest-httpx (0.35.0-1) ... 153s Selecting previously unselected package python3-respx. 153s Preparing to unpack .../22-python3-respx_0.21.1-2_all.deb ... 153s Unpacking python3-respx (0.21.1-2) ... 153s Setting up python3-iniconfig (1.1.1-2) ... 153s Setting up python3-sniffio (1.3.1-1) ... 153s Setting up python3-orjson (3.10.7-2build1) ... 153s Setting up python3-async-generator (1.10-4) ... 153s Setting up python3-tomli (2.2.1-2build1) ... 153s Setting up python3-anyio (4.8.0-2) ... 153s Setting up python3-pycryptodome (3.20.0+dfsg-3build1) ... 154s Setting up python3-all (3.13.2-2) ... 154s Setting up python3-click (8.2.0+0.really.8.1.8-1) ... 154s Setting up python3-packaging (24.2-1) ... 154s Setting up python3-h11 (0.14.0-1) ... 154s Setting up python3-pluggy (1.5.0-1) ... 154s Setting up python3-msgpack (1.0.3-3build4) ... 154s Setting up python3-tomli-w (1.0.0-3) ... 154s Setting up python3-authlib (1.5.1-1) ... 154s Setting up python3-httpcore (1.0.7-1) ... 154s Setting up python3-mashumaro (3.15-1) ... 155s Setting up python3-pytest (8.3.4-1) ... 155s Setting up python3-httpx (0.28.1-1) ... 155s Setting up python3-pytest-asyncio (0.25.1-1) ... 155s Setting up python3-pytest-httpx (0.35.0-1) ... 155s Setting up python3-pydiscovergy (3.1.0-1) ... 155s Setting up python3-respx (0.21.1-2) ... 155s Processing triggers for man-db (2.13.0-1) ... 156s autopkgtest [09:22:09]: test run-tests: [----------------------- 157s /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:207: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset. 157s The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session" 157s 157s warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET)) 157s ============================= test session starts ============================== 157s platform linux -- Python 3.13.2, pytest-8.3.4, pluggy-1.5.0 -- /usr/bin/python3.13 157s cachedir: .pytest_cache 157s rootdir: /tmp/autopkgtest.vqKcCV/autopkgtest_tmp 157s plugins: httpx-0.35.0, typeguard-4.4.2, asyncio-0.25.1, anyio-4.8.0, respx-0.21.1 157s asyncio: mode=Mode.AUTO, asyncio_default_fixture_loop_scope=None 157s collecting ... collected 17 items / 1 deselected / 16 selected 157s 157s tests/test_discovergy.py::test_get_timeout PASSED [ 6%] 157s tests/test_discovergy.py::test_token_auth_expired FAILED [ 12%] 157s tests/test_discovergy.py::test_token_auth_expired ERROR [ 12%] 157s 157s ==================================== ERRORS ==================================== 157s _________________ ERROR at teardown of test_token_auth_expired _________________ 157s 157s request = > 157s 157s @pytest.fixture() 157s def respx_mock(request): 157s respx_marker = request.node.get_closest_marker("respx") 157s 157s mock_router: MockRouter = ( 157s respx.mock 157s if respx_marker is None 157s else cast(MockRouter, respx.mock(**respx_marker.kwargs)) 157s ) 157s 157s > with mock_router: 157s 157s /usr/lib/python3/dist-packages/respx/plugin.py:29: 157s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 157s /usr/lib/python3/dist-packages/respx/router.py:437: in __exit__ 157s self.stop(quiet=bool(exc_type is not None)) 157s /usr/lib/python3/dist-packages/respx/router.py:479: in stop 157s self.assert_all_called() 157s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 157s 157s self = 157s 157s def assert_all_called(self) -> None: 157s not_called_routes = [route for route in self.routes if not route.called] 157s > assert not_called_routes == [], "RESPX: some routes were not called!" 157s E AssertionError: RESPX: some routes were not called! 157s 157s /usr/lib/python3/dist-packages/respx/router.py:102: AssertionError 157s =================================== FAILURES =================================== 157s ___________________________ test_token_auth_expired ____________________________ 157s 157s respx_mock = 157s discovergy_token_mock = Discovergy(email='example@example.com', password='example', timeout=10, httpx_client=None, authentication=TokenAuth(co...cret123'), access_token=AccessToken(token='access_token', token_secret='access_token_secret'), app_name='pydicovergy')) 157s 157s @pytest.mark.respx(base_url=API_BASE) 157s async def test_token_auth_expired( 157s respx_mock: MockRouter, 157s discovergy_token_mock: Discovergy, 157s ) -> None: 157s """Test if a error is raised when the access token is expired.""" 157s respx_mock.get("/test").respond(json={"key": "value"}) 157s 157s # check if AccessTokenExpired is raised when there was an HTTP status 401 157s with pytest.raises(AccessTokenExpired): 157s respx_mock.get("/test").respond(status_code=401) 157s > await discovergy_token_mock._get("/test") 157s 157s tests/test_discovergy.py:47: 157s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 157s /usr/lib/python3/dist-packages/pydiscovergy/discovergy.py:47: in _get 157s response = await client.get(url=API_BASE + path, params=params) 157s /usr/lib/python3/dist-packages/httpx/_client.py:1768: in get 157s return await self.request( 157s /usr/lib/python3/dist-packages/httpx/_client.py:1540: in request 157s return await self.send(request, auth=auth, follow_redirects=follow_redirects) 157s /usr/lib/python3/dist-packages/httpx/_client.py:1629: in send 157s response = await self._send_handling_auth( 157s /usr/lib/python3/dist-packages/httpx/_client.py:1657: in _send_handling_auth 157s response = await self._send_handling_redirects( 157s /usr/lib/python3/dist-packages/httpx/_client.py:1694: in _send_handling_redirects 157s response = await self._send_single_request(request) 157s /usr/lib/python3/dist-packages/httpx/_client.py:1730: in _send_single_request 157s response = await transport.handle_async_request(request) 157s /usr/lib/python3/dist-packages/httpx/_transports/default.py:394: in handle_async_request 157s resp = await self._pool.handle_async_request(req) 157s /usr/lib/python3/dist-packages/respx/mocks.py:190: in amock 157s response = await cls._send_async_request( 157s /usr/lib/python3/dist-packages/respx/mocks.py:224: in _send_async_request 157s httpx_response = await cls.async_handler(httpx_request) 157s /usr/lib/python3/dist-packages/respx/mocks.py:136: in async_handler 157s raise assertion_error 157s /usr/lib/python3/dist-packages/respx/mocks.py:129: in async_handler 157s httpx_response = await router.async_handler(httpx_request) 157s /usr/lib/python3/dist-packages/respx/router.py:318: in async_handler 157s resolved = await self.aresolve(request) 157s /usr/lib/python3/dist-packages/respx/router.py:291: in aresolve 157s with self.resolver(request) as resolved: 157s /usr/lib/python3.13/contextlib.py:148: in __exit__ 157s next(self.gen) 157s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 157s 157s self = 157s request = 157s 157s @contextmanager 157s def resolver(self, request: httpx.Request) -> Generator[ResolvedRoute, None, None]: 157s resolved = ResolvedRoute() 157s 157s try: 157s yield resolved 157s 157s if resolved.route is None: 157s # Assert we always get a route match, if check is enabled 157s if self._assert_all_mocked: 157s > raise AllMockedAssertionError(f"RESPX: {request!r} not mocked!") 157s E respx.models.AllMockedAssertionError: RESPX: not mocked! 157s 157s /usr/lib/python3/dist-packages/respx/router.py:250: AllMockedAssertionError 157s =========================== short test summary info ============================ 157s FAILED tests/test_discovergy.py::test_token_auth_expired - respx.models.AllMo... 157s ERROR tests/test_discovergy.py::test_token_auth_expired - AssertionError: RES... 157s !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 2 failures !!!!!!!!!!!!!!!!!!!!!!!!!!! 157s ============== 1 failed, 1 passed, 1 deselected, 1 error in 0.18s ============== 158s autopkgtest [09:22:11]: test run-tests: -----------------------] 158s run-tests FAIL non-zero exit status 1 158s autopkgtest [09:22:11]: test run-tests: - - - - - - - - - - results - - - - - - - - - - 158s autopkgtest [09:22:11]: @@@@@@@@@@@@@@@@@@@@ summary 158s run-tests FAIL non-zero exit status 1 163s nova [W] Using flock in prodstack6-s390x 163s Creating nova instance adt-plucky-s390x-pydiscovergy-20250313-091933-juju-7f2275-prod-proposed-migration-environment-20-ebfe28e3-a9d7-4dc8-b7a7-ed1d3905813a from image adt/ubuntu-plucky-s390x-server-20250313.img (UUID 54e7e81b-c545-49a7-82a9-0db67474751a)... 163s nova [W] Timed out waiting for 49acc8eb-e3b5-4c14-af65-ec94a75a8489 to get deleted.