ASF GitHub Bot logged work on BEAM-3946:

                Author: ASF GitHub Bot
            Created on: 04/Apr/18 17:55
            Start Date: 04/Apr/18 17:55
    Worklog Time Spent: 10m 
      Work Description: markflyhigh opened a new pull request #5021: 
[BEAM-3946] Fix pubsub_matcher_test which depends on 
URL: https://github.com/apache/beam/pull/5021
   Fix PubsubMatcher unittest which depends on GOOGLE_APPLICATION_CREDENTIALS 
when running tests.
   Verified fix in a non GOOGLE_APPLICATION_CREDENTIALS installed Ubuntu 
   Follow this checklist to help us incorporate your contribution quickly and 
    - [ ] Make sure there is a [JIRA 
issue](https://issues.apache.org/jira/projects/BEAM/issues/) filed for the 
change (usually before you start working on it).  Trivial changes like typos do 
not require a JIRA issue.  Your pull request should address just this issue, 
without pulling in other changes.
    - [ ] Format the pull request title like `[BEAM-XXX] Fixes bug in 
ApproximateQuantiles`, where you replace `BEAM-XXX` with the appropriate JIRA 
    - [ ] Write a pull request description that is detailed enough to 
      - [ ] What the pull request does
      - [ ] Why it does it
      - [ ] How it does it
      - [ ] Why this approach
    - [ ] Each commit in the pull request should have a meaningful subject line 
and body.
    - [ ] Run `mvn clean verify` to make sure basic checks pass. A more 
thorough check will be performed on your pull request automatically.
    - [ ] If this contribution is large, please file an Apache [Individual 
Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

Issue Time Tracking

            Worklog Id:     (was: 87684)
            Time Spent: 10m
    Remaining Estimate: 0h

> 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
>          Time Spent: 10m
>  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. 
>  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 
> [|]
>  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

Reply via email to