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