Commit Graph

4998 Commits

Author SHA1 Message Date
Donna Dionne b35b463a08 reject RouteConfiguration with a case-insensitive RouteMatch 2020-06-12 15:19:32 -07:00
Esun Kim 0eefd8b209 Finish client first completely for client-lead tests 2020-06-12 14:22:34 -07:00
Vijay Pai 8c27a5e37e
Merge pull request #23187 from vjpai/end2end
Increase reconnect sleep time in end2end_test to 5x poller interval
2020-06-11 16:37:40 -07:00
Vijay Pai a1c2f62d7d
Merge pull request #22991 from vjpai/status_error
Don't mark server RPC canceled if finished with explicit non-OK status
2020-06-11 15:21:25 -07:00
Vijay Pai fa1c66852b Increase reconnect sleep time to 5x poller interval 2020-06-11 14:47:53 -07:00
Vijay Pai b269fdbf8b Don't mark server RPC canceled if finished with non-OK status 2020-06-11 10:15:05 -07:00
Alexander Polcyn 5727ccc28f Rename deadline/timeout 2020-06-10 23:25:29 -07:00
Karthik Ravi Shankar 7fa6826134 Merge branch 'master' into opencensus 2020-06-10 17:47:16 -07:00
Karthik Ravi Shankar 89763a96fd Move OpenCensus back to ::grpc from ::grpc_impl
Revert - Revert "Revert "Fold opencensus into grpc_impl namespace"" #18396
2020-06-10 17:36:58 -07:00
Alexander Polcyn 46c13cd870 Add a flag to interop soak tests to exit early and fail if X seconds have passed and we're not done yet. 2020-06-08 18:40:11 -07:00
Mark D. Roth 9a5b47c3cc Merge remote-tracking branch 'upstream/master' into upb_upgrade 2020-06-03 11:28:43 -07:00
Mark D. Roth 3f0eb8ae77
Merge pull request #23117 from markdroth/xds_resource_removal_crash_fix
Fix use-after-free bug for ResourceState of unsubscribed RDS resource.
2020-06-03 07:15:17 -07:00
Mark D. Roth cc6414893c update bazel build dep, regenerate upb files, and add missing includes 2020-06-02 14:48:50 -07:00
Mark D. Roth 21ee2335d2 Fix use-after-free bug for ResourceState of unsubscribed RDS resource. 2020-06-02 14:01:04 -07:00
apolcyn 30cfd114b3
Merge pull request #23110 from apolcyn/fix_grpc_cli
Allow configuring default service configs in grpc_cli via --default_service_config
2020-06-02 12:41:30 -07:00
Karthik Ravi Shankar 11c54ada0d
Revert "Fix StartCall: make corking work and allow concurrent Start*" 2020-06-02 11:11:06 -07:00
Alexander Polcyn 0a452b9d19 Allow configuring default service configs in grpc_cli 2020-06-02 10:51:29 -07:00
Mark D. Roth c566b0f7af
Merge pull request #23105 from markdroth/xds_uri_scheme
Support xDS via both "xds" and "xds-experimental" URI schemes.
2020-06-02 09:26:21 -07:00
Mark D. Roth d2646941b0 Fix xds_end2end_test to not set the response state back to SENT. 2020-06-01 15:03:22 -07:00
Mark D. Roth d674fa3e37 Support xDS via both "xds" and "xds-experimental" URI schemes. 2020-06-01 14:39:37 -07:00
Jan Tattermusch ec8be426bd
Merge pull request #23067 from jtattermusch/cancel_ares_query_test_flaky
Mark cancel_ares_query_test as flaky
2020-06-01 15:47:19 +02:00
donnadionne e99cf83f9c
Merge pull request #23064 from donnadionne/my_feature
Fixing a flake in xds_end2end_test newly added test
2020-05-29 14:21:33 -07:00
apolcyn 0ab45cf687
Merge pull request #23086 from apolcyn/sort_balancer_addresses
Fix sorting of gRPCLB addresses when resolved via DNS
2020-05-29 13:47:00 -07:00
Donna Dionne 44eb8a6def Putting in a temp fix for flaky tests.
Temporiarly increase tolerance for small load of RPCs
2020-05-29 13:19:29 -07:00
Alexander Polcyn 2c133c562d Fix sorting of gRPCLB addresses when resolved via DNS 2020-05-29 10:43:45 -07:00
yihuaz e5ef2c61c6
Merge pull request #23037 from yihuazhang/local_cli
Support local creds in grpc_cli
2020-05-29 08:41:02 -07:00
Jan Tattermusch f622a797d2 mark cancel_ares_query_test as flaky 2020-05-28 01:34:19 -04:00
Mark D. Roth 832da8bd26
Merge pull request #22926 from markdroth/xds_cds_resource_does_not_exist
xds: Put channel in TRANSIENT_FAILURE when CDS resource is removed.
2020-05-26 08:28:36 -07:00
yihuaz ba0c9d6924 fix clang-format issue 2020-05-25 15:07:27 -07:00
yihuaz 1d69b7d676 add local creds to grpc_cli 2020-05-24 15:01:14 -07:00
donnadionne 260b0528ba
Merge pull request #22983 from donnadionne/ignore
Default Route matcher checking:
2020-05-21 10:24:19 -07:00
Esun Kim 6a2880a1ac
Merge pull request #22992 from veblush/json-run-flaky-logs
Add more logs and asserts to qps_worker
2020-05-20 14:40:15 -07:00
Vijay Pai cf0727665d
Merge pull request #23005 from vjpai/asyncwrite
Fix StartCall: make corking work and allow concurrent Start*
2020-05-20 13:50:08 -07:00
Donna Dionne 12821db7f8 Merge remote-tracking branch 'upstream/master' into ignore 2020-05-20 11:21:35 -07:00
donnadionne efb83983b8
Merge pull request #22934 from donnadionne/features
Allowing the default route to be weighted_clusters; this support is
2020-05-20 10:54:37 -07:00
Vijay Pai 899cbcab96 Fix StartCall: make corking work and allow concurrent Start* 2020-05-20 10:02:22 -07:00
Esun Kim d45f877dfb Add more logs and asswert to qps_worker 2020-05-19 11:37:26 -07:00
Donna Dionne 2ec96be5db Default Route matcher checking:
- if xds routing is disabled: only allow matcher to be empty or single
slash( same behaviour as 1.28)
- if xds routing is enabled: ignore all supported path matchers and reject
all unsupported path matchers
2020-05-18 14:55:44 -07:00
Esun Kim 44fb37c99f
Merge pull request #22818 from veblush/bm_opencensus_plugin_test_flag
Remove flaky flag from bm opencensus plugin test
2020-05-17 16:08:12 -07:00
Mark D. Roth 2ba3f8e7f9 Trigger xds routing support via env var instead of channel arg. 2020-05-15 09:11:34 -07:00
Donna Dionne ec5f805e34 Allowing the default route to be weighted_clusters; this support is
already there, adding a test to prove that it's working.
2020-05-12 15:55:56 -07:00
Donna Dionne 9ad561c436 Integrating weighted target policy into xds routing policy 2020-05-12 13:52:10 -07:00
Jiangtao Li df7ed0744d
Merge pull request #22873 from jiangtaoli2016/tls_cred_options
TlsCredentialsOption API optimization
2020-05-12 09:10:10 -07:00
Yash Tibrewal fab7c2a7df
Merge pull request #22870 from thomasetter/master
do not write unnecessary (and incorrect) new lines in binary output for the grpc_cli
2020-05-12 02:12:36 -07:00
jiangtaoli2016 12a6435557 TlsCredentialsOption API optimization 2020-05-11 22:46:11 -07:00
Mark D. Roth 0db28f7eaf xds: Put channel in TRANSIENT_FAILURE when CDS resource is removed. 2020-05-11 14:45:40 -07:00
apolcyn 4383f8dc38
Merge pull request #22887 from apolcyn/channel_soak_test_improvements
Make channel/rpc soak interop tests easier to debug
2020-05-11 11:21:07 -07:00
Thomas Etter f5c9fd94a5 do not write unnecessary new lines in the grpc_cli as the formatters already write them 2020-05-09 13:34:03 +02:00
Alexander Polcyn 1dad16c0d9 Use C-core's histogram, drop use of exec_ctx header 2020-05-08 15:54:38 -07:00
Mark D. Roth 581751b65b xds: When listener does not exist, put channel in TRANSIENT_FAILURE. 2020-05-08 11:46:53 -07:00
Mark D. Roth c769951764 Remove deprecated variant of JoinHostPort(). 2020-05-08 09:13:26 -07:00
Vijay Pai 29151efd34
Merge pull request #22837 from vjpai/channel_acec
Fixes on ApplicationCallbackExecCtx
2020-05-07 17:06:28 -07:00
Vijay Pai 611dccb492 Add a test without WritesDone and reorder destruction 2020-05-07 13:10:51 -07:00
Vijay Pai 420e814e1f
Merge pull request #22893 from grpc/vjpai-patch-1
Mark override on service method
2020-05-07 12:53:05 -07:00
Alexander Polcyn b872ffe2f2 Make channel soak interop test more debuggable, add max_failures and
max_acceptable_latency_ms options
2020-05-07 11:41:16 -07:00
Vijay Pai 113c7fcb7c
Mark override on service method 2020-05-07 08:35:24 -07:00
Matthew Stevenson a37d5f14b0 Remove flaky test introduced in PR 21932. 2020-05-07 07:22:29 -07:00
Donna Dionne 7fe44d8b1e Fixing a build error
A parameter has been removed, but the next PR merged cleanly while still
using the removed parameter.
2020-05-06 17:05:13 -07:00
Mark D. Roth 7b3590d543
Merge pull request #22854 from markdroth/xds_lrs_send_all_clusters
xds: Add support for send_all_clusters field in LRS.
2020-05-06 09:33:41 -07:00
Muxi Yan e29f3b27b1
Merge pull request #19380 from rmstar/c++podfile
Fix BoringSSL pod name
2020-05-05 21:13:18 -07:00
Donna Dionne ac50289274 Modify the signature of all SetXdsResource methods to avoid un-necessary
parameter "name".
2020-05-04 17:14:54 -07:00
Esun Kim 92d31d6f99 Remove the flaky flag from bm_opencensus_plugin 2020-05-04 11:41:09 -07:00
Mark D. Roth b95843c1b7 xds: Add support for send_all_clusters field in LRS. 2020-05-04 11:16:52 -07:00
Yash Tibrewal e291ef8bf9
Merge pull request #22746 from yashykt/fixfailsendmsg
Fix interceptor batch method FailHijackedRecvMessage for async APIs
2020-05-01 10:45:57 -07:00
Mark D. Roth 72a42151ed xds: Check RDS ConfigSource in LDS response. 2020-05-01 07:27:02 -07:00
Donna Dionne 092932b4dd Squash the last 2 commits. 2020-04-30 14:57:29 -07:00
Mark D. Roth d29865bb44
Merge pull request #22833 from markdroth/grpclb_status_fix
grpclb: Add test showing that backend status is returned to client.
2020-04-30 13:09:17 -07:00
Donna Dionne 9793af2b09 Consolidating LDS and RDS tests together
And refactoring the code to be able to reuse the same helper methods.

