Commit Graph

300 Commits

Author SHA1 Message Date
Michael Lumish 865731b4c5 grpc-js-xds: Use simpler search algorithm in weighted target picker 2023-02-24 09:55:45 -08:00
Michael Lumish f3c43542f8 grpc-js-xds: interop: log server events 2023-02-15 14:45:31 -08:00
Michael Lumish c4350deb4f grpc-js-xds: Pass along outlier detection config from CDS to child policy 2023-02-10 09:56:50 -08:00
Michael Lumish faf96a0e4f grpc-js-xds: Fix bug that prevented priority name reuse 2023-02-09 17:04:41 -08:00
Michael Lumish 4e148cbb77 Use the load-balancer filename prefix for the new LB policies 2023-02-03 15:16:42 -08:00
Michael Lumish b914a0388f Validate that LOGICAL_DNS address is non-empty 2023-02-03 13:27:46 -08:00
Michael Lumish 2807127ca7 Add tests and fix bugs 2023-02-02 14:56:00 -08:00
Michael Lumish 1cbadd7db0 Merge branch 'master' into grpc-js-xds_aggregate_logical_dns_clusters 2023-01-27 15:13:22 -08:00
Michael Lumish fe4272ecb6
Merge pull request #2339 from murgatroid99/grpc-js-xds_unit_tests
grpc-js-xds: Add a framework for running xDS end-to-end tests
2023-01-27 15:02:46 -08:00
Michael Lumish 5732ff9e82 grpc-js-xds: Allow tests to set bootstrap info in channel args 2023-01-27 13:39:44 -08:00
Michael Lumish 05bebcd4e2 grpc-js-xds: Add unit test framework 2023-01-27 13:39:10 -08:00
Michael Lumish 7a6fa275fe grpc-js-xds: weighted clusters: stop checking total_weight, check weight sum <= uint32 max 2023-01-18 10:55:28 -08:00
Michael Lumish d441aa687d Merge pull request #2323 from sergiitk/xds-interop-fix-buildscript-suites
xds interop: Fix buildscripts not continuing on a failed test suite
2023-01-17 16:20:20 -08:00
Sergii Tkachenko 466bc3cdd0
Address the feedback: use pre-increment instead of `&& true` 2023-01-13 20:39:32 -05:00
Sergii Tkachenko a23dc843af xds interop: Fix buildscripts not continuing on a failed test suite
Apparently there's a difference between bash 3 and bash 4.
OSX comes with bash 3 out-of-box, so for whoever wrote this logic
it "worked on my machine".
2023-01-12 17:18:00 -08:00
Michael Lumish c0182608a8 grpc-js-xds: Add aggregate and logical_dns clusters 2023-01-11 10:49:56 -08:00
Michael Lumish b72e1fc665 Merge pull request #2310 from grpc/reduce-gce-xds-interop-tests
grpc-js-xds: Reduce GCE xDS interop tests to ping_pong and circuit_breaking
2023-01-06 14:53:11 -08:00
Sergii Tkachenko 5812cad19e
grpc-js-xds: Reduce xDS GCE interop framework to ping_pong and circuit_breaking
The migration of other tests to the new framework have been completed around Aug 2022: 

