0s autopkgtest [22:18:55]: starting date: 2024-03-18 0s autopkgtest [22:18:55]: git checkout: d9c0295b adt_testbed.py: supress warnings from apt using a shell pipeline 0s autopkgtest [22:18:55]: host juju-7f2275-prod-proposed-migration-environment-4; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.q1itxq05/out --timeout-copy=6000 --setup-commands 'sed -i "s/ports.ubuntu.com/ftpmaster.internal/; s/ubuntu-ports/ubuntu/" /etc/apt/sources.list `ls /etc/apt/sources.list.d/*.list 2>/dev/null || true`; ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_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\n" >> /etc/environment' --apt-pocket=proposed=src:openssl --apt-upgrade python-cryptography --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=openssl/3.0.13-0ubuntu2 -- lxd -r lxd-armhf-10.44.124.252 lxd-armhf-10.44.124.252:autopkgtest/ubuntu/noble/armhf 43s autopkgtest [22:19:38]: @@@@@@@@@@@@@@@@@@@@ test bed setup 45s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 45s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [52.0 kB] 45s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [485 kB] 45s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 45s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3720 kB] 46s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main armhf Packages [586 kB] 46s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main armhf c-n-f Metadata [2492 B] 46s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted armhf Packages [1372 B] 46s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted armhf c-n-f Metadata [116 B] 46s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf Packages [3580 kB] 46s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf c-n-f Metadata [7776 B] 46s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse armhf Packages [35.6 kB] 46s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse armhf c-n-f Metadata [116 B] 53s Fetched 8593 kB in 2s (3450 kB/s) 53s Reading package lists... 68s tee: /proc/self/fd/2: Permission denied 96s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 96s Hit:2 http://ports.ubuntu.com/ubuntu-ports noble InRelease 96s Hit:3 http://ftpmaster.internal/ubuntu noble-updates InRelease 96s Hit:4 http://ports.ubuntu.com/ubuntu-ports noble-updates InRelease 96s Hit:5 http://ftpmaster.internal/ubuntu noble-security InRelease 96s Hit:6 http://ports.ubuntu.com/ubuntu-ports noble-backports InRelease 96s Hit:7 http://ftpmaster.internal/ubuntu noble-proposed InRelease 96s Hit:8 http://ports.ubuntu.com/ubuntu-ports noble-security InRelease 100s Reading package lists... 101s Reading package lists... 101s Building dependency tree... 101s Reading state information... 103s Calculating upgrade... 103s The following packages have been kept back: 103s openssl 104s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 104s Reading package lists... 104s Building dependency tree... 104s Reading state information... 106s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 108s autopkgtest [22:20:43]: rebooting testbed after setup commands that affected boot 138s autopkgtest [22:21:13]: testbed running kernel: Linux 5.4.0-173-generic #191-Ubuntu SMP Fri Feb 2 13:54:37 UTC 2024 142s autopkgtest [22:21:17]: testbed dpkg architecture: armhf 155s autopkgtest [22:21:30]: @@@@@@@@@@@@@@@@@@@@ apt-source python-cryptography 162s Get:1 http://ftpmaster.internal/ubuntu noble/main python-cryptography 41.0.7-3 (dsc) [3330 B] 162s Get:2 http://ftpmaster.internal/ubuntu noble/main python-cryptography 41.0.7-3 (tar) [631 kB] 162s Get:3 http://ftpmaster.internal/ubuntu noble/main python-cryptography 41.0.7-3 (diff) [10.4 kB] 162s gpgv: Signature made Thu Feb 8 14:34:58 2024 UTC 162s gpgv: using RSA key 03C4E7ABB880F524306E48156611C05EDD39F374 162s gpgv: issuer "kapouer@melix.org" 162s gpgv: Can't check signature: No public key 162s dpkg-source: warning: cannot verify inline signature for ./python-cryptography_41.0.7-3.dsc: no acceptable signature found 163s autopkgtest [22:21:38]: testing package python-cryptography version 41.0.7-3 163s autopkgtest [22:21:38]: build not needed 175s autopkgtest [22:21:50]: test command1: preparing testbed 187s Reading package lists... 188s Building dependency tree... 188s Reading state information... 188s Correcting dependencies...Starting pkgProblemResolver with broken count: 0 189s Starting 2 pkgProblemResolver with broken count: 0 189s Done 189s Done 190s Starting pkgProblemResolver with broken count: 0 191s Starting 2 pkgProblemResolver with broken count: 0 191s Done 192s The following additional packages will be installed: 192s python3-all python3-cffi python3-cpuinfo python3-cryptography-vectors 192s python3-dateutil python3-hypothesis python3-iniconfig python3-iso8601 192s python3-packaging python3-pluggy python3-ply python3-pretend python3-pyasn1 192s python3-pyasn1-modules python3-pycparser python3-pytest 192s python3-pytest-benchmark python3-pytest-subtests python3-sortedcontainers 192s Suggested packages: 192s python3-dev python-hypothesis-doc python-ply-doc cpp 192s python-sortedcontainers-doc 192s Recommended packages: 192s python3-click python3-elasticsearch python3-freezegun python3-pygal 192s The following NEW packages will be installed: 192s python3-all python3-cffi python3-cpuinfo python3-cryptography-vectors 192s python3-dateutil python3-hypothesis python3-iniconfig python3-iso8601 192s python3-packaging python3-pluggy python3-ply python3-pretend python3-pyasn1 192s python3-pyasn1-modules python3-pycparser python3-pytest 192s python3-pytest-benchmark python3-pytest-subtests python3-sortedcontainers 192s 0 upgraded, 19 newly installed, 0 to remove and 1 not upgraded. 192s 1 not fully installed or removed. 192s Need to get 29.3 MB of archives. 192s After this operation, 82.1 MB of additional disk space will be used. 192s Get:1 http://ftpmaster.internal/ubuntu noble/main armhf python3-all armhf 3.12.1-0ubuntu2 [906 B] 193s Get:2 http://ftpmaster.internal/ubuntu noble/main armhf python3-ply all 3.11-6 [46.5 kB] 193s Get:3 http://ftpmaster.internal/ubuntu noble/main armhf python3-pycparser all 2.21-1 [76.9 kB] 193s Get:4 http://ftpmaster.internal/ubuntu noble/main armhf python3-cffi all 1.16.0-2 [74.3 kB] 193s Get:5 http://ftpmaster.internal/ubuntu noble/universe armhf python3-cryptography-vectors all 41.0.7-2 [28.1 MB] 194s Get:6 http://ftpmaster.internal/ubuntu noble/main armhf python3-dateutil all 2.8.2-3 [79.2 kB] 194s Get:7 http://ftpmaster.internal/ubuntu noble/main armhf python3-sortedcontainers all 2.4.0-2 [27.6 kB] 194s Get:8 http://ftpmaster.internal/ubuntu noble/universe armhf python3-hypothesis all 6.92.2-1 [371 kB] 194s Get:9 http://ftpmaster.internal/ubuntu noble/main armhf python3-iso8601 all 1.0.2-1 [15.8 kB] 194s Get:10 http://ftpmaster.internal/ubuntu noble/universe armhf python3-pretend all 1.0.9-2.1 [6456 B] 194s Get:11 http://ftpmaster.internal/ubuntu noble/main armhf python3-pyasn1 all 0.4.8-4 [51.2 kB] 194s Get:12 http://ftpmaster.internal/ubuntu noble/main armhf python3-pyasn1-modules all 0.2.8-1 [68.0 kB] 194s Get:13 http://ftpmaster.internal/ubuntu noble/universe armhf python3-iniconfig all 1.1.1-2 [6024 B] 194s Get:14 http://ftpmaster.internal/ubuntu noble/main armhf python3-packaging all 23.2-1 [40.6 kB] 194s Get:15 http://ftpmaster.internal/ubuntu noble/universe armhf python3-pluggy all 1.4.0-1 [20.4 kB] 194s Get:16 http://ftpmaster.internal/ubuntu noble/universe armhf python3-pytest all 7.4.4-1 [305 kB] 194s Get:17 http://ftpmaster.internal/ubuntu noble/universe armhf python3-pytest-subtests all 0.11.0-2 [9690 B] 194s Get:18 http://ftpmaster.internal/ubuntu noble/universe armhf python3-cpuinfo all 9.0.0-1 [21.2 kB] 194s Get:19 http://ftpmaster.internal/ubuntu noble/universe armhf python3-pytest-benchmark all 4.0.0-3 [38.2 kB] 195s Fetched 29.3 MB in 2s (17.6 MB/s) 195s Selecting previously unselected package python3-all. 195s (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 ... 58620 files and directories currently installed.) 195s Preparing to unpack .../00-python3-all_3.12.1-0ubuntu2_armhf.deb ... 195s Unpacking python3-all (3.12.1-0ubuntu2) ... 195s Selecting previously unselected package python3-ply. 195s Preparing to unpack .../01-python3-ply_3.11-6_all.deb ... 195s Unpacking python3-ply (3.11-6) ... 195s Selecting previously unselected package python3-pycparser. 195s Preparing to unpack .../02-python3-pycparser_2.21-1_all.deb ... 195s Unpacking python3-pycparser (2.21-1) ... 195s Selecting previously unselected package python3-cffi. 195s Preparing to unpack .../03-python3-cffi_1.16.0-2_all.deb ... 195s Unpacking python3-cffi (1.16.0-2) ... 195s Selecting previously unselected package python3-cryptography-vectors. 195s Preparing to unpack .../04-python3-cryptography-vectors_41.0.7-2_all.deb ... 195s Unpacking python3-cryptography-vectors (41.0.7-2) ... 197s Selecting previously unselected package python3-dateutil. 197s Preparing to unpack .../05-python3-dateutil_2.8.2-3_all.deb ... 197s Unpacking python3-dateutil (2.8.2-3) ... 197s Selecting previously unselected package python3-sortedcontainers. 197s Preparing to unpack .../06-python3-sortedcontainers_2.4.0-2_all.deb ... 197s Unpacking python3-sortedcontainers (2.4.0-2) ... 197s Selecting previously unselected package python3-hypothesis. 197s Preparing to unpack .../07-python3-hypothesis_6.92.2-1_all.deb ... 197s Unpacking python3-hypothesis (6.92.2-1) ... 197s Selecting previously unselected package python3-iso8601. 197s Preparing to unpack .../08-python3-iso8601_1.0.2-1_all.deb ... 197s Unpacking python3-iso8601 (1.0.2-1) ... 197s Selecting previously unselected package python3-pretend. 197s Preparing to unpack .../09-python3-pretend_1.0.9-2.1_all.deb ... 197s Unpacking python3-pretend (1.0.9-2.1) ... 197s Selecting previously unselected package python3-pyasn1. 198s Preparing to unpack .../10-python3-pyasn1_0.4.8-4_all.deb ... 198s Unpacking python3-pyasn1 (0.4.8-4) ... 198s Selecting previously unselected package python3-pyasn1-modules. 198s Preparing to unpack .../11-python3-pyasn1-modules_0.2.8-1_all.deb ... 198s Unpacking python3-pyasn1-modules (0.2.8-1) ... 198s Selecting previously unselected package python3-iniconfig. 198s Preparing to unpack .../12-python3-iniconfig_1.1.1-2_all.deb ... 198s Unpacking python3-iniconfig (1.1.1-2) ... 198s Selecting previously unselected package python3-packaging. 198s Preparing to unpack .../13-python3-packaging_23.2-1_all.deb ... 198s Unpacking python3-packaging (23.2-1) ... 198s Selecting previously unselected package python3-pluggy. 198s Preparing to unpack .../14-python3-pluggy_1.4.0-1_all.deb ... 198s Unpacking python3-pluggy (1.4.0-1) ... 198s Selecting previously unselected package python3-pytest. 198s Preparing to unpack .../15-python3-pytest_7.4.4-1_all.deb ... 198s Unpacking python3-pytest (7.4.4-1) ... 198s Selecting previously unselected package python3-pytest-subtests. 198s Preparing to unpack .../16-python3-pytest-subtests_0.11.0-2_all.deb ... 198s Unpacking python3-pytest-subtests (0.11.0-2) ... 198s Selecting previously unselected package python3-cpuinfo. 198s Preparing to unpack .../17-python3-cpuinfo_9.0.0-1_all.deb ... 198s Unpacking python3-cpuinfo (9.0.0-1) ... 198s Selecting previously unselected package python3-pytest-benchmark. 198s Preparing to unpack .../18-python3-pytest-benchmark_4.0.0-3_all.deb ... 198s Unpacking python3-pytest-benchmark (4.0.0-3) ... 198s Setting up python3-iniconfig (1.1.1-2) ... 198s Setting up python3-ply (3.11-6) ... 199s Setting up python3-all (3.12.1-0ubuntu2) ... 199s Setting up python3-sortedcontainers (2.4.0-2) ... 199s Setting up python3-pycparser (2.21-1) ... 199s Setting up python3-pretend (1.0.9-2.1) ... 200s Setting up python3-packaging (23.2-1) ... 200s Setting up python3-iso8601 (1.0.2-1) ... 200s Setting up python3-cryptography-vectors (41.0.7-2) ... 200s Setting up python3-cpuinfo (9.0.0-1) ... 201s Setting up python3-pluggy (1.4.0-1) ... 201s Setting up python3-pyasn1 (0.4.8-4) ... 201s Setting up python3-dateutil (2.8.2-3) ... 202s Setting up python3-pytest (7.4.4-1) ... 203s Setting up python3-hypothesis (6.92.2-1) ... 203s Setting up python3-cffi (1.16.0-2) ... 204s Setting up python3-pyasn1-modules (0.2.8-1) ... 204s Setting up python3-pytest-benchmark (4.0.0-3) ... 205s Setting up python3-pytest-subtests (0.11.0-2) ... 205s Setting up autopkgtest-satdep (0) ... 205s Processing triggers for man-db (2.12.0-3) ... 219s (Reading database ... 61923 files and directories currently installed.) 219s Removing autopkgtest-satdep (0) ... 229s autopkgtest [22:22:44]: test command1: set -e; for p in $(py3versions -s); do $p -m pytest tests/; done 229s autopkgtest [22:22:44]: test command1: [----------------------- 239s ============================= test session starts ============================== 239s platform linux -- Python 3.12.2, pytest-7.4.4, pluggy-1.4.0 239s 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) 239s OpenSSL: OpenSSL 3.0.10 1 Aug 2023 239s FIPS Enabled: False 239s rootdir: /tmp/autopkgtest.o9DWYa/build.17v/src 239s configfile: pyproject.toml 239s plugins: hypothesis-6.92.2, subtests-0.11.0, benchmark-4.0.0 239s collected 3068 items 239s 239s tests/test_cryptography_utils.py ... [ 0%] 239s tests/test_fernet.py ............................... [ 1%] 247s tests/test_meta.py . [ 1%] 248s tests/test_rust_utils.py .. [ 1%] 248s tests/test_utils.py ....................................... [ 2%] 248s tests/test_warnings.py .. [ 2%] 248s tests/bench/test_aead.py .......... [ 2%] 248s tests/bench/test_ec_load.py .. [ 2%] 248s tests/bench/test_hashes.py . [ 2%] 248s tests/bench/test_hmac.py . [ 2%] 248s tests/bench/test_x509.py .... [ 3%] 248s tests/hazmat/test_oid.py .... [ 3%] 248s tests/hazmat/backends/test_openssl.py .................................. [ 4%] 248s .ssss [ 4%] 252s tests/hazmat/backends/test_openssl_memleak.py ........... [ 4%] 252s tests/hazmat/bindings/test_openssl.py ........ [ 5%] 253s tests/hazmat/primitives/test_3des.py .......... [ 5%] 255s tests/hazmat/primitives/test_aead.py s.................................. [ 6%] 255s ....s...................... [ 7%] 258s tests/hazmat/primitives/test_aes.py ................s............ [ 8%] 265s tests/hazmat/primitives/test_aes_gcm.py ................. [ 8%] 266s tests/hazmat/primitives/test_arc4.py . [ 9%] 266s tests/hazmat/primitives/test_asym_utils.py ....... [ 9%] 266s tests/hazmat/primitives/test_block.py ........................ [ 10%] 266s tests/hazmat/primitives/test_blowfish.py .... [ 10%] 267s tests/hazmat/primitives/test_camellia.py .... [ 10%] 267s tests/hazmat/primitives/test_cast5.py .... [ 10%] 267s tests/hazmat/primitives/test_chacha20.py ........ [ 10%] 267s tests/hazmat/primitives/test_ciphers.py ................................ [ 11%] 267s ........................................................................ [ 14%] 267s ......................................... [ 15%] 267s tests/hazmat/primitives/test_cmac.py ................................... [ 16%] 267s ........... [ 16%] 267s tests/hazmat/primitives/test_concatkdf.py ................ [ 17%] 267s tests/hazmat/primitives/test_constant_time.py .. [ 17%] 269s tests/hazmat/primitives/test_dh.py .............................ss...... [ 18%] 270s ............................................................ [ 20%] 272s tests/hazmat/primitives/test_dsa.py .................................... [ 21%] 281s ........................................................................ [ 24%] 282s ........................................... [ 25%] 300s tests/hazmat/primitives/test_ec.py ..................................... [ 26%] 321s ........................................................................ [ 29%] 322s ........... [ 29%] 324s tests/hazmat/primitives/test_ed25519.py s.................. [ 30%] 324s tests/hazmat/primitives/test_ed448.py s..s.............................. [ 31%] 324s [ 31%] 325s tests/hazmat/primitives/test_hash_vectors.py ................... [ 31%] 325s tests/hazmat/primitives/test_hashes.py .................... [ 32%] 325s tests/hazmat/primitives/test_hkdf.py .............. [ 32%] 325s tests/hazmat/primitives/test_hkdf_vectors.py .. [ 33%] 325s tests/hazmat/primitives/test_hmac.py .......... [ 33%] 325s tests/hazmat/primitives/test_hmac_vectors.py ........ [ 33%] 325s tests/hazmat/primitives/test_idea.py ssss [ 33%] 325s tests/hazmat/primitives/test_kbkdf.py .................................. [ 34%] 325s ......... [ 35%] 326s tests/hazmat/primitives/test_kbkdf_vectors.py . [ 35%] 333s tests/hazmat/primitives/test_keywrap.py ............. [ 35%] 333s tests/hazmat/primitives/test_padding.py ................................ [ 36%] 333s ........ [ 36%] 333s tests/hazmat/primitives/test_pbkdf2hmac.py ...... [ 37%] 333s tests/hazmat/primitives/test_pbkdf2hmac_vectors.py . [ 37%] 333s tests/hazmat/primitives/test_pkcs12.py ................................. [ 38%] 340s ........................................................................ [ 40%] 343s ..................................................................ss.... [ 42%] 343s ..... [ 43%] 344s tests/hazmat/primitives/test_pkcs7.py .................................. [ 44%] 344s .............. [ 44%] 344s tests/hazmat/primitives/test_poly1305.py s.................... [ 45%] 348s tests/hazmat/primitives/test_rsa.py ...........................s........ [ 46%] 363s ........................................................................ [ 48%] 363s ..............................................................s......... [ 51%] 364s ........................................................................ [ 53%] 365s ........ [ 53%] 365s tests/hazmat/primitives/test_scrypt.py .s...s.......s..... [ 54%] 365s tests/hazmat/primitives/test_seed.py .... [ 54%] 366s tests/hazmat/primitives/test_serialization.py .......................... [ 55%] 366s ........................................................................ [ 57%] 366s .............................. [ 58%] 366s tests/hazmat/primitives/test_sm4.py ..... [ 58%] 369s tests/hazmat/primitives/test_ssh.py .........s.s.s.sssss...........sssss [ 60%] 369s ssss.................................................................... [ 62%] 370s ................. [ 62%] 370s tests/hazmat/primitives/test_x25519.py s.................... [ 63%] 373s tests/hazmat/primitives/test_x448.py s.................. [ 64%] 373s tests/hazmat/primitives/test_x963_vectors.py .. [ 64%] 373s tests/hazmat/primitives/test_x963kdf.py ....... [ 64%] 373s tests/hazmat/primitives/twofactor/test_hotp.py ......................... [ 65%] 373s ............. [ 65%] 373s tests/hazmat/primitives/twofactor/test_totp.py ......................... [ 66%] 373s ............... [ 67%] 373s tests/wycheproof/test_aes.py ssss [ 67%] 373s tests/wycheproof/test_chacha20poly1305.py s [ 67%] 373s tests/wycheproof/test_cmac.py s [ 67%] 373s tests/wycheproof/test_dsa.py s [ 67%] 373s tests/wycheproof/test_ecdh.py ss [ 67%] 373s tests/wycheproof/test_ecdsa.py s [ 67%] 373s tests/wycheproof/test_eddsa.py ss [ 67%] 373s tests/wycheproof/test_hkdf.py s [ 67%] 373s tests/wycheproof/test_hmac.py s [ 67%] 373s tests/wycheproof/test_keywrap.py ss [ 67%] 373s tests/wycheproof/test_rsa.py sssss [ 67%] 373s tests/wycheproof/test_utils.py . [ 67%] 373s tests/wycheproof/test_x25519.py s [ 67%] 373s tests/wycheproof/test_x448.py s [ 67%] 373s tests/x509/test_name.py .... [ 67%] 374s tests/x509/test_ocsp.py ................................................ [ 69%] 374s ................................. [ 70%] 374s tests/x509/test_x509.py ................................................ [ 72%] 374s ........................................................................ [ 74%] 375s ........................................................................ [ 76%] 375s ........................................................................ [ 79%] 376s ........................................................................ [ 81%] 376s ............................................... [ 83%] 376s tests/x509/test_x509_crlbuilder.py ..................................... [ 84%] 376s .. [ 84%] 376s tests/x509/test_x509_ext.py ............................................ [ 85%] 376s ........................................................................ [ 88%] 376s ........................................................................ [ 90%] 377s ........................................................................ [ 92%] 377s ........................................................................ [ 95%] 377s ........................................................................ [ 97%] 377s ....................................................... [ 99%] 377s tests/x509/test_x509_revokedcertbuilder.py .................... [100%] 377s 377s =============================== warnings summary =============================== 377s tests/hazmat/primitives/test_pkcs12.py: 100 warnings 377s /tmp/autopkgtest.o9DWYa/build.17v/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). 377s now = datetime.utcnow() 377s 377s tests/hazmat/primitives/test_pkcs12.py: 27 warnings 377s /tmp/autopkgtest.o9DWYa/build.17v/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). 377s now = datetime.utcnow() 377s 377s tests/hazmat/primitives/test_pkcs12.py::test_pkcs12_ordering 377s tests/hazmat/primitives/test_pkcs12.py::test_pkcs12_ordering 377s tests/hazmat/primitives/test_pkcs12.py::test_pkcs12_ordering 377s /tmp/autopkgtest.o9DWYa/build.17v/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). 377s now = datetime.utcnow() 377s 377s tests/hazmat/primitives/test_pkcs7.py: 24 warnings 377s /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). 377s return rust_pkcs7.sign_and_serialize(self, encoding, options) 377s 377s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_invalid_add_response 377s /tmp/autopkgtest.o9DWYa/build.17v/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). 377s time = datetime.datetime.utcnow() 377s 377s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_unsupported_extension 377s /tmp/autopkgtest.o9DWYa/build.17v/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). 377s current_time = datetime.datetime.utcnow().replace(microsecond=0) 377s 377s tests/x509/test_ocsp.py: 17 warnings 377s /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). 377s return ocsp.create_ocsp_response( 377s 377s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_sign_no_responder_id 377s /tmp/autopkgtest.o9DWYa/build.17v/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). 377s current_time = datetime.datetime.utcnow().replace(microsecond=0) 377s 377s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_sign_invalid_hash_algorithm 377s /tmp/autopkgtest.o9DWYa/build.17v/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). 377s current_time = datetime.datetime.utcnow().replace(microsecond=0) 377s 377s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_sign_good_cert 377s /tmp/autopkgtest.o9DWYa/build.17v/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). 377s current_time = datetime.datetime.utcnow().replace(microsecond=0) 377s 377s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_sign_revoked_cert 377s /tmp/autopkgtest.o9DWYa/build.17v/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). 377s current_time = datetime.datetime.utcnow().replace(microsecond=0) 377s 377s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_sign_unknown_cert 377s /tmp/autopkgtest.o9DWYa/build.17v/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). 377s current_time = datetime.datetime.utcnow().replace(microsecond=0) 377s 377s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_sign_with_appended_certs 377s /tmp/autopkgtest.o9DWYa/build.17v/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). 377s current_time = datetime.datetime.utcnow().replace(microsecond=0) 377s 377s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_sign_revoked_no_next_update 377s /tmp/autopkgtest.o9DWYa/build.17v/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). 377s current_time = datetime.datetime.utcnow().replace(microsecond=0) 377s 377s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_sign_revoked_with_reason 377s /tmp/autopkgtest.o9DWYa/build.17v/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). 377s current_time = datetime.datetime.utcnow().replace(microsecond=0) 377s 377s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_sign_responder_id_key_hash 377s /tmp/autopkgtest.o9DWYa/build.17v/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). 377s current_time = datetime.datetime.utcnow().replace(microsecond=0) 377s 377s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_invalid_sign_responder_cert_does_not_match_private_key 377s /tmp/autopkgtest.o9DWYa/build.17v/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). 377s current_time = datetime.datetime.utcnow().replace(microsecond=0) 377s 377s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_sign_with_extension 377s /tmp/autopkgtest.o9DWYa/build.17v/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). 377s current_time = datetime.datetime.utcnow().replace(microsecond=0) 377s 377s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_sign_unknown_private_key 377s /tmp/autopkgtest.o9DWYa/build.17v/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). 377s current_time = datetime.datetime.utcnow().replace(microsecond=0) 377s 377s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_sign_unrecognized_hash_algorithm 377s /tmp/autopkgtest.o9DWYa/build.17v/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). 377s current_time = datetime.datetime.utcnow().replace(microsecond=0) 377s 377s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_sign_none_hash_not_eddsa 377s /tmp/autopkgtest.o9DWYa/build.17v/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). 377s current_time = datetime.datetime.utcnow().replace(microsecond=0) 377s 377s tests/x509/test_ocsp.py::TestOCSPEdDSA::test_invalid_algorithm 377s /tmp/autopkgtest.o9DWYa/build.17v/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). 377s current_time = datetime.datetime.utcnow().replace(microsecond=0) 377s 377s tests/x509/test_ocsp.py::TestOCSPEdDSA::test_sign_ed25519 377s /tmp/autopkgtest.o9DWYa/build.17v/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). 377s current_time = datetime.datetime.utcnow().replace(microsecond=0) 377s 377s tests/x509/test_ocsp.py::TestOCSPEdDSA::test_sign_ed448 377s /tmp/autopkgtest.o9DWYa/build.17v/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). 377s current_time = datetime.datetime.utcnow().replace(microsecond=0) 377s 377s tests/x509/test_x509.py::TestSignatureRejection::test_crl_signing_check 377s /tmp/autopkgtest.o9DWYa/build.17v/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). 377s last_time = datetime.datetime.utcnow().replace(microsecond=0) 377s 377s tests/x509/test_x509_crlbuilder.py::TestCertificateRevocationListBuilder::test_add_unsupported_entry_extension 377s /tmp/autopkgtest.o9DWYa/build.17v/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). 377s .revocation_date(datetime.datetime.utcnow()) 377s 377s tests/x509/test_x509_ext.py::TestPrecertificateSignedCertificateTimestampsExtension::test_simple 377s /tmp/autopkgtest.o9DWYa/build.17v/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). 377s ) 377s 377s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 377s =========================== short test summary info ============================ 377s SKIPPED [2] tests/hazmat/backends/test_openssl.py:375: Requires OpenSSL without EVP_PKEY_DHX 377s SKIPPED [2] tests/hazmat/backends/test_openssl.py:397: Requires OpenSSL without EVP_PKEY_DHX 377s SKIPPED [1] tests/hazmat/primitives/test_aead.py:42: Requires OpenSSL without ChaCha20Poly1305 support 377s SKIPPED [1] tests/hazmat/primitives/test_aead.py:485: Requires OpenSSL without AESOCB3 support 377s SKIPPED [1] tests/hazmat/primitives/test_aes.py:275: AES in dummy-mode mode not supported 377s SKIPPED [1] tests/hazmat/primitives/test_dh.py:403: 256-bit DH keys are not supported in OpenSSL 3.0.0+ () 377s SKIPPED [1] tests/hazmat/primitives/test_dh.py:434: DH keys less than 512 bits are unsupported 377s SKIPPED [1] tests/hazmat/primitives/test_ed25519.py:46: Requires OpenSSL without Ed25519 support () 377s SKIPPED [1] tests/hazmat/primitives/test_ed448.py:26: Requires OpenSSL without Ed448 support () 377s SKIPPED [1] tests/hazmat/primitives/test_ed448.py:61: ed448 contexts are not currently supported 377s SKIPPED [1] tests/hazmat/primitives/utils.py:50: Does not support IDEA ECB () 377s SKIPPED [1] tests/hazmat/primitives/utils.py:50: Does not support IDEA CBC () 377s SKIPPED [1] tests/hazmat/primitives/utils.py:50: Does not support IDEA OFB () 377s SKIPPED [1] tests/hazmat/primitives/utils.py:50: Does not support IDEA CFB () 377s SKIPPED [1] tests/hazmat/primitives/test_pkcs12.py:638: Requires OpenSSL < 3.0.0 (or Libre/Boring) () 377s SKIPPED [1] tests/hazmat/primitives/test_pkcs12.py:661: Requires OpenSSL without PKCS12_set_mac (boring only) () 377s SKIPPED [1] tests/hazmat/primitives/test_poly1305.py:25: Requires OpenSSL without poly1305 support () 377s SKIPPED [1] tests/hazmat/primitives/test_rsa.py:324: Test requires a backend without RSA-PSS key support () 377s SKIPPED [1] tests/hazmat/primitives/test_rsa.py:2155: Requires FIPS () 377s SKIPPED [1] tests/hazmat/primitives/test_scrypt.py:45: Supports scrypt so can't test unsupported path () 377s SKIPPED [2] tests/hazmat/primitives/test_scrypt.py:32: Test exceeds Scrypt memory limit. This is likely a 32-bit platform. 377s SKIPPED [5] tests/hazmat/primitives/test_ssh.py:163: Requires bcrypt module 377s SKIPPED [1] tests/hazmat/primitives/test_ssh.py:247: Requires that bcrypt exists () 377s SKIPPED [1] tests/hazmat/primitives/test_ssh.py:270: Requires that bcrypt exists () 377s SKIPPED [1] tests/hazmat/primitives/test_ssh.py:289: Requires that bcrypt exists () 377s SKIPPED [9] tests/hazmat/primitives/test_ssh.py:618: Requires that bcrypt exists () 377s SKIPPED [1] tests/hazmat/primitives/test_x25519.py:26: Requires OpenSSL without X25519 support () 377s SKIPPED [1] tests/hazmat/primitives/test_x448.py:26: Requires OpenSSL without X448 support () 377s SKIPPED [23] ../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1621: no 'wycheproof_root' option found 377s ========== 3002 passed, 66 skipped, 193 warnings in 145.75s (0:02:25) ========== 378s autopkgtest [22:25:13]: test command1: -----------------------] 382s command1 PASS 382s autopkgtest [22:25:17]: test command1: - - - - - - - - - - results - - - - - - - - - - 386s autopkgtest [22:25:21]: @@@@@@@@@@@@@@@@@@@@ summary 386s command1 PASS