Craig Tiller
2bcca66712
[fuzzing] Roll forward dep on fuzztest ( #32667 )
...
<!--
If you know who should review your pull request, please assign it to
that
person, otherwise the pull request would get assigned randomly.
If your pull request is for a specific language, please add the
appropriate
lang label.
-->
---------
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Craig Tiller
522bed8cc6
Revert "[fuzzing] Add dep on google fuzz test" ( #32666 )
...
Reverts grpc/grpc#32578
2 years ago
Craig Tiller
dbb131b193
[fuzzing] Add dep on google fuzz test ( #32578 )
...
Initial PR to establish a bazel dependency on
https://github.com/google/fuzztest , with which I'm planning on basing a
hardening program.
Casting a relatively wide net with reviewers: I'm genuinely interested
in feedback building up the docs, and general ergonomics of this change.
I've located relevant files in the `fuzztest/...` directory. The tests
only build with the `--config fuzztest` bazel argument for now (because
of needing C++17), so locating them separately keeps `bazel test
test/...` working as it does today. In a few years time, when we adopt
C++17, we'll be able to rationalize the test directories a little bit.
We'll need to add some kokoro jobs (maybe with this PR?) to execute the
relevant tests.
<!--
If you know who should review your pull request, please assign it to
that
person, otherwise the pull request would get assigned randomly.
If your pull request is for a specific language, please add the
appropriate
lang label.
-->
---------
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Jan Tattermusch
9c45499dfc
Update third_party/boringssl-with-bazel ( #32492 )
...
Upgrade boringssl to the latest "master-with-bazel"
- use the `'USE_HEADERMAP' => 'NO'` fix for ObjC
- update the key for asm optimizations on mac/apple in python's setup.py
This PR depends on monterey fixes here:
https://github.com/grpc/grpc/pull/32493 and the boringssl's build
simplification
https://boringssl-review.googlesource.com/c/boringssl/+/56465 .
---------
Co-authored-by: Hannah Shi <hannahshisfb@gmail.com>
2 years ago
AJ Heller
734b551148
[build] Enable -Wunused-but-set-variable ( #32439 )
...
This is a step towards enabling `--define=use_strict_warning=true` for
Windows clang-cl.
<!--
If you know who should review your pull request, please assign it to
that
person, otherwise the pull request would get assigned randomly.
If your pull request is for a specific language, please add the
appropriate
lang label.
-->
2 years ago
Ivo List
653fb79676
Remove returning struct in cc_grpc_library ( #32360 )
...
Struct providers were deprecated
https://github.com/bazelbuild/bazel/issues/7347
release notes: no
2 years ago
Esun Kim
ea4204bb51
Update boringssl to grpc-202302 ( #32353 )
...
This is to address
[CVE-2023-0286](https://www.trellix.com/en-us/about/newsroom/stories/research/cve-2023-0286-the-openssl-who-cried-severity-high.html )
2 years ago
Craig Tiller
ae969b274b
[chttp2] Eliminate legacy huffman decoder ( #32289 )
...
* [chttp2] Eliminate legacy huffman decoder
* Automated change: Fix sanity tests
---------
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Craig Tiller
0893fca089
[promises] Roll forward server promise calls with fixes ( #32261 )
...
* stuff
* spam-cleanup
* Revert "Revert "[promises] Server call (#31448 )" (#32260 )"
This reverts commit dbfb888e1f
.
* spam-cleanup
* Automated change: Fix sanity tests
* asserts-for-sanity
---------
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Craig Tiller
dbfb888e1f
Revert "[promises] Server call ( #31448 )" ( #32260 )
...
* Revert "[promises] Server call (#31448 )"
This reverts commit bbeb15006a
.
* clang-fmt
2 years ago
Craig Tiller
bbeb15006a
[promises] Server call ( #31448 )
...
* add experiment
* allow instantiation
* scratchings
* scratchings
* sniffly
* Automated change: Fix sanity tests
* fix
* fix
* fix
* Automated change: Fix sanity tests
* progress
* change pipe labels to enable server code to be written
* better api
* Automated change: Fix sanity tests
* progress
* [promises] Implementation of deadline for server-based-calls
* compression filter compiles again
* Automated change: Fix sanity tests
* fix
* server tracing fixes
* get client initial metadata
* progress
* progress
* server call surface progress
* Automated change: Fix sanity tests
* move payload
* server-progress
* recv-message-server-connchan
* logging
* fix context-gate
* recv fix@top
* Automated change: Fix sanity tests
* recv close on server
* top termination start
* [promises] Move Empty to be first class
* fixes
* fix
* flow control fix
* got to orphan!
* orphan
* call orphan
* spam cleanup
* fix
* new cancelation semantics
* progress
* large metadata fixes
* fix
* fix
* log
* better logs
* fix-chanz
* logging, necessaryness
* fix typo
* fixes
* fix
* fix
* fix-pipe
* cleanup logging
* fix
* build-fix
* fix
* Automated change: Fix sanity tests
* logging
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* better primitive
* Revert "better primitive"
This reverts commit 119b5ee244
.
* fix
* fix
* trrracing
* Automated change: Fix sanity tests
* get-trailing-metadata
* cancellation
* Automated change: Fix sanity tests
* add transform pipeline to pipe
* add transform pipeline to pipe
* interceptor lists
* new server initial md api into filters
* convert connected_channel
* convert call
* initial promise based filter conversion
* convert promise based filter
* build fixes
* compile fix
* fixes
* fix ordering
* fixes
* check-metadata
* revert later: debug code
* better debug
* fix metadata ordering with messages in promise based filter
* fix ordering problem between batch completion and promise completion
* properly handle failure on receive message path on client
* more debug, fix a repoll bug in pbf
* Automated change: Fix sanity tests
* fixes
* Automated change: Fix sanity tests
* cleanup logging
* fixes
* missing file
* fixes
* logging
* Automated change: Fix sanity tests
* fixes
* convert logging filter
* fix
* Automated change: Fix sanity tests
* fix bad server response test
* Revert "Disable logging test (#32049 )"
This reverts commit 5fc92eaeae
.
* fix
* Automated change: Fix sanity tests
* fix memory leaks, logging
* Automated change: Fix sanity tests
* slice refcount debugging
* asan-canaries
* leak-fix
* leak-fix
* Automated change: Fix sanity tests
* fix
* fix
* fix
* fix
* fix
* Automated change: Fix sanity tests
* fix
* remove mistaken line
* add-comment
* fix refcounting bug
* Automated change: Fix sanity tests
* rename variable
* renames
* bleh
* carry pipe close status from bottom of pipe to top to appease
recv-close-on-server
* backport cancellation
* Revert "carry pipe close status from bottom of pipe to top to appease"
This reverts commit fa33301dcd
.
* fix
* Automated change: Fix sanity tests
* review-feedback
* comment-ordering
* monostate
* renames
* undo-review-feedback
* fix
* review-feedback
* review-feedback
* fix
* review-feedback
* drop debugloc constructor
* interceptor-list-rev-feedback
* interceptor-list-rev-feedback
* pipe test
* review-feedback
* undo-mistaken-change
* Automated change: Fix sanity tests
* pipe error state
* detect send/recv failures and report
* iwyu, build
* fix submodules
* fix
* warning
* cleanup
* Automated change: Fix sanity tests
* fix
* fix for windows
* fix
* null pointer fix
* iwyu
* gen projex
---------
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Esun Kim
905df9dee6
Update Abseil to 20230125 ( #32139 )
...
* Update abseil to 1.20230125.0
* Fix IWYU
2 years ago
Vignesh Babu
fa5a6c42a6
[EventEngine] Modify iomgr to allow creation of posix event engine listeners and server side endpoints ( #31928 )
...
* [WIP] EventEngine iomgr endpoint shims
* [WIP] EventEngine::Endpoint iomgr shims for the PosixEventEngine
* Util functions to help with posix engine listener implementation
* sanity
* update comments in posix_engine_listener_utils.h
* review comments
* iwyu
* revert prev commit
* iwyu
* update build
* update
* regenerate projects
* regenerate projects
* minor fixes
* update BUILD
* sanity
* update build
* regenerate projects
* fix unused parameter
* sanity
* update
* sanity
* regenerate_projects
* remove unused variable
* start
* update
* regenerate_projects
* sanity
* update
* fixes
* update
* regenerate_projects
* update
* fix sanity and msan failure
* more fixes
* build failure
* update
* fix
* sanity
* fixes
* update
* regenerate projects
* fix sanity
* review comments
* An EventEngine subclass to be implemented by all posix based event engines
* sanity
* comments
* update
* review comments
* re-word
* fix
* update
* review comments
* regenerate projects
* syntax fix
* add lock free event benchmark
* releasable mutex lock
* fix build isue
* update
* start
* regenerate projects
* update
* fix
* windows build
* update
* windows portability issue
* update
* update
* update
* update
* format
* update
* update
* start
* Update tcp server interface to move on_accept_cb to create method
* update
* start
* update
* update
* update
* update
* update
* update
* update
* update
* sanity
* update
* update
* update
* windows build
* fix msan
* fix sanity
* regenerate projects
* update
* iwyu
* Fix resolved address length related bugs in tcp_socket_utils and listener_utils
* iwyu
* cleanup
* cleanup src/core/lib/event_engine/tcp_socket_utils.cc
* iwyu
* fix
* regenerate projects
* fix sanity
* re-write endpoint shim
* more re-write
* cleanup
* update
* regenerate projects
* review comments
* build issue
* more build issue fixes plus adding event_engine_trace
* even more build issue fixes
* iwyu
* add static_cast
* fix sanity
* update
* update
* sanity
* fix
* Fix
* Review comments
* fix
* iwyu
* fix build issue
Co-authored-by: AJ Heller <hork@google.com>
2 years ago
AJ Heller
3980ed706a
[EventEngine] Refactoring the EventEngine Test Suite: Part 1 ( #32127 )
...
* Add back EventEngine test suite tools (echo binary)
This reverts commit d5c12195a2
.
* more refactoring
* fix
* Automated change: Fix sanity tests
* fix
* fix posix oracle build def
* fix FuzzingEventEngine includes
* sanitize
* tidy and rm DNS
* fix cfstream includes
* header guards
* format & fix deps
* fix
* fix
* iwyu
* fix
* remove redundant code
* reviewer feedback
Co-authored-by: drfloob <drfloob@users.noreply.github.com>
2 years ago
Craig Tiller
7b02b7c253
[stats] Add experiment to use transport reported request latency whenever available ( #32168 )
...
* [stats] Add experiment to use transport reported request latency whenever available
* redux: add a new metric
* review-feedback
* Automated change: Fix sanity tests
* fix
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Mark D. Roth
1c4b138322
Revert "Revert "WRR: xDS LB policy support ( #32067 )" ( #32180 )" ( #32182 )
...
This reverts commit d7193a28c4
.
2 years ago
Yash Tibrewal
e7f1e9d1d9
Gcp Observability Logging: Fix the log name and resource for the gcp logging API ( #32148 )
...
* Gcp Observability Logging: Fix the log name and resource for the gcp logging API
* iwyu
* Fix build
* Fix build - try 2
2 years ago
Alisha Nanda
d7193a28c4
Revert "WRR: xDS LB policy support ( #32067 )" ( #32180 )
...
This reverts commit 8a024963f5
.
2 years ago
Mark D. Roth
8a024963f5
WRR: xDS LB policy support ( #32067 )
...
* WRR: port StaticStrideScheduler to OSS
* WIP
* Automated change: Fix sanity tests
* fix build
* remove unused aliases
* fix another type mismatch
* remove unnecessary include
* move benchmarks to their own file, and don't run it on windows
* Automated change: Fix sanity tests
* add OOB reporting
* generate_projects
* clang-format
* add config parser test
* clang-tidy and minimize lock contention
* add config defaults
* add oob_reporting_period config field and add basic test
* Automated change: Fix sanity tests
* fix test
* change test to use basic RR
* WIP: started exposing peer address to LB policy API
* first WRR test passing!
* small cleanup
* port RR fix to WRR
* test helper refactoring
* more test helper refactoring
* WIP: trying to fix test to have the right weights
* more WIP -- need to make pickers DualRefCounted
* fix timer ref handling and get tests working
* clang-format
* iwyu and generate_projects
* fix build
* add test for OOB reporting
* keep only READY subchannels in the picker
* add file missed in a previous commit
* fix sanity
* iwyu
* add weight expiration period
* add tests for weight update period and OOB reporting period
* Automated change: Fix sanity tests
* lower bound for timer interval
* consistently apply grpc_test_slowdown_factor()
* cache time in test
* add blackout_period tests
* avoid some unnecessary copies
* clang-format
* add field to config test
* simplify orca watcher tracking
* attempt to fix build
* iwyu
* generate_projects
* update xds proto dependency
* add xDS LB policy entry to registry
* add "_experimental" suffix to policy name
* update LB policy name and remove debug log
* add env var protection
* generate_projects
* gen_upb_api
* WRR: update tests to cover qps plumbing
* WIP
* Automated change: Fix sanity tests
* more WIP
* basic WRR e2e test working
* add OOB test
* add xDS WRR e2e test
* clang-format
* fix sanity
* ignore duplicate addresses
* Automated change: Fix sanity tests
* add new tracer to doc/environment_variables.md
* retain scheduler state across pickers
* Automated change: Fix sanity tests
* use separate mutexes for scheduler and timer
* sort addresses to avoid index churn
* remove fetch_sub for wrap around in RR case
Co-authored-by: markdroth <markdroth@users.noreply.github.com>
2 years ago
Jan Tattermusch
dafcb3b6e6
Update third_party/protobuf to 3.21.12 ( #32136 )
...
* Update third_party/protobuf
* run tools/distrib/python/make_grpcio_tools.py
* update build_handwritten.yaml
* regenerate projects
* manual change: fix tools/distrib/check_protobuf_pod_version.sh to accept new-style protobuf tags
* improve comments for check_protobuf_pod_version hack
2 years ago
Craig Tiller
356e3fd775
[tcp] Remove read-chunks experiment ( #32126 )
...
* [tcp] Remove read-chunks experiment
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Craig Tiller
67f364e23e
[cleanup] Eliminate usage of GRPC_ASSERT(false...); ( #31757 )
...
* crash function
* progress
* fix
* fix
* Automated change: Fix sanity tests
* fix
* fix
* fix
* fixes
* Automated change: Fix sanity tests
* fix
* Automated change: Fix sanity tests
* fix
* fix
* use cpp attr
* Automated change: Fix sanity tests
* fix
* fix
* fix
* fix
* fix
* fix
* add exclusion
* fix
* typo
* fix
* fmt
* Update tcp_socket_utils.cc
* Automated change: Fix sanity tests
* fix
* revert php changes
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Esun Kim
2915f9fd53
Add Bazel 6 to the list of supported bazel versions ( #31940 )
...
* Bazel 6
* Update doc
2 years ago
Mark D. Roth
b0d7131ab3
WRR: plumb qps in backend metric data ( #31903 )
...
* plumb qps in backend metric data
* pull in updated orca proto
* gen_upb_api
* Automated change: Fix sanity tests
Co-authored-by: markdroth <markdroth@users.noreply.github.com>
2 years ago
Vignesh Babu
3baeab973a
Remove posix_event_engine_polling_enabled experiment ( #32037 )
...
* Remove posix_event_engine_polling_enabled experiment
* regenerate projects
2 years ago
Andres Beltran
2904ee8fd3
Add support for systemd socket activation ( #31667 )
...
* Revert "Revert "Add support for systemd socket activation (#30485 )" (#31617 )"
This reverts commit 867dc6cae2
.
* Add checks to unix tests
* Ran generate_projects.sh and fixed styling in test
* Fix variable in unit test
* Use reinterpret_cast in test
* Rebase and fix sanity failures
2 years ago
Craig Tiller
49a3035d44
[iwyu] Fix CI job ( #31921 )
...
* fix-includes
* fix
* fix
* fix
* fix
* fix
* Automated change: Fix sanity tests
* add warning label
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Craig Tiller
83e3c28869
[chttp2] Enable new huffman encoder by default ( #30989 )
2 years ago
Alisha Nanda
221d6b58d8
Add global structure of allocators + experiment ( #31807 )
...
* Global allocator experiment
* Fix formatting and deps
* Update experiments files formatting
* Small fixes
* Change uint formatting
* Automated change: Fix sanity tests
* Fix formatting
* Address review comments
* Clean up logging
* Automated change: Fix sanity tests
* Fix clangtidy
* remove duplicate header
* address review
* Add more info to error
* Fix tests
* Global allocator experiment
* Fix formatting and deps
* Update experiments files formatting
* Small fixes
* Change uint formatting
* Fix formatting
* Address review comments
* Clean up logging
* Automated change: Fix sanity tests
* Fix clangtidy
* remove duplicate header
* address review
* Updated experiments
* update formatting
* resolve conflict
* Address review comments
* Remove use of rand
* Automated change: Fix sanity tests
* Fix test errors
Co-authored-by: ananda1066 <ananda1066@users.noreply.github.com>
2 years ago
Craig Tiller
1f15f21540
Revert "Revert "Revert "[experiments] Enable memory_pressure_controller for debug builds ( #31811 )" ( #31824 )" ( #31832 )" ( #31846 )
...
This reverts commit 322e85253e
.
2 years ago
Craig Tiller
322e85253e
Revert "Revert "[experiments] Enable memory_pressure_controller for debug builds ( #31811 )" ( #31824 )" ( #31832 )
...
This reverts commit 4d7df5580d
.
2 years ago
Craig Tiller
4d7df5580d
Revert "[experiments] Enable memory_pressure_controller for debug builds ( #31811 )" ( #31824 )
...
This reverts commit 244e39b86e
.
2 years ago
Craig Tiller
244e39b86e
[experiments] Enable memory_pressure_controller for debug builds ( #31811 )
...
* [experiments] Enable memory_pressure_controller by default
* fix found crash
* fixy
2 years ago
Craig Tiller
1bfc50f27e
[experiments] Enable flow_control_fixes by default ( #31810 )
2 years ago
Vignesh Babu
6eb6e00954
Enable posix_event_engine_polling experiment ( #31801 )
2 years ago
Cheng-Yu Chung
f5d21653fc
Revert "[event_engine] Move combiner executor usage to event engine ( #31713 )" ( #31753 )
...
This reverts commit b04aa1cf92
.
Co-authored-by: AJ Heller <hork@google.com>
2 years ago
Cheng-Yu Chung
ddc5a62409
Revert "Add global structure of allocators + experiment ( #31614 )" ( #31759 )
...
This reverts commit 6754018dd1
.
2 years ago
Alisha Nanda
6754018dd1
Add global structure of allocators + experiment ( #31614 )
...
* Global allocator experiment
* Fix formatting and deps
* Update experiments files formatting
* Small fixes
* Change uint formatting
* Automated change: Fix sanity tests
* Fix formatting
* Address review comments
* Clean up logging
* Automated change: Fix sanity tests
* Fix clangtidy
* remove duplicate header
* address review
Co-authored-by: ananda1066 <ananda1066@users.noreply.github.com>
2 years ago
Craig Tiller
b04aa1cf92
[event_engine] Move combiner executor usage to event engine ( #31713 )
...
* [event_engine] Move combiner executor usage to event engine
* fix
* review feedback
* fix
* x
* fix
* fix
2 years ago
Craig Tiller
a1dc498356
[flow_control] Enable experiment in debug builds ( #31693 )
2 years ago
Yash Tibrewal
7372e55ba9
Revert "Revert "Observability Logging: Interfaces and structure"" ( #31681 )
...
* Revert "Revert "Observability Logging: Interfaces and structure (#31651 )" (#31669 )"
This reverts commit 3be177223e
.
* Generate projects
2 years ago
Craig Tiller
0d4000dd48
[resource_quota] Remove periodic resource quota experiment ( #31670 )
2 years ago
Esun Kim
3d104df977
Upgrade re2 to 2022-04-01 ( #31665 )
2 years ago
Craig Tiller
3be177223e
Revert "Observability Logging: Interfaces and structure ( #31651 )" ( #31669 )
...
This reverts commit 2146107e25
.
2 years ago
Yash Tibrewal
2146107e25
Observability Logging: Interfaces and structure ( #31651 )
...
* Observability Logging: Interfaces and structure
* Revert unrelated changes
* Fix test build
* Add dependency on Google Apis Logging V2 service and add a dummy logging call
* Add authority
2 years ago
Craig Tiller
867dc6cae2
Revert "Add support for systemd socket activation ( #30485 )" ( #31617 )
...
This reverts commit a638c407bb
.
2 years ago
Andres Beltran
a638c407bb
Add support for systemd socket activation ( #30485 )
...
* Add socket-activated functionality
* Fix GRPC_ERROR_NONE in tcp_server_posix_test and sanity checks
* Fix epoll1 error, sanity checks
* Use AF_INET6 in tcp_server_posix_test
Co-authored-by: Vignesh Babu <vigneshbabu@google.com>
2 years ago
Craig Tiller
1b9ab18251
[experiments] Enable tcp_read_chunks by default ( #31499 )
2 years ago
Mikhail Lappo
5ec616e6a8
Update zlib ( #31356 ) ( #31357 )
...
To mitigate CVE-2022-37434
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