You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "BjornPrime (via GitHub)" <gi...@apache.org> on 2023/05/18 20:33:55 UTC

[GitHub] [beam] BjornPrime opened a new issue, #26774: [Task]: Ensure google.auth credentials are available in test environments

BjornPrime opened a new issue, #26774:
URL: https://github.com/apache/beam/issues/26774

   ### What needs to happen?
   
   The apitools-generated StorageV1 client is being swapped out for the GCS Client, which has more stringent authentication requirements. Due to this, in sdks/python/apache_beam/examples, the following examples were experiencing DefaultCredentialsErrors related to a lack of credentials in their environments, causing tests to fail:
   - complete/game/user_score.py
   - cookbook/multiple_output_pardo.py
   - wordcount.py
   - wordcount_debugging.py
   - wordcount_minimal.py
   - wordcount_with_metrics.py
   
   To address this, the examples were wrapped in try-except blocks to catch the errors so the tests could run, but this is not ideal in the long-term. We need to update the test environments so the appropriate credentials are available when these examples run, allowing the try-except blocks to be removed without the tests failing.
   
   ### Issue Priority
   
   Priority: 2 (default / most normal work should be filed as P2)
   
   ### Issue Components
   
   - [X] Component: Python SDK
   - [ ] Component: Java SDK
   - [ ] Component: Go SDK
   - [ ] Component: Typescript SDK
   - [ ] Component: IO connector
   - [X] Component: Beam examples
   - [ ] Component: Beam playground
   - [ ] Component: Beam katas
   - [ ] Component: Website
   - [ ] Component: Spark Runner
   - [ ] Component: Flink Runner
   - [ ] Component: Samza Runner
   - [ ] Component: Twister2 Runner
   - [ ] Component: Hazelcast Jet Runner
   - [ ] Component: Google Cloud Dataflow Runner


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] BjornPrime commented on issue #26774: [Task]: Ensure google.auth credentials are available in test environments

Posted by "BjornPrime (via GitHub)" <gi...@apache.org>.
BjornPrime commented on issue #26774:
URL: https://github.com/apache/beam/issues/26774#issuecomment-1573826602

   More efficient workaround implemented to allow for anonymous access.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] BjornPrime closed issue #26774: [Task]: Ensure google.auth credentials are available in test environments

Posted by "BjornPrime (via GitHub)" <gi...@apache.org>.
BjornPrime closed issue #26774: [Task]: Ensure google.auth credentials are available in test environments
URL: https://github.com/apache/beam/issues/26774


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org