Updating all tests to use helper methods.
2020-04-30 11:55:02 -07:00
Mark D. Roth 0324afa89e grpclb: Add test showing that backend status is returned to client. 2020-04-30 10:28:17 -07:00
Mark D. Roth 1e9dc62db8 weighted_target: Create all children before updating any of them. 2020-04-30 07:34:50 -07:00
ZhenLian d39b43e3e5
Merge pull request #22814 from grpc/zhen_core_test_improvement_11
[10/n] remove hard-coded credential paths and rebuild the project
2020-04-29 15:11:24 -07:00
ZhenLian d75de51e43 [10/n] remove hard-coded credential paths and rebuild the project 2020-04-29 10:51:56 -07:00
Esun Kim 234b356e2f Fix the flaky bm_opencensus_plugin 2020-04-29 09:35:57 -07:00
Mehrdad Afshari d9e3a49fe1 Fix server_builder_plugin_test 2020-04-28 20:18:01 -07:00
Jan Tattermusch a960546ff9
Revert "[7/n] Avoid using hardcoded test credentials" 2020-04-28 17:41:24 +02:00
Muxi Yan eaadbd40bb
Merge pull request #22801 from grpc/revert-22794-revert-22778-fix-client-lb-end2end-tests
Revert "Revert "Fix client_lb_end2end_test flake""
2020-04-27 21:28:58 -07:00
Muxi Yan 2ade1dbe89 Fix client_lb_end2end_test flake 2020-04-27 16:38:41 -07:00
ZhenLian cd7e22c6a4
Merge pull request #22695 from grpc/zhen_core_test_improvement_8
[7/n] Avoid using hardcoded test credentials
2020-04-27 15:42:11 -07:00
Mark D. Roth 8a14958980
Merge pull request #22729 from markdroth/absl_string_view_host_port
Remove StringViewToCString() and src/core/lib/gprpp/string_view.h
2020-04-27 14:21:09 -07:00
Mark D. Roth d74548e611 Remove StringViewToCString() and src/core/lib/gprpp/string_view.h 2020-04-27 12:28:28 -07:00
Muxi Yan 23c8cfcfda
Merge pull request #22794 from grpc/revert-22778-fix-client-lb-end2end-tests
Revert "Fix client_lb_end2end_test flake"
2020-04-27 12:23:50 -07:00
Mark D. Roth f0e2a43b1a
Merge pull request #22708 from markdroth/absl_string_view
Remove grpc_core::StringView.
2020-04-27 12:15:22 -07:00
donnadionne 7846840841
Merge pull request #22787 from donnadionne/policy_name
Ensuring each action is only generated once in service config, even
2020-04-27 09:33:36 -07:00
Mark D. Roth fc6f26c89b Remove grpc_core::StringView. 2020-04-27 07:46:13 -07:00
Jan Tattermusch f091a66999
Revert "Fix client_lb_end2end_test flake" 2020-04-27 13:02:37 +02:00
Donna Dionne 326a81bf87 Ensuring each action is only generated once in service config, even
if the same one is referred to multiple times by routes.

