Commit Graph

877 Commits

Author SHA1 Message Date
Craig Tiller c75d5c9878 [chaotic-good] Credential implementation (#35884)
Closes #35884

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/35884 from ctiller:noodling dbba5d5578
PiperOrigin-RevId: 606362603
2024-02-12 14:21:08 -08:00
Craig Tiller d1cb0c0874 [chaotic-good] Bring up core e2e tests (#35663)
Closes #35663

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/35663 from ctiller:shush-e2e 0c1f82ed71
PiperOrigin-RevId: 605717663
2024-02-09 13:34:46 -08:00
Eugene Ostroukhov 239399212a [BoringSSL] "Revert Update third_party/boringssl-with-bazel (#35842)" (#35847)
This reverts commit c968d1a56a.

Closes #35847

PiperOrigin-RevId: 605117622
2024-02-07 15:34:34 -08:00
Eugene Ostroukhov c968d1a56a [BoringSSL] Update third_party/boringssl-with-bazel (#35842)
Closes #35842

PiperOrigin-RevId: 605091673
2024-02-07 14:05:13 -08:00
Eugene Ostroukhov 038215b504 [BoringSSL] Revert "Update third_party/boringssl-with-bazel (#35811)" (#35834)
This reverts commit c2a2e8c09d.

Closes #35834

PiperOrigin-RevId: 604800979
2024-02-06 16:34:14 -08:00
Eugene Ostroukhov c2a2e8c09d [BoringSSL] Update third_party/boringssl-with-bazel (#35811)
Change was created by the release automation script. See go/grpc-release.

Closes #35811

PiperOrigin-RevId: 604701943
2024-02-06 11:02:39 -08:00
AJ Heller 6cd53e1c80 [experiment] Disable Posix EventEngine Client experiment (#35819)
Disabling before the 1.62 branch cut.

There is a flake in one specific interop test: cloud_to_prod_auth:c++:*:oauth2_auth_token:tls, with * being default or gateway_v4. There is also an unresolved PHP crash on test shutdown, just debug builds on Mac (not Linux or Windows).

Closes #35819

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/35819 from drfloob:disable-posix-ee-client c42e8b8c20
PiperOrigin-RevId: 604474559
2024-02-05 16:59:51 -08:00
Alisha Nanda 5091b39a28 Remove registered_methods_map experiment (#35673)
Closes #35673

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/35673 from ananda1066:remove_exp 76257e08ed
PiperOrigin-RevId: 603734117
2024-02-02 11:07:43 -08:00
Mark D. Roth 354cdecc12 [call v3] add experiment (#35784)
Closes #35784

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/35784 from markdroth:call_v3_experiment 2cabe8cca2
PiperOrigin-RevId: 603435692
2024-02-01 11:49:41 -08:00
Esun Kim 1f979d2a83 [BoringSSL] Update third_party/boringssl-with-bazel (#35768)
Change was created by the release automation script. See go/grpc-release.

On top of changes made by the script, `setup.py` had to be updated to have `/std:c11` option for MSVC to use c11 features for boringssl.

Closes #35768

PiperOrigin-RevId: 603403329
2024-02-01 10:06:33 -08:00
Craig Tiller 5b444972f3 [promises+event_engine] Re-enable promise_based_client_call testing (#35678)
The client promise code seems to cause a problem with iomgr pollset shutdown which is causing flakiness.

Right now I don't think it's likely that we'll get this code rolled out before the event engine client lands, so I'm making the experiment dependent on event engine polling.

Closes #35678

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/35678 from ctiller:flake 4512fa81b0
PiperOrigin-RevId: 601926443
2024-01-26 19:25:15 -08:00
Craig Tiller 2bb10be729 [experiments] Allow experiments to opt-in to testing against all pollers (default to not) (#35683)
Closes #35683

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/35683 from ctiller:minimize2 ac22512f99
PiperOrigin-RevId: 601886350
2024-01-26 15:47:13 -08:00
AJ Heller 8a3a46e295 [EventEngine] Enable the PosixEventEngine client experiment (#35669)
Closes #35669

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/35669 from drfloob:posix-ee-client-flip 0d563ed3a1
PiperOrigin-RevId: 601857289
2024-01-26 13:55:28 -08:00
Esun Kim 714640d71f [Deps] Upgrade Abseil to 2024-01-16 (#35589)
Closes #35589

PiperOrigin-RevId: 601647295
2024-01-25 20:14:19 -08:00
AJ Heller 4f50d36f4b [experiment] Stop testing promise_based_client_call due to leak (#35671)
There's roughly a 25% flake of a leak, blocking PR submission due to ASAN failures. Example: https://source.cloud.google.com/results/invocations/5d9fc8b9-c64f-4aaa-bbe6-2fb5f8fd0b24/targets/%2F%2Ftest%2Fcore%2Fend2end:negative_deadline_test@poller%3Dpoll@experiment%3Dpromise_based_client_call/log

Reproducible via: `bazel test --config=asan --test_env=GRPC_VERBOSITY=debug --test_filter='**' --test_sharding_strategy=disabled --runs_per_test=100 -- //test/core/end2end:negative_deadline_test@poller=poll@experiment=promise_based_client_call`

Closes #35671

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/35671 from drfloob:broken-promise-based-client-call fe73351671
PiperOrigin-RevId: 601602596
2024-01-25 16:37:06 -08:00
AJ Heller ba2f74a84c [EventEngine] Dump all thread stacks when the thread pool is wedged
This should help us debug rare flakes where the thread pool waits indefinitely

PiperOrigin-RevId: 601546451
2024-01-25 13:25:36 -08:00
Craig Tiller ab795b0adc Revert "[EventEngine] Enable the EventEngine DNS Resolver on Posix (#35573)" (#35667)
This reverts commit 6318e9e7e9.

<!--

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.

-->

Closes #35667

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/35667 from ctiller:a 032999b51e
PiperOrigin-RevId: 601495207
2024-01-25 10:46:47 -08:00
Yijie Ma 6318e9e7e9 [EventEngine] Enable the EventEngine DNS Resolver on Posix (#35573)
<!--

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.

-->

Closes #35573

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/35573 from yijiem:enable-oss-ee-dns-posix-real 017b99312f
PiperOrigin-RevId: 601245249
2024-01-24 15:04:27 -08:00
Eugene Ostroukhov 2fc9dd1546 [build] Update `envoy-api` and `xds` dependencies (#35603)
Closes: #34966

Closes #35603

PiperOrigin-RevId: 600919492
2024-01-23 15:15:47 -08:00
Richard Belleville 7e7b4fd1a4 Fix breakage when built against protobuf head (#34945)
This PR is required in order to upgrade to the `master` branch version of protobuf. To do this, we upgrade to the latest version of `rules_python` by:

- Adding in explicit dependencies on all PyPi Bazel test dependencies
  - Resolving the circular dependency this creates for `xds-protos` by giving it a Bazel build
    - Generating the Python code for `xds-protos` as part of `generate-projects.sh` since doing so directly in Bazel would be highly fragily, dependent on many other projects' Bazel builds

Closes #34945

PiperOrigin-RevId: 599875020
2024-01-19 12:43:14 -08:00
ericsalo a6823b6e97 Fix deprecation warnings from upb (#35510)
Replace "upb:collections" with "upb:message"
Replace "upb/collections" with "upb/message"
Replace "upb:upb" with "upb:mem" and/or "upb:base"
Replace "upb/upb.hpp" with "upb/mem/arena.hpp" and/or "upb/base/status.hpp"

Closes #35510

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/35510 from ericsalo:master 112392a050
PiperOrigin-RevId: 597872730
2024-01-12 10:15:56 -08:00
Craig Tiller a100e90f97 [chttp2] Remove a bunch of mostly-rolled-out experiments (#35426)
- `memory_pressure_controller` finally - allows deletion of pid_controller throughout the codebase
- `overload_protection` - one of the http2 rapid reset mitigations
- `red_max_concurrent_streams` - another http2 rapid reset mitigation

Closes #35426

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/35426 from ctiller:new-years-cleanse 4651672e7e
PiperOrigin-RevId: 595205029
2024-01-02 14:07:55 -08:00
Craig Tiller 853e8c62f0 [call-v3] Move BackendMetricFilter to the v3 interface (#35416)
Closes #35416

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/35416 from ctiller:megawrt 9884323db9
PiperOrigin-RevId: 595151552
2024-01-02 10:33:31 -08:00
Vignesh Babu b25a382b60 [EventEngine] Adjust visibility of event_engine_base_hdrs and //src/core:useful targets
PiperOrigin-RevId: 594060115
2023-12-27 10:33:40 -08:00
Esun Kim 45aecbe355 [Tool] Added Bazel 7 basic support (#35362)
- Added Bazel 7 to the support bazel versions.
- Changed the default Bazel version to 7.
- Fixed Android Binder build issue.

Closes #35362

PiperOrigin-RevId: 592946781
2023-12-21 14:13:56 -08:00
Esun Kim 594d370819 [Build] Prepared for Bazel 7 (#35374)
This is a prerequisite change to start supporting Bazel 7. Changes are

- Disabled bzlmod which Bazel 7 begins to enable by default. This eventually needs to be done to support bzlmod but not now.
- Upgraded some bazel rule dependencies which are required to support Bazel 7.
- Using Python 3 explcitly as Bazel 7 begins to reject Python 2.

Note that this isn't enough to enable Bazel 7 by default and another PR will follow for that.

Closes #35374

PiperOrigin-RevId: 592931675
2023-12-21 13:02:38 -08:00
Esun Kim 769b27479a [Deps] Update protobuf & upb to 3.25.1 (#35315)
On top of https://github.com/grpc/grpc/pull/35285, upb is also upgraded in this PR.

Closes #35315

PiperOrigin-RevId: 592672254
2023-12-20 15:29:31 -08:00
Yash Tibrewal 5aeb7dabe0 [OTel] Update OTel Bazel dep to v1.13.0 (#35352)
Update OTel dep to 4bd64c9a33

Fixes https://github.com/grpc/grpc/issues/35187

Closes #35352

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/35352 from yashykt:UpdateOTel 25f1289d43
PiperOrigin-RevId: 592613910
2023-12-20 11:31:53 -08:00
AJ Heller 18b58450b0 Remove legacy `iomgr_timer` gRPC target visibility
PiperOrigin-RevId: 592347810
2023-12-19 14:41:30 -08:00
Craig Tiller 585bdccf45 Automated rollback of commit a5a25c7dad.
PiperOrigin-RevId: 591269197
2023-12-15 09:02:15 -08:00
Greg 1ddd02cd5b Change outdated cfg = "host" to cfg = "exec" (#35258)
Preserves future Bazel compatibility:https://github.com/bazelbuild/bazel/issues/17032

Extension of https://github.com/grpc/grpc/pull/32021 which missed review.

release notes: no

Closes #35258

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/35258 from gregestren:master 7379674a44
PiperOrigin-RevId: 591092923
2023-12-14 17:10:44 -08:00
gRPC Team Bot a5a25c7dad Automated rollback of commit b455726401.
PiperOrigin-RevId: 591089109
2023-12-14 16:54:20 -08:00
Esun Kim 9677ab7682 Updated zlib to 1.3 (#35147)
Closes #35147

PiperOrigin-RevId: 591028632
2023-12-14 13:12:45 -08:00
Craig Tiller b455726401 [call-v3] Convert server auth filter (#35299)
Closes #35299

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/35299 from ctiller:v3-server-auth 32c3ee4821
PiperOrigin-RevId: 591000230
2023-12-14 11:22:42 -08:00
Craig Tiller 4e666c740b Internal change
PiperOrigin-RevId: 590780731
2023-12-13 20:06:30 -08:00
Tanvi Jagtap 8019903a44 Internal configuration cleanup
PiperOrigin-RevId: 590528536
2023-12-14 03:42:30 +00:00
Craig Tiller ff63ad9413 [call-v3] Convert message compression filter (#35269)
Closes #35269

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/35269 from ctiller:cg-compress 0304821f07
PiperOrigin-RevId: 590010564
2023-12-11 17:58:00 -08:00
Craig Tiller b63a21b419 [inproc] Call out requirements for inproc transport experiment (#35267)
Closes #35267

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/35267 from ctiller:cg-experiment-requires 242a3cd21a
PiperOrigin-RevId: 589932835
2023-12-11 13:38:45 -08:00
Craig Tiller 57dacad8c7 [call-v3] Idle/max-age filters (#35270)
Closes #35270

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/35270 from ctiller:cg-idle 5312003ca6
PiperOrigin-RevId: 589913523
2023-12-11 12:45:34 -08:00
Craig Tiller 01fb4a0fe4 [experiments] Clean up some rolled out experiments (#35195)
Closes #35195

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/35195 from ctiller:cleanup-cleanup 1f22298ac9
PiperOrigin-RevId: 587857022
2023-12-04 15:17:42 -08:00
Yash Tibrewal 6e18346c96 [otel] Update OTel to head (#35151)
This is mainly to get the fix made in https://github.com/open-telemetry/opentelemetry-cpp/pull/2213
When opentelemetry-cpp makes a stable release with this fix, we'll switch to that.

Closes #35151

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/35151 from yashykt:UpdateOTel 1041fbc0bc
PiperOrigin-RevId: 586815878
2023-11-30 16:09:37 -08:00
Craig Tiller 399fded213 Reapply "[experiments] Explicit requirement check" (#34911) (#34915)
This reverts commit b0e0659bab.

Closes #34915

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/34915 from ctiller:requires2 8e4f033317
PiperOrigin-RevId: 583110606
2023-11-16 11:35:25 -08:00
gRPC Team Bot 8bed0f30fb Internal change
PiperOrigin-RevId: 582062765
2023-11-13 21:49:47 +00:00
Adam Cozzette 016ed921ce
[deps] Upgrade protobuf version to v25.0 (#34513)
This commit upgrades gRPC to protobuf v25.0 and makes some fixes to
account for upb changes. One major change is that upb has been merged
into the protobuf repo, so we can now drop the separate `@upb`
dependency. Another is that `.upb.c` files no longer exist and there are
new `.upb_minitable.h` and `.upb_minitable.c` files. The longer
filenames exceeded a Windows restriction, so to work around that I
renamed the `upb-generated` directory to just `upb-gen`, and likewise
for `upbdefs-generated`.
2023-11-10 00:11:09 -08:00
Alisha Nanda b0e0659bab
Revert "[experiments] Explicit requirement check" (#34911)
Reverts grpc/grpc#34880, needs to be cherry-picked in.
2023-11-09 11:23:58 -08:00
Craig Tiller 88011e05f5
[experiments] Explicit requirement check (#34880)
Add a config to experiments & rollouts to allow dependent experiments to
be flagged.

We're getting past the point where it's possible to reason about which
experiments need to be turned off if we disable some other experiment,
and so this provides some additional rollout safety.

Can be specified in both experiments and rollouts: experiments.yaml
makes the most sense and we should default to it, but rollouts.yaml lets
us put dependencies between internal & external dependencies internally
and that's gonna be a little useful.

---------

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2023-11-08 16:05:03 -08:00
Esun Kim d77e5c0dd3
[Build] Dropped Bazel 5.x and Upgraded Bazel 6.4.0 (#34813)
- Dropped Bazel 5.x support aligned with [Foundational C++ support
policy:
Bazel](https://opensource.google/documentation/policies/cplusplus-support).
- Upgraded Bazel 6 to 6.4.0 (the latest)
- Updated gRPC Bazel documentation to be aligned with the policy above.
2023-11-06 15:47:29 -08:00
AJ Heller 64207f8b08
[EventEngine] Enable EventEngine Listener experiment for Posix builds (#34851)
Previously disabled due to

* a problem in the core/end2end http_proxy_fixture (fixed in
https://github.com/grpc/grpc/pull/34838)
* a race with the EventEngine in the bad_server_response test (fixed in
https://github.com/grpc/grpc/pull/34816)
2023-11-01 14:37:22 -07:00
AJ Heller 1566fa42f4
[build] Exclude end2end experiment variations from distribtests (#34850) 2023-11-01 13:53:20 -07:00
AJ Heller 1fd45fcd01
[EventEngine] Disable Posix EventEngine Listener experiment (#34793)
There are a small handful of failures:

TSAN issue:
*
https://source.cloud.google.com/results/invocations/f82a4be1-a38e-4a19-b22f-295ed6f7d2d2/targets/%2F%2Ftest%2Fcore%2Fend2end:bad_server_response_test@poller%3Dpoll/log

Flakes:
*
https://source.cloud.google.com/results/invocations/a11b04d8-e0d1-4175-a7a2-6e712b9bef9b/targets/%2F%2Ftest%2Fcore%2Fend2end:cancel_with_status_test@poller%3Depoll1/tests
2023-10-25 10:38:50 -07:00