Commit Graph

49809 Commits

Author SHA1 Message Date
Mark D. Roth e20dfeccc2
upgrade xDS protos (#27698) 2021-10-13 13:27:47 -07:00
Mark D. Roth 69a978231b
start splitting up xds_end2end_test (#27702)
* move test xDS server to its own library

* move xds_end2end_test to xds subdir, and refactor CountedService

* add TODO

* fix sanity
2021-10-13 13:11:53 -07:00
Mark D. Roth 2b813d2bff
grpclb: implement subchannel caching (#27657)
* grpclb: implement subchannel caching

* code review changes

* fix clang tidy

* code review changes
2021-10-13 12:14:00 -07:00
krestofur 8610a34016
Add CRL Enabled Credentials to test folder (#27678) 2021-10-13 10:59:19 -07:00
AJ Heller bdd73337a5
fix libuv dep hash (#27704) 2021-10-13 09:48:00 -07:00
Craig Tiller 1df153f46e
Revert "Revert "Move metadata setting into HPackParser (#27545)" (#27686)" (#27688)
This reverts commit 0e6ced8800.
2021-10-13 08:44:57 -07:00
Chi Wang d326b95d79
Remove redundent toolchain registrations in WORKSPACE (#27674) 2021-10-13 17:24:09 +02:00
Yash Tibrewal a61bb8ed5b
Move service config code out of client_client to its own target (#27683)
* Move service config code out of client_client to its own target

* Fix BUILD

* Fix test build

* Reviewer comments

* Reviewer comments

* Automated change: Fix sanity tests

* Reviewer comments

Co-authored-by: yashykt <yashykt@users.noreply.github.com>
2021-10-12 18:30:04 -07:00
AJ Heller 9841366806
Upgrade libuv to v1.37.0 (#27684)
* Upgrade libuv to v1.42.0

Also eliminates some cruft from the node implementation from 5 years ago

* sanitize.sh added a blank line?? ok then.

* pin to libuv v1.37.0
2021-10-12 15:09:15 -07:00
Yash Tibrewal 8907c891b7
grpc_server_config_fetcher: Cleanup StartWatch - remove unnecessary args (#27663)
* grpc_server_config_fetcher: Cleanup StartWatch - remove unnecessary args

* Reviewer comments

* Avoid a channel args copy copy for the non server config fetcher case

* Fix args destruction
2021-10-12 12:49:45 -07:00
Hayashi Takuya c89d92225f
PHP: fix ChannelCredentials\createSsl parameter phpdocs to optional and default null (#27283) 2021-10-12 12:19:20 -07:00
Vyacheslav Yurkov 45e6933859
cmake: revert db88fb0ee8 (#27626)
Fix regression introduced by previous commit. Original problem that
commit was trying to fix was solved by modification of grpc recipe in
meta-openembedded project repository

Fixes #26857

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
2021-10-12 10:11:40 -07:00
Yesudeep Mangalapilly e5e426ec51
Upgrade re2 to fix broken template on gcc-11. (#27511)
* Upgrade re2 to fix broken template on gcc-11.

The fix to re2 was made here:
0ceda87618

* Use release 2021-09-01 of re2. SHA256 pending.

* Adds sha256 sum for re2 release.

* Update sha256 sum.

* Update submodule third_party/re2 to 8e08f47b11b413302749c0d8b17a1c94777495d5 (release 2021-09-01)

* Update the submodule sanity check.
2021-10-12 10:10:52 -07:00
Craig Tiller 0e6ced8800
Revert "Move metadata setting into HPackParser (#27545)" (#27686)
This reverts commit f57a1f7d8c.
2021-10-12 08:37:00 -07:00
Craig Tiller f57a1f7d8c
Move metadata setting into HPackParser (#27545)
* forward work to get append, limit check into parser

* further cleanup

* Remove chttp2_incoming_metadata_buffer

* Automated change: Fix sanity tests

* test fixes

* fix cronet

* wip

* first pass mementofication of parsing - libgrpc compiles

* further progress

* fixes

* fixes

* fix leak

* Automated change: Fix sanity tests

* fix leak

* fixes

* x

* improve fuzzer

* init ordering fix

* Update hpack_parser_table.h

* Update hpack_parser.cc

* Update hpack_parser_test.cc

* Automated change: Fix sanity tests

* Automated change: Fix sanity tests

* i mustache myself why

* fix use after free

* Automated change: Fix sanity tests

* fixes

* eliminate second pass metadata - this is an illegal frame and fails the new parser

* handle mementos with size > sizeof(intptr_t)

* fix

* add parsed metadata header, test

* Automated change: Fix sanity tests

* fix includes

* phase1

* phase2

* Update parsed_metadata.h

* fix

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-10-11 20:02:29 -07:00
Craig Tiller 2f56cb3d87
Remove grpc.internal. channel args at API sites (#27536)
* Remove grpc.internal. channel args at API sites

gRPC uses channel args both as an API surface and as an internal
implementation detail. The merits of this are debatable, but it's
probably the best mechanism we have right now, and changing it would be
an effort best not undertaken today.

In order to focus hardening efforts to the highest payoff, this change
introduces a filter to remove any internal channel args received from
outside our public API, effectively guaranteeing that any usage of these
arguments comes from within code that we maintain.

There will likely be a whack-a-mole game over the following weeks to
mark more channel arguments as internal - I have not done a thorough
audit!

* get api usage right

* fix

* fixes

* rename internal -> test_only so it passes through
2021-10-11 15:02:43 -07:00
Michael Lumish fe260f9a35
Update gRPC xDS features doc with Node gRPC 1.4.x features (#27680) 2021-10-11 14:27:17 -07:00
Craig Tiller a21ad2c296
Remove UDP code - it's unused (#27595)
* Remove UDP code - its unused

* Automated change: Fix sanity tests

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-10-11 13:34:47 -07:00
Paulo Castello da Costa 0c6586523f
Clone test-infra repo instead of fetching commit. (#27677)
* Clone test-infra repo instead of fetching commit.

Partially reverting https://github.com/grpc/grpc/pull/27675.

* Log commit from test-infra repo.
2021-10-11 11:53:13 -07:00
Vignesh Babu fa43eadb8f
Mark EventEngine timer test suite as `testonly` (#27638)
* updating event engine test suite to fix internal build and test errors

* undo changes and restore absl::InfiniteFuture
2021-10-11 10:56:04 -07:00
Craig Tiller 3a78db6cdf
Fix bug in memory quota fuzzer (#27670)
* flush more thoroughly

* add reproducer

* fixes
2021-10-11 09:34:31 -07:00
Hannah Shi 5acc4c40a1
podfile cleanup (#27609) 2021-10-11 09:33:51 -07:00
Eric Anderson 07a8425849
xds_k8s_test_driver: Add Authz interop tests (#27639)
Tests defined in go/grpc-proxyless-authz-interop, but the purpose of
each should be pretty obvious just by reading authz_test.py.
2021-10-11 09:24:17 -07:00
Mark D. Roth 1d765b28f0
clean up subchannel logging (#27661) 2021-10-11 07:28:13 -07:00
Mark D. Roth 9b4f5fd264
change repo manager to nicolasnoble (#27578) 2021-10-11 07:14:49 -07:00
Mayuki Sawatari ee5a685111
Fix link error when building with Xamarin.iOS (#27345) 2021-10-11 12:51:53 +02:00
Paulo Castello da Costa 5464c8ba06
Fetch only required commit from test-infra repo. (#27675)
Full clone and submodules are not required for test-infra tools build.
2021-10-11 12:48:30 +02:00
Jan Tattermusch aae25e2443
address review comments for #27622 (#27659) 2021-10-09 19:18:03 +02:00
Yash Tibrewal 5e69ded6f5
XdsApi cleanup: Remove unused field (#27664) 2021-10-08 17:15:35 -07:00
Ashitha Santhosh a1db97be90
Revert "Revert "Revert "Revert "File watcher authorization policy provider implementation"" (#27605)" (#27644)" (#27645)
This reverts commit b8e01f73a0.
2021-10-08 15:52:13 -07:00
Mark D. Roth 0f050e6f7a
clean up ServiceConfigCallData API (#27642) 2021-10-08 13:37:13 -07:00
Terry Wilson 9ccec1f99e
xds_k8s tests: Fix xlang install script sourcing. (#27658)
This change sources the test driver install script correctly for the xlang tests.
This fixes a mistake in #27462 where this was missed.
2021-10-08 16:19:38 -04:00
Craig Tiller 3dc5528c50
Fix fuzzer found null-deref in memory_quota (#27648) 2021-10-08 13:16:17 -07:00
Craig Tiller 8d8d07139c
Fix client idle filter (#27611)
* trial-change

* compiles!

* added test

* Automated change: Fix sanity tests

* update test

* Fix slow idle detection

* review feedback

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-10-08 12:30:11 -07:00
Craig Tiller da2e8ddc4e
Flush auto fixer cache once per week (#27650)
* cache-invalidation

* ??

* indent

* Update pr-auto-fix.yaml
2021-10-08 12:18:28 -07:00
Craig Tiller ee47e08f71
Deal with some namespacing issues (#27651) 2021-10-08 11:38:42 -07:00
Jan Tattermusch b3a1f68606
Reorganize docs for end2end benchmarks (#27484)
* Reorganize docs for end2end benchmarks

* Update README.md

* Restore heading "gRPC OSS benchmarks" (#27646)

This heading is used in cross-references from other repositories and sites. Also fix formatting.

Co-authored-by: Paulo Castello da Costa <6579971+paulosjca@users.noreply.github.com>
2021-10-08 19:37:04 +02:00
Craig Tiller 016ef6cede
Change reclaimer function signature (#27649)
* Fix fuzzer found leak in memory_quota

* Make reclamation functions know about cancellation

* fixes

* fix race

* Automated change: Fix sanity tests

* fixes

* Automated change: Fix sanity tests

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-10-08 10:21:24 -07:00
Jan Tattermusch 6f2021c48f
Cleanup of bazel qps scenarios generator (#27622)
* cleanup of bazel qps scenarios generator

* regenerate bzl files

* add back outstanding_rpc_divisor

* regenerate

* fix check_qps_scenario_changes.py
2021-10-08 10:17:12 -07:00
Jan Tattermusch 9c33c690b4
switch main benchmark CI job to c2 class worker pools (#27652) 2021-10-08 08:01:58 -07:00
Jan Tattermusch 9d9fa4c139
Bazel distribtest fixes (#27515)
* fix path to grpc_bazel_distribtest_latest.sh

* run bazel distribtests under docker

* fix downloads under bazel docker image
2021-10-08 03:57:38 -07:00
Ming-Chuan f58f903a4f
Add helper function for getting endpoint binder in Java (#27598)
Also update the server side URI scheme to use path instead of authority

See gRFC L85-core-binder-transport.md for more details
2021-10-08 10:54:22 +08:00
AJ Heller b8e01f73a0
Revert "Revert "Revert "File watcher authorization policy provider implementation"" (#27605)" (#27644)
This reverts commit 5912aedb2b.
2021-10-07 16:45:30 -07:00
Denny C. Dai b7b1ada924
Libuv pod and event engine core test suite setup for iOS/ObjC (#27563)
* Add podspec for libuv-grpc
* iOS Core test pod setup
2021-10-07 15:07:00 -07:00
Esun Kim ec4c61a3ae
Various fixes on absl::Status migration (#27557) 2021-10-07 14:49:59 -07:00
Vy Nguyen a145013d6d
Temporarily disable benchmarks (#27629)
benchmark 1.6.0 introduced API breaking changes so we temporarily disabled the benchmarks that are using the old API to avoid breaking.
2021-10-07 14:29:19 -07:00
Lidi Zheng 60028a82a9
[Aio] Resolve deprecated warnings from asyncio (#27635)
* [Aio] Resolve deprecated warnings from asyncio

* Use 3.6 compatible way of creating an asyncio.Task
2021-10-07 14:05:09 -07:00
Richard Belleville 7aa43b7a55
Create Bazel gevent test harness (#27507)
* WIP

* Add gevent test suite run under Bazel.

* Fix things up

* Yapf

* Fix up Bazel files

* Make py_grpc_test fancier

* Attempt to fix Windows RBE

* Attempt to kick GitHub

* Fix Python 2 runs

* Yet more fixes

* And the patch file too

* I am an idiot

* Mark gevent tests flaky

* Try to make rules_python more tolerant

* Typo

* Exclude reconnect test from gevent

* Remove unnecessary parts of patch

* Buildifier

* You saw nothing

* isort

* Move py_grpc_test to an internal-only file

* Review comments

* More reviewer comments

* Review
2021-10-07 14:04:34 -07:00
Craig Tiller 76dd0474e4
Upgrade API fuzzer to be a proto based structural fuzzer (#27564)
* start cleaning up

* progress

* Automated change: Fix sanity tests

* progress

* Automated change: Fix sanity tests

* progress

* get this running again

* Automated change: Fix sanity tests

* ugh

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-10-07 14:01:48 -07:00
Terry Wilson b048618f11
xds-k8s tests: Use test driver from master branch (#27462)
Instead of directly sourcing the test driver provisioning script from the same branch, the script is downloaded (with curl) and sourced from the master branch.

This allows changes made to the test driver to be reflected in all future release branches. A separate PR will backport this change to existing release branches.

All cluster definitions are also moved to the install script, allowing any cluster changes to be done in one place in the master branch.
2021-10-07 13:47:55 -04:00