Mark D. Roth
ba5e477446
xds_end2end_test: fix test flake ( #31468 )
2 years ago
Richard Belleville
ee8fc55ae3
Add Xuan to Python triage ( #31467 )
2 years ago
Mark D. Roth
26f74399b0
xDS: change remaining registries to be non-global ( #31293 )
...
* json_object_loader: refactor ErrorList into its own library
* fix observability_config_test
* generate_projects
* iwyu
* WIP
* xDS: make HTTP filter registry non-global
* make cluster specifier plugin registry non-global
* fix test
* clang-format
* general-purpose utility for validation xDS extensions
* plumb XdsExtension into HTTP filters and ClusterSpecifiers
* clang-format
* fix tests
* iwyu
* fix build with old compilers
* finish plumbing ValidationErrors into Listener, including HTTP filters
* fix tests
* WIP
* use absl::variant for listener type
* use absl::variant for RDS name vs. inline RouteConfig
* first passing test
* adding more tests
* xDS RBAC: remove env var protection
* fix federation server test
* add another test
* fix sanity
* first pass of client-side validation, except for HTTP filter configs
* minor cleanup and TODO
* clean up HTTP filter registration
* fix unused param
* fix tests
* WIP on xds_http_filters_test
* clang-format
* add tests for fault injection filter
* RBAC filter tests
* Automated change: Fix sanity tests
* fix sanity
* iwyu
* fix asan problem
* started adding server-side listener tests
* DownstreamTlsContext tests
* update filter chain duplicate detection code
* clang-format
* migrate remaining tests from e2e tests and remove duplicates
* parameterized HCM tests
* clang-format
* generate_projects
* iwyu
* remove unnecessary dependency
* remove another unnecessary dep
* remove more unneeded deps
* remove no_op_http_filter
* add death test for duplicate HTTP filter registration
* clang-format
* remove unnecessary StaticConfigName() method from Router filter
* clang-format
* iwyu
Co-authored-by: markdroth <markdroth@users.noreply.github.com>
2 years ago
Cheng-Yu Chung
9143627664
Remove `include/grpcpp/impl/codegen/security/auth_context.h` ( #31292 )
2 years ago
AJ Heller
a63c81135c
Revert "Precondition ChannelArgs with EventEngines ( #31166 )" ( #31462 )
...
This reverts commit 23c7e48779
.
2 years ago
Mark D. Roth
b9aca8db8a
Second attempt: xDS Listener: use ValidationErrors and add unit test ( #31457 )
...
* Revert "Revert "xDS Listener: use ValidationErrors and add unit test (#31351 )" (#31456 )"
This reverts commit ab3d62ae8f
.
* Revert "Revert "xds_http_filters_test: fix includes for import (#31454 )" (#31455 )"
This reverts commit 32590d110a
.
* fix import
* work around internal differences in Any API (string vs. cord)
* iwyu
2 years ago
AJ Heller
23c7e48779
Precondition ChannelArgs with EventEngines ( #31166 )
...
* Precondition ChannelArgs with EventEngines
If an EventEngine is not explicitly provided to ChannelArgs, the default
EventEngine will be set when ChannelArgs are preconditioned.
* channel_idle_filter: EE from channel_args
* grpclb: EE from channel_args
* weighted_target: ee from channel_args
* sanitize
* xds cluster manager
* posix native resolver: own an EE ref from iomgr initialization
* reviewer feedback
* reviewer feedback
* iwyu
* iwyu
* change ownership and remove unneeded methods
* clang_format and use consistent engine naming
* store EE ref in channel_stack and use it in channel idle filter
* don't store a separate shared_ptr in NativeDNSResolver
* add GetEventEngine() method to LB policy helper interface
* stop holding refs to the EE instance in LB policies
* clang-format
* change channel stack to get EE instance from channel args
* update XdsWrrLocalityLb
* fix lb_policy_test
* precondition channel_args in ServerBuilder and microbenchmark fixtures
* add required engine to channel_stack test
* sanitize
* dep fix
* add EE to filter fuzzer
* precondition BM_IsolatedFilter channelargs
* fix
* remove unused using statement
* iwyu again??
* remove preconditioning from C++ surface API
* fix bm_call_create
* Automated change: Fix sanity tests
* iwyu
* rm this->
* rm unused deps
* add internal EE arg macro
* precondition filter_fuzzer
* Automated change: Fix sanity tests
* iwyu
* ChannelStackBuilder requires preconditioned ChannelArgs
* iwyu
* iwyu again?
* rm build.SetChannelArgs; rm unused declaration
* fix nullptr string creation
Co-authored-by: Mark D. Roth <roth@google.com>
Co-authored-by: drfloob <drfloob@users.noreply.github.com>
2 years ago
Cheng-Yu Chung
c65348879a
Remove `include/grpcpp/impl/codegen/time.h` ( #31290 )
2 years ago
Craig Tiller
58c628a7ad
[promise] Introduce map_pipe, cleanup factories ( #31430 )
...
* [promise] Introduce map_pipe, cleanup factories
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Craig Tiller
ab3d62ae8f
Revert "xDS Listener: use ValidationErrors and add unit test ( #31351 )" ( #31456 )
...
This reverts commit 7229bea2fd
.
2 years ago
Craig Tiller
32590d110a
Revert "xds_http_filters_test: fix includes for import ( #31454 )" ( #31455 )
...
This reverts commit dec59e1147
.
2 years ago
Mark D. Roth
dec59e1147
xds_http_filters_test: fix includes for import ( #31454 )
2 years ago
Vignesh Babu
d760c1fef7
Revert "Posix event engine tcp client ( #31074 )" ( #31452 )
...
This reverts commit 390ae5d412
.
2 years ago
Mark D. Roth
7229bea2fd
xDS Listener: use ValidationErrors and add unit test ( #31351 )
...
Additional changes:
- Use absl::variant<> to differentiate between API listeners and TCP listeners.
- Use absl::variant<> to differentiate between an RDS reference and an inline RouteConfig.
- Use common xDS extension code for transport socket extensions in both Listener and Cluster resources.
- Improve xDS HTTP filter registration mechanism.
- Use ValidationErrors for HTTP filter config validation.
2 years ago
Hannah Shi
c7a2fc8e75
[ObjC] Run ios perf test from bazel ( #31019 )
...
* run ios CronetTest from bazel
* run ios perf test from bazel
* ci fix
Co-authored-by: Denny C. Dai <dennycd@me.com>
2 years ago
apolcyn
16b8386467
Remove unnecessary call from c-ares resolver SRV handler ( #31426 )
2 years ago
Cheng-Yu Chung
493b961dfb
Remove `include/grpcpp/impl/codegen/sync_stream.h` ( #31289 )
2 years ago
Mark D. Roth
8dfd31c1e7
XdsClient: add test for fix in #29604 ( #31439 )
2 years ago
Vignesh Babu
390ae5d412
Posix event engine tcp client ( #31074 )
...
* removing EndpointConfig::Get method
* Automated change: Fix sanity tests
* cleanup
* fix
* fix review comments
* review comments
* cleanup
* update comments
* fix
* cleanup
* update comments
* Automated change: Fix sanity tests
* fix misleading comments
* bug fixes
* fix
* fix
* start
* revert some changes for bug fixes and allow spurious wakeups for poll based poller
* sanity
* fix
* minor fix
* review comments
* fix
* comment
* remove re-defined function
* fix review comments
* fix windows iocp build issue due to removed function
* change Milliseconds return type
* fix
* remove header
* regenerate projects
* fix sanity
* code
* fix sanity
* Automated change: Fix sanity tests
* Forking iomgr internal_errqueue defines for posix event engine
* fix BUILD file
* start
* update
* sanity
* regenerate_projects
* Automated change: Fix sanity tests
* rename
* review comments
* update
* review comments
* Automated change: Fix sanity tests
* fix BUILD
* add no_windows tag
* update
* update
* remove debug statements
* delete unused file
* update
* fix BUILD
* regenerate projects
* update
* fix BUILD
* update
* fix sanity
* minor additions to configure global tcp user timeout values
* cleanup
* fix build syntax
* start
* update
* fix
* change poller interface for posix event engine
* update event_poller_posix_test
* fix build error
* Add more unit tests
* windows ee changes
* update comment
* remove unused deps
* fix msan issue
* add comment
* adding rcv lowat helper to socket wrapper
* fix sanity
* review comments
* fix build issue
* fix sanity
* sanity
* iwyu sanity
* fix build
* merge conflict
* Automated change: Fix sanity tests
* update
* update
* fix macos issue
* fix msan and ubsan issues
* fix macos build issue
* comment
* review comments
* remove unused dep
* sanity
* merge conflict
* mac build issue
* regenerate projects
* build issue
* fix test issues
* add test
* fix typo and address review comments
* review comments
* Automated change: Fix sanity tests
* update
* merge issue
* add a test to check connect timeouts and cancellation
* regenerate projects
* sanity
* remove unnecessary code
* Add utils to create and prepare socket for tcp client
* some fixes
* fixes
* review comments
* sanity
* fix build issue
* review comments
* add thread annotations
* MacOS fix unused variable
* add some more #endif comments
* fixes
* update
* more fixes
* regenerate projects
* sanity
* some fixes
* more fixes
* rm hdr file
* macos fixes
* typo
* more build issues
* macos crashes
* windows build
* adding Poller::Work to event engine constructor
* update client_test
* iwyu
* iwyu
* regenerate projects
* cleanup
* cleanup
* regenerate projects
* regenerate projects
* fix
* fix
* merge conflict
* comments
* add experiments flag
* fix
* newline
* newline
* iwyu
* fix
* fix
* remove some ifdefs
* fix tsan issue in bm_event_engine_run
* sanity
* sanity
* Add a quiesce to threadpool
* fix
* Automated change: Fix sanity tests
* fixes
* typo
* comments
* fix build
* fixes
* macos fixes
* more macos fixes
* handle shutdown better
* updated poller kicked api contract and fix bug
* iwyu
* fix sanity
Co-authored-by: Vignesh2208 <Vignesh2208@users.noreply.github.com>
Co-authored-by: Craig Tiller <ctiller@google.com>
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Craig Tiller
74ca6fe586
[test] Add some debugability affordances to async_end2end_test ( #31433 )
2 years ago
AJ Heller
99aa924a5c
Use minimal benchmark time for bm_event_engine_run in CI ( #31440 )
2 years ago
tony
1a5ad72063
Fix msbuild failing when '@' is present in path ( #31133 )
...
There was ambiguity in references to Source metadata on some Items. These
are now qualified to remove the ambiguity.
2 years ago
Cheng-Yu Chung
f4b25ab837
Remove `include/grpcpp/impl/codegen/stub_options.h` ( #31287 )
2 years ago
Mikhail Lappo
5ec616e6a8
Update zlib ( #31356 ) ( #31357 )
...
To mitigate CVE-2022-37434
2 years ago
AJ Heller
1cbf6d64ae
Revert "[EventEngine] Refactor ThreadManager to leverage a shared ThreadPool ( #31392 )" ( #31425 )
...
* Revert "[EventEngine] Refactor ThreadManager to leverage a shared ThreadPool (#31392 )"
This reverts commit 66df2c646a
.
* sanitize
2 years ago
Micah Paul Ramos
1f0c6a6748
fix gprc_cli segfault when using binary in and out ( #31411 )
2 years ago
Craig Tiller
29175b97ee
[tests] Remove interop tests from PR flows ( #31423 )
2 years ago
Craig Tiller
a4a4e54bb1
[notification] sloppier tests ( #31422 )
2 years ago
Craig Tiller
2158ce7523
[cleanup] Remove unused end2end feature flags ( #31370 )
2 years ago
AJ Heller
8b4c4fc47d
ThreadPool benchmarks ( #31419 )
...
* ThreadPool benchmarks
These are nearly identical to the EventEngine benchmarks at the moment. We can consider removing the redundant tests from the EventEngine code and focusing on EventEngine-specific things (e.g., timer cancellation)
* rm unused header
* rm leak
* fix: moved dependencies
2 years ago
Craig Tiller
141bc3b634
[experiments] Reland enabling tcp_read_chunks for debug builds ( #31420 )
...
* Revert "Revert "[experiments] Enable tcp_read_chunks for debug builds (#31374 )" (#31417 )"
This reverts commit 987b50a258
.
* Fix read failure
* fixes
2 years ago
Yash Tibrewal
5f6c357e74
Move some targets from //: to //src/core: ( #31402 )
...
* temp
* temp
* temp
* top BUILD builds
* everything builds
* buildify
* temp fix_build_deps change
* fix gpr_atm
* additional changes
* fix build files
* nofixdeps
* Generate projects
* json_args
* fix context
* Generate projects
* Sprinkle some avoid_dep tags
* Run fix_build_deps
* Remove additional avoid_dep
* Revert some targets
* grpc_mock_cel
2 years ago
Craig Tiller
0724a90fd8
Revert "Revert "[arena] pool allocator ( #31298 )" ( #31414 )" ( #31415 )
...
This reverts commit 2c11e56433
.
2 years ago
Yash Tibrewal
3b6675c2de
OpenCensus: Move measures, views and CensusContext to include file ( #31341 )
...
* OpenCensus: Move measure and view declarations to include file
* Move CensusContext class too
* Fix IWYU
* Guard with experimental
* Formatting
* clang tidy fixes
* cleanup
* Reviewer comments
2 years ago
AJ Heller
66df2c646a
[EventEngine] Refactor ThreadManager to leverage a shared ThreadPool ( #31392 )
...
* Refactor ThreadManager to leverage a shared ThreadPool
This is a step towards a work-stealing thread pool implementation:
unifying thread pools so that work stealing affects timer callbacks as
well.
A subsequent step will expose the timeout logic so that the timer wakeup
and check can be triggered externally (by pollers, in the common case).
* fix atomic uint64_t type missing on some platforms
* sanitize + platform fixes
* ->quiesce
* shut down the timer manager to release the main thread
* roll back atomics
* use a dedicated thread for timer_manager to prevent local execution (work stealing)
* drain the pools after timer manager tests; sanitize
* iwyu
* reintroduce fork handling
* sanitize
* fix
2 years ago
Craig Tiller
987b50a258
Revert "[experiments] Enable tcp_read_chunks for debug builds ( #31374 )" ( #31417 )
...
This reverts commit d05830cb02
.
2 years ago
Eric Anderson
9098d8b8db
Upgrade Java interop to Bullseye and Java 11 ( #30599 )
2 years ago
Alisha Nanda
2c11e56433
Revert "[arena] pool allocator ( #31298 )" ( #31414 )
...
This reverts commit 5e27b2df97
.
2 years ago
Alisha Nanda
dbc45208e2
Revert "Add back C# distribtests for Grpc.Tools ( #31399 )" ( #31412 )
...
This reverts commit 50bad293c9
.
2 years ago
sanjaypujare
55c340f60e
tools/interop_matric: add 1.50.2 for Java ( #31406 )
2 years ago
Jan Tattermusch
aa6419b6eb
Partially revert "upgrade rules_apple and apple_support bazel deps" ( #31407 )
...
* Revert "upgrade rules_apple and apple_support bazel deps"
This reverts commit 19fda811fb
.
* fix objc bazel tests on python3.9
2 years ago
Craig Tiller
5e27b2df97
[arena] pool allocator ( #31298 )
...
* [arena] pool allocator
* add tests
* Automated change: Fix sanity tests
* better sizes
* iwyu
* Automated change: Fix sanity tests
* first pass cut fragments
* fix1
* fix
* Automated change: Fix sanity tests
* fix
* iwyu
* build-deps
* fix for windows
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Jan Tattermusch
50bad293c9
Add back C# distribtests for Grpc.Tools ( #31399 )
...
* remove remains of grpc_csharp_ext artifact build completely
* add back part of C# distribtests
* redirect C# linux distribtests
* comment out some distribtests
* switch updateversion to Grpc.tools
* fix .proto
* fix distribtest complile
* temporarily comment out service in .proto
* cleanup
* improvements
* reenable mac distribtests
* fixes
2 years ago
tony
ed1bad547c
Document DNS resolvers and NetBIOS support ( #31385 )
2 years ago
Vignesh Babu
e8c30b487f
Invoking Poller::Work in posix event engine constructor ( #31128 )
...
* adding Poller::Work to event engine constructor
* iwyu
* iwyu
* cleanup
* regenerate projects
* fix
* comments
* add experiments flag
* fix
* newline
* newline
* iwyu
* remove some ifdefs
* fix tsan issue in bm_event_engine_run
* Add a quiesce to threadpool
* fix
* Automated change: Fix sanity tests
* disable posix_event_engine_test on windows
Co-authored-by: Craig Tiller <ctiller@google.com>
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Craig Tiller
0d77dd2bbd
[event_engine/promises] Eliminate lock contention on call path for GetDefaultEventEngine ( #31405 )
...
* [event_engine/promises] Eliminate lock contention on call path for GetDefaultEventEngine
* crash fix
* fix
2 years ago
Amchii
b3d9833166
Build with System OpenSSL on Mac OS arm64 ( #31096 )
...
* fix: grpcio fails to build from source on Apple Silicon mac #(25082)
Boringssl currently does not support macOS arm64, so installation on these platform with default config will undoubtedly fail, that means the env var 'BUILD_WITH_SYSTEM_OPENSSL' must be set to true.
* Use system installation of openssl by default on macOS arm64
* Format code by yapf
2 years ago
Cheng-Yu Chung
34b1633944
Remove `include/grpcpp/impl/codegen/string_ref.h` ( #31286 )
2 years ago
AJ Heller
be19b174f7
[promises] Cleanup: Always assert that contexts are non-null ( #31397 )
2 years ago
Sergii Tkachenko
fe3a482acc
Add grpc-java 1.50.1 to client_matrix.py ( #31394 )
2 years ago