Craig Tiller
91eff1bbba
Fix race ( #29128 )
...
It's possible for the first context to be constructed concurrently to
the first set_pollent call. Use an atomic to remove the race.
3 years ago
AJ Heller
1f03bbab39
Small cleanup ( #29125 )
...
The std::moves of temporaries prevented copy elision, and the functions
were unused (one with a TODO to re-enable later)
3 years ago
Yash Tibrewal
01f333a1c1
TlsCredentials: Comparator implementation ( #28940 )
...
* TlsCredentials: Comparator implementation
* Update tests
* Redundant namespace qualifiers
* clang-tidy
* Reviewer comments
* Reviewer comments
* Reviewer comments
* Reviewer comments
* Reviewer comments
* Add generator for grpc_tls_credentials_options.h
* Generator script modifications for tests
* Sanity
* Reviewer comments
* Reviewer comments
* Add a common place to look-up known types
* Formatting
* Script fix
* Reviewer comments
* Add test mode to script
* Add to sanitize.sh
* clang-tidy
* Fix
* Fix
* Reviewer comments
* Clang-format
3 years ago
Craig Tiller
3e5a5bba59
Single set pointer ( #29114 )
...
* Single set pointer
* Update single_set_ptr.h
* fix
* fix
* build
* custom deleters
3 years ago
Craig Tiller
ccf70cf273
Reland channel args C++ type ( #29113 )
...
* Revert "Revert "Introduce ChannelArgs C++ type (#28860 )" (#29106 )"
This reverts commit f0283aac40
.
* x
* fix
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Hannah Shi
842ed8d461
[Objc] add ios libuv timer test ( #28570 )
...
* use libuv in third party
* add ios libuv timer test
* name changed correspondingly
* format code
* address comment
* remove libuv patch
3 years ago
Craig Tiller
dd22b85c0a
TrySeq fix ( #29112 )
3 years ago
Vignesh Babu
f86723d9db
Revert "Update the scenario results to include start and end time for a test scenario. ( #29034 )" ( #29122 )
...
This reverts commit 84edc034aa
.
3 years ago
Jan Tattermusch
bcaa3cb48e
Remove C# Legacy (a.k.a. "Classic") csproj example ( #29102 )
...
* remove C# legacy csproj example
* update BUILD-INTEGRATION.md
3 years ago
Wanlin Du
84edc034aa
Update the scenario results to include start and end time for a test scenario. ( #29034 )
...
This commit add start and end timestamp to the existing scenario results.
3 years ago
apolcyn
bd5fa8aa57
decrease verbosity of alts handshaker logs which can happen during cancellation ( #29058 )
3 years ago
Mark D. Roth
34c75a2f96
xds resolver: fix cases where we weren't returning channel args on error ( #29109 )
3 years ago
Craig Tiller
0ea1eeb4e7
Expose channel stack type to builder ( #29088 )
...
* split builder
* expose channel stack type to builder
* Automated change: Fix sanity tests
* Update channel_stack_builder_impl.h
* Update channel_init.h
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Michael Lumish
28f1453ad5
Use a non-root user in Node interop docker images ( #29062 )
...
* Use a non-root user in Node interop docker images
* Make node interop scripts without being root
* Update cwd in Node interop tests
* Update cwd in other Node interop tests
* Update cwd in Node interop tests relative to hardcoded path
* Fix updated Node interop test cwd
* Make service account file location more generic
* Use service account creds directly from mounted directory
* Fixing source path is recursive local submodule clone.
* Move creds file to /root, make /root accessible
Co-authored-by: Nicolas "Pixel" Noble <pixel@nobis-crew.org>
3 years ago
Lidi Zheng
83ce80fdd8
Remove GRPC_ENABLE_FORK_SUPPORT from setup.py ( #29103 )
3 years ago
Craig Tiller
f0283aac40
Revert "Introduce ChannelArgs C++ type ( #28860 )" ( #29106 )
...
This reverts commit f82245555e
.
3 years ago
Mark D. Roth
7147e7bf53
xds: reset xDS stream backoff even if all resources are invalid ( #29094 )
3 years ago
Craig Tiller
ff14d1d7f3
Revert "Revert "Revert "Convert max_age filter to promises ( #28904 )" ( #28957 )" ( #28958 )" ( #29105 )
...
This reverts commit d589f4e6ca
.
3 years ago
Craig Tiller
f82245555e
Introduce ChannelArgs C++ type ( #28860 )
...
* progress
* basics
* Automated change: Fix sanity tests
* fix
* fix
* backout protochange
* consistency in naming
* Make things load bearing, fix bugs
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
rburns1293
28db143b98
Update target frameworks in C# examples ( #29047 )
...
* Update target frameworks in examples.
* Update target frameworks and NuGets in examples.
* upgrade Xds example
Co-authored-by: Jan Tattermusch <jtattermusch@google.com>
3 years ago
Jan Tattermusch
8cfff25907
disable PHP valgrind memoryleak test on arm64 ( #29099 )
3 years ago
Craig Tiller
d589f4e6ca
Revert "Revert "Convert max_age filter to promises ( #28904 )" ( #28957 )" ( #28958 )
...
* Revert "Revert "Convert max_age filter to promises (#28904 )" (#28957 )"
This reverts commit f18e6ede04
.
* start watch
* fix
* Fix cancellation on async server filters
* fix
* fix
3 years ago
Mark D. Roth
0c7b37a4a3
refactor health check client to allow reuse for OOB backend metric reporting ( #29024 )
...
* refactor health check client to allow reuse for OOB backend metric reporting
* clang-format
* improve comments
3 years ago
Mark D. Roth
e8c5c39143
retry: fix bug where we incorrectly replayed a completed send_message op ( #29025 )
...
* retry: fix bug where we incorrectly replayed a completed send_message op
* fix
* third time's the charm!
* clang-format
3 years ago
Yash Tibrewal
0f58fa8d07
GracefulGoaway: Fix shutdown_finishes_tags test ( #29091 )
3 years ago
Craig Tiller
138c4667c9
Change main argument of call promise to be a struct ( #29019 )
...
* introduce call args
* bs
* x
* Automated change: Fix sanity tests
* fix
* Simplify naming
* tweak
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Esun Kim
4682e041e1
To donnadionne ( #29075 )
3 years ago
Jan Tattermusch
6d3c45ff7b
Add dockerized ARM64 tests (bazel C/C++, C#, PHP, ruby, python) ( #28966 )
...
* C# arm64 docker image
* add ruby arm64 docker image
* add bazel_arm64 docker image
* add python arm64 image
* add php arm64 docker image
* regenerate
* add support for running arm64 tests with run_tests.py
* restrict arm64 testing to python3.9
* first version of bazel arm64 C++ tests
* add arm64 job configs
* add initial checks to push_testing_images.sh
3 years ago
Jan Tattermusch
6f75e54e4f
run_tests_matrix.py: run workspace jobs with python3 ( #28125 )
3 years ago
Jan Tattermusch
a3be072605
Switch .py shebang to python3 ( #28963 )
...
* switch shebang to python3
* prepare_build_macos: install latest available patch for each python
3 years ago
Jan Tattermusch
267d0b550f
add kokoro jobs cfg for grpc_memory_diff ( #29081 )
3 years ago
Craig Tiller
c1edb080ac
Remove decompression from the minimal http stack ( #29083 )
3 years ago
Craig Tiller
5d81683faa
Add per-call memory bloat report to CI ( #29037 )
...
* Add per-call memory bloat report to CI
* fix
* test
* Automated change: Fix sanity tests
* Update grpc_bloat_diff_in_docker.sh
* Update memory_diff.py
* review feedback
* prep for new job
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
AJ Heller
4ffcef7932
Release notes generator script: add retries with exponential backoff ( #29077 )
...
* Release notes script: add retries with exponential backoff
* Automated change: Fix sanity tests
Co-authored-by: drfloob <drfloob@users.noreply.github.com>
3 years ago
Yash Tibrewal
674e938de5
More tests prep for graceful goaway ( #29076 )
...
* More tests prep for graceful goaway
* clang-tidy
3 years ago
Jan Tattermusch
24dfe21cad
activate ccache for selected win builds ( #28735 )
3 years ago
Mark D. Roth
707aad777d
resolver: refactor common code for polling-based resolvers ( #28979 )
...
* resolver: refactor common code for polling-based resolvers
* remove now-incorrect assertion
* fix cleanup bug
* add missing include guards
* portability fix
* fix some lifetime issues
* plumb tracer into PollingResolver
* fix pollset_set propagation
* increase RPC timeout in python DNSResolverTest
* add dns_resolver tracer and fix ref leak
* code review comments
* check shutdown_ in OnNextResolutionLocked()
3 years ago
Yash Tibrewal
eeb3b3e75a
ObjC: End2EndTests fix ( #29070 )
3 years ago
Yash Tibrewal
2a0d6234cb
HTTP2: No need to run cancelling logic on servers when receiving GOAWAY ( #29067 )
3 years ago
Yash Tibrewal
a1620ce2bd
HTTP2: Don't throttle pings from the server ( #29053 )
...
* HTTP2: Don't throttle pings from the server
* Reviewer comments
3 years ago
Yash Tibrewal
c9946c2183
Channelz Service Test Shutdown ( #29068 )
3 years ago
AJ Heller
99a30de9e7
Bump version to 1.46.0-dev (on master branch) ( #29064 )
...
* bump version to 1.46.0-dev
* regenerate projects
3 years ago
Yash Tibrewal
68d721058c
Prepare async_end2end_test for graceful goaway ( #29054 )
3 years ago
Ming-Chuan
b505da65e7
[BinderTransport] add authority to initial metadata if missing ( #29035 )
...
When C++ implementation acts as server and Java implementation acts as
client, authority will not be present in initial metadata. Although
authority is not used for binder transport, when it is missing, core API
layer will fail the RPC call silently.
This commit adds a fake authority to initial metadata when it is
missing to avoid the failure.
Test case is added to make sure the wire reader implementation appends
both path and authority to metadata correctly.
3 years ago
Alisha Nanda
be4e1051a9
Add resource quota for secure endpoint ( #28970 )
...
* Add resource quota for secure_endpoint
* Fix double linked list error in tests
* Experiments to prevent memory leaks
* Fix memory leaks
* Fix asan error
* Add locking to fix data races
* Automated change: Fix sanity tests
* Address review comments
Co-authored-by: ananda1066 <ananda1066@users.noreply.github.com>
3 years ago
Ming-Chuan
82ae3c7043
Fix grpc_binder_transport::registered_stream data race ( #28962 )
...
The member variable should only be accessed in combiner to avoid
data race.
3 years ago
Yash Tibrewal
bd357f9a37
Remove shutdown_cq from grpc_end2end_test_fixture ( #29049 )
...
* Remove some shutdown_cq instances
* Remove shutdown_cq from grpc_end2end_test_fixture
3 years ago
kacper-ka
6ba998854f
Fix fetching CXX variable in setup.py ( #28873 )
...
* Fix fetching CXX variable in setup.py
* Preserve all elements of CXX variable in setup.py
3 years ago
Jan Tattermusch
d15711d2bb
Docker image cleanup (prepare for ARM64 tests) ( #29051 )
...
* remove gcc-multilib from base image
* remove useless "apt-get --allow-releaseinfo-change update" from docker images
* get rid of no-longer-useful python_debian11_base.include
* regenerate dockerfiles
3 years ago
Esun Kim
2a699b9a09
Removed jessie-based distribtest ( #29029 )
...
* Removed jessie-based distribtest
* Update by review
3 years ago