Added this test case in existing test case.
2020-04-25 23:04:35 -07:00
Donna Dionne 0ce79a560b Revert a change to XdsTest/ClientLoadReportingWithDropTest
This test was a bit flaky, but after the change, the msan runs are
failing more often.

Reverting the change while investigating futher
2020-04-25 20:54:05 -07:00
ZhenLian c13f3c5a50 test using ReadFile 2020-04-25 11:49:51 -07:00
Muxi Yan 4f9425086b Fix client_lb_end2end_test flake 2020-04-24 16:15:43 -07:00
nanahpang d704da61a6
Merge pull request #22771 from grpc/revert-22735-string_less
Revert "Remove StringLess and src/core/lib/gprpp/map.h"
2020-04-24 12:33:15 -07:00
Eric Gribkoff 04277beda6
Merge pull request #22763 from ericgribkoff/fail_on_failure_flag
Add --fail_on_failed_rpc flag to xds tests
2020-04-24 10:53:51 -07:00
Mark D. Roth d39c981d4f
Revert "Remove StringLess and src/core/lib/gprpp/map.h" 2020-04-24 10:32:15 -07:00
donnadionne 56a3af5927
Merge pull request #22761 from donnadionne/vanilla
Fixing xds_end2end_test.cc: ClientLoadReporting Vanilla tests
2020-04-24 09:24:55 -07:00
Eric Gribkoff 5330ead3ab Add --fail_on_failed_rpc flag to xds tests 2020-04-24 08:57:43 -07:00
Donna Dionne 0452c2a0cb Fixing xds_end2end_test.cc: ClientLoadReporting Vanilla tests
1. sometimes the StreamLoadStats service (in a separate thread) is not
    ready when we check to see if it has received and responded to request;
    moving the check to a bit later after we know that it has processed a
    report.
    2. Drop test numbers can fall out of range by little bit: 366 > 360.6;
    increasing traffic to smooth the result (this fix has been effective for
    other similar flakes)
