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