0s autopkgtest [10:07:05]: starting date and time: 2024-11-13 10:07:05+0000 0s autopkgtest [10:07:05]: git checkout: 0acbae0a WIP show VirtSubproc stderr in real-time 0s autopkgtest [10:07:05]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.137eh0wo/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python3-defaults,src:python3-stdlib-extensions --apt-upgrade pyjwt --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@lcy02-17.secgroup --name adt-plucky-amd64-pyjwt-20241113-093720-juju-7f2275-prod-proposed-migration-environment-2-5fc8aa02-8340-4a45-bf9b-d4b4003e1d63 --image adt/ubuntu-plucky-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 67s autopkgtest [10:08:12]: testbed dpkg architecture: amd64 67s autopkgtest [10:08:12]: testbed apt version: 2.9.8 67s autopkgtest [10:08:12]: @@@@@@@@@@@@@@@@@@@@ test bed setup 67s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 67s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 67s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [76.4 kB] 67s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.3 kB] 67s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [849 kB] 67s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [111 kB] 67s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [65.2 kB] 67s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [32.6 kB] 67s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [639 kB] 67s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [255 kB] 67s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [37.7 kB] 67s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [13.0 kB] 67s Fetched 2175 kB in 0s (7825 kB/s) 67s Reading package lists... 69s Reading package lists... 70s Building dependency tree... 70s Reading state information... 70s Calculating upgrade... 70s The following NEW packages will be installed: 70s python3.13-gdbm 70s The following packages will be upgraded: 70s libgpgme11t64 libpython3-stdlib python3 python3-gdbm python3-minimal 70s 5 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 70s Need to get 253 kB of archives. 70s After this operation, 147 kB of additional disk space will be used. 70s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3-minimal amd64 3.12.7-1 [27.4 kB] 70s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3 amd64 3.12.7-1 [24.0 kB] 70s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libpython3-stdlib amd64 3.12.7-1 [10.0 kB] 70s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13-gdbm amd64 3.13.0-2 [31.3 kB] 70s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3-gdbm amd64 3.12.7-1 [8642 B] 70s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 libgpgme11t64 amd64 1.23.2-5ubuntu4 [152 kB] 71s Fetched 253 kB in 0s (8151 kB/s) 71s (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 ... 75541 files and directories currently installed.) 71s Preparing to unpack .../python3-minimal_3.12.7-1_amd64.deb ... 71s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 71s Setting up python3-minimal (3.12.7-1) ... 71s (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 ... 75541 files and directories currently installed.) 71s Preparing to unpack .../python3_3.12.7-1_amd64.deb ... 71s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 71s Preparing to unpack .../libpython3-stdlib_3.12.7-1_amd64.deb ... 71s Unpacking libpython3-stdlib:amd64 (3.12.7-1) over (3.12.6-0ubuntu1) ... 71s Selecting previously unselected package python3.13-gdbm. 71s Preparing to unpack .../python3.13-gdbm_3.13.0-2_amd64.deb ... 71s Unpacking python3.13-gdbm (3.13.0-2) ... 71s Preparing to unpack .../python3-gdbm_3.12.7-1_amd64.deb ... 71s Unpacking python3-gdbm:amd64 (3.12.7-1) over (3.12.6-1ubuntu1) ... 71s Preparing to unpack .../libgpgme11t64_1.23.2-5ubuntu4_amd64.deb ... 71s Unpacking libgpgme11t64:amd64 (1.23.2-5ubuntu4) over (1.18.0-4.1ubuntu4) ... 71s Setting up libgpgme11t64:amd64 (1.23.2-5ubuntu4) ... 71s Setting up python3.13-gdbm (3.13.0-2) ... 71s Setting up libpython3-stdlib:amd64 (3.12.7-1) ... 71s Setting up python3 (3.12.7-1) ... 72s Setting up python3-gdbm:amd64 (3.12.7-1) ... 72s Processing triggers for man-db (2.12.1-3) ... 72s Processing triggers for libc-bin (2.40-1ubuntu3) ... 72s Reading package lists... 73s Building dependency tree... 73s Reading state information... 73s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 73s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 73s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 73s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 73s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 74s Reading package lists... 74s Reading package lists... 75s Building dependency tree... 75s Reading state information... 75s Calculating upgrade... 75s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 75s Reading package lists... 76s Building dependency tree... 76s Reading state information... 76s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 78s autopkgtest [10:08:23]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 13:41:20 UTC 2024 78s autopkgtest [10:08:23]: @@@@@@@@@@@@@@@@@@@@ apt-source pyjwt 78s Get:1 http://ftpmaster.internal/ubuntu plucky/main pyjwt 2.7.0-1 (dsc) [2280 B] 78s Get:2 http://ftpmaster.internal/ubuntu plucky/main pyjwt 2.7.0-1 (tar) [77.9 kB] 78s Get:3 http://ftpmaster.internal/ubuntu plucky/main pyjwt 2.7.0-1 (diff) [4540 B] 79s gpgv: Signature made Thu Jun 15 03:10:18 2023 UTC 79s gpgv: using RSA key C65AEF9FE5BF8CCBD6EDB0198BAF522C0D6CCEDD 79s gpgv: issuer "eriol@debian.org" 79s gpgv: Can't check signature: No public key 79s dpkg-source: warning: cannot verify inline signature for ./pyjwt_2.7.0-1.dsc: no acceptable signature found 79s autopkgtest [10:08:24]: testing package pyjwt version 2.7.0-1 79s autopkgtest [10:08:24]: build not needed 79s autopkgtest [10:08:24]: test python3-jwt: preparing testbed 80s Reading package lists... 80s Building dependency tree... 80s Reading state information... 81s Starting pkgProblemResolver with broken count: 0 81s Starting 2 pkgProblemResolver with broken count: 0 81s Done 81s The following additional packages will be installed: 81s libjs-jquery libjs-jquery-hotkeys libjs-jquery-isonscreen 81s libjs-jquery-metadata libjs-jquery-tablesorter 81s libjs-jquery-throttle-debounce libpython3.13-minimal libpython3.13-stdlib 81s python3-all python3-coverage python3-exceptiongroup python3-iniconfig 81s python3-packaging python3-pluggy python3-pytest python3-pytest-cov 81s python3-pytest-runner python3-tomli python3.13 python3.13-minimal 81s Suggested packages: 81s python-coverage-doc python3.13-venv python3.13-doc binfmt-support 81s Recommended packages: 81s javascript-common 81s The following NEW packages will be installed: 81s autopkgtest-satdep libjs-jquery libjs-jquery-hotkeys libjs-jquery-isonscreen 81s libjs-jquery-metadata libjs-jquery-tablesorter 81s libjs-jquery-throttle-debounce libpython3.13-minimal libpython3.13-stdlib 81s python3-all python3-coverage python3-exceptiongroup python3-iniconfig 81s python3-packaging python3-pluggy python3-pytest python3-pytest-cov 81s python3-pytest-runner python3-tomli python3.13 python3.13-minimal 81s 0 upgraded, 21 newly installed, 0 to remove and 0 not upgraded. 81s Need to get 6977 kB/6978 kB of archives. 81s After this operation, 27.2 MB of additional disk space will be used. 81s Get:1 /tmp/autopkgtest.V6s7ZB/1-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [764 B] 81s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3.13-minimal amd64 3.13.0-2 [879 kB] 81s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13-minimal amd64 3.13.0-2 [2188 kB] 81s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 81s Get:5 http://ftpmaster.internal/ubuntu plucky/universe amd64 libjs-jquery-hotkeys all 0~20130707+git2d51e3a9+dfsg-2.1 [11.5 kB] 81s Get:6 http://ftpmaster.internal/ubuntu plucky/universe amd64 libjs-jquery-metadata all 12-4 [6582 B] 81s Get:7 http://ftpmaster.internal/ubuntu plucky/universe amd64 libjs-jquery-tablesorter all 1:2.31.3+dfsg1-4 [192 kB] 81s Get:8 http://ftpmaster.internal/ubuntu plucky/universe amd64 libjs-jquery-throttle-debounce all 1.1+dfsg.1-2 [12.5 kB] 81s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3.13-stdlib amd64 3.13.0-2 [2107 kB] 81s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13 amd64 3.13.0-2 [719 kB] 81s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3-all amd64 3.12.7-1 [890 B] 81s Get:12 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-coverage amd64 7.4.4+dfsg1-0ubuntu2 [147 kB] 81s Get:13 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-exceptiongroup all 1.2.2-1 [17.8 kB] 81s Get:14 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-iniconfig all 1.1.1-2 [6024 B] 81s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-packaging all 24.1-1 [41.4 kB] 81s Get:16 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pluggy all 1.5.0-1 [21.0 kB] 81s Get:17 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-tomli all 2.0.1-2 [16.5 kB] 81s Get:18 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pytest all 8.3.3-1 [251 kB] 81s Get:19 http://ftpmaster.internal/ubuntu plucky/universe amd64 libjs-jquery-isonscreen all 1.2.0-1.1 [3244 B] 81s Get:20 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pytest-cov all 5.0.0-1 [21.3 kB] 81s Get:21 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pytest-runner all 2.11.1-4 [7450 B] 82s Fetched 6977 kB in 0s (58.2 MB/s) 82s Selecting previously unselected package libpython3.13-minimal:amd64. 82s (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 ... 75548 files and directories currently installed.) 82s Preparing to unpack .../00-libpython3.13-minimal_3.13.0-2_amd64.deb ... 82s Unpacking libpython3.13-minimal:amd64 (3.13.0-2) ... 82s Selecting previously unselected package python3.13-minimal. 82s Preparing to unpack .../01-python3.13-minimal_3.13.0-2_amd64.deb ... 82s Unpacking python3.13-minimal (3.13.0-2) ... 82s Selecting previously unselected package libjs-jquery. 82s Preparing to unpack .../02-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 82s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 82s Selecting previously unselected package libjs-jquery-hotkeys. 82s Preparing to unpack .../03-libjs-jquery-hotkeys_0~20130707+git2d51e3a9+dfsg-2.1_all.deb ... 82s Unpacking libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2.1) ... 82s Selecting previously unselected package libjs-jquery-metadata. 82s Preparing to unpack .../04-libjs-jquery-metadata_12-4_all.deb ... 82s Unpacking libjs-jquery-metadata (12-4) ... 82s Selecting previously unselected package libjs-jquery-tablesorter. 82s Preparing to unpack .../05-libjs-jquery-tablesorter_1%3a2.31.3+dfsg1-4_all.deb ... 82s Unpacking libjs-jquery-tablesorter (1:2.31.3+dfsg1-4) ... 82s Selecting previously unselected package libjs-jquery-throttle-debounce. 82s Preparing to unpack .../06-libjs-jquery-throttle-debounce_1.1+dfsg.1-2_all.deb ... 82s Unpacking libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 82s Selecting previously unselected package libpython3.13-stdlib:amd64. 82s Preparing to unpack .../07-libpython3.13-stdlib_3.13.0-2_amd64.deb ... 82s Unpacking libpython3.13-stdlib:amd64 (3.13.0-2) ... 82s Selecting previously unselected package python3.13. 82s Preparing to unpack .../08-python3.13_3.13.0-2_amd64.deb ... 82s Unpacking python3.13 (3.13.0-2) ... 82s Selecting previously unselected package python3-all. 82s Preparing to unpack .../09-python3-all_3.12.7-1_amd64.deb ... 82s Unpacking python3-all (3.12.7-1) ... 82s Selecting previously unselected package python3-coverage. 82s Preparing to unpack .../10-python3-coverage_7.4.4+dfsg1-0ubuntu2_amd64.deb ... 82s Unpacking python3-coverage (7.4.4+dfsg1-0ubuntu2) ... 82s Selecting previously unselected package python3-exceptiongroup. 82s Preparing to unpack .../11-python3-exceptiongroup_1.2.2-1_all.deb ... 82s Unpacking python3-exceptiongroup (1.2.2-1) ... 82s Selecting previously unselected package python3-iniconfig. 82s Preparing to unpack .../12-python3-iniconfig_1.1.1-2_all.deb ... 82s Unpacking python3-iniconfig (1.1.1-2) ... 82s Selecting previously unselected package python3-packaging. 82s Preparing to unpack .../13-python3-packaging_24.1-1_all.deb ... 82s Unpacking python3-packaging (24.1-1) ... 82s Selecting previously unselected package python3-pluggy. 82s Preparing to unpack .../14-python3-pluggy_1.5.0-1_all.deb ... 82s Unpacking python3-pluggy (1.5.0-1) ... 82s Selecting previously unselected package python3-tomli. 82s Preparing to unpack .../15-python3-tomli_2.0.1-2_all.deb ... 82s Unpacking python3-tomli (2.0.1-2) ... 82s Selecting previously unselected package python3-pytest. 82s Preparing to unpack .../16-python3-pytest_8.3.3-1_all.deb ... 82s Unpacking python3-pytest (8.3.3-1) ... 82s Selecting previously unselected package libjs-jquery-isonscreen. 82s Preparing to unpack .../17-libjs-jquery-isonscreen_1.2.0-1.1_all.deb ... 82s Unpacking libjs-jquery-isonscreen (1.2.0-1.1) ... 82s Selecting previously unselected package python3-pytest-cov. 82s Preparing to unpack .../18-python3-pytest-cov_5.0.0-1_all.deb ... 82s Unpacking python3-pytest-cov (5.0.0-1) ... 82s Selecting previously unselected package python3-pytest-runner. 82s Preparing to unpack .../19-python3-pytest-runner_2.11.1-4_all.deb ... 82s Unpacking python3-pytest-runner (2.11.1-4) ... 82s Selecting previously unselected package autopkgtest-satdep. 82s Preparing to unpack .../20-1-autopkgtest-satdep.deb ... 82s Unpacking autopkgtest-satdep (0) ... 82s Setting up python3-iniconfig (1.1.1-2) ... 83s Setting up python3-tomli (2.0.1-2) ... 83s Setting up python3-coverage (7.4.4+dfsg1-0ubuntu2) ... 83s Setting up libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 83s Setting up libpython3.13-minimal:amd64 (3.13.0-2) ... 83s Setting up python3-packaging (24.1-1) ... 83s Setting up python3-pluggy (1.5.0-1) ... 84s Setting up python3-exceptiongroup (1.2.2-1) ... 84s Setting up python3.13-minimal (3.13.0-2) ... 84s Setting up python3-pytest-runner (2.11.1-4) ... 85s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 85s Setting up libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2.1) ... 85s Setting up libpython3.13-stdlib:amd64 (3.13.0-2) ... 85s Setting up python3.13 (3.13.0-2) ... 86s Setting up python3-pytest (8.3.3-1) ... 86s Setting up python3-all (3.12.7-1) ... 86s Setting up libjs-jquery-metadata (12-4) ... 86s Setting up libjs-jquery-isonscreen (1.2.0-1.1) ... 86s Setting up libjs-jquery-tablesorter (1:2.31.3+dfsg1-4) ... 86s Setting up python3-pytest-cov (5.0.0-1) ... 86s Setting up autopkgtest-satdep (0) ... 86s Processing triggers for man-db (2.12.1-3) ... 87s Processing triggers for systemd (256.5-2ubuntu4) ... 89s (Reading database ... 76773 files and directories currently installed.) 89s Removing autopkgtest-satdep (0) ... 89s autopkgtest [10:08:34]: test python3-jwt: [----------------------- 90s ============================= test session starts ============================== 90s platform linux -- Python 3.13.0, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3.13 90s cachedir: .pytest_cache 90s rootdir: /tmp/autopkgtest.V6s7ZB/build.vJA/src 90s configfile: tox.ini 90s testpaths: tests 90s plugins: cov-5.0.0, typeguard-4.4.1 90s collecting ... collected 0 items / 1 error 90s 90s ==================================== ERRORS ==================================== 90s ___________________ ERROR collecting tests/test_advisory.py ____________________ 90s ImportError while importing test module '/tmp/autopkgtest.V6s7ZB/build.vJA/src/tests/test_advisory.py'. 90s Hint: make sure your test modules/packages have valid Python names. 90s Traceback: 90s /usr/lib/python3.13/importlib/__init__.py:88: in import_module 90s return _bootstrap._gcd_import(name[level:], package, level) 90s tests/test_advisory.py:3: in 90s import jwt 90s jwt/__init__.py:1: in 90s from .api_jwk import PyJWK, PyJWKSet 90s jwt/api_jwk.py:7: in 90s from .algorithms import get_default_algorithms, has_crypto, requires_cryptography 90s jwt/algorithms.py:12: in 90s from .utils import ( 90s jwt/utils.py:7: in 90s from cryptography.hazmat.primitives.asymmetric.ec import EllipticCurve 90s /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/ec.py:11: in 90s from cryptography.hazmat._oid import ObjectIdentifier 90s /usr/lib/python3/dist-packages/cryptography/hazmat/_oid.py:7: in 90s from cryptography.hazmat.bindings._rust import ( 90s E ImportError: cannot import name 'ObjectIdentifier' from 'cryptography.hazmat.bindings._rust' (unknown location) 90s !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!! 90s =============================== 1 error in 0.08s =============================== 90s ============================= test session starts ============================== 90s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3.12 90s cachedir: .pytest_cache 90s rootdir: /tmp/autopkgtest.V6s7ZB/build.vJA/src 90s configfile: tox.ini 90s testpaths: tests 90s plugins: cov-5.0.0, typeguard-4.4.1 90s collecting ... collected 256 items 90s 90s tests/test_advisory.py::TestAdvisory::test_ghsa_ffqj_6fqr_9h24 PASSED [ 0%] 90s tests/test_algorithms.py::TestAlgorithms::test_none_algorithm_should_throw_exception_if_key_is_not_none PASSED [ 0%] 90s tests/test_algorithms.py::TestAlgorithms::test_none_algorithm_should_throw_exception_on_to_jwk PASSED [ 1%] 90s tests/test_algorithms.py::TestAlgorithms::test_none_algorithm_should_throw_exception_on_from_jwk PASSED [ 1%] 90s tests/test_algorithms.py::TestAlgorithms::test_hmac_should_reject_nonstring_key PASSED [ 1%] 90s tests/test_algorithms.py::TestAlgorithms::test_hmac_should_accept_unicode_key PASSED [ 2%] 90s tests/test_algorithms.py::TestAlgorithms::test_hmac_should_throw_exception[testkey2_rsa.pub.pem0] PASSED [ 2%] 90s tests/test_algorithms.py::TestAlgorithms::test_hmac_should_throw_exception[testkey2_rsa.pub.pem1] PASSED [ 3%] 90s tests/test_algorithms.py::TestAlgorithms::test_hmac_should_throw_exception[testkey_pkcs1.pub.pem] PASSED [ 3%] 90s tests/test_algorithms.py::TestAlgorithms::test_hmac_should_throw_exception[testkey_rsa.cer] PASSED [ 3%] 90s tests/test_algorithms.py::TestAlgorithms::test_hmac_should_throw_exception[testkey_rsa.pub] PASSED [ 4%] 90s tests/test_algorithms.py::TestAlgorithms::test_hmac_jwk_should_parse_and_verify PASSED [ 4%] 90s tests/test_algorithms.py::TestAlgorithms::test_hmac_to_jwk_returns_correct_values[False] PASSED [ 5%] 90s tests/test_algorithms.py::TestAlgorithms::test_hmac_to_jwk_returns_correct_values[True] PASSED [ 5%] 90s tests/test_algorithms.py::TestAlgorithms::test_hmac_from_jwk_should_raise_exception_if_not_hmac_key PASSED [ 5%] 90s tests/test_algorithms.py::TestAlgorithms::test_rsa_should_parse_pem_public_key PASSED [ 6%] 90s tests/test_algorithms.py::TestAlgorithms::test_rsa_should_accept_pem_private_key_bytes PASSED [ 6%] 90s tests/test_algorithms.py::TestAlgorithms::test_rsa_should_accept_unicode_key PASSED [ 7%] 90s tests/test_algorithms.py::TestAlgorithms::test_rsa_should_reject_non_string_key PASSED [ 7%] 90s tests/test_algorithms.py::TestAlgorithms::test_rsa_verify_should_return_false_if_signature_invalid PASSED [ 7%] 90s tests/test_algorithms.py::TestAlgorithms::test_ec_jwk_public_and_private_keys_should_parse_and_verify PASSED [ 8%] 90s tests/test_algorithms.py::TestAlgorithms::test_ec_jwk_fails_on_invalid_json PASSED [ 8%] 90s tests/test_algorithms.py::TestAlgorithms::test_ec_private_key_to_jwk_works_with_from_jwk PASSED [ 8%] 90s tests/test_algorithms.py::TestAlgorithms::test_ec_public_key_to_jwk_works_with_from_jwk PASSED [ 9%] 90s tests/test_algorithms.py::TestAlgorithms::test_ec_to_jwk_returns_correct_values_for_public_key[False] PASSED [ 9%] 90s tests/test_algorithms.py::TestAlgorithms::test_ec_to_jwk_returns_correct_values_for_public_key[True] PASSED [ 10%] 90s tests/test_algorithms.py::TestAlgorithms::test_ec_to_jwk_returns_correct_values_for_private_key[False] PASSED [ 10%] 90s tests/test_algorithms.py::TestAlgorithms::test_ec_to_jwk_returns_correct_values_for_private_key[True] PASSED [ 10%] 90s tests/test_algorithms.py::TestAlgorithms::test_ec_to_jwk_raises_exception_on_invalid_key PASSED [ 11%] 90s tests/test_algorithms.py::TestAlgorithms::test_ec_to_jwk_with_valid_curves[False] PASSED [ 11%] 90s tests/test_algorithms.py::TestAlgorithms::test_ec_to_jwk_with_valid_curves[True] PASSED [ 12%] 90s tests/test_algorithms.py::TestAlgorithms::test_ec_to_jwk_with_invalid_curve PASSED [ 12%] 90s tests/test_algorithms.py::TestAlgorithms::test_rsa_jwk_public_and_private_keys_should_parse_and_verify PASSED [ 12%] 91s tests/test_algorithms.py::TestAlgorithms::test_rsa_private_key_to_jwk_works_with_from_jwk PASSED [ 13%] 91s tests/test_algorithms.py::TestAlgorithms::test_rsa_public_key_to_jwk_works_with_from_jwk PASSED [ 13%] 91s tests/test_algorithms.py::TestAlgorithms::test_rsa_jwk_private_key_with_other_primes_is_invalid PASSED [ 14%] 91s tests/test_algorithms.py::TestAlgorithms::test_rsa_jwk_private_key_with_missing_values_is_invalid PASSED [ 14%] 91s tests/test_algorithms.py::TestAlgorithms::test_rsa_jwk_private_key_can_recover_prime_factors PASSED [ 14%] 91s tests/test_algorithms.py::TestAlgorithms::test_rsa_jwk_private_key_with_missing_required_values_is_invalid PASSED [ 15%] 91s tests/test_algorithms.py::TestAlgorithms::test_rsa_jwk_raises_exception_if_not_a_valid_key PASSED [ 15%] 91s tests/test_algorithms.py::TestAlgorithms::test_rsa_to_jwk_returns_correct_values_for_public_key[False] PASSED [ 16%] 91s tests/test_algorithms.py::TestAlgorithms::test_rsa_to_jwk_returns_correct_values_for_public_key[True] PASSED [ 16%] 91s tests/test_algorithms.py::TestAlgorithms::test_rsa_to_jwk_returns_correct_values_for_private_key[False] PASSED [ 16%] 91s tests/test_algorithms.py::TestAlgorithms::test_rsa_to_jwk_returns_correct_values_for_private_key[True] PASSED [ 17%] 91s tests/test_algorithms.py::TestAlgorithms::test_rsa_to_jwk_raises_exception_on_invalid_key PASSED [ 17%] 91s tests/test_algorithms.py::TestAlgorithms::test_rsa_from_jwk_raises_exception_on_invalid_key PASSED [ 17%] 91s tests/test_algorithms.py::TestAlgorithms::test_ec_should_reject_non_string_key PASSED [ 18%] 91s tests/test_algorithms.py::TestAlgorithms::test_ec_should_accept_pem_private_key_bytes PASSED [ 18%] 91s tests/test_algorithms.py::TestAlgorithms::test_ec_should_accept_ssh_public_key_bytes PASSED [ 19%] 91s tests/test_algorithms.py::TestAlgorithms::test_ec_verify_should_return_false_if_signature_invalid PASSED [ 19%] 91s tests/test_algorithms.py::TestAlgorithms::test_ec_verify_should_return_false_if_signature_wrong_length PASSED [ 19%] 91s tests/test_algorithms.py::TestAlgorithms::test_ec_should_throw_exception_on_wrong_key PASSED [ 20%] 91s tests/test_algorithms.py::TestAlgorithms::test_rsa_pss_sign_then_verify_should_return_true PASSED [ 20%] 91s tests/test_algorithms.py::TestAlgorithms::test_rsa_pss_verify_should_return_false_if_signature_invalid PASSED [ 21%] 91s tests/test_algorithms.py::TestAlgorithmsRFC7520::test_hmac_verify_should_return_true_for_test_vector PASSED [ 21%] 91s tests/test_algorithms.py::TestAlgorithmsRFC7520::test_rsa_verify_should_return_true_for_test_vector PASSED [ 21%] 91s tests/test_algorithms.py::TestAlgorithmsRFC7520::test_rsapss_verify_should_return_true_for_test_vector PASSED [ 22%] 91s tests/test_algorithms.py::TestAlgorithmsRFC7520::test_ec_verify_should_return_true_for_test_vector PASSED [ 22%] 91s tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed25519_should_reject_non_string_key PASSED [ 23%] 91s tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed25519_sign_should_generate_correct_signature_value PASSED [ 23%] 91s tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed25519_verify_should_return_false_if_signature_invalid PASSED [ 23%] 91s tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed25519_verify_should_return_true_if_signature_valid PASSED [ 24%] 91s tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed25519_prepare_key_should_be_idempotent PASSED [ 24%] 91s tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed25519_jwk_private_key_should_parse_and_verify PASSED [ 25%] 91s tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed25519_jwk_private_key_should_parse_and_verify_with_private_key_as_is PASSED [ 25%] 91s tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed25519_jwk_public_key_should_parse_and_verify PASSED [ 25%] 91s tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed25519_jwk_fails_on_invalid_json PASSED [ 26%] 91s tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed25519_to_jwk_works_with_from_jwk[False] PASSED [ 26%] 91s tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed25519_to_jwk_works_with_from_jwk[True] PASSED [ 26%] 91s tests/test_algorithms.py::TestOKPAlgorithms::test_okp_to_jwk_raises_exception_on_invalid_key PASSED [ 27%] 91s tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed448_jwk_private_key_should_parse_and_verify PASSED [ 27%] 91s tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed448_jwk_private_key_should_parse_and_verify_with_private_key_as_is PASSED [ 28%] 91s tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed448_jwk_public_key_should_parse_and_verify PASSED [ 28%] 91s tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed448_jwk_fails_on_invalid_json PASSED [ 28%] 91s tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed448_to_jwk_works_with_from_jwk[False] PASSED [ 29%] 91s tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed448_to_jwk_works_with_from_jwk[True] PASSED [ 29%] 91s tests/test_algorithms.py::TestOKPAlgorithms::test_rsa_can_compute_digest PASSED [ 30%] 91s tests/test_algorithms.py::TestOKPAlgorithms::test_hmac_can_compute_digest PASSED [ 30%] 91s tests/test_api_jwk.py::TestPyJWK::test_should_load_key_from_jwk_data_dict PASSED [ 30%] 91s tests/test_api_jwk.py::TestPyJWK::test_should_load_key_from_jwk_data_json_string PASSED [ 31%] 91s tests/test_api_jwk.py::TestPyJWK::test_should_load_key_without_alg_from_dict PASSED [ 31%] 91s tests/test_api_jwk.py::TestPyJWK::test_should_load_key_from_dict_with_algorithm PASSED [ 32%] 91s tests/test_api_jwk.py::TestPyJWK::test_should_load_key_ec_p256_from_dict PASSED [ 32%] 91s tests/test_api_jwk.py::TestPyJWK::test_should_load_key_ec_p384_from_dict PASSED [ 32%] 91s tests/test_api_jwk.py::TestPyJWK::test_should_load_key_ec_p521_from_dict PASSED [ 33%] 91s tests/test_api_jwk.py::TestPyJWK::test_should_load_key_ec_secp256k1_from_dict PASSED [ 33%] 91s tests/test_api_jwk.py::TestPyJWK::test_should_load_key_hmac_from_dict PASSED [ 33%] 91s tests/test_api_jwk.py::TestPyJWK::test_should_load_key_hmac_without_alg_from_dict PASSED [ 34%] 91s tests/test_api_jwk.py::TestPyJWK::test_should_load_key_okp_without_alg_from_dict PASSED [ 34%] 91s tests/test_api_jwk.py::TestPyJWK::test_from_dict_should_throw_exception_if_arg_is_invalid PASSED [ 35%] 91s tests/test_api_jwk.py::TestPyJWK::test_missing_crypto_library_good_error_message SKIPPED [ 35%] 91s tests/test_api_jwk.py::TestPyJWKSet::test_should_load_keys_from_jwk_data_dict PASSED [ 35%] 91s tests/test_api_jwk.py::TestPyJWKSet::test_should_load_keys_from_jwk_data_json_string PASSED [ 36%] 91s tests/test_api_jwk.py::TestPyJWKSet::test_keyset_should_index_by_kid PASSED [ 36%] 91s tests/test_api_jwk.py::TestPyJWKSet::test_keyset_with_unknown_alg PASSED [ 37%] 91s tests/test_api_jwk.py::TestPyJWKSet::test_invalid_keys_list PASSED [ 37%] 91s tests/test_api_jwk.py::TestPyJWKSet::test_empty_keys_list PASSED [ 37%] 91s tests/test_api_jws.py::TestJWS::test_register_algo_does_not_allow_duplicate_registration PASSED [ 38%] 91s tests/test_api_jws.py::TestJWS::test_register_algo_rejects_non_algorithm_obj PASSED [ 38%] 91s tests/test_api_jws.py::TestJWS::test_unregister_algo_removes_algorithm PASSED [ 39%] 91s tests/test_api_jws.py::TestJWS::test_unregister_algo_throws_error_if_not_registered PASSED [ 39%] 91s tests/test_api_jws.py::TestJWS::test_algo_parameter_removes_alg_from_algorithms_list PASSED [ 39%] 91s tests/test_api_jws.py::TestJWS::test_override_options PASSED [ 40%] 91s tests/test_api_jws.py::TestJWS::test_non_object_options_dont_persist PASSED [ 40%] 91s tests/test_api_jws.py::TestJWS::test_options_must_be_dict PASSED [ 41%] 91s tests/test_api_jws.py::TestJWS::test_encode_decode PASSED [ 41%] 91s tests/test_api_jws.py::TestJWS::test_decode_fails_when_alg_is_not_on_method_algorithms_param PASSED [ 41%] 91s tests/test_api_jws.py::TestJWS::test_decode_works_with_unicode_token PASSED [ 42%] 91s tests/test_api_jws.py::TestJWS::test_decode_missing_segments_throws_exception PASSED [ 42%] 91s tests/test_api_jws.py::TestJWS::test_decode_invalid_token_type_is_none PASSED [ 42%] 91s tests/test_api_jws.py::TestJWS::test_decode_invalid_token_type_is_int PASSED [ 43%] 91s tests/test_api_jws.py::TestJWS::test_decode_with_non_mapping_header_throws_exception PASSED [ 43%] 91s tests/test_api_jws.py::TestJWS::test_encode_algorithm_param_should_be_case_sensitive PASSED [ 44%] 91s tests/test_api_jws.py::TestJWS::test_encode_with_headers_alg_none PASSED [ 44%] 91s tests/test_api_jws.py::TestJWS::test_encode_with_headers_alg_es256 PASSED [ 44%] 91s tests/test_api_jws.py::TestJWS::test_encode_with_alg_hs256_and_headers_alg_es256 PASSED [ 45%] 91s tests/test_api_jws.py::TestJWS::test_decode_algorithm_param_should_be_case_sensitive PASSED [ 45%] 91s tests/test_api_jws.py::TestJWS::test_bad_secret PASSED [ 46%] 91s tests/test_api_jws.py::TestJWS::test_decodes_valid_jws PASSED [ 46%] 91s tests/test_api_jws.py::TestJWS::test_decodes_complete_valid_jws PASSED [ 46%] 91s tests/test_api_jws.py::TestJWS::test_decodes_valid_es384_jws PASSED [ 47%] 91s tests/test_api_jws.py::TestJWS::test_decodes_valid_rs384_jws PASSED [ 47%] 91s tests/test_api_jws.py::TestJWS::test_load_verify_valid_jws PASSED [ 48%] 91s tests/test_api_jws.py::TestJWS::test_allow_skip_verification PASSED [ 48%] 91s tests/test_api_jws.py::TestJWS::test_decode_with_optional_algorithms PASSED [ 48%] 91s tests/test_api_jws.py::TestJWS::test_decode_no_algorithms_verify_signature_false PASSED [ 49%] 91s tests/test_api_jws.py::TestJWS::test_load_no_verification PASSED [ 49%] 91s tests/test_api_jws.py::TestJWS::test_no_secret PASSED [ 50%] 91s tests/test_api_jws.py::TestJWS::test_verify_signature_with_no_secret PASSED [ 50%] 91s tests/test_api_jws.py::TestJWS::test_verify_signature_with_no_algo_header_throws_exception PASSED [ 50%] 91s tests/test_api_jws.py::TestJWS::test_invalid_crypto_alg PASSED [ 51%] 91s tests/test_api_jws.py::TestJWS::test_missing_crypto_library_better_error_messages SKIPPED [ 51%] 91s tests/test_api_jws.py::TestJWS::test_unicode_secret PASSED [ 51%] 91s tests/test_api_jws.py::TestJWS::test_nonascii_secret PASSED [ 52%] 91s tests/test_api_jws.py::TestJWS::test_bytes_secret PASSED [ 52%] 91s tests/test_api_jws.py::TestJWS::test_sorting_of_headers[False] PASSED [ 53%] 91s tests/test_api_jws.py::TestJWS::test_sorting_of_headers[True] PASSED [ 53%] 91s tests/test_api_jws.py::TestJWS::test_decode_invalid_header_padding PASSED [ 53%] 91s tests/test_api_jws.py::TestJWS::test_decode_invalid_header_string PASSED [ 54%] 91s tests/test_api_jws.py::TestJWS::test_decode_invalid_payload_padding PASSED [ 54%] 91s tests/test_api_jws.py::TestJWS::test_decode_invalid_crypto_padding PASSED [ 55%] 91s tests/test_api_jws.py::TestJWS::test_decode_with_algo_none_should_fail PASSED [ 55%] 91s tests/test_api_jws.py::TestJWS::test_decode_with_algo_none_and_verify_false_should_pass PASSED [ 55%] 91s tests/test_api_jws.py::TestJWS::test_get_unverified_header_returns_header_values PASSED [ 56%] 91s tests/test_api_jws.py::TestJWS::test_get_unverified_header_fails_on_bad_header_types PASSED [ 56%] 91s tests/test_api_jws.py::TestJWS::test_encode_decode_rsa_related_algorithms[RS256] PASSED [ 57%] 91s tests/test_api_jws.py::TestJWS::test_encode_decode_rsa_related_algorithms[RS384] PASSED [ 57%] 91s tests/test_api_jws.py::TestJWS::test_encode_decode_rsa_related_algorithms[RS512] PASSED [ 57%] 91s tests/test_api_jws.py::TestJWS::test_rsa_related_algorithms PASSED [ 58%] 91s tests/test_api_jws.py::TestJWS::test_encode_decode_ecdsa_related_algorithms[ES256] PASSED [ 58%] 91s tests/test_api_jws.py::TestJWS::test_encode_decode_ecdsa_related_algorithms[ES256K] PASSED [ 58%] 91s tests/test_api_jws.py::TestJWS::test_encode_decode_ecdsa_related_algorithms[ES384] PASSED [ 59%] 91s tests/test_api_jws.py::TestJWS::test_encode_decode_ecdsa_related_algorithms[ES512] PASSED [ 59%] 91s tests/test_api_jws.py::TestJWS::test_ecdsa_related_algorithms PASSED [ 60%] 91s tests/test_api_jws.py::TestJWS::test_skip_check_signature PASSED [ 60%] 91s tests/test_api_jws.py::TestJWS::test_decode_options_must_be_dict PASSED [ 60%] 91s tests/test_api_jws.py::TestJWS::test_custom_json_encoder PASSED [ 61%] 91s tests/test_api_jws.py::TestJWS::test_encode_headers_parameter_adds_headers PASSED [ 61%] 91s tests/test_api_jws.py::TestJWS::test_encode_with_typ PASSED [ 62%] 91s tests/test_api_jws.py::TestJWS::test_encode_with_typ_empty_string PASSED [ 62%] 91s tests/test_api_jws.py::TestJWS::test_encode_with_typ_none PASSED [ 62%] 91s tests/test_api_jws.py::TestJWS::test_encode_with_typ_without_keywords PASSED [ 63%] 91s tests/test_api_jws.py::TestJWS::test_encode_fails_on_invalid_kid_types PASSED [ 63%] 91s tests/test_api_jws.py::TestJWS::test_encode_decode_with_detached_content PASSED [ 64%] 91s tests/test_api_jws.py::TestJWS::test_encode_detached_content_with_b64_header PASSED [ 64%] 91s tests/test_api_jws.py::TestJWS::test_decode_detached_content_without_proper_argument PASSED [ 64%] 91s tests/test_api_jws.py::TestJWS::test_decode_warns_on_unsupported_kwarg PASSED [ 65%] 91s tests/test_api_jws.py::TestJWS::test_decode_complete_warns_on_unuspported_kwarg PASSED [ 65%] 91s tests/test_api_jwt.py::TestJWT::test_decodes_valid_jwt PASSED [ 66%] 91s tests/test_api_jwt.py::TestJWT::test_decodes_complete_valid_jwt PASSED [ 66%] 91s tests/test_api_jwt.py::TestJWT::test_load_verify_valid_jwt PASSED [ 66%] 91s tests/test_api_jwt.py::TestJWT::test_decode_invalid_payload_string PASSED [ 67%] 91s tests/test_api_jwt.py::TestJWT::test_decode_with_non_mapping_payload_throws_exception PASSED [ 67%] 91s tests/test_api_jwt.py::TestJWT::test_decode_with_invalid_audience_param_throws_exception PASSED [ 67%] 91s tests/test_api_jwt.py::TestJWT::test_decode_with_nonlist_aud_claim_throws_exception PASSED [ 68%] 91s tests/test_api_jwt.py::TestJWT::test_decode_with_invalid_aud_list_member_throws_exception PASSED [ 68%] 91s tests/test_api_jwt.py::TestJWT::test_encode_bad_type PASSED [ 69%] 91s tests/test_api_jwt.py::TestJWT::test_encode_with_typ PASSED [ 69%] 91s tests/test_api_jwt.py::TestJWT::test_decode_raises_exception_if_exp_is_not_int PASSED [ 69%] 91s tests/test_api_jwt.py::TestJWT::test_decode_raises_exception_if_iat_is_not_int PASSED [ 70%] 91s tests/test_api_jwt.py::TestJWT::test_decode_raises_exception_if_iat_is_greater_than_now PASSED [ 70%] 91s tests/test_api_jwt.py::TestJWT::test_decode_works_if_iat_is_str_of_a_number PASSED [ 71%] 91s tests/test_api_jwt.py::TestJWT::test_decode_raises_exception_if_nbf_is_not_int PASSED [ 71%] 91s tests/test_api_jwt.py::TestJWT::test_decode_raises_exception_if_aud_is_none PASSED [ 71%] 91s tests/test_api_jwt.py::TestJWT::test_encode_datetime PASSED [ 72%] 91s tests/test_api_jwt.py::TestJWT::test_decodes_valid_es256_jwt PASSED [ 72%] 91s tests/test_api_jwt.py::TestJWT::test_decodes_valid_rs384_jwt PASSED [ 73%] 91s tests/test_api_jwt.py::TestJWT::test_decode_with_expiration PASSED [ 73%] 91s tests/test_api_jwt.py::TestJWT::test_decode_with_notbefore PASSED [ 73%] 91s tests/test_api_jwt.py::TestJWT::test_decode_skip_expiration_verification PASSED [ 74%] 91s tests/test_api_jwt.py::TestJWT::test_decode_skip_notbefore_verification PASSED [ 74%] 91s tests/test_api_jwt.py::TestJWT::test_decode_with_expiration_with_leeway PASSED [ 75%] 91s tests/test_api_jwt.py::TestJWT::test_decode_with_notbefore_with_leeway PASSED [ 75%] 91s tests/test_api_jwt.py::TestJWT::test_check_audience_when_valid PASSED [ 75%] 91s tests/test_api_jwt.py::TestJWT::test_check_audience_list_when_valid PASSED [ 76%] 91s tests/test_api_jwt.py::TestJWT::test_check_audience_none_specified PASSED [ 76%] 91s tests/test_api_jwt.py::TestJWT::test_raise_exception_invalid_audience_list PASSED [ 76%] 91s tests/test_api_jwt.py::TestJWT::test_check_audience_in_array_when_valid PASSED [ 77%] 91s tests/test_api_jwt.py::TestJWT::test_raise_exception_invalid_audience PASSED [ 77%] 91s tests/test_api_jwt.py::TestJWT::test_raise_exception_audience_as_bytes PASSED [ 78%] 91s tests/test_api_jwt.py::TestJWT::test_raise_exception_invalid_audience_in_array PASSED [ 78%] 91s tests/test_api_jwt.py::TestJWT::test_raise_exception_token_without_issuer PASSED [ 78%] 91s tests/test_api_jwt.py::TestJWT::test_raise_exception_token_without_audience PASSED [ 79%] 91s tests/test_api_jwt.py::TestJWT::test_raise_exception_token_with_aud_none_and_without_audience PASSED [ 79%] 91s tests/test_api_jwt.py::TestJWT::test_check_issuer_when_valid PASSED [ 80%] 91s tests/test_api_jwt.py::TestJWT::test_raise_exception_invalid_issuer PASSED [ 80%] 91s tests/test_api_jwt.py::TestJWT::test_skip_check_audience PASSED [ 80%] 91s tests/test_api_jwt.py::TestJWT::test_skip_check_exp PASSED [ 81%] 91s tests/test_api_jwt.py::TestJWT::test_decode_should_raise_error_if_exp_required_but_not_present PASSED [ 81%] 91s tests/test_api_jwt.py::TestJWT::test_decode_should_raise_error_if_iat_required_but_not_present PASSED [ 82%] 91s tests/test_api_jwt.py::TestJWT::test_decode_should_raise_error_if_nbf_required_but_not_present PASSED [ 82%] 91s tests/test_api_jwt.py::TestJWT::test_skip_check_signature PASSED [ 82%] 91s tests/test_api_jwt.py::TestJWT::test_skip_check_iat PASSED [ 83%] 91s tests/test_api_jwt.py::TestJWT::test_skip_check_nbf PASSED [ 83%] 91s tests/test_api_jwt.py::TestJWT::test_custom_json_encoder PASSED [ 83%] 91s tests/test_api_jwt.py::TestJWT::test_decode_with_verify_exp_option PASSED [ 84%] 91s tests/test_api_jwt.py::TestJWT::test_decode_with_verify_exp_option_and_signature_off PASSED [ 84%] 91s tests/test_api_jwt.py::TestJWT::test_decode_with_optional_algorithms PASSED [ 85%] 91s tests/test_api_jwt.py::TestJWT::test_decode_no_algorithms_verify_signature_false PASSED [ 85%] 91s tests/test_api_jwt.py::TestJWT::test_decode_legacy_verify_warning PASSED [ 85%] 91s tests/test_api_jwt.py::TestJWT::test_decode_no_options_mutation PASSED [ 86%] 91s tests/test_api_jwt.py::TestJWT::test_decode_warns_on_unsupported_kwarg PASSED [ 86%] 91s tests/test_api_jwt.py::TestJWT::test_decode_complete_warns_on_unsupported_kwarg PASSED [ 87%] 91s tests/test_compressed_jwt.py::test_decodes_complete_valid_jwt_with_compressed_payload PASSED [ 87%] 91s tests/test_exceptions.py::test_missing_required_claim_error_has_proper_str PASSED [ 87%] 91s tests/test_jwks_client.py::TestPyJWKClient::test_fetch_data_forwards_headers_to_correct_url PASSED [ 88%] 91s tests/test_jwks_client.py::TestPyJWKClient::test_get_jwk_set PASSED [ 88%] 91s tests/test_jwks_client.py::TestPyJWKClient::test_get_signing_keys PASSED [ 89%] 91s tests/test_jwks_client.py::TestPyJWKClient::test_get_signing_keys_if_no_use_provided PASSED [ 89%] 91s tests/test_jwks_client.py::TestPyJWKClient::test_get_signing_keys_raises_if_none_found PASSED [ 89%] 91s tests/test_jwks_client.py::TestPyJWKClient::test_get_signing_key PASSED [ 90%] 91s tests/test_jwks_client.py::TestPyJWKClient::test_get_signing_key_caches_result PASSED [ 90%] 91s tests/test_jwks_client.py::TestPyJWKClient::test_get_signing_key_does_not_cache_opt_out PASSED [ 91%] 91s tests/test_jwks_client.py::TestPyJWKClient::test_get_signing_key_from_jwt PASSED [ 91%] 91s tests/test_jwks_client.py::TestPyJWKClient::test_get_jwk_set_caches_result PASSED [ 91%] 93s tests/test_jwks_client.py::TestPyJWKClient::test_get_jwt_set_cache_expired_result PASSED [ 92%] 95s tests/test_jwks_client.py::TestPyJWKClient::test_get_jwt_set_cache_disabled PASSED [ 92%] 95s tests/test_jwks_client.py::TestPyJWKClient::test_get_jwt_set_failed_request_should_clear_cache PASSED [ 92%] 95s tests/test_jwks_client.py::TestPyJWKClient::test_failed_request_should_raise_connection_error PASSED [ 93%] 95s tests/test_jwks_client.py::TestPyJWKClient::test_get_jwt_set_refresh_cache PASSED [ 93%] 95s tests/test_jwks_client.py::TestPyJWKClient::test_get_jwt_set_no_matching_kid_after_second_attempt PASSED [ 94%] 95s tests/test_jwks_client.py::TestPyJWKClient::test_get_jwt_set_invalid_lifespan PASSED [ 94%] 95s tests/test_jwks_client.py::TestPyJWKClient::test_get_jwt_set_timeout PASSED [ 94%] 95s tests/test_jwt.py::test_encode_decode PASSED [ 95%] 95s tests/test_utils.py::test_to_base64url_uint[0-AA] PASSED [ 95%] 95s tests/test_utils.py::test_to_base64url_uint[1-AQ] PASSED [ 96%] 95s tests/test_utils.py::test_to_base64url_uint[255-_w] PASSED [ 96%] 95s tests/test_utils.py::test_to_base64url_uint[65537-AQAB] PASSED [ 96%] 95s tests/test_utils.py::test_to_base64url_uint[123456789-B1vNFQ] PASSED [ 97%] 95s tests/test_utils.py::test_to_base64url_uint[-1-] XFAIL [ 97%] 95s tests/test_utils.py::test_from_base64url_uint[AA-0] PASSED [ 98%] 95s tests/test_utils.py::test_from_base64url_uint[AQ-1] PASSED [ 98%] 95s tests/test_utils.py::test_from_base64url_uint[_w-255] PASSED [ 98%] 95s tests/test_utils.py::test_from_base64url_uint[AQAB-65537] PASSED [ 99%] 95s tests/test_utils.py::test_from_base64url_uint[B1vNFQ-123456789] PASSED [ 99%] 95s tests/test_utils.py::test_force_bytes_raises_error_on_invalid_object PASSED [100%] 95s 95s =========================== short test summary info ============================ 95s SKIPPED [1] tests/test_api_jwk.py:200: Requires cryptography library not installed 95s SKIPPED [1] tests/test_api_jws.py:387: Requires cryptography library not installed 95s ================== 253 passed, 2 skipped, 1 xfailed in 5.35s =================== 96s autopkgtest [10:08:41]: test python3-jwt: -----------------------] 96s python3-jwt FAIL non-zero exit status 123 96s autopkgtest [10:08:41]: test python3-jwt: - - - - - - - - - - results - - - - - - - - - - 96s autopkgtest [10:08:41]: @@@@@@@@@@@@@@@@@@@@ summary 96s python3-jwt FAIL non-zero exit status 123 112s virt: nova [W] Skipping flock for amd64 112s virt: Creating nova instance adt-plucky-amd64-pyjwt-20241113-093720-juju-7f2275-prod-proposed-migration-environment-2-5fc8aa02-8340-4a45-bf9b-d4b4003e1d63 from image adt/ubuntu-plucky-amd64-server-20241113.img (UUID 76b850f9-98f4-4b79-af06-fa11000b95b2)...