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