Commit Graph

5143 Commits

Author SHA1 Message Date
Mark D. Roth a5120b90ba
Merge pull request #23417 from markdroth/lb_policy_path
Make request path more easily visible to LB policies.
2020-07-08 14:57:29 -07:00
Vijay Pai 17b4879677
Merge pull request #23416 from vjpai/ccet
Make sure that some test ops don't start concurrently with Finish
2020-07-08 13:39:01 -07:00
Mark D. Roth 7c3fefea3f Make request path more easily visible to LB policies. 2020-07-08 12:12:30 -07:00
Vijay Pai fe2e9d6803 Properly count messages sent 2020-07-08 09:06:47 -07:00
Mark D. Roth 3201d7f7bf
Merge pull request #23157 from markdroth/gpr_asprintf
Replace most uses of gpr_asprintf() with absl calls.
2020-07-07 16:01:48 -07:00
Vijay Pai 0ab6db4fe8 Make sure that some ops don't start concurrently with Finish 2020-07-07 14:48:12 -07:00
Donna Dionne 8dd0cb4712 Add support for xDS regex matchers. 2020-07-07 13:17:25 -07:00
Muxi Yan ec2cd96426 Address comments 2020-07-07 13:13:38 -07:00
Muxi Yan 3f684093d7 Add test for the new config field 2020-07-07 13:13:37 -07:00
Mark D. Roth 9404f66f70 Replace most uses of gpr_asprintf() with absl calls. 2020-07-07 12:01:02 -07:00
Esun Kim 48289e6827
Merge pull request #23401 from veblush/tcp_user_timeout
Added TCP_USER_TIMEOUT auto-detection
2020-07-07 09:51:42 -07:00
Vijay Pai 86eb64011d
Merge pull request #23393 from grpc/vjpai-patch-1
Increase size of a test to match internal guidance
2020-07-06 22:47:13 -07:00
Esun Kim 073c499e18 Added TCP_USER_TIMEOUT auto-detection 2020-07-06 20:27:58 -07:00
Donna Dionne 459b58ae3d Merge remote-tracking branch 'upstream/master' into matcher_new 2020-07-06 12:54:56 -07:00
Esun Kim 8d0e703393
Merge pull request #22813 from mehrdada/fix-static-initialization-crap
Fix channelz plugin initializer
2020-07-06 11:19:05 -07:00
Donna Dionne 60b878d3a5 New Matchers Implementation
- All except for Regex (which will be submitted with RE2 import PR)
2020-07-06 10:54:22 -07:00
Vijay Pai b92ca15356
Increase size of a test to match internal guidance 2020-07-06 09:51:05 -07:00
Karthik Ravi Shankar 331519496e Merge branch 'master' into create-channel 2020-07-01 15:15:39 -07:00
Esun Kim c736cf073c Added call to grpc::testing::TestEnvironment in more tests 2020-07-01 13:27:08 -07:00
Esun Kim 62ac3f075a Added call to grpc::testing::TestEnvironment in tests 2020-07-01 11:37:57 -07:00
yang-g 162fca110c Fix message_allocator_e2e_test 2020-07-01 09:39:14 -07:00
Karthik Ravi Shankar 44f721eeb0 Merge branch 'master' into create-channel 2020-06-30 15:52:24 -07:00
Esun Kim 165ee5007a Replaced grpc::string with std::string 2020-06-29 17:56:36 -07:00
Karthik Ravi Shankar 59b41d50fa Formatting fixes 2020-06-29 14:37:52 -07:00
Karthik Ravi Shankar bf551af394 Fix credentials test. 2020-06-29 13:02:01 -07:00
Yash Tibrewal a438ef58f1
Merge pull request #23293 from yashykt/retrychecksize
Add message-size check before message decompression with ordering change
2020-06-26 10:43:52 -07:00
Mark D. Roth 5c87a42d50
Merge pull request #21905 from markdroth/upb_upgrade
Upgrade upb
2020-06-24 10:06:14 -07:00
Yash Tibrewal e98eaa5052
Revert "Revert "Add message-size check before message decompression"" 2020-06-23 12:19:07 -07:00
Karthik Ravi Shankar 70465c92ec
Merge pull request #23180 from karthikravis/opencensus
Move OpenCensus back to ::grpc from ::grpc_impl
2020-06-23 11:31:43 -07:00
Karthik Ravi Shankar f0d2aff3c7 Merge branch 'master' into opencensus 2020-06-22 17:24:05 -07:00
Vijay Pai c7f2956b67
Revert "Add message-size check before message decompression" 2020-06-22 16:18:36 -07:00
Esun Kim e758ccaff0
Merge pull request #23256 from veblush/json-run-flaky-preassign-port
Fixed port conflict of json_run_localhost
2020-06-22 13:04:11 -07:00
Esun Kim 2a3b1f0eb7 Revert log changes 2020-06-22 09:25:59 -07:00
Yash Tibrewal d48d39c432
Merge pull request #23177 from yashykt/checksizebeforedecompress
Add message-size check before message decompression
2020-06-19 17:47:48 -07:00
Yash Tibrewal 0497ad8bb0 Add missing message-size check before decompressing
Add and fix tests for limit check before decompression

