beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colm O hEigeartaigh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BEAM-3946) Python SDK tests are failing if no GOOGLE_APPLICATION_CREDENTIALS was set
Date Thu, 05 Apr 2018 10:19:01 GMT

    [ https://issues.apache.org/jira/browse/BEAM-3946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16426712#comment-16426712
] 

Colm O hEigeartaigh commented on BEAM-3946:
-------------------------------------------

I can confirm the issue is fixed - thanks!

> 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)

Mime
View raw message