Mohan Li
155aa95f82
Fix memory stomp error in the fallback test client ( #28380 )
...
* Fix memory stomp error in the fallback test client
* Fix memory stomp error in the fallback test client
3 years ago
Esun Kim
801de0ab23
To Donna ( #28353 )
3 years ago
Jan Tattermusch
769369ad3f
fix invocation of respawn scripts on windows ( #28366 )
3 years ago
Jan Tattermusch
8afb68238b
Fix windows RBE results uploading to bigquery ( #28365 )
3 years ago
Esun Kim
c6f96d687f
Re-enabling RBE ubsan ( #27861 )
...
* Cherry-pick #27439
* Fix StatusGetTime misalignment
* Fix memcpy with nullptr
* Fix boringssl ubsan issue
* Fix slice ubsan issue
* Ignore msan errors for ubsan
* Add upb UBSAN exception
* Add local ubsan run comment
* Revert "Fix StatusGetTime misalignment"
This reverts commit a1d0c34e8ea6933d09386867e8d4836d9e1b4e1c.
* Fix status_helper
* Added alignas
* Fix fuzzer_corpus_test
* Removed binder_transport_test from ubsan
3 years ago
Craig Tiller
7d6000082a
Double added reclaimers need not be called ( #28378 )
3 years ago
apolcyn
f109a4bce4
Fix ruby macos artifact build ( #28362 )
...
* don't install bundler 1.17.3 in macos setup scripts
3 years ago
Jan Tattermusch
1c19a4379f
run objc cfstream clients against 127.0.0.1 ( #28372 )
3 years ago
Jan Tattermusch
3df2a4ecea
Revert "Promise pipe redux ( #28319 )" ( #28364 )
...
This reverts commit b9ea84ac9d
.
3 years ago
Jan Tattermusch
56f85ba308
silence C4503 warning on MSVC ( #28375 )
3 years ago
Yash Tibrewal
de5f1ae681
Let encoders decide whether to encode HttpMethodMetadata or not, instead of removing it. ( #28369 )
3 years ago
Craig Tiller
264c321d83
Move compression related metadata to the new system ( #28223 )
...
* Eliminate most of grpc_message metadata handling
* Eliminate most of host metadata handling
* Remove more callouts without fixing code
* fiiixes
* typo
* Automated change: Fix sanity tests
* try-shrink
* Automated change: Fix sanity tests
* size tweaks
* less tricks
* deunique
* commonize
* commonize
* Automated change: Fix sanity tests
* size tuning, fixes
* Automated change: Fix sanity tests
* fix
* size tuning, fixes
* remove constexpr
* fix
* reuse code
* fix
* tweak code
* more tweaks
* tell no lies
* fixes
* fixes
* Automated change: Fix sanity tests
* fix
* fix
* fix
* fix
* fix?
* fix binder
* fix
* fix
* fixes
* Automated change: Fix sanity tests
* fix
* initial refactoring
* optimize status encoding
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* content-type
* Automated change: Fix sanity tests
* clang-format
* fix
* Move colon prefixed metadata
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* try to fix windows failure
* try and scale sizes better
* ambiguity fix?
* wip metadatavalueasslice
* Fix status code for resource exhaustion
* Revert "Revert "Move a bunch of slice typed metadata to new system (#28107 )" (#28208 )"
This reverts commit 7717587063
.
* fix test
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* slice helper
* x
* noinline
* try and scale sizes better
* Automated change: Fix sanity tests
* fixes
* fix
* fix
* fixes
* fix build
* fix overflow
* progress
* Automated change: Fix sanity tests
* fix
* initial work
* progress
* fix
* fix
* Automated change: Fix sanity tests
* progress
* fix
* fix
* fix
* Automated change: Fix sanity tests
* fix
* compressor for path/authority
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* legalize
* legalize
* status-enc
* fmt
* fix
* fix
* fix
* fix
* fix/opt
* fix
* fix
* fix
* fix
* Automated change: Fix sanity tests
* fix
* comment
* fmt
* remove arg
* Automated change: Fix sanity tests
* remove name
* Automated change: Fix sanity tests
* add specialized encoders for compression metadata
* review feedback
* fix
* missoing files
* Small improvement in memory usage and performance
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* Fix caching
* Automated change: Fix sanity tests
* fix crash in alts
* default everything
* Automated change: Fix sanity tests
* review feedback
* fixes
* fixes
* fixes
* Automated change: Fix sanity tests
* speedup
* fix
* fix
* fixes
* fixes
* fixes
* Automated change: Fix sanity tests
* fix
* remove debug code
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Denny C. Dai
c485b94ed7
Remove extern c wrapping for openssl headers ( #28360 )
3 years ago
Craig Tiller
46b1e755d2
Unknown channels must report unknown ( #28367 )
3 years ago
Alberto Pedron
c1fe2bc130
Fix libatomic linking on Rasperry Pi OS Bullseye ( #28041 )
3 years ago
Craig Tiller
ecf946e3a4
Fix unreachable code warning ( #28361 )
3 years ago
Craig Tiller
160eb7eca0
Fix server auth metadata generation ( #28356 )
3 years ago
Thomas Köppe
324ea5a9c1
[bazel] Fix import path for virtual packages ( #28103 )
...
This change moves the logic for computing the package name part of an
import directory from python_rules.bzl to protobuf.bzl, and reinstates
the workspace root part of the directory. The effect is that it is now
possible for a py_library_rule to depend on a proto_library in a
different repository whose source files are generated.
3 years ago
Ming-Chuan
835afc0fcf
[BinderTransport] Add missing ChannelArgsPreconditioning ( #28347 )
...
This fixes crash in example app
3 years ago
Denny C. Dai
0087990e07
iOS ThirdPartyTest suite for libuv dns test ( #28304 )
3 years ago
Eric Anderson
44014f7000
grpc_xds_features.md: Add RBAC ( #28352 )
3 years ago
Yash Tibrewal
253f351460
Repo Manager Esun ( #28351 )
3 years ago
Craig Tiller
1a2b459daa
Update timeout encoding algorithm ( #28346 )
...
* update timeout encoding algorithm
* Automated change: Fix sanity tests
* fix
* review feedback
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
apolcyn
2a4b7f25e6
testing: add a fake TCP and UDP server to test/core/util (extracted from #27883 ) ( #28332 )
...
* add a fake TCP and UDP server to test/core/util
3 years ago
Jan Tattermusch
32770542b2
Cleanup of ObjC test scripts ( #28333 )
...
* cleanup cfstream tests scripts
* add xcodebuild_filter_output script
* cleanup scripts for ObjC CoreTests
* clean one more build_tests.sh file
* cleanup more scripts
* cleanup ios cpp scripts
* remove last copy of verbose_time
* revert readlink change
3 years ago
Ashitha Santhosh
4fd524cd17
Fix presence match in authorization. ( #28269 )
...
* Fix presence match in authorization.
* Remove header
* Add test
* fix regex to include whitespace characters
3 years ago
Craig Tiller
0deb64d1f6
Move content-type, colon prefixed metadata to new system ( #28204 )
...
* Eliminate most of grpc_message metadata handling
* Eliminate most of host metadata handling
* Remove more callouts without fixing code
* fiiixes
* typo
* Automated change: Fix sanity tests
* try-shrink
* Automated change: Fix sanity tests
* size tweaks
* less tricks
* deunique
* commonize
* commonize
* Automated change: Fix sanity tests
* size tuning, fixes
* Automated change: Fix sanity tests
* fix
* size tuning, fixes
* remove constexpr
* fix
* reuse code
* fix
* tweak code
* more tweaks
* tell no lies
* fixes
* fixes
* Automated change: Fix sanity tests
* fix
* fix
* fix
* fix
* fix?
* fix binder
* fix
* fix
* fixes
* Automated change: Fix sanity tests
* fix
* initial refactoring
* optimize status encoding
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* content-type
* Automated change: Fix sanity tests
* clang-format
* fix
* Move colon prefixed metadata
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* try to fix windows failure
* try and scale sizes better
* ambiguity fix?
* wip metadatavalueasslice
* Fix status code for resource exhaustion
* Revert "Revert "Move a bunch of slice typed metadata to new system (#28107 )" (#28208 )"
This reverts commit 7717587063
.
* fix test
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* slice helper
* x
* noinline
* try and scale sizes better
* Automated change: Fix sanity tests
* fixes
* fix
* fix
* fixes
* fix build
* fix overflow
* progress
* Automated change: Fix sanity tests
* fix
* fix
* fix
* Automated change: Fix sanity tests
* fix
* fix
* fix
* compressor for path/authority
* Automated change: Fix sanity tests
* legalize
* status-enc
* fmt
* fix
* fix
* fix
* fix
* fix/opt
* fix
* fix
* fix
* fix
* Automated change: Fix sanity tests
* remove arg
* review feedback
* fix
* Small improvement in memory usage and performance
* Automated change: Fix sanity tests
* fix crash in alts
* review feedback
* fixes
* fixes
* fixes
* Automated change: Fix sanity tests
* speedup
* fix
* fix
* add comment
* add comment
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Mark D. Roth
a9a14a461b
ring_hash: don't recreate ring when individual subchannel states change ( #28338 )
3 years ago
Thomas Köppe
90a56a3d15
[bazel/protobuf.bzl] Improve py_proto_library path handling ( #28040 )
...
This change replaces the simple `basename` logic with a more general
"remove prefix" logic. This allows py_proto_library to work even when
the input proto_library's sources are contained in strict
subdirectories of their package. (This situation is not uncommon when
using remote, non-Bazel repositories that only get a single BUILD file.)
3 years ago
Jan Tattermusch
5466a0bc43
skip unittest.grpc.io dualstack socket test if DNS64 is used ( #28343 )
3 years ago
Jan Tattermusch
09e5ca15c5
fix python dns resolver tests on kokoro MacService ( #28344 )
3 years ago
Lidi Zheng
f8a5022a26
Add the daily xDS interop GCP resource cleanup script ( #28315 )
...
* Add the daily xDS interop GCP resource cleanup script
* Add keep config feature && speed-up checking phase
* DO-NOT-SUBMIT: borrow Python test to ad-hoc run the new kokoro job
* Pin Python 3.6
* Kokoro is using pyenv to manage Python versions
* Install "dataclassses" package for 3.6.1
* Remove the latest 'test=' subprocess argument
* Revert "DO-NOT-SUBMIT: borrow Python test to ad-hoc run the new kokoro job"
This reverts commit 86d69dcb92
.
* Clean the keep config
3 years ago
Jan Tattermusch
240557a55c
run_tests family scripts: autodetect TTY when running docker ( #28124 )
...
* autodetect terminal when running docker, add helptext for --travis run_tests arg
* address a TODO
* remove --travis from task_runner.py
3 years ago
Craig Tiller
b9ea84ac9d
Promise pipe redux ( #28319 )
...
The original pipe implementation made a few assumptions:
* it should be used outside of arenas, implying allocation was expensive
* pipes would be fairly deep
With our expected implementation of the filter stack, pipes will max out at one to three stages, and so optimizations enabled by Filter seem to be actual pessimizations for our usual case.
Additionally we'll be operating inside of arenas and consequently memory allocation can be trivially cheap - and in doing so we can enable a far simpler implementation.
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Mark D. Roth
790365f261
xds: fix memory leak ( #28327 )
3 years ago
apolcyn
0fa0e5f300
Revert "Revert "Replace work serializer with a mutex in c-ares resolver" #28324" ( #28325 )
...
* Revert "Revert "Replace work serializer with a mutex in c-ares resolver (#27858 )" (#28324 )"
This reverts commit b972b76816
.
* Fix synchronization of grpc_ares_resolver_address
3 years ago
apolcyn
e0c2bb063f
pin rake compiler to 1.1.1 ( #28328 )
3 years ago
Craig Tiller
dc6060fbfd
Make promise arena part of the context ( #28313 )
...
* Make promise arena part of the context
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Mark D. Roth
27cfacdfc8
resolvers: fix resolvers to return channel args even when reporting an error ( #28326 )
3 years ago
Mark D. Roth
9965ece70a
XdsClient: use a templated base class for XdsResourceType implementations ( #28279 )
...
* WIP
* introduce XdsResourceType API and change Listener parsing to use it
* converted RouteConfig parsing
* convert cluster and endpoint parsing
* cleanup
* clang-format
* attempt to work around compiler problems
* move XdsResourceType to its own file, and move endpoint code out of XdsApi
* move cluster parsing to its own file
* move route config parsing to its own file
* move listener parsing to its own file
* clang-format
* minor cleanup
* plumbed XdsResourceType throughout XdsClient
* a bit of cleanup
* more cleanup
* construct full resource names before calling XdsApi::CreateAdsRequest()
* remove some unneeded code
* clean up includes and have XdsResourceType initialize the upb symtab
* more cleanup of unnecessary code
* more cleanup
* update comment
* clang-format
* add missing virtual dtor
* fix build
* remove resource-type-specific methods from XdsClient API
* have each resource type register itself upon instantiation
* remove comment
* add missing virtual dtor
* clang-format
* use a templated base class for XdsResourceType implementations
* clang-format
3 years ago
Craig Tiller
b75dc22d7f
Fix resource quota not getting passed through ( #28318 )
3 years ago
Craig Tiller
b972b76816
Revert "Replace work serializer with a mutex in c-ares resolver ( #27858 )" ( #28324 )
...
This reverts commit ec600f3973
.
3 years ago
Ming-Chuan
47f58f5b8d
[BinderTransport] Remove duplicate header ( #28297 )
...
The class declaration has already been moved to
include/grpcpp/security/binder_security_policy.h . We forgot to remove
the original header file.
3 years ago
Ming-Chuan
6c16b24cfa
Reland binder transport fuzzers ( #28258 )
...
* Revert "Temporarily remove binder fuzzers it fails to build with old llvm (#27599 )"
This reverts commit 6b922f871f
.
* Migrate to protobuf based structured fuzzing
* Fix crash happening due to recent change
3 years ago
Jan Tattermusch
82abb46ed3
improve tty output of run_tests.py and other scripts ( #28308 )
3 years ago
Craig Tiller
4283b7d644
Remove competetion benchmark ( #28316 )
3 years ago
Hannah Shi
88a2e16586
update third_party/xxhash ( #28236 )
3 years ago
Mark D. Roth
19d653d4ff
TSI: free the fixture in destruct() instead of in tsi_test_fixture_destroy() ( #28312 )
3 years ago
Craig Tiller
8d0fb815a1
Remove dead code ( #28314 )
3 years ago
apolcyn
ec600f3973
Replace work serializer with a mutex in c-ares resolver ( #27858 )
...
* Replace work serializer with a mutex in c-ares resolver
3 years ago