Commit Graph

5143 Commits

Author SHA1 Message Date
Karthik Ravi Shankar 375d92be8d Merge branch 'master' into sync-stream 2020-09-08 15:14:48 -07:00
Alisha Nanda 25c35b6db7 Revert "Revert "Merge pull request #24047 from grpc/revert-23916-server-context""
This reverts commit 84c4994dc7.
2020-09-08 19:26:56 +00:00
Donna Dionne 1b1a41df5d New Tests to guard against regression when routing and weighted target
logic are moved from policies to XdsConfigSelector:

1. Cluster update test: we never had a test that explicitly updated
clusters multiple times.
2. A cluster update test that includes long running RPCs, in particular,
RPCs not yet committed.
2020-09-08 12:20:56 -07:00
“Mohan f85569e5a7 Address cooments including channel_creds checking, UNIMPLEMENTED checking 2020-09-08 11:30:11 -07:00
“Mohan 4039a8d405 Make minor changes to pass github check 2020-09-08 11:29:23 -07:00
Alisha Nanda 94a72c151b
Changed timeout to ns rather than us. 2020-09-03 16:50:42 +00:00
Karthik Ravi Shankar 67667eb7b6 Revert ... 2020-09-03 08:16:10 -07:00
Alisha Nanda 4282e968c4
Re-add in all changes, fix check failures. 2020-09-03 04:01:22 +00:00
Alisha Nanda 84c4994dc7 Revert "Merge pull request #24047 from grpc/revert-23916-server-context"
This reverts commit 7c098321bd, reversing
changes made to d109f4b406.
2020-09-03 02:00:10 +00:00
Alisha Nanda a4eedc1510 Revert "Merge branch 'master' of https://github.com/ananda1066/grpc"
This reverts commit 35e0e96b09, reversing
changes made to b78bc85185.
2020-09-03 01:57:03 +00:00
Karthik Ravi Shankar b657c8d79c
Revert "Revert "Move ServerContext from ::grpc_impl to ::grpc"" 2020-09-02 10:17:00 -07:00
Karthik Ravi Shankar f1abdd1725
Revert "Move ServerContext from ::grpc_impl to ::grpc" 2020-09-01 22:54:54 -07:00
Alisha Nanda 88d99b4603 Add timeout flag to gRPC cli
Signed-off-by: Alisha Nanda <alishananda@google.com>
2020-09-01 22:10:35 +00:00
Karthik Ravi Shankar 9afbf02198 Merge branch 'master' into server-context 2020-08-31 17:37:37 -07:00
Karthik Ravi Shankar 4903d62843 Merge branch 'master' into server-context 2020-08-25 11:47:31 -07:00
Mark D. Roth 5adf794eec Increase polling timeout for NoMatchedDomain test. 2020-08-25 07:18:52 -07:00
Mark D. Roth 91b698d232 Revert "Merge pull request #23969 from grpc/revert-23918-xds_virtual_host_validation"
This reverts commit 13b5f0b625, reversing
changes made to 9ea2d7c89d.
2020-08-25 07:03:28 -07:00
donnadionne 4cb21ff819
Revert "xds: Don't identify the needed VirtualHost at validation time." 2020-08-24 21:46:00 -07:00
Mark D. Roth b0a8b4606c xds: Don't identify the needed VirtualHost at validation time. 2020-08-21 11:39:35 -07:00
Karthik Ravi Shankar 75187ec316 fix golden test file for codegen test 2020-08-20 17:03:40 -07:00
Mark D. Roth 9a39f172a6 xds: NACK if response includes duplicate resource names. 2020-08-20 16:17:57 -07:00
Jan Tattermusch afda101854 cleanup bazel commands in test scripts (for non-RBE invocations) 2020-08-20 12:22:09 +02:00
donnadionne ffb643479c
Merge pull request #23863 from donnadionne/TF
Fixing the transient failure that occurs during the case where
2020-08-19 12:21:33 -07:00
ZhenLian 0369675656
Merge pull request #23848 from grpc/zhen_alts_peer_attr_plumbing
ALTS peer attributes plumbing
2020-08-19 11:59:46 -07:00
Donna Dionne dc7f926b9e Fixing the transient failure that occurs during the case
where CDS response missing a resource that we have newly requested
(the resource will likely be contained in subsequent responses).
2020-08-19 10:25:02 -07:00
Mark D. Roth bd73844208 Move parse_address library from client_channel to iomgr. 2020-08-18 11:23:06 -07:00
Yash Tibrewal bef69db1a6 A bit of cleanup 2020-08-17 16:24:40 -07:00
Karthik Ravi Shankar d6ad6d16d2
Merge pull request #23795 from karthikravis/client-context
Move ClientContext from ::grpc_impl to ::grpc
2020-08-17 12:17:48 -07:00
ZhenLian 5438a00d38 fix MSAN error 2020-08-15 20:11:21 -07:00
ZhenLian 0cdc36f64f ALTS peer attributes plumbing 2020-08-14 17:27:57 -07:00
Vijay Pai c2d2220ba5 Make MaybeExpect guarantee at-most-once and allow Verify reuse 2020-08-14 10:30:48 -07:00
Karthik Ravi Shankar cfd1069ae0 Fix formatting 2020-08-13 14:25:43 -07:00
Karthik Ravi Shankar 242b1b87f8 Merge branch 'master' into flaky-fix 2020-08-13 14:25:27 -07:00
Vijay Pai 6040d621bd Fix destruction order bug in nested lock test 2020-08-12 09:44:49 -07:00
Alexander Polcyn e2837aa10b Raise deadline of CancelDuringAresQuery.TestHitDeadlineAndDestroyChannelDuringAresResolutionWithQueryTimeoutIsGraceful test 2020-08-11 18:05:57 -07:00
Karthik Ravi Shankar 751b9c105f Move ClientContext from ::grpc_impl to ::grpc
Reverts: https://github.com/grpc/grpc/pull/19261
2020-08-11 16:28:50 -07:00
Karthik Ravi Shankar 218c5fd235 Mark client_crash_test as flaky
This test fails under asan.
2020-08-11 16:00:13 -07:00
Karthik Ravi Shankar c507ae327b
Merge pull request #23762 from grpc/revert-23756-revert-23693-channel
Revert "Revert "Fold Channel and CompletionQueue from grpc_impl to grpc""
2020-08-10 12:37:12 -07:00
Mark D. Roth d926e1ca47 Move XdsClient code out of client_channel tree. 2020-08-07 08:21:09 -07:00
Karthik Ravi Shankar 15cce00f52
Revert "Revert "Fold Channel and CompletionQueue from grpc_impl to grpc"" 2020-08-06 20:42:54 -07:00
Karthik Ravi Shankar f3f9e8941a
Revert "Fold Channel and CompletionQueue from grpc_impl to grpc" 2020-08-06 15:56:09 -07:00
Karthik Ravi Shankar 390132c87f Merge branch 'master' into channel 2020-08-04 11:48:10 -07:00
Mark D. Roth 7f7a6916f6
Merge pull request #23581 from markdroth/server_c++
Convert grpc_server to idiomatic C++.
2020-08-03 14:45:53 -07:00
Yash Tibrewal d35c1c13cd
Merge pull request #23636 from yashykt/settingsdeadline
Receive SETTINGS frame on clients before declaring subchannel READY
2020-08-03 14:04:02 -07:00
Mark D. Roth 0b61aea1c5 Convert grpc_server to idiomatic C++. 2020-08-03 12:56:29 -07:00
Vijay Pai cd20a80a1e
Merge pull request #23653 from vjpai/bm_cq
Properly follow callback CQ API guarantees rather than existing behavior in ubm
2020-08-03 12:39:17 -07:00
Vijay Pai 94a85b051d Expand comment to address reviewer feedback 2020-07-31 14:26:17 -07:00
Yash Tibrewal e310d4366c Receive SETTINGS frame on clients before declaring subchannel READY 2020-07-31 02:01:40 -07:00
Esun Kim 5112d75a46 Add TestEnvironment to tests 2020-07-30 23:43:02 -07:00
Karthik Ravi Shankar 3c2f4b40e3 Fold Channel and CompletionQueue from grpc_impl to grpc
Reverts: https://github.com/grpc/grpc/pull/19067
2020-07-30 16:45:28 -07:00
Esun Kim b6fac74d0f
Merge pull request #23689 from veblush/msan-fix3
Add TestEnvironment to tests
2020-07-30 15:00:35 -07:00
Esun Kim 9494b834b1 Add TestEnvironment to tests 2020-07-30 13:58:01 -07:00
ashithasantosh cd9a127502
Merge pull request #23489 from michaelywg/endpoint_local_accessor
modified grpc_endpoint vtable and implementations
2020-07-30 13:54:16 -07:00
Esun Kim 3e7d5976b5 Add TestEnvironment to tests 2020-07-30 11:06:52 -07:00
Esun Kim 79adbe59d5
Merge pull request #23673 from veblush/msan-fix
Add TestEnvironment to tests
2020-07-29 21:20:59 -07:00
Esun Kim f2374fb591 Add TestEnvironment to tests 2020-07-29 19:29:55 -07:00
Donna Dionne 33c128e99e Fixing a flaky test in ClientLoadReportingWithDropTest 2020-07-29 17:27:23 -07:00
Mark D. Roth 60283a1085
Merge pull request #23582 from markdroth/grpclb_authority
Remove TargetAuthorityTable in favor of a per-address channel arg.
2020-07-29 15:18:13 -07:00
Michael Wang c6586f087f implemented get_local_address accessor for grpc_endpoint 2020-07-29 19:39:22 +00:00
Vijay Pai 5488e7b5cd
Merge pull request #23478 from grpc/vjpai-patch-1-1
Avoid unused variables
2020-07-28 12:51:49 -07:00
Vijay Pai 968e1b40a5 Properly follow callback API guarantees rather than existing behavior 2020-07-28 12:42:20 -07:00
Vijay Pai b7a7a25a0f
Merge pull request #23651 from vjpai/revert_callback_alternative
Revert callback-alternative PRs
2020-07-28 12:32:30 -07:00
Karthik Ravi Shankar 8527ebb471
Merge pull request #23611 from grpc/revert-23609-revert-23308-create-channel
Revert "Revert "Move create_channel and credentials from ::grpc_impl to ::grpc""
2020-07-28 10:43:14 -07:00
Vijay Pai 9c5a39c6db Revert "Merge pull request #23361 from vjpai/em_agnostic_core_callback_cq"
This reverts commit a46cb5e86a, reversing
changes made to b5d42e75fb.
2020-07-28 09:55:43 -07:00
Vijay Pai bcb6530717 Revert "Merge pull request #23430 from vjpai/remove_do_not_test"
This reverts commit 08d737abf8, reversing
changes made to 6dc44b33c7.
2020-07-28 09:55:17 -07:00
Eric Gribkoff 7df3017c8a Update semantics of --fail_on_failed_rpc 2020-07-27 10:11:19 -07:00
Karthik Ravi Shankar 1de0bfd9e2
Revert "Revert "Move create_channel and credentials from ::grpc_impl to ::grpc"" 2020-07-24 12:47:33 -07:00
Karthik Ravi Shankar f1bc43edf6
Revert "Move create_channel and credentials from ::grpc_impl to ::grpc" 2020-07-24 11:08:54 -07:00
Karthik Ravi Shankar bf641af30b
Merge pull request #23308 from karthikravis/create-channel
Move create_channel and credentials from ::grpc_impl to ::grpc
2020-07-23 20:04:36 -07:00
Mark D. Roth 79c1294720
Merge pull request #23281 from markdroth/xds_v3
xDS v3 support
2020-07-23 14:13:18 -07:00
apolcyn 7e7a48f863
Merge pull request #23557 from apolcyn/display_peer_address
Log the peer address of grpc_cli CallMethod RPCs to stderr
2020-07-23 10:58:04 -07:00
Mark D. Roth 181781387d xDS v3 support 2020-07-23 10:20:55 -07:00
Mark D. Roth c35a37d6c2 Remove TargetAuthorityTable in favor of a per-address channel arg. 2020-07-23 08:23:05 -07:00
Karthik Ravi Shankar 9ad399384a Merge branch 'master' into create-channel 2020-07-23 00:47:36 -07:00
Alexander Polcyn f57879ac56 Flag protect new logs 2020-07-22 21:22:05 -07:00
Vijay Pai 172f61a3a2
Merge pull request #22757 from vjpai/core_server_cxx
C++ify grpc_server
2020-07-21 16:50:37 -07:00
Alexander Polcyn 4bdbd4caef Log the peer address of grpc_cli CallMethod RPCs to stderr 2020-07-20 18:18:42 -07:00
Donna Dionne 0d6ee9b309 Implement fake and ignored headers.
Take care to ensure we use fake headers in testing so we don't
conflict with headers used by census.
2020-07-20 12:34:02 -07:00
Mark D. Roth e681f37054 Remove env var protection of new xds routing code. 2020-07-20 07:59:07 -07:00
Vijay Pai 9d79ca6058 C++ify core server 2020-07-20 03:15:18 -07:00
Karthik Ravi Shankar d7565c37a8 Revert "Adding Fake headers for header matching."
This reverts commit 8c013bfcdc.
2020-07-17 16:39:05 -07:00
Mark D. Roth 81906a4c19
Merge pull request #23491 from markdroth/xds_header_combining
Concatenate duplicate header keys for matching.
2020-07-17 07:37:19 -07:00
Donna Dionne ea459f72f5 Fixing unsafe std::move. 2020-07-16 16:05:31 -07:00
Donna Dionne 1f30faad13 Fixing call to absl::StrSplit to deal with empty string case. 2020-07-15 17:31:10 -07:00
Mark D. Roth fc5bd60f16 Concatenate duplicate header keys for matching. 2020-07-15 15:48:32 -07:00
Donna Dionne 8c013bfcdc Adding Fake headers for header matching. 2020-07-15 13:14:19 -07:00
Donna Dionne fc8923c0a3 Updating C++ interop client and server to do path matching and header
matching tests.
2020-07-14 18:23:18 -07:00
Vijay Pai 612a3dfa10
clang-format 2020-07-14 14:10:54 -07:00
Vijay Pai bec17c1dd3
Avoid unused variables 2020-07-14 14:09:09 -07:00
Karthik Ravi Shankar 1999b20c7d Merge branch 'master' into create-channel 2020-07-13 10:58:31 -07:00
Vijay Pai d03daab509
Remove unused variable (fixes builder error) 2020-07-09 16:28:14 -07:00
Vijay Pai 08d737abf8
Merge pull request #23430 from vjpai/remove_do_not_test
Remove references to skipping callback API tests
2020-07-09 15:57:35 -07:00
Muxi Yan 3b2e473548
Merge pull request #22345 from muxi/grpclb-name-config
Update grpclb configuration with field "service_name"
2020-07-09 13:32:55 -07:00
Vijay Pai e1a45fb237 Remove references to skipping callback API tests 2020-07-09 11:45:01 -07:00
Muxi Yan 232756e7bf Remove unnecessary RPC 2020-07-09 09:37:05 -07:00
Vijay Pai a46cb5e86a
Merge pull request #23361 from vjpai/em_agnostic_core_callback_cq
EM-agnostic core callback CQ
2020-07-09 09:35:49 -07:00
Vijay Pai 407fdc3a36 Fix data race in RpcWithEarlyFreeRequest by using atomics 2020-07-08 22:18:40 -07:00
Vijay Pai c6c05910c2 Fix data race in RpcWithEarlyFreeRequest by using atomics 2020-07-08 22:17:54 -07:00
Muxi Yan fa28bab456 Address comments 2020-07-08 16:56:21 -07:00
Vijay Pai 7ee2bc6db5 EM-agnostic callback completion queue 2020-07-08 16:12:23 -07:00
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