- 81083bd229/packages/grpc-js-xds/scripts/xds_k8s_lb.sh
- 81083bd229/packages/grpc-js-xds/scripts/xds_k8s_url_map.sh
2023-01-06 13:58:59 -08:00
Shubham Waje 111264badf Fix host_override param typo:
- Fix `host_override` param typo in /test/interop/interop_client.js
- Fix other typos
2022-12-15 12:41:45 +05:30
Michael Lumish 161af8ca7b grpc-js: Prepare for 1.8.0 release
De-experimentalize xDS retry support, and update versions and documentation
2022-12-01 16:02:45 -05:00
Michael Lumish 9214988c45
Merge pull request #2280 from murgatroid99/grpc-js-xds_retry
grpc-js-xds: Implement retry support
2022-11-30 10:04:47 -08:00
Michael Lumish edf612a56a grpc-js-xds: Implement retry support 2022-11-29 14:29:47 -05:00
Michael Lumish 641ed45d48 grpc-js-xds: Update failure mode behavior 2022-11-18 15:06:41 -08:00
Michael Lumish f8f95ee9bb grpc-js-xds: interop: Fix timestamp handling when config changes 2022-11-14 09:50:33 -08:00
Michael Lumish 02c48f426d grpc-js-xds: interop: Fix target directory for profile log 2022-11-09 10:08:47 -08:00
Michael Lumish e8396a5542
Don't try to create the target file as a directory
Co-authored-by: Sergii Tkachenko <hi@sergii.org>
2022-11-08 15:47:09 -08:00
Michael Lumish f844ca30bb grpc-js-xds: interop: mkdir artifact directory before running tests 2022-11-08 15:23:20 -08:00
Michael Lumish 959f698fc4
Use absolute path for logfile output
Co-authored-by: Sergii Tkachenko <hi@sergii.org>
2022-11-08 14:46:17 -08:00
Michael Lumish b4449083b9 grpc-js-xds: interop: output CPU profile logs in old framework tests 2022-11-08 12:40:22 -08:00
Michael Lumish f392d4d8c5 grpc-js-xds: interop client: correct for setInterval variance 2022-11-04 15:21:03 -07:00
Michael Lumish bcf4ce2b40 grpc-js-xds: Log stats periodically in interop tests 2022-10-21 15:21:19 -07:00
Michael Lumish aaa568fc01
Merge pull request #2248 from grpc/@grpc/grpc-js@1.7.x
Merge v1.7.x into master
2022-10-14 15:59:23 -07:00
Michael Lumish 276b7b66d0 grpc-js-xds: Fix limit representation for priority weight validation 2022-10-14 13:29:57 -07:00
Michael Lumish f3fc8dc864
Merge pull request #2244 from murgatroid99/grpc-js-xds_drop_v2
grpc-js-xds: Drop xDS v2 support
2022-10-14 11:48:16 -07:00
Michael Lumish 4ac8d6dab3 grpc-js-xds: Remove all code for handling xDS v2 2022-10-12 13:48:39 -07:00
Michael Lumish 3003dbea52 grpc-js-xds: Delete generated code for xDS v2 2022-10-12 13:48:16 -07:00
Michael Lumish 8a312e63b7 grpc-js-xds: Update code to handle modified experimental APIs 2022-10-11 16:50:49 -07:00
Michael Lumish bedc9628f5 grpc-js-xds: Validate continuity of priorities in EDS updates 2022-10-11 13:58:57 -07:00
Michael Lumish 8832fc2d39 grpc-js-xds: Validate uniqueness of addresses in EDS updates 2022-10-11 13:55:19 -07:00
Michael Lumish 7942b23e79 grpc-js-xds: Validate that endpoint weights sum to no more than 32 bit uint max per priority 2022-10-10 14:11:16 -07:00
Michael Lumish 02a43a302d grpc-js-xds: NACK WeightedCluster if total_weight is 0 2022-09-12 13:47:57 -07:00
Michael Lumish 9dd9cb0e5d
Merge pull request #2224 from murgatroid99/grpc-js_1.7.x
grpc-js: Bump to 1.7.0
2022-09-08 14:33:36 -07:00
Michael Lumish 4a861a0d4b grpc-js-xds: Update outlier detection entry in README 2022-09-07 13:13:50 -07:00
Michael Lumish 51de24ac0c grpc-js: Bump to 1.7.0 2022-09-07 13:11:14 -07:00
Michael Lumish d8022a557d grpc-js-xds: Enable outlier detection by default 2022-09-07 11:16:12 -07:00
Sergii Tkachenko 594933aa2b xDS interop: enable pod log collection in the buildscripts
- Enables pod log collection in all PSM interop jobs implemented
  in https://github.com/grpc/grpc/pull/30594.
- Associate test suite runs with their own log file, so it's displayed
  on the "Target Log" tab
- Adds missing `--force_cleanup` to the lb test (reduces leaked
  resources)
- Fix run_test not returning correct exit status, causing false
  positives in some cases. See https://github.com/grpc/grpc/pull/30768
2022-08-26 17:51:34 -07:00
Michael Lumish 2c6fd779d8 grpc-js-xds: Use authority override to select VirtualHost when provided 2022-08-25 14:22:00 -07:00
Michael Lumish 460fa93b9c grpc-js-xds: priority: remove currentChildFromBeforeUpdate 2022-08-23 13:38:56 -07:00
Michael Lumish ae53dd1a19
Merge pull request #2202 from murgatroid99/grpc-js-xds_priority_fixes
grpc-js-xds: Make various fixes to the priority LB policy
2022-08-22 16:06:09 -07:00
Michael Lumish 552b710b93
Merge pull request #2200 from murgatroid99/grpc-js-xds_delay_child_updates
grpc-js-xds: delay picker updates while updating children in weighted_target and xds_cluster_manager
2022-08-22 16:05:28 -07:00
Michael Lumish e1b2cad25e grpc-js-xds: Make various fixes to the priority LB policy 2022-08-22 14:28:34 -07:00
Michael Lumish 3e6730cd24 grpc-js-xds: delay picker updates while updating children in weighted target and xds_cluster_manager 2022-08-18 14:55:58 -07:00
Michael Lumish a3b698e837 Don't use tracer for ignored resource deletion logs 2022-08-17 17:00:02 -07:00
Michael Lumish 7ca0cc0069 grpc-js-xds: Implement ignore_resource_deletion option 2022-08-17 16:56:50 -07:00
Michael Lumish 9ba4ed3621 grpc-js-xds: Fix outlier detection interop test name 2022-08-15 09:36:35 -07:00
Michael Lumish 7e339b4c9e
Merge pull request #2185 from murgatroid99/grpc-js-xds_outlier_detection_interop
grpc-js-xds: Enable the outlier detection interop test
2022-08-11 09:41:16 -07:00
Michael Lumish 6ab1abccff Merge branch 'master' into grpc-js-xds_resource_timer 2022-08-08 13:52:38 -07:00
Michael Lumish d0dc6cd46e grpc-js-xds: Enable the outlier detection interop test 2022-08-08 11:36:10 -07:00
Michael Lumish 1e53150155 Update outlier detection behavior for gRFC updates 2022-08-02 13:48:16 -07:00
Michael Lumish 90e8886d98 grpc-js: Add outlier detection tracing and enable it in interop tests 2022-08-02 11:02:02 -07:00
Michael Lumish 6641494e02 Clone submodules in xds k8s url map script 2022-07-08 10:08:09 -07:00
Michael Lumish c6d7d2aa03 Backport xDS k8s interop docker image to version branch 2022-07-07 14:39:00 -07:00
Michael Lumish 1463ffa42e Backport xDS k8s test scripts to the v1.6.x branch 2022-06-28 14:05:29 -07:00
Michael Lumish 9035327af1 Clear the nonce when the stream ends 2022-05-12 17:38:28 -07:00
Michael Lumish 65075e50a7 Only start the timer if the ADS stream is running 2022-05-12 17:34:25 -07:00
Michael Lumish 067bb13f27 grpc-js-xds: Refactor xDS stream state and add resource timer 2022-05-12 17:18:55 -07:00
Michael Lumish e48fb88a3d
Merge pull request #2089 from murgatroid99/grpc-js-xds_eds_validation_dupe_locality
grpc-js-xds: Reject EDS updates with duplicate locality/priority pairs
2022-04-11 14:47:46 -07:00
Michael Lumish 672b92bd6b
Merge pull request #2088 from murgatroid99/grpc-js-xds_error_stream_id
grpc-js-xds: Include Node ID in XdsClient status errors
2022-04-11 14:37:03 -07:00
Michael Lumish 1e1f732363 grpc-js-xds: Reject EDS updates with duplicate locality/priority pairs 2022-04-11 10:42:42 -07:00
Michael Lumish 57d7827ab8 grpc-js-xds: Include Node ID in XdsClient status errors 2022-04-11 10:12:24 -07:00
Michael Lumish abbaf13c62 grpc-js-xds: Don't stop backoff timers for LRS streams 2022-04-08 10:25:15 -07:00
Michael Lumish e58371033f grpc-js-xds: Don't stop backoff timers for ADS streams 2022-04-01 10:46:39 -07:00
Michael Lumish 9fcf1659b6 Update version to 1.6.0 2022-03-29 00:15:49 -07:00
Michael Lumish 312fb9b737 Merge remote-tracking branch 'upstream/@grpc/grpc-js@1.5.x' into v1.5.x_upmerge 2022-03-24 10:11:52 -07:00
Michael Lumish b5b0703bcd grpc-js-xds: Add outlier detection configuration handling 2022-03-18 12:48:33 -07:00
Michael Lumish aedfcebde5 grpc-js-xds: Increase version to 1.5.2 2022-01-12 10:30:52 -08:00
Michael Lumish 70b7917dda grpc-js-xds: Add more missing files, add distrib test 2022-01-12 10:30:27 -08:00
Michael Lumish 9e3bd11d64 grpc-js-xds: Increase version to 1.5.1 2022-01-11 11:10:58 -08:00
Seva Orlov 7b2cdd0291 Add envoy/extensions files 2022-01-11 11:09:52 -08:00
Seva Orlov d46d5c0b29 Add envoy/extensions files 2022-01-11 14:43:45 +02:00
Michael Lumish ea1a266dec Update grpc-js and grpc-js-xds to version 1.5.0, and update README 2022-01-06 14:41:37 -08:00
Lidi Zheng ac893ca89f Use xds-test-server-5 as interop server image 2021-12-29 11:58:32 -08:00
Michael Lumish efa6ea1d3e grpc-js-xds: Include additional paths when loading csds protos 2021-12-06 11:38:00 -05:00
Michael Lumish 8df71f1913 Merge remote-tracking branch 'upstream/@grpc/grpc-js@1.4.x' into grpc-js_1.4_upmerge 2021-12-03 14:47:04 -05:00
Michael Lumish 29711cd526 grpc-js-xds: CSDS: add tracing and fix bugs 2021-12-03 14:01:02 -05:00
Michael Lumish adc25c25f3 grpc-js-xds: Expose admin service in interop client, enable CSDS test 2021-12-02 16:21:19 -05:00
Michael Lumish 858d1b66ad grpc-js-xds: Implement CSDS 2021-12-02 16:15:09 -05:00
Michael Lumish dca36701fc grpc-js-xds: Add details to ADS response handling result 2021-12-02 16:14:40 -05:00
Michael Lumish 8b7a4a0d9e grpc-js-xds: Update envoy submodule, generate CSDS code 2021-12-02 16:14:03 -05:00
Michael Lumish 8658fd5752 grpc-js-xds: Remove LDS and CDS code for removing RDS and EDS entries 2021-11-18 12:48:40 -08:00
Michael Lumish cea1537c42 Merge remote-tracking branch 'upstream/@grpc/grpc-js@1.4.x' into upmerge_1.4.3 2021-11-05 14:25:42 -07:00
Michael Lumish 3c48058d9a grpc-js-xds: Update files list to account for submodule change 2021-11-01 16:09:49 -07:00
Michael Lumish 692ee3c03f grpc-js-xds: Switch from udpa to xds submodule 2021-11-01 14:26:08 -07:00
Michael Lumish 2a45b343d5 grpc-js-xds: Use valid resources when NACKing messages 2021-10-19 14:20:37 -07:00
Michael Lumish 9d92bf164f grpc-js-xds: Improve received resource list logging 2021-10-18 16:20:39 -07:00
Michael Lumish 590e94e09d grpc-js: Update package versions for 1.4.0 release 2021-10-11 14:23:05 -07:00
Michael Lumish 8aec160413
Merge pull request #1924 from murgatroid99/v1.4.x_upmerge_1
Merge 1.4.x branch into master
2021-10-06 10:46:40 -07:00
Michael Lumish c7d9598067 grpc-js-xds: Fix RDS and EDS missing resource handling 2021-10-05 15:03:31 -07:00
Michael Lumish cb6abd7e38 grpc-js-xds: Handle all ways control-plane streams can end 2021-09-30 10:58:51 -07:00
Michael Lumish 6cea491a3c
Merge pull request #1917 from murgatroid99/grpc-js-xds_test_fixes
grpc-js-xds: A few fixes for xDS tests
2021-09-28 15:48:36 -07:00
Michael Lumish 5e8f5faeab
Merge pull request #1905 from murgatroid99/grpc-js-xds_interop_improvements
grpc-js-xds: fix use of splice in interop test code
2021-09-28 15:48:29 -07:00
Michael Lumish 2756a59495 Add a helper for creating ChannelControlHelper children 2021-09-27 16:12:23 -07:00
Michael Lumish 157882da45 grpc-js-xds: A few fixes for xDS tests 2021-09-27 15:45:22 -07:00
Michael Lumish cfcc491a61 grpc-js-xds: Add Node message logging 2021-09-20 12:05:53 -07:00
Michael Lumish 4229b76812 grpc-js-xds: Add Node message logging 2021-09-20 11:40:15 -07:00
Michael Lumish de5eb821d1 grpc-js-xds: Log loaded bootstrap info in xDS client 2021-09-20 11:25:34 -07:00
Michael Lumish 7b65675839 grpc-js-xds: Log loaded bootstrap info in xDS client 2021-09-20 11:20:47 -07:00
Michael Lumish 1ae04af7ba grpc-js-xds: fix use of splice in interop test code 2021-09-16 14:48:06 -07:00
Michael Lumish 1b34e0f462
Merge pull request #1891 from murgatroid99/grpc-js-xds_feature_list_update
grpc-js-xds: Update readme feature list
2021-08-31 14:58:43 -07:00
Michael Lumish f77cebe527
Merge pull request #1890 from murgatroid99/grpc-js-xds_fault_injection_default
grpc-js-xds: Enable fault injection feature by default
2021-08-31 14:58:37 -07:00
Michael Lumish ca5045df8c grpc-js-xds: Update readme feature list 2021-08-31 11:53:15 -07:00
Michael Lumish 2efe0918a8 grpc-js-xds: Enable fault injection feature by default 2021-08-31 11:45:15 -07:00
Michael Lumish 64a0b0ad7c grpc-js-xds: Distinguish v2 and v3 when handling messages 2021-08-17 14:59:22 -07:00
Michael Lumish a0baf7c99a Fix bugs and add tracing 2021-08-10 09:43:52 -07:00
Michael Lumish 36c6add3a7 grpc-js-xds: Enable fault_injection xDS interop test 2021-08-03 15:11:52 -07:00
Michael Lumish b5fd5b033e grpc-js-xds: Add fault injection HTTP filter 2021-08-03 15:08:10 -07:00
Michael Lumish e1b0d62e9b grpc-js-xds: Add fault injection file to type generator script 2021-08-03 15:07:42 -07:00
Michael Lumish f216ecef00 grpc-js-xds: Add null checks to handle generated code changes 2021-08-03 15:06:47 -07:00
Michael Lumish 365b379193 grpc-js-xds: Factor Fraction out into a separate file 2021-08-03 14:59:59 -07:00
Michael Lumish 8718d7d476 grpc-js-xds: Generate files for fault injection 2021-08-03 14:59:38 -07:00
Michael Lumish faaad56c73 grpc-js-xds: Regenerate files with new proto-loader version 2021-08-03 14:58:57 -07:00
Michael Lumish 92cc956dec
Merge pull request #1853 from murgatroid99/grpc-js-xds_http_filters
grpc-js-xds: Add HTTP Filters support
2021-08-03 09:29:13 -07:00
Huan (李卓桓) d9bbd013f4
Update xds-bootstrap.ts 2021-08-03 00:31:07 +08:00
Huan LI (李卓桓) 6404ef7014 better error msg for both env vars 2021-08-02 11:32:21 +08:00
Huan LI (李卓桓) 5518d0e8f4 add xds support reading bootstrap config directly from env var (#1868) 2021-08-02 11:28:24 +08:00
Michael Lumish 2455c3d50a grpc-js-xds: notify watchers when NACKing resource updates 2021-07-26 10:52:11 -07:00
Michael Lumish 215cdcd134 Check for router filter in validation step 2021-07-22 12:42:11 -07:00
Michael Lumish f03b4dd87f Validate uniqueness of http filter names 2021-07-20 14:12:59 -07:00
murgatroid99 ae2cb672b2 Merge branch 'master' into grpc-js-xds_http_filters 2021-07-15 16:36:27 -07:00
murgatroid99 d0745b3a4c Run call config filter factories before load balancing 2021-07-15 14:56:47 -07:00
murgatroid99 a544915504 Add router filter registry entry 2021-07-15 11:29:28 -07:00
Michael Lumish 311aca31e4 grpc-js-xds: Add HTTP Filters support 2021-07-14 16:41:05 -07:00
Michael Lumish 82fada33ff Merge remote-tracking branch 'upstream/@grpc/grpc-js@1.3.x' into grpc-js_upmerge_from_1.3 2021-06-29 10:02:33 -07:00
Michael Lumish 0ad7cc1ec9 grpc-js-xds: case_sensitive flag should not affect regex matcher 2021-06-28 14:37:21 -07:00
Michael Lumish 8a38cd8549 grpc-js: Refactor FilterStack usage 2021-06-10 14:48:33 -07:00
Michael Lumish 43a3bad549 Fix circuit breaking functionality 2021-06-02 08:56:10 -07:00
Michael Lumish ec7c819181 grpc-js-xds: Enable circuit breaking test 2021-05-20 10:30:28 -07:00
Michael Lumish 65d8c2b7e3 Merge branch 'master' into grpc-js-xds_circuit_breaking 2021-05-20 10:23:32 -07:00
Michael Lumish d51551f6d7 grpc-js-xds: Add support for timeout xDS interop test
Add more logging
2021-05-19 13:25:33 -07:00
Michael Lumish f5b9e7bab1 grpc-js-xds: Add circuit breaking functionality 2021-05-17 14:52:45 -07:00
Michael Lumish f4f1d54031 grpc-js-xds: Propagate timeouts from xDS responses to method config 2021-05-17 11:08:22 -07:00
Michael Lumish 6711620c1a grpc-js-xds: Add xDS v3 support to the client
Add xDS v3 test job
2021-05-04 09:36:27 -07:00
Michael Lumish bf1b078816 grpc-js: Update versions and xDS feature list 2021-04-14 14:58:36 -07:00
Michael Lumish f3b6eb1c85 grpc-js-xds: Update deps and generated code for xDS v3 2021-04-14 14:00:16 -07:00
Michael Lumish 746381a012 grpc-js-xds: Update proto-loader dependency and regenerate generated files 2021-04-06 10:49:43 -07:00
Michael Lumish b830a7ba88
Merge pull request #1734 from murgatroid99/grpc-js-xds_routing_no_env_protection
grpc-js-xds: Remove env var protection for routing feature
2021-04-05 13:37:16 -07:00
Michael Lumish 87614c385f Don't use the removed env var in the script 2021-04-02 11:21:11 -07:00
Michael Lumish 66d93c0f65 Merge remote-tracking branch 'upstream/@grpc/grpc-js@1.2.x' into grpc-js_1.2_upmerge_2 2021-04-02 11:19:13 -07:00
Michael Lumish abfe46b99d grpc-js-xds: Remove env var protection for routing feature 2021-04-02 11:12:41 -07:00
Michael Lumish a907086be4 Remove temporary debug log line 2021-03-30 13:26:42 -07:00