0s autopkgtest [02:32:12]: starting date and time: 2024-03-19 02:32:12+0000 0s autopkgtest [02:32:12]: git checkout: b506e79c ssh-setup/nova: fix ARCH having two lines of data 0s autopkgtest [02:32:12]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.9t3vsdtf/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:openssl --apt-upgrade python-cryptography --timeout-short=300 --timeout-copy=20000 --timeout-test=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=openssl/3.0.13-0ubuntu2 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-big --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos01-ppc64el-1.secgroup --name adt-noble-ppc64el-python-cryptography-20240319-023212-juju-7f2275-prod-proposed-migration-environment-2 --image adt/ubuntu-noble-ppc64el-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://us.ports.ubuntu.com/ubuntu-ports/ 143s autopkgtest [02:34:35]: testbed dpkg architecture: ppc64el 144s autopkgtest [02:34:36]: testbed apt version: 2.7.12 144s autopkgtest [02:34:36]: @@@@@@@@@@@@@@@@@@@@ test bed setup 145s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 146s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [486 kB] 146s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [52.0 kB] 146s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3753 kB] 148s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 148s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el Packages [646 kB] 148s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el c-n-f Metadata [3116 B] 148s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el Packages [1372 B] 148s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el c-n-f Metadata [116 B] 148s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el Packages [4025 kB] 148s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el c-n-f Metadata [8652 B] 148s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el Packages [47.3 kB] 148s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el c-n-f Metadata [116 B] 153s Fetched 9146 kB in 5s (1946 kB/s) 154s Reading package lists... 158s Reading package lists... 158s Building dependency tree... 158s Reading state information... 159s Calculating upgrade... 159s The following packages will be REMOVED: 159s libssl3 159s The following NEW packages will be installed: 159s libssl3t64 159s The following packages will be upgraded: 159s openssl 159s 1 upgraded, 1 newly installed, 1 to remove and 0 not upgraded. 159s Need to get 3151 kB of archives. 159s After this operation, 73.7 kB of additional disk space will be used. 159s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el openssl ppc64el 3.0.13-0ubuntu2 [1026 kB] 160s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libssl3t64 ppc64el 3.0.13-0ubuntu2 [2125 kB] 162s Fetched 3151 kB in 2s (1772 kB/s) 162s (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 ... 70095 files and directories currently installed.) 162s Preparing to unpack .../openssl_3.0.13-0ubuntu2_ppc64el.deb ... 162s Unpacking openssl (3.0.13-0ubuntu2) over (3.0.10-1ubuntu4) ... 162s dpkg: libssl3:ppc64el: dependency problems, but removing anyway as you requested: 162s wget depends on libssl3 (>= 3.0.0). 162s tnftp depends on libssl3 (>= 3.0.0). 162s tcpdump depends on libssl3 (>= 3.0.0). 162s systemd-resolved depends on libssl3 (>= 3.0.0). 162s systemd depends on libssl3 (>= 3.0.0). 162s sudo depends on libssl3 (>= 3.0.0). 162s rsync depends on libssl3 (>= 3.0.0). 162s python3-cryptography depends on libssl3 (>= 3.0.0). 162s openssh-server depends on libssl3 (>= 3.0.10). 162s openssh-client depends on libssl3 (>= 3.0.10). 162s linux-headers-6.8.0-11-generic depends on libssl3 (>= 3.0.0). 162s libsystemd-shared:ppc64el depends on libssl3 (>= 3.0.0). 162s libssh-4:ppc64el depends on libssl3 (>= 3.0.0). 162s libsasl2-modules:ppc64el depends on libssl3 (>= 3.0.0). 162s libsasl2-2:ppc64el depends on libssl3 (>= 3.0.0). 162s libpython3.12-minimal:ppc64el depends on libssl3 (>= 3.0.0). 162s libpython3.11-minimal:ppc64el depends on libssl3 (>= 3.0.0). 162s libnvme1 depends on libssl3 (>= 3.0.0). 162s libkrb5-3:ppc64el depends on libssl3 (>= 3.0.0). 162s libkmod2:ppc64el depends on libssl3 (>= 3.0.0). 162s libfido2-1:ppc64el depends on libssl3 (>= 3.0.0). 162s libcurl4:ppc64el depends on libssl3 (>= 3.0.0). 162s libcryptsetup12:ppc64el depends on libssl3 (>= 3.0.0). 162s kmod depends on libssl3 (>= 3.0.0). 162s dhcpcd-base depends on libssl3 (>= 3.0.0). 162s bind9-libs:ppc64el depends on libssl3 (>= 3.0.0). 162s 162s (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 ... 70095 files and directories currently installed.) 162s Removing libssl3:ppc64el (3.0.10-1ubuntu4) ... 162s Selecting previously unselected package libssl3t64:ppc64el. 163s (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 ... 70084 files and directories currently installed.) 163s Preparing to unpack .../libssl3t64_3.0.13-0ubuntu2_ppc64el.deb ... 163s Unpacking libssl3t64:ppc64el (3.0.13-0ubuntu2) ... 163s Setting up libssl3t64:ppc64el (3.0.13-0ubuntu2) ... 163s Setting up openssl (3.0.13-0ubuntu2) ... 163s Processing triggers for man-db (2.12.0-3) ... 164s Processing triggers for libc-bin (2.39-0ubuntu2) ... 164s Reading package lists... 166s Building dependency tree... 166s Reading state information... 166s Hit:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease 166s Hit:2 http://ftpmaster.internal/ubuntu noble InRelease 166s Hit:3 http://ftpmaster.internal/ubuntu noble-updates InRelease 166s Hit:4 http://ftpmaster.internal/ubuntu noble-security InRelease 166s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 168s Reading package lists... 168s Reading package lists... 168s Building dependency tree... 168s Reading state information... 169s Calculating upgrade... 169s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 169s Reading package lists... 169s Building dependency tree... 169s Reading state information... 170s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 173s autopkgtest [02:35:05]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP Wed Feb 14 00:33:03 UTC 2024 173s autopkgtest [02:35:05]: @@@@@@@@@@@@@@@@@@@@ apt-source python-cryptography 177s Get:1 http://ftpmaster.internal/ubuntu noble/main python-cryptography 41.0.7-3 (dsc) [3330 B] 177s Get:2 http://ftpmaster.internal/ubuntu noble/main python-cryptography 41.0.7-3 (tar) [631 kB] 177s Get:3 http://ftpmaster.internal/ubuntu noble/main python-cryptography 41.0.7-3 (diff) [10.4 kB] 177s gpgv: Signature made Thu Feb 8 14:34:58 2024 UTC 177s gpgv: using RSA key 03C4E7ABB880F524306E48156611C05EDD39F374 177s gpgv: issuer "kapouer@melix.org" 177s gpgv: Can't check signature: No public key 177s dpkg-source: warning: cannot verify inline signature for ./python-cryptography_41.0.7-3.dsc: no acceptable signature found 178s autopkgtest [02:35:10]: testing package python-cryptography version 41.0.7-3 178s autopkgtest [02:35:10]: build not needed 179s autopkgtest [02:35:11]: test command1: preparing testbed 180s Reading package lists... 181s Building dependency tree... 181s Reading state information... 181s Starting pkgProblemResolver with broken count: 0 181s Starting 2 pkgProblemResolver with broken count: 0 181s Done 181s The following additional packages will be installed: 181s python3-all python3-cffi python3-cpuinfo python3-cryptography-vectors 181s python3-dateutil python3-hypothesis python3-iniconfig python3-iso8601 181s python3-packaging python3-pluggy python3-ply python3-pretend python3-pyasn1 181s python3-pyasn1-modules python3-pycparser python3-pytest 181s python3-pytest-benchmark python3-pytest-subtests python3-sortedcontainers 181s Suggested packages: 181s python3-dev python-hypothesis-doc python-ply-doc cpp 181s python-sortedcontainers-doc 181s Recommended packages: 181s python3-click python3-elasticsearch python3-freezegun python3-pygal 181s The following NEW packages will be installed: 181s autopkgtest-satdep python3-all python3-cffi python3-cpuinfo 181s python3-cryptography-vectors python3-dateutil python3-hypothesis 181s python3-iniconfig python3-iso8601 python3-packaging python3-pluggy 181s python3-ply python3-pretend python3-pyasn1 python3-pyasn1-modules 181s python3-pycparser python3-pytest python3-pytest-benchmark 181s python3-pytest-subtests python3-sortedcontainers 181s 0 upgraded, 20 newly installed, 0 to remove and 0 not upgraded. 181s Need to get 29.3 MB/29.3 MB of archives. 181s After this operation, 82.1 MB of additional disk space will be used. 181s Get:1 /tmp/autopkgtest.Gz4Zic/1-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [808 B] 182s Get:2 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-all ppc64el 3.12.1-0ubuntu2 [904 B] 182s Get:3 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-ply all 3.11-6 [46.5 kB] 182s Get:4 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-pycparser all 2.21-1 [76.9 kB] 182s Get:5 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-cffi all 1.16.0-2 [74.3 kB] 182s Get:6 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-cpuinfo all 9.0.0-1 [21.2 kB] 182s Get:7 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-cryptography-vectors all 41.0.7-2 [28.1 MB] 188s Get:8 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-dateutil all 2.8.2-3 [79.2 kB] 188s Get:9 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-sortedcontainers all 2.4.0-2 [27.6 kB] 188s Get:10 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-hypothesis all 6.92.2-1 [371 kB] 188s Get:11 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-iniconfig all 1.1.1-2 [6024 B] 188s Get:12 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-packaging all 23.2-1 [40.6 kB] 188s Get:13 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-pluggy all 1.4.0-1 [20.4 kB] 188s Get:14 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-pretend all 1.0.9-2.1 [6456 B] 188s Get:15 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-pyasn1 all 0.4.8-4 [51.2 kB] 188s Get:16 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-pyasn1-modules all 0.2.8-1 [68.0 kB] 188s Get:17 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-pytest all 7.4.4-1 [305 kB] 188s Get:18 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-pytest-benchmark all 4.0.0-3 [38.2 kB] 188s Get:19 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-pytest-subtests all 0.11.0-2 [9690 B] 188s Get:20 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-iso8601 all 1.0.2-1 [15.8 kB] 188s Fetched 29.3 MB in 7s (4462 kB/s) 188s Selecting previously unselected package python3-all. 189s (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 ... 70097 files and directories currently installed.) 189s Preparing to unpack .../00-python3-all_3.12.1-0ubuntu2_ppc64el.deb ... 189s Unpacking python3-all (3.12.1-0ubuntu2) ... 189s Selecting previously unselected package python3-ply. 189s Preparing to unpack .../01-python3-ply_3.11-6_all.deb ... 189s Unpacking python3-ply (3.11-6) ... 189s Selecting previously unselected package python3-pycparser. 189s Preparing to unpack .../02-python3-pycparser_2.21-1_all.deb ... 189s Unpacking python3-pycparser (2.21-1) ... 189s Selecting previously unselected package python3-cffi. 189s Preparing to unpack .../03-python3-cffi_1.16.0-2_all.deb ... 189s Unpacking python3-cffi (1.16.0-2) ... 189s Selecting previously unselected package python3-cpuinfo. 189s Preparing to unpack .../04-python3-cpuinfo_9.0.0-1_all.deb ... 189s Unpacking python3-cpuinfo (9.0.0-1) ... 189s Selecting previously unselected package python3-cryptography-vectors. 189s Preparing to unpack .../05-python3-cryptography-vectors_41.0.7-2_all.deb ... 189s Unpacking python3-cryptography-vectors (41.0.7-2) ... 191s Selecting previously unselected package python3-dateutil. 191s Preparing to unpack .../06-python3-dateutil_2.8.2-3_all.deb ... 191s Unpacking python3-dateutil (2.8.2-3) ... 191s Selecting previously unselected package python3-sortedcontainers. 191s Preparing to unpack .../07-python3-sortedcontainers_2.4.0-2_all.deb ... 191s Unpacking python3-sortedcontainers (2.4.0-2) ... 191s Selecting previously unselected package python3-hypothesis. 191s Preparing to unpack .../08-python3-hypothesis_6.92.2-1_all.deb ... 191s Unpacking python3-hypothesis (6.92.2-1) ... 191s Selecting previously unselected package python3-iniconfig. 191s Preparing to unpack .../09-python3-iniconfig_1.1.1-2_all.deb ... 191s Unpacking python3-iniconfig (1.1.1-2) ... 191s Selecting previously unselected package python3-packaging. 191s Preparing to unpack .../10-python3-packaging_23.2-1_all.deb ... 191s Unpacking python3-packaging (23.2-1) ... 191s Selecting previously unselected package python3-pluggy. 191s Preparing to unpack .../11-python3-pluggy_1.4.0-1_all.deb ... 191s Unpacking python3-pluggy (1.4.0-1) ... 191s Selecting previously unselected package python3-pretend. 191s Preparing to unpack .../12-python3-pretend_1.0.9-2.1_all.deb ... 191s Unpacking python3-pretend (1.0.9-2.1) ... 191s Selecting previously unselected package python3-pyasn1. 191s Preparing to unpack .../13-python3-pyasn1_0.4.8-4_all.deb ... 191s Unpacking python3-pyasn1 (0.4.8-4) ... 191s Selecting previously unselected package python3-pyasn1-modules. 191s Preparing to unpack .../14-python3-pyasn1-modules_0.2.8-1_all.deb ... 191s Unpacking python3-pyasn1-modules (0.2.8-1) ... 191s Selecting previously unselected package python3-pytest. 191s Preparing to unpack .../15-python3-pytest_7.4.4-1_all.deb ... 191s Unpacking python3-pytest (7.4.4-1) ... 191s Selecting previously unselected package python3-pytest-benchmark. 191s Preparing to unpack .../16-python3-pytest-benchmark_4.0.0-3_all.deb ... 191s Unpacking python3-pytest-benchmark (4.0.0-3) ... 191s Selecting previously unselected package python3-pytest-subtests. 191s Preparing to unpack .../17-python3-pytest-subtests_0.11.0-2_all.deb ... 191s Unpacking python3-pytest-subtests (0.11.0-2) ... 191s Selecting previously unselected package python3-iso8601. 191s Preparing to unpack .../18-python3-iso8601_1.0.2-1_all.deb ... 191s Unpacking python3-iso8601 (1.0.2-1) ... 191s Selecting previously unselected package autopkgtest-satdep. 191s Preparing to unpack .../19-1-autopkgtest-satdep.deb ... 191s Unpacking autopkgtest-satdep (0) ... 191s Setting up python3-iniconfig (1.1.1-2) ... 192s Setting up python3-ply (3.11-6) ... 192s Setting up python3-all (3.12.1-0ubuntu2) ... 192s Setting up python3-sortedcontainers (2.4.0-2) ... 192s Setting up python3-pycparser (2.21-1) ... 192s Setting up python3-pretend (1.0.9-2.1) ... 193s Setting up python3-packaging (23.2-1) ... 193s Setting up python3-iso8601 (1.0.2-1) ... 193s Setting up python3-cryptography-vectors (41.0.7-2) ... 193s Setting up python3-cpuinfo (9.0.0-1) ... 194s Setting up python3-pluggy (1.4.0-1) ... 194s Setting up python3-pyasn1 (0.4.8-4) ... 194s Setting up python3-dateutil (2.8.2-3) ... 195s Setting up python3-pytest (7.4.4-1) ... 195s Setting up python3-hypothesis (6.92.2-1) ... 196s Setting up python3-cffi (1.16.0-2) ... 197s Setting up python3-pyasn1-modules (0.2.8-1) ... 197s Setting up python3-pytest-benchmark (4.0.0-3) ... 198s Setting up python3-pytest-subtests (0.11.0-2) ... 198s Setting up autopkgtest-satdep (0) ... 198s Processing triggers for man-db (2.12.0-3) ... 202s (Reading database ... 73400 files and directories currently installed.) 202s Removing autopkgtest-satdep (0) ... 202s autopkgtest [02:35:34]: test command1: set -e; for p in $(py3versions -s); do $p -m pytest tests/; done 202s autopkgtest [02:35:34]: test command1: [----------------------- 208s ============================= test session starts ============================== 208s platform linux -- Python 3.12.2, pytest-7.4.4, pluggy-1.4.0 208s 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) 208s OpenSSL: OpenSSL 3.0.13 30 Jan 2024 208s FIPS Enabled: False 208s rootdir: /tmp/autopkgtest.Gz4Zic/build.QLH/src 208s configfile: pyproject.toml 208s plugins: benchmark-4.0.0, hypothesis-6.92.2, subtests-0.11.0 208s collected 3068 items 208s 208s tests/test_cryptography_utils.py ... [ 0%] 208s tests/test_fernet.py ............................... [ 1%] 214s tests/test_meta.py . [ 1%] 215s tests/test_rust_utils.py .. [ 1%] 215s tests/test_utils.py ....................................... [ 2%] 215s tests/test_warnings.py .. [ 2%] 215s tests/bench/test_aead.py .......... [ 2%] 215s tests/bench/test_ec_load.py .. [ 2%] 215s tests/bench/test_hashes.py . [ 2%] 215s tests/bench/test_hmac.py . [ 2%] 215s tests/bench/test_x509.py .... [ 3%] 215s tests/hazmat/test_oid.py .... [ 3%] 215s tests/hazmat/backends/test_openssl.py .................................. [ 4%] 215s .ssss [ 4%] 218s tests/hazmat/backends/test_openssl_memleak.py ........... [ 4%] 218s tests/hazmat/bindings/test_openssl.py ........ [ 5%] 218s tests/hazmat/primitives/test_3des.py .......... [ 5%] 220s tests/hazmat/primitives/test_aead.py s.................................. [ 6%] 220s ....s...................... [ 7%] 222s tests/hazmat/primitives/test_aes.py ................s............ [ 8%] 226s tests/hazmat/primitives/test_aes_gcm.py ................. [ 8%] 226s tests/hazmat/primitives/test_arc4.py . [ 9%] 226s tests/hazmat/primitives/test_asym_utils.py ....... [ 9%] 226s tests/hazmat/primitives/test_block.py ........................ [ 10%] 226s tests/hazmat/primitives/test_blowfish.py .... [ 10%] 227s tests/hazmat/primitives/test_camellia.py .... [ 10%] 227s tests/hazmat/primitives/test_cast5.py .... [ 10%] 227s tests/hazmat/primitives/test_chacha20.py ........ [ 10%] 227s tests/hazmat/primitives/test_ciphers.py ................................ [ 11%] 227s ........................................................................ [ 14%] 227s ......................................... [ 15%] 227s tests/hazmat/primitives/test_cmac.py ................................... [ 16%] 227s ........... [ 16%] 227s tests/hazmat/primitives/test_concatkdf.py ................ [ 17%] 227s tests/hazmat/primitives/test_constant_time.py .. [ 17%] 227s tests/hazmat/primitives/test_dh.py .............................ss...... [ 18%] 228s ............................................................ [ 20%] 229s tests/hazmat/primitives/test_dsa.py .................................... [ 21%] 232s ........................................................................ [ 24%] 233s ........................................... [ 25%] 242s tests/hazmat/primitives/test_ec.py ..................................... [ 26%] 253s ........................................................................ [ 29%] 254s ........... [ 29%] 254s tests/hazmat/primitives/test_ed25519.py s.................. [ 30%] 254s tests/hazmat/primitives/test_ed448.py s..s.............................. [ 31%] 254s [ 31%] 255s tests/hazmat/primitives/test_hash_vectors.py ................... [ 31%] 255s tests/hazmat/primitives/test_hashes.py .................... [ 32%] 255s tests/hazmat/primitives/test_hkdf.py .............. [ 32%] 255s tests/hazmat/primitives/test_hkdf_vectors.py .. [ 33%] 255s tests/hazmat/primitives/test_hmac.py .......... [ 33%] 255s tests/hazmat/primitives/test_hmac_vectors.py ........ [ 33%] 255s tests/hazmat/primitives/test_idea.py ssss [ 33%] 255s tests/hazmat/primitives/test_kbkdf.py .................................. [ 34%] 255s ......... [ 35%] 255s tests/hazmat/primitives/test_kbkdf_vectors.py . [ 35%] 260s tests/hazmat/primitives/test_keywrap.py ............. [ 35%] 260s tests/hazmat/primitives/test_padding.py ................................ [ 36%] 260s ........ [ 36%] 260s tests/hazmat/primitives/test_pbkdf2hmac.py ...... [ 37%] 260s tests/hazmat/primitives/test_pbkdf2hmac_vectors.py . [ 37%] 261s tests/hazmat/primitives/test_pkcs12.py ................................. [ 38%] 266s ........................................................................ [ 40%] 269s ..................................................................ss.... [ 42%] 269s ..... [ 43%] 269s tests/hazmat/primitives/test_pkcs7.py .................................. [ 44%] 269s .............. [ 44%] 269s tests/hazmat/primitives/test_poly1305.py s.................... [ 45%] 270s tests/hazmat/primitives/test_rsa.py ...........................s........ [ 46%] 275s ........................................................................ [ 48%] 275s ..............................................................s......... [ 51%] 275s ........................................................................ [ 53%] 275s ........ [ 53%] 285s tests/hazmat/primitives/test_scrypt.py .s................. [ 54%] 285s tests/hazmat/primitives/test_seed.py .... [ 54%] 285s tests/hazmat/primitives/test_serialization.py .......................... [ 55%] 286s ........................................................................ [ 57%] 286s .............................. [ 58%] 286s tests/hazmat/primitives/test_sm4.py ..... [ 58%] 286s tests/hazmat/primitives/test_ssh.py .........s.s.s.sssss...........sssss [ 60%] 286s ssss.................................................................... [ 62%] 287s ................. [ 62%] 287s tests/hazmat/primitives/test_x25519.py s.................... [ 63%] 287s tests/hazmat/primitives/test_x448.py s.................. [ 64%] 287s tests/hazmat/primitives/test_x963_vectors.py .. [ 64%] 287s tests/hazmat/primitives/test_x963kdf.py ....... [ 64%] 287s tests/hazmat/primitives/twofactor/test_hotp.py ......................... [ 65%] 287s ............. [ 65%] 288s tests/hazmat/primitives/twofactor/test_totp.py ......................... [ 66%] 288s ............... [ 67%] 288s tests/wycheproof/test_aes.py ssss [ 67%] 288s tests/wycheproof/test_chacha20poly1305.py s [ 67%] 288s tests/wycheproof/test_cmac.py s [ 67%] 288s tests/wycheproof/test_dsa.py s [ 67%] 288s tests/wycheproof/test_ecdh.py ss [ 67%] 288s tests/wycheproof/test_ecdsa.py s [ 67%] 288s tests/wycheproof/test_eddsa.py ss [ 67%] 288s tests/wycheproof/test_hkdf.py s [ 67%] 288s tests/wycheproof/test_hmac.py s [ 67%] 288s tests/wycheproof/test_keywrap.py ss [ 67%] 288s tests/wycheproof/test_rsa.py sssss [ 67%] 288s tests/wycheproof/test_utils.py . [ 67%] 288s tests/wycheproof/test_x25519.py s [ 67%] 288s tests/wycheproof/test_x448.py s [ 67%] 288s tests/x509/test_name.py .... [ 67%] 288s tests/x509/test_ocsp.py ................................................ [ 69%] 288s ................................. [ 70%] 288s tests/x509/test_x509.py ................................................ [ 72%] 288s ........................................................................ [ 74%] 288s ........................................................................ [ 76%] 288s ........................................................................ [ 79%] 289s ........................................................................ [ 81%] 289s ............................................... [ 83%] 289s tests/x509/test_x509_crlbuilder.py ..................................... [ 84%] 289s .. [ 84%] 289s tests/x509/test_x509_ext.py ............................................ [ 85%] 289s ........................................................................ [ 88%] 289s ........................................................................ [ 90%] 289s ........................................................................ [ 92%] 290s ........................................................................ [ 95%] 290s ........................................................................ [ 97%] 290s ....................................................... [ 99%] 290s tests/x509/test_x509_revokedcertbuilder.py .................... [100%] 290s 290s =============================== warnings summary =============================== 290s tests/hazmat/primitives/test_pkcs12.py: 100 warnings 290s /tmp/autopkgtest.Gz4Zic/build.QLH/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). 290s now = datetime.utcnow() 290s 290s tests/hazmat/primitives/test_pkcs12.py: 27 warnings 290s /tmp/autopkgtest.Gz4Zic/build.QLH/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). 290s now = datetime.utcnow() 290s 290s tests/hazmat/primitives/test_pkcs12.py::test_pkcs12_ordering 290s tests/hazmat/primitives/test_pkcs12.py::test_pkcs12_ordering 290s tests/hazmat/primitives/test_pkcs12.py::test_pkcs12_ordering 290s /tmp/autopkgtest.Gz4Zic/build.QLH/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). 290s now = datetime.utcnow() 290s 290s tests/hazmat/primitives/test_pkcs7.py: 24 warnings 290s /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). 290s return rust_pkcs7.sign_and_serialize(self, encoding, options) 290s 290s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_invalid_add_response 290s /tmp/autopkgtest.Gz4Zic/build.QLH/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). 290s time = datetime.datetime.utcnow() 290s 290s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_unsupported_extension 290s /tmp/autopkgtest.Gz4Zic/build.QLH/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). 290s current_time = datetime.datetime.utcnow().replace(microsecond=0) 290s 290s tests/x509/test_ocsp.py: 17 warnings 290s /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). 290s return ocsp.create_ocsp_response( 290s 290s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_sign_no_responder_id 290s /tmp/autopkgtest.Gz4Zic/build.QLH/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). 290s current_time = datetime.datetime.utcnow().replace(microsecond=0) 290s 290s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_sign_invalid_hash_algorithm 290s /tmp/autopkgtest.Gz4Zic/build.QLH/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). 290s current_time = datetime.datetime.utcnow().replace(microsecond=0) 290s 290s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_sign_good_cert 290s /tmp/autopkgtest.Gz4Zic/build.QLH/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). 290s current_time = datetime.datetime.utcnow().replace(microsecond=0) 290s 290s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_sign_revoked_cert 290s /tmp/autopkgtest.Gz4Zic/build.QLH/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). 290s current_time = datetime.datetime.utcnow().replace(microsecond=0) 290s 290s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_sign_unknown_cert 290s /tmp/autopkgtest.Gz4Zic/build.QLH/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). 290s current_time = datetime.datetime.utcnow().replace(microsecond=0) 290s 290s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_sign_with_appended_certs 290s /tmp/autopkgtest.Gz4Zic/build.QLH/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). 290s current_time = datetime.datetime.utcnow().replace(microsecond=0) 290s 290s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_sign_revoked_no_next_update 290s /tmp/autopkgtest.Gz4Zic/build.QLH/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). 290s current_time = datetime.datetime.utcnow().replace(microsecond=0) 290s 290s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_sign_revoked_with_reason 290s /tmp/autopkgtest.Gz4Zic/build.QLH/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). 290s current_time = datetime.datetime.utcnow().replace(microsecond=0) 290s 290s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_sign_responder_id_key_hash 290s /tmp/autopkgtest.Gz4Zic/build.QLH/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). 290s current_time = datetime.datetime.utcnow().replace(microsecond=0) 290s 290s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_invalid_sign_responder_cert_does_not_match_private_key 290s /tmp/autopkgtest.Gz4Zic/build.QLH/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). 290s current_time = datetime.datetime.utcnow().replace(microsecond=0) 290s 290s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_sign_with_extension 290s /tmp/autopkgtest.Gz4Zic/build.QLH/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). 290s current_time = datetime.datetime.utcnow().replace(microsecond=0) 290s 290s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_sign_unknown_private_key 290s /tmp/autopkgtest.Gz4Zic/build.QLH/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). 290s current_time = datetime.datetime.utcnow().replace(microsecond=0) 290s 290s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_sign_unrecognized_hash_algorithm 290s /tmp/autopkgtest.Gz4Zic/build.QLH/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). 290s current_time = datetime.datetime.utcnow().replace(microsecond=0) 290s 290s tests/x509/test_ocsp.py::TestOCSPResponseBuilder::test_sign_none_hash_not_eddsa 290s /tmp/autopkgtest.Gz4Zic/build.QLH/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). 290s current_time = datetime.datetime.utcnow().replace(microsecond=0) 290s 290s tests/x509/test_ocsp.py::TestOCSPEdDSA::test_invalid_algorithm 290s /tmp/autopkgtest.Gz4Zic/build.QLH/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). 290s current_time = datetime.datetime.utcnow().replace(microsecond=0) 290s 290s tests/x509/test_ocsp.py::TestOCSPEdDSA::test_sign_ed25519 290s /tmp/autopkgtest.Gz4Zic/build.QLH/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). 290s current_time = datetime.datetime.utcnow().replace(microsecond=0) 290s 290s tests/x509/test_ocsp.py::TestOCSPEdDSA::test_sign_ed448 290s /tmp/autopkgtest.Gz4Zic/build.QLH/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). 290s current_time = datetime.datetime.utcnow().replace(microsecond=0) 290s 290s tests/x509/test_x509.py::TestSignatureRejection::test_crl_signing_check 290s /tmp/autopkgtest.Gz4Zic/build.QLH/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). 290s last_time = datetime.datetime.utcnow().replace(microsecond=0) 290s 290s tests/x509/test_x509_crlbuilder.py::TestCertificateRevocationListBuilder::test_add_unsupported_entry_extension 290s /tmp/autopkgtest.Gz4Zic/build.QLH/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). 290s .revocation_date(datetime.datetime.utcnow()) 290s 290s tests/x509/test_x509_ext.py::TestPrecertificateSignedCertificateTimestampsExtension::test_simple 290s /tmp/autopkgtest.Gz4Zic/build.QLH/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). 290s ) 290s 290s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 290s =========================== short test summary info ============================ 290s SKIPPED [2] tests/hazmat/backends/test_openssl.py:375: Requires OpenSSL without EVP_PKEY_DHX 290s SKIPPED [2] tests/hazmat/backends/test_openssl.py:397: Requires OpenSSL without EVP_PKEY_DHX 290s SKIPPED [1] tests/hazmat/primitives/test_aead.py:42: Requires OpenSSL without ChaCha20Poly1305 support 290s SKIPPED [1] tests/hazmat/primitives/test_aead.py:485: Requires OpenSSL without AESOCB3 support 290s SKIPPED [1] tests/hazmat/primitives/test_aes.py:275: AES in dummy-mode mode not supported 290s SKIPPED [1] tests/hazmat/primitives/test_dh.py:403: 256-bit DH keys are not supported in OpenSSL 3.0.0+ () 290s SKIPPED [1] tests/hazmat/primitives/test_dh.py:434: DH keys less than 512 bits are unsupported 290s SKIPPED [1] tests/hazmat/primitives/test_ed25519.py:46: Requires OpenSSL without Ed25519 support () 290s SKIPPED [1] tests/hazmat/primitives/test_ed448.py:26: Requires OpenSSL without Ed448 support () 290s SKIPPED [1] tests/hazmat/primitives/test_ed448.py:61: ed448 contexts are not currently supported 290s SKIPPED [1] tests/hazmat/primitives/utils.py:50: Does not support IDEA ECB () 290s SKIPPED [1] tests/hazmat/primitives/utils.py:50: Does not support IDEA CBC () 290s SKIPPED [1] tests/hazmat/primitives/utils.py:50: Does not support IDEA OFB () 290s SKIPPED [1] tests/hazmat/primitives/utils.py:50: Does not support IDEA CFB () 290s SKIPPED [1] tests/hazmat/primitives/test_pkcs12.py:638: Requires OpenSSL < 3.0.0 (or Libre/Boring) () 290s SKIPPED [1] tests/hazmat/primitives/test_pkcs12.py:661: Requires OpenSSL without PKCS12_set_mac (boring only) () 290s SKIPPED [1] tests/hazmat/primitives/test_poly1305.py:25: Requires OpenSSL without poly1305 support () 290s SKIPPED [1] tests/hazmat/primitives/test_rsa.py:324: Test requires a backend without RSA-PSS key support () 290s SKIPPED [1] tests/hazmat/primitives/test_rsa.py:2155: Requires FIPS () 290s SKIPPED [1] tests/hazmat/primitives/test_scrypt.py:45: Supports scrypt so can't test unsupported path () 290s SKIPPED [5] tests/hazmat/primitives/test_ssh.py:163: Requires bcrypt module 290s SKIPPED [1] tests/hazmat/primitives/test_ssh.py:247: Requires that bcrypt exists () 290s SKIPPED [1] tests/hazmat/primitives/test_ssh.py:270: Requires that bcrypt exists () 290s SKIPPED [1] tests/hazmat/primitives/test_ssh.py:289: Requires that bcrypt exists () 290s SKIPPED [9] tests/hazmat/primitives/test_ssh.py:618: Requires that bcrypt exists () 290s SKIPPED [1] tests/hazmat/primitives/test_x25519.py:26: Requires OpenSSL without X25519 support () 290s SKIPPED [1] tests/hazmat/primitives/test_x448.py:26: Requires OpenSSL without X448 support () 290s SKIPPED [23] ../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1621: no 'wycheproof_root' option found 290s ========== 3004 passed, 64 skipped, 193 warnings in 86.53s (0:01:26) =========== 291s autopkgtest [02:37:03]: test command1: -----------------------] 291s command1 PASS 291s autopkgtest [02:37:03]: test command1: - - - - - - - - - - results - - - - - - - - - - 292s autopkgtest [02:37:04]: @@@@@@@@@@@@@@@@@@@@ summary 292s command1 PASS 309s Creating nova instance adt-noble-ppc64el-python-cryptography-20240319-023212-juju-7f2275-prod-proposed-migration-environment-2 from image adt/ubuntu-noble-ppc64el-server-20240319.img (UUID 9d87beed-6c32-481f-958d-7469e26317f3)...