2020-04-23 15:43:30 -07:00
Mark D. Roth c0f82fc595 Remove StringLess and src/core/lib/gprpp/map.h 2020-04-23 14:45:54 -07:00
Mark D. Roth feb721c9a9
Merge pull request #22696 from markdroth/absl_use_directly
Remove grpc_core::InlinedVector<> and grpc_core::Optional<>.
2020-04-23 14:37:47 -07:00
Mark D. Roth 09b42371e7 Remove grpc_core::InlinedVector<> and grpc_core::Optional<>. 2020-04-23 11:24:41 -07:00
Donna Dionne a7d9865961 Fixing xds_end2endtest.cc BackendsRestart flake test
Increase the number of RPCs after shutdown to ensure all
backends are down before restarting.
2020-04-23 10:10:07 -07:00
Yash Tibrewal edbae5d8e6 Fix interceptor batch method FailHijackedRecvMessage for async APIs 2020-04-22 23:05:57 -07:00
ZhenLian 2c84dec7da try adding extern 2020-04-21 10:08:34 -07:00
Yash Tibrewal c3f5c02276 Merge branch 'master' into uselogicalthread 2020-04-21 01:11:39 -07:00
Muxi Yan 006c815810
Merge pull request #22687 from grpc/revert-22684-revert-22423-objc-poller
Revert "Revert "Introduce CFRunLoop based iomgr""
2020-04-20 15:58:26 -07:00
Vijay Pai b622f58852
Merge pull request #22707 from grpc/vjpai-patch-1
Remove some excessive logs
2020-04-20 08:46:46 -07:00
ZhenLian dd44231a32 [No Review] Test 2020-04-19 16:04:41 -07:00
ZhenLian 7cb9d43da2
Merge pull request #22689 from grpc/zhen_core_test_improvement_7
[6/n] Avoid using hardcoded test credentials
2020-04-17 18:22:32 -07:00
ZhenLian f64554b698 [NO Review] grpc_tool_test.cc 2020-04-17 16:47:44 -07:00
Vijay Pai 5085805063
Remove some excessive logs 2020-04-17 13:22:11 -07:00
donnadionne baa442e6e4
Merge pull request #22280 from donnadionne/route_response
Xds Routing LB Policy
2020-04-17 12:45:39 -07:00
Donna Dionne 7db619ba95 Code review comments. 2020-04-17 11:19:19 -07:00
Donna Dionne 424e81eaec Code Review comments 2020-04-16 15:47:26 -07:00
Yash Tibrewal b7941bedf3
Merge pull request #22575 from yashykt/newfilter
Move decompression into gRPC Core
2020-04-16 15:21:01 -07:00
Donna Dionne 584b35055e Merge remote-tracking branch 'upstream/master' into route_response 2020-04-16 13:10:15 -07:00
Muxi Yan eb7779c20c
Revert "Revert "Introduce CFRunLoop based iomgr"" 2020-04-16 13:07:55 -07:00
Donna Dionne 8bab28db08 Rearrange test_service_impl.h/cc to fix build failures. 2020-04-16 12:20:57 -07:00
Muxi Yan 0e0db09613
Revert "Introduce CFRunLoop based iomgr" 2020-04-16 08:54:07 -07:00
Mark D. Roth 43c30f40da
Merge pull request #22675 from markdroth/xds_default_route
xds: Accept either "" or "/" as the prefix for the default route.
2020-04-16 08:34:32 -07:00
Donna Dionne 63573b0515 Fixing a flaky test. 2020-04-15 17:33:31 -07:00
Yash Tibrewal fdd4496117 Merge branch 'master' into uselogicalthread 2020-04-15 15:44:58 -07:00
Muxi Yan 7f36ff039f
Merge pull request #22423 from muxi/objc-poller
Introduce CFRunLoop based iomgr
2020-04-15 14:30:43 -07:00
Donna Dionne 71aef940c3 Code review comments: added invalid config tests and restructured
testing code.
2020-04-15 13:09:03 -07:00
Muxi Yan b96895bf9d Add apple_ev iomgr 2020-04-15 11:06:53 -07:00
Mark D. Roth bf6e534714 Accept either "" or "/" as the prefix for the default route. 2020-04-15 09:24:55 -07:00
Donna Dionne 84b2b98af2 clang fix 2020-04-14 13:07:23 -07:00
Donna Dionne 3135d9751a Fixing a test after merge 2020-04-14 13:06:16 -07:00
Donna Dionne a70abab157 Merge remote-tracking branch 'upstream/master' into route_response 2020-04-14 12:53:18 -07:00
Donna Dionne b39feead62 Fixing code review comments. 2020-04-14 12:42:17 -07:00
Mark D. Roth cbf18222af
Merge pull request #22648 from markdroth/xds_remove_old_flow
xds: Remove fallback code and support for old xds LB configs.
2020-04-14 11:45:12 -07:00
Mark D. Roth d7a62868c8 Mark client_channel_stress_test as manual. 2020-04-14 09:04:09 -07:00
Donna Dionne 921147d1aa clang change 2020-04-14 01:02:57 -07:00
Donna Dionne 9417b28bca Fixing build issues. 2020-04-14 00:44:47 -07:00
Donna Dionne 019b206926 Fixing CR comments and build errors. 2020-04-14 00:04:31 -07:00
Yash Tibrewal 00458b3851 Merge branch 'master' into uselogicalthread and address reviewer
comments
2020-04-13 23:26:14 -07:00
Donna Dionne 6ec6c24dc1 Fixing code review comments. 2020-04-13 22:16:42 -07:00
Muxi Yan 317a55dd7e
Use correct status code type 2020-04-13 11:47:15 -07:00
Mark D. Roth dc976d2a77 xds: Remove fallback code and support for old xds LB configs. 2020-04-13 11:09:36 -07:00
Donna Dionne d76fc080c4 Fixing build warnings getting ready for merge. 2020-04-13 10:32:23 -07:00
Donna Dionne 3aa8b16401 Merge remote-tracking branch 'upstream/master' into route_response 2020-04-13 10:31:02 -07:00
Donna Dionne ddb98d6b52 Fixing code review comments:
- added more tests and improved structuring of backend service
- fixing grpc_tool tests (due to adding of new test serices/methods
2020-04-12 16:28:39 -07:00
Donna Dionne 1ae804c8c0 Fixing code review comments:
- Fixing for comments in all except for test file
- Multi-purpose test_service_impl.h as oppose
to creating new files.
2020-04-11 21:39:40 -07:00
Yash Tibrewal 331b332392 Try fixing interop tests 2020-04-10 16:43:30 -07:00
Vijay Pai e677f3d166
Merge pull request #22621 from grpc/vjpai-patch-1
Unmark flaky on streaming_pump
2020-04-10 11:02:54 -07:00
Donna Dionne 0a7b9dac06 Fixing code review comments. 2020-04-10 03:15:09 -07:00
Donna Dionne 8a8ca5436b Added grpc arg to enable xds routing and restore old tests. 2020-04-10 01:26:05 -07:00
Donna Dionne c4d4541af5 Added TestMultipleServiceImpl.h: a templated test service to allow
multiple RPC services to be used in test.
2020-04-09 22:49:57 -07:00
Donna Dionne f5fd631a9c Merge remote-tracking branch 'upstream/master' into route_response 2020-04-09 11:10:28 -07:00
Jan Tattermusch 697f411fef mark client_channel_stress_test as flaky 2020-04-09 10:06:33 -04:00
Donna Dionne d9611cf1ca Fixed AllServerUnavailableFailFast test to return UNAVAILBLE instead
UNKNOWN.
2020-04-08 16:20:16 -07:00
Mark D. Roth e6ab0c25e2
Merge pull request #22612 from markdroth/xds_eds_no_localities_fix
xds: Don't NACK EDS updates with no localities, but report TRANSIENT_FAILURE.
2020-04-08 11:23:23 -07:00
Vijay Pai 527509abc4 Unmark flaky on streaming_pump 2020-04-08 10:31:47 -07:00