[ https://issues.apache.org/jira/browse/BEAM-3946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Liu resolved BEAM-3946. ---------------------------- Resolution: Fixed Fix Version/s: Not applicable > 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: Mark Liu > Priority: Major > Fix For: Not applicable > > Time Spent: 20m > Remaining Estimate: 0h > > 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)