Code restructuring to allow easy reuse of service config call data

Regenerate projects

Reviewer comments
2020-06-19 14:49:18 -07:00
Esun Kim b3469c723e Pre-assigned the server port and added more logs 2020-06-19 13:49:16 -07:00
Vijay Pai 84cf666014
Merge pull request #23229 from grpc/revert-23116-revert-23005-asyncwrite
Roll-forward: Fix StartCall: make corking work and allow concurrent Start*
2020-06-17 00:31:56 -07:00
Vijay Pai 7eebba3781 Fixes needed to make roll-forward of StartCall and corking work 2020-06-16 13:06:16 -07:00
Vijay Pai 278671072f
Revert "Revert "Fix StartCall: make corking work and allow concurrent Start*"" 2020-06-16 12:20:19 -07:00
Donna Dionne 97904d77a4 Adding the printing of error message when unexpected status returns. 2020-06-16 11:03:12 -07:00
Esun Kim e01080c800
Merge pull request #22984 from veblush/json-run-flaky-fix
Defer the server shutdown until the clients finish calls to avoid tim…
2020-06-15 16:22:29 -07:00
Mark D. Roth 11d50d9592 Merge remote-tracking branch 'upstream/master' into upb_upgrade 2020-06-15 15:24:10 -07:00
Vijay Pai a379951943
Merge pull request #23202 from vjpai/flaky
Fix flaky_network_test
2020-06-13 01:12:06 -07:00
Esun Kim ed2037d343 Update by review 2020-06-12 16:32:02 -07:00
Vijay Pai 5a2f60d137 Allow skipping canceled check 2020-06-12 15:29:49 -07:00
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
Vijay Pai f1979cece2 Disable SockPair fixture 2020-04-08 08:41:54 -07:00
Mark D. Roth c3fc65c9e0 Don't NACK EDS updates with no localities, but report TRANSIENT_FAILURE. 2020-04-08 07:29:45 -07:00
Mark D. Roth 80b74811d4
Merge pull request #22117 from markdroth/xdslb_refactor
Refactor xds LB policy
2020-04-08 07:28:49 -07:00
Donna Dionne 0c2f9565f4 Fixing code review comments 2020-04-07 22:08:54 -07:00
Mark D. Roth f8f6034d1a Refactor xds LB policy 2020-04-07 14:03:01 -07:00
Mark D. Roth b518ee3cc8 Remove size=large, since it didn't help. 2020-04-07 07:57:04 -07:00
Mark D. Roth 14f55eb202 Temporarily disable client_channel_stress_test for msan and tsan. 2020-04-07 07:38:21 -07:00
Donna Dionne f3f11cc21c Added new RPC methods to test routing different RPCs to different
backends.
2020-04-06 23:21:02 -07:00
Donna Dionne c0c7f1dae3 Fix build and test failures
Including the following
All all needed BUILD changes to include new xdsRouting
Fixed TSAN errors
AllServerUnavailableFailFast may return UNKNOWN as oppose UNAVAILABLE
ChooseLastRoute modified into 2 tests
2020-04-06 16:05:04 -07:00
apolcyn 610533d47c
Merge pull request #22540 from apolcyn/per_target_service_configs
Add a flag used to allow qps_json_driver and qps_worker channels to use the "grpclb" LB policy
2020-04-03 14:15:26 -07:00
Alexander Polcyn 962a8f28f9 Add a flag to set a grpclb+pick_first service config in
CreateTestChannel; use CreateTestChannel in qps_json_driver
2020-04-03 12:28:55 -07:00
apolcyn 02b92dde35
Merge pull request #22528 from apolcyn/improve_cares_tracer
Include the request object in c-ares address sorting trace logs
2020-04-01 14:31:35 -07:00
Mark D. Roth e3b1c4335d
Merge pull request #22536 from markdroth/grpclb_load_reporting_test_flake
Fix flakiness in grpclb SingleBalancerWithClientLoadReportingTest.Vanilla test.
2020-04-01 13:21:10 -07:00
Alexander Polcyn 292c07b432 Fix link error in address sorting test 2020-04-01 11:18:53 -07:00
Mark D. Roth bac25901d7 Fix flakiness in grpclb SingleBalancerWithClientLoadReportingTest.Vanilla test. 2020-04-01 10:48:17 -07:00
Mark D. Roth 5b087c9d8b
Merge pull request #22535 from markdroth/grpclb_end2end_test_flake
Fix flakiness in grpclb_end2end_test ReresolveDeadBalancer test case.
2020-04-01 10:42:46 -07:00
Mark D. Roth 85571e4c77
Merge pull request #22525 from markdroth/xds_lrs_fix
Report RPC failures to LB recv_trailing_metadata callbacks.
2020-04-01 07:58:56 -07:00
Mark D. Roth dcdd04fcaa Fix flakiness in grpclb_end2end_test ReresolveDeadBalancer test case. 2020-04-01 07:49:52 -07:00
Donna Dionne 0306829596 Merge remote-tracking branch 'upstream/master' into route_response 2020-03-31 17:38:16 -07:00
Alexander Polcyn aec6be5ec9 Include request object in c-ares address sorting trace logs 2020-04-01 00:05:03 +00:00
Mark D. Roth df27e42372 Report RPC failures to LB recv_trailing_metadata callbacks. 2020-03-31 14:44:45 -07:00
Mark D. Roth 03411d7be7 Second attempt: grpclb stabilization 2020-03-31 07:52:44 -07:00
Donna Dionne f487d1be61 Addressing code review comments. 2020-03-30 23:31:54 -07:00
Mark D. Roth 0c1414f1c9
Merge pull request #22502 from markdroth/xds_drop_all_fix
xds: don't report TRANSIENT_FAILURE when we're told to drop all
2020-03-30 08:02:58 -07:00
Mark D. Roth 0e1c63a7a1 xds: don't report TRANSIENT_FAILURE when we're told to drop all 2020-03-27 15:05:07 -07:00
Vijay Pai 32a33ae2b1 Properly set thread-local variable indicating nonblocking test 2020-03-27 13:14:36 -07:00
Mark D. Roth fcd8bbd34c minor cleanups in xds_end2end_test 2020-03-27 09:07:24 -07:00
Mark D. Roth f33570f576
Merge pull request #22493 from markdroth/xds_eds_empty_locality
xds: Add tests showing that we do not use localities with no endpoints.
2020-03-27 07:16:50 -07:00
Vijay Pai ee3952f72b
Merge pull request #22483 from vjpai/lambdify
Remove all std::mem_fn and std::bind from service definitions and setup
2020-03-26 23:52:06 -07:00
Mark D. Roth 652b5a8673 xds: Add tests showing that we do not use localities with no endpoints. 2020-03-26 15:48:55 -07:00
Yash Tibrewal a2df32e657 Merge branch 'master' into uselogicalthread 2020-03-25 20:57:31 -07:00
Vijay Pai c86cfc305c Remove all std::mem_fn and std::bind from service definitions and setup 2020-03-25 16:48:36 -07:00
Mark D. Roth 77040726d4
Merge pull request #22468 from markdroth/xds_eds_priority_validation
xds: NACK EDS update with sparse priorities
2020-03-25 13:10:32 -07:00
Mark D. Roth d4fb5ea436 update service config parsing as per recent spec change 2020-03-25 10:45:41 -07:00
Mark D. Roth 38f02d8e2b xds: NACK EDS update with sparse priorities 2020-03-25 09:31:47 -07:00
Donna Dionne ac79383583 Debugging xds_end2endtest DropTest Update by sending more initial
traffic.
2020-03-23 11:35:55 -07:00
Mark D. Roth 343b5403df xds: Send RDS request when retrying ADS call. 2020-03-23 07:55:18 -07:00
Donna Dionne 70ac4b6418 Basic Parsing, building service config, and Picking are all exercised
with basic tests.
2020-03-23 00:34:14 -07:00
donnadionne 241277ca5b
Merge pull request #22425 from donnadionne/err_msg
Debugging xds_end2endtest LocalityMap UpdateMap by sending more traffic
2020-03-19 16:56:33 -07:00
Donna Dionne d8fc6bd4c6 Addressing code review comments. 2020-03-19 14:31:37 -07:00
Donna Dionne f9f59ba222 Debugging xds_end2endtest LocalityMap UpdateMap by sending more traffic
The test is failing due to the backend not getting the expected amount
of traffic by a small margin.

