* Package: dev-python/pyopenssl-20.0.0  * Repository: gentoo  * Maintainer: python@gentoo.org  * USE: arm elibc_glibc kernel_linux python_targets_python3_7 test userland_GNU  * FEATURES: distcc network-sandbox preserve-libs sandbox splitdebug test userpriv usersandbox >>> Unpacking source... >>> Unpacking pyOpenSSL-20.0.0.tar.gz to /var/tmp/portage/dev-python/pyopenssl-20.0.0/work >>> Source unpacked in /var/tmp/portage/dev-python/pyopenssl-20.0.0/work >>> Preparing source in /var/tmp/portage/dev-python/pyopenssl-20.0.0/work/pyOpenSSL-20.0.0 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/pyopenssl-20.0.0/work/pyOpenSSL-20.0.0 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/pyopenssl-20.0.0/work/pyOpenSSL-20.0.0 ... * python3_7: running distutils-r1_run_phase distutils-r1_python_compile python3.7 setup.py build -j 3 running build running build_py creating /var/tmp/portage/dev-python/pyopenssl-20.0.0/work/pyOpenSSL-20.0.0-python3_7/lib/OpenSSL copying src/OpenSSL/version.py -> /var/tmp/portage/dev-python/pyopenssl-20.0.0/work/pyOpenSSL-20.0.0-python3_7/lib/OpenSSL copying src/OpenSSL/rand.py -> /var/tmp/portage/dev-python/pyopenssl-20.0.0/work/pyOpenSSL-20.0.0-python3_7/lib/OpenSSL copying src/OpenSSL/debug.py -> /var/tmp/portage/dev-python/pyopenssl-20.0.0/work/pyOpenSSL-20.0.0-python3_7/lib/OpenSSL copying src/OpenSSL/crypto.py -> /var/tmp/portage/dev-python/pyopenssl-20.0.0/work/pyOpenSSL-20.0.0-python3_7/lib/OpenSSL copying src/OpenSSL/_util.py -> /var/tmp/portage/dev-python/pyopenssl-20.0.0/work/pyOpenSSL-20.0.0-python3_7/lib/OpenSSL copying src/OpenSSL/__init__.py -> /var/tmp/portage/dev-python/pyopenssl-20.0.0/work/pyOpenSSL-20.0.0-python3_7/lib/OpenSSL copying src/OpenSSL/SSL.py -> /var/tmp/portage/dev-python/pyopenssl-20.0.0/work/pyOpenSSL-20.0.0-python3_7/lib/OpenSSL warning: build_py: byte-compiling is disabled, skipping. * Using python3.9 in global scope * python3_9: running distutils-r1_run_phase python_compile_all >>> Source compiled. >>> Test phase: dev-python/pyopenssl-20.0.0 * python3_7: running distutils-r1_run_phase python_test ============================================================================================================================= test session starts ============================================================================================================================== platform linux -- Python 3.7.9, pytest-6.1.1, py-1.9.0, pluggy-0.13.1 -- /usr/bin/python3.7 cachedir: .pytest_cache hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/var/tmp/portage/dev-python/pyopenssl-20.0.0/work/pyOpenSSL-20.0.0/.hypothesis/examples') OpenSSL: b'OpenSSL 1.1.1g 21 Apr 2020' cryptography: 3.2 rootdir: /var/tmp/portage/dev-python/pyopenssl-20.0.0/work/pyOpenSSL-20.0.0, configfile: setup.cfg, testpaths: tests plugins: xdist-2.1.0, forked-1.3.0, localserver-0.5.0, flaky-3.7.0, hypothesis-5.37.5 collecting ... collected 524 items tests/test_crypto.py::TestX509Ext::test_str PASSED [ 0%] tests/test_crypto.py::TestX509Ext::test_type PASSED [ 0%] tests/test_crypto.py::TestX509Ext::test_construction PASSED [ 0%] tests/test_crypto.py::TestX509Ext::test_invalid_extension[thisIsMadeUp-False-hi] PASSED [ 0%] tests/test_crypto.py::TestX509Ext::test_invalid_extension[basicConstraints-False-blah blah] PASSED [ 0%] tests/test_crypto.py::TestX509Ext::test_invalid_extension[proxyCertInfo-True-language:id-ppl-anyLanguage,pathlen:1,policy:text:AB] PASSED [ 1%] tests/test_crypto.py::TestX509Ext::test_get_critical[True] PASSED [ 1%] tests/test_crypto.py::TestX509Ext::test_get_critical[False] PASSED [ 1%] tests/test_crypto.py::TestX509Ext::test_get_short_name[basicConstraints-CA:true] PASSED [ 1%] tests/test_crypto.py::TestX509Ext::test_get_short_name[nsComment-foo bar] PASSED [ 1%] tests/test_crypto.py::TestX509Ext::test_get_data PASSED [ 2%] tests/test_crypto.py::TestX509Ext::test_unused_subject PASSED [ 2%] tests/test_crypto.py::TestX509Ext::test_subject PASSED [ 2%] tests/test_crypto.py::TestX509Ext::test_missing_subject PASSED [ 2%] tests/test_crypto.py::TestX509Ext::test_invalid_subject[True] PASSED [ 2%] tests/test_crypto.py::TestX509Ext::test_invalid_subject[bad_obj1] PASSED [ 3%] tests/test_crypto.py::TestX509Ext::test_invalid_subject[hello] PASSED [ 3%] tests/test_crypto.py::TestX509Ext::test_invalid_subject[bad_obj3] PASSED [ 3%] tests/test_crypto.py::TestX509Ext::test_unused_issuer PASSED [ 3%] tests/test_crypto.py::TestX509Ext::test_issuer PASSED [ 3%] tests/test_crypto.py::TestX509Ext::test_missing_issuer PASSED [ 4%] tests/test_crypto.py::TestX509Ext::test_invalid_issuer[True] PASSED [ 4%] tests/test_crypto.py::TestX509Ext::test_invalid_issuer[bad_obj1] PASSED [ 4%] tests/test_crypto.py::TestX509Ext::test_invalid_issuer[hello] PASSED [ 4%] tests/test_crypto.py::TestX509Ext::test_invalid_issuer[bad_obj3] PASSED [ 4%] tests/test_crypto.py::TestPKey::test_convert_from_cryptography_private_key PASSED [ 4%] tests/test_crypto.py::TestPKey::test_convert_from_cryptography_public_key PASSED [ 5%] tests/test_crypto.py::TestPKey::test_convert_from_cryptography_unsupported_type PASSED [ 5%] tests/test_crypto.py::TestPKey::test_convert_public_pkey_to_cryptography_key PASSED [ 5%] tests/test_crypto.py::TestPKey::test_convert_private_pkey_to_cryptography_key PASSED [ 5%] tests/test_crypto.py::TestPKey::test_type PASSED [ 5%] tests/test_crypto.py::TestPKey::test_construction PASSED [ 6%] tests/test_crypto.py::TestPKey::test_pregeneration PASSED [ 6%] tests/test_crypto.py::TestPKey::test_failed_generation PASSED [ 6%] tests/test_crypto.py::TestPKey::test_rsa_generation PASSED [ 6%] tests/test_crypto.py::TestPKey::test_dsa_generation PASSED [ 6%] tests/test_crypto.py::TestPKey::test_regeneration PASSED [ 7%] tests/test_crypto.py::TestPKey::test_inconsistent_key PASSED [ 7%] tests/test_crypto.py::TestPKey::test_check_public_key PASSED [ 7%] tests/test_crypto.py::TestPKey::test_check_pr_897 PASSED [ 7%] tests/test_crypto.py::TestX509Name::test_type PASSED [ 7%] tests/test_crypto.py::TestX509Name::test_only_string_attributes PASSED [ 8%] tests/test_crypto.py::TestX509Name::test_set_invalid_attribute PASSED [ 8%] tests/test_crypto.py::TestX509Name::test_attributes PASSED [ 8%] tests/test_crypto.py::TestX509Name::test_copy PASSED [ 8%] tests/test_crypto.py::TestX509Name::test_repr PASSED [ 8%] tests/test_crypto.py::TestX509Name::test_comparison PASSED [ 8%] tests/test_crypto.py::TestX509Name::test_hash PASSED [ 9%] tests/test_crypto.py::TestX509Name::test_der PASSED [ 9%] tests/test_crypto.py::TestX509Name::test_get_components PASSED [ 9%] tests/test_crypto.py::TestX509Name::test_load_nul_byte_attribute PASSED [ 9%] tests/test_crypto.py::TestX509Name::test_load_nul_byte_components PASSED [ 9%] tests/test_crypto.py::TestX509Name::test_set_attribute_failure PASSED [ 10%] tests/test_crypto.py::TestX509Req::test_sign_with_ungenerated PASSED [ 10%] tests/test_crypto.py::TestX509Req::test_sign_with_public_key PASSED [ 10%] tests/test_crypto.py::TestX509Req::test_sign_with_unknown_digest PASSED [ 10%] tests/test_crypto.py::TestX509Req::test_sign PASSED [ 10%] tests/test_crypto.py::TestX509Req::test_type PASSED [ 11%] tests/test_crypto.py::TestX509Req::test_construction PASSED [ 11%] tests/test_crypto.py::TestX509Req::test_version PASSED [ 11%] tests/test_crypto.py::TestX509Req::test_version_wrong_args PASSED [ 11%] tests/test_crypto.py::TestX509Req::test_get_subject PASSED [ 11%] tests/test_crypto.py::TestX509Req::test_add_extensions PASSED [ 12%] tests/test_crypto.py::TestX509Req::test_get_extensions PASSED [ 12%] tests/test_crypto.py::TestX509Req::test_add_extensions_wrong_args PASSED [ 12%] tests/test_crypto.py::TestX509Req::test_verify_wrong_args PASSED [ 12%] tests/test_crypto.py::TestX509Req::test_verify_uninitialized_key PASSED [ 12%] tests/test_crypto.py::TestX509Req::test_verify_wrong_key PASSED [ 12%] tests/test_crypto.py::TestX509Req::test_verify_success PASSED [ 13%] tests/test_crypto.py::TestX509Req::test_convert_from_cryptography PASSED [ 13%] tests/test_crypto.py::TestX509Req::test_convert_from_cryptography_unsupported_type PASSED [ 13%] tests/test_crypto.py::TestX509Req::test_convert_to_cryptography_key PASSED [ 13%] tests/test_crypto.py::TestX509::test_sign_with_ungenerated PASSED [ 13%] tests/test_crypto.py::TestX509::test_sign_with_public_key PASSED [ 14%] tests/test_crypto.py::TestX509::test_sign_with_unknown_digest PASSED [ 14%] tests/test_crypto.py::TestX509::test_sign PASSED [ 14%] tests/test_crypto.py::TestX509::test_type PASSED [ 14%] tests/test_crypto.py::TestX509::test_construction PASSED [ 14%] tests/test_crypto.py::TestX509::test_set_version_wrong_args PASSED [ 15%] tests/test_crypto.py::TestX509::test_version PASSED [ 15%] tests/test_crypto.py::TestX509::test_serial_number PASSED [ 15%] tests/test_crypto.py::TestX509::test_set_notBefore PASSED [ 15%] tests/test_crypto.py::TestX509::test_set_notAfter PASSED [ 15%] tests/test_crypto.py::TestX509::test_get_notBefore PASSED [ 16%] tests/test_crypto.py::TestX509::test_get_notAfter PASSED [ 16%] tests/test_crypto.py::TestX509::test_gmtime_adj_notBefore_wrong_args PASSED [ 16%] tests/test_crypto.py::TestX509::test_gmtime_adj_notBefore PASSED [ 16%] tests/test_crypto.py::TestX509::test_gmtime_adj_notAfter_wrong_args PASSED [ 16%] tests/test_crypto.py::TestX509::test_gmtime_adj_notAfter PASSED [ 16%] tests/test_crypto.py::TestX509::test_has_expired PASSED [ 17%] tests/test_crypto.py::TestX509::test_has_not_expired PASSED [ 17%] tests/test_crypto.py::TestX509::test_root_has_not_expired PASSED [ 17%] tests/test_crypto.py::TestX509::test_digest PASSED [ 17%] tests/test_crypto.py::TestX509::test_extension_count PASSED [ 17%] tests/test_crypto.py::TestX509::test_get_extension PASSED [ 18%] tests/test_crypto.py::TestX509::test_nullbyte_subjectAltName PASSED [ 18%] tests/test_crypto.py::TestX509::test_invalid_digest_algorithm PASSED [ 18%] tests/test_crypto.py::TestX509::test_get_subject PASSED [ 18%] tests/test_crypto.py::TestX509::test_set_subject_wrong_args PASSED [ 18%] tests/test_crypto.py::TestX509::test_set_subject PASSED [ 19%] tests/test_crypto.py::TestX509::test_get_issuer PASSED [ 19%] tests/test_crypto.py::TestX509::test_set_issuer_wrong_args PASSED [ 19%] tests/test_crypto.py::TestX509::test_set_issuer PASSED [ 19%] tests/test_crypto.py::TestX509::test_get_pubkey_uninitialized PASSED [ 19%] tests/test_crypto.py::TestX509::test_set_pubkey_wrong_type PASSED [ 20%] tests/test_crypto.py::TestX509::test_subject_name_hash PASSED [ 20%] tests/test_crypto.py::TestX509::test_get_signature_algorithm PASSED [ 20%] tests/test_crypto.py::TestX509::test_get_undefined_signature_algorithm PASSED [ 20%] tests/test_crypto.py::TestX509::test_sign_bad_pubkey_type PASSED [ 20%] tests/test_crypto.py::TestX509::test_convert_from_cryptography PASSED [ 20%] tests/test_crypto.py::TestX509::test_convert_from_cryptography_unsupported_type PASSED [ 21%] tests/test_crypto.py::TestX509::test_convert_to_cryptography_key PASSED [ 21%] tests/test_crypto.py::TestX509Store::test_type PASSED [ 21%] tests/test_crypto.py::TestX509Store::test_add_cert PASSED [ 21%] tests/test_crypto.py::TestX509Store::test_add_cert_wrong_args[None] PASSED [ 21%] tests/test_crypto.py::TestX509Store::test_add_cert_wrong_args[1.0] PASSED [ 22%] tests/test_crypto.py::TestX509Store::test_add_cert_wrong_args[cert] PASSED [ 22%] tests/test_crypto.py::TestX509Store::test_add_cert_wrong_args[cert3] PASSED [ 22%] tests/test_crypto.py::TestX509Store::test_add_cert_accepts_duplicate PASSED [ 22%] tests/test_crypto.py::TestX509Store::test_load_locations_parameters[/cafile\u2603-None-/cafile\xe2\x98\x83-] PASSED [ 22%] tests/test_crypto.py::TestX509Store::test_load_locations_parameters[/cafile\xe2\x98\x83-None-/cafile\xe2\x98\x83-] PASSED [ 23%] tests/test_crypto.py::TestX509Store::test_load_locations_parameters[None-/capath\u2603--/capath\xe2\x98\x83] PASSED [ 23%] tests/test_crypto.py::TestX509Store::test_load_locations_parameters[None-/capath\xe2\x98\x83--/capath\xe2\x98\x83] PASSED [ 23%] tests/test_crypto.py::TestX509Store::test_load_locations_fails_when_all_args_are_none PASSED [ 23%] tests/test_crypto.py::TestX509Store::test_load_locations_raises_error_on_failure PASSED [ 23%] tests/test_crypto.py::TestPKCS12::test_type PASSED [ 24%] tests/test_crypto.py::TestPKCS12::test_empty_construction PASSED [ 24%] tests/test_crypto.py::TestPKCS12::test_type_errors PASSED [ 24%] tests/test_crypto.py::TestPKCS12::test_key_only PASSED [ 24%] tests/test_crypto.py::TestPKCS12::test_cert_only PASSED [ 24%] tests/test_crypto.py::TestPKCS12::test_load_pkcs12 PASSED [ 25%] tests/test_crypto.py::TestPKCS12::test_load_pkcs12_text_passphrase PASSED [ 25%] tests/test_crypto.py::TestPKCS12::test_load_pkcs12_no_passphrase PASSED [ 25%] tests/test_crypto.py::TestPKCS12::test_load_pkcs12_null_passphrase_load_empty PASSED [ 25%] tests/test_crypto.py::TestPKCS12::test_load_pkcs12_null_passphrase_load_null PASSED [ 25%] tests/test_crypto.py::TestPKCS12::test_load_pkcs12_empty_passphrase_load_empty PASSED [ 25%] tests/test_crypto.py::TestPKCS12::test_load_pkcs12_empty_passphrase_load_null PASSED [ 26%] tests/test_crypto.py::TestPKCS12::test_load_pkcs12_garbage PASSED [ 26%] tests/test_crypto.py::TestPKCS12::test_replace PASSED [ 26%] tests/test_crypto.py::TestPKCS12::test_friendly_name PASSED [ 26%] tests/test_crypto.py::TestPKCS12::test_various_empty_passphrases PASSED [ 26%] tests/test_crypto.py::TestPKCS12::test_removing_ca_cert PASSED [ 27%] tests/test_crypto.py::TestPKCS12::test_export_without_mac PASSED [ 27%] tests/test_crypto.py::TestPKCS12::test_load_without_mac PASSED [ 27%] tests/test_crypto.py::TestPKCS12::test_zero_len_list_for_ca PASSED [ 27%] tests/test_crypto.py::TestPKCS12::test_export_without_args PASSED [ 27%] tests/test_crypto.py::TestPKCS12::test_export_without_bytes PASSED [ 28%] tests/test_crypto.py::TestPKCS12::test_key_cert_mismatch PASSED [ 28%] tests/test_crypto.py::TestLoadPublicKey::test_loading_works PASSED [ 28%] tests/test_crypto.py::TestLoadPublicKey::test_invalid_type PASSED [ 28%] tests/test_crypto.py::TestLoadPublicKey::test_invalid_key_format PASSED [ 28%] tests/test_crypto.py::TestLoadPublicKey::test_tolerates_unicode_strings PASSED [ 29%] tests/test_crypto.py::TestFunction::test_load_privatekey_invalid_format PASSED [ 29%] tests/test_crypto.py::TestFunction::test_load_privatekey_invalid_passphrase_type PASSED [ 29%] tests/test_crypto.py::TestFunction::test_load_privatekey_wrongPassphrase PASSED [ 29%] tests/test_crypto.py::TestFunction::test_load_privatekey_passphraseWrongType PASSED [ 29%] tests/test_crypto.py::TestFunction::test_load_privatekey_passphrase PASSED [ 29%] tests/test_crypto.py::TestFunction::test_load_privatekey_passphrase_exception PASSED [ 30%] tests/test_crypto.py::TestFunction::test_load_privatekey_wrongPassphraseCallback PASSED [ 30%] tests/test_crypto.py::TestFunction::test_load_privatekey_passphraseCallback PASSED [ 30%] tests/test_crypto.py::TestFunction::test_load_privatekey_passphrase_wrong_return_type PASSED [ 30%] tests/test_crypto.py::TestFunction::test_dump_privatekey_wrong_args PASSED [ 30%] tests/test_crypto.py::TestFunction::test_dump_privatekey_not_rsa_key PASSED [ 31%] tests/test_crypto.py::TestFunction::test_dump_privatekey_invalid_pkey PASSED [ 31%] tests/test_crypto.py::TestFunction::test_dump_privatekey_unknown_cipher PASSED [ 31%] tests/test_crypto.py::TestFunction::test_dump_privatekey_invalid_passphrase_type PASSED [ 31%] tests/test_crypto.py::TestFunction::test_dump_privatekey_invalid_filetype PASSED [ 31%] tests/test_crypto.py::TestFunction::test_load_privatekey_passphrase_callback_length PASSED [ 32%] tests/test_crypto.py::TestFunction::test_dump_privatekey_passphrase PASSED [ 32%] tests/test_crypto.py::TestFunction::test_dump_privatekey_passphrase_wrong_type PASSED [ 32%] tests/test_crypto.py::TestFunction::test_dump_certificate PASSED [ 32%] tests/test_crypto.py::TestFunction::test_dump_certificate_bad_type PASSED [ 32%] tests/test_crypto.py::TestFunction::test_dump_privatekey_pem PASSED [ 33%] tests/test_crypto.py::TestFunction::test_dump_privatekey_asn1 PASSED [ 33%] tests/test_crypto.py::TestFunction::test_load_privatekey_asn1 PASSED [ 33%] tests/test_crypto.py::TestFunction::test_dump_privatekey_text PASSED [ 33%] tests/test_crypto.py::TestFunction::test_dump_publickey_pem PASSED [ 33%] tests/test_crypto.py::TestFunction::test_dump_publickey_asn1 PASSED [ 33%] tests/test_crypto.py::TestFunction::test_dump_publickey_invalid_type PASSED [ 34%] tests/test_crypto.py::TestFunction::test_dump_certificate_request PASSED [ 34%] tests/test_crypto.py::TestFunction::test_dump_privatekey_passphrase_callback PASSED [ 34%] tests/test_crypto.py::TestFunction::test_dump_privatekey_passphrase_exception PASSED [ 34%] tests/test_crypto.py::TestFunction::test_dump_privatekey_passphraseCallbackLength PASSED [ 34%] tests/test_crypto.py::TestFunction::test_dump_privatekey_truncated PASSED [ 35%] tests/test_crypto.py::TestFunction::test_load_privatekey_truncated PASSED [ 35%] tests/test_crypto.py::TestFunction::test_load_pkcs7_data_pem PASSED [ 35%] tests/test_crypto.py::TestFunction::test_load_pkcs7_data_asn1 PASSED [ 35%] tests/test_crypto.py::TestFunction::test_load_pkcs7_data_invalid PASSED [ 35%] tests/test_crypto.py::TestFunction::test_load_pkcs7_type_invalid PASSED [ 36%] tests/test_crypto.py::TestLoadCertificate::test_bad_file_type PASSED [ 36%] tests/test_crypto.py::TestLoadCertificate::test_bad_certificate PASSED [ 36%] tests/test_crypto.py::TestPKCS7::test_type_is_signed PASSED [ 36%] tests/test_crypto.py::TestPKCS7::test_type_is_enveloped PASSED [ 36%] tests/test_crypto.py::TestPKCS7::test_type_is_signed_and_enveloped PASSED [ 37%] tests/test_crypto.py::TestPKCS7::test_type_is_data PASSED [ 37%] tests/test_crypto.py::TestPKCS7::test_get_type_name PASSED [ 37%] tests/test_crypto.py::TestPKCS7::test_attribute PASSED [ 37%] tests/test_crypto.py::TestNetscapeSPKI::test_sign_with_ungenerated PASSED [ 37%] tests/test_crypto.py::TestNetscapeSPKI::test_sign_with_public_key PASSED [ 37%] tests/test_crypto.py::TestNetscapeSPKI::test_sign_with_unknown_digest PASSED [ 38%] tests/test_crypto.py::TestNetscapeSPKI::test_sign PASSED [ 38%] tests/test_crypto.py::TestNetscapeSPKI::test_type PASSED [ 38%] tests/test_crypto.py::TestNetscapeSPKI::test_construction PASSED [ 38%] tests/test_crypto.py::TestNetscapeSPKI::test_invalid_attribute PASSED [ 38%] tests/test_crypto.py::TestNetscapeSPKI::test_b64_encode PASSED [ 39%] tests/test_crypto.py::TestRevoked::test_ignores_unsupported_revoked_cert_extension_get_reason PASSED [ 39%] tests/test_crypto.py::TestRevoked::test_ignores_unsupported_revoked_cert_extension_set_new_reason PASSED [ 39%] tests/test_crypto.py::TestRevoked::test_construction PASSED [ 39%] tests/test_crypto.py::TestRevoked::test_serial PASSED [ 39%] tests/test_crypto.py::TestRevoked::test_date PASSED [ 40%] tests/test_crypto.py::TestRevoked::test_reason PASSED [ 40%] tests/test_crypto.py::TestRevoked::test_set_reason_wrong_args[reason0] PASSED [ 40%] tests/test_crypto.py::TestRevoked::test_set_reason_wrong_args[1.0] PASSED [ 40%] tests/test_crypto.py::TestRevoked::test_set_reason_wrong_args[foo] PASSED [ 40%] tests/test_crypto.py::TestRevoked::test_set_reason_invalid_reason PASSED [ 41%] tests/test_crypto.py::TestCRL::test_construction PASSED [ 41%] tests/test_crypto.py::TestCRL::test_export_pem PASSED [ 41%] tests/test_crypto.py::TestCRL::test_export_der PASSED [ 41%] tests/test_crypto.py::TestCRL::test_export_text PASSED [ 41%] tests/test_crypto.py::TestCRL::test_export_custom_digest PASSED [ 41%] tests/test_crypto.py::TestCRL::test_export_md5_digest PASSED [ 42%] tests/test_crypto.py::TestCRL::test_export_default_digest PASSED [ 42%] tests/test_crypto.py::TestCRL::test_export_invalid PASSED [ 42%] tests/test_crypto.py::TestCRL::test_add_revoked_keyword PASSED [ 42%] tests/test_crypto.py::TestCRL::test_export_wrong_args PASSED [ 42%] tests/test_crypto.py::TestCRL::test_export_unknown_filetype PASSED [ 43%] tests/test_crypto.py::TestCRL::test_export_unknown_digest PASSED [ 43%] tests/test_crypto.py::TestCRL::test_get_revoked PASSED [ 43%] tests/test_crypto.py::TestCRL::test_load_crl PASSED [ 43%] tests/test_crypto.py::TestCRL::test_load_crl_bad_filetype PASSED [ 43%] tests/test_crypto.py::TestCRL::test_load_crl_bad_data PASSED [ 44%] tests/test_crypto.py::TestCRL::test_get_issuer PASSED [ 44%] tests/test_crypto.py::TestCRL::test_dump_crl PASSED [ 44%] tests/test_crypto.py::TestCRL::test_verify_with_revoked PASSED [ 44%] tests/test_crypto.py::TestCRL::test_verify_with_missing_crl PASSED [ 44%] tests/test_crypto.py::TestCRL::test_convert_from_cryptography PASSED [ 45%] tests/test_crypto.py::TestCRL::test_convert_from_cryptography_unsupported_type PASSED [ 45%] tests/test_crypto.py::TestCRL::test_convert_to_cryptography_key PASSED [ 45%] tests/test_crypto.py::TestX509StoreContext::test_valid PASSED [ 45%] tests/test_crypto.py::TestX509StoreContext::test_reuse PASSED [ 45%] tests/test_crypto.py::TestX509StoreContext::test_verify_success_with_chain[intermediate in chain] PASSED [ 45%] tests/test_crypto.py::TestX509StoreContext::test_verify_success_with_chain[empty chain] PASSED [ 46%] tests/test_crypto.py::TestX509StoreContext::test_verify_success_with_chain[extra certs in chain] PASSED [ 46%] tests/test_crypto.py::TestX509StoreContext::test_valid_untrusted_chain_reuse PASSED [ 46%] tests/test_crypto.py::TestX509StoreContext::test_chain_reference PASSED [ 46%] tests/test_crypto.py::TestX509StoreContext::test_verify_fail_with_chain[intermediate missing] PASSED [ 46%] tests/test_crypto.py::TestX509StoreContext::test_verify_fail_with_chain[no trusted root] PASSED [ 47%] tests/test_crypto.py::TestX509StoreContext::test_verify_fail_with_chain[untrusted root, full chain is available] PASSED [ 47%] tests/test_crypto.py::TestX509StoreContext::test_verify_fail_with_chain[untrusted root, intermediate is trusted and in chain] PASSED [ 47%] tests/test_crypto.py::TestX509StoreContext::test_untrusted_chain_wrong_args[non-certificate in chain] PASSED [ 47%] tests/test_crypto.py::TestX509StoreContext::test_untrusted_chain_wrong_args[non-list chain] PASSED [ 47%] tests/test_crypto.py::TestX509StoreContext::test_failure_building_untrusted_chain_raises PASSED [ 48%] tests/test_crypto.py::TestX509StoreContext::test_trusted_self_signed PASSED [ 48%] tests/test_crypto.py::TestX509StoreContext::test_untrusted_self_signed PASSED [ 48%] tests/test_crypto.py::TestX509StoreContext::test_invalid_chain_no_root PASSED [ 48%] tests/test_crypto.py::TestX509StoreContext::test_invalid_chain_no_intermediate PASSED [ 48%] tests/test_crypto.py::TestX509StoreContext::test_modification_pre_verify PASSED [ 49%] tests/test_crypto.py::TestX509StoreContext::test_verify_with_time FAILED [ 49%] tests/test_crypto.py::TestX509StoreContext::test_get_verified_chain PASSED [ 49%] tests/test_crypto.py::TestX509StoreContext::test_get_verified_chain_invalid_chain_no_root PASSED [ 49%] tests/test_crypto.py::TestX509StoreContext::test_verify_with_ca_file_location PASSED [ 49%] tests/test_crypto.py::TestX509StoreContext::test_verify_with_ca_path_location PASSED [ 50%] tests/test_crypto.py::TestX509StoreContext::test_verify_with_cafile_and_capath PASSED [ 50%] tests/test_crypto.py::TestX509StoreContext::test_verify_with_multiple_ca_files PASSED [ 50%] tests/test_crypto.py::TestX509StoreContext::test_verify_failure_with_empty_ca_directory PASSED [ 50%] tests/test_crypto.py::TestSignVerify::test_sign_verify PASSED [ 50%] tests/test_crypto.py::TestSignVerify::test_sign_verify_with_text PASSED [ 50%] tests/test_crypto.py::TestSignVerify::test_sign_verify_ecdsa PASSED [ 51%] tests/test_crypto.py::TestSignVerify::test_sign_nulls PASSED [ 51%] tests/test_crypto.py::TestSignVerify::test_sign_with_large_key PASSED [ 51%] tests/test_crypto.py::TestEllipticCurve::test_set PASSED [ 51%] tests/test_crypto.py::TestEllipticCurve::test_a_curve PASSED [ 51%] tests/test_crypto.py::TestEllipticCurve::test_not_a_curve PASSED [ 52%] tests/test_crypto.py::TestEllipticCurve::test_repr PASSED [ 52%] tests/test_crypto.py::TestEllipticCurve::test_to_EC_KEY PASSED [ 52%] tests/test_crypto.py::TestEllipticCurveEquality::test_identicalEq <- tests/util.py PASSED [ 52%] tests/test_crypto.py::TestEllipticCurveEquality::test_identicalNe <- tests/util.py PASSED [ 52%] tests/test_crypto.py::TestEllipticCurveEquality::test_sameEq <- tests/util.py PASSED [ 53%] tests/test_crypto.py::TestEllipticCurveEquality::test_sameNe <- tests/util.py PASSED [ 53%] tests/test_crypto.py::TestEllipticCurveEquality::test_differentEq <- tests/util.py PASSED [ 53%] tests/test_crypto.py::TestEllipticCurveEquality::test_differentNe <- tests/util.py PASSED [ 53%] tests/test_crypto.py::TestEllipticCurveEquality::test_anotherTypeEq <- tests/util.py PASSED [ 53%] tests/test_crypto.py::TestEllipticCurveEquality::test_anotherTypeNe <- tests/util.py PASSED [ 54%] tests/test_crypto.py::TestEllipticCurveEquality::test_delegatedEq <- tests/util.py PASSED [ 54%] tests/test_crypto.py::TestEllipticCurveEquality::test_delegateNe <- tests/util.py PASSED [ 54%] tests/test_crypto.py::TestEllipticCurveHash::test_contains PASSED [ 54%] tests/test_crypto.py::TestEllipticCurveHash::test_does_not_contain PASSED [ 54%] tests/test_debug.py::test_debug_info PASSED [ 54%] tests/test_rand.py::TestRand::test_add_wrong_args[args0] PASSED [ 55%] tests/test_rand.py::TestRand::test_add_wrong_args[args1] PASSED [ 55%] tests/test_rand.py::TestRand::test_add PASSED [ 55%] tests/test_rand.py::TestRand::test_status PASSED [ 55%] tests/test_ssl.py::TestVersion::test_OPENSSL_VERSION_NUMBER PASSED [ 55%] tests/test_ssl.py::TestVersion::test_SSLeay_version PASSED [ 56%] tests/test_ssl.py::TestContext::test_set_cipher_list[hello world:AES128-SHA0] PASSED [ 56%] tests/test_ssl.py::TestContext::test_set_cipher_list[hello world:AES128-SHA1] PASSED [ 56%] tests/test_ssl.py::TestContext::test_set_cipher_list_wrong_type PASSED [ 56%] tests/test_ssl.py::TestContext::test_set_cipher_list_no_cipher_match PASSED [ 56%] tests/test_ssl.py::TestContext::test_load_client_ca PASSED [ 57%] tests/test_ssl.py::TestContext::test_load_client_ca_invalid PASSED [ 57%] tests/test_ssl.py::TestContext::test_load_client_ca_unicode PASSED [ 57%] tests/test_ssl.py::TestContext::test_set_session_id PASSED [ 57%] tests/test_ssl.py::TestContext::test_set_session_id_fail PASSED [ 57%] tests/test_ssl.py::TestContext::test_set_session_id_unicode PASSED [ 58%] tests/test_ssl.py::TestContext::test_method PASSED [ 58%] tests/test_ssl.py::TestContext::test_type PASSED [ 58%] tests/test_ssl.py::TestContext::test_use_privatekey PASSED [ 58%] tests/test_ssl.py::TestContext::test_use_privatekey_file_missing PASSED [ 58%] tests/test_ssl.py::TestContext::test_wrong_privatekey_file_wrong_args[filetype0] PASSED [ 58%] tests/test_ssl.py::TestContext::test_wrong_privatekey_file_wrong_args[] PASSED [ 59%] tests/test_ssl.py::TestContext::test_wrong_privatekey_file_wrong_args[None] PASSED [ 59%] tests/test_ssl.py::TestContext::test_wrong_privatekey_file_wrong_args[1.0] PASSED [ 59%] tests/test_ssl.py::TestContext::test_use_privatekey_file_bytes PASSED [ 59%] tests/test_ssl.py::TestContext::test_use_privatekey_file_unicode PASSED [ 59%] tests/test_ssl.py::TestContext::test_use_certificate_wrong_args PASSED [ 60%] tests/test_ssl.py::TestContext::test_use_certificate_uninitialized PASSED [ 60%] tests/test_ssl.py::TestContext::test_use_certificate PASSED [ 60%] tests/test_ssl.py::TestContext::test_use_certificate_file_wrong_args PASSED [ 60%] tests/test_ssl.py::TestContext::test_use_certificate_file_missing PASSED [ 60%] tests/test_ssl.py::TestContext::test_use_certificate_file_bytes PASSED [ 61%] tests/test_ssl.py::TestContext::test_use_certificate_file_unicode PASSED [ 61%] tests/test_ssl.py::TestContext::test_check_privatekey_valid PASSED [ 61%] tests/test_ssl.py::TestContext::test_check_privatekey_invalid PASSED [ 61%] tests/test_ssl.py::TestContext::test_app_data PASSED [ 61%] tests/test_ssl.py::TestContext::test_set_options_wrong_args PASSED [ 62%] tests/test_ssl.py::TestContext::test_set_options PASSED [ 62%] tests/test_ssl.py::TestContext::test_set_mode_wrong_args PASSED [ 62%] tests/test_ssl.py::TestContext::test_set_mode PASSED [ 62%] tests/test_ssl.py::TestContext::test_set_timeout_wrong_args PASSED [ 62%] tests/test_ssl.py::TestContext::test_timeout PASSED [ 62%] tests/test_ssl.py::TestContext::test_set_verify_depth_wrong_args PASSED [ 63%] tests/test_ssl.py::TestContext::test_verify_depth PASSED [ 63%] tests/test_ssl.py::TestContext::test_set_passwd_cb_wrong_args PASSED [ 63%] tests/test_ssl.py::TestContext::test_set_passwd_cb PASSED [ 63%] tests/test_ssl.py::TestContext::test_passwd_callback_exception PASSED [ 63%] tests/test_ssl.py::TestContext::test_passwd_callback_false PASSED [ 64%] tests/test_ssl.py::TestContext::test_passwd_callback_non_string PASSED [ 64%] tests/test_ssl.py::TestContext::test_passwd_callback_too_long PASSED [ 64%] tests/test_ssl.py::TestContext::test_set_info_callback PASSED [ 64%] tests/test_ssl.py::TestContext::test_set_keylog_callback PASSED [ 64%] tests/test_ssl.py::TestContext::test_load_verify_bytes_cafile PASSED [ 65%] tests/test_ssl.py::TestContext::test_load_verify_unicode_cafile PASSED [ 65%] tests/test_ssl.py::TestContext::test_load_verify_invalid_file PASSED [ 65%] tests/test_ssl.py::TestContext::test_load_verify_directory_bytes_capath PASSED [ 65%] tests/test_ssl.py::TestContext::test_load_verify_directory_unicode_capath PASSED [ 65%] tests/test_ssl.py::TestContext::test_load_verify_locations_wrong_args PASSED [ 66%] tests/test_ssl.py::TestContext::test_fallback_default_verify_paths PASSED [ 66%] tests/test_ssl.py::TestContext::test_check_env_vars PASSED [ 66%] tests/test_ssl.py::TestContext::test_verify_no_fallback_if_env_vars_set PASSED [ 66%] tests/test_ssl.py::TestContext::test_fallback_path_is_not_file_or_dir PASSED [ 66%] tests/test_ssl.py::TestContext::test_add_extra_chain_cert_invalid_cert PASSED [ 66%] tests/test_ssl.py::TestContext::test_set_verify_callback_connection_argument PASSED [ 67%] tests/test_ssl.py::TestContext::test_x509_in_verify_works PASSED [ 67%] tests/test_ssl.py::TestContext::test_set_verify_callback_exception PASSED [ 67%] tests/test_ssl.py::TestContext::test_set_verify_callback_reference PASSED [ 67%] tests/test_ssl.py::TestContext::test_set_verify_default_callback[1] PASSED [ 67%] tests/test_ssl.py::TestContext::test_set_verify_default_callback[0] PASSED [ 68%] tests/test_ssl.py::TestContext::test_add_extra_chain_cert PASSED [ 68%] tests/test_ssl.py::TestContext::test_use_certificate_chain_file_bytes PASSED [ 68%] tests/test_ssl.py::TestContext::test_use_certificate_chain_file_unicode PASSED [ 68%] tests/test_ssl.py::TestContext::test_use_certificate_chain_file_wrong_args PASSED [ 68%] tests/test_ssl.py::TestContext::test_use_certificate_chain_file_missing_file PASSED [ 69%] tests/test_ssl.py::TestContext::test_set_verify_mode PASSED [ 69%] tests/test_ssl.py::TestContext::test_set_verify_wrong_mode_arg[None] PASSED [ 69%] tests/test_ssl.py::TestContext::test_set_verify_wrong_mode_arg[1.0] PASSED [ 69%] tests/test_ssl.py::TestContext::test_set_verify_wrong_mode_arg[mode2] PASSED [ 69%] tests/test_ssl.py::TestContext::test_set_verify_wrong_mode_arg[mode] PASSED [ 70%] tests/test_ssl.py::TestContext::test_set_verify_wrong_callable_arg[1.0] PASSED [ 70%] tests/test_ssl.py::TestContext::test_set_verify_wrong_callable_arg[mode] PASSED [ 70%] tests/test_ssl.py::TestContext::test_set_verify_wrong_callable_arg[callback2] PASSED [ 70%] tests/test_ssl.py::TestContext::test_load_tmp_dh_wrong_args PASSED [ 70%] tests/test_ssl.py::TestContext::test_load_tmp_dh_missing_file PASSED [ 70%] tests/test_ssl.py::TestContext::test_load_tmp_dh_bytes PASSED [ 71%] tests/test_ssl.py::TestContext::test_load_tmp_dh_unicode PASSED [ 71%] tests/test_ssl.py::TestContext::test_set_tmp_ecdh PASSED [ 71%] tests/test_ssl.py::TestContext::test_set_session_cache_mode_wrong_args PASSED [ 71%] tests/test_ssl.py::TestContext::test_session_cache_mode PASSED [ 71%] tests/test_ssl.py::TestContext::test_get_cert_store PASSED [ 72%] tests/test_ssl.py::TestContext::test_set_tlsext_use_srtp_not_bytes PASSED [ 72%] tests/test_ssl.py::TestContext::test_set_tlsext_use_srtp_invalid_profile PASSED [ 72%] tests/test_ssl.py::TestContext::test_set_tlsext_use_srtp_valid PASSED [ 72%] tests/test_ssl.py::TestServerNameCallback::test_old_callback_forgotten PASSED [ 72%] tests/test_ssl.py::TestServerNameCallback::test_no_servername PASSED [ 73%] tests/test_ssl.py::TestServerNameCallback::test_servername PASSED [ 73%] tests/test_ssl.py::TestApplicationLayerProtoNegotiation::test_alpn_success PASSED [ 73%] tests/test_ssl.py::TestApplicationLayerProtoNegotiation::test_alpn_set_on_connection PASSED [ 73%] tests/test_ssl.py::TestApplicationLayerProtoNegotiation::test_alpn_server_fail PASSED [ 73%] tests/test_ssl.py::TestApplicationLayerProtoNegotiation::test_alpn_no_server_overlap PASSED [ 74%] tests/test_ssl.py::TestApplicationLayerProtoNegotiation::test_alpn_select_cb_returns_invalid_value PASSED [ 74%] tests/test_ssl.py::TestApplicationLayerProtoNegotiation::test_alpn_no_server PASSED [ 74%] tests/test_ssl.py::TestApplicationLayerProtoNegotiation::test_alpn_callback_exception PASSED [ 74%] tests/test_ssl.py::TestSession::test_construction PASSED [ 74%] tests/test_ssl.py::TestConnection::test_type PASSED [ 75%] tests/test_ssl.py::TestConnection::test_wrong_args[bad_context0] PASSED [ 75%] tests/test_ssl.py::TestConnection::test_wrong_args[context] PASSED [ 75%] tests/test_ssl.py::TestConnection::test_wrong_args[None] PASSED [ 75%] tests/test_ssl.py::TestConnection::test_wrong_args[1] PASSED [ 75%] tests/test_ssl.py::TestConnection::test_bio_write_wrong_args[bad_bio0] PASSED [ 75%] tests/test_ssl.py::TestConnection::test_bio_write_wrong_args[None] PASSED [ 76%] tests/test_ssl.py::TestConnection::test_bio_write_wrong_args[1] PASSED [ 76%] tests/test_ssl.py::TestConnection::test_bio_write_wrong_args[bad_bio3] PASSED [ 76%] tests/test_ssl.py::TestConnection::test_bio_write PASSED [ 76%] tests/test_ssl.py::TestConnection::test_get_context PASSED [ 76%] tests/test_ssl.py::TestConnection::test_set_context_wrong_args PASSED [ 77%] tests/test_ssl.py::TestConnection::test_set_context PASSED [ 77%] tests/test_ssl.py::TestConnection::test_set_tlsext_host_name_wrong_args PASSED [ 77%] tests/test_ssl.py::TestConnection::test_pending PASSED [ 77%] tests/test_ssl.py::TestConnection::test_peek PASSED [ 77%] tests/test_ssl.py::TestConnection::test_connect_wrong_args PASSED [ 78%] tests/test_ssl.py::TestConnection::test_connect_refused PASSED [ 78%] tests/test_ssl.py::TestConnection::test_connect PASSED [ 78%] tests/test_ssl.py::TestConnection::test_connect_ex PASSED [ 78%] tests/test_ssl.py::TestConnection::test_accept PASSED [ 78%] tests/test_ssl.py::TestConnection::test_shutdown_wrong_args PASSED [ 79%] tests/test_ssl.py::TestConnection::test_shutdown PASSED [ 79%] tests/test_ssl.py::TestConnection::test_shutdown_closed PASSED [ 79%] tests/test_ssl.py::TestConnection::test_shutdown_truncated PASSED [ 79%] tests/test_ssl.py::TestConnection::test_set_shutdown PASSED [ 79%] tests/test_ssl.py::TestConnection::test_state_string PASSED [ 79%] tests/test_ssl.py::TestConnection::test_app_data PASSED [ 80%] tests/test_ssl.py::TestConnection::test_makefile PASSED [ 80%] tests/test_ssl.py::TestConnection::test_get_certificate PASSED [ 80%] tests/test_ssl.py::TestConnection::test_get_certificate_none PASSED [ 80%] tests/test_ssl.py::TestConnection::test_get_peer_cert_chain PASSED [ 80%] tests/test_ssl.py::TestConnection::test_get_peer_cert_chain_none PASSED [ 81%] tests/test_ssl.py::TestConnection::test_get_verified_chain PASSED [ 81%] tests/test_ssl.py::TestConnection::test_get_verified_chain_none PASSED [ 81%] tests/test_ssl.py::TestConnection::test_get_verified_chain_unconnected PASSED [ 81%] tests/test_ssl.py::TestConnection::test_get_session_unconnected PASSED [ 81%] tests/test_ssl.py::TestConnection::test_server_get_session PASSED [ 82%] tests/test_ssl.py::TestConnection::test_client_get_session PASSED [ 82%] tests/test_ssl.py::TestConnection::test_set_session_wrong_args PASSED [ 82%] tests/test_ssl.py::TestConnection::test_client_set_session PASSED [ 82%] tests/test_ssl.py::TestConnection::test_set_session_wrong_method PASSED [ 82%] tests/test_ssl.py::TestConnection::test_wantWriteError PASSED [ 83%] tests/test_ssl.py::TestConnection::test_get_finished_before_connect PASSED [ 83%] tests/test_ssl.py::TestConnection::test_get_peer_finished_before_connect PASSED [ 83%] tests/test_ssl.py::TestConnection::test_get_finished PASSED [ 83%] tests/test_ssl.py::TestConnection::test_get_peer_finished PASSED [ 83%] tests/test_ssl.py::TestConnection::test_tls_finished_message_symmetry PASSED [ 83%] tests/test_ssl.py::TestConnection::test_get_cipher_name_before_connect PASSED [ 84%] tests/test_ssl.py::TestConnection::test_get_cipher_name PASSED [ 84%] tests/test_ssl.py::TestConnection::test_get_cipher_version_before_connect PASSED [ 84%] tests/test_ssl.py::TestConnection::test_get_cipher_version PASSED [ 84%] tests/test_ssl.py::TestConnection::test_get_cipher_bits_before_connect PASSED [ 84%] tests/test_ssl.py::TestConnection::test_get_cipher_bits PASSED [ 85%] tests/test_ssl.py::TestConnection::test_get_protocol_version_name PASSED [ 85%] tests/test_ssl.py::TestConnection::test_get_protocol_version PASSED [ 85%] tests/test_ssl.py::TestConnection::test_wantReadError PASSED [ 85%] tests/test_ssl.py::TestConnection::test_bio_read_wrong_args[1.0] PASSED [ 85%] tests/test_ssl.py::TestConnection::test_bio_read_wrong_args[None] PASSED [ 86%] tests/test_ssl.py::TestConnection::test_bio_read_wrong_args[bufsize2] PASSED [ 86%] tests/test_ssl.py::TestConnection::test_bio_read_wrong_args[bufsize] PASSED [ 86%] tests/test_ssl.py::TestConnection::test_buffer_size PASSED [ 86%] tests/test_ssl.py::TestConnectionGetCipherList::test_result PASSED [ 86%] tests/test_ssl.py::TestConnectionSend::test_wrong_args PASSED [ 87%] tests/test_ssl.py::TestConnectionSend::test_short_bytes PASSED [ 87%] tests/test_ssl.py::TestConnectionSend::test_text PASSED [ 87%] tests/test_ssl.py::TestConnectionSend::test_short_memoryview PASSED [ 87%] tests/test_ssl.py::TestConnectionSend::test_short_bytearray PASSED [ 87%] tests/test_ssl.py::TestConnectionSend::test_short_buffer SKIPPED [ 87%] tests/test_ssl.py::TestConnectionSend::test_buf_too_large SKIPPED [ 88%] tests/test_ssl.py::TestConnectionRecvInto::test_bytearray_no_length PASSED [ 88%] tests/test_ssl.py::TestConnectionRecvInto::test_bytearray_respects_length PASSED [ 88%] tests/test_ssl.py::TestConnectionRecvInto::test_bytearray_doesnt_overfill PASSED [ 88%] tests/test_ssl.py::TestConnectionRecvInto::test_bytearray_really_doesnt_overfill PASSED [ 88%] tests/test_ssl.py::TestConnectionRecvInto::test_peek PASSED [ 89%] tests/test_ssl.py::TestConnectionRecvInto::test_memoryview_no_length PASSED [ 89%] tests/test_ssl.py::TestConnectionRecvInto::test_memoryview_respects_length PASSED [ 89%] tests/test_ssl.py::TestConnectionRecvInto::test_memoryview_doesnt_overfill PASSED [ 89%] tests/test_ssl.py::TestConnectionRecvInto::test_memoryview_really_doesnt_overfill PASSED [ 89%] tests/test_ssl.py::TestConnectionSendall::test_wrong_args PASSED [ 90%] tests/test_ssl.py::TestConnectionSendall::test_short PASSED [ 90%] tests/test_ssl.py::TestConnectionSendall::test_text PASSED [ 90%] tests/test_ssl.py::TestConnectionSendall::test_short_memoryview PASSED [ 90%] tests/test_ssl.py::TestConnectionSendall::test_short_buffers SKIPPED [ 90%] tests/test_ssl.py::TestConnectionSendall::test_long PASSED [ 91%] tests/test_ssl.py::TestConnectionSendall::test_closed PASSED [ 91%] tests/test_ssl.py::TestConnectionRenegotiate::test_total_renegotiations PASSED [ 91%] tests/test_ssl.py::TestConnectionRenegotiate::test_renegotiate PASSED [ 91%] tests/test_ssl.py::TestError::test_type PASSED [ 91%] tests/test_ssl.py::TestConstants::test_op_no_query_mtu PASSED [ 91%] tests/test_ssl.py::TestConstants::test_op_cookie_exchange PASSED [ 92%] tests/test_ssl.py::TestConstants::test_op_no_ticket PASSED [ 92%] tests/test_ssl.py::TestConstants::test_op_no_compression PASSED [ 92%] tests/test_ssl.py::TestConstants::test_sess_cache_off PASSED [ 92%] tests/test_ssl.py::TestConstants::test_sess_cache_client PASSED [ 92%] tests/test_ssl.py::TestConstants::test_sess_cache_server PASSED [ 93%] tests/test_ssl.py::TestConstants::test_sess_cache_both PASSED [ 93%] tests/test_ssl.py::TestConstants::test_sess_cache_no_auto_clear PASSED [ 93%] tests/test_ssl.py::TestConstants::test_sess_cache_no_internal_lookup PASSED [ 93%] tests/test_ssl.py::TestConstants::test_sess_cache_no_internal_store PASSED [ 93%] tests/test_ssl.py::TestConstants::test_sess_cache_no_internal PASSED [ 94%] tests/test_ssl.py::TestMemoryBIO::test_memory_connect PASSED [ 94%] tests/test_ssl.py::TestMemoryBIO::test_socket_connect PASSED [ 94%] tests/test_ssl.py::TestMemoryBIO::test_socket_overrides_memory PASSED [ 94%] tests/test_ssl.py::TestMemoryBIO::test_outgoing_overflow PASSED [ 94%] tests/test_ssl.py::TestMemoryBIO::test_shutdown PASSED [ 95%] tests/test_ssl.py::TestMemoryBIO::test_unexpected_EOF PASSED [ 95%] tests/test_ssl.py::TestMemoryBIO::test_set_client_ca_list_errors PASSED [ 95%] tests/test_ssl.py::TestMemoryBIO::test_set_empty_ca_list PASSED [ 95%] tests/test_ssl.py::TestMemoryBIO::test_set_one_ca_list PASSED [ 95%] tests/test_ssl.py::TestMemoryBIO::test_set_multiple_ca_list PASSED [ 95%] tests/test_ssl.py::TestMemoryBIO::test_reset_ca_list PASSED [ 96%] tests/test_ssl.py::TestMemoryBIO::test_mutated_ca_list PASSED [ 96%] tests/test_ssl.py::TestMemoryBIO::test_add_client_ca_wrong_args PASSED [ 96%] tests/test_ssl.py::TestMemoryBIO::test_one_add_client_ca PASSED [ 96%] tests/test_ssl.py::TestMemoryBIO::test_multiple_add_client_ca PASSED [ 96%] tests/test_ssl.py::TestMemoryBIO::test_set_and_add_client_ca PASSED [ 97%] tests/test_ssl.py::TestMemoryBIO::test_set_after_add_client_ca PASSED [ 97%] tests/test_ssl.py::TestInfoConstants::test_integers PASSED [ 97%] tests/test_ssl.py::TestRequires::test_available PASSED [ 97%] tests/test_ssl.py::TestRequires::test_unavailable PASSED [ 97%] tests/test_ssl.py::TestOCSP::test_callbacks_arent_called_by_default PASSED [ 98%] tests/test_ssl.py::TestOCSP::test_client_negotiates_without_server PASSED [ 98%] tests/test_ssl.py::TestOCSP::test_client_receives_servers_data PASSED [ 98%] tests/test_ssl.py::TestOCSP::test_callbacks_are_invoked_with_connections PASSED [ 98%] tests/test_ssl.py::TestOCSP::test_opaque_data_is_passed_through PASSED [ 98%] tests/test_ssl.py::TestOCSP::test_server_returns_empty_string PASSED [ 99%] tests/test_ssl.py::TestOCSP::test_client_returns_false_terminates_handshake PASSED [ 99%] tests/test_ssl.py::TestOCSP::test_exceptions_in_client_bubble_up PASSED [ 99%] tests/test_ssl.py::TestOCSP::test_exceptions_in_server_bubble_up PASSED [ 99%] tests/test_ssl.py::TestOCSP::test_server_must_return_bytes PASSED [ 99%] tests/test_util.py::TestErrors::test_exception_from_error_queue_nonexistent_reason PASSED [100%] =================================================================================================================================== FAILURES =================================================================================================================================== __________________________________________________________________________________________________________________ TestX509StoreContext.test_verify_with_time __________________________________________________________________________________________________________________ self = def test_verify_with_time(self): """ `verify_certificate` raises error when the verification time is set at notAfter. """ store = X509Store() store.add_cert(self.root_cert) store.add_cert(self.intermediate_cert) expire_time = self.intermediate_server_cert.get_notAfter() expire_datetime = datetime.strptime( expire_time.decode("utf-8"), "%Y%m%d%H%M%SZ" ) > store.set_time(expire_datetime) tests/test_crypto.py:4111: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , vfy_time = datetime.datetime(2047, 12, 20, 17, 11, 20) def set_time(self, vfy_time): """ Set the time against which the certificates are verified. Normally the current time is used. .. note:: For example, you can determine if a certificate was valid at a given time. .. versionadded:: 17.0.0 :param datetime vfy_time: The verification time to set on this store. :return: ``None`` if the verification time was successfully set. """ param = _lib.X509_VERIFY_PARAM_new() param = _ffi.gc(param, _lib.X509_VERIFY_PARAM_free) _lib.X509_VERIFY_PARAM_set_time( > param, calendar.timegm(vfy_time.timetuple()) ) E OverflowError: integer 2460474680 does not fit '32-bit int' ../pyOpenSSL-20.0.0-python3_7/lib/OpenSSL/crypto.py:1680: OverflowError =============================================================================================================================== warnings summary =============================================================================================================================== ../../../../../../../usr/lib/python3.7/site-packages/_pytest/config/__init__.py:1230 /usr/lib/python3.7/site-packages/_pytest/config/__init__.py:1230: PytestConfigWarning: Unknown config option: strict self._warn_or_fail_if_strict("Unknown config option: {}\n".format(key)) tests/test_crypto.py:39 /var/tmp/portage/dev-python/pyopenssl-20.0.0/work/pyOpenSSL-20.0.0/tests/test_crypto.py:39: DeprecationWarning: PKCS#7 support in pyOpenSSL is deprecated. You should use the APIs in cryptography. from OpenSSL.crypto import PKCS7, load_pkcs7_data tests/test_crypto.py:40 /var/tmp/portage/dev-python/pyopenssl-20.0.0/work/pyOpenSSL-20.0.0/tests/test_crypto.py:40: DeprecationWarning: PKCS#12 support in pyOpenSSL is deprecated. You should use the APIs in cryptography. from OpenSSL.crypto import PKCS12, load_pkcs12 tests/test_ssl.py::TestContext::test_set_cipher_list[hello world:AES128-SHA1] /var/tmp/portage/dev-python/pyopenssl-20.0.0/work/pyOpenSSL-20.0.0/tests/test_ssl.py:493: DeprecationWarning: str for cipher_list is no longer accepted, use bytes context.set_cipher_list(cipher_string) tests/test_ssl.py::TestConnection::test_client_set_session /var/tmp/portage/dev-python/pyopenssl-20.0.0/work/pyOpenSSL-20.0.0/tests/test_ssl.py:2637: DeprecationWarning: str for buf is no longer accepted, use bytes ctx.set_session_id("unity-test") -- Docs: https://docs.pytest.org/en/stable/warnings.html ===Flaky Test Report=== test_gmtime_adj_notBefore passed 1 out of the required 1 times. Success! test_gmtime_adj_notAfter passed 1 out of the required 1 times. Success! test_set_cipher_list_no_cipher_match passed 1 out of the required 1 times. Success! ===End Flaky Test Report=== =========================================================================================================================== short test summary info ============================================================================================================================ FAILED tests/test_crypto.py::TestX509StoreContext::test_verify_with_time - OverflowError: integer 2460474680 does not fit '32-bit int' ======================================================================================================= 1 failed, 520 passed, 3 skipped, 5 warnings in 178.87s (0:02:58) ======================================================================================================= * ERROR: dev-python/pyopenssl-20.0.0::gentoo failed (test phase): * Testing failed with python3.7 * * Call stack: * ebuild.sh, line 125: Called src_test * environment, line 3410: Called distutils-r1_src_test * environment, line 1378: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 454: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 2914: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2363: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2361: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 865: Called distutils-r1_run_phase 'python_test' * environment, line 1315: Called python_test * environment, line 3270: Called die * The specific snippet of code: * TZ=UTC pytest -vv || die "Testing failed with ${EPYTHON}" * * If you need support, post the output of `emerge --info '=dev-python/pyopenssl-20.0.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/pyopenssl-20.0.0::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-python/pyopenssl-20.0.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/pyopenssl-20.0.0/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/pyopenssl-20.0.0/work/pyOpenSSL-20.0.0' * S: '/var/tmp/portage/dev-python/pyopenssl-20.0.0/work/pyOpenSSL-20.0.0'