Sergii Tkachenko
23dc8fde78
[PSM Interop] Update and improve local-dev.cfg example ( #33892 )
...
The most important change here is to setting `resource_suffix` and
`server_xds_port` flags to "generate randomly" by default. Previously we
were suggesting static values, and devs ended up with resource conflict
errors.
1 year ago
Sergii Tkachenko
8101a808ec
[PSM Interop] Set canonical server via canonical-* tag, not commit sha ( #33588 )
...
While this is less transparent, it makes it significantly easier to
deliver images with latest security patches.
1 year ago
Sergii Tkachenko
e9446ca20c
[PSM Interop] Bump URL Map canonical server from 1.40.0 to 1.56.0 ( #33587 )
...
Similar to https://github.com/grpc/grpc/pull/33542 .
Note that there's a ticket to automatically use the one specified in the
--server_image_canonical flag, but for now we just hardcode.
ref b/261911148, b/282106799.
1 year ago
Sergii Tkachenko
2878e85ef5
[PSM Interop] Bump the canonical server from v1.48.1 to v1.56.0 ( #33542 )
...
### From:
* Closest tag: `v1.48.1`
* Branch: https://github.com/grpc/grpc-java/commits/v1.48.x
* Commit: grpc/grpc-java@d56f8fbe1d2822bc4f91515dd471ad49493fc385
* Image:
gcr.io/grpc-testing/xds-interop/java-server:d56f8fbe1d2822bc4f91515dd471ad49493fc385
### To:
* Closest tag: `v1.56.0`
* Branch: https://github.com/grpc/grpc-java/commits/v1.56.x
* Commit: grpc/grpc-java@558b5b0bfac8e21755c223063274a779b3898afe
* Image:
gcr.io/grpc-testing/xds-interop/java-server:558b5b0bfac8e21755c223063274a779b3898afe
1 year ago
Sergii Tkachenko
acbac3deee
[PSM Interop] Output GCP log links at the end of the test ( #33104 )
...
Output example:
```
I0512 21:33:09.879951 140704627381056 xds_k8s_testcase.py:482] ----- TestMethod __main__.BaselineTest.test_traffic_director_grpc_setup teardown -----
I0512 21:33:09.880299 140704627381056 traffic_director.py:582] Deleting Forwarding rule "sergiitk-forwarding-rule-20230513-0428-aolg9"
...
I0512 21:35:53.437206 140704627381056 xds_k8s_testcase.py:491] ----- Test client/server logs -----
I0512 21:35:53.437497 140704627381056 k8s_base_runner.py:491] GCP Logs Explorer link to psm-grpc-client:
https://pantheon.corp.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22sergiitk-grpc-gke%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22sergiitk-client-20230513-0428-aolg9%22;timeRange=2023-05-13T04:30:45.361596Z%2F2023-05-13T04:34:41.227014Z?project=sergiitk-grpc-gke
I0512 21:35:53.437677 140704627381056 k8s_base_runner.py:491] GCP Logs Explorer link to psm-grpc-server:
https://pantheon.corp.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22sergiitk-grpc-gke%22%0Aresource.labels.container_name%3D%22psm-grpc-server%22%0Aresource.labels.namespace_name%3D%22sergiitk-server-20230513-0428-aolg9%22;timeRange=2023-05-13T04:29:41.171388Z%2F2023-05-13T04:35:53.437068Z?project=sergiitk-grpc-gke
[ OK ] BaselineTest.test_traffic_director_grpc_setup
```
2 years ago
Sergii Tkachenko
0932b426f1
xDS interop: Fix default resource prefix ( #30754 )
...
* xDS interop: Fix default resource prefix
No longer just security tests.
This is done to avoid confusion when debugging resources managed
by the LB tests.
* s/xds/psm
2 years ago
Sergii Tkachenko
283e9665f1
xDS interop: s/server_image_universal/server_image_canonical/g ( #30740 )
2 years ago
Sergii Tkachenko
1ed5b24f35
xDS interop: add support for the reference xds test server ( #30519 )
...
- xDS interop: add support for the reference xds test server
- Set default xDS test server reference to Java `v1.48.1`
- Override xDS test server with the reference in Outlier Detection
2 years ago
Sergii Tkachenko
3ab8b2ee62
xDS interop: update td bootstrap from v0.12.0-rc1 to v0.14.0 ( #30455 )
...
Corresponding changes to the k8s manifests:
- Remove `include-v3-features-experimental`: it's enabled by default as of v0.11.0
- Remove `include-psm-security-experimental`: enabled by default as of v0.12.0
- Rename `node-metadata-experimental` to node-metadata: stabilized as of v0.13.0
https://github.com/GoogleCloudPlatform/traffic-director-grpc-bootstrap/releases/tag/v0.12.0-rc1
https://github.com/GoogleCloudPlatform/traffic-director-grpc-bootstrap/releases/tag/v0.14.0
2 years ago
Sergii Tkachenko
fa5598759c
xds-k8s readme minor fixes and improvements ( #29578 )
3 years ago
Lidi Zheng
3dab256776
Make Workload Identity optional ( #27189 )
...
* Make Workload Identity optional
* Update tools/run_tests/xds_k8s_test_driver/framework/test_app/server_app.py
Co-authored-by: Sergii Tkachenko <hi@sergii.org>
* Update tools/run_tests/xds_k8s_test_driver/framework/xds_k8s_flags.py
Co-authored-by: Sergii Tkachenko <hi@sergii.org>
* Flip the bool flag naming
* Correct the flag help description
Co-authored-by: Sergii Tkachenko <hi@sergii.org>
3 years ago
Lidi Zheng
86b08f4fcf
Use resource_prefix instead of namespace in K8s tests ( #26701 )
...
* Fix several minor issues with url-map k8s tests
* Revert changes about backend service
* Fix a k8s flag name
* Update tools/run_tests/xds_k8s_test_driver/config/local-dev.cfg.example
Co-authored-by: Sergii Tkachenko <hi@sergii.org>
Co-authored-by: Sergii Tkachenko <hi@sergii.org>
3 years ago
Sergii Tkachenko
4742f99457
xds-k8s: Colorize all the things ( #26845 )
3 years ago
Sergii Tkachenko
bf186156bc
xds-k8s: Link xDS test client and test server logs in Logs Explorer ( #26844 )
3 years ago
ZHANG Dapeng
5011372677
Add xds retry interop test to GKE test framework ( #26791 )
...
* Add xds retry interop test to GKE test framework
* s/Affinity/Retry/
* more informative test name
* enable retry
* update java test server
* add missing import
3 years ago
Lidi Zheng
48ce79f7e5
Allow url-map tests to run concurrently ( #26764 )
...
* Allow url-map tests to run concurrently
* Clean-up client namespace if everything goes smoothly
* Make isort happy
* Update tools/internal_ci/linux/grpc_xds_url_map_python.sh
Co-authored-by: Sergii Tkachenko <hi@sergii.org>
* Add logging && change suffix generation
* Move the suffix generation to helpers
* Remove unused import
Co-authored-by: Sergii Tkachenko <hi@sergii.org>
3 years ago
Menghan Li
ee17927fce
xds/interop: basic header based affinity test ( #26759 )
...
* affinity test
- most basic affinity test
- verify that the received RDS and CDS are correctly configured for affinity
- verify that all RPCs are only sent to the one backend
- verify that only one sub-channel is connected, the other 2 are IDLE
And infra changes:
- add argument to set affinity config when creating backend service
- add a new backend service "affinity" to be shared by all affinity test
- this backend service is configured to do header affinity
- it has 3 endpoints
- replica support copied from PR https://github.com/grpc/grpc/pull/26360
- update backend services from GRPC to HTTP2, to disable validate-for-proxyless
- this will be reverted later
- add channelz function to query subchannels
- add method to configure the initial RPC config (RPC types and RPC metadata) when creating the client
- set env var to enable RING_HASH support
* c1
* REVERT THIS: update strategy to trigger a manual build
* config: suffix to prefix
* Revert "REVERT THIS: update strategy to trigger a manual build"
This reverts commit 830776fef9
.
3 years ago
Sergii Tkachenko
b6d9aedba0
xds-k8s: Adapt URL Map tests to use resource prefix/suffix ( #26671 )
3 years ago
Sergii Tkachenko
2dc2ef02c3
xds-k8s: Allow multiple instance of the driver to run concurrently ( #26542 )
3 years ago
Sergii Tkachenko
433c5ea261
xds-k8s: grant roles/iam.workloadIdentityUser automatically ( #26487 )
4 years ago
Lidi Zheng
0c5808603f
Add a flag to ensure firewall rule exists ( #26255 )
...
* Add CSDS validation ability to PSM Sec framework
* Add firewall create/delete functionality
* Polish the PR
* Re-number the sub tests
* Add a flag to ensure firewall rule exists
* Add ensure_firewall to local-dev.cfg.example
* Update the firewall creation interface
* Address comments
* Address comments
* Update the firewall script to run smoothly
* Polish firewall creation and deletion && address comments
* Update tools/run_tests/xds_k8s_test_driver/framework/xds_k8s_testcase.py
Co-authored-by: Sergii Tkachenko <hi@sergii.org>
* Move allowed ports to cls property
* Improve readability & prevent attr error
Co-authored-by: Sergii Tkachenko <hi@sergii.org>
4 years ago
Sergii Tkachenko
72632aebd7
xds-k8s: Use latest TD bootstrap supporting new secrets dir ( #25925 )
4 years ago
Sergii Tkachenko
5f8b529506
xds-k8s: Update to TD bootstrap with server_listener_resource_name_template support ( #25746 )
...
Related:
* https://github.com/GoogleCloudPlatform/traffic-director-grpc-bootstrap/pull/14
* https://github.com/grpc/grpc-java/pull/7978
4 years ago
Sergii Tkachenko
ad461a3c7c
xds-k8s: Update local-dev.cfg.example ( #25552 )
4 years ago
Sergii Tkachenko
3b66fb6ead
xds-k8s driver: Improve logging INFO-level logging
4 years ago
Sergii Tkachenko
359974fd68
xds-k8s test runner: load API key from Cloud Secret Manager
4 years ago
Sergii Tkachenko
424e4da676
PR feedback: rename xds_test_driver -> xds_k8s_test_driver
4 years ago