Increasing traffic and adding debugs.
2020-03-19 14:12:28 -07:00
ZhenLian c97492faf0
Merge pull request #22370 from grpc/zhen_error_details_fix
[ImproveTLS] add a wrapper to error_detail in C core args
2020-03-18 14:58:07 -07:00
Mark D. Roth 611cf644bc Use wait_for_ready for xds calls. 2020-03-18 12:12:34 -07:00
ZhenLian 738272f3a8 [ImproveTLS] add a wrapper to error_detail in C core args 2020-03-18 09:35:39 -07:00
Mark D. Roth 5927f9b625 Gracefully switch xds policy instances when cluster name changes, and other LRS-related fixes. 2020-03-18 07:42:32 -07:00
Jan Tattermusch bccdd0cb29
Merge pull request #22356 from jtattermusch/more_flakes
Mark client_lb_end2end_test as flaky
2020-03-17 17:51:13 +01:00
Jan Tattermusch 2e266a82d9 mark end2end test as flaky 2020-03-17 06:24:25 -04:00
Jan Tattermusch a791e16983 mark more tests as flaky 2020-03-17 05:32:17 -04:00
Jan Tattermusch 880111fe47
Merge pull request #22355 from jtattermusch/bm_metadata_not_flaky
bm_metadata is not flaky anymore
2020-03-16 18:14:25 +01:00
Vijay Pai b4f0cad4bd
bm_arena needs more time
Internal tests show that it needs a large timeout. This has passed 100x without timeout.
2020-03-16 08:12:15 -07:00
Jan Tattermusch bda2519eeb mark client_lb_end2end_test as flaky 2020-03-16 03:14:00 -04:00
Jan Tattermusch 29528fc026 bm_metadata is not flaky anymore 2020-03-16 03:07:25 -04:00
Donna Dionne 50a04f99e7 Merge remote-tracking branch 'upstream/master' into route_response 2020-03-15 15:57:38 -07:00
Jan Tattermusch d5bb7ecbab
Merge pull request #22348 from yashykt/bmmetadtafix
Add missing grpc_slice_unref to bm_metadata
2020-03-14 17:00:54 +01:00
Yash Tibrewal b40b162cc9 Add missing grpc_slice_unref to bm_metadata 2020-03-13 18:28:16 -07:00