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