0s autopkgtest [13:31:24]: starting date and time: 2024-03-22 13:31:24+0000 0s autopkgtest [13:31:24]: git checkout: 4a1cd702 l/adt_testbed: don't blame the testbed for unsolvable build deps 0s autopkgtest [13:31:24]: host juju-7f2275-prod-proposed-migration-environment-3; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.44svugjg/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:sphinx --apt-upgrade python-cryptography --timeout-short=300 --timeout-copy=20000 --timeout-test=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=sphinx/7.2.6-6 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-big --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@bos02-s390x-10.secgroup --name adt-noble-s390x-python-cryptography-20240322-133124-juju-7f2275-prod-proposed-migration-environment-3 --image adt/ubuntu-noble-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-3 --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/ 87s autopkgtest [13:32:51]: testbed dpkg architecture: s390x 87s autopkgtest [13:32:51]: testbed apt version: 2.7.12 87s autopkgtest [13:32:51]: @@@@@@@@@@@@@@@@@@@@ test bed setup 88s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 88s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [496 kB] 88s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 88s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [54.0 kB] 88s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3771 kB] 89s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main s390x Packages [664 kB] 89s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main s390x c-n-f Metadata [3032 B] 89s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted s390x Packages [1372 B] 89s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted s390x c-n-f Metadata [116 B] 89s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x Packages [3996 kB] 89s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x c-n-f Metadata [7292 B] 89s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse s390x Packages [45.1 kB] 89s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse s390x c-n-f Metadata [116 B] 91s Fetched 9162 kB in 3s (3631 kB/s) 91s Reading package lists... 94s Reading package lists... 94s Building dependency tree... 94s Reading state information... 94s Calculating upgrade... 94s The following packages will be upgraded: 94s cloud-init debianutils fonts-ubuntu-console python3-markupsafe 95s 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 95s Need to get 719 kB of archives. 95s After this operation, 11.3 kB disk space will be freed. 95s Get:1 http://ftpmaster.internal/ubuntu noble/main s390x debianutils s390x 5.17 [90.1 kB] 95s Get:2 http://ftpmaster.internal/ubuntu noble/main s390x fonts-ubuntu-console all 0.869+git20240321-0ubuntu1 [18.7 kB] 95s Get:3 http://ftpmaster.internal/ubuntu noble/main s390x python3-markupsafe s390x 2.1.5-1build1 [12.8 kB] 95s Get:4 http://ftpmaster.internal/ubuntu noble/main s390x cloud-init all 24.1.2-0ubuntu1 [597 kB] 95s Preconfiguring packages ... 95s Fetched 719 kB in 0s (1441 kB/s) 95s (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 ... 52171 files and directories currently installed.) 95s Preparing to unpack .../debianutils_5.17_s390x.deb ... 95s Unpacking debianutils (5.17) over (5.16) ... 95s Setting up debianutils (5.17) ... 95s (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 ... 52171 files and directories currently installed.) 95s Preparing to unpack .../fonts-ubuntu-console_0.869+git20240321-0ubuntu1_all.deb ... 95s Unpacking fonts-ubuntu-console (0.869+git20240321-0ubuntu1) over (0.869-0ubuntu1) ... 95s Preparing to unpack .../python3-markupsafe_2.1.5-1build1_s390x.deb ... 95s Unpacking python3-markupsafe (2.1.5-1build1) over (2.1.5-1) ... 95s Preparing to unpack .../cloud-init_24.1.2-0ubuntu1_all.deb ... 96s Unpacking cloud-init (24.1.2-0ubuntu1) over (24.1.1-0ubuntu1) ... 96s Setting up fonts-ubuntu-console (0.869+git20240321-0ubuntu1) ... 96s Setting up cloud-init (24.1.2-0ubuntu1) ... 97s Setting up python3-markupsafe (2.1.5-1build1) ... 97s Processing triggers for man-db (2.12.0-3) ... 98s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 98s Reading package lists... 99s Building dependency tree... 99s Reading state information... 99s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 99s Unknown architecture, assuming PC-style ttyS0 99s sh: Attempting to set up Debian/Ubuntu apt sources automatically 99s sh: Distribution appears to be Ubuntu 100s Reading package lists... 100s Building dependency tree... 100s Reading state information... 100s eatmydata is already the newest version (131-1). 100s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 100s Reading package lists... 100s Building dependency tree... 100s Reading state information... 101s dbus is already the newest version (1.14.10-4ubuntu1). 101s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 101s Reading package lists... 101s Building dependency tree... 101s Reading state information... 101s rng-tools-debian is already the newest version (2.4). 101s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 101s Reading package lists... 101s Building dependency tree... 101s Reading state information... 101s The following packages will be REMOVED: 101s cloud-init* python3-configobj* python3-debconf* 101s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 101s After this operation, 3256 kB disk space will be freed. 102s (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 ... 52170 files and directories currently installed.) 102s Removing cloud-init (24.1.2-0ubuntu1) ... 102s Removing python3-configobj (5.0.8-3) ... 102s Removing python3-debconf (1.5.86) ... 102s Processing triggers for man-db (2.12.0-3) ... 102s (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 ... 51781 files and directories currently installed.) 102s Purging configuration files for cloud-init (24.1.2-0ubuntu1) ... 103s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 103s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 103s invoke-rc.d: policy-rc.d denied execution of try-restart. 103s Reading package lists... 103s Building dependency tree... 103s Reading state information... 103s linux-generic is already the newest version (6.8.0-11.11+1). 103s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 104s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 104s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 104s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 105s Reading package lists... 106s Reading package lists... 106s Building dependency tree... 106s Reading state information... 106s Calculating upgrade... 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... 106s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 106s autopkgtest [13:33:10]: rebooting testbed after setup commands that affected boot 127s autopkgtest [13:33:31]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP Tue Feb 13 23:45:46 UTC 2024 130s autopkgtest [13:33:34]: @@@@@@@@@@@@@@@@@@@@ apt-source python-cryptography 133s Get:1 http://ftpmaster.internal/ubuntu noble/main python-cryptography 41.0.7-3 (dsc) [3330 B] 133s Get:2 http://ftpmaster.internal/ubuntu noble/main python-cryptography 41.0.7-3 (tar) [631 kB] 133s Get:3 http://ftpmaster.internal/ubuntu noble/main python-cryptography 41.0.7-3 (diff) [10.4 kB] 133s gpgv: Signature made Thu Feb 8 14:34:58 2024 UTC 133s gpgv: using RSA key 03C4E7ABB880F524306E48156611C05EDD39F374 133s gpgv: issuer "kapouer@melix.org" 133s gpgv: Can't check signature: No public key 133s dpkg-source: warning: cannot verify inline signature for ./python-cryptography_41.0.7-3.dsc: no acceptable signature found 133s autopkgtest [13:33:37]: testing package python-cryptography version 41.0.7-3 133s autopkgtest [13:33:37]: build not needed 136s autopkgtest [13:33:40]: test command1: preparing testbed 138s Reading package lists... 138s Building dependency tree... 138s Reading state information... 138s Starting pkgProblemResolver with broken count: 0 138s Starting 2 pkgProblemResolver with broken count: 0 138s Done 138s The following additional packages will be installed: 138s python3-all python3-cffi python3-cpuinfo python3-cryptography-vectors 138s python3-dateutil python3-hypothesis python3-iniconfig python3-iso8601 138s python3-packaging python3-pluggy python3-ply python3-pretend python3-pyasn1 138s python3-pyasn1-modules python3-pycparser python3-pytest 138s python3-pytest-benchmark python3-pytest-subtests python3-sortedcontainers 138s Suggested packages: 138s python3-dev python-hypothesis-doc python-ply-doc cpp 138s python-sortedcontainers-doc 138s Recommended packages: 138s python3-click python3-elasticsearch python3-freezegun python3-pygal 138s The following NEW packages will be installed: 138s autopkgtest-satdep python3-all python3-cffi python3-cpuinfo 138s python3-cryptography-vectors python3-dateutil python3-hypothesis 138s python3-iniconfig python3-iso8601 python3-packaging python3-pluggy 138s python3-ply python3-pretend python3-pyasn1 python3-pyasn1-modules 138s python3-pycparser python3-pytest python3-pytest-benchmark 138s python3-pytest-subtests python3-sortedcontainers 138s 0 upgraded, 20 newly installed, 0 to remove and 0 not upgraded. 138s Need to get 29.3 MB/29.3 MB of archives. 138s After this operation, 82.1 MB of additional disk space will be used. 138s Get:1 /tmp/autopkgtest.r0T9Dq/1-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [812 B] 138s Get:2 http://ftpmaster.internal/ubuntu noble/main s390x python3-all s390x 3.12.1-0ubuntu2 [908 B] 139s Get:3 http://ftpmaster.internal/ubuntu noble/main s390x python3-ply all 3.11-6 [46.5 kB] 139s Get:4 http://ftpmaster.internal/ubuntu noble/main s390x python3-pycparser all 2.21-1 [76.9 kB] 139s Get:5 http://ftpmaster.internal/ubuntu noble/main s390x python3-cffi all 1.16.0-2 [74.3 kB] 139s Get:6 http://ftpmaster.internal/ubuntu noble/universe s390x python3-cpuinfo all 9.0.0-1 [21.2 kB] 139s Get:7 http://ftpmaster.internal/ubuntu noble/universe s390x python3-cryptography-vectors all 41.0.7-2 [28.1 MB] 142s Get:8 http://ftpmaster.internal/ubuntu noble/main s390x python3-dateutil all 2.8.2-3 [79.2 kB] 142s Get:9 http://ftpmaster.internal/ubuntu noble/main s390x python3-sortedcontainers all 2.4.0-2 [27.6 kB] 142s Get:10 http://ftpmaster.internal/ubuntu noble/universe s390x python3-hypothesis all 6.92.2-1 [371 kB] 142s Get:11 http://ftpmaster.internal/ubuntu noble/universe s390x python3-iniconfig all 1.1.1-2 [6024 B] 142s Get:12 http://ftpmaster.internal/ubuntu noble/main s390x python3-packaging all 23.2-1 [40.6 kB] 142s Get:13 http://ftpmaster.internal/ubuntu noble/universe s390x python3-pluggy all 1.4.0-1 [20.4 kB] 142s Get:14 http://ftpmaster.internal/ubuntu noble/universe s390x python3-pretend all 1.0.9-2.1 [6456 B] 142s Get:15 http://ftpmaster.internal/ubuntu noble/main s390x python3-pyasn1 all 0.4.8-4 [51.2 kB] 142s Get:16 http://ftpmaster.internal/ubuntu noble/main s390x python3-pyasn1-modules all 0.2.8-1 [68.0 kB] 142s Get:17 http://ftpmaster.internal/ubuntu noble/universe s390x python3-pytest all 7.4.4-1 [305 kB] 142s Get:18 http://ftpmaster.internal/ubuntu noble/universe s390x python3-pytest-benchmark all 4.0.0-3 [38.2 kB] 142s Get:19 http://ftpmaster.internal/ubuntu noble/universe s390x python3-pytest-subtests all 0.11.0-2 [9690 B] 142s Get:20 http://ftpmaster.internal/ubuntu noble/main s390x python3-iso8601 all 1.0.2-1 [15.8 kB] 143s Fetched 29.3 MB in 4s (7113 kB/s) 143s Selecting previously unselected package python3-all. 143s (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 ... 51726 files and directories currently installed.) 143s Preparing to unpack .../00-python3-all_3.12.1-0ubuntu2_s390x.deb ... 143s Unpacking python3-all (3.12.1-0ubuntu2) ... 143s Selecting previously unselected package python3-ply. 143s Preparing to unpack .../01-python3-ply_3.11-6_all.deb ... 143s Unpacking python3-ply (3.11-6) ... 143s Selecting previously unselected package python3-pycparser. 143s Preparing to unpack .../02-python3-pycparser_2.21-1_all.deb ... 143s Unpacking python3-pycparser (2.21-1) ... 143s Selecting previously unselected package python3-cffi. 143s Preparing to unpack .../03-python3-cffi_1.16.0-2_all.deb ... 143s Unpacking python3-cffi (1.16.0-2) ... 143s Selecting previously unselected package python3-cpuinfo. 143s Preparing to unpack .../04-python3-cpuinfo_9.0.0-1_all.deb ... 143s Unpacking python3-cpuinfo (9.0.0-1) ... 143s Selecting previously unselected package python3-cryptography-vectors. 143s Preparing to unpack .../05-python3-cryptography-vectors_41.0.7-2_all.deb ... 143s Unpacking python3-cryptography-vectors (41.0.7-2) ... 143s Selecting previously unselected package python3-dateutil. 143s Preparing to unpack .../06-python3-dateutil_2.8.2-3_all.deb ... 143s Unpacking python3-dateutil (2.8.2-3) ... 143s Selecting previously unselected package python3-sortedcontainers. 143s Preparing to unpack .../07-python3-sortedcontainers_2.4.0-2_all.deb ... 143s Unpacking python3-sortedcontainers (2.4.0-2) ... 143s Selecting previously unselected package python3-hypothesis. 143s Preparing to unpack .../08-python3-hypothesis_6.92.2-1_all.deb ... 143s Unpacking python3-hypothesis (6.92.2-1) ... 144s Selecting previously unselected package python3-iniconfig. 144s Preparing to unpack .../09-python3-iniconfig_1.1.1-2_all.deb ... 144s Unpacking python3-iniconfig (1.1.1-2) ... 144s Selecting previously unselected package python3-packaging. 144s Preparing to unpack .../10-python3-packaging_23.2-1_all.deb ... 144s Unpacking python3-packaging (23.2-1) ... 144s Selecting previously unselected package python3-pluggy. 144s Preparing to unpack .../11-python3-pluggy_1.4.0-1_all.deb ... 144s Unpacking python3-pluggy (1.4.0-1) ... 144s Selecting previously unselected package python3-pretend. 144s Preparing to unpack .../12-python3-pretend_1.0.9-2.1_all.deb ... 144s Unpacking python3-pretend (1.0.9-2.1) ... 144s Selecting previously unselected package python3-pyasn1. 144s Preparing to unpack .../13-python3-pyasn1_0.4.8-4_all.deb ... 144s Unpacking python3-pyasn1 (0.4.8-4) ... 144s Selecting previously unselected package python3-pyasn1-modules. 144s Preparing to unpack .../14-python3-pyasn1-modules_0.2.8-1_all.deb ... 144s Unpacking python3-pyasn1-modules (0.2.8-1) ... 144s Selecting previously unselected package python3-pytest. 144s Preparing to unpack .../15-python3-pytest_7.4.4-1_all.deb ... 144s Unpacking python3-pytest (7.4.4-1) ... 144s Selecting previously unselected package python3-pytest-benchmark. 144s Preparing to unpack .../16-python3-pytest-benchmark_4.0.0-3_all.deb ... 144s Unpacking python3-pytest-benchmark (4.0.0-3) ... 144s Selecting previously unselected package python3-pytest-subtests. 144s Preparing to unpack .../17-python3-pytest-subtests_0.11.0-2_all.deb ... 144s Unpacking python3-pytest-subtests (0.11.0-2) ... 144s Selecting previously unselected package python3-iso8601. 144s Preparing to unpack .../18-python3-iso8601_1.0.2-1_all.deb ... 144s Unpacking python3-iso8601 (1.0.2-1) ... 144s Selecting previously unselected package autopkgtest-satdep. 144s Preparing to unpack .../19-1-autopkgtest-satdep.deb ... 144s Unpacking autopkgtest-satdep (0) ... 144s Setting up python3-iniconfig (1.1.1-2) ... 144s Setting up python3-ply (3.11-6) ... 144s Setting up python3-all (3.12.1-0ubuntu2) ... 144s Setting up python3-sortedcontainers (2.4.0-2) ... 144s Setting up python3-pycparser (2.21-1) ... 144s Setting up python3-pretend (1.0.9-2.1) ... 144s Setting up python3-packaging (23.2-1) ... 144s Setting up python3-iso8601 (1.0.2-1) ... 145s Setting up python3-cryptography-vectors (41.0.7-2) ... 145s Setting up python3-cpuinfo (9.0.0-1) ... 145s Setting up python3-pluggy (1.4.0-1) ... 145s Setting up python3-pyasn1 (0.4.8-4) ... 145s Setting up python3-dateutil (2.8.2-3) ... 145s Setting up python3-pytest (7.4.4-1) ... 145s Setting up python3-hypothesis (6.92.2-1) ... 146s Setting up python3-cffi (1.16.0-2) ... 146s Setting up python3-pyasn1-modules (0.2.8-1) ... 146s Setting up python3-pytest-benchmark (4.0.0-3) ... 148s Setting up python3-pytest-subtests (0.11.0-2) ... 148s Setting up autopkgtest-satdep (0) ... 148s Processing triggers for man-db (2.12.0-3) ... 149s (Reading database ... 55029 files and directories currently installed.) 149s Removing autopkgtest-satdep (0) ... 149s autopkgtest [13:33:53]: test command1: set -e; for p in $(py3versions -s); do $p -m pytest tests/; done 149s autopkgtest [13:33:53]: test command1: [----------------------- 152s ============================= test session starts ============================== 152s platform linux -- Python 3.12.2, pytest-7.4.4, pluggy-1.4.0 152s benchmark: 4.0.0 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000) 152s OpenSSL: OpenSSL 3.0.10 1 Aug 2023 152s FIPS Enabled: False 152s rootdir: /tmp/autopkgtest.r0T9Dq/build.DKL/src 152s configfile: pyproject.toml 152s plugins: benchmark-4.0.0, hypothesis-6.92.2, subtests-0.11.0 152s collected 3068 items 152s 152s tests/test_cryptography_utils.py ... [ 0%] 152s tests/test_fernet.py ............................... [ 1%] 155s tests/test_meta.py . [ 1%] 155s tests/test_rust_utils.py .. [ 1%] 155s tests/test_utils.py ....................................... [ 2%] 155s tests/test_warnings.py .. [ 2%] 155s tests/bench/test_aead.py .......... [ 2%] 155s tests/bench/test_ec_load.py .. [ 2%] 155s tests/bench/test_hashes.py . [ 2%] 155s tests/bench/test_hmac.py . [ 2%] 155s tests/bench/test_x509.py .... [ 3%] 155s tests/hazmat/test_oid.py .... [ 3%] 155s tests/hazmat/backends/test_openssl.py .................................. [ 4%] 155s .ssss [ 4%] 157s tests/hazmat/backends/test_openssl_memleak.py ........... [ 4%] 157s tests/hazmat/bindings/test_openssl.py ........ [ 5%] 157s tests/hazmat/primitives/test_3des.py .......... [ 5%] 158s tests/hazmat/primitives/test_aead.py s.................................. [ 6%] 158s ....s...................... [ 7%] 158s tests/hazmat/primitives/test_aes.py ................s............ [ 8%] 160s tests/hazmat/primitives/test_aes_gcm.py ................. [ 8%] 160s tests/hazmat/primitives/test_arc4.py . [ 9%] 160s tests/hazmat/primitives/test_asym_utils.py ....... [ 9%] 160s tests/hazmat/primitives/test_block.py ........................ [ 10%] 160s tests/hazmat/primitives/test_blowfish.py .... [ 10%] 161s tests/hazmat/primitives/test_camellia.py .... [ 10%] 161s tests/hazmat/primitives/test_cast5.py .... [ 10%] 161s tests/hazmat/primitives/test_chacha20.py ........ [ 10%] 161s tests/hazmat/primitives/test_ciphers.py ................................ [ 11%] 161s ........................................................................ [ 14%] 161s ......................................... [ 15%] 161s tests/hazmat/primitives/test_cmac.py ................................... [ 16%] 161s ........... [ 16%] 161s tests/hazmat/primitives/test_concatkdf.py ................ [ 17%] 161s tests/hazmat/primitives/test_constant_time.py .. [ 17%] 162s tests/hazmat/primitives/test_dh.py .............................ss...... [ 18%] 162s ............................................................ [ 20%] 163s tests/hazmat/primitives/test_dsa.py .................................... [ 21%] 168s ........................................................................ [ 24%] 168s ........................................... [ 25%] 176s tests/hazmat/primitives/test_ec.py ..................................... [ 26%] 186s ........................................................................ [ 29%] 187s ........... [ 29%] 187s tests/hazmat/primitives/test_ed25519.py s.................. [ 30%] 188s tests/hazmat/primitives/test_ed448.py s..s.............................. [ 31%] 188s [ 31%] 188s tests/hazmat/primitives/test_hash_vectors.py ................... [ 31%] 188s tests/hazmat/primitives/test_hashes.py .................... [ 32%] 188s tests/hazmat/primitives/test_hkdf.py .............. [ 32%] 188s tests/hazmat/primitives/test_hkdf_vectors.py .. [ 33%] 188s tests/hazmat/primitives/test_hmac.py .......... [ 33%] 188s tests/hazmat/primitives/test_hmac_vectors.py ........ [ 33%] 188s tests/hazmat/primitives/test_idea.py ssss [ 33%] 188s tests/hazmat/primitives/test_kbkdf.py .................................. [ 34%] 188s ......... [ 35%] 188s tests/hazmat/primitives/test_kbkdf_vectors.py . [ 35%] 190s tests/hazmat/primitives/test_keywrap.py ............. [ 35%] 190s tests/hazmat/primitives/test_padding.py ................................ [ 36%] 190s ........ [ 36%] 190s tests/hazmat/primitives/test_pbkdf2hmac.py ...... [ 37%] 190s tests/hazmat/primitives/test_pbkdf2hmac_vectors.py . [ 37%] 190s tests/hazmat/primitives/test_pkcs12.py ................................. [ 38%] 194s ........................................................................ [ 40%] 196s ..................................................................ss.... [ 42%] 196s ..... [ 43%] 196s tests/hazmat/primitives/test_pkcs7.py .................................. [ 44%] 196s .............. [ 44%] 196s tests/hazmat/primitives/test_poly1305.py s.................... [ 45%] 198s tests/hazmat/primitives/test_rsa.py ...........................s........ [ 46%] 205s ........................................................................ [ 48%] 205s ..............................................................s......... [ 51%] 206s ........................................................................ [ 53%] 206s ........ [ 53%] 218s tests/hazmat/primitives/test_scrypt.py .s................. [ 54%] 219s tests/hazmat/primitives/test_seed.py .... [ 54%] 219s tests/hazmat/primitives/test_serialization.py .......................... [ 55%] 219s ........................................................................ [ 57%] 219s .............................. [ 58%] 219s tests/hazmat/primitives/test_sm4.py ..... [ 58%] 220s tests/hazmat/primitives/test_ssh.py .........s.s.s.sssss...........sssss [ 60%] 220s ssss.................................................................... [ 62%] 220s ................. [ 62%] 221s tests/hazmat/primitives/test_x25519.py s.................... [ 63%] 222s tests/hazmat/primitives/test_x448.py s.................. [ 64%] 222s tests/hazmat/primitives/test_x963_vectors.py .. [ 64%] 222s tests/hazmat/primitives/test_x963kdf.py ....... [ 64%] 222s tests/hazmat/primitives/twofactor/test_hotp.py ......................... [ 65%] 222s ............. [ 65%] 222s tests/hazmat/primitives/twofactor/test_totp.py ......................... [ 66%] 222s ............... [ 67%] 222s tests/wycheproof/test_aes.py ssss [ 67%] 222s tests/wycheproof/test_chacha20poly1305.py s [ 67%] 222s tests/wycheproof/test_cmac.py s [ 67%] 222s tests/wycheproof/test_dsa.py s [ 67%] 222s tests/wycheproof/test_ecdh.py ss [ 67%] 222s tests/wycheproof/test_ecdsa.py s [ 67%] 222s tests/wycheproof/test_eddsa.py ss [ 67%] 222s tests/wycheproof/test_hkdf.py s [ 67%] 222s tests/wycheproof/test_hmac.py s [ 67%] 222s tests/wycheproof/test_keywrap.py ss [ 67%] 222s tests/wycheproof/test_rsa.py sssss [ 67%] 222s tests/wycheproof/test_utils.py . [ 67%] 222s tests/wycheproof/test_x25519.py s [ 67%] 222s tests/wycheproof/test_x448.py s [ 67%] 222s tests/x509/test_name.py .... [ 67%] 222s tests/x509/test_ocsp.py ................................................ [ 69%] 222s ................................. [ 70%] 222s tests/x509/test_x509.py ................................................ [ 72%] 222s ........................................................................ [ 74%] 222s ........................................................................ [ 76%] 223s ........................................................................ [ 79%] 223s ........................................................................ [ 81%] 223s ............................................... [ 83%] 223s tests/x509/test_x509_crlbuilder.py ..................................... [ 84%] 223s .. [ 84%] 223s tests/x509/test_x509_ext.py ............................................ [ 85%] 223s ........................................................................ [ 88%] 223s ........................................................................ [ 90%] 223s ........................................................................ [ 92%] 223s ........................................................................ [ 95%] 223s ........................................................................ [ 97%] 223s ....................................................... [ 99%] 223s tests/x509/test_x509_revokedcertbuilder.py .................... [100%] 223s 223s =============================== warnings summary =============================== 223s tests/hazmat/primitives/test_pkcs12.py: 100 warnings 223s /tmp/autopkgtest.r0T9Dq/build.DKL/src/tests/hazmat/primitives/test_pkcs12.py:359: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 223s now = datetime.utcnow() 223s 223s tests/hazmat/primitives/test_pkcs12.py: 27 warnings 223s /tmp/autopkgtest.r0T9Dq/build.DKL/src/tests/hazmat/primitives/test_pkcs12.py:603: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 223s now = datetime.utcnow() 223s 223s tests/hazmat/primitives/test_pkcs12.py::test_pkcs12_ordering 223s tests/hazmat/primitives/test_pkcs12.py::test_pkcs12_ordering 223s tests/hazmat/primitives/test_pkcs12.py::test_pkcs12_ordering 223s /tmp/autopkgtest.r0T9Dq/build.DKL/src/tests/hazmat/primitives/test_pkcs12.py:704: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 223s now = datetime.utcnow() 223s 223s tests/hazmat/primitives/test_pkcs7.py: 24 warnings 223s /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/serialization/pkcs7.py:179: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 223s return rust_pkcs7.sign_and_serialize(self, encoding, options) 223s 223s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_invalid_add_response 223s /tmp/autopkgtest.r0T9Dq/build.DKL/src/tests/x509/test_ocsp.py:358: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 223s time = datetime.datetime.utcnow() 223s 223s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_unsupported_extension 223s /tmp/autopkgtest.r0T9Dq/build.DKL/src/tests/x509/test_ocsp.py:523: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 223s current_time = datetime.datetime.utcnow().replace(microsecond=0) 223s 223s tests/x509/test_ocsp.py: 17 warnings 223s /usr/lib/python3/dist-packages/cryptography/x509/ocsp.py:599: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 223s return ocsp.create_ocsp_response( 223s 223s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_sign_no_responder_id 223s /tmp/autopkgtest.r0T9Dq/build.DKL/src/tests/x509/test_ocsp.py:558: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 223s current_time = datetime.datetime.utcnow().replace(microsecond=0) 223s 223s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_sign_invalid_hash_algorithm 223s /tmp/autopkgtest.r0T9Dq/build.DKL/src/tests/x509/test_ocsp.py:578: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 223s current_time = datetime.datetime.utcnow().replace(microsecond=0) 223s 223s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_sign_good_cert 223s /tmp/autopkgtest.r0T9Dq/build.DKL/src/tests/x509/test_ocsp.py:600: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 223s current_time = datetime.datetime.utcnow().replace(microsecond=0) 223s 223s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_sign_revoked_cert 223s /tmp/autopkgtest.r0T9Dq/build.DKL/src/tests/x509/test_ocsp.py:636: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 223s current_time = datetime.datetime.utcnow().replace(microsecond=0) 223s 223s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_sign_unknown_cert 223s /tmp/autopkgtest.r0T9Dq/build.DKL/src/tests/x509/test_ocsp.py:666: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 223s current_time = datetime.datetime.utcnow().replace(microsecond=0) 223s 223s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_sign_with_appended_certs 223s /tmp/autopkgtest.r0T9Dq/build.DKL/src/tests/x509/test_ocsp.py:693: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 223s current_time = datetime.datetime.utcnow().replace(microsecond=0) 223s 223s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_sign_revoked_no_next_update 223s /tmp/autopkgtest.r0T9Dq/build.DKL/src/tests/x509/test_ocsp.py:717: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 223s current_time = datetime.datetime.utcnow().replace(microsecond=0) 223s 223s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_sign_revoked_with_reason 223s /tmp/autopkgtest.r0T9Dq/build.DKL/src/tests/x509/test_ocsp.py:746: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 223s current_time = datetime.datetime.utcnow().replace(microsecond=0) 223s 223s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_sign_responder_id_key_hash 223s /tmp/autopkgtest.r0T9Dq/build.DKL/src/tests/x509/test_ocsp.py:776: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 223s current_time = datetime.datetime.utcnow().replace(microsecond=0) 223s 223s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_invalid_sign_responder_cert_does_not_match_private_key 223s /tmp/autopkgtest.r0T9Dq/build.DKL/src/tests/x509/test_ocsp.py:804: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 223s current_time = datetime.datetime.utcnow().replace(microsecond=0) 223s 223s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_sign_with_extension 223s /tmp/autopkgtest.r0T9Dq/build.DKL/src/tests/x509/test_ocsp.py:829: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 223s current_time = datetime.datetime.utcnow().replace(microsecond=0) 223s 223s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_sign_unknown_private_key 223s /tmp/autopkgtest.r0T9Dq/build.DKL/src/tests/x509/test_ocsp.py:885: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 223s current_time = datetime.datetime.utcnow().replace(microsecond=0) 223s 223s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_sign_unrecognized_hash_algorithm 223s /tmp/autopkgtest.r0T9Dq/build.DKL/src/tests/x509/test_ocsp.py:913: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 223s current_time = datetime.datetime.utcnow().replace(microsecond=0) 223s 223s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_sign_none_hash_not_eddsa 223s /tmp/autopkgtest.r0T9Dq/build.DKL/src/tests/x509/test_ocsp.py:936: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 223s current_time = datetime.datetime.utcnow().replace(microsecond=0) 223s 223s tests/x509/test_ocsp.py::TestOCSPEdDSA::test_invalid_algorithm 223s /tmp/autopkgtest.r0T9Dq/build.DKL/src/tests/x509/test_ocsp.py:1383: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 223s current_time = datetime.datetime.utcnow().replace(microsecond=0) 223s 223s tests/x509/test_ocsp.py::TestOCSPEdDSA::test_sign_ed25519 223s /tmp/autopkgtest.r0T9Dq/build.DKL/src/tests/x509/test_ocsp.py:1411: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 223s current_time = datetime.datetime.utcnow().replace(microsecond=0) 223s 223s tests/x509/test_ocsp.py::TestOCSPEdDSA::test_sign_ed448 223s /tmp/autopkgtest.r0T9Dq/build.DKL/src/tests/x509/test_ocsp.py:1450: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 223s current_time = datetime.datetime.utcnow().replace(microsecond=0) 223s 223s tests/x509/test_x509.py::TestSignatureRejection::test_crl_signing_check 223s /tmp/autopkgtest.r0T9Dq/build.DKL/src/tests/x509/test_x509.py:6076: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 223s last_time = datetime.datetime.utcnow().replace(microsecond=0) 223s 223s tests/x509/test_x509_crlbuilder.py::TestCertificateRevocationListBuilder::test_add_unsupported_entry_extension 223s /tmp/autopkgtest.r0T9Dq/build.DKL/src/tests/x509/test_x509_crlbuilder.py:405: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 223s .revocation_date(datetime.datetime.utcnow()) 223s 223s tests/x509/test_x509_ext.py::TestPrecertificateSignedCertificateTimestampsExtension::test_simple 223s /tmp/autopkgtest.r0T9Dq/build.DKL/src/tests/x509/test_x509_ext.py:5978: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). 223s ) 223s 223s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 223s =========================== short test summary info ============================ 223s SKIPPED [2] tests/hazmat/backends/test_openssl.py:375: Requires OpenSSL without EVP_PKEY_DHX 223s SKIPPED [2] tests/hazmat/backends/test_openssl.py:397: Requires OpenSSL without EVP_PKEY_DHX 223s SKIPPED [1] tests/hazmat/primitives/test_aead.py:42: Requires OpenSSL without ChaCha20Poly1305 support 223s SKIPPED [1] tests/hazmat/primitives/test_aead.py:485: Requires OpenSSL without AESOCB3 support 223s SKIPPED [1] tests/hazmat/primitives/test_aes.py:275: AES in dummy-mode mode not supported 223s SKIPPED [1] tests/hazmat/primitives/test_dh.py:403: 256-bit DH keys are not supported in OpenSSL 3.0.0+ () 223s SKIPPED [1] tests/hazmat/primitives/test_dh.py:434: DH keys less than 512 bits are unsupported 223s SKIPPED [1] tests/hazmat/primitives/test_ed25519.py:46: Requires OpenSSL without Ed25519 support () 223s SKIPPED [1] tests/hazmat/primitives/test_ed448.py:26: Requires OpenSSL without Ed448 support () 223s SKIPPED [1] tests/hazmat/primitives/test_ed448.py:61: ed448 contexts are not currently supported 223s SKIPPED [1] tests/hazmat/primitives/utils.py:50: Does not support IDEA ECB () 223s SKIPPED [1] tests/hazmat/primitives/utils.py:50: Does not support IDEA CBC () 223s SKIPPED [1] tests/hazmat/primitives/utils.py:50: Does not support IDEA OFB () 223s SKIPPED [1] tests/hazmat/primitives/utils.py:50: Does not support IDEA CFB () 223s SKIPPED [1] tests/hazmat/primitives/test_pkcs12.py:638: Requires OpenSSL < 3.0.0 (or Libre/Boring) () 223s SKIPPED [1] tests/hazmat/primitives/test_pkcs12.py:661: Requires OpenSSL without PKCS12_set_mac (boring only) () 223s SKIPPED [1] tests/hazmat/primitives/test_poly1305.py:25: Requires OpenSSL without poly1305 support () 223s SKIPPED [1] tests/hazmat/primitives/test_rsa.py:324: Test requires a backend without RSA-PSS key support () 223s SKIPPED [1] tests/hazmat/primitives/test_rsa.py:2155: Requires FIPS () 223s SKIPPED [1] tests/hazmat/primitives/test_scrypt.py:45: Supports scrypt so can't test unsupported path () 223s SKIPPED [5] tests/hazmat/primitives/test_ssh.py:163: Requires bcrypt module 223s SKIPPED [1] tests/hazmat/primitives/test_ssh.py:247: Requires that bcrypt exists () 223s SKIPPED [1] tests/hazmat/primitives/test_ssh.py:270: Requires that bcrypt exists () 223s SKIPPED [1] tests/hazmat/primitives/test_ssh.py:289: Requires that bcrypt exists () 223s SKIPPED [9] tests/hazmat/primitives/test_ssh.py:618: Requires that bcrypt exists () 223s SKIPPED [1] tests/hazmat/primitives/test_x25519.py:26: Requires OpenSSL without X25519 support () 223s SKIPPED [1] tests/hazmat/primitives/test_x448.py:26: Requires OpenSSL without X448 support () 223s SKIPPED [23] ../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1621: no 'wycheproof_root' option found 223s ========== 3004 passed, 64 skipped, 193 warnings in 75.06s (0:01:15) =========== 224s autopkgtest [13:35:08]: test command1: -----------------------] 224s command1 PASS 224s autopkgtest [13:35:08]: test command1: - - - - - - - - - - results - - - - - - - - - - 224s autopkgtest [13:35:08]: @@@@@@@@@@@@@@@@@@@@ summary 224s command1 PASS 236s Creating nova instance adt-noble-s390x-python-cryptography-20240322-133124-juju-7f2275-prod-proposed-migration-environment-3 from image adt/ubuntu-noble-s390x-server-20240321.img (UUID f7ee8f0f-480f-4014-94f0-3be2a19e259d)...