Craig Tiller
e977ef0351
Fixup layering ( #27482 )
...
* fixup layering
* Automated change: Fix sanity tests
* fix test
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Mark D. Roth
57982f0ec6
pass subchannel address separately instead of as a channel arg ( #27443 )
...
* pass subchannel address separately instead of as a channel arg
* fix bug
* fix passing address to connector
* clang-format
* fix build of bm_call_create
* revert to C-style semantics for grpc_resolved_address
* fix msan bugs
3 years ago
Ashitha Santhosh
835eacc32d
Check for mtls authenticated ( #27360 )
...
* Check for mtls authenticated.
3 years ago
Craig Tiller
65644a7bb6
Make a suite of wakeup schedulers for tests ( #27459 )
...
* Make a suite of wakeup schedulers for tests
* add missing file
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
d1cecad651
ExecCtx based Activity wakeup mechanism ( #27454 )
...
* wakeup scheduler
* wakeup scheduler
* Automated change: Fix sanity tests
* Update exec_ctx_wakeup_scheduler_test.cc
* Remove unused name
* fix_build
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
b7fc3cf465
Delete line count tooling ( #27448 )
...
* This tool is far from being relevent
* more deletes
3 years ago
Craig Tiller
8a359d637c
Revert "[objc] Switch to forward declare proto & clean up ( #27444 )" ( #27473 )
...
This reverts commit 4ad495420f
.
3 years ago
Sergii Tkachenko
60ef4bb504
xds-k8s: fix minor typo in README ( #27472 )
3 years ago
Lidi Zheng
9cd68439a2
Change the time-getting logic in xds test to what ExecCtx does ( #27467 )
3 years ago
Richard Belleville
54d4e8f68b
Enable Alpine portability test to run under Python 3. ( #27464 )
...
* Enable Alpine portability test to run under Python 3.
* Fix other scripts
3 years ago
Jan Tattermusch
1ae5d34fa7
Stop polluting macos logs by ruby's rvm ( #27456 )
...
* stop polluting macos logs by rvm
* silence more rvm output
3 years ago
Denny C. Dai
4ad495420f
[objc] Switch to forward declare proto & clean up ( #27444 )
3 years ago
Craig Tiller
c5172a134e
Fix build splitup for slices. ( #27452 )
...
* slice fix
* fix properlike
* Automated change: Fix sanity tests
* actually delete the code that should have been
* fixes
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
d4407b7e59
Revert "Remove dead code ( #27445 )" ( #27461 )
...
This reverts commit 693f36f91c
.
3 years ago
Craig Tiller
a419687f1b
Activities wakeup logic tweak ( #27453 )
...
* wakeup tweak
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
c5bed3f365
Make MetadataMap a template ( #27417 )
...
* Make MetadataMap a template
Ultimately we'll use MetadataMap template args to specify traits for the
builtin headers they support, but initially we're just gonna ignore
them to get the syntax in place.
Necessitates moving a bunch of logic from the .cc to the .h. I tried to
do so with the minimum number of code movements... ultimately most of
this will go.
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Jan Tattermusch
0042c2b86f
Upgrade bazel to 4.2.1 (LTS), upgrade bazel toolchain to 4.1.0 ( #27410 )
...
* update bazel to 4.2.1
* add bazel 4.2.1 to update_mirror.sh
* regenerate dockerfiles
* upgrade bazel toolchains to 4.1.0
* use create_rbe_exec_properties_dict instead of the deprecated create_exec_properties_dict
* RBE ubsan doesnt require the crosstool_top hack anymore
* update rules_apple and build_bazel_apple_support
3 years ago
Craig Tiller
a51be7c190
Remove broken tool ( #27449 )
3 years ago
Yash Tibrewal
8e4c14fbed
Repo Manager Esun ( #27450 )
3 years ago
Craig Tiller
7ecd9d6b40
Split ExecCtx into its own target ( #27446 )
...
* make error independent
* Separate grpc_error into its own library
This is forward work to move Closure, ExecCtx into their own libraries
in order to make use of them in the activity code for resource quota
wakeups.
* Automated change: Fix sanity tests
* fixes
* split out closure lib
* exec_ctx
* Make things compile
* Automated change: Fix sanity tests
* fix merge
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
693f36f91c
Remove dead code ( #27445 )
...
* Remove dead code
* Automated change: Fix sanity tests
* build
* remove benchmark
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
ffa4365031
Separate common slice utilities, grpc_error into their own libraries ( #27441 )
...
* make error independent
* Separate grpc_error into its own library
This is forward work to move Closure, ExecCtx into their own libraries
in order to make use of them in the activity code for resource quota
wakeups.
* Automated change: Fix sanity tests
* fixes
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Esun Kim
c89d05559b
absl::Status support to service_config_test ( #27433 )
...
* absl::Status support to service_config_test
* Fix for MSVC
3 years ago
Craig Tiller
87a973f01d
Add structurally aware fuzzing support ( #27405 )
...
* Add a dependency on libprotobuf-mutator
* Changes for structured fuzzing
* fuzznificent
* add a config that will build fuzzers
* bazel run --config=fuzzer_asan //path/to:fuzzer fuzzes!
* fixes
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* fixes
* fix
* sanitizer fix
* fix directory
* regen stuff
* compile error
* remove fuzzers from cmake build
* Automated change: Fix sanity tests
* review feedback
* remove unnecessary load
* review feedback
* review feedback
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
e30419fcac
Metadata: replace usage of grpc_metadata_batch_is_empty with Empty function ( #27422 )
3 years ago
Ta-Wei Tu
b7f27209cf
Server fuzzer for binder transport ( #27122 )
...
* [binder] Add server fuzzer
* Add a crash reproducer related to #27321
* Address coments & fix bugs
* Rebase & Deal with merge conflicts
3 years ago
Craig Tiller
a8592b0a84
Compile fix for Fuchsia ( #27432 )
3 years ago
Craig Tiller
66ae0d5c08
Separate slices from mdelems for static data ( #27372 )
...
* separate slice into internal and refcount, with refcount being the minimal base
* python3-ize
* Separate slices from mdelems for static data
Allows us to separate a small build target with just some slice basics
from the rest, which will help simplify the build system longer term.
Additionally exposed an opportunity to eliminate an init function.
Should also help in a month or so when it's time to jettison interned
metadata and slices entirely.
* fix compilation
* Automated change: Fix sanity tests
* fixes
* fixfixfix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Lidi Zheng
f79189359b
Enable Python xDS retry tests ( #27431 )
...
* Enable affinity and retry tests for Python
* Make the test compatible to Python client
* Revert Python enabling in affinity tests
3 years ago
小么小儿郎EL
435d5207ab
fix: use == instead of is when comparing with a certain types of literals ( #26519 )
3 years ago
Craig Tiller
c21ca4dd30
Metadata: replace usage of grpc_metadata_batch_clear with Clear function ( #27423 )
3 years ago
Craig Tiller
fe9ad53c66
Metadata: replace usage of grpc_metadata_batch_size with TransportSize method ( #27421 )
3 years ago
Craig Tiller
06ef5893f8
Metadata: replace usage of grpc_metadata_batch_remove with Remove method ( #27420 )
3 years ago
Craig Tiller
ffb2c5e599
Metadata: replace usage of grpc_metadata_batch_link_{head,tail} with Link{Head,Tail} method ( #27419 )
...
* Metadata: replace usage of grpc_metadata_batch_link_{head,tail} with Link{Head,Tail} method
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Esun Kim
47586fb36e
Revert "Revert "Added absl::Status support to error_utils ( #27358 )" ( #27418 )" ( #27429 )
...
This reverts commit 933676c56c
.
3 years ago
Craig Tiller
933676c56c
Revert "Added absl::Status support to error_utils ( #27358 )" ( #27418 )
...
This reverts commit 9b3f75d322
.
3 years ago
AJ Heller
97631cf34c
EventEngine::Closure ( #27395 )
...
This introduces the new `Closure` type, and new cancellation semantics.
I've also fixed a few bugs in the EventEngine iomgr implementation that
had gone unnoticed.
3 years ago
Craig Tiller
b669a3c521
Revert "Revert "a useful change ( #27381 )" ( #27411 )" ( #27412 )
...
This reverts commit 5db17f7350
.
3 years ago
Richard Belleville
eada6c6e56
Update Alpine Test Image to Use Python 3.8 ( #27415 )
...
* Upgrade Alpine to Python 3.8
* Upgrade docker image to use 3.8
3 years ago
Esun Kim
47ca8c1209
Replace atm with AtomicError in call ( #27314 )
3 years ago
Esun Kim
9b3f75d322
Added absl::Status support to error_utils ( #27358 )
3 years ago
Craig Tiller
9872da79a1
Eliminate grpc_metadata_batch_{init,destroy,move} ( #27349 )
...
* Eliminate grpc_metadata_batch_{init,destroy,move}
* fixes
* fixes
* fixes
* fixes
* portability fixes
* fixes
* fix
* fix
* fix
* be explicit about being explicit
3 years ago
Esun Kim
3ba0bddbbc
Add add_error for Substitute ( #27414 )
3 years ago
Esun Kim
c80233a4ba
Fix bugs in error ( #27377 )
3 years ago
donnadionne
1caff522e4
Adding a log to make logging in WaitForAllBackends and WaitForBackend ( #27365 )
...
consistent.
This helps to uncover a case where the first test in the shard seems to
encounter longer delays than the rest of the tests.
3 years ago
Craig Tiller
5db17f7350
Revert "a useful change ( #27381 )" ( #27411 )
...
This reverts commit 11eb70bbed
.
3 years ago
Craig Tiller
11eb70bbed
a useful change ( #27381 )
...
* a useful change
* Automated change: Fix sanity tests
* fix
* fix
* QsortCompare it is!
* Automated change: Fix sanity tests
* add missing header
* clang-tidy fixes, tweak clamp to only use <
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
179cdfcadb
Update fuzzer infrastructure for developers a little ( #27403 )
...
* add a config that will build fuzzers
* bazel run --config=fuzzer_asan //path/to:fuzzer fuzzes!
3 years ago
Craig Tiller
bbf41f2980
Remove seemingly dead code ( #27404 )
...
* Remove seemingly dead code
* more cleanup
3 years ago
Jan Tattermusch
d64f75d029
C#: metadata.Get and GetAll should accept uppercase keys ( #27383 )
3 years ago