Eugene Ostroukhov
73c5da6f02
[PSM Interop] Synchronize messages.proto ( #34182 )
1 year ago
Eugene Ostroukhov
88df0a1c71
[PSM Interop] Return trailing metadata. ( #34096 )
...
1. Trailing metadata is now reported.
2. messages.proto was synchronized.
3. Corrected order of arguments in EXPECT_EQ so the output makes sense now.
1 year ago
Eugene Ostroukhov
a6689e6444
[PSM Interop] Maintain RPC behaviors order ( #34164 )
...
Fixes comment
https://github.com/grpc/grpc/pull/32810#discussion_r1304953101
1 year ago
Eugene Ostroukhov
7efc7d2806
[PSM Interop] Reapply hook server and fix race condition ( #34132 )
...
1. Revert parts of 440eef2288
that
reverted 16b67ae312
2. Fix race conditions in the test case that caused TSAN failures.
1 year ago
Eugene Ostroukhov
440eef2288
[Import] Revert #34027 and #34129 ( #34133 )
...
This reverts commit 16b67ae312
.
1 year ago
Eugene Ostroukhov
16b67ae312
[PSM Interop] Add "hook service" ( #34027 )
1 year ago
Eugene Ostroukhov
89209debad
[PSM Interop] Extend headers matching. ( #34082 )
...
1. Headers will now be matched ignoring the case.
2. "*" can now be set to return all metadata values.
1 year ago
Eugene Ostroukhov
44de3ab221
[PSM Interop] Restore "Report per-RPC metadata if requested. ( #33939 )" ( #34037 )
1 year ago
Mohan Li
66f60aa763
[test] Allow set request/response size in interop soak test ( #34010 )
...
Internal bug: b/289109827
1 year ago
Eugene Ostroukhov
fc9a1ccaed
[PSM Interop] Revert "Report per-RPC metadata if requested. ( #33939 )" ( #34028 )
...
This reverts commit 6fadb994ef
.
1 year ago
Eugene Ostroukhov
6fadb994ef
[PSM Interop] Report per-RPC metadata if requested. ( #33939 )
1 year ago
Eugene Ostroukhov
18be986e3b
[XDS Interop] Move XdsStatsWatcher to a separate file. ( #34000 )
...
This will help with introducing test coverage as the logic becomes more
complex.
1 year ago
Eugene Ostroukhov
fc4736c1ad
[interop] Fix crash in pick_first LB policy ( #33519 )
...
Fixes http://b/288420022
1 year ago
Eugene Ostroukhov
d55431995c
[interop] Implement "hostname" for RPC behavior ( #33446 )
...
This enables outlier detection test. See #33135
2 years ago
Mark D. Roth
d20e8d141b
[LB policies] add delegating helper classes ( #33445 )
...
This eliminates the need to modify every parent policy whenever we add
new helper methods. It should also eliminate some binary bloat.
2 years ago
Eugene Ostroukhov
0980076bb9
[interop] fix C++ server to add mutex for orca_oob test ( #33278 )
...
Following improvements were made to `orca_oob` interop test to increase
compatibility and stability:
1. Timeout was increased to 10s (see #33098 )
2. Server will block clients trying to run this test concurrently.
3. Data is cleared in the beginning of the call.
2 years ago
AJ Heller
252ebad341
[infra] Fix absl::Mutex check and remove all uses ( #33144 )
...
`tools/run_tests/sanity/check_absl_mutex.sh` was broken, a missing paren
crashed the script if run locally. It's unclear yet how our sanity
checks were not complaining about this, `run_tests.py` does not save the
log.
2 years ago
Mark D. Roth
8fdfb22848
[JSON] generalize handling of RefCountedPtr<> ( #33048 )
...
Also remove a check in the weighted_target LB policy that I somehow
missed in #32932 .
2 years ago
Stanley Cheung
2845a248d6
[GcpObservability] Remove sleep from observability test client ( #32817 )
...
.. as it is now part of the `GcpObservabilityClose()` routine
[itself](https://github.com/grpc/grpc/pull/32715/files#diff-e1ce0ccb4650e20b62a6d6b31655f446ad9ef72efca5849143e65f4a5a5e0310R223 ).
Background: #32715 may have broken the CI for observability interop
testing. The client seems to be taking too long to finish. More info at
b/277145074
We need to backport this to the `v1.54.x` branch if this is the right
fix.
2 years ago
Eugene Ostroukhov
be99673d06
[PSM interop test] implement error-code- RPC behavior ( #32810 )
...
This reverts commit 47ea5062cb
.
2 years ago
Craig Tiller
47ea5062cb
Revert "[xds interop tests] implement error-code- RPC behavior" ( #32769 )
...
Reverts grpc/grpc#32765
2 years ago
Eugene Ostroukhov
50fce40409
[PSM Interop] Add custom_lb test client ( #32757 )
2 years ago
Eugene Ostroukhov
a4af6250d8
[xds interop tests] implement error-code- RPC behavior ( #32765 )
...
Implements handling for the `error-code-xx` `rcp-behavior` header.
Compare to similar implementation in
[java-server](42b4c61d5e/interop-testing/src/main/java/io/grpc/testing/integration/XdsTestServer.java (L379)
)
2 years ago
Eugene Ostroukhov
0fb7fbf7f0
[testing] Do not pass metric recorder to EnableCallMetricRecording ( #32708 )
2 years ago
Eugene Ostroukhov
65fa0f605a
[testing] Update orca-* tests for better compatibility ( #32630 )
...
1. Make channel creation lazy. This allows test cases to update the
configuration before the connection is made.
2. Pass load reports tracker when creating the policy. This way other
test cases do not see any changes to ChannelArguments.
Using grpc_core::CoreConfiguration::RunWithSpecialConfiguration was
considered but did not work as it removes other builders setup prior to
starting the test cases.
2 years ago
Eugene Ostroukhov
a70fd8e5e2
[testing] Synchronize interop test protos. ( #32631 )
...
Fixes: issue #32628
2 years ago
Eugene Ostroukhov
acec3a6975
[testing]: Add "orca_oob" test case ( #32599 )
2 years ago
Eugene Ostroukhov
c62ecd5cb4
[testing]: Add "orca_per_rpc" test case ( #32524 )
2 years ago
Stanley Cheung
db62c06171
GCP Observability testing for C++ ( #32531 )
...
Third try for #32466 .
This adds an interop client / server for GCP Observability integration
testing.
Everything is new here with no refactor. Plan is to get this in first
before trying to refactor out the flags.
2 years ago
Craig Tiller
78bcf51496
Revert "Refactor C++ interop client flags" ( #32519 )
...
Reverts grpc/grpc#32509
2 years ago
Craig Tiller
78c799bce6
Revert "GCP Observability testing for C++" ( #32518 )
...
Reverts grpc/grpc#32466
2 years ago
Stanley Cheung
f217a732d3
GCP Observability testing for C++ ( #32466 )
...
This PR enables GCP Observability testing for C++.
This re-uses the existing interop test client and server and adds an
`--enable_observability=true` flag.
This also adds a `Dockerfile` and `run.sh` script to allow the test
framework to execute the test.
Framework PR:
https://github.com/GoogleCloudPlatform/grpc-gcp-tools/pull/18
Java PR: https://github.com/grpc/grpc-java/pull/9858
Golang PR: https://github.com/grpc/grpc-go/pull/5979
2 years ago
Stanley Cheung
0479698f3a
Refactor C++ interop client flags ( #32509 )
...
Refactor C++ interop test client flags into the common
`client_helper.h/cc`. This is needed by the observability testing PR
#32466
We need the `ABSL_DECLARE_FLAG` in the header file so that we can share
that across different implementation.
2 years ago
Yash Tibrewal
aa11978541
Fix include guards for src/ and test/ directories ( #32167 )
...
* Fix include guards for src/ and test/ directories
* Sanity
* Update new files
2 years ago
Craig Tiller
67f364e23e
[cleanup] Eliminate usage of GRPC_ASSERT(false...); ( #31757 )
...
* crash function
* progress
* fix
* fix
* Automated change: Fix sanity tests
* fix
* fix
* fix
* fixes
* Automated change: Fix sanity tests
* fix
* Automated change: Fix sanity tests
* fix
* fix
* use cpp attr
* Automated change: Fix sanity tests
* fix
* fix
* fix
* fix
* fix
* fix
* add exclusion
* fix
* typo
* fix
* fmt
* Update tcp_socket_utils.cc
* Automated change: Fix sanity tests
* fix
* revert php changes
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
apolcyn
c952d37814
[testing] add test client for use in XDS federation tests ( #32020 )
...
[testing] add test client for use in XDS federation tests
2 years ago
Yijie Ma
f99b8b5bc4
Convert c-style comments to C++-style comments ( #31923 )
...
* baseline
* fix clang-tidy
* manually revert these files
* manually fixup at eof
* revert 2 more files
* change check_deprecated_grpc++.py
* change end2end_defs.include template
* fix check_include_guards.py
* untrack tools/distrib/python/convert_cstyle_comments_to_cpp.py
not yet ready to be submitted
* fix
yapf check_include_guards.py
remove a space...
* fix version.cc.template
* fix version_info.h.template
2 years ago
Esun Kim
f3fedae7c8
Added readability-redundant-string-cstr ( #31707 )
...
* Added readability-redundant-string-cstr
* Auto fix
* No need to wrap std::string
2 years ago
Cheng-Yu Chung
e69592d29c
Remove `include/grpc/impl/codegen/atm.h` ( #31673 )
2 years ago
Esun Kim
530b702259
Update Clang 15 ( #31518 )
...
* clang-15
* iwyu
* run clang_format_code
* Clang-Tidy config
* Fix misc-unused-using-decls
* Fixed performance-inefficient-vector-operation
* Sanity
2 years ago
Mark D. Roth
447a058837
xDS: remove deprecated C++ APIs in the experimental namespace ( #31451 )
2 years ago
Craig Tiller
c2ab8c99bb
Revert "Revert "[c++] Move environment functions to C++ ( #30937 )" ( #30986 )" ( #30988 )
...
This reverts commit 96264e07b8
.
2 years ago
Craig Tiller
96264e07b8
Revert "[c++] Move environment functions to C++ ( #30937 )" ( #30986 )
...
This reverts commit 74c0d6fe3f
.
2 years ago
Craig Tiller
74c0d6fe3f
[c++] Move environment functions to C++ ( #30937 )
...
* [gprpp] Move env to C++
* move headers/impl
* Automated change: Fix sanity tests
* fix
* fix
* Automated change: Fix sanity tests
* Update http_proxy.cc
* fix
* fix
* rename
* fix merge
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Yash Tibrewal
f78581a18f
Istio Echo: Add version string ( #30477 )
2 years ago
Craig Tiller
eb5ae61470
Reland (again) bytestream removal ( #29987 )
...
* Revert "Revert "Reland bytestream removal (#29911 )" (#29964 )"
This reverts commit e6c6840db3
.
* initial fc fuzzer
* fixes
* add rq to fc fuzzer
* fleshing things out
* Automated change: Fix sanity tests
* cleanup
* send with payload
* ensure if no reader no flow control tokens are granted
* remove some public methods
* remove bogus benchmarks
* account for pending size
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* better logic
* Automated change: Fix sanity tests
* fix
* fixes
* fuzz pending size
* Automated change: Fix sanity tests
* fix
* Automated change: Fix sanity tests
* huh
* increase too short timeout
* review feedback
* review feedback
* fix u32 overflow
* fix
* robustness fixes for channelz_servicer_test
* fix
* Automated change: Fix sanity tests
* fix
* fix
* fix
* Automated change: Fix sanity tests
* dont send window updates if read closed
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Alisha Nanda
e085568c88
Fix build failures with istio test ( #30074 )
...
* Fix ubsan failure
* Fix build failures with istio test
* Fix other status code
3 years ago
Yash Tibrewal
c6145a93bf
xds Istio Interop: Handle failures properly ( #30036 )
...
* xds Istio Interop: Handle failures properly
* Unused parameters
* Remove unnecessary sleep
3 years ago
Yash Tibrewal
f17110adef
xDS Istio Interop: Forward ForwardEcho requests for unhandled protocols ( #30005 )
...
* xDS Istio Interop: Forward ForwardEcho requests for unhandled protocols
* Add deadline
* clang-tidy
* Reviewer commentsg
3 years ago
apolcyn
a1e1d34f36
Log peer address in interop soak client ( #30006 )
3 years ago