0s autopkgtest [16:30:18]: starting date: 2024-03-09 0s autopkgtest [16:30:18]: git checkout: d9c0295 adt_testbed.py: supress warnings from apt using a shell pipeline 0s autopkgtest [16:30:18]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.eh_x0zz7/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --setup-commands /home/ubuntu/autopkgtest/setup-commands/setup-testbed --apt-pocket=proposed=src:python-cryptography,src:openssl --apt-upgrade pyjwt --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=python-cryptography/41.0.7-4build2 openssl/3.0.10-1ubuntu5' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-arm64-18.secgroup --name adt-noble-arm64-pyjwt-20240309-163018-juju-7f2275-prod-proposed-migration-environment-2 --image adt/ubuntu-noble-arm64-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,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 78s autopkgtest [16:31:36]: @@@@@@@@@@@@@@@@@@@@ test bed setup 80s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 80s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [2635 kB] 81s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [3976 B] 81s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [429 kB] 81s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [37.3 kB] 81s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 Packages [577 kB] 81s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 c-n-f Metadata [3144 B] 81s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 Packages [20.3 kB] 81s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 c-n-f Metadata [116 B] 81s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 Packages [2881 kB] 81s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 c-n-f Metadata [8528 B] 81s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 Packages [39.2 kB] 81s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 c-n-f Metadata [116 B] 82s Fetched 6752 kB in 2s (4146 kB/s) 83s Reading package lists... 85s Reading package lists... 86s Building dependency tree... 86s Reading state information... 87s Calculating upgrade... 88s The following package was automatically installed and is no longer required: 88s ubuntu-advantage-tools 88s Use 'sudo apt autoremove' to remove it. 88s The following packages will be REMOVED: 88s libssl3 88s The following NEW packages will be installed: 88s libnuma1 libsensors-config libsensors5 libssl3t64 numactl sysstat 88s The following packages will be upgraded: 88s efibootmgr openssl python3-cryptography ubuntu-minimal ubuntu-standard 88s 5 upgraded, 6 newly installed, 1 to remove and 0 not upgraded. 88s Need to get 4154 kB of archives. 88s After this operation, 2289 kB of additional disk space will be used. 88s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 openssl arm64 3.0.13-0ubuntu1 [983 kB] 89s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 python3-cryptography arm64 41.0.7-4build2 [772 kB] 89s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libssl3t64 arm64 3.0.13-0ubuntu1 [1770 kB] 89s Get:4 http://ftpmaster.internal/ubuntu noble/main arm64 ubuntu-minimal arm64 1.535 [10.5 kB] 89s Get:5 http://ftpmaster.internal/ubuntu noble/main arm64 libnuma1 arm64 2.0.18-1 [23.5 kB] 89s Get:6 http://ftpmaster.internal/ubuntu noble/main arm64 ubuntu-standard arm64 1.535 [10.5 kB] 89s Get:7 http://ftpmaster.internal/ubuntu noble/main arm64 efibootmgr arm64 18-1build1 [31.5 kB] 89s Get:8 http://ftpmaster.internal/ubuntu noble/main arm64 libsensors-config all 1:3.6.0-9 [5458 B] 89s Get:9 http://ftpmaster.internal/ubuntu noble/main arm64 libsensors5 arm64 1:3.6.0-9 [26.9 kB] 89s Get:10 http://ftpmaster.internal/ubuntu noble/main arm64 numactl arm64 2.0.18-1 [39.5 kB] 89s Get:11 http://ftpmaster.internal/ubuntu noble/main arm64 sysstat arm64 12.6.1-1ubuntu1 [480 kB] 90s Preconfiguring packages ... 90s Fetched 4154 kB in 1s (5435 kB/s) 90s (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 ... 74662 files and directories currently installed.) 90s Preparing to unpack .../openssl_3.0.13-0ubuntu1_arm64.deb ... 90s Unpacking openssl (3.0.13-0ubuntu1) over (3.0.10-1ubuntu4) ... 90s Preparing to unpack .../python3-cryptography_41.0.7-4build2_arm64.deb ... 91s Unpacking python3-cryptography (41.0.7-4build2) over (41.0.7-3) ... 91s dpkg: libssl3:arm64: dependency problems, but removing anyway as you requested: 91s wget depends on libssl3 (>= 3.0.0). 91s u-boot-tools depends on libssl3 (>= 3.0.0). 91s tnftp depends on libssl3 (>= 3.0.0). 91s tcpdump depends on libssl3 (>= 3.0.0). 91s systemd-resolved depends on libssl3 (>= 3.0.0). 91s systemd depends on libssl3 (>= 3.0.0). 91s sudo depends on libssl3 (>= 3.0.0). 91s sbsigntool depends on libssl3 (>= 3.0.0). 91s rsync depends on libssl3 (>= 3.0.0). 91s openssh-server depends on libssl3 (>= 3.0.10). 91s openssh-client depends on libssl3 (>= 3.0.10). 91s mtd-utils depends on libssl3 (>= 3.0.0). 91s mokutil depends on libssl3 (>= 3.0.0). 91s linux-headers-6.8.0-11-generic depends on libssl3 (>= 3.0.0). 91s libsystemd-shared:arm64 depends on libssl3 (>= 3.0.0). 91s libssh-4:arm64 depends on libssl3 (>= 3.0.0). 91s libsasl2-modules:arm64 depends on libssl3 (>= 3.0.0). 91s libsasl2-2:arm64 depends on libssl3 (>= 3.0.0). 91s libpython3.12-minimal:arm64 depends on libssl3 (>= 3.0.0). 91s libnvme1 depends on libssl3 (>= 3.0.0). 91s libkrb5-3:arm64 depends on libssl3 (>= 3.0.0). 91s libkmod2:arm64 depends on libssl3 (>= 3.0.0). 91s libfido2-1:arm64 depends on libssl3 (>= 3.0.0). 91s libcurl4:arm64 depends on libssl3 (>= 3.0.0). 91s libcryptsetup12:arm64 depends on libssl3 (>= 3.0.0). 91s kmod depends on libssl3 (>= 3.0.0). 91s dhcpcd-base depends on libssl3 (>= 3.0.0). 91s bind9-libs:arm64 depends on libssl3 (>= 3.0.0). 91s 91s (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 ... 74662 files and directories currently installed.) 91s Removing libssl3:arm64 (3.0.10-1ubuntu4) ... 91s Selecting previously unselected package libssl3t64:arm64. 91s (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 ... 74651 files and directories currently installed.) 91s Preparing to unpack .../0-libssl3t64_3.0.13-0ubuntu1_arm64.deb ... 91s Unpacking libssl3t64:arm64 (3.0.13-0ubuntu1) ... 91s Preparing to unpack .../1-ubuntu-minimal_1.535_arm64.deb ... 91s Unpacking ubuntu-minimal (1.535) over (1.534) ... 91s Selecting previously unselected package libnuma1:arm64. 91s Preparing to unpack .../2-libnuma1_2.0.18-1_arm64.deb ... 91s Unpacking libnuma1:arm64 (2.0.18-1) ... 91s Preparing to unpack .../3-ubuntu-standard_1.535_arm64.deb ... 91s Unpacking ubuntu-standard (1.535) over (1.534) ... 91s Preparing to unpack .../4-efibootmgr_18-1build1_arm64.deb ... 91s Unpacking efibootmgr (18-1build1) over (18-1) ... 91s Selecting previously unselected package libsensors-config. 92s Preparing to unpack .../5-libsensors-config_1%3a3.6.0-9_all.deb ... 92s Unpacking libsensors-config (1:3.6.0-9) ... 92s Selecting previously unselected package libsensors5:arm64. 92s Preparing to unpack .../6-libsensors5_1%3a3.6.0-9_arm64.deb ... 92s Unpacking libsensors5:arm64 (1:3.6.0-9) ... 92s Selecting previously unselected package numactl. 92s Preparing to unpack .../7-numactl_2.0.18-1_arm64.deb ... 92s Unpacking numactl (2.0.18-1) ... 92s Selecting previously unselected package sysstat. 92s Preparing to unpack .../8-sysstat_12.6.1-1ubuntu1_arm64.deb ... 92s Unpacking sysstat (12.6.1-1ubuntu1) ... 92s Setting up efibootmgr (18-1build1) ... 92s Setting up ubuntu-minimal (1.535) ... 92s Setting up libssl3t64:arm64 (3.0.13-0ubuntu1) ... 92s Setting up libsensors-config (1:3.6.0-9) ... 92s Setting up ubuntu-standard (1.535) ... 92s Setting up python3-cryptography (41.0.7-4build2) ... 92s Setting up libsensors5:arm64 (1:3.6.0-9) ... 92s Setting up libnuma1:arm64 (2.0.18-1) ... 92s Setting up openssl (3.0.13-0ubuntu1) ... 92s Setting up sysstat (12.6.1-1ubuntu1) ... 93s 93s Creating config file /etc/default/sysstat with new version 93s update-alternatives: using /usr/bin/sar.sysstat to provide /usr/bin/sar (sar) in auto mode 94s Created symlink /etc/systemd/system/sysstat.service.wants/sysstat-collect.timer → /usr/lib/systemd/system/sysstat-collect.timer. 94s Created symlink /etc/systemd/system/sysstat.service.wants/sysstat-summary.timer → /usr/lib/systemd/system/sysstat-summary.timer. 94s Created symlink /etc/systemd/system/multi-user.target.wants/sysstat.service → /usr/lib/systemd/system/sysstat.service. 97s Setting up numactl (2.0.18-1) ... 97s Processing triggers for man-db (2.12.0-3) ... 98s Processing triggers for libc-bin (2.39-0ubuntu2) ... 98s Reading package lists... 99s Building dependency tree... 99s Reading state information... 100s The following packages will be REMOVED: 100s ubuntu-advantage-tools* 100s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 100s After this operation, 71.7 kB disk space will be freed. 100s (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 ... 74757 files and directories currently installed.) 100s Removing ubuntu-advantage-tools (31.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 ... 74751 files and directories currently installed.) 101s Purging configuration files for ubuntu-advantage-tools (31.1) ... 102s sh: Attempting to set up Debian/Ubuntu apt sources automatically 102s sh: Distribution appears to be Ubuntu 103s Reading package lists... 104s Building dependency tree... 104s Reading state information... 105s eatmydata is already the newest version (131-1). 105s dbus is already the newest version (1.14.10-4ubuntu1). 105s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 105s Reading package lists... 105s Building dependency tree... 105s Reading state information... 106s rng-tools-debian is already the newest version (2.4). 106s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 106s Reading package lists... 106s Building dependency tree... 106s Reading state information... 107s haveged is already the newest version (1.9.14-1ubuntu1). 107s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 107s Reading package lists... 108s Building dependency tree... 108s Reading state information... 108s The following packages will be REMOVED: 108s cloud-init* python3-configobj* python3-debconf* 109s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 109s After this operation, 3248 kB disk space will be freed. 109s (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 ... 74750 files and directories currently installed.) 109s Removing cloud-init (24.1-0ubuntu1) ... 109s Removing python3-configobj (5.0.8-3) ... 109s Removing python3-debconf (1.5.86) ... 110s Processing triggers for man-db (2.12.0-3) ... 110s (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 ... 74361 files and directories currently installed.) 110s Purging configuration files for cloud-init (24.1-0ubuntu1) ... 111s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 111s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 112s Reading package lists... 112s Building dependency tree... 112s Reading state information... 114s linux-generic is already the newest version (6.8.0-11.11+1). 114s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 115s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 115s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 116s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 116s Hit:4 http://ftpmaster.internal/ubuntu noble-proposed InRelease 120s Reading package lists... 120s Reading package lists... 120s Building dependency tree... 120s Reading state information... 121s Calculating upgrade... 121s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 122s Reading package lists... 123s Building dependency tree... 123s Reading state information... 128s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 130s autopkgtest [16:32:28]: rebooting testbed after setup commands that affected boot 391s autopkgtest [16:36:49]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 14 02:53:31 UTC 2024 392s autopkgtest [16:36:50]: testbed dpkg architecture: arm64 393s autopkgtest [16:36:51]: @@@@@@@@@@@@@@@@@@@@ apt-source pyjwt 395s Get:1 http://ftpmaster.internal/ubuntu noble/main pyjwt 2.7.0-1 (dsc) [2280 B] 395s Get:2 http://ftpmaster.internal/ubuntu noble/main pyjwt 2.7.0-1 (tar) [77.9 kB] 395s Get:3 http://ftpmaster.internal/ubuntu noble/main pyjwt 2.7.0-1 (diff) [4540 B] 396s gpgv: Signature made Thu Jun 15 03:10:18 2023 UTC 396s gpgv: using RSA key C65AEF9FE5BF8CCBD6EDB0198BAF522C0D6CCEDD 396s gpgv: issuer "eriol@debian.org" 396s gpgv: Can't check signature: No public key 396s dpkg-source: warning: cannot verify inline signature for ./pyjwt_2.7.0-1.dsc: no acceptable signature found 396s autopkgtest [16:36:54]: testing package pyjwt version 2.7.0-1 396s autopkgtest [16:36:54]: build not needed 396s autopkgtest [16:36:54]: test python3-jwt: preparing testbed 399s Reading package lists... 399s Building dependency tree... 399s Reading state information... 400s Correcting dependencies...Starting pkgProblemResolver with broken count: 0 400s Starting 2 pkgProblemResolver with broken count: 0 400s Done 400s Done 400s Starting pkgProblemResolver with broken count: 0 400s Starting 2 pkgProblemResolver with broken count: 0 400s Done 401s The following additional packages will be installed: 401s libjs-jquery libjs-jquery-hotkeys libjs-jquery-isonscreen 401s libjs-jquery-metadata libjs-jquery-tablesorter 401s libjs-jquery-throttle-debounce libpython3.11-minimal libpython3.11-stdlib 401s python3-all python3-coverage python3-distutils python3-exceptiongroup 401s python3-iniconfig python3-lib2to3 python3-packaging python3-pluggy 401s python3-pytest python3-pytest-cov python3-pytest-runner python3-setuptools 401s python3-tomli python3.11 python3.11-minimal 401s Suggested packages: 401s python-coverage-doc python-setuptools-doc python3.11-venv python3.11-doc 401s binfmt-support 401s Recommended packages: 401s javascript-common 401s The following NEW packages will be installed: 401s libjs-jquery libjs-jquery-hotkeys libjs-jquery-isonscreen 401s libjs-jquery-metadata libjs-jquery-tablesorter 401s libjs-jquery-throttle-debounce libpython3.11-minimal libpython3.11-stdlib 401s python3-all python3-coverage python3-distutils python3-exceptiongroup 401s python3-iniconfig python3-lib2to3 python3-packaging python3-pluggy 401s python3-pytest python3-pytest-cov python3-pytest-runner python3-setuptools 401s python3-tomli python3.11 python3.11-minimal 401s 0 upgraded, 23 newly installed, 0 to remove and 0 not upgraded. 401s 1 not fully installed or removed. 401s Need to get 7232 kB of archives. 401s After this operation, 31.3 MB of additional disk space will be used. 401s Get:1 http://ftpmaster.internal/ubuntu noble/main arm64 python3-lib2to3 all 3.11.5-1 [79.0 kB] 401s Get:2 http://ftpmaster.internal/ubuntu noble/main arm64 python3-distutils all 3.11.5-1 [131 kB] 401s Get:3 http://ftpmaster.internal/ubuntu noble/main arm64 python3-all arm64 3.12.1-0ubuntu2 [906 B] 401s Get:4 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-exceptiongroup all 1.2.0-1 [17.6 kB] 401s Get:5 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-iniconfig all 1.1.1-2 [6024 B] 401s Get:6 http://ftpmaster.internal/ubuntu noble/main arm64 python3-packaging all 23.2-1 [40.6 kB] 401s Get:7 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-pluggy all 1.4.0-1 [20.4 kB] 401s Get:8 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-tomli all 2.0.1-2 [16.5 kB] 401s Get:9 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-pytest all 7.4.4-1 [305 kB] 401s Get:10 http://ftpmaster.internal/ubuntu noble/main arm64 libpython3.11-minimal arm64 3.11.8-1 [837 kB] 401s Get:11 http://ftpmaster.internal/ubuntu noble/main arm64 python3.11-minimal arm64 3.11.8-1 [2150 kB] 401s Get:12 http://ftpmaster.internal/ubuntu noble/main arm64 libpython3.11-stdlib arm64 3.11.8-1 [1913 kB] 402s Get:13 http://ftpmaster.internal/ubuntu noble/main arm64 python3.11 arm64 3.11.8-1 [589 kB] 402s Get:14 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-coverage arm64 7.3.2-0ubuntu1 [147 kB] 402s Get:15 http://ftpmaster.internal/ubuntu noble/main arm64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 402s Get:16 http://ftpmaster.internal/ubuntu noble/universe arm64 libjs-jquery-hotkeys all 0~20130707+git2d51e3a9+dfsg-2ubuntu2 [11.5 kB] 402s Get:17 http://ftpmaster.internal/ubuntu noble/universe arm64 libjs-jquery-isonscreen all 1.2.0-1.1 [3244 B] 402s Get:18 http://ftpmaster.internal/ubuntu noble/universe arm64 libjs-jquery-metadata all 12-4 [6582 B] 402s Get:19 http://ftpmaster.internal/ubuntu noble/universe arm64 libjs-jquery-tablesorter all 1:2.31.3+dfsg1-3 [193 kB] 402s Get:20 http://ftpmaster.internal/ubuntu noble/universe arm64 libjs-jquery-throttle-debounce all 1.1+dfsg.1-2 [12.5 kB] 402s Get:21 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-pytest-cov all 4.1.0-1 [21.5 kB] 402s Get:22 http://ftpmaster.internal/ubuntu noble/main arm64 python3-setuptools all 68.1.2-2 [396 kB] 402s Get:23 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-pytest-runner all 2.11.1-4 [7450 B] 403s Fetched 7232 kB in 1s (8007 kB/s) 403s Selecting previously unselected package python3-lib2to3. 403s (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 ... 74306 files and directories currently installed.) 403s Preparing to unpack .../00-python3-lib2to3_3.11.5-1_all.deb ... 403s Unpacking python3-lib2to3 (3.11.5-1) ... 404s Selecting previously unselected package python3-distutils. 404s Preparing to unpack .../01-python3-distutils_3.11.5-1_all.deb ... 404s Unpacking python3-distutils (3.11.5-1) ... 404s Selecting previously unselected package python3-all. 405s Preparing to unpack .../02-python3-all_3.12.1-0ubuntu2_arm64.deb ... 405s Unpacking python3-all (3.12.1-0ubuntu2) ... 405s Selecting previously unselected package python3-exceptiongroup. 405s Preparing to unpack .../03-python3-exceptiongroup_1.2.0-1_all.deb ... 405s Unpacking python3-exceptiongroup (1.2.0-1) ... 405s Selecting previously unselected package python3-iniconfig. 406s Preparing to unpack .../04-python3-iniconfig_1.1.1-2_all.deb ... 406s Unpacking python3-iniconfig (1.1.1-2) ... 406s Selecting previously unselected package python3-packaging. 406s Preparing to unpack .../05-python3-packaging_23.2-1_all.deb ... 406s Unpacking python3-packaging (23.2-1) ... 406s Selecting previously unselected package python3-pluggy. 407s Preparing to unpack .../06-python3-pluggy_1.4.0-1_all.deb ... 407s Unpacking python3-pluggy (1.4.0-1) ... 407s Selecting previously unselected package python3-tomli. 407s Preparing to unpack .../07-python3-tomli_2.0.1-2_all.deb ... 407s Unpacking python3-tomli (2.0.1-2) ... 407s Selecting previously unselected package python3-pytest. 408s Preparing to unpack .../08-python3-pytest_7.4.4-1_all.deb ... 408s Unpacking python3-pytest (7.4.4-1) ... 408s Selecting previously unselected package libpython3.11-minimal:arm64. 408s Preparing to unpack .../09-libpython3.11-minimal_3.11.8-1_arm64.deb ... 408s Unpacking libpython3.11-minimal:arm64 (3.11.8-1) ... 408s Selecting previously unselected package python3.11-minimal. 408s Preparing to unpack .../10-python3.11-minimal_3.11.8-1_arm64.deb ... 408s Unpacking python3.11-minimal (3.11.8-1) ... 409s Selecting previously unselected package libpython3.11-stdlib:arm64. 409s Preparing to unpack .../11-libpython3.11-stdlib_3.11.8-1_arm64.deb ... 409s Unpacking libpython3.11-stdlib:arm64 (3.11.8-1) ... 409s Selecting previously unselected package python3.11. 410s Preparing to unpack .../12-python3.11_3.11.8-1_arm64.deb ... 410s Unpacking python3.11 (3.11.8-1) ... 410s Selecting previously unselected package python3-coverage. 410s Preparing to unpack .../13-python3-coverage_7.3.2-0ubuntu1_arm64.deb ... 410s Unpacking python3-coverage (7.3.2-0ubuntu1) ... 410s Selecting previously unselected package libjs-jquery. 410s Preparing to unpack .../14-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 410s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 410s Selecting previously unselected package libjs-jquery-hotkeys. 411s Preparing to unpack .../15-libjs-jquery-hotkeys_0~20130707+git2d51e3a9+dfsg-2ubuntu2_all.deb ... 411s Unpacking libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2ubuntu2) ... 411s Selecting previously unselected package libjs-jquery-isonscreen. 411s Preparing to unpack .../16-libjs-jquery-isonscreen_1.2.0-1.1_all.deb ... 411s Unpacking libjs-jquery-isonscreen (1.2.0-1.1) ... 411s Selecting previously unselected package libjs-jquery-metadata. 411s Preparing to unpack .../17-libjs-jquery-metadata_12-4_all.deb ... 411s Unpacking libjs-jquery-metadata (12-4) ... 411s Selecting previously unselected package libjs-jquery-tablesorter. 412s Preparing to unpack .../18-libjs-jquery-tablesorter_1%3a2.31.3+dfsg1-3_all.deb ... 412s Unpacking libjs-jquery-tablesorter (1:2.31.3+dfsg1-3) ... 412s Selecting previously unselected package libjs-jquery-throttle-debounce. 412s Preparing to unpack .../19-libjs-jquery-throttle-debounce_1.1+dfsg.1-2_all.deb ... 412s Unpacking libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 412s Selecting previously unselected package python3-pytest-cov. 412s Preparing to unpack .../20-python3-pytest-cov_4.1.0-1_all.deb ... 412s Unpacking python3-pytest-cov (4.1.0-1) ... 412s Selecting previously unselected package python3-setuptools. 413s Preparing to unpack .../21-python3-setuptools_68.1.2-2_all.deb ... 413s Unpacking python3-setuptools (68.1.2-2) ... 413s Selecting previously unselected package python3-pytest-runner. 413s Preparing to unpack .../22-python3-pytest-runner_2.11.1-4_all.deb ... 413s Unpacking python3-pytest-runner (2.11.1-4) ... 414s Setting up python3-iniconfig (1.1.1-2) ... 414s Setting up python3-tomli (2.0.1-2) ... 414s Setting up libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 414s Setting up python3-packaging (23.2-1) ... 415s Setting up python3-pluggy (1.4.0-1) ... 415s Setting up python3-exceptiongroup (1.2.0-1) ... 415s Setting up libpython3.11-minimal:arm64 (3.11.8-1) ... 415s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 415s Setting up libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2ubuntu2) ... 415s Setting up python3-lib2to3 (3.11.5-1) ... 416s Setting up python3-distutils (3.11.5-1) ... 416s python3.12: can't get files for byte-compilation 416s Setting up python3.11-minimal (3.11.8-1) ... 417s Setting up python3-setuptools (68.1.2-2) ... 418s Setting up python3-pytest (7.4.4-1) ... 418s Setting up libpython3.11-stdlib:arm64 (3.11.8-1) ... 418s Setting up python3-all (3.12.1-0ubuntu2) ... 418s Setting up libjs-jquery-metadata (12-4) ... 418s Setting up libjs-jquery-isonscreen (1.2.0-1.1) ... 418s Setting up libjs-jquery-tablesorter (1:2.31.3+dfsg1-3) ... 418s Setting up python3-pytest-runner (2.11.1-4) ... 418s Setting up python3.11 (3.11.8-1) ... 419s Setting up python3-coverage (7.3.2-0ubuntu1) ... 419s Setting up python3-pytest-cov (4.1.0-1) ... 419s Setting up autopkgtest-satdep (0) ... 419s Processing triggers for man-db (2.12.0-3) ... 420s Processing triggers for systemd (255.2-3ubuntu2) ... 423s (Reading database ... 75919 files and directories currently installed.) 423s Removing autopkgtest-satdep (0) ... 425s autopkgtest [16:37:23]: test python3-jwt: [----------------------- 427s ============================= test session starts ============================== 427s platform linux -- Python 3.12.2, pytest-7.4.4, pluggy-1.4.0 -- /usr/bin/python3.12 427s cachedir: .pytest_cache 427s rootdir: /tmp/autopkgtest.EiJBri/build.uuB/src 427s configfile: tox.ini 427s testpaths: tests 427s plugins: cov-4.1.0 428s collecting ... collected 256 items 428s 428s tests/test_advisory.py::TestAdvisory::test_ghsa_ffqj_6fqr_9h24 PASSED [ 0%] 428s tests/test_algorithms.py::TestAlgorithms::test_none_algorithm_should_throw_exception_if_key_is_not_none PASSED [ 0%] 428s tests/test_algorithms.py::TestAlgorithms::test_none_algorithm_should_throw_exception_on_to_jwk PASSED [ 1%] 428s tests/test_algorithms.py::TestAlgorithms::test_none_algorithm_should_throw_exception_on_from_jwk PASSED [ 1%] 428s tests/test_algorithms.py::TestAlgorithms::test_hmac_should_reject_nonstring_key PASSED [ 1%] 428s tests/test_algorithms.py::TestAlgorithms::test_hmac_should_accept_unicode_key PASSED [ 2%] 428s tests/test_algorithms.py::TestAlgorithms::test_hmac_should_throw_exception[testkey2_rsa.pub.pem0] PASSED [ 2%] 428s tests/test_algorithms.py::TestAlgorithms::test_hmac_should_throw_exception[testkey2_rsa.pub.pem1] PASSED [ 3%] 428s tests/test_algorithms.py::TestAlgorithms::test_hmac_should_throw_exception[testkey_pkcs1.pub.pem] PASSED [ 3%] 428s tests/test_algorithms.py::TestAlgorithms::test_hmac_should_throw_exception[testkey_rsa.cer] PASSED [ 3%] 428s tests/test_algorithms.py::TestAlgorithms::test_hmac_should_throw_exception[testkey_rsa.pub] PASSED [ 4%] 428s tests/test_algorithms.py::TestAlgorithms::test_hmac_jwk_should_parse_and_verify PASSED [ 4%] 428s tests/test_algorithms.py::TestAlgorithms::test_hmac_to_jwk_returns_correct_values[False] PASSED [ 5%] 428s tests/test_algorithms.py::TestAlgorithms::test_hmac_to_jwk_returns_correct_values[True] PASSED [ 5%] 428s tests/test_algorithms.py::TestAlgorithms::test_hmac_from_jwk_should_raise_exception_if_not_hmac_key PASSED [ 5%] 428s tests/test_algorithms.py::TestAlgorithms::test_rsa_should_parse_pem_public_key PASSED [ 6%] 428s tests/test_algorithms.py::TestAlgorithms::test_rsa_should_accept_pem_private_key_bytes PASSED [ 6%] 429s tests/test_algorithms.py::TestAlgorithms::test_rsa_should_accept_unicode_key PASSED [ 7%] 429s tests/test_algorithms.py::TestAlgorithms::test_rsa_should_reject_non_string_key PASSED [ 7%] 429s tests/test_algorithms.py::TestAlgorithms::test_rsa_verify_should_return_false_if_signature_invalid PASSED [ 7%] 429s tests/test_algorithms.py::TestAlgorithms::test_ec_jwk_public_and_private_keys_should_parse_and_verify PASSED [ 8%] 429s tests/test_algorithms.py::TestAlgorithms::test_ec_jwk_fails_on_invalid_json PASSED [ 8%] 429s tests/test_algorithms.py::TestAlgorithms::test_ec_private_key_to_jwk_works_with_from_jwk PASSED [ 8%] 429s tests/test_algorithms.py::TestAlgorithms::test_ec_public_key_to_jwk_works_with_from_jwk PASSED [ 9%] 429s tests/test_algorithms.py::TestAlgorithms::test_ec_to_jwk_returns_correct_values_for_public_key[False] PASSED [ 9%] 429s tests/test_algorithms.py::TestAlgorithms::test_ec_to_jwk_returns_correct_values_for_public_key[True] PASSED [ 10%] 429s tests/test_algorithms.py::TestAlgorithms::test_ec_to_jwk_returns_correct_values_for_private_key[False] PASSED [ 10%] 429s tests/test_algorithms.py::TestAlgorithms::test_ec_to_jwk_returns_correct_values_for_private_key[True] PASSED [ 10%] 429s tests/test_algorithms.py::TestAlgorithms::test_ec_to_jwk_raises_exception_on_invalid_key PASSED [ 11%] 429s tests/test_algorithms.py::TestAlgorithms::test_ec_to_jwk_with_valid_curves[False] PASSED [ 11%] 429s tests/test_algorithms.py::TestAlgorithms::test_ec_to_jwk_with_valid_curves[True] PASSED [ 12%] 429s tests/test_algorithms.py::TestAlgorithms::test_ec_to_jwk_with_invalid_curve PASSED [ 12%] 429s tests/test_algorithms.py::TestAlgorithms::test_rsa_jwk_public_and_private_keys_should_parse_and_verify PASSED [ 12%] 430s tests/test_algorithms.py::TestAlgorithms::test_rsa_private_key_to_jwk_works_with_from_jwk PASSED [ 13%] 430s tests/test_algorithms.py::TestAlgorithms::test_rsa_public_key_to_jwk_works_with_from_jwk PASSED [ 13%] 430s tests/test_algorithms.py::TestAlgorithms::test_rsa_jwk_private_key_with_other_primes_is_invalid PASSED [ 14%] 430s tests/test_algorithms.py::TestAlgorithms::test_rsa_jwk_private_key_with_missing_values_is_invalid PASSED [ 14%] 430s tests/test_algorithms.py::TestAlgorithms::test_rsa_jwk_private_key_can_recover_prime_factors PASSED [ 14%] 430s tests/test_algorithms.py::TestAlgorithms::test_rsa_jwk_private_key_with_missing_required_values_is_invalid PASSED [ 15%] 430s tests/test_algorithms.py::TestAlgorithms::test_rsa_jwk_raises_exception_if_not_a_valid_key PASSED [ 15%] 430s tests/test_algorithms.py::TestAlgorithms::test_rsa_to_jwk_returns_correct_values_for_public_key[False] PASSED [ 16%] 430s tests/test_algorithms.py::TestAlgorithms::test_rsa_to_jwk_returns_correct_values_for_public_key[True] PASSED [ 16%] 430s tests/test_algorithms.py::TestAlgorithms::test_rsa_to_jwk_returns_correct_values_for_private_key[False] PASSED [ 16%] 430s tests/test_algorithms.py::TestAlgorithms::test_rsa_to_jwk_returns_correct_values_for_private_key[True] PASSED [ 17%] 430s tests/test_algorithms.py::TestAlgorithms::test_rsa_to_jwk_raises_exception_on_invalid_key PASSED [ 17%] 430s tests/test_algorithms.py::TestAlgorithms::test_rsa_from_jwk_raises_exception_on_invalid_key PASSED [ 17%] 430s tests/test_algorithms.py::TestAlgorithms::test_ec_should_reject_non_string_key PASSED [ 18%] 430s tests/test_algorithms.py::TestAlgorithms::test_ec_should_accept_pem_private_key_bytes PASSED [ 18%] 430s tests/test_algorithms.py::TestAlgorithms::test_ec_should_accept_ssh_public_key_bytes PASSED [ 19%] 430s tests/test_algorithms.py::TestAlgorithms::test_ec_verify_should_return_false_if_signature_invalid PASSED [ 19%] 430s tests/test_algorithms.py::TestAlgorithms::test_ec_verify_should_return_false_if_signature_wrong_length PASSED [ 19%] 431s tests/test_algorithms.py::TestAlgorithms::test_ec_should_throw_exception_on_wrong_key PASSED [ 20%] 431s tests/test_algorithms.py::TestAlgorithms::test_rsa_pss_sign_then_verify_should_return_true PASSED [ 20%] 431s tests/test_algorithms.py::TestAlgorithms::test_rsa_pss_verify_should_return_false_if_signature_invalid PASSED [ 21%] 431s tests/test_algorithms.py::TestAlgorithmsRFC7520::test_hmac_verify_should_return_true_for_test_vector PASSED [ 21%] 431s tests/test_algorithms.py::TestAlgorithmsRFC7520::test_rsa_verify_should_return_true_for_test_vector PASSED [ 21%] 431s tests/test_algorithms.py::TestAlgorithmsRFC7520::test_rsapss_verify_should_return_true_for_test_vector PASSED [ 22%] 431s tests/test_algorithms.py::TestAlgorithmsRFC7520::test_ec_verify_should_return_true_for_test_vector PASSED [ 22%] 431s tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed25519_should_reject_non_string_key PASSED [ 23%] 431s tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed25519_sign_should_generate_correct_signature_value PASSED [ 23%] 431s tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed25519_verify_should_return_false_if_signature_invalid PASSED [ 23%] 431s tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed25519_verify_should_return_true_if_signature_valid PASSED [ 24%] 431s tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed25519_prepare_key_should_be_idempotent PASSED [ 24%] 431s tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed25519_jwk_private_key_should_parse_and_verify PASSED [ 25%] 431s tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed25519_jwk_private_key_should_parse_and_verify_with_private_key_as_is PASSED [ 25%] 431s tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed25519_jwk_public_key_should_parse_and_verify PASSED [ 25%] 431s tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed25519_jwk_fails_on_invalid_json PASSED [ 26%] 431s tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed25519_to_jwk_works_with_from_jwk[False] PASSED [ 26%] 431s tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed25519_to_jwk_works_with_from_jwk[True] PASSED [ 26%] 431s tests/test_algorithms.py::TestOKPAlgorithms::test_okp_to_jwk_raises_exception_on_invalid_key PASSED [ 27%] 431s tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed448_jwk_private_key_should_parse_and_verify PASSED [ 27%] 431s tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed448_jwk_private_key_should_parse_and_verify_with_private_key_as_is PASSED [ 28%] 431s tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed448_jwk_public_key_should_parse_and_verify PASSED [ 28%] 431s tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed448_jwk_fails_on_invalid_json PASSED [ 28%] 431s tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed448_to_jwk_works_with_from_jwk[False] PASSED [ 29%] 431s tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed448_to_jwk_works_with_from_jwk[True] PASSED [ 29%] 431s tests/test_algorithms.py::TestOKPAlgorithms::test_rsa_can_compute_digest PASSED [ 30%] 431s tests/test_algorithms.py::TestOKPAlgorithms::test_hmac_can_compute_digest PASSED [ 30%] 431s tests/test_api_jwk.py::TestPyJWK::test_should_load_key_from_jwk_data_dict PASSED [ 30%] 431s tests/test_api_jwk.py::TestPyJWK::test_should_load_key_from_jwk_data_json_string PASSED [ 31%] 431s tests/test_api_jwk.py::TestPyJWK::test_should_load_key_without_alg_from_dict PASSED [ 31%] 431s tests/test_api_jwk.py::TestPyJWK::test_should_load_key_from_dict_with_algorithm PASSED [ 32%] 431s tests/test_api_jwk.py::TestPyJWK::test_should_load_key_ec_p256_from_dict PASSED [ 32%] 431s tests/test_api_jwk.py::TestPyJWK::test_should_load_key_ec_p384_from_dict PASSED [ 32%] 431s tests/test_api_jwk.py::TestPyJWK::test_should_load_key_ec_p521_from_dict PASSED [ 33%] 431s tests/test_api_jwk.py::TestPyJWK::test_should_load_key_ec_secp256k1_from_dict PASSED [ 33%] 431s tests/test_api_jwk.py::TestPyJWK::test_should_load_key_hmac_from_dict PASSED [ 33%] 431s tests/test_api_jwk.py::TestPyJWK::test_should_load_key_hmac_without_alg_from_dict PASSED [ 34%] 431s tests/test_api_jwk.py::TestPyJWK::test_should_load_key_okp_without_alg_from_dict PASSED [ 34%] 431s tests/test_api_jwk.py::TestPyJWK::test_from_dict_should_throw_exception_if_arg_is_invalid PASSED [ 35%] 431s tests/test_api_jwk.py::TestPyJWK::test_missing_crypto_library_good_error_message SKIPPED [ 35%] 431s tests/test_api_jwk.py::TestPyJWKSet::test_should_load_keys_from_jwk_data_dict PASSED [ 35%] 431s tests/test_api_jwk.py::TestPyJWKSet::test_should_load_keys_from_jwk_data_json_string PASSED [ 36%] 431s tests/test_api_jwk.py::TestPyJWKSet::test_keyset_should_index_by_kid PASSED [ 36%] 431s tests/test_api_jwk.py::TestPyJWKSet::test_keyset_with_unknown_alg PASSED [ 37%] 431s tests/test_api_jwk.py::TestPyJWKSet::test_invalid_keys_list PASSED [ 37%] 431s tests/test_api_jwk.py::TestPyJWKSet::test_empty_keys_list PASSED [ 37%] 431s tests/test_api_jws.py::TestJWS::test_register_algo_does_not_allow_duplicate_registration PASSED [ 38%] 431s tests/test_api_jws.py::TestJWS::test_register_algo_rejects_non_algorithm_obj PASSED [ 38%] 431s tests/test_api_jws.py::TestJWS::test_unregister_algo_removes_algorithm PASSED [ 39%] 431s tests/test_api_jws.py::TestJWS::test_unregister_algo_throws_error_if_not_registered PASSED [ 39%] 431s tests/test_api_jws.py::TestJWS::test_algo_parameter_removes_alg_from_algorithms_list PASSED [ 39%] 431s tests/test_api_jws.py::TestJWS::test_override_options PASSED [ 40%] 431s tests/test_api_jws.py::TestJWS::test_non_object_options_dont_persist PASSED [ 40%] 431s tests/test_api_jws.py::TestJWS::test_options_must_be_dict PASSED [ 41%] 431s tests/test_api_jws.py::TestJWS::test_encode_decode PASSED [ 41%] 431s tests/test_api_jws.py::TestJWS::test_decode_fails_when_alg_is_not_on_method_algorithms_param PASSED [ 41%] 431s tests/test_api_jws.py::TestJWS::test_decode_works_with_unicode_token PASSED [ 42%] 431s tests/test_api_jws.py::TestJWS::test_decode_missing_segments_throws_exception PASSED [ 42%] 431s tests/test_api_jws.py::TestJWS::test_decode_invalid_token_type_is_none PASSED [ 42%] 431s tests/test_api_jws.py::TestJWS::test_decode_invalid_token_type_is_int PASSED [ 43%] 431s tests/test_api_jws.py::TestJWS::test_decode_with_non_mapping_header_throws_exception PASSED [ 43%] 431s tests/test_api_jws.py::TestJWS::test_encode_algorithm_param_should_be_case_sensitive PASSED [ 44%] 431s tests/test_api_jws.py::TestJWS::test_encode_with_headers_alg_none PASSED [ 44%] 431s tests/test_api_jws.py::TestJWS::test_encode_with_headers_alg_es256 PASSED [ 44%] 431s tests/test_api_jws.py::TestJWS::test_encode_with_alg_hs256_and_headers_alg_es256 PASSED [ 45%] 431s tests/test_api_jws.py::TestJWS::test_decode_algorithm_param_should_be_case_sensitive PASSED [ 45%] 431s tests/test_api_jws.py::TestJWS::test_bad_secret PASSED [ 46%] 431s tests/test_api_jws.py::TestJWS::test_decodes_valid_jws PASSED [ 46%] 431s tests/test_api_jws.py::TestJWS::test_decodes_complete_valid_jws PASSED [ 46%] 431s tests/test_api_jws.py::TestJWS::test_decodes_valid_es384_jws PASSED [ 47%] 431s tests/test_api_jws.py::TestJWS::test_decodes_valid_rs384_jws PASSED [ 47%] 431s tests/test_api_jws.py::TestJWS::test_load_verify_valid_jws PASSED [ 48%] 431s tests/test_api_jws.py::TestJWS::test_allow_skip_verification PASSED [ 48%] 431s tests/test_api_jws.py::TestJWS::test_decode_with_optional_algorithms PASSED [ 48%] 431s tests/test_api_jws.py::TestJWS::test_decode_no_algorithms_verify_signature_false PASSED [ 49%] 431s tests/test_api_jws.py::TestJWS::test_load_no_verification PASSED [ 49%] 431s tests/test_api_jws.py::TestJWS::test_no_secret PASSED [ 50%] 431s tests/test_api_jws.py::TestJWS::test_verify_signature_with_no_secret PASSED [ 50%] 431s tests/test_api_jws.py::TestJWS::test_verify_signature_with_no_algo_header_throws_exception PASSED [ 50%] 431s tests/test_api_jws.py::TestJWS::test_invalid_crypto_alg PASSED [ 51%] 431s tests/test_api_jws.py::TestJWS::test_missing_crypto_library_better_error_messages SKIPPED [ 51%] 431s tests/test_api_jws.py::TestJWS::test_unicode_secret PASSED [ 51%] 431s tests/test_api_jws.py::TestJWS::test_nonascii_secret PASSED [ 52%] 431s tests/test_api_jws.py::TestJWS::test_bytes_secret PASSED [ 52%] 431s tests/test_api_jws.py::TestJWS::test_sorting_of_headers[False] PASSED [ 53%] 431s tests/test_api_jws.py::TestJWS::test_sorting_of_headers[True] PASSED [ 53%] 431s tests/test_api_jws.py::TestJWS::test_decode_invalid_header_padding PASSED [ 53%] 431s tests/test_api_jws.py::TestJWS::test_decode_invalid_header_string PASSED [ 54%] 431s tests/test_api_jws.py::TestJWS::test_decode_invalid_payload_padding PASSED [ 54%] 431s tests/test_api_jws.py::TestJWS::test_decode_invalid_crypto_padding PASSED [ 55%] 431s tests/test_api_jws.py::TestJWS::test_decode_with_algo_none_should_fail PASSED [ 55%] 431s tests/test_api_jws.py::TestJWS::test_decode_with_algo_none_and_verify_false_should_pass PASSED [ 55%] 431s tests/test_api_jws.py::TestJWS::test_get_unverified_header_returns_header_values PASSED [ 56%] 431s tests/test_api_jws.py::TestJWS::test_get_unverified_header_fails_on_bad_header_types PASSED [ 56%] 431s tests/test_api_jws.py::TestJWS::test_encode_decode_rsa_related_algorithms[RS256] PASSED [ 57%] 432s tests/test_api_jws.py::TestJWS::test_encode_decode_rsa_related_algorithms[RS384] PASSED [ 57%] 432s tests/test_api_jws.py::TestJWS::test_encode_decode_rsa_related_algorithms[RS512] PASSED [ 57%] 432s tests/test_api_jws.py::TestJWS::test_rsa_related_algorithms PASSED [ 58%] 432s tests/test_api_jws.py::TestJWS::test_encode_decode_ecdsa_related_algorithms[ES256] PASSED [ 58%] 432s tests/test_api_jws.py::TestJWS::test_encode_decode_ecdsa_related_algorithms[ES256K] PASSED [ 58%] 432s tests/test_api_jws.py::TestJWS::test_encode_decode_ecdsa_related_algorithms[ES384] PASSED [ 59%] 432s tests/test_api_jws.py::TestJWS::test_encode_decode_ecdsa_related_algorithms[ES512] PASSED [ 59%] 432s tests/test_api_jws.py::TestJWS::test_ecdsa_related_algorithms PASSED [ 60%] 432s tests/test_api_jws.py::TestJWS::test_skip_check_signature PASSED [ 60%] 432s tests/test_api_jws.py::TestJWS::test_decode_options_must_be_dict PASSED [ 60%] 432s tests/test_api_jws.py::TestJWS::test_custom_json_encoder PASSED [ 61%] 432s tests/test_api_jws.py::TestJWS::test_encode_headers_parameter_adds_headers PASSED [ 61%] 432s tests/test_api_jws.py::TestJWS::test_encode_with_typ PASSED [ 62%] 432s tests/test_api_jws.py::TestJWS::test_encode_with_typ_empty_string PASSED [ 62%] 432s tests/test_api_jws.py::TestJWS::test_encode_with_typ_none PASSED [ 62%] 432s tests/test_api_jws.py::TestJWS::test_encode_with_typ_without_keywords PASSED [ 63%] 432s tests/test_api_jws.py::TestJWS::test_encode_fails_on_invalid_kid_types PASSED [ 63%] 432s tests/test_api_jws.py::TestJWS::test_encode_decode_with_detached_content PASSED [ 64%] 432s tests/test_api_jws.py::TestJWS::test_encode_detached_content_with_b64_header PASSED [ 64%] 432s tests/test_api_jws.py::TestJWS::test_decode_detached_content_without_proper_argument PASSED [ 64%] 432s tests/test_api_jws.py::TestJWS::test_decode_warns_on_unsupported_kwarg PASSED [ 65%] 432s tests/test_api_jws.py::TestJWS::test_decode_complete_warns_on_unuspported_kwarg PASSED [ 65%] 432s tests/test_api_jwt.py::TestJWT::test_decodes_valid_jwt PASSED [ 66%] 432s tests/test_api_jwt.py::TestJWT::test_decodes_complete_valid_jwt PASSED [ 66%] 432s tests/test_api_jwt.py::TestJWT::test_load_verify_valid_jwt PASSED [ 66%] 432s tests/test_api_jwt.py::TestJWT::test_decode_invalid_payload_string PASSED [ 67%] 432s tests/test_api_jwt.py::TestJWT::test_decode_with_non_mapping_payload_throws_exception PASSED [ 67%] 432s tests/test_api_jwt.py::TestJWT::test_decode_with_invalid_audience_param_throws_exception PASSED [ 67%] 432s tests/test_api_jwt.py::TestJWT::test_decode_with_nonlist_aud_claim_throws_exception PASSED [ 68%] 432s tests/test_api_jwt.py::TestJWT::test_decode_with_invalid_aud_list_member_throws_exception PASSED [ 68%] 432s tests/test_api_jwt.py::TestJWT::test_encode_bad_type PASSED [ 69%] 432s tests/test_api_jwt.py::TestJWT::test_encode_with_typ PASSED [ 69%] 432s tests/test_api_jwt.py::TestJWT::test_decode_raises_exception_if_exp_is_not_int PASSED [ 69%] 432s tests/test_api_jwt.py::TestJWT::test_decode_raises_exception_if_iat_is_not_int PASSED [ 70%] 432s tests/test_api_jwt.py::TestJWT::test_decode_raises_exception_if_iat_is_greater_than_now PASSED [ 70%] 432s tests/test_api_jwt.py::TestJWT::test_decode_works_if_iat_is_str_of_a_number PASSED [ 71%] 432s tests/test_api_jwt.py::TestJWT::test_decode_raises_exception_if_nbf_is_not_int PASSED [ 71%] 432s tests/test_api_jwt.py::TestJWT::test_decode_raises_exception_if_aud_is_none PASSED [ 71%] 432s tests/test_api_jwt.py::TestJWT::test_encode_datetime PASSED [ 72%] 432s tests/test_api_jwt.py::TestJWT::test_decodes_valid_es256_jwt PASSED [ 72%] 432s tests/test_api_jwt.py::TestJWT::test_decodes_valid_rs384_jwt PASSED [ 73%] 432s tests/test_api_jwt.py::TestJWT::test_decode_with_expiration PASSED [ 73%] 432s tests/test_api_jwt.py::TestJWT::test_decode_with_notbefore PASSED [ 73%] 432s tests/test_api_jwt.py::TestJWT::test_decode_skip_expiration_verification PASSED [ 74%] 432s tests/test_api_jwt.py::TestJWT::test_decode_skip_notbefore_verification PASSED [ 74%] 432s tests/test_api_jwt.py::TestJWT::test_decode_with_expiration_with_leeway PASSED [ 75%] 432s tests/test_api_jwt.py::TestJWT::test_decode_with_notbefore_with_leeway PASSED [ 75%] 432s tests/test_api_jwt.py::TestJWT::test_check_audience_when_valid PASSED [ 75%] 432s tests/test_api_jwt.py::TestJWT::test_check_audience_list_when_valid PASSED [ 76%] 432s tests/test_api_jwt.py::TestJWT::test_check_audience_none_specified PASSED [ 76%] 432s tests/test_api_jwt.py::TestJWT::test_raise_exception_invalid_audience_list PASSED [ 76%] 432s tests/test_api_jwt.py::TestJWT::test_check_audience_in_array_when_valid PASSED [ 77%] 432s tests/test_api_jwt.py::TestJWT::test_raise_exception_invalid_audience PASSED [ 77%] 432s tests/test_api_jwt.py::TestJWT::test_raise_exception_audience_as_bytes PASSED [ 78%] 432s tests/test_api_jwt.py::TestJWT::test_raise_exception_invalid_audience_in_array PASSED [ 78%] 432s tests/test_api_jwt.py::TestJWT::test_raise_exception_token_without_issuer PASSED [ 78%] 432s tests/test_api_jwt.py::TestJWT::test_raise_exception_token_without_audience PASSED [ 79%] 432s tests/test_api_jwt.py::TestJWT::test_raise_exception_token_with_aud_none_and_without_audience PASSED [ 79%] 432s tests/test_api_jwt.py::TestJWT::test_check_issuer_when_valid PASSED [ 80%] 432s tests/test_api_jwt.py::TestJWT::test_raise_exception_invalid_issuer PASSED [ 80%] 432s tests/test_api_jwt.py::TestJWT::test_skip_check_audience PASSED [ 80%] 432s tests/test_api_jwt.py::TestJWT::test_skip_check_exp PASSED [ 81%] 432s tests/test_api_jwt.py::TestJWT::test_decode_should_raise_error_if_exp_required_but_not_present PASSED [ 81%] 432s tests/test_api_jwt.py::TestJWT::test_decode_should_raise_error_if_iat_required_but_not_present PASSED [ 82%] 432s tests/test_api_jwt.py::TestJWT::test_decode_should_raise_error_if_nbf_required_but_not_present PASSED [ 82%] 432s tests/test_api_jwt.py::TestJWT::test_skip_check_signature PASSED [ 82%] 432s tests/test_api_jwt.py::TestJWT::test_skip_check_iat PASSED [ 83%] 432s tests/test_api_jwt.py::TestJWT::test_skip_check_nbf PASSED [ 83%] 432s tests/test_api_jwt.py::TestJWT::test_custom_json_encoder PASSED [ 83%] 432s tests/test_api_jwt.py::TestJWT::test_decode_with_verify_exp_option PASSED [ 84%] 432s tests/test_api_jwt.py::TestJWT::test_decode_with_verify_exp_option_and_signature_off PASSED [ 84%] 432s tests/test_api_jwt.py::TestJWT::test_decode_with_optional_algorithms PASSED [ 85%] 432s tests/test_api_jwt.py::TestJWT::test_decode_no_algorithms_verify_signature_false PASSED [ 85%] 432s tests/test_api_jwt.py::TestJWT::test_decode_legacy_verify_warning PASSED [ 85%] 432s tests/test_api_jwt.py::TestJWT::test_decode_no_options_mutation PASSED [ 86%] 432s tests/test_api_jwt.py::TestJWT::test_decode_warns_on_unsupported_kwarg PASSED [ 86%] 432s tests/test_api_jwt.py::TestJWT::test_decode_complete_warns_on_unsupported_kwarg PASSED [ 87%] 432s tests/test_compressed_jwt.py::test_decodes_complete_valid_jwt_with_compressed_payload PASSED [ 87%] 432s tests/test_exceptions.py::test_missing_required_claim_error_has_proper_str PASSED [ 87%] 432s tests/test_jwks_client.py::TestPyJWKClient::test_fetch_data_forwards_headers_to_correct_url PASSED [ 88%] 432s tests/test_jwks_client.py::TestPyJWKClient::test_get_jwk_set PASSED [ 88%] 432s tests/test_jwks_client.py::TestPyJWKClient::test_get_signing_keys PASSED [ 89%] 432s tests/test_jwks_client.py::TestPyJWKClient::test_get_signing_keys_if_no_use_provided PASSED [ 89%] 432s tests/test_jwks_client.py::TestPyJWKClient::test_get_signing_keys_raises_if_none_found PASSED [ 89%] 432s tests/test_jwks_client.py::TestPyJWKClient::test_get_signing_key PASSED [ 90%] 432s tests/test_jwks_client.py::TestPyJWKClient::test_get_signing_key_caches_result PASSED [ 90%] 432s tests/test_jwks_client.py::TestPyJWKClient::test_get_signing_key_does_not_cache_opt_out PASSED [ 91%] 432s tests/test_jwks_client.py::TestPyJWKClient::test_get_signing_key_from_jwt PASSED [ 91%] 432s tests/test_jwks_client.py::TestPyJWKClient::test_get_jwk_set_caches_result PASSED [ 91%] 434s tests/test_jwks_client.py::TestPyJWKClient::test_get_jwt_set_cache_expired_result PASSED [ 92%] 436s tests/test_jwks_client.py::TestPyJWKClient::test_get_jwt_set_cache_disabled PASSED [ 92%] 436s tests/test_jwks_client.py::TestPyJWKClient::test_get_jwt_set_failed_request_should_clear_cache PASSED [ 92%] 436s tests/test_jwks_client.py::TestPyJWKClient::test_failed_request_should_raise_connection_error PASSED [ 93%] 436s tests/test_jwks_client.py::TestPyJWKClient::test_get_jwt_set_refresh_cache PASSED [ 93%] 436s tests/test_jwks_client.py::TestPyJWKClient::test_get_jwt_set_no_matching_kid_after_second_attempt PASSED [ 94%] 436s tests/test_jwks_client.py::TestPyJWKClient::test_get_jwt_set_invalid_lifespan PASSED [ 94%] 436s tests/test_jwks_client.py::TestPyJWKClient::test_get_jwt_set_timeout PASSED [ 94%] 436s tests/test_jwt.py::test_encode_decode PASSED [ 95%] 436s tests/test_utils.py::test_to_base64url_uint[0-AA] PASSED [ 95%] 436s tests/test_utils.py::test_to_base64url_uint[1-AQ] PASSED [ 96%] 436s tests/test_utils.py::test_to_base64url_uint[255-_w] PASSED [ 96%] 436s tests/test_utils.py::test_to_base64url_uint[65537-AQAB] PASSED [ 96%] 436s tests/test_utils.py::test_to_base64url_uint[123456789-B1vNFQ] PASSED [ 97%] 436s tests/test_utils.py::test_to_base64url_uint[-1-] XFAIL [ 97%] 436s tests/test_utils.py::test_from_base64url_uint[AA-0] PASSED [ 98%] 436s tests/test_utils.py::test_from_base64url_uint[AQ-1] PASSED [ 98%] 436s tests/test_utils.py::test_from_base64url_uint[_w-255] PASSED [ 98%] 436s tests/test_utils.py::test_from_base64url_uint[AQAB-65537] PASSED [ 99%] 436s tests/test_utils.py::test_from_base64url_uint[B1vNFQ-123456789] PASSED [ 99%] 436s tests/test_utils.py::test_force_bytes_raises_error_on_invalid_object PASSED [100%] 436s 436s =========================== short test summary info ============================ 436s SKIPPED [1] tests/test_api_jwk.py:200: Requires cryptography library not installed 436s SKIPPED [1] tests/test_api_jws.py:387: Requires cryptography library not installed 436s ================== 253 passed, 2 skipped, 1 xfailed in 9.44s =================== 437s autopkgtest [16:37:35]: test python3-jwt: -----------------------] 438s python3-jwt PASS 438s autopkgtest [16:37:36]: test python3-jwt: - - - - - - - - - - results - - - - - - - - - - 438s autopkgtest [16:37:36]: @@@@@@@@@@@@@@@@@@@@ summary 438s python3-jwt PASS 464s Creating nova instance adt-noble-arm64-pyjwt-20240309-163018-juju-7f2275-prod-proposed-migration-environment-2 from image adt/ubuntu-noble-arm64-server-20240308.img (UUID ddbc0ee7-bb97-4aa3-b5e1-9386758c2ba2)...