0s autopkgtest [09:34:36]: starting date and time: 2024-12-03 09:34:36+0000 0s autopkgtest [09:34:36]: git checkout: be626eda Fix armhf LXD image generation for plucky 0s autopkgtest [09:34:36]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.5m9b7ynf/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:openssl --apt-upgrade m2crypto --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=openssl/3.4.0-1ubuntu1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-arm64-40.secgroup --name adt-plucky-arm64-m2crypto-20241203-093436-juju-7f2275-prod-proposed-migration-environment-15-82974448-f746-4482-a6ba-618734f06ac6 --image adt/ubuntu-plucky-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --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,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 172s autopkgtest [09:37:28]: testbed dpkg architecture: arm64 172s autopkgtest [09:37:28]: testbed apt version: 2.9.14ubuntu1 172s autopkgtest [09:37:28]: @@@@@@@@@@@@@@@@@@@@ test bed setup 173s autopkgtest [09:37:29]: testbed release detected to be: None 174s autopkgtest [09:37:30]: updating testbed package index (apt update) 174s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 174s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 174s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 174s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 174s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [781 kB] 175s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [65.3 kB] 175s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 175s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.1 kB] 175s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [145 kB] 175s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [58.2 kB] 175s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [669 kB] 175s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [21.3 kB] 175s Fetched 1838 kB in 1s (1759 kB/s) 176s Reading package lists... 177s Reading package lists... 178s Building dependency tree... 178s Reading state information... 179s Calculating upgrade... 180s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 180s Reading package lists... 181s Building dependency tree... 181s Reading state information... 182s 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. 182s autopkgtest [09:37:38]: upgrading testbed (apt dist-upgrade and autopurge) 182s Reading package lists... 183s Building dependency tree... 183s Reading state information... 184s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 184s Starting 2 pkgProblemResolver with broken count: 0 184s Done 186s Entering ResolveByKeep 187s 188s The following NEW packages will be installed: 188s openssl-provider-legacy 188s The following packages will be upgraded: 188s libssl3t64 openssl 188s 2 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 188s Need to get 3838 kB of archives. 188s After this operation, 594 kB of additional disk space will be used. 188s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 openssl-provider-legacy arm64 3.4.0-1ubuntu1 [38.5 kB] 188s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 libssl3t64 arm64 3.4.0-1ubuntu1 [2641 kB] 189s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 openssl arm64 3.4.0-1ubuntu1 [1158 kB] 190s Fetched 3838 kB in 1s (5120 kB/s) 190s (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 ... 80333 files and directories currently installed.) 190s Preparing to unpack .../libssl3t64_3.4.0-1ubuntu1_arm64.deb ... 190s Unpacking libssl3t64:arm64 (3.4.0-1ubuntu1) over (3.3.1-2ubuntu2) ... 190s Selecting previously unselected package openssl-provider-legacy. 190s Preparing to unpack .../openssl-provider-legacy_3.4.0-1ubuntu1_arm64.deb ... 190s Unpacking openssl-provider-legacy (3.4.0-1ubuntu1) ... 190s Setting up libssl3t64:arm64 (3.4.0-1ubuntu1) ... 190s Setting up openssl-provider-legacy (3.4.0-1ubuntu1) ... 190s (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 ... 80336 files and directories currently installed.) 190s Preparing to unpack .../openssl_3.4.0-1ubuntu1_arm64.deb ... 190s Unpacking openssl (3.4.0-1ubuntu1) over (3.3.1-2ubuntu2) ... 190s Setting up openssl (3.4.0-1ubuntu1) ... 190s Installing new version of config file /etc/ssl/openssl.cnf ... 190s Processing triggers for man-db (2.13.0-1) ... 191s Processing triggers for libc-bin (2.40-1ubuntu3) ... 192s Reading package lists... 192s Building dependency tree... 192s Reading state information... 193s Starting pkgProblemResolver with broken count: 0 193s Starting 2 pkgProblemResolver with broken count: 0 193s Done 194s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 197s autopkgtest [09:37:53]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 14:19:41 UTC 2024 198s autopkgtest [09:37:54]: @@@@@@@@@@@@@@@@@@@@ apt-source m2crypto 200s Get:1 http://ftpmaster.internal/ubuntu plucky/universe m2crypto 0.42.0-2build1 (dsc) [2395 B] 200s Get:2 http://ftpmaster.internal/ubuntu plucky/universe m2crypto 0.42.0-2build1 (tar) [250 kB] 200s Get:3 http://ftpmaster.internal/ubuntu plucky/universe m2crypto 0.42.0-2build1 (diff) [60.1 kB] 201s gpgv: Signature made Wed Nov 13 08:57:53 2024 UTC 201s gpgv: using RSA key 568BF22A66337CBFC9A6B9B72C83DBC8E9BD0E37 201s gpgv: Can't check signature: No public key 201s dpkg-source: warning: cannot verify inline signature for ./m2crypto_0.42.0-2build1.dsc: no acceptable signature found 201s autopkgtest [09:37:57]: testing package m2crypto version 0.42.0-2build1 201s autopkgtest [09:37:57]: build not needed 202s autopkgtest [09:37:58]: test python3-m2crypto: preparing testbed 202s Reading package lists... 202s Building dependency tree... 202s Reading state information... 203s Starting pkgProblemResolver with broken count: 0 203s Starting 2 pkgProblemResolver with broken count: 0 203s Done 203s The following NEW packages will be installed: 203s python-m2crypto-doc python3-all python3-iniconfig python3-m2crypto 203s python3-packaging python3-pluggy python3-pytest 204s 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. 204s Need to get 3951 kB of archives. 204s After this operation, 9789 kB of additional disk space will be used. 204s Get:1 http://ftpmaster.internal/ubuntu plucky/universe arm64 python-m2crypto-doc all 0.42.0-2build1 [3415 kB] 204s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-all arm64 3.12.6-0ubuntu1 [886 B] 204s Get:3 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-iniconfig all 1.1.1-2 [6024 B] 204s Get:4 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-m2crypto arm64 0.42.0-2build1 [205 kB] 204s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.2-1 [51.5 kB] 204s Get:6 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pluggy all 1.5.0-1 [21.0 kB] 204s Get:7 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pytest all 8.3.3-1 [251 kB] 205s Fetched 3951 kB in 1s (5260 kB/s) 205s Selecting previously unselected package python-m2crypto-doc. 205s (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 ... 80338 files and directories currently installed.) 205s Preparing to unpack .../0-python-m2crypto-doc_0.42.0-2build1_all.deb ... 205s Unpacking python-m2crypto-doc (0.42.0-2build1) ... 205s Selecting previously unselected package python3-all. 205s Preparing to unpack .../1-python3-all_3.12.6-0ubuntu1_arm64.deb ... 205s Unpacking python3-all (3.12.6-0ubuntu1) ... 205s Selecting previously unselected package python3-iniconfig. 205s Preparing to unpack .../2-python3-iniconfig_1.1.1-2_all.deb ... 205s Unpacking python3-iniconfig (1.1.1-2) ... 205s Selecting previously unselected package python3-m2crypto. 205s Preparing to unpack .../3-python3-m2crypto_0.42.0-2build1_arm64.deb ... 205s Unpacking python3-m2crypto (0.42.0-2build1) ... 205s Selecting previously unselected package python3-packaging. 205s Preparing to unpack .../4-python3-packaging_24.2-1_all.deb ... 205s Unpacking python3-packaging (24.2-1) ... 205s Selecting previously unselected package python3-pluggy. 205s Preparing to unpack .../5-python3-pluggy_1.5.0-1_all.deb ... 205s Unpacking python3-pluggy (1.5.0-1) ... 205s Selecting previously unselected package python3-pytest. 205s Preparing to unpack .../6-python3-pytest_8.3.3-1_all.deb ... 205s Unpacking python3-pytest (8.3.3-1) ... 206s Setting up python3-iniconfig (1.1.1-2) ... 206s Setting up python3-all (3.12.6-0ubuntu1) ... 206s Setting up python-m2crypto-doc (0.42.0-2build1) ... 206s Setting up python3-packaging (24.2-1) ... 206s Setting up python3-m2crypto (0.42.0-2build1) ... 207s Setting up python3-pluggy (1.5.0-1) ... 207s Setting up python3-pytest (8.3.3-1) ... 208s Processing triggers for man-db (2.13.0-1) ... 209s autopkgtest [09:38:05]: test python3-m2crypto: [----------------------- 209s [*] testing python3.12: 210s ============================= test session starts ============================== 210s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3.12 210s cachedir: .pytest_cache 210s rootdir: /tmp/autopkgtest.CXqEXY/autopkgtest_tmp 210s plugins: typeguard-4.4.1 211s collecting ... collected 302 items 211s 211s tests/test_aes.py::AESTestCase::test_crypt PASSED [ 0%] 211s tests/test_aes.py::AESTestCase::test_existing_methods PASSED [ 0%] 211s tests/test_aes.py::AESTestCase::test_set_key PASSED [ 0%] 211s tests/test_aes.py::AESTestCase::test_type_check PASSED [ 1%] 211s tests/test_asn1.py::ASN1TestCase::test_Integer PASSED [ 1%] 211s tests/test_asn1.py::ASN1TestCase::test_Object PASSED [ 1%] 211s tests/test_asn1.py::ASN1TestCase::test_String PASSED [ 2%] 211s tests/test_asn1.py::ASN1TestCase::test_String_legacy PASSED [ 2%] 211s tests/test_asn1.py::ASN1TestCase::test_TIME PASSED [ 2%] 211s tests/test_asn1.py::ASN1TestCase::test_TIME_datetime PASSED [ 3%] 211s tests/test_asn1.py::ASN1TestCase::test_UTCTIME PASSED [ 3%] 211s tests/test_asn1.py::ASN1TestCase::test_UTCTIME_datetime PASSED [ 3%] 211s tests/test_authcookie.py::AuthCookieTestCase::test_cookie_str PASSED [ 4%] 211s tests/test_authcookie.py::AuthCookieTestCase::test_cookie_str2 PASSED [ 4%] 211s tests/test_authcookie.py::AuthCookieTestCase::test_cookie_str_arbitrary_change PASSED [ 4%] 211s tests/test_authcookie.py::AuthCookieTestCase::test_cookie_str_changed_data PASSED [ 5%] 211s tests/test_authcookie.py::AuthCookieTestCase::test_cookie_str_changed_exp PASSED [ 5%] 211s tests/test_authcookie.py::AuthCookieTestCase::test_cookie_str_changed_mac PASSED [ 5%] 211s tests/test_authcookie.py::AuthCookieTestCase::test_cookie_str_expired PASSED [ 6%] 211s tests/test_authcookie.py::AuthCookieTestCase::test_encode_part_str PASSED [ 6%] 211s tests/test_authcookie.py::AuthCookieTestCase::test_expired PASSED [ 6%] 211s tests/test_authcookie.py::AuthCookieTestCase::test_is_invalid_changed_data PASSED [ 7%] 211s tests/test_authcookie.py::AuthCookieTestCase::test_is_invalid_changed_exp PASSED [ 7%] 211s tests/test_authcookie.py::AuthCookieTestCase::test_is_invalid_changed_mac PASSED [ 7%] 211s tests/test_authcookie.py::AuthCookieTestCase::test_is_invalid_expired PASSED [ 8%] 211s tests/test_authcookie.py::AuthCookieTestCase::test_is_valid PASSED [ 8%] 211s tests/test_authcookie.py::AuthCookieTestCase::test_make_cookie PASSED [ 8%] 211s tests/test_authcookie.py::AuthCookieTestCase::test_make_cookie_invalid PASSED [ 9%] 211s tests/test_authcookie.py::AuthCookieTestCase::test_mix_unmix PASSED [ 9%] 211s tests/test_authcookie.py::AuthCookieTestCase::test_mix_unmix3 PASSED [ 9%] 211s tests/test_authcookie.py::AuthCookieTestCase::test_not_expired PASSED [ 10%] 211s tests/test_bio.py::CipherStreamTestCase::test_algo PASSED [ 10%] 211s tests/test_bio.py::CipherStreamTestCase::test_nosuchalgo PASSED [ 10%] 211s tests/test_bio_file.py::FileTestCase::test_closed PASSED [ 11%] 211s tests/test_bio_file.py::FileTestCase::test_openfile_rb PASSED [ 11%] 211s tests/test_bio_file.py::FileTestCase::test_openfile_wb PASSED [ 11%] 211s tests/test_bio_file.py::FileTestCase::test_readline PASSED [ 12%] 211s tests/test_bio_file.py::FileTestCase::test_readline_bin PASSED [ 12%] 211s tests/test_bio_file.py::FileTestCase::test_tell_seek PASSED [ 12%] 211s tests/test_bio_file.py::FileTestCase::test_use_pyfile PASSED [ 13%] 211s tests/test_bio_iobuf.py::IOBufferTestCase::test_closed PASSED [ 13%] 211s tests/test_bio_iobuf.py::IOBufferTestCase::test_init_empty PASSED [ 13%] 211s tests/test_bio_iobuf.py::IOBufferTestCase::test_init_something PASSED [ 14%] 211s tests/test_bio_iobuf.py::IOBufferTestCase::test_read_less_than PASSED [ 14%] 211s tests/test_bio_iobuf.py::IOBufferTestCase::test_read_more_than PASSED [ 14%] 211s tests/test_bio_iobuf.py::IOBufferTestCase::test_read_only PASSED [ 15%] 211s tests/test_bio_iobuf.py::IOBufferTestCase::test_readline PASSED [ 15%] 211s tests/test_bio_iobuf.py::IOBufferTestCase::test_readlines PASSED [ 15%] 211s tests/test_bio_membuf.py::MemoryBufferTestCase::test_closed PASSED [ 16%] 211s tests/test_bio_membuf.py::MemoryBufferTestCase::test_init_empty PASSED [ 16%] 211s tests/test_bio_membuf.py::MemoryBufferTestCase::test_init_empty_cm PASSED [ 16%] 211s tests/test_bio_membuf.py::MemoryBufferTestCase::test_init_something PASSED [ 17%] 211s tests/test_bio_membuf.py::MemoryBufferTestCase::test_init_something_cm PASSED [ 17%] 211s tests/test_bio_membuf.py::MemoryBufferTestCase::test_init_something_result_bytes PASSED [ 17%] 211s tests/test_bio_membuf.py::MemoryBufferTestCase::test_read_less_than PASSED [ 18%] 211s tests/test_bio_membuf.py::MemoryBufferTestCase::test_read_more_than PASSED [ 18%] 211s tests/test_bio_membuf.py::MemoryBufferTestCase::test_readline PASSED [ 18%] 211s tests/test_bio_membuf.py::MemoryBufferTestCase::test_write_close PASSED [ 19%] 211s tests/test_bio_ssl.py::SSLTestCase::test_do_handshake_fail PASSED [ 19%] 211s tests/test_bio_ssl.py::SSLTestCase::test_do_handshake_succeed PASSED [ 19%] 211s tests/test_bio_ssl.py::SSLTestCase::test_pass PASSED [ 20%] 211s tests/test_bio_ssl.py::SSLTestCase::test_set_ssl PASSED [ 20%] 211s tests/test_bio_ssl.py::SSLTestCase::test_should_read_fail PASSED [ 20%] 211s tests/test_bio_ssl.py::SSLTestCase::test_should_retry_fail PASSED [ 21%] 211s tests/test_bio_ssl.py::SSLTestCase::test_should_write_fail PASSED [ 21%] 211s tests/test_bn.py::BNTestCase::test_rand PASSED [ 21%] 211s tests/test_bn.py::BNTestCase::test_rand_range PASSED [ 22%] 211s tests/test_bn.py::BNTestCase::test_randfname PASSED [ 22%] 211s tests/test_dh.py::DHTestCase::test_compute_key PASSED [ 22%] 212s tests/test_dh.py::DHTestCase::test_gen_params PASSED [ 23%] 215s tests/test_dh.py::DHTestCase::test_gen_params_bad_cb PASSED [ 23%] 215s tests/test_dh.py::DHTestCase::test_init_junk PASSED [ 23%] 215s tests/test_dh.py::DHTestCase::test_load_params PASSED [ 24%] 215s tests/test_dh.py::DHTestCase::test_print_params PASSED [ 24%] 215s tests/test_dsa.py::DSATestCase::test_genparam_setparam_genkey PASSED [ 24%] 215s tests/test_dsa.py::DSATestCase::test_loadkey PASSED [ 25%] 215s tests/test_dsa.py::DSATestCase::test_loadkey_junk PASSED [ 25%] 215s tests/test_dsa.py::DSATestCase::test_loadparam PASSED [ 25%] 216s tests/test_dsa.py::DSATestCase::test_pub_key_from_params PASSED [ 26%] 216s tests/test_dsa.py::DSATestCase::test_pub_verify PASSED [ 26%] 216s tests/test_dsa.py::DSATestCase::test_sign PASSED [ 26%] 216s tests/test_dsa.py::DSATestCase::test_sign_asn1 PASSED [ 27%] 216s tests/test_dsa.py::DSATestCase::test_sign_with_params_only PASSED [ 27%] 216s tests/test_dsa.py::DSATestCase::test_verify_fail PASSED [ 27%] 216s tests/test_dsa.py::DSATestCase::test_verify_fail2 PASSED [ 28%] 216s tests/test_ec_curves.py::ECCurveTests::test_ec_curves_ECDSA PASSED [ 28%] 216s tests/test_ec_curves.py::ECCurveTests::test_ec_get_builtin_curves PASSED [ 28%] 216s tests/test_ecdh.py::ECDHTestCase::test_compute_key PASSED [ 29%] 216s tests/test_ecdh.py::ECDHTestCase::test_init_junk PASSED [ 29%] 216s tests/test_ecdh.py::ECDHTestCase::test_pubkey_from_der PASSED [ 29%] 216s tests/test_ecdsa.py::ECDSATestCase::test_genparam PASSED [ 30%] 216s tests/test_ecdsa.py::ECDSATestCase::test_loadkey PASSED [ 30%] 216s tests/test_ecdsa.py::ECDSATestCase::test_loadkey_junk PASSED [ 30%] 216s tests/test_ecdsa.py::ECDSATestCase::test_loadpubkey PASSED [ 31%] 216s tests/test_ecdsa.py::ECDSATestCase::test_pub_key_from_params PASSED [ 31%] 216s tests/test_ecdsa.py::ECDSATestCase::test_sign_dsa_asn1 PASSED [ 31%] 216s tests/test_ecdsa.py::ECDSATestCase::test_verify_dsa PASSED [ 32%] 216s tests/test_engine.py::EngineTestCase::test_by_id_dynamic PASSED [ 32%] 216s tests/test_engine.py::EngineTestCase::test_by_id_junk PASSED [ 32%] 216s tests/test_engine.py::EngineTestCase::test_by_id_openssl PASSED [ 33%] 216s tests/test_engine.py::EngineTestCase::test_engine_ctrl_cmd_string PASSED [ 33%] 216s tests/test_engine.py::EngineTestCase::test_load_certificate PASSED [ 33%] 216s tests/test_engine.py::EngineTestCase::test_load_private PASSED [ 34%] 216s tests/test_err.py::ErrTestCase::test_no_error PASSED [ 34%] 216s tests/test_evp.py::EVPTestCase::test_MessageDigest PASSED [ 34%] 216s tests/test_evp.py::EVPTestCase::test_as_der PASSED [ 35%] 216s tests/test_evp.py::EVPTestCase::test_as_der_capture_key PASSED [ 35%] 216s tests/test_evp.py::EVPTestCase::test_assign PASSED [ 35%] 216s tests/test_evp.py::EVPTestCase::test_digest_verify PASSED [ 36%] 216s tests/test_evp.py::EVPTestCase::test_digest_verify_final PASSED [ 36%] 216s tests/test_evp.py::EVPTestCase::test_get_digestbyname PASSED [ 36%] 216s tests/test_evp.py::EVPTestCase::test_get_ec PASSED [ 37%] 216s tests/test_evp.py::EVPTestCase::test_get_ec_fail PASSED [ 37%] 216s tests/test_evp.py::EVPTestCase::test_get_modulus PASSED [ 37%] 216s tests/test_evp.py::EVPTestCase::test_get_rsa PASSED [ 38%] 216s tests/test_evp.py::EVPTestCase::test_get_rsa_fail PASSED [ 38%] 216s tests/test_evp.py::EVPTestCase::test_hmac PASSED [ 38%] 216s tests/test_evp.py::EVPTestCase::test_load_bad PASSED [ 39%] 216s tests/test_evp.py::EVPTestCase::test_load_key_string_pubkey_ec PASSED [ 39%] 217s tests/test_evp.py::EVPTestCase::test_load_key_string_pubkey_rsa PASSED [ 39%] 217s tests/test_evp.py::EVPTestCase::test_pad PASSED [ 40%] 217s tests/test_evp.py::EVPTestCase::test_pem PASSED [ 40%] 217s tests/test_evp.py::EVPTestCase::test_pkey_verify_crash PASSED [ 40%] 217s tests/test_evp.py::EVPTestCase::test_size PASSED [ 41%] 217s tests/test_evp.py::EVPTestCase::test_verify_final PASSED [ 41%] 217s tests/test_evp.py::CipherTestCase::test_AES PASSED [ 41%] 217s tests/test_evp.py::CipherTestCase::test_AES_ctr PASSED [ 42%] 217s tests/test_evp.py::CipherTestCase::test_cipher_init_reinit PASSED [ 42%] 217s tests/test_evp.py::CipherTestCase::test_ciphers PASSED [ 42%] 217s tests/test_evp.py::CipherTestCase::test_ciphers_nosuch PASSED [ 43%] 217s tests/test_evp.py::CipherTestCase::test_raises PASSED [ 43%] 217s tests/test_evp.py::PBKDF2TestCase::test_rfc3211_test_vectors PASSED [ 43%] 217s tests/test_evp.py::HMACTestCase::test_complicated PASSED [ 44%] 217s tests/test_evp.py::HMACTestCase::test_simple PASSED [ 44%] 217s tests/test_init.py::InitTestCase::test_version_info PASSED [ 44%] 217s tests/test_obj.py::ObjectsTestCase::test_detailed_error_message SKIPPED [ 45%] 217s tests/test_obj.py::ObjectsTestCase::test_nid PASSED [ 45%] 217s tests/test_obj.py::ObjectsTestCase::test_obj2txt PASSED [ 45%] 217s tests/test_obj.py::ObjectsTestCase::test_tuple2tuple PASSED [ 46%] 217s tests/test_obj.py::ObjectsTestCase::test_unknown PASSED [ 46%] 217s tests/test_obj.py::ObjectsTestCase::test_x509_name PASSED [ 46%] 217s tests/test_rand.py::RandTestCase::test_bytes PASSED [ 47%] 217s tests/test_rand.py::RandTestCase::test_file_name PASSED [ 47%] 217s tests/test_rand.py::RandTestCase::test_load_save PASSED [ 47%] 217s tests/test_rand.py::RandTestCase::test_pseudo_bytes PASSED [ 48%] 217s tests/test_rand.py::RandTestCase::test_rand_status PASSED [ 48%] 217s tests/test_rand.py::RandTestCase::test_seed_add PASSED [ 48%] 217s tests/test_rc4.py::RC4TestCase::test_bad PASSED [ 49%] 217s tests/test_rc4.py::RC4TestCase::test_vectors PASSED [ 49%] 217s tests/test_rsa.py::RSATestCase::test_keygen PASSED [ 49%] 217s tests/test_rsa.py::RSATestCase::test_keygen_bad_cb PASSED [ 50%] 217s tests/test_rsa.py::RSATestCase::test_loadkey PASSED [ 50%] 217s tests/test_rsa.py::RSATestCase::test_loadkey_bio PASSED [ 50%] 217s tests/test_rsa.py::RSATestCase::test_loadkey_junk PASSED [ 50%] 217s tests/test_rsa.py::RSATestCase::test_loadkey_pp PASSED [ 51%] 217s tests/test_rsa.py::RSATestCase::test_loadkey_pp_bad_cb PASSED [ 51%] 217s tests/test_rsa.py::RSATestCase::test_loadpub PASSED [ 51%] 217s tests/test_rsa.py::RSATestCase::test_loadpub_bad PASSED [ 52%] 217s tests/test_rsa.py::RSATestCase::test_newpub PASSED [ 52%] 217s tests/test_rsa.py::RSATestCase::test_private_encrypt PASSED [ 52%] 217s tests/test_rsa.py::RSATestCase::test_public_encrypt SKIPPED (Relies ...) [ 53%] 217s tests/test_rsa.py::RSATestCase::test_rsa_exceptions PASSED [ 53%] 217s tests/test_rsa.py::RSATestCase::test_savepub PASSED [ 53%] 217s tests/test_rsa.py::RSATestCase::test_set_bn PASSED [ 54%] 217s tests/test_rsa.py::RSATestCase::test_set_e PASSED [ 54%] 217s tests/test_rsa.py::RSATestCase::test_set_n PASSED [ 54%] 217s tests/test_rsa.py::RSATestCase::test_set_n_then_set_e PASSED [ 55%] 217s tests/test_rsa.py::RSATestCase::test_sign_and_verify PASSED [ 55%] 223s tests/test_rsa.py::RSATestCase::test_sign_and_verify_rsassa_pss PASSED [ 55%] 223s tests/test_rsa.py::RSATestCase::test_sign_bad_method PASSED [ 56%] 223s tests/test_rsa.py::RSATestCase::test_sign_fail PASSED [ 56%] 223s tests/test_rsa.py::RSATestCase::test_verify_bad_method PASSED [ 56%] 223s tests/test_rsa.py::RSATestCase::test_verify_bad_signature PASSED [ 57%] 223s tests/test_rsa.py::RSATestCase::test_verify_mismatched_algo PASSED [ 57%] 223s tests/test_rsa.py::RSATestCase::test_x509_public_encrypt PASSED [ 57%] 223s tests/test_smime.py::SMIMETestCase::test_crlf PASSED [ 58%] 223s tests/test_smime.py::SMIMETestCase::test_decrypt PASSED [ 58%] 223s tests/test_smime.py::SMIMETestCase::test_decryptBad PASSED [ 58%] 223s tests/test_smime.py::SMIMETestCase::test_encrypt PASSED [ 59%] 223s tests/test_smime.py::SMIMETestCase::test_load_bad PASSED [ 59%] 223s tests/test_smime.py::SMIMETestCase::test_sign PASSED [ 59%] 223s tests/test_smime.py::SMIMETestCase::test_signEncryptDecryptVerify PASSED [ 60%] 223s tests/test_smime.py::SMIMETestCase::test_sign_nondefault_digest PASSED [ 60%] 223s tests/test_smime.py::SMIMETestCase::test_sign_unknown_digest PASSED [ 60%] 223s tests/test_smime.py::SMIMETestCase::test_sign_with_stack PASSED [ 61%] 223s tests/test_smime.py::SMIMETestCase::test_store_load_info PASSED [ 61%] 223s tests/test_smime.py::SMIMETestCase::test_verify PASSED [ 61%] 223s tests/test_smime.py::SMIMETestCase::test_verifyBad PASSED [ 62%] 223s tests/test_smime.py::SMIMETestCase::test_verify_with_method_callback PASSED [ 62%] 223s tests/test_smime.py::SMIMETestCase::test_verify_with_static_callback PASSED [ 62%] 223s tests/test_smime.py::WriteLoadTestCase::test_load_pkcs7 PASSED [ 63%] 223s tests/test_smime.py::WriteLoadTestCase::test_load_pkcs7_bio PASSED [ 63%] 223s tests/test_smime.py::WriteLoadTestCase::test_load_pkcs7_bio_der PASSED [ 63%] 223s tests/test_smime.py::WriteLoadTestCase::test_load_pkcs7_der PASSED [ 64%] 223s tests/test_smime.py::WriteLoadTestCase::test_load_smime PASSED [ 64%] 223s tests/test_smime.py::WriteLoadTestCase::test_load_smime_bio PASSED [ 64%] 223s tests/test_ssl.py::PassSSLClientTestCase::test_pass PASSED [ 65%] 225s tests/test_ssl.py::HttpslibSSLClientTestCase::test_HTTPSConnection PASSED [ 65%] 225s tests/test_ssl.py::HttpslibSSLClientTestCase::test_HTTPSConnection_illegalkeywordarg PASSED [ 65%] 225s tests/test_ssl.py::HttpslibSSLClientTestCase::test_HTTPSConnection_resume_session SKIPPED [ 66%] 226s tests/test_ssl.py::HttpslibSSLClientTestCase::test_HTTPSConnection_secure_context PASSED [ 66%] 228s tests/test_ssl.py::HttpslibSSLClientTestCase::test_HTTPSConnection_secure_context_fail PASSED [ 66%] 229s tests/test_ssl.py::HttpslibSSLSNIClientTestCase::test_IP_call PASSED [ 67%] 232s tests/test_ssl.py::HttpslibSSLSNIClientTestCase::test_SNI_support PASSED [ 67%] 234s tests/test_ssl.py::MiscSSLClientTestCase::test_blocking0 PASSED [ 67%] 235s tests/test_ssl.py::MiscSSLClientTestCase::test_blocking1 PASSED [ 68%] 237s tests/test_ssl.py::MiscSSLClientTestCase::test_cipher_mismatch PASSED [ 68%] 238s tests/test_ssl.py::MiscSSLClientTestCase::test_cipher_ok PASSED [ 68%] 240s tests/test_ssl.py::MiscSSLClientTestCase::test_info_callback PASSED [ 69%] 240s tests/test_ssl.py::MiscSSLClientTestCase::test_makefile SKIPPED (Doe...) [ 69%] 241s tests/test_ssl.py::MiscSSLClientTestCase::test_makefile_err PASSED [ 69%] 241s tests/test_ssl.py::MiscSSLClientTestCase::test_no_connection PASSED [ 70%] 243s tests/test_ssl.py::MiscSSLClientTestCase::test_no_such_cipher PASSED [ 70%] 244s tests/test_ssl.py::MiscSSLClientTestCase::test_server_simple PASSED [ 70%] 246s tests/test_ssl.py::MiscSSLClientTestCase::test_server_simple_secure_context PASSED [ 71%] 247s tests/test_ssl.py::MiscSSLClientTestCase::test_server_simple_secure_context_fail PASSED [ 71%] 249s tests/test_ssl.py::MiscSSLClientTestCase::test_server_simple_timeouts PASSED [ 71%] 250s tests/test_ssl.py::MiscSSLClientTestCase::test_ssl_connection_free PASSED [ 72%] 252s tests/test_ssl.py::MiscSSLClientTestCase::test_ssl_connection_no_free PASSED [ 72%] 253s tests/test_ssl.py::MiscSSLClientTestCase::test_tls1_nok PASSED [ 72%] 253s tests/test_ssl.py::MiscSSLClientTestCase::test_tls1_ok SKIPPED (No T...) [ 73%] 255s tests/test_ssl.py::MiscSSLClientTestCase::test_verify_allow_unknown_new PASSED [ 73%] 256s tests/test_ssl.py::MiscSSLClientTestCase::test_verify_allow_unknown_old PASSED [ 73%] 258s tests/test_ssl.py::MiscSSLClientTestCase::test_verify_cb_exception PASSED [ 74%] 259s tests/test_ssl.py::MiscSSLClientTestCase::test_verify_cb_lambda PASSED [ 74%] 261s tests/test_ssl.py::MiscSSLClientTestCase::test_verify_cb_new PASSED [ 74%] 262s tests/test_ssl.py::MiscSSLClientTestCase::test_verify_cb_new_class PASSED [ 75%] 264s tests/test_ssl.py::MiscSSLClientTestCase::test_verify_cb_new_function PASSED [ 75%] 264s tests/test_ssl.py::MiscSSLClientTestCase::test_verify_cb_not_callable PASSED [ 75%] 265s tests/test_ssl.py::MiscSSLClientTestCase::test_verify_cb_old PASSED [ 76%] 267s tests/test_ssl.py::MiscSSLClientTestCase::test_verify_cb_wrong_callable PASSED [ 76%] 268s tests/test_ssl.py::MiscSSLClientTestCase::test_verify_cert PASSED [ 76%] 270s tests/test_ssl.py::MiscSSLClientTestCase::test_verify_cert_fail PASSED [ 77%] 271s tests/test_ssl.py::MiscSSLClientTestCase::test_verify_cert_mutual_auth PASSED [ 77%] 273s tests/test_ssl.py::MiscSSLClientTestCase::test_verify_cert_mutual_auth_fail PASSED [ 77%] 275s tests/test_ssl.py::MiscSSLClientTestCase::test_verify_cert_mutual_auth_servernbio PASSED [ 78%] 277s tests/test_ssl.py::MiscSSLClientTestCase::test_verify_nocert_fail PASSED [ 78%] 278s tests/test_ssl.py::Urllib2SSLClientTestCase::test_urllib2 PASSED [ 78%] 280s tests/test_ssl.py::Urllib2SSLClientTestCase::test_urllib2_leak PASSED [ 79%] 280s tests/test_ssl.py::Urllib2SSLClientTestCase::test_urllib2_opener_handlers PASSED [ 79%] 281s tests/test_ssl.py::Urllib2SSLClientTestCase::test_urllib2_secure_context PASSED [ 79%] 283s tests/test_ssl.py::Urllib2SSLClientTestCase::test_urllib2_secure_context_fail PASSED [ 80%] 285s tests/test_ssl.py::Urllib2SSLClientTestCase::test_z_urllib2_opener PASSED [ 80%] 286s tests/test_ssl.py::Urllib2TEChunkedSSLClientTestCase::test_transfer_encoding_chunked PASSED [ 80%] 286s tests/test_ssl.py::TwistedSSLClientTestCase::test_makefile_timeout SKIPPED [ 81%] 286s tests/test_ssl.py::TwistedSSLClientTestCase::test_makefile_timeout_fires SKIPPED [ 81%] 286s tests/test_ssl.py::TwistedSSLClientTestCase::test_timeout SKIPPED (T...) [ 81%] 286s tests/test_ssl.py::TwistedSSLClientTestCase::test_twisted_wrapper SKIPPED [ 82%] 286s tests/test_ssl.py::XmlRpcLibTestCase::test_lib PASSED [ 82%] 286s tests/test_ssl.py::FtpsLibTestCase::test_lib PASSED [ 82%] 286s tests/test_ssl.py::SessionTestCase::test_session_load_bad PASSED [ 83%] 286s tests/test_ssl.py::FtpslibTestCase::test_26_compat PASSED [ 83%] 286s tests/test_ssl_offline.py::CheckerTestCase::test_checker PASSED [ 83%] 286s tests/test_ssl_offline.py::ContextTestCase::test_certstore PASSED [ 84%] 286s tests/test_ssl_offline.py::ContextTestCase::test_ctx_load_verify_locations PASSED [ 84%] 286s tests/test_ssl_offline.py::ContextTestCase::test_ctx_set_default_verify_paths PASSED [ 84%] 286s tests/test_ssl_offline.py::ContextTestCase::test_map PASSED [ 85%] 286s tests/test_threading.py::ThreadingTestCase::test_multiInitCleanup PASSED [ 85%] 286s tests/test_threading.py::ThreadingTestCase::test_pass PASSED [ 85%] 286s tests/test_timeout.py::TimeoutTestCase::test_timeout_0_0 PASSED [ 86%] 286s tests/test_timeout.py::TimeoutTestCase::test_timeout_0_456 PASSED [ 86%] 286s tests/test_timeout.py::TimeoutTestCase::test_timeout_0_456000 PASSED [ 86%] 286s tests/test_timeout.py::TimeoutTestCase::test_timeout_123_0 PASSED [ 87%] 286s tests/test_timeout.py::TimeoutTestCase::test_timeout_123_456 PASSED [ 87%] 286s tests/test_timeout.py::TimeoutTestCase::test_timeout_123_456000 PASSED [ 87%] 286s tests/test_timeout.py::TimeoutTestCase::test_timeout_1_499 PASSED [ 88%] 286s tests/test_timeout.py::TimeoutTestCase::test_timeout_1_501 PASSED [ 88%] 286s tests/test_timeout.py::TimeoutTestCase::test_timeout_2_2499000 PASSED [ 88%] 286s tests/test_timeout.py::TimeoutTestCase::test_timeout_2_2999000 PASSED [ 89%] 286s tests/test_timeout.py::TimeoutTestCase::test_timeout_2_3000000 PASSED [ 89%] 286s tests/test_timeout.py::TimeoutTestCase::test_timeout_max_0 PASSED [ 89%] 286s tests/test_timeout.py::TimeoutTestCase::test_timeout_max_456 PASSED [ 90%] 286s tests/test_timeout.py::TimeoutTestCase::test_timeout_max_456000 PASSED [ 90%] 286s tests/test_timeout.py::TimeoutTestCase::test_timeout_size PASSED [ 90%] 286s tests/test_x509.py::X509TestCase::test_date_after_2050_working PASSED [ 91%] 286s tests/test_x509.py::X509TestCase::test_date_reference_counting PASSED [ 91%] 286s tests/test_x509.py::X509TestCase::test_easy_rsa_generated PASSED [ 91%] 286s tests/test_x509.py::X509TestCase::test_ext PASSED [ 92%] 286s tests/test_x509.py::X509TestCase::test_ext_error PASSED [ 92%] 286s tests/test_x509.py::X509TestCase::test_extstack PASSED [ 92%] 286s tests/test_x509.py::X509TestCase::test_fingerprint PASSED [ 93%] 286s tests/test_x509.py::X509TestCase::test_load PASSED [ 93%] 286s tests/test_x509.py::X509TestCase::test_load_bio PASSED [ 93%] 286s tests/test_x509.py::X509TestCase::test_load_der_string PASSED [ 94%] 286s tests/test_x509.py::X509TestCase::test_load_request_bio PASSED [ 94%] 286s tests/test_x509.py::X509TestCase::test_load_string PASSED [ 94%] 286s tests/test_x509.py::X509TestCase::test_long_serial PASSED [ 95%] 286s tests/test_x509.py::X509TestCase::test_malformed_data PASSED [ 95%] 286s tests/test_x509.py::X509TestCase::test_mkcacert PASSED [ 95%] 286s tests/test_x509.py::X509TestCase::test_mkcert PASSED [ 96%] 287s tests/test_x509.py::X509TestCase::test_mkproxycert PASSED [ 96%] 287s tests/test_x509.py::X509TestCase::test_mkreq FAILED [ 96%] 287s tests/test_x509.py::X509TestCase::test_save PASSED [ 97%] 287s tests/test_x509.py::X509TestCase::test_save_der_string PASSED [ 97%] 287s tests/test_x509.py::X509TestCase::test_set_long_serial PASSED [ 97%] 287s tests/test_x509.py::X509TestCase::test_x509_name PASSED [ 98%] 287s tests/test_x509.py::X509StackTestCase::test_as_der PASSED [ 98%] 287s tests/test_x509.py::X509StackTestCase::test_make_stack PASSED [ 98%] 287s tests/test_x509.py::X509StackTestCase::test_make_stack_check_num PASSED [ 99%] 287s tests/test_x509.py::X509StackTestCase::test_make_stack_from_der PASSED [ 99%] 287s tests/test_x509.py::X509ExtTestCase::test_ext PASSED [ 99%] 287s tests/test_x509.py::CRLTestCase::test_new PASSED [100%] 287s 287s =================================== FAILURES =================================== 287s ___________________________ X509TestCase.test_mkreq ____________________________ 287s 287s self = 287s 287s def test_mkreq(self): 287s (req, _) = self.mkreq(1024) 287s req.save_pem('tests/tmp_request.pem') 287s req2 = X509.load_request('tests/tmp_request.pem') 287s os.remove('tests/tmp_request.pem') 287s req.save('tests/tmp_request.pem') 287s req3 = X509.load_request('tests/tmp_request.pem') 287s os.remove('tests/tmp_request.pem') 287s req.save('tests/tmp_request.der', format=X509.FORMAT_DER) 287s req4 = X509.load_request('tests/tmp_request.der', 287s format=X509.FORMAT_DER) 287s os.remove('tests/tmp_request.der') 287s if m2.OPENSSL_VERSION_NUMBER >= 0x30000000: 287s req2t = req2.as_text().replace(' Public-Key: (1024 bit)', ' RSA Public-Key: (1024 bit)') 287s req3t = req3.as_text().replace(' Public-Key: (1024 bit)', ' RSA Public-Key: (1024 bit)') 287s req4t = req3.as_text().replace(' Public-Key: (1024 bit)', ' RSA Public-Key: (1024 bit)') 287s else: 287s req2t = req2.as_text() 287s req3t = req3.as_text() 287s req4t = req3.as_text() 287s 287s self.assertEqual(req.as_pem(), req2.as_pem()) 287s self.assertEqual(req.as_text(), req2t) 287s self.assertEqual(req.as_der(), req2.as_der()) 287s self.assertEqual(req.as_pem(), req3.as_pem()) 287s self.assertEqual(req.as_text(), req3t) 287s self.assertEqual(req.as_der(), req3.as_der()) 287s self.assertEqual(req.as_pem(), req4.as_pem()) 287s self.assertEqual(req.as_text(), req4t) 287s self.assertEqual(req.as_der(), req4.as_der()) 287s self.assertEqual(req.get_version(), 0) 287s req.set_version(1) 287s > self.assertEqual(req.get_version(), 1) 287s E AssertionError: 0 != 1 287s 287s tests/test_x509.py:244: AssertionError 287s =============================== warnings summary =============================== 287s ../../../usr/lib/python3/dist-packages/M2Crypto/__init__.py:33 287s /usr/lib/python3/dist-packages/M2Crypto/__init__.py:33: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. 287s __ver = Version(__version__) 287s 287s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 287s =========================== short test summary info ============================ 287s SKIPPED [1] tests/test_obj.py:111: Failing on OpenSSL3 287s SKIPPED [1] tests/test_rsa.py:118: Relies on fix which happened only in OpenSSL 1.1.1c 287s SKIPPED [1] tests/test_ssl.py:195: Doesn't work with OpenSSL 1.1.1 287s SKIPPED [1] tests/test_ssl.py:957: Doesn't work with modern s_server, which checks HTTPS protocol. 287s SKIPPED [1] tests/test_ssl.py:491: No TLS1 is allowed 287s SKIPPED [1] tests/test_ssl.py:1218: Twisted integration has been temporarily switched off. 287s SKIPPED [1] tests/test_ssl.py:1236: Twisted integration has been temporarily switched off. 287s SKIPPED [1] tests/test_ssl.py:1193: Twisted integration has been temporarily switched off. 287s SKIPPED [1] tests/test_ssl.py:1275: Twisted integration has been temporarily switched off. 287s ======== 1 failed, 292 passed, 9 skipped, 1 warning in 76.91s (0:01:16) ======== 287s autopkgtest [09:39:23]: test python3-m2crypto: -----------------------] 288s python3-m2crypto FAIL non-zero exit status 1 288s autopkgtest [09:39:24]: test python3-m2crypto: - - - - - - - - - - results - - - - - - - - - - 288s autopkgtest [09:39:24]: @@@@@@@@@@@@@@@@@@@@ summary 288s python3-m2crypto FAIL non-zero exit status 1 300s nova [W] Using flock in prodstack6-arm64 300s flock: timeout while waiting to get lock 300s Creating nova instance adt-plucky-arm64-m2crypto-20241203-093436-juju-7f2275-prod-proposed-migration-environment-15-82974448-f746-4482-a6ba-618734f06ac6 from image adt/ubuntu-plucky-arm64-server-20241203.img (UUID b9293590-1195-42ea-ba16-5ab4b1e94eab)...