You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Alexey Romanenko (JIRA)" <ji...@apache.org> on 2018/03/27 09:52:00 UTC

[jira] [Created] (BEAM-3946) Python SDK tests are failing if no GOOGLE_APPLICATION_CREDENTIALS was set

Alexey Romanenko created BEAM-3946:
--------------------------------------

             Summary: Python SDK tests are failing if no GOOGLE_APPLICATION_CREDENTIALS was set
                 Key: BEAM-3946
                 URL: https://issues.apache.org/jira/browse/BEAM-3946
             Project: Beam
          Issue Type: Bug
          Components: examples-python
            Reporter: Alexey Romanenko
            Assignee: Ahmet Altay


Running locally mvn clean install fails on following Apache Beam :: SDKs :: Python tests:

{{ERROR: test_message_matcher_mismatch (apache_beam.io.gcp.tests.pubsub_matcher_test.PubSubMatcherTest)}}
 {{ERROR: test_message_matcher_success (apache_beam.io.gcp.tests.pubsub_matcher_test.PubSubMatcherTest)}}
 {{ERROR: test_message_metcher_timeout (apache_beam.io.gcp.tests.pubsub_matcher_test.PubSubMatcherTest)}}

 

{{with an error:}}
{{ DefaultCredentialsError: Could not automatically determine credentials. Please set GOOGLE_APPLICATION_CREDENTIALS or}}
{{ explicitly create credential and re-run the application. For more}}
{{ information, please see}}
{{ [https://developers.google.com/accounts/docs/application-default-credentials].}}
{{ -------------------- >> begin captured logging << --------------------}}
{{ google.auth.transport._http_client: DEBUG: Making request: GET [http://169.254.169.254|http://169.254.169.254/]}}
{{ google.auth.compute_engine._metadata: INFO: Compute Engine Metadata server unavailable.}}
{{ --------------------- >> end captured logging << ---------------------}}

 

It looks like it's a regression and it was caused by this commit: [301853647f2c726c04c5bdb02cab6ff6b39f09d0|https://github.com/apache/beam/commit/301853647f2c726c04c5bdb02cab6ff6b39f09d0]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)