* Package: dev-python/pyopenssl-16.2.0 * Repository: gentoo * Maintainer: python@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_4 test userland_GNU * FEATURES: preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking pyOpenSSL-16.2.0.tar.gz to /var/tmp/portage/dev-python/pyopenssl-16.2.0/work >>> Source unpacked in /var/tmp/portage/dev-python/pyopenssl-16.2.0/work >>> Preparing source in /var/tmp/portage/dev-python/pyopenssl-16.2.0/work/pyOpenSSL-16.2.0 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/pyopenssl-16.2.0/work/pyOpenSSL-16.2.0 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/pyopenssl-16.2.0/work/pyOpenSSL-16.2.0 ... * python2_7: running distutils-r1_run_phase distutils-r1_python_compile /usr/bin/python2.7 setup.py build running build running build_py creating /var/tmp/portage/dev-python/pyopenssl-16.2.0/work/pyOpenSSL-16.2.0-python2_7/lib/OpenSSL copying src/OpenSSL/__init__.py -> /var/tmp/portage/dev-python/pyopenssl-16.2.0/work/pyOpenSSL-16.2.0-python2_7/lib/OpenSSL copying src/OpenSSL/_util.py -> /var/tmp/portage/dev-python/pyopenssl-16.2.0/work/pyOpenSSL-16.2.0-python2_7/lib/OpenSSL copying src/OpenSSL/crypto.py -> /var/tmp/portage/dev-python/pyopenssl-16.2.0/work/pyOpenSSL-16.2.0-python2_7/lib/OpenSSL copying src/OpenSSL/rand.py -> /var/tmp/portage/dev-python/pyopenssl-16.2.0/work/pyOpenSSL-16.2.0-python2_7/lib/OpenSSL copying src/OpenSSL/SSL.py -> /var/tmp/portage/dev-python/pyopenssl-16.2.0/work/pyOpenSSL-16.2.0-python2_7/lib/OpenSSL copying src/OpenSSL/tsafe.py -> /var/tmp/portage/dev-python/pyopenssl-16.2.0/work/pyOpenSSL-16.2.0-python2_7/lib/OpenSSL copying src/OpenSSL/version.py -> /var/tmp/portage/dev-python/pyopenssl-16.2.0/work/pyOpenSSL-16.2.0-python2_7/lib/OpenSSL warning: build_py: byte-compiling is disabled, skipping. * python3_4: running distutils-r1_run_phase distutils-r1_python_compile /usr/bin/python3.4 setup.py build running build running build_py creating /var/tmp/portage/dev-python/pyopenssl-16.2.0/work/pyOpenSSL-16.2.0-python3_4/lib/OpenSSL copying src/OpenSSL/__init__.py -> /var/tmp/portage/dev-python/pyopenssl-16.2.0/work/pyOpenSSL-16.2.0-python3_4/lib/OpenSSL copying src/OpenSSL/_util.py -> /var/tmp/portage/dev-python/pyopenssl-16.2.0/work/pyOpenSSL-16.2.0-python3_4/lib/OpenSSL copying src/OpenSSL/crypto.py -> /var/tmp/portage/dev-python/pyopenssl-16.2.0/work/pyOpenSSL-16.2.0-python3_4/lib/OpenSSL copying src/OpenSSL/rand.py -> /var/tmp/portage/dev-python/pyopenssl-16.2.0/work/pyOpenSSL-16.2.0-python3_4/lib/OpenSSL copying src/OpenSSL/SSL.py -> /var/tmp/portage/dev-python/pyopenssl-16.2.0/work/pyOpenSSL-16.2.0-python3_4/lib/OpenSSL copying src/OpenSSL/tsafe.py -> /var/tmp/portage/dev-python/pyopenssl-16.2.0/work/pyOpenSSL-16.2.0-python3_4/lib/OpenSSL copying src/OpenSSL/version.py -> /var/tmp/portage/dev-python/pyopenssl-16.2.0/work/pyOpenSSL-16.2.0-python3_4/lib/OpenSSL warning: build_py: byte-compiling is disabled, skipping. * python3_4: running distutils-r1_run_phase python_compile_all >>> Source compiled. >>> Test phase: dev-python/pyopenssl-16.2.0 * python2_7: running distutils-r1_run_phase python_test ================================================================================================================================ test session starts ================================================================================================================================ platform linux2 -- Python 2.7.12, pytest-3.0.3, py-1.4.30, pluggy-0.4.0 -- /usr/bin/python2.7 cachedir: .cache OpenSSL: OpenSSL 1.0.2k 26 Jan 2017 cryptography: 1.7.1 rootdir: /var/tmp/portage/dev-python/pyopenssl-16.2.0/work/pyOpenSSL-16.2.0, inifile: setup.cfg plugins: hypothesis-3.6.0 collecting ... collected 480 items tests/test_crypto.py::X509ExtTests::test_construction PASSED tests/test_crypto.py::X509ExtTests::test_get_critical PASSED tests/test_crypto.py::X509ExtTests::test_get_data PASSED tests/test_crypto.py::X509ExtTests::test_get_data_wrong_args PASSED tests/test_crypto.py::X509ExtTests::test_get_short_name PASSED tests/test_crypto.py::X509ExtTests::test_invalid_extension PASSED tests/test_crypto.py::X509ExtTests::test_invalid_issuer PASSED tests/test_crypto.py::X509ExtTests::test_invalid_subject PASSED tests/test_crypto.py::X509ExtTests::test_issuer PASSED tests/test_crypto.py::X509ExtTests::test_missing_issuer PASSED tests/test_crypto.py::X509ExtTests::test_missing_subject PASSED tests/test_crypto.py::X509ExtTests::test_str PASSED tests/test_crypto.py::X509ExtTests::test_subject PASSED tests/test_crypto.py::X509ExtTests::test_type PASSED tests/test_crypto.py::X509ExtTests::test_unused_issuer PASSED tests/test_crypto.py::X509ExtTests::test_unused_subject PASSED tests/test_crypto.py::TestPKey::test_convert_from_cryptography_private_key PASSED tests/test_crypto.py::TestPKey::test_convert_from_cryptography_public_key PASSED tests/test_crypto.py::TestPKey::test_convert_from_cryptography_unsupported_type FAILED tests/test_crypto.py::TestPKey::test_convert_public_pkey_to_cryptography_key PASSED tests/test_crypto.py::TestPKey::test_convert_private_pkey_to_cryptography_key PASSED tests/test_crypto.py::PKeyTests::test_check_public_key PASSED tests/test_crypto.py::PKeyTests::test_check_wrong_args PASSED tests/test_crypto.py::PKeyTests::test_construction PASSED tests/test_crypto.py::PKeyTests::test_dsaGeneration PASSED tests/test_crypto.py::PKeyTests::test_failedGeneration PASSED tests/test_crypto.py::PKeyTests::test_inconsistentKey PASSED tests/test_crypto.py::PKeyTests::test_pregeneration PASSED tests/test_crypto.py::PKeyTests::test_regeneration PASSED tests/test_crypto.py::PKeyTests::test_rsaGeneration PASSED tests/test_crypto.py::PKeyTests::test_type PASSED tests/test_crypto.py::X509NameTests::test_attributes PASSED tests/test_crypto.py::X509NameTests::test_comparison PASSED tests/test_crypto.py::X509NameTests::test_copy PASSED tests/test_crypto.py::X509NameTests::test_der PASSED tests/test_crypto.py::X509NameTests::test_get_components PASSED tests/test_crypto.py::X509NameTests::test_hash PASSED tests/test_crypto.py::X509NameTests::test_load_nul_byte_attribute PASSED tests/test_crypto.py::X509NameTests::test_onlyStringAttributes PASSED tests/test_crypto.py::X509NameTests::test_repr PASSED tests/test_crypto.py::X509NameTests::test_setAttributeFailure PASSED tests/test_crypto.py::X509NameTests::test_setInvalidAttribute PASSED tests/test_crypto.py::X509NameTests::test_type PASSED tests/test_crypto.py::X509ReqTests::test_add_extensions PASSED tests/test_crypto.py::X509ReqTests::test_add_extensions_wrong_args PASSED tests/test_crypto.py::X509ReqTests::test_construction PASSED tests/test_crypto.py::X509ReqTests::test_get_extensions PASSED tests/test_crypto.py::X509ReqTests::test_get_subject PASSED tests/test_crypto.py::X509ReqTests::test_get_subject_wrong_args PASSED tests/test_crypto.py::X509ReqTests::test_sign PASSED tests/test_crypto.py::X509ReqTests::test_signWithPublicKey PASSED tests/test_crypto.py::X509ReqTests::test_signWithUngenerated PASSED tests/test_crypto.py::X509ReqTests::test_signWithUnknownDigest PASSED tests/test_crypto.py::X509ReqTests::test_type PASSED tests/test_crypto.py::X509ReqTests::test_verify_success PASSED tests/test_crypto.py::X509ReqTests::test_verify_uninitialized_key PASSED tests/test_crypto.py::X509ReqTests::test_verify_wrong_args PASSED tests/test_crypto.py::X509ReqTests::test_verify_wrong_key PASSED tests/test_crypto.py::X509ReqTests::test_version PASSED tests/test_crypto.py::X509ReqTests::test_version_wrong_args PASSED tests/test_crypto.py::X509Tests::test_construction PASSED tests/test_crypto.py::X509Tests::test_digest PASSED tests/test_crypto.py::X509Tests::test_extension_count PASSED tests/test_crypto.py::X509Tests::test_get_extension PASSED tests/test_crypto.py::X509Tests::test_get_issuer PASSED tests/test_crypto.py::X509Tests::test_get_issuer_wrong_args PASSED tests/test_crypto.py::X509Tests::test_get_notAfter PASSED tests/test_crypto.py::X509Tests::test_get_notBefore PASSED tests/test_crypto.py::X509Tests::test_get_pubkey_uninitialized PASSED tests/test_crypto.py::X509Tests::test_get_serial_number_wrong_args PASSED tests/test_crypto.py::X509Tests::test_get_signature_algorithm PASSED tests/test_crypto.py::X509Tests::test_get_subject PASSED tests/test_crypto.py::X509Tests::test_get_subject_wrong_args PASSED tests/test_crypto.py::X509Tests::test_get_undefined_signature_algorithm PASSED tests/test_crypto.py::X509Tests::test_get_version_wrong_args PASSED tests/test_crypto.py::X509Tests::test_gmtime_adj_notAfter PASSED tests/test_crypto.py::X509Tests::test_gmtime_adj_notAfter_wrong_args PASSED tests/test_crypto.py::X509Tests::test_gmtime_adj_notBefore PASSED tests/test_crypto.py::X509Tests::test_gmtime_adj_notBefore_wrong_args PASSED tests/test_crypto.py::X509Tests::test_has_expired PASSED tests/test_crypto.py::X509Tests::test_has_expired_wrong_args PASSED tests/test_crypto.py::X509Tests::test_has_not_expired PASSED tests/test_crypto.py::X509Tests::test_invalid_digest_algorithm PASSED tests/test_crypto.py::X509Tests::test_nullbyte_subjectAltName PASSED tests/test_crypto.py::X509Tests::test_root_has_not_expired PASSED tests/test_crypto.py::X509Tests::test_serial_number PASSED tests/test_crypto.py::X509Tests::test_set_issuer PASSED tests/test_crypto.py::X509Tests::test_set_issuer_wrong_args PASSED tests/test_crypto.py::X509Tests::test_set_notAfter PASSED tests/test_crypto.py::X509Tests::test_set_notBefore PASSED tests/test_crypto.py::X509Tests::test_set_pubkey_wrong_type PASSED tests/test_crypto.py::X509Tests::test_set_subject PASSED tests/test_crypto.py::X509Tests::test_set_subject_wrong_args PASSED tests/test_crypto.py::X509Tests::test_set_version_wrong_args PASSED tests/test_crypto.py::X509Tests::test_sign PASSED tests/test_crypto.py::X509Tests::test_signWithPublicKey PASSED tests/test_crypto.py::X509Tests::test_signWithUngenerated PASSED tests/test_crypto.py::X509Tests::test_signWithUnknownDigest PASSED tests/test_crypto.py::X509Tests::test_sign_bad_pubkey_type PASSED tests/test_crypto.py::X509Tests::test_subject_name_hash PASSED tests/test_crypto.py::X509Tests::test_subject_name_hash_wrong_args PASSED tests/test_crypto.py::X509Tests::test_type PASSED tests/test_crypto.py::X509Tests::test_version PASSED tests/test_crypto.py::X509StoreTests::test_add_cert PASSED tests/test_crypto.py::X509StoreTests::test_add_cert_rejects_duplicate PASSED tests/test_crypto.py::X509StoreTests::test_add_cert_wrong_args PASSED tests/test_crypto.py::X509StoreTests::test_type PASSED tests/test_crypto.py::PKCS12Tests::test_cert_only PASSED tests/test_crypto.py::PKCS12Tests::test_empty_construction PASSED tests/test_crypto.py::PKCS12Tests::test_export_without_args PASSED tests/test_crypto.py::PKCS12Tests::test_export_without_bytes PASSED tests/test_crypto.py::PKCS12Tests::test_export_without_mac PASSED tests/test_crypto.py::PKCS12Tests::test_friendly_name PASSED tests/test_crypto.py::PKCS12Tests::test_key_cert_mismatch PASSED tests/test_crypto.py::PKCS12Tests::test_key_only PASSED tests/test_crypto.py::PKCS12Tests::test_load_pkcs12 PASSED tests/test_crypto.py::PKCS12Tests::test_load_pkcs12_empty_passphrase_load_empty PASSED tests/test_crypto.py::PKCS12Tests::test_load_pkcs12_empty_passphrase_load_null PASSED tests/test_crypto.py::PKCS12Tests::test_load_pkcs12_garbage PASSED tests/test_crypto.py::PKCS12Tests::test_load_pkcs12_no_passphrase PASSED tests/test_crypto.py::PKCS12Tests::test_load_pkcs12_null_passphrase_load_empty PASSED tests/test_crypto.py::PKCS12Tests::test_load_pkcs12_null_passphrase_load_null PASSED tests/test_crypto.py::PKCS12Tests::test_load_pkcs12_text_passphrase PASSED tests/test_crypto.py::PKCS12Tests::test_load_without_mac PASSED tests/test_crypto.py::PKCS12Tests::test_removing_ca_cert PASSED tests/test_crypto.py::PKCS12Tests::test_replace PASSED tests/test_crypto.py::PKCS12Tests::test_type PASSED tests/test_crypto.py::PKCS12Tests::test_type_errors PASSED tests/test_crypto.py::PKCS12Tests::test_various_empty_passphrases PASSED tests/test_crypto.py::PKCS12Tests::test_zero_len_list_for_ca PASSED tests/test_crypto.py::TestLoadPublicKey::test_loading_works PASSED tests/test_crypto.py::TestLoadPublicKey::test_invalid_type PASSED tests/test_crypto.py::TestLoadPublicKey::test_invalid_key_format PASSED tests/test_crypto.py::TestLoadPublicKey::test_tolerates_unicode_strings PASSED tests/test_crypto.py::FunctionTests::test_dump_certificate PASSED tests/test_crypto.py::FunctionTests::test_dump_certificate_bad_type PASSED tests/test_crypto.py::FunctionTests::test_dump_certificate_request PASSED tests/test_crypto.py::FunctionTests::test_dump_privatekey_asn1 PASSED tests/test_crypto.py::FunctionTests::test_dump_privatekey_invalid_filetype PASSED tests/test_crypto.py::FunctionTests::test_dump_privatekey_invalid_passphrase_type PASSED tests/test_crypto.py::FunctionTests::test_dump_privatekey_passphrase PASSED tests/test_crypto.py::FunctionTests::test_dump_privatekey_passphraseCallback PASSED tests/test_crypto.py::FunctionTests::test_dump_privatekey_passphraseCallbackLength PASSED tests/test_crypto.py::FunctionTests::test_dump_privatekey_passphraseWrongType PASSED tests/test_crypto.py::FunctionTests::test_dump_privatekey_passphrase_exception PASSED tests/test_crypto.py::FunctionTests::test_dump_privatekey_pem PASSED tests/test_crypto.py::FunctionTests::test_dump_privatekey_text PASSED tests/test_crypto.py::FunctionTests::test_dump_privatekey_unknown_cipher PASSED tests/test_crypto.py::FunctionTests::test_dump_privatekey_wrong_args PASSED tests/test_crypto.py::FunctionTests::test_dump_publickey_asn1 PASSED tests/test_crypto.py::FunctionTests::test_dump_publickey_invalid_type PASSED tests/test_crypto.py::FunctionTests::test_dump_publickey_pem PASSED tests/test_crypto.py::FunctionTests::test_load_pkcs7_data_asn1 PASSED tests/test_crypto.py::FunctionTests::test_load_pkcs7_data_invalid PASSED tests/test_crypto.py::FunctionTests::test_load_pkcs7_data_pem PASSED tests/test_crypto.py::FunctionTests::test_load_pkcs7_type_invalid PASSED tests/test_crypto.py::FunctionTests::test_load_privatekey_invalid_format PASSED tests/test_crypto.py::FunctionTests::test_load_privatekey_invalid_passphrase_type PASSED tests/test_crypto.py::FunctionTests::test_load_privatekey_passphrase PASSED tests/test_crypto.py::FunctionTests::test_load_privatekey_passphraseCallback PASSED tests/test_crypto.py::FunctionTests::test_load_privatekey_passphraseCallbackLength PASSED tests/test_crypto.py::FunctionTests::test_load_privatekey_passphraseWrongType PASSED tests/test_crypto.py::FunctionTests::test_load_privatekey_passphrase_exception PASSED tests/test_crypto.py::FunctionTests::test_load_privatekey_passphrase_wrong_return_type PASSED tests/test_crypto.py::FunctionTests::test_load_privatekey_wrongPassphrase PASSED tests/test_crypto.py::FunctionTests::test_load_privatekey_wrongPassphraseCallback PASSED tests/test_crypto.py::FunctionTests::test_load_privatekey_wrong_args PASSED tests/test_crypto.py::LoadCertificateTests::test_badFileType PASSED tests/test_crypto.py::LoadCertificateTests::test_bad_certificate PASSED tests/test_crypto.py::PKCS7Tests::test_attribute PASSED tests/test_crypto.py::PKCS7Tests::test_get_type_name PASSED tests/test_crypto.py::PKCS7Tests::test_get_type_name_wrong_args PASSED tests/test_crypto.py::PKCS7Tests::test_type PASSED tests/test_crypto.py::PKCS7Tests::test_type_is_data PASSED tests/test_crypto.py::PKCS7Tests::test_type_is_data_wrong_args PASSED tests/test_crypto.py::PKCS7Tests::test_type_is_enveloped PASSED tests/test_crypto.py::PKCS7Tests::test_type_is_enveloped_wrong_args PASSED tests/test_crypto.py::PKCS7Tests::test_type_is_signed PASSED tests/test_crypto.py::PKCS7Tests::test_type_is_signedAndEnveloped PASSED tests/test_crypto.py::PKCS7Tests::test_type_is_signedAndEnveloped_wrong_args PASSED tests/test_crypto.py::PKCS7Tests::test_type_is_signed_wrong_args PASSED tests/test_crypto.py::NetscapeSPKITests::test_b64_encode PASSED tests/test_crypto.py::NetscapeSPKITests::test_construction PASSED tests/test_crypto.py::NetscapeSPKITests::test_invalid_attribute PASSED tests/test_crypto.py::NetscapeSPKITests::test_sign PASSED tests/test_crypto.py::NetscapeSPKITests::test_signWithPublicKey PASSED tests/test_crypto.py::NetscapeSPKITests::test_signWithUngenerated PASSED tests/test_crypto.py::NetscapeSPKITests::test_signWithUnknownDigest PASSED tests/test_crypto.py::NetscapeSPKITests::test_type PASSED tests/test_crypto.py::TestRevoked::test_ignores_unsupported_revoked_cert_extension_get_reason PASSED tests/test_crypto.py::TestRevoked::test_ignores_unsupported_revoked_cert_extension_set_new_reason PASSED tests/test_crypto.py::RevokedTests::test_construction PASSED tests/test_crypto.py::RevokedTests::test_construction_wrong_args PASSED tests/test_crypto.py::RevokedTests::test_date PASSED tests/test_crypto.py::RevokedTests::test_get_reason_wrong_arguments PASSED tests/test_crypto.py::RevokedTests::test_reason PASSED tests/test_crypto.py::RevokedTests::test_serial PASSED tests/test_crypto.py::RevokedTests::test_set_reason_wrong_arguments PASSED tests/test_crypto.py::CRLTests::test_add_revoked_keyword PASSED tests/test_crypto.py::CRLTests::test_add_revoked_wrong_args PASSED tests/test_crypto.py::CRLTests::test_construction PASSED tests/test_crypto.py::CRLTests::test_construction_wrong_args PASSED tests/test_crypto.py::CRLTests::test_dump_crl PASSED tests/test_crypto.py::CRLTests::test_export_custom_digest PASSED tests/test_crypto.py::CRLTests::test_export_default_digest PASSED tests/test_crypto.py::CRLTests::test_export_der PASSED tests/test_crypto.py::CRLTests::test_export_invalid PASSED tests/test_crypto.py::CRLTests::test_export_md5_digest PASSED tests/test_crypto.py::CRLTests::test_export_pem PASSED tests/test_crypto.py::CRLTests::test_export_text PASSED tests/test_crypto.py::CRLTests::test_export_unknown_digest PASSED tests/test_crypto.py::CRLTests::test_export_unknown_filetype PASSED tests/test_crypto.py::CRLTests::test_export_wrong_args PASSED tests/test_crypto.py::CRLTests::test_get_issuer PASSED tests/test_crypto.py::CRLTests::test_get_revoked PASSED tests/test_crypto.py::CRLTests::test_get_revoked_wrong_args PASSED tests/test_crypto.py::CRLTests::test_load_crl PASSED tests/test_crypto.py::CRLTests::test_load_crl_bad_data PASSED tests/test_crypto.py::CRLTests::test_load_crl_bad_filetype PASSED tests/test_crypto.py::CRLTests::test_load_crl_wrong_args PASSED tests/test_crypto.py::CRLTests::test_verify_with_missing_crl PASSED tests/test_crypto.py::CRLTests::test_verify_with_revoked PASSED tests/test_crypto.py::X509StoreContextTests::test_invalid_chain_no_intermediate PASSED tests/test_crypto.py::X509StoreContextTests::test_invalid_chain_no_root PASSED tests/test_crypto.py::X509StoreContextTests::test_modification_pre_verify PASSED tests/test_crypto.py::X509StoreContextTests::test_reuse PASSED tests/test_crypto.py::X509StoreContextTests::test_trusted_self_signed PASSED tests/test_crypto.py::X509StoreContextTests::test_untrusted_self_signed PASSED tests/test_crypto.py::X509StoreContextTests::test_valid PASSED tests/test_crypto.py::SignVerifyTests::test_sign_nulls PASSED tests/test_crypto.py::SignVerifyTests::test_sign_verify PASSED tests/test_crypto.py::SignVerifyTests::test_sign_verify_with_text PASSED tests/test_crypto.py::SignVerifyTests::test_sign_with_large_key PASSED tests/test_crypto.py::EllipticCurveTests::test_a_curve PASSED tests/test_crypto.py::EllipticCurveTests::test_not_a_curve PASSED tests/test_crypto.py::EllipticCurveTests::test_repr PASSED tests/test_crypto.py::EllipticCurveTests::test_set PASSED tests/test_crypto.py::EllipticCurveTests::test_some_curves PASSED tests/test_crypto.py::EllipticCurveTests::test_to_EC_KEY PASSED tests/test_crypto.py::EllipticCurveEqualityTests::test_anotherTypeEq <- tests/util.py FAILED tests/test_crypto.py::EllipticCurveEqualityTests::test_anotherTypeNe <- tests/util.py FAILED tests/test_crypto.py::EllipticCurveEqualityTests::test_delegateNe <- tests/util.py FAILED tests/test_crypto.py::EllipticCurveEqualityTests::test_delegatedEq <- tests/util.py FAILED tests/test_crypto.py::EllipticCurveEqualityTests::test_differentEq <- tests/util.py FAILED tests/test_crypto.py::EllipticCurveEqualityTests::test_differentNe <- tests/util.py FAILED tests/test_crypto.py::EllipticCurveEqualityTests::test_identicalEq <- tests/util.py FAILED tests/test_crypto.py::EllipticCurveEqualityTests::test_identicalNe <- tests/util.py FAILED tests/test_crypto.py::EllipticCurveEqualityTests::test_sameEq <- tests/util.py FAILED tests/test_crypto.py::EllipticCurveEqualityTests::test_sameNe <- tests/util.py FAILED tests/test_crypto.py::EllipticCurveHashTests::test_contains FAILED tests/test_crypto.py::EllipticCurveHashTests::test_does_not_contain FAILED tests/test_rand.py::RandTests::test_add PASSED tests/test_rand.py::RandTests::test_add_wrong_args PASSED tests/test_rand.py::RandTests::test_bytes PASSED tests/test_rand.py::RandTests::test_bytes_paths PASSED tests/test_rand.py::RandTests::test_bytes_wrong_args PASSED tests/test_rand.py::RandTests::test_cleanup PASSED tests/test_rand.py::RandTests::test_cleanup_wrong_args PASSED tests/test_rand.py::RandTests::test_egd_warning PASSED tests/test_rand.py::RandTests::test_egd_wrong_args PASSED tests/test_rand.py::RandTests::test_insufficientMemory PASSED tests/test_rand.py::RandTests::test_load_file_wrong_args PASSED tests/test_rand.py::RandTests::test_seed PASSED tests/test_rand.py::RandTests::test_seed_wrong_args PASSED tests/test_rand.py::RandTests::test_status PASSED tests/test_rand.py::RandTests::test_status_wrong_args PASSED tests/test_rand.py::RandTests::test_unicode_paths PASSED tests/test_rand.py::RandTests::test_write_file_wrong_args PASSED tests/test_ssl.py::VersionTests::test_OPENSSL_VERSION_NUMBER PASSED tests/test_ssl.py::VersionTests::test_SSLeay_version PASSED tests/test_ssl.py::TestContext::test_set_cipher_list[hello world:AES128-SHA0] PASSED tests/test_ssl.py::TestContext::test_set_cipher_list[hello world:AES128-SHA1] PASSED tests/test_ssl.py::TestContext::test_set_cipher_list_wrong_args[cipher_list0-TypeError] PASSED tests/test_ssl.py::TestContext::test_set_cipher_list_wrong_args[imaginary-cipher-Error] PASSED tests/test_ssl.py::TestContext::test_load_client_ca PASSED tests/test_ssl.py::TestContext::test_load_client_ca_invalid PASSED tests/test_ssl.py::TestContext::test_load_client_ca_unicode PASSED tests/test_ssl.py::TestContext::test_set_session_id PASSED tests/test_ssl.py::TestContext::test_set_session_id_fail PASSED tests/test_ssl.py::TestContext::test_set_session_id_unicode PASSED tests/test_ssl.py::ContextTests::test_add_extra_chain_cert PASSED tests/test_ssl.py::ContextTests::test_add_extra_chain_cert_invalid_cert PASSED tests/test_ssl.py::ContextTests::test_app_data PASSED tests/test_ssl.py::ContextTests::test_check_privatekey_invalid PASSED tests/test_ssl.py::ContextTests::test_check_privatekey_valid PASSED tests/test_ssl.py::ContextTests::test_check_privatekey_wrong_args PASSED tests/test_ssl.py::ContextTests::test_get_app_data_wrong_args PASSED tests/test_ssl.py::ContextTests::test_get_cert_store PASSED tests/test_ssl.py::ContextTests::test_get_session_cache_mode_wrong_args PASSED tests/test_ssl.py::ContextTests::test_get_timeout_wrong_args PASSED tests/test_ssl.py::ContextTests::test_get_verify_depth_wrong_args PASSED tests/test_ssl.py::ContextTests::test_get_verify_mode_wrong_args PASSED tests/test_ssl.py::ContextTests::test_load_tmp_dh_bytes PASSED tests/test_ssl.py::ContextTests::test_load_tmp_dh_missing_file PASSED tests/test_ssl.py::ContextTests::test_load_tmp_dh_unicode PASSED tests/test_ssl.py::ContextTests::test_load_tmp_dh_wrong_args PASSED tests/test_ssl.py::ContextTests::test_load_verify_bytes_cafile PASSED tests/test_ssl.py::ContextTests::test_load_verify_directory_bytes_capath PASSED tests/test_ssl.py::ContextTests::test_load_verify_directory_unicode_capath PASSED tests/test_ssl.py::ContextTests::test_load_verify_invalid_file PASSED tests/test_ssl.py::ContextTests::test_load_verify_locations_wrong_args PASSED tests/test_ssl.py::ContextTests::test_load_verify_unicode_cafile PASSED tests/test_ssl.py::ContextTests::test_method PASSED tests/test_ssl.py::ContextTests::test_method_long PASSED tests/test_ssl.py::ContextTests::test_passwd_callback_exception PASSED tests/test_ssl.py::ContextTests::test_passwd_callback_false PASSED tests/test_ssl.py::ContextTests::test_passwd_callback_non_string PASSED tests/test_ssl.py::ContextTests::test_passwd_callback_too_long PASSED tests/test_ssl.py::ContextTests::test_session_cache_mode PASSED tests/test_ssl.py::ContextTests::test_session_cache_mode_long PASSED tests/test_ssl.py::ContextTests::test_set_app_data_wrong_args PASSED tests/test_ssl.py::ContextTests::test_set_info_callback PASSED tests/test_ssl.py::ContextTests::test_set_mode PASSED tests/test_ssl.py::ContextTests::test_set_mode_long PASSED tests/test_ssl.py::ContextTests::test_set_mode_wrong_args PASSED tests/test_ssl.py::ContextTests::test_set_options PASSED tests/test_ssl.py::ContextTests::test_set_options_long PASSED tests/test_ssl.py::ContextTests::test_set_options_wrong_args PASSED tests/test_ssl.py::ContextTests::test_set_passwd_cb PASSED tests/test_ssl.py::ContextTests::test_set_passwd_cb_wrong_args PASSED tests/test_ssl.py::ContextTests::test_set_session_cache_mode_wrong_args PASSED tests/test_ssl.py::ContextTests::test_set_timeout_wrong_args PASSED tests/test_ssl.py::ContextTests::test_set_tmp_ecdh PASSED tests/test_ssl.py::ContextTests::test_set_verify_callback_connection_argument PASSED tests/test_ssl.py::ContextTests::test_set_verify_callback_exception PASSED tests/test_ssl.py::ContextTests::test_set_verify_depth_wrong_args PASSED tests/test_ssl.py::ContextTests::test_set_verify_mode PASSED tests/test_ssl.py::ContextTests::test_set_verify_mode_long PASSED tests/test_ssl.py::ContextTests::test_timeout PASSED tests/test_ssl.py::ContextTests::test_timeout_long PASSED tests/test_ssl.py::ContextTests::test_type PASSED tests/test_ssl.py::ContextTests::test_use_certificate PASSED tests/test_ssl.py::ContextTests::test_use_certificate_chain_file_bytes PASSED tests/test_ssl.py::ContextTests::test_use_certificate_chain_file_unicode PASSED tests/test_ssl.py::ContextTests::test_use_certificate_chain_file_wrong_args PASSED tests/test_ssl.py::ContextTests::test_use_certificate_file_bytes PASSED tests/test_ssl.py::ContextTests::test_use_certificate_file_long PASSED tests/test_ssl.py::ContextTests::test_use_certificate_file_missing PASSED tests/test_ssl.py::ContextTests::test_use_certificate_file_unicode PASSED tests/test_ssl.py::ContextTests::test_use_certificate_file_wrong_args PASSED tests/test_ssl.py::ContextTests::test_use_certificate_uninitialized PASSED tests/test_ssl.py::ContextTests::test_use_certificate_wrong_args PASSED tests/test_ssl.py::ContextTests::test_use_privatekey PASSED tests/test_ssl.py::ContextTests::test_use_privatekey_file_bytes PASSED tests/test_ssl.py::ContextTests::test_use_privatekey_file_long PASSED tests/test_ssl.py::ContextTests::test_use_privatekey_file_missing PASSED tests/test_ssl.py::ContextTests::test_use_privatekey_file_unicode PASSED tests/test_ssl.py::ContextTests::test_verify_depth PASSED tests/test_ssl.py::ContextTests::test_verify_depth_long PASSED tests/test_ssl.py::ServerNameCallbackTests::test_no_servername PASSED tests/test_ssl.py::ServerNameCallbackTests::test_old_callback_forgotten PASSED tests/test_ssl.py::ServerNameCallbackTests::test_servername PASSED tests/test_ssl.py::ServerNameCallbackTests::test_wrong_args PASSED tests/test_ssl.py::NextProtoNegotiationTests::test_npn_advertise_error PASSED tests/test_ssl.py::NextProtoNegotiationTests::test_npn_client_fail PASSED tests/test_ssl.py::NextProtoNegotiationTests::test_npn_select_error PASSED tests/test_ssl.py::NextProtoNegotiationTests::test_npn_success PASSED tests/test_ssl.py::ApplicationLayerProtoNegotiationTests::test_alpn_callback_exception PASSED tests/test_ssl.py::ApplicationLayerProtoNegotiationTests::test_alpn_no_server PASSED tests/test_ssl.py::ApplicationLayerProtoNegotiationTests::test_alpn_server_fail PASSED tests/test_ssl.py::ApplicationLayerProtoNegotiationTests::test_alpn_set_on_connection PASSED tests/test_ssl.py::ApplicationLayerProtoNegotiationTests::test_alpn_success PASSED tests/test_ssl.py::SessionTests::test_construction PASSED tests/test_ssl.py::SessionTests::test_construction_wrong_args PASSED tests/test_ssl.py::ConnectionTests::test_accept PASSED tests/test_ssl.py::ConnectionTests::test_accept_wrong_args PASSED tests/test_ssl.py::ConnectionTests::test_app_data PASSED tests/test_ssl.py::ConnectionTests::test_app_data_wrong_args PASSED tests/test_ssl.py::ConnectionTests::test_client_get_session PASSED tests/test_ssl.py::ConnectionTests::test_client_set_session PASSED tests/test_ssl.py::ConnectionTests::test_connect PASSED tests/test_ssl.py::ConnectionTests::test_connect_ex PASSED tests/test_ssl.py::ConnectionTests::test_connect_refused PASSED tests/test_ssl.py::ConnectionTests::test_connect_wrong_args PASSED tests/test_ssl.py::ConnectionTests::test_connection_undefined_attr PASSED tests/test_ssl.py::ConnectionTests::test_get_cipher_bits PASSED tests/test_ssl.py::ConnectionTests::test_get_cipher_bits_before_connect PASSED tests/test_ssl.py::ConnectionTests::test_get_cipher_name PASSED tests/test_ssl.py::ConnectionTests::test_get_cipher_name_before_connect PASSED tests/test_ssl.py::ConnectionTests::test_get_cipher_version PASSED tests/test_ssl.py::ConnectionTests::test_get_cipher_version_before_connect PASSED tests/test_ssl.py::ConnectionTests::test_get_context PASSED tests/test_ssl.py::ConnectionTests::test_get_context_wrong_args PASSED tests/test_ssl.py::ConnectionTests::test_get_finished PASSED tests/test_ssl.py::ConnectionTests::test_get_finished_before_connect PASSED tests/test_ssl.py::ConnectionTests::test_get_peer_cert_chain PASSED tests/test_ssl.py::ConnectionTests::test_get_peer_cert_chain_none PASSED tests/test_ssl.py::ConnectionTests::test_get_peer_cert_chain_wrong_args PASSED tests/test_ssl.py::ConnectionTests::test_get_peer_finished PASSED tests/test_ssl.py::ConnectionTests::test_get_peer_finished_before_connect PASSED tests/test_ssl.py::ConnectionTests::test_get_protocol_version PASSED tests/test_ssl.py::ConnectionTests::test_get_protocol_version_name PASSED tests/test_ssl.py::ConnectionTests::test_get_servername_wrong_args PASSED tests/test_ssl.py::ConnectionTests::test_get_session_unconnected PASSED tests/test_ssl.py::ConnectionTests::test_get_session_wrong_args PASSED tests/test_ssl.py::ConnectionTests::test_makefile PASSED tests/test_ssl.py::ConnectionTests::test_peek PASSED tests/test_ssl.py::ConnectionTests::test_pending PASSED tests/test_ssl.py::ConnectionTests::test_pending_wrong_args PASSED tests/test_ssl.py::ConnectionTests::test_server_get_session PASSED tests/test_ssl.py::ConnectionTests::test_set_context PASSED tests/test_ssl.py::ConnectionTests::test_set_context_wrong_args PASSED tests/test_ssl.py::ConnectionTests::test_set_session_wrong_args PASSED tests/test_ssl.py::ConnectionTests::test_set_session_wrong_method PASSED tests/test_ssl.py::ConnectionTests::test_set_shutdown PASSED tests/test_ssl.py::ConnectionTests::test_set_shutdown_long PASSED tests/test_ssl.py::ConnectionTests::test_set_tlsext_host_name_wrong_args PASSED tests/test_ssl.py::ConnectionTests::test_shutdown PASSED tests/test_ssl.py::ConnectionTests::test_shutdown_closed PASSED tests/test_ssl.py::ConnectionTests::test_shutdown_truncated PASSED tests/test_ssl.py::ConnectionTests::test_shutdown_wrong_args PASSED tests/test_ssl.py::ConnectionTests::test_state_string PASSED tests/test_ssl.py::ConnectionTests::test_tls_finished_message_symmetry PASSED tests/test_ssl.py::ConnectionTests::test_type PASSED tests/test_ssl.py::ConnectionTests::test_wantWriteError PASSED tests/test_ssl.py::ConnectionGetCipherListTests::test_result PASSED tests/test_ssl.py::ConnectionGetCipherListTests::test_wrong_args PASSED tests/test_ssl.py::ConnectionSendTests::test_short_buffer PASSED tests/test_ssl.py::ConnectionSendTests::test_short_bytes PASSED tests/test_ssl.py::ConnectionSendTests::test_short_memoryview PASSED tests/test_ssl.py::ConnectionSendTests::test_text PASSED tests/test_ssl.py::ConnectionSendTests::test_wrong_args PASSED tests/test_ssl.py::ConnectionRecvIntoTests::test_bytearray_doesnt_overfill PASSED tests/test_ssl.py::ConnectionRecvIntoTests::test_bytearray_no_length PASSED tests/test_ssl.py::ConnectionRecvIntoTests::test_bytearray_really_doesnt_overfill PASSED tests/test_ssl.py::ConnectionRecvIntoTests::test_bytearray_respects_length PASSED tests/test_ssl.py::ConnectionRecvIntoTests::test_memoryview_doesnt_overfill PASSED tests/test_ssl.py::ConnectionRecvIntoTests::test_memoryview_no_length PASSED tests/test_ssl.py::ConnectionRecvIntoTests::test_memoryview_really_doesnt_overfill PASSED tests/test_ssl.py::ConnectionRecvIntoTests::test_memoryview_respects_length PASSED tests/test_ssl.py::ConnectionRecvIntoTests::test_peek PASSED tests/test_ssl.py::ConnectionSendallTests::test_closed PASSED tests/test_ssl.py::ConnectionSendallTests::test_long PASSED tests/test_ssl.py::ConnectionSendallTests::test_short PASSED tests/test_ssl.py::ConnectionSendallTests::test_short_buffers PASSED tests/test_ssl.py::ConnectionSendallTests::test_short_memoryview PASSED tests/test_ssl.py::ConnectionSendallTests::test_text PASSED tests/test_ssl.py::ConnectionSendallTests::test_wrong_args PASSED tests/test_ssl.py::ConnectionRenegotiateTests::test_renegotiate PASSED tests/test_ssl.py::ConnectionRenegotiateTests::test_renegotiate_wrong_args PASSED tests/test_ssl.py::ConnectionRenegotiateTests::test_total_renegotiations PASSED tests/test_ssl.py::ConnectionRenegotiateTests::test_total_renegotiations_wrong_args PASSED tests/test_ssl.py::ErrorTests::test_type PASSED tests/test_ssl.py::ConstantsTests::test_op_cookie_exchange PASSED tests/test_ssl.py::ConstantsTests::test_op_no_compression PASSED tests/test_ssl.py::ConstantsTests::test_op_no_query_mtu PASSED tests/test_ssl.py::ConstantsTests::test_op_no_ticket PASSED tests/test_ssl.py::ConstantsTests::test_sess_cache_both PASSED tests/test_ssl.py::ConstantsTests::test_sess_cache_client PASSED tests/test_ssl.py::ConstantsTests::test_sess_cache_no_auto_clear PASSED tests/test_ssl.py::ConstantsTests::test_sess_cache_no_internal PASSED tests/test_ssl.py::ConstantsTests::test_sess_cache_no_internal_lookup PASSED tests/test_ssl.py::ConstantsTests::test_sess_cache_no_internal_store PASSED tests/test_ssl.py::ConstantsTests::test_sess_cache_off PASSED tests/test_ssl.py::ConstantsTests::test_sess_cache_server PASSED tests/test_ssl.py::MemoryBIOTests::test_add_client_ca_errors PASSED tests/test_ssl.py::MemoryBIOTests::test_memoryConnect PASSED tests/test_ssl.py::MemoryBIOTests::test_multiple_add_client_ca PASSED tests/test_ssl.py::MemoryBIOTests::test_mutated_ca_list PASSED tests/test_ssl.py::MemoryBIOTests::test_one_add_client_ca PASSED tests/test_ssl.py::MemoryBIOTests::test_outgoingOverflow PASSED tests/test_ssl.py::MemoryBIOTests::test_reset_ca_list PASSED tests/test_ssl.py::MemoryBIOTests::test_set_after_add_client_ca PASSED tests/test_ssl.py::MemoryBIOTests::test_set_and_add_client_ca PASSED tests/test_ssl.py::MemoryBIOTests::test_set_client_ca_list_errors PASSED tests/test_ssl.py::MemoryBIOTests::test_set_empty_ca_list PASSED tests/test_ssl.py::MemoryBIOTests::test_set_multiple_ca_list PASSED tests/test_ssl.py::MemoryBIOTests::test_set_one_ca_list PASSED tests/test_ssl.py::MemoryBIOTests::test_shutdown PASSED tests/test_ssl.py::MemoryBIOTests::test_socketConnect PASSED tests/test_ssl.py::MemoryBIOTests::test_socketOverridesMemory PASSED tests/test_ssl.py::MemoryBIOTests::test_unexpectedEndOfFile PASSED tests/test_ssl.py::ConnectionBIOTests::test_buffer_size PASSED tests/test_ssl.py::ConnectionBIOTests::test_buffer_size_long PASSED tests/test_ssl.py::ConnectionBIOTests::test_wantReadError PASSED tests/test_ssl.py::InfoConstantTests::test_integers PASSED tests/test_ssl.py::TestRequires::test_available PASSED tests/test_ssl.py::TestRequires::test_unavailable PASSED tests/test_tsafe.py::ConnectionTest::test_instantiation PASSED tests/test_util.py::ErrorTests::test_exception_from_error_queue_nonexistent_reason PASSED ===================================================================================================================================== FAILURES ====================================================================================================================================== _____________________________________________________________________________________________________________ TestPKey.test_convert_from_cryptography_unsupported_type ______________________________________________________________________________________________________________ self = def test_convert_from_cryptography_unsupported_type(self): """ PKey.from_cryptography_key raises TypeError with an unsupported type. """ key = serialization.load_pem_private_key( > ec_private_key_pem, None, backend ) tests/test_crypto.py:796: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python2.7/site-packages/cryptography/hazmat/primitives/serialization.py:20: in load_pem_private_key return backend.load_pem_private_key(data, password) /usr/lib64/python2.7/site-packages/cryptography/hazmat/backends/openssl/backend.py:1084: in load_pem_private_key password, /usr/lib64/python2.7/site-packages/cryptography/hazmat/backends/openssl/backend.py:1253: in _load_key self._handle_key_loading_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _handle_key_loading_error(self): errors = self._consume_errors() if not errors: raise ValueError("Could not unserialize key data.") elif errors[0][1:] in ( ( self._lib.ERR_LIB_EVP, self._lib.EVP_F_EVP_DECRYPTFINAL_EX, self._lib.EVP_R_BAD_DECRYPT ), ( self._lib.ERR_LIB_PKCS12, self._lib.PKCS12_F_PKCS12_PBE_CRYPT, self._lib.PKCS12_R_PKCS12_CIPHERFINAL_ERROR, ) ): raise ValueError("Bad decrypt. Incorrect password?") elif errors[0][1:] in ( ( self._lib.ERR_LIB_PEM, self._lib.PEM_F_PEM_GET_EVP_CIPHER_INFO, self._lib.PEM_R_UNSUPPORTED_ENCRYPTION ), ( self._lib.ERR_LIB_EVP, self._lib.EVP_F_EVP_PBE_CIPHERINIT, self._lib.EVP_R_UNKNOWN_PBE_ALGORITHM ) ): raise UnsupportedAlgorithm( "PEM data is encrypted with an unsupported cipher", _Reasons.UNSUPPORTED_CIPHER ) elif any( error[1:] == ( self._lib.ERR_LIB_EVP, self._lib.EVP_F_EVP_PKCS82PKEY, self._lib.EVP_R_UNSUPPORTED_PRIVATE_KEY_ALGORITHM ) for error in errors ): raise UnsupportedAlgorithm( "Unsupported public key algorithm.", > _Reasons.UNSUPPORTED_PUBLIC_KEY_ALGORITHM ) E UnsupportedAlgorithm: Unsupported public key algorithm. /usr/lib64/python2.7/site-packages/cryptography/hazmat/backends/openssl/backend.py:1316: UnsupportedAlgorithm ___________________________________________________________________________________________________________________ EllipticCurveEqualityTests.test_anotherTypeEq ___________________________________________________________________________________________________________________ self = def test_anotherTypeEq(self): """ The object does not compare equal to an object of an unrelated type (which does not implement the comparison) using the C{==} operator. """ > a = self.anInstance() tests/util.py:391: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_crypto.py:3956: in anInstance return get_elliptic_curve(self.curve_factory.curve_name) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = None def get_elliptic_curve(name): """ Return a single curve object selected by name. See :py:func:`get_elliptic_curves` for information about curve objects. :param name: The OpenSSL short name identifying the curve object to retrieve. :type name: :py:class:`unicode` If the named curve is not supported then :py:class:`ValueError` is raised. """ for curve in get_elliptic_curves(): if curve.name == name: return curve > raise ValueError("unknown curve name", name) E ValueError: ('unknown curve name', None) ../pyOpenSSL-16.2.0-python2_7/lib/OpenSSL/crypto.py:460: ValueError ___________________________________________________________________________________________________________________ EllipticCurveEqualityTests.test_anotherTypeNe ___________________________________________________________________________________________________________________ self = def test_anotherTypeNe(self): """ The object compares not equal to an object of an unrelated type (which does not implement the comparison) using the C{!=} operator. """ > a = self.anInstance() tests/util.py:400: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_crypto.py:3956: in anInstance return get_elliptic_curve(self.curve_factory.curve_name) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = None def get_elliptic_curve(name): """ Return a single curve object selected by name. See :py:func:`get_elliptic_curves` for information about curve objects. :param name: The OpenSSL short name identifying the curve object to retrieve. :type name: :py:class:`unicode` If the named curve is not supported then :py:class:`ValueError` is raised. """ for curve in get_elliptic_curves(): if curve.name == name: return curve > raise ValueError("unknown curve name", name) E ValueError: ('unknown curve name', None) ../pyOpenSSL-16.2.0-python2_7/lib/OpenSSL/crypto.py:460: ValueError ____________________________________________________________________________________________________________________ EllipticCurveEqualityTests.test_delegateNe _____________________________________________________________________________________________________________________ self = def test_delegateNe(self): """ The result of comparison using C{!=} is delegated to the right-hand operand if it is of an unrelated type. """ class Delegate(object): def __ne__(self, other): # Do something crazy and obvious. return [self] > a = self.anInstance() tests/util.py:428: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_crypto.py:3956: in anInstance return get_elliptic_curve(self.curve_factory.curve_name) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = None def get_elliptic_curve(name): """ Return a single curve object selected by name. See :py:func:`get_elliptic_curves` for information about curve objects. :param name: The OpenSSL short name identifying the curve object to retrieve. :type name: :py:class:`unicode` If the named curve is not supported then :py:class:`ValueError` is raised. """ for curve in get_elliptic_curves(): if curve.name == name: return curve > raise ValueError("unknown curve name", name) E ValueError: ('unknown curve name', None) ../pyOpenSSL-16.2.0-python2_7/lib/OpenSSL/crypto.py:460: ValueError ____________________________________________________________________________________________________________________ EllipticCurveEqualityTests.test_delegatedEq ____________________________________________________________________________________________________________________ self = def test_delegatedEq(self): """ The result of comparison using C{==} is delegated to the right-hand operand if it is of an unrelated type. """ class Delegate(object): def __eq__(self, other): # Do something crazy and obvious. return [self] > a = self.anInstance() tests/util.py:414: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_crypto.py:3956: in anInstance return get_elliptic_curve(self.curve_factory.curve_name) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = None def get_elliptic_curve(name): """ Return a single curve object selected by name. See :py:func:`get_elliptic_curves` for information about curve objects. :param name: The OpenSSL short name identifying the curve object to retrieve. :type name: :py:class:`unicode` If the named curve is not supported then :py:class:`ValueError` is raised. """ for curve in get_elliptic_curves(): if curve.name == name: return curve > raise ValueError("unknown curve name", name) E ValueError: ('unknown curve name', None) ../pyOpenSSL-16.2.0-python2_7/lib/OpenSSL/crypto.py:460: ValueError ____________________________________________________________________________________________________________________ EllipticCurveEqualityTests.test_differentEq ____________________________________________________________________________________________________________________ self = def test_differentEq(self): """ Two objects that are not equal to each other do not compare equal to each other using the C{==} operator. """ > a = self.anInstance() tests/util.py:373: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_crypto.py:3956: in anInstance return get_elliptic_curve(self.curve_factory.curve_name) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = None def get_elliptic_curve(name): """ Return a single curve object selected by name. See :py:func:`get_elliptic_curves` for information about curve objects. :param name: The OpenSSL short name identifying the curve object to retrieve. :type name: :py:class:`unicode` If the named curve is not supported then :py:class:`ValueError` is raised. """ for curve in get_elliptic_curves(): if curve.name == name: return curve > raise ValueError("unknown curve name", name) E ValueError: ('unknown curve name', None) ../pyOpenSSL-16.2.0-python2_7/lib/OpenSSL/crypto.py:460: ValueError ____________________________________________________________________________________________________________________ EllipticCurveEqualityTests.test_differentNe ____________________________________________________________________________________________________________________ self = def test_differentNe(self): """ Two objects that are not equal to each other compare not equal to each other using the C{!=} operator. """ > a = self.anInstance() tests/util.py:382: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_crypto.py:3956: in anInstance return get_elliptic_curve(self.curve_factory.curve_name) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = None def get_elliptic_curve(name): """ Return a single curve object selected by name. See :py:func:`get_elliptic_curves` for information about curve objects. :param name: The OpenSSL short name identifying the curve object to retrieve. :type name: :py:class:`unicode` If the named curve is not supported then :py:class:`ValueError` is raised. """ for curve in get_elliptic_curves(): if curve.name == name: return curve > raise ValueError("unknown curve name", name) E ValueError: ('unknown curve name', None) ../pyOpenSSL-16.2.0-python2_7/lib/OpenSSL/crypto.py:460: ValueError ____________________________________________________________________________________________________________________ EllipticCurveEqualityTests.test_identicalEq ____________________________________________________________________________________________________________________ self = def test_identicalEq(self): """ An object compares equal to itself using the C{==} operator. """ > o = self.anInstance() tests/util.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_crypto.py:3956: in anInstance return get_elliptic_curve(self.curve_factory.curve_name) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = None def get_elliptic_curve(name): """ Return a single curve object selected by name. See :py:func:`get_elliptic_curves` for information about curve objects. :param name: The OpenSSL short name identifying the curve object to retrieve. :type name: :py:class:`unicode` If the named curve is not supported then :py:class:`ValueError` is raised. """ for curve in get_elliptic_curves(): if curve.name == name: return curve > raise ValueError("unknown curve name", name) E ValueError: ('unknown curve name', None) ../pyOpenSSL-16.2.0-python2_7/lib/OpenSSL/crypto.py:460: ValueError ____________________________________________________________________________________________________________________ EllipticCurveEqualityTests.test_identicalNe ____________________________________________________________________________________________________________________ self = def test_identicalNe(self): """ An object doesn't compare not equal to itself using the C{!=} operator. """ > o = self.anInstance() tests/util.py:347: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_crypto.py:3956: in anInstance return get_elliptic_curve(self.curve_factory.curve_name) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = None def get_elliptic_curve(name): """ Return a single curve object selected by name. See :py:func:`get_elliptic_curves` for information about curve objects. :param name: The OpenSSL short name identifying the curve object to retrieve. :type name: :py:class:`unicode` If the named curve is not supported then :py:class:`ValueError` is raised. """ for curve in get_elliptic_curves(): if curve.name == name: return curve > raise ValueError("unknown curve name", name) E ValueError: ('unknown curve name', None) ../pyOpenSSL-16.2.0-python2_7/lib/OpenSSL/crypto.py:460: ValueError ______________________________________________________________________________________________________________________ EllipticCurveEqualityTests.test_sameEq _______________________________________________________________________________________________________________________ self = def test_sameEq(self): """ Two objects that are equal to each other compare equal to each other using the C{==} operator. """ > a = self.anInstance() tests/util.py:355: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_crypto.py:3956: in anInstance return get_elliptic_curve(self.curve_factory.curve_name) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = None def get_elliptic_curve(name): """ Return a single curve object selected by name. See :py:func:`get_elliptic_curves` for information about curve objects. :param name: The OpenSSL short name identifying the curve object to retrieve. :type name: :py:class:`unicode` If the named curve is not supported then :py:class:`ValueError` is raised. """ for curve in get_elliptic_curves(): if curve.name == name: return curve > raise ValueError("unknown curve name", name) E ValueError: ('unknown curve name', None) ../pyOpenSSL-16.2.0-python2_7/lib/OpenSSL/crypto.py:460: ValueError ______________________________________________________________________________________________________________________ EllipticCurveEqualityTests.test_sameNe _______________________________________________________________________________________________________________________ self = def test_sameNe(self): """ Two objects that are equal to each other do not compare not equal to each other using the C{!=} operator. """ > a = self.anInstance() tests/util.py:364: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_crypto.py:3956: in anInstance return get_elliptic_curve(self.curve_factory.curve_name) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = None def get_elliptic_curve(name): """ Return a single curve object selected by name. See :py:func:`get_elliptic_curves` for information about curve objects. :param name: The OpenSSL short name identifying the curve object to retrieve. :type name: :py:class:`unicode` If the named curve is not supported then :py:class:`ValueError` is raised. """ for curve in get_elliptic_curves(): if curve.name == name: return curve > raise ValueError("unknown curve name", name) E ValueError: ('unknown curve name', None) ../pyOpenSSL-16.2.0-python2_7/lib/OpenSSL/crypto.py:460: ValueError _______________________________________________________________________________________________________________________ EllipticCurveHashTests.test_contains ________________________________________________________________________________________________________________________ self = def test_contains(self): """ The ``in`` operator reports that a :py:type:`set` containing a curve does contain that curve. """ > curve = get_elliptic_curve(self.curve_factory.curve_name) tests/test_crypto.py:3981: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = None def get_elliptic_curve(name): """ Return a single curve object selected by name. See :py:func:`get_elliptic_curves` for information about curve objects. :param name: The OpenSSL short name identifying the curve object to retrieve. :type name: :py:class:`unicode` If the named curve is not supported then :py:class:`ValueError` is raised. """ for curve in get_elliptic_curves(): if curve.name == name: return curve > raise ValueError("unknown curve name", name) E ValueError: ('unknown curve name', None) ../pyOpenSSL-16.2.0-python2_7/lib/OpenSSL/crypto.py:460: ValueError ___________________________________________________________________________________________________________________ EllipticCurveHashTests.test_does_not_contain ____________________________________________________________________________________________________________________ self = def test_does_not_contain(self): """ The ``in`` operator reports that a :py:type:`set` not containing a curve does not contain that curve. """ > curve = get_elliptic_curve(self.curve_factory.curve_name) tests/test_crypto.py:3990: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = None def get_elliptic_curve(name): """ Return a single curve object selected by name. See :py:func:`get_elliptic_curves` for information about curve objects. :param name: The OpenSSL short name identifying the curve object to retrieve. :type name: :py:class:`unicode` If the named curve is not supported then :py:class:`ValueError` is raised. """ for curve in get_elliptic_curves(): if curve.name == name: return curve > raise ValueError("unknown curve name", name) E ValueError: ('unknown curve name', None) ../pyOpenSSL-16.2.0-python2_7/lib/OpenSSL/crypto.py:460: ValueError ====================================================================================================================== 13 failed, 467 passed in 12.29 seconds ======================================================================================================================= * ERROR: dev-python/pyopenssl-16.2.0::gentoo failed (test phase): * Testing failed with python2.7 * * Call stack: * ebuild.sh, line 115: Called src_test * environment, line 4097: Called distutils-r1_src_test * environment, line 1150: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 330: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 3521: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2618: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2616: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 655: Called distutils-r1_run_phase 'python_test' * environment, line 1082: Called python_test * environment, line 3896: Called die * The specific snippet of code: * py.test -v || die "Testing failed with ${EPYTHON}" * * If you need support, post the output of `emerge --info '=dev-python/pyopenssl-16.2.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/pyopenssl-16.2.0::gentoo'`. * The complete build log is located at '/var/log/portage-build/build/dev-python/pyopenssl-16.2.0:20170327-142532.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/pyopenssl-16.2.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/pyopenssl-16.2.0/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/pyopenssl-16.2.0/work/pyOpenSSL-16.2.0' * S: '/var/tmp/portage/dev-python/pyopenssl-16.2.0/work/pyOpenSSL-16.2.0'