Source: python-oauth2client Version: 2.0.1-3 Severity: serious Justification: fails to build from source User: reproducible-bui...@lists.alioth.debian.org Usertags: ftbfs X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
Dear Maintainer, python-oauth2client fails to build from source in unstable/amd64: [..] test_get_environment_variable_file_error (tests.test_client.GoogleCredentialsTests) ... ok test_get_well_known_file_on_windows (tests.test_client.GoogleCredentialsTests) ... ok test_get_well_known_file_with_custom_config_dir (tests.test_client.GoogleCredentialsTests) ... ok test_parse_expiry (tests.test_client.GoogleCredentialsTests) ... ok test_raise_exception_for_missing_fields (tests.test_client.GoogleCredentialsTests) ... ok test_raise_exception_for_reading_json (tests.test_client.GoogleCredentialsTests) ... ok test_save_to_well_known_file_authorized_user (tests.test_client.GoogleCredentialsTests) ... ok test_save_to_well_known_file_service_account (tests.test_client.GoogleCredentialsTests) ... ok test_save_well_known_file_with_non_existent_config_dir (tests.test_client.GoogleCredentialsTests) ... ok test_to_from_json_authorized_user (tests.test_client.GoogleCredentialsTests) ... ok test_to_from_json_service_account (tests.test_client.GoogleCredentialsTests) ... ok test_get_set_delete (tests.test_client.MemoryCacheTests) ... ok test_construct_authorize_url (tests.test_client.OAuth2WebServerFlowTest) ... ok test_exchange_dictlike (tests.test_client.OAuth2WebServerFlowTest) ... ok test_exchange_fails_if_no_code (tests.test_client.OAuth2WebServerFlowTest) ... ok test_exchange_failure (tests.test_client.OAuth2WebServerFlowTest) ... ok test_exchange_failure_with_json_error (tests.test_client.OAuth2WebServerFlowTest) ... ok test_exchange_id_token (tests.test_client.OAuth2WebServerFlowTest) ... ok test_exchange_id_token_fail (tests.test_client.OAuth2WebServerFlowTest) ... ok test_exchange_no_expires_in (tests.test_client.OAuth2WebServerFlowTest) ... ok test_exchange_success (tests.test_client.OAuth2WebServerFlowTest) ... ok test_exchange_using_authorization_header (tests.test_client.OAuth2WebServerFlowTest) ... ok Passing kwargs to override defaults. ... ok test_scope_is_required (tests.test_client.OAuth2WebServerFlowTest) ... ok test_urlencoded_exchange_failure (tests.test_client.OAuth2WebServerFlowTest) ... ok test_urlencoded_exchange_no_expires_in (tests.test_client.OAuth2WebServerFlowTest) ... ok test_urlencoded_exchange_success (tests.test_client.OAuth2WebServerFlowTest) ... ok test_urlencoded_expires_param (tests.test_client.OAuth2WebServerFlowTest) ... ok test_assertion_body (tests.test_client.TestAssertionCredentials) ... ok test_assertion_refresh (tests.test_client.TestAssertionCredentials) ... ok test_sign_blob_abstract (tests.test_client.TestAssertionCredentials) ... ok test_token_revoke_failure (tests.test_client.TestAssertionCredentials) ... ok test_token_revoke_success (tests.test_client.TestAssertionCredentials) ... ok test_existing (tests.test_client.Test__save_private_file) ... ok test_new (tests.test_client.Test__save_private_file) ... ok test_update_query_params_existing_params (tests.test_client.UpdateQueryParamsTest) ... ok test_update_query_params_no_params (tests.test_client.UpdateQueryParamsTest) ... ok test_cache_hit (tests.test_clientsecrets.CachedClientsecretsTests) ... ok test_cache_miss (tests.test_clientsecrets.CachedClientsecretsTests) ... ok test_validation (tests.test_clientsecrets.CachedClientsecretsTests) ... ok test_without_cache (tests.test_clientsecrets.CachedClientsecretsTests) ... ok test_load_by_filename_missing_file (tests.test_clientsecrets.OAuth2CredentialsTests) ... ok test_validate_error (tests.test_clientsecrets.OAuth2CredentialsTests) ... ok test_bad_json (tests.test_clientsecrets.Test__loadfile) ... ok test_non_existent (tests.test_clientsecrets.Test__loadfile) ... ok test_success (tests.test_clientsecrets.Test__loadfile) ... ok test_invalid_client_type (tests.test_clientsecrets.Test__validate_clientsecrets) ... ok test_missing_required_type_installed (tests.test_clientsecrets.Test__validate_clientsecrets) ... ok test_missing_required_type_web (tests.test_clientsecrets.Test__validate_clientsecrets) ... ok test_string_not_configured_type_installed (tests.test_clientsecrets.Test__validate_clientsecrets) ... ok test_string_not_configured_type_web (tests.test_clientsecrets.Test__validate_clientsecrets) ... ok test_success_type_installed (tests.test_clientsecrets.Test__validate_clientsecrets) ... ok test_success_type_web (tests.test_clientsecrets.Test__validate_clientsecrets) ... ok test_with_non_dictionary (tests.test_clientsecrets.Test__validate_clientsecrets) ... ok test_with_none (tests.test_clientsecrets.Test__validate_clientsecrets) ... ok test_with_other_than_one_key (tests.test_clientsecrets.Test__validate_clientsecrets) ... ok test_fails (tests.test_crypt.Test__bad_pkcs12_key_as_pem) ... ok test_missing_aud (tests.test_crypt.Test__check_audience) ... ok test_null_audience (tests.test_crypt.Test__check_audience) ... ok test_success (tests.test_crypt.Test__check_audience) ... ok test_wrong_aud (tests.test_crypt.Test__check_audience) ... ok test_failure (tests.test_crypt.Test__verify_signature) ... ok test_success_multiple_certs (tests.test_crypt.Test__verify_signature) ... ok test_success_single_cert (tests.test_crypt.Test__verify_signature) ... ok test_success (tests.test_crypt.Test__verify_time_range) ... ok test_with_bad_token_lifetime (tests.test_crypt.Test__verify_time_range) ... ok test_with_expiration_in_the_past (tests.test_crypt.Test__verify_time_range) ... ok test_with_issued_at_in_future (tests.test_crypt.Test__verify_time_range) ... ok test_without_expiration (tests.test_crypt.Test__verify_time_range) ... ok test_without_issued_at (tests.test_crypt.Test__verify_time_range) ... ok test_succeeds (tests.test_crypt.Test_pkcs12_key_as_pem) ... ok test_succeeds_with_unicode_password (tests.test_crypt.Test_pkcs12_key_as_pem) ... ok test_jwt_no_segments (tests.test_crypt.Test_verify_signed_jwt_with_certs) ... ok test_jwt_payload_bad_json (tests.test_crypt.Test_verify_signed_jwt_with_certs) ... ok test_success (tests.test_crypt.Test_verify_signed_jwt_with_certs) ... ok test_access_token_credentials (tests.test_file.OAuth2ClientFileTests) ... ok test_credentials_delete (tests.test_file.OAuth2ClientFileTests) ... ok test_no_sym_link_credentials (tests.test_file.OAuth2ClientFileTests) ... ok test_non_existent_file_storage (tests.test_file.OAuth2ClientFileTests) ... ok test_pickle_and_json_interop (tests.test_file.OAuth2ClientFileTests) ... ok test_token_refresh_good_store (tests.test_file.OAuth2ClientFileTests) ... ok test_token_refresh_store_expired (tests.test_file.OAuth2ClientFileTests) ... ok test_token_refresh_store_expires_soon (tests.test_file.OAuth2ClientFileTests) ... ok test_token_refresh_stream_body (tests.test_file.OAuth2ClientFileTests) ... ok test_from_string_non_509_cert (tests.test_jwt.CryptTests) ... ok test_sign_and_verify (tests.test_jwt.CryptTests) ... ok test_sign_and_verify_from_converted_pkcs12 (tests.test_jwt.CryptTests) ... ok test_verify_id_token (tests.test_jwt.CryptTests) ... ok test_verify_id_token_bad_tokens (tests.test_jwt.CryptTests) ... ok test_verify_id_token_with_certs_uri (tests.test_jwt.CryptTests) ... ok test_verify_id_token_with_certs_uri_fails (tests.test_jwt.CryptTests) ... ok test_from_string_non_509_cert (tests.test_jwt.PEMCryptTestsOpenSSL) ... ok test_sign_and_verify (tests.test_jwt.PEMCryptTestsOpenSSL) ... ok test_sign_and_verify_from_converted_pkcs12 (tests.test_jwt.PEMCryptTestsOpenSSL) ... ok test_verify_id_token (tests.test_jwt.PEMCryptTestsOpenSSL) ... ok test_verify_id_token_bad_tokens (tests.test_jwt.PEMCryptTestsOpenSSL) ... ok test_verify_id_token_with_certs_uri (tests.test_jwt.PEMCryptTestsOpenSSL) ... ok test_verify_id_token_with_certs_uri_fails (tests.test_jwt.PEMCryptTestsOpenSSL) ... ok test_from_string_non_509_cert (tests.test_jwt.PEMCryptTestsPyCrypto) ... ok test_sign_and_verify (tests.test_jwt.PEMCryptTestsPyCrypto) ... ok test_sign_and_verify_from_converted_pkcs12 (tests.test_jwt.PEMCryptTestsPyCrypto) ... ok test_verify_id_token (tests.test_jwt.PEMCryptTestsPyCrypto) ... ok test_verify_id_token_bad_tokens (tests.test_jwt.PEMCryptTestsPyCrypto) ... ok test_verify_id_token_with_certs_uri (tests.test_jwt.PEMCryptTestsPyCrypto) ... ok test_verify_id_token_with_certs_uri_fails (tests.test_jwt.PEMCryptTestsPyCrypto) ... ok test_credentials_good (tests.test_jwt.PEMSignedJwtAssertionCredentialsOpenSSLTests) ... ok test_credentials_refresh_with_storage (tests.test_jwt.PEMSignedJwtAssertionCredentialsOpenSSLTests) ... ok test_credentials_refresh_without_storage (tests.test_jwt.PEMSignedJwtAssertionCredentialsOpenSSLTests) ... ok test_credentials_to_from_json (tests.test_jwt.PEMSignedJwtAssertionCredentialsOpenSSLTests) ... ok test_credentials_good (tests.test_jwt.PEMSignedJwtAssertionCredentialsPyCryptoTests) ... ok test_credentials_refresh_with_storage (tests.test_jwt.PEMSignedJwtAssertionCredentialsPyCryptoTests) ... ok test_credentials_refresh_without_storage (tests.test_jwt.PEMSignedJwtAssertionCredentialsPyCryptoTests) ... ok test_credentials_to_from_json (tests.test_jwt.PEMSignedJwtAssertionCredentialsPyCryptoTests) ... ok test_credentials_good (tests.test_jwt.SignedJwtAssertionCredentialsTests) ... ok test_credentials_refresh_with_storage (tests.test_jwt.SignedJwtAssertionCredentialsTests) ... ok test_credentials_refresh_without_storage (tests.test_jwt.SignedJwtAssertionCredentialsTests) ... ok test_credentials_to_from_json (tests.test_jwt.SignedJwtAssertionCredentialsTests) ... ok test_true (tests.test_jwt.TestHasOpenSSLFlag) ... ok test__to_json_override (tests.test_service_account.ServiceAccountCredentialsTests) ... ok test_access_token (tests.test_service_account.ServiceAccountCredentialsTests) ... ok test_create_delegated (tests.test_service_account.ServiceAccountCredentialsTests) ... ok test_create_delegated_existing_sub (tests.test_service_account.ServiceAccountCredentialsTests) ... ok test_create_scoped (tests.test_service_account.ServiceAccountCredentialsTests) ... ok test_create_scoped_required_with_scopes (tests.test_service_account.ServiceAccountCredentialsTests) ... ok test_create_scoped_required_without_scopes (tests.test_service_account.ServiceAccountCredentialsTests) ... ok test_from_json_keyfile_name_factory (tests.test_service_account.ServiceAccountCredentialsTests) ... ok test_from_json_keyfile_name_factory_bad_type (tests.test_service_account.ServiceAccountCredentialsTests) ... ok test_from_json_keyfile_name_factory_missing_field (tests.test_service_account.ServiceAccountCredentialsTests) ... ok test_from_p12_keyfile_buffer (tests.test_service_account.ServiceAccountCredentialsTests) ... ok test_from_p12_keyfile_defaults (tests.test_service_account.ServiceAccountCredentialsTests) ... ok test_from_p12_keyfile_explicit (tests.test_service_account.ServiceAccountCredentialsTests) ... ok test_from_p12_keyfile_with_pycrypto (tests.test_service_account.ServiceAccountCredentialsTests) ... ok test_from_p12_keyfile_with_rsa (tests.test_service_account.ServiceAccountCredentialsTests) ... ok test_service_account_email (tests.test_service_account.ServiceAccountCredentialsTests) ... ok test_sign_blob (tests.test_service_account.ServiceAccountCredentialsTests) ... ok test_ClientRedirectServer (tests.test_tools.TestClientRedirectServer) ... SKIP: Skipped in Debian: doing network access test_iterables (tests.test_util.ScopeToStringTests) ... ok test_conversion (tests.test_util.StringToScopeTests) ... ok ====================================================================== ERROR: test_bad_message_to_mock_server (tests.contrib.test_devshell.DevshellCredentialsTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "tests/contrib/test_devshell.py", line 189, in test_bad_message_to_mock_server sock.connect(('localhost', port)) File "/usr/lib/python2.7/socket.py", line 228, in meth return getattr(self._sock,name)(*args) error: [Errno 110] Connection timed out ====================================================================== ERROR: test_handles_ignores_extra_fields (tests.contrib.test_devshell.DevshellCredentialsTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "tests/contrib/test_devshell.py", line 245, in test_handles_ignores_extra_fields creds = DevshellCredentials() File "/home/lamby/temp/cdt.20160626150951.4RE5NxmaXg.python-oauth2client/python-oauth2client-2.0.1/oauth2client/contrib/devshell.py", line 122, in __init__ self._refresh(None) File "/home/lamby/temp/cdt.20160626150951.4RE5NxmaXg.python-oauth2client/python-oauth2client-2.0.1/oauth2client/contrib/devshell.py", line 125, in _refresh self.devshell_response = _SendRecv() File "/home/lamby/temp/cdt.20160626150951.4RE5NxmaXg.python-oauth2client/python-oauth2client-2.0.1/oauth2client/contrib/devshell.py", line 83, in _SendRecv sock.connect(('localhost', port)) File "/usr/lib/python2.7/socket.py", line 228, in meth return getattr(self._sock,name)(*args) error: [Errno 110] Connection timed out ====================================================================== ERROR: test_handles_skipped_fields (tests.contrib.test_devshell.DevshellCredentialsTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "tests/contrib/test_devshell.py", line 229, in test_handles_skipped_fields creds = DevshellCredentials() File "/home/lamby/temp/cdt.20160626150951.4RE5NxmaXg.python-oauth2client/python-oauth2client-2.0.1/oauth2client/contrib/devshell.py", line 122, in __init__ self._refresh(None) File "/home/lamby/temp/cdt.20160626150951.4RE5NxmaXg.python-oauth2client/python-oauth2client-2.0.1/oauth2client/contrib/devshell.py", line 125, in _refresh self.devshell_response = _SendRecv() File "/home/lamby/temp/cdt.20160626150951.4RE5NxmaXg.python-oauth2client/python-oauth2client-2.0.1/oauth2client/contrib/devshell.py", line 83, in _SendRecv sock.connect(('localhost', port)) File "/usr/lib/python2.7/socket.py", line 228, in meth return getattr(self._sock,name)(*args) error: [Errno 110] Connection timed out ====================================================================== ERROR: test_handles_tiny_response (tests.contrib.test_devshell.DevshellCredentialsTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "tests/contrib/test_devshell.py", line 237, in test_handles_tiny_response creds = DevshellCredentials() File "/home/lamby/temp/cdt.20160626150951.4RE5NxmaXg.python-oauth2client/python-oauth2client-2.0.1/oauth2client/contrib/devshell.py", line 122, in __init__ self._refresh(None) File "/home/lamby/temp/cdt.20160626150951.4RE5NxmaXg.python-oauth2client/python-oauth2client-2.0.1/oauth2client/contrib/devshell.py", line 125, in _refresh self.devshell_response = _SendRecv() File "/home/lamby/temp/cdt.20160626150951.4RE5NxmaXg.python-oauth2client/python-oauth2client-2.0.1/oauth2client/contrib/devshell.py", line 83, in _SendRecv sock.connect(('localhost', port)) File "/usr/lib/python2.7/socket.py", line 228, in meth return getattr(self._sock,name)(*args) error: [Errno 110] Connection timed out ====================================================================== ERROR: test_no_refresh_token (tests.contrib.test_devshell.DevshellCredentialsTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "tests/contrib/test_devshell.py", line 210, in test_no_refresh_token creds = DevshellCredentials() File "/home/lamby/temp/cdt.20160626150951.4RE5NxmaXg.python-oauth2client/python-oauth2client-2.0.1/oauth2client/contrib/devshell.py", line 122, in __init__ self._refresh(None) File "/home/lamby/temp/cdt.20160626150951.4RE5NxmaXg.python-oauth2client/python-oauth2client-2.0.1/oauth2client/contrib/devshell.py", line 125, in _refresh self.devshell_response = _SendRecv() File "/home/lamby/temp/cdt.20160626150951.4RE5NxmaXg.python-oauth2client/python-oauth2client-2.0.1/oauth2client/contrib/devshell.py", line 83, in _SendRecv sock.connect(('localhost', port)) File "/usr/lib/python2.7/socket.py", line 228, in meth return getattr(self._sock,name)(*args) error: [Errno 110] Connection timed out ====================================================================== ERROR: test_reads_credentials (tests.contrib.test_devshell.DevshellCredentialsTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1305, in patched return func(*args, **keywargs) File "tests/contrib/test_devshell.py", line 218, in test_reads_credentials creds = DevshellCredentials() File "/home/lamby/temp/cdt.20160626150951.4RE5NxmaXg.python-oauth2client/python-oauth2client-2.0.1/oauth2client/contrib/devshell.py", line 122, in __init__ self._refresh(None) File "/home/lamby/temp/cdt.20160626150951.4RE5NxmaXg.python-oauth2client/python-oauth2client-2.0.1/oauth2client/contrib/devshell.py", line 125, in _refresh self.devshell_response = _SendRecv() File "/home/lamby/temp/cdt.20160626150951.4RE5NxmaXg.python-oauth2client/python-oauth2client-2.0.1/oauth2client/contrib/devshell.py", line 83, in _SendRecv sock.connect(('localhost', port)) File "/usr/lib/python2.7/socket.py", line 228, in meth return getattr(self._sock,name)(*args) error: [Errno 110] Connection timed out ====================================================================== ERROR: test_refuses_to_save_to_well_known_file (tests.contrib.test_devshell.DevshellCredentialsTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "tests/contrib/test_devshell.py", line 255, in test_refuses_to_save_to_well_known_file creds = DevshellCredentials() File "/home/lamby/temp/cdt.20160626150951.4RE5NxmaXg.python-oauth2client/python-oauth2client-2.0.1/oauth2client/contrib/devshell.py", line 122, in __init__ self._refresh(None) File "/home/lamby/temp/cdt.20160626150951.4RE5NxmaXg.python-oauth2client/python-oauth2client-2.0.1/oauth2client/contrib/devshell.py", line 125, in _refresh self.devshell_response = _SendRecv() File "/home/lamby/temp/cdt.20160626150951.4RE5NxmaXg.python-oauth2client/python-oauth2client-2.0.1/oauth2client/contrib/devshell.py", line 83, in _SendRecv sock.connect(('localhost', port)) File "/usr/lib/python2.7/socket.py", line 228, in meth return getattr(self._sock,name)(*args) error: [Errno 110] Connection timed out ====================================================================== ERROR: test_request_response (tests.contrib.test_devshell.DevshellCredentialsTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "tests/contrib/test_devshell.py", line 203, in test_request_response response = _SendRecv() File "/home/lamby/temp/cdt.20160626150951.4RE5NxmaXg.python-oauth2client/python-oauth2client-2.0.1/oauth2client/contrib/devshell.py", line 83, in _SendRecv sock.connect(('localhost', port)) File "/usr/lib/python2.7/socket.py", line 228, in meth return getattr(self._sock,name)(*args) error: [Errno 110] Connection timed out ====================================================================== ERROR: test_serialization_data (tests.contrib.test_devshell.DevshellCredentialsTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "tests/contrib/test_devshell.py", line 267, in test_serialization_data credentials = DevshellCredentials() File "/home/lamby/temp/cdt.20160626150951.4RE5NxmaXg.python-oauth2client/python-oauth2client-2.0.1/oauth2client/contrib/devshell.py", line 122, in __init__ self._refresh(None) File "/home/lamby/temp/cdt.20160626150951.4RE5NxmaXg.python-oauth2client/python-oauth2client-2.0.1/oauth2client/contrib/devshell.py", line 125, in _refresh self.devshell_response = _SendRecv() File "/home/lamby/temp/cdt.20160626150951.4RE5NxmaXg.python-oauth2client/python-oauth2client-2.0.1/oauth2client/contrib/devshell.py", line 83, in _SendRecv sock.connect(('localhost', port)) File "/usr/lib/python2.7/socket.py", line 228, in meth return getattr(self._sock,name)(*args) error: [Errno 110] Connection timed out ====================================================================== ERROR: Failure: AttributeError ('module' object has no attribute 'SubfieldBase') ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "tests/contrib/test_django_orm.py", line 53, in <module> from oauth2client.contrib.django_orm import CredentialsField File "/home/lamby/temp/cdt.20160626150951.4RE5NxmaXg.python-oauth2client/python-oauth2client-2.0.1/oauth2client/contrib/django_orm.py", line 34, in <module> class CredentialsField(six.with_metaclass(models.SubfieldBase, models.Field)): AttributeError: 'module' object has no attribute 'SubfieldBase' ---------------------------------------------------------------------- Ran 350 tests in 1146.049s FAILED (SKIP=1, errors=10) debian/rules:29: recipe for target 'override_dh_auto_test' failed make[1]: *** [override_dh_auto_test] Error 1 make[1]: Leaving directory '/home/lamby/temp/cdt.20160626150951.4RE5NxmaXg.python-oauth2client/python-oauth2client-2.0.1' debian/rules:15: recipe for target 'build' failed make: *** [build] Error 2 [..] The full build log is attached. Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
python-oauth2client.2.0.1-3.unstable.amd64.log.txt.gz
Description: Binary data