-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/add retry to gcp auth #28475
Feature/add retry to gcp auth #28475
Conversation
# Conflicts: # CHANGES.md
Create gradle task and github actions config for GCS using this.
…tests Feature/automate performance tests
…tests fix call to gradle
…tests run on hosted runner for testing
…tests add additional checkout
…tests add destination for triggered tests
…tests move env variables to correct location
…tests try uploading against separate dataset
…tests try without a user
…tests update branch checkout, try to view the failure log
…tests run on failure
…tests update to use correct BigQuery instance
…tests convert to matrix
Codecov Report
@@ Coverage Diff @@
## master #28475 +/- ##
==========================================
- Coverage 72.33% 72.07% -0.27%
==========================================
Files 683 679 -4
Lines 100709 100013 -696
==========================================
- Hits 72848 72082 -766
- Misses 26284 26354 +70
Partials 1577 1577
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 39 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Checks are failing. Will not request review until checks are succeeding. If you'd like to override that behavior, comment |
Assigning reviewers. If you would like to opt out of this review, comment R: @liferoad for label python. Available commands:
The PR bot will only process comments in the main thread (not review comments). |
@@ -159,12 +159,19 @@ def _get_service_credentials(pipeline_options): | |||
'Credentials.') | |||
return credentials | |||
except Exception as e: | |||
_LOGGER.warning( | |||
_LOGGER.error( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure we need to change this to error since connecting anonymously is allowed. And can we also make the message much clearer? e.g, Unable to find default credentials to use: %s\n, Connecting anonymously. This is expected if no credentials are required to access GCP resources.
LGTM. make sure the tests run fine. Thanks. |
Run Python_Coverage PreCommit |
Run Python PreCommit |
This is marked as blocking release. It seems like a nice feature but not a release blocker. Is there more context? |
We had a customer issue where this not retrying caused a pipeline to fail. Ultimately, the issue was downstream, so we can defer this for 2.51 |
I suggest given the nature of this, no need to specify a milestone. |
Change retry timeout to facilitate shorter retrys for anonymous access cases
Run Python PreCommit |
Run Python PreCommit |
Run Python PreCommit |
Updating our GCP auth flow to add a retry if we don't receive credentails
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
addresses #123
), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, commentfixes #<ISSUE NUMBER>
instead.CHANGES.md
with noteworthy changes.See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)
See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.