-
Notifications
You must be signed in to change notification settings - Fork 33
[CloudRun] Implement Cloudrun to Cloudrun test #164
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
Conversation
sergiitk
left a comment
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.
LGTM, but I'd like to have another look before merging
framework/test_app/runners/cloud_run/cloud_run_xds_client_runner.py
Outdated
Show resolved
Hide resolved
framework/test_app/runners/cloud_run/cloud_run_xds_client_runner.py
Outdated
Show resolved
Hide resolved
framework/test_app/runners/cloud_run/cloud_run_xds_client_runner.py
Outdated
Show resolved
Hide resolved
framework/test_app/runners/cloud_run/cloud_run_xds_client_runner.py
Outdated
Show resolved
Hide resolved
framework/test_app/runners/cloud_run/cloud_run_xds_client_runner.py
Outdated
Show resolved
Hide resolved
sergiitk
left a comment
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.
We need to get rid of granting roles/run.invoker to allUsers. See my comment on policy_body with further explanations.
framework/test_app/runners/cloud_run/cloud_run_xds_client_runner.py
Outdated
Show resolved
Hide resolved
framework/test_app/runners/cloud_run/cloud_run_xds_client_runner.py
Outdated
Show resolved
Hide resolved
sergiitk
left a comment
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'm getting the following error.
Traceback (most recent call last):
File "/Users/sergiitk/Development/psm-interop/tests/cloud_run_csm_outbound_test.py", line 74, in test_cloud_run_to_cloud_run
self.assertXdsConfigExistsWithRetry(
File "/Users/sergiitk/Development/psm-interop/framework/xds_k8s_testcase.py", line 591, in assertXdsConfigExistsWithRetry
retryer(
File "/Users/sergiitk/Development/psm-interop/venv/lib/python3.10/site-packages/tenacity/__init__.py", line 423, in __call__
do = self.iter(retry_state=retry_state)
File "/Users/sergiitk/Development/psm-interop/venv/lib/python3.10/site-packages/tenacity/__init__.py", line 369, in iter
return self.retry_error_callback(retry_state=retry_state)
File "/Users/sergiitk/Development/psm-interop/framework/helpers/retryers.py", line 147, in error_handler
raise RetryError(
framework.helpers.retryers.RetryError: Retry error calling framework.xds_k8s_testcase.XdsKubernetesBaseTestCase.assertXdsConfigExists: timeout 0:10:00 (h:mm:ss) exceeded. Last exception: AssertionError: unexpectedly None
Could not find correct bootstrap config before timeout 0:10:00 (h:mm:ss)
Tests the case where the client and the server are running in cloudrun. Verifies that 100 RPCs reach the server correctly and return with the correct response.