Zhongxian Pan
141331f079
Remove empty function grpc_cq_global_init and grpc_executor_global_init ( #30370 )
...
* Remove empty function grpc_cq_global_init
* Remove empty function grpc_executor_global_init
* Automated change: Fix sanity tests
* Move grpc_stats_init to do_basic_init
* Automated change: Fix sanity tests
Co-authored-by: panzhongxian <panzhongxian@users.noreply.github.com>
2 years ago
Sergii Tkachenko
9077532620
xds interop: Log operation id ( #30407 )
...
Add consistent operation id logs for GCP long-running operations - both old-style (compute) and the new APIs.
At the moment it's a bit more verbose than I'd want, f.e. it doubles the number of log messages during the teardown. We should probably only log failed ops. But to do this reliably, we should probably revisit the issue with improving tenacity retry error fail reports.
2 years ago
Craig Tiller
91bcb11c66
[build] Auto-deps for test/core/end2end ( #30409 )
...
* [build] Auto-deps for test/core/end2end
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Mark D. Roth
826caea677
ConfigSelector: use absl::Status instead of grpc_error ( #30395 )
2 years ago
Mark D. Roth
f4edc883ab
service config API: use absl::Status instead of grpc_error ( #30321 )
...
* service config API: use absl::Status instead of grpc_error
* Automated change: Fix sanity tests
* add missing build deps
* attempt to work around build breakage on older compilers
* trying the work-around in more spots
* more work-arounds
* more workarounds
* Automated change: Fix sanity tests
* work around another compiler problem
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
Co-authored-by: markdroth <markdroth@users.noreply.github.com>
2 years ago
Mark D. Roth
dc0fd42d7b
XdsClient: work around gcc bug in std::variant<> ( #30394 )
...
* XdsClient: work around gcc bug in std::variant<>
* Automated change: Fix sanity tests
Co-authored-by: markdroth <markdroth@users.noreply.github.com>
2 years ago
Mark D. Roth
5ac68916df
subchannel list: fix ubsan error ( #30393 )
...
* don't expose vector type
* don't down-cast from inside base class ctor
2 years ago
Craig Tiller
9511ab003a
[iwyu] Add test/core/memory_usage ( #30408 )
...
* include-fix
* include-fix
* iwyu headers
* clang-fmt
* fix
2 years ago
Craig Tiller
05e6bf2e4a
[build] Add test/core/util, test/core/event_engine to auto build deps ( #30364 )
...
* [build] Add test/core/util, test/core/event_engine to auto build deps
* deal with suppressions
* fix suppressions
* Automated change: Fix sanity tests
* fix
* fix
* fix
* fix
* progress
* Automated change: Fix sanity tests
* fix
* fix
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Esun Kim
7360d2ea82
gtestify test/core/iomgr: partial reland ( #30373 )
...
* Revert "Revert "gtestify test/core/iomgr (#30209 )" (#30362 )"
This reverts commit c7c0ba6f32
.
* -_-
* Regen
2 years ago
Vignesh Babu
5171aa70da
Forking the posix poll based poller for iomgr event engine ( #30230 )
...
* start
* Forking the posix epoll1 poller for event engine
* re-generate projects
* fix test
* fix sanity checks
* fix
* update fix
* more build issue fixes
* even more fixes
* add no_windows tag
* re-generate projects
* update comment
* cleanup
* Automated change: Fix sanity tests
* review comments
* fix tsan issue
* re-generate projects
* cleanup
* fix missing build dep
* fix mac build issue
* forking poll based poller for iomgr event engine
* minor fix in test
* update test to run both pollers
* re-generate projects
* simplifying build graph
* re-generate projects
* cleanup
* fix macOS build issues
* review comments
* re-generate projects
* add missing generated file
* review comments
* fix sanity checks
* rename one more build target
* fix build-dep issues
* fix sanity checks
* retry fix sanity checks
* format
* review comments
* fix
* fix
* review comments
* fix sanity checks
* max build and run issues
* fix review comments
* Automated change: Fix sanity tests
Co-authored-by: Vignesh2208 <Vignesh2208@users.noreply.github.com>
2 years ago
Craig Tiller
c19d6e2146
[api_fuzzer] Fix internal build ( #30402 )
2 years ago
yifeizhuang
58e00f45cb
client image for java release 1.48.0 ( #30354 )
2 years ago
nancylucy01
3cd368b28d
Basic callback client and server for new perchannel benchmark ( #30305 )
...
* Added new files for channel client/server
* Committing to switch branch
* Rebasing branch
* Switching branch
* Server process getting called
* Still working
* RPC received success, with sleep
* gRPC Receive success, grpc timeout
* Earlier but Clang tidy
* Fix timeout issue, remove some logs
* Added signint handler, test passing but flaky
* added sleep to reduce flakiness, removed some dependencies, changed LOG to gpr_log
* Changed benchmark_name default back to call
* remove deleted files
* grpc shutdown timeout
* trying to add shutdown
* Some changes
* Removed shutdown
* Automated change: Fix sanity tests
* Changes for review comments
* Changed comments
* Changed benchmark driver defaults so that CI testing would happen for all benchmarks
* Automated change: Fix sanity tests
Co-authored-by: nancylucy01 <nancylucy01@users.noreply.github.com>
2 years ago
AJ Heller
cacbd74f5d
removing the closure field, let's see ( #30399 )
2 years ago
Mark D. Roth
18d82d4a6a
Revert "Revert "TSI: return handshaker error message for inclusion in RPC failure status ( #30077 )" ( #30284 )" ( #30286 )
...
This reverts commit 8aeb548590
.
2 years ago
Esun Kim
309d83832c
Removed error.md ( #30338 )
2 years ago
Esun Kim
8f7927f7bc
Added gcc12 ( #30388 )
2 years ago
pkasting
38f34c0512
Mark the definitions of constinit variables as constinit. ( #30339 )
...
This is necessary to compile with --std=c++20.
Bug: chromium:1284275
2 years ago
Mark D. Roth
e0581db977
Second attempt: LB policy API: use absl::Status instead of grpc_error ( #30386 )
...
* Revert "Revert "LB policy API: use absl::Status instead of grpc_error (#30313 )" (#30359 )"
This reverts commit dec4451c0c
.
* Automated change: Fix sanity tests
Co-authored-by: markdroth <markdroth@users.noreply.github.com>
2 years ago
Craig Tiller
93fbacb534
[resource_quota] Flow control experiment ( #30310 )
...
* ideation
* fix periodic update behavior around initialization
* fix
* finish it up
* finish it up
* fix
* fix
* fix
* Update BUILD
* Automated change: Fix sanity tests
* tweak
* Automated change: Fix sanity tests
* pid after all
* fix
* tweak
* Automated change: Fix sanity tests
* fix
* fix
* comment
* fix
* comment
* better comment
* make set point configurable
* fix test
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Denny C. Dai
daee661f3c
[objc] Better test reporting with current test case instance ( #30381 )
2 years ago
Michael Lumish
f3c57aab0a
Add outlier detection xDS interop test using k8s interop framework ( #30250 )
...
* Add xDS interop test for outlier detection
This implements the test described in #29623 , and plumbing for setting the
outlierDetection field in the backend service config. The changes in this PR
are very similar to #29688 .
* Fix use of configure method
* Correct copy/paste error
* Fix metadata configuration syntax
* Increase QPS, use just one method
* Format code
* Apply suggestions from code review
Co-authored-by: Sergii Tkachenko <hi@sergii.org>
* Address review comments
* Only Java implements the required server features
* Automated change: Fix sanity tests
* Address review comments
* Use double quotes for docstring
Co-authored-by: Sergii Tkachenko <hi@sergii.org>
Co-authored-by: Sergii Tkachenko <hi@sergii.org>
Co-authored-by: murgatroid99 <murgatroid99@users.noreply.github.com>
2 years ago
Cheng-Yu Chung
0536a75167
Detect invalid UTF-8 characters ( #30307 )
...
* Detect invalid UTF-8 characters
* Fix checking bug
* Add unit test
* Add more comments and descriptions
* Add corpus
* Small fix to improve readability
* Fix sanity check
2 years ago
Craig Tiller
375e649011
[iwyu] Fix sanity on master ( #30366 )
2 years ago
Craig Tiller
c7c0ba6f32
Revert "gtestify test/core/iomgr ( #30209 )" ( #30362 )
...
This reverts commit 5b49a1b4bd
.
2 years ago
github-actions[bot]
89a0733747
Automated change: Fix sanity tests ( #30361 )
...
Co-authored-by: veblush <veblush@users.noreply.github.com>
2 years ago
Craig Tiller
dec4451c0c
Revert "LB policy API: use absl::Status instead of grpc_error ( #30313 )" ( #30359 )
...
This reverts commit 6629f604f9
.
2 years ago
Esun Kim
5b49a1b4bd
gtestify test/core/iomgr ( #30209 )
...
* gtestify test/core/iomgr
2 years ago
Craig Tiller
0450157e06
[iwyu] Better handle <type_traits> ( #30349 )
...
* update mapping
* run tool
* Automated change: Fix sanity tests
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Craig Tiller
df52004032
[iwyu] Add test/core/end2end ( #29998 )
...
* [iwyu] Add test/core/end2end
* Automated change: Fix sanity tests
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* update
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Craig Tiller
856abd9446
[iwyu] Add test/core/util ( #30289 )
...
* [iwyu] Add test/core/util
* Automated change: Fix sanity tests
* fix
* fix
* fix
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Craig Tiller
e13566914f
[zlib] Remove dependency on zlib version ( #30356 )
2 years ago
Craig Tiller
f6a96e5506
[build] Handle subdirectory BUILD files ( #30327 )
...
* Revert "Revert "[build] Handle subdirectory BUILD files (#30292 )" (#30319 )"
This reverts commit c6e9203fcb
.
* fix
2 years ago
Denny C. Dai
a0ce815f34
[objc] Support test assert with flaky retry ( #30345 )
2 years ago
AJ Heller
462e6c1738
Use AnyInvocable in IomgrEngineClosure ( #30352 )
...
* use AnyInvocable in IomgrEngineClosure
* Automated change: Fix sanity tests
Co-authored-by: drfloob <drfloob@users.noreply.github.com>
2 years ago
Sergii Tkachenko
a9c2f80a53
xds interop: resume failover tests on all branches ( #30344 )
...
Resume the failover test on all branches, now that the following PRs were backported to all branches:
- https://github.com/grpc/grpc-go/pull/5508
- https://github.com/grpc/grpc-java/pull/9389
Continues #30308
ref b/238226704
2 years ago
Craig Tiller
f5bb60d8e8
[channel_args] Improve comparison performance ( #30322 )
...
* [channel_args] Improve comparison performance
* fix
* Automated change: Fix sanity tests
* faster still
* fix
* fix
* some no cost boosts if they get hit
* fix
* final tweak for pointers
* check
* fix
* Automated change: Fix sanity tests
* fix
* ugh
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Mark D. Roth
6629f604f9
LB policy API: use absl::Status instead of grpc_error ( #30313 )
...
* LB policy API: use absl::Status instead of grpc_error
* fix build
* fix build
* fix tests
* Automated change: Fix sanity tests
Co-authored-by: markdroth <markdroth@users.noreply.github.com>
2 years ago
Mark D. Roth
7a548bb7a9
address_utils: modernize grpc_string_to_sockaddr() ( #30314 )
...
* address_utils: modernize grpc_string_to_sockaddr()
* don't look at payload if not okay
* fix clang-tidy
* clang-format
* fix msan
* Automated change: Fix sanity tests
* another msan fix
* Automated change: Fix sanity tests
Co-authored-by: markdroth <markdroth@users.noreply.github.com>
2 years ago
AJ Heller
785d6b656a
Add logging for invalid client PayloadConfig in QPS test ( #30261 )
...
* Add invalid PayloadConfig logging to QPS test
* flip conditions
2 years ago
Mark D. Roth
4341a810f6
XdsClient: refcount tracing improvements ( #30277 )
...
* XdsClient: improve ref-count trace logging
* better message for GetOrCreate()
* add more tracing
* Automated change: Fix sanity tests
Co-authored-by: markdroth <markdroth@users.noreply.github.com>
2 years ago
Mark D. Roth
908e46d137
test_lb_policies: fix clang-tidy warning ( #30324 )
2 years ago
Mark D. Roth
a97596adbd
XdsClient: drop refs to ChannelState objects upon XdsClient shutdown ( #30266 )
...
* XdsClient: drop refs to ChannelState objects upon XdsClient shutdown
* be defensive to make sure we don't access a null pointer
2 years ago
Craig Tiller
6fc2511e4d
[resource_quota] Periodically return memory to central quota ( #30268 )
...
* [resource_quota] Periodically return memory to central quota
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* optionalize features
* fix periodic update behavior around initialization
* fix
* fix
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Mark D. Roth
a1d42f84ef
xds_cluster_resolver: pass useful resolution_note to children ( #30283 )
...
* xds_cluster_resolver: pass useful resolution_note to children
* clang-format
2 years ago
Mark D. Roth
201213c681
client channel: add tests for authority override precedence ( #30172 )
...
* client channel: add tests for authority override precedence
* add unit test
* Automated change: Fix sanity tests
Co-authored-by: markdroth <markdroth@users.noreply.github.com>
2 years ago
Denny C. Dai
1cad82802b
[ios/objc] Fix call object retain cycle in interop test ( #30301 )
2 years ago
Sergii Tkachenko
03b5bfb1d3
xds interop: choose correct cluster in grpc_xds_k8s_lb_python.sh ( #30309 )
2 years ago
Mark D. Roth
90cc6fa706
xDS: upgrade the commit of the xDS protos that we're using ( #30318 )
...
* xDS: upgrade the commit of the xDS protos that we're using
* Automated change: Fix sanity tests
Co-authored-by: markdroth <markdroth@users.noreply.github.com>
2 years ago