Commit Graph

762 Commits

Author SHA1 Message Date
apolcyn 9f1663fb74
Upgrade c-ares to 1.17.2 (#28671)
Upgrade c-ares dependency to 1.17.2
2022-01-25 10:41:18 -08:00
apolcyn 6bf8e22484
Add http cancel api (#28354)
Add an API to cancel HTTP1 requests
2022-01-25 10:37:05 -08:00
Esun Kim 01011ab259
Revert "Buildify Envoy upb (#28558)" (#28648)
This reverts commit 97584d8346.
2022-01-21 08:35:13 -08:00
Esun Kim 97584d8346
Buildify Envoy upb (#28558)
* Buildigy xds

* Generate project

* Buildify envoy

* Added new upb files

* Removed unused upb targets

* Fix grpc_cel_engine

* Update envoy-api to the latest

* Regen upb

* Regen projects

* Fix bazel build on MacOS

* More fix on bazel mac

* Disable grpc_tool_test on Mac

* Regen projects
2022-01-20 22:29:58 -08:00
Esun Kim e0a3a513a9
Buildify upb targets for validate & udpa (#28531)
* Buildify upb targets for validate & udpa

* Fix sanity test
2022-01-13 16:11:56 -08:00
AJ Heller e22f07dc4c
Fix tautological unsigned comparison (#28537)
* Fix invalid unsigned comparison

This also enables the -Wtype-limits warning, which is included in GCC's
-Wextra, but not in Clang's -Wextra.
2022-01-12 16:01:48 -08:00
Jan Tattermusch d61b564ac0
Update third_party/boringssl-with-bazel (#28510)
* Update third_party/boringssl-with-bazel

* regenerate projects

* regenerate boringssl prefix headers

* Increase boringssl podspec version

* regenerate projects (2nd time)
2022-01-12 18:39:29 +01:00
Jan Tattermusch 42c08b9b56
Update third_party/protobuf to v3.19.2 (#28511)
* Update third_party/protobuf

* run tools/distrib/python/make_grpcio_tools.py

* regenerate protos for csharp, ruby, php

* update build_handwritten.yaml

* regenerate projects
2022-01-12 18:35:07 +01:00
Lidi Zheng 9a593c7126
Remove Python2 from python_configure.bzl (#28406)
* Remove Python2 from python_configure.bzl

* Replace py2and3_test with py_test with PY3

* Fix typo in the bazel script
2021-12-28 10:16:14 -08:00
Michael P. Nitowski 9b964f8c46
Bump Bazel Python Cython dependency to 0.29.26 (#28398)
Prevents _PyGen_Send undefined symbol error when running on Python 3.10
(https://github.com/cython/cython/issues/3876)

This issue was fixed in Cython version 0.29.22
2021-12-21 16:11:30 -08:00
Thomas Köppe 324ea5a9c1
[bazel] Fix import path for virtual packages (#28103)
This change moves the logic for computing the package name part of an
import directory from python_rules.bzl to protobuf.bzl, and reinstates
the workspace root part of the directory. The effect is that it is now
possible for a py_library_rule to depend on a proto_library in a
different repository whose source files are generated.
2021-12-14 18:39:29 -08:00
Denny C. Dai 0087990e07
iOS ThirdPartyTest suite for libuv dns test (#28304) 2021-12-14 12:51:50 -08:00
Thomas Köppe 90a56a3d15
[bazel/protobuf.bzl] Improve py_proto_library path handling (#28040)
This change replaces the simple `basename` logic with a more general
"remove prefix" logic. This allows py_proto_library to work even when
the input proto_library's sources are contained in strict
subdirectories of their package. (This situation is not uncommon when
using remote, non-Bazel repositories that only get a single BUILD file.)
2021-12-13 10:08:30 -08:00
Esun Kim 5088014987
Boringssl update to 4fb1589 (#28194)
* update submodule boringssl-with-bazel with origin/main-with-bazel

* update boringssl dependency to main-with-bazel commit SHA

* regenerate files

* generate boringssl prefix headers

* Increment podspec version
2021-11-23 16:02:56 -08:00
Jan Tattermusch ce74e092e6
add --log_metadata_and_status feature to interop_client (#28021) 2021-11-23 15:32:13 -08:00
Esun Kim 9be7ca5a55
Roll-forward #27780 (#27951)
* Revert "Revert #27780 (#27944)"

This reverts commit 26e7560309.

* Fix google_api_upbdefs
2021-11-18 18:18:02 -08:00
Esun Kim 461bb5e41f
To LTS 20211102.0 (#27916) 2021-11-18 16:24:44 -08:00
Esun Kim 11f440775b
Fix xds_end2end_test dyld (#28133) 2021-11-18 16:08:41 -08:00
Esun Kim 2fd63f2f81
Upgrade upb to 0e0de7d9 (#27984)
* Remove upb first

* Squashed 'third_party/upb/' content from commit 0e0de7d9f9

git-subtree-dir: third_party/upb
git-subtree-split: 0e0de7d9f927aa888d9a0baeaf6576bbbb23bf0b

* Update bazel deps

* Regen upb files

* Fix build
2021-11-15 14:44:35 -08:00
Esun Kim 26e7560309
Revert #27780 (#27944) 2021-11-04 15:00:37 -07:00
Richard Belleville 468768865b
Make Buildifier Sanity Test Strict (#27807)
* Fix all lint errors in repo.

* Use strict buildifier by default

* Whoops. That file does not exist

* Attempt fix to buildifier invocation

* Add missing copyright
2021-11-03 14:57:04 -07:00
Esun Kim d5971f49c4
Added a new bazel-integrated upb code-gen (#27780)
* Added bazel-integrated upb code-gen

* Update by review

* Update by review
2021-11-01 12:51:48 -07:00
Mark D. Roth 3bde8305cc
Second attempt: Don't build RLS on mobile (#27878)
* Revert "revert changes to not build RLS on mobile (#27875)"

This reverts commit 73ad459c51.

* new approach using multiple select() calls
2021-11-01 10:26:01 -07:00
Vy Nguyen 70b26a1c7c
Upgrade benchmark to 1.6.0 and remove previous hacks. (#27778)
* Upgrade benchmark to 1.6.0 and remove hacks.

Details:
 - GRPC currently uses an old version of benchmark (from Sept 2020). It should probably upgrade because downstream, in google3, everyone is already using 1.6.0)
 - Removed the hack added in PR/27629 to allow benchmarks in GRPC to continue to work with both pre-1.6.0 and 1.6.0 benchmarks.
   (This was needed to allow importing benchmarks 1.6.0 into google3 without breaking GRPC)

* fix typo

* update third_party/benchmark and check_submodules.sh

* Upmerge from v1.41.x (#27821)

* Bump version to v1.41.0-pre1 (#27371)

* Bump version to v1.41.0-pre1

* Regenerate projects

* [Backport #27373] add testing_version flag (#27385)

* Bump version to v1.41.0-pre2 (#27390)

* Bump version to v1.41.0-pre2

* Regenerate projects

* Core 19: bump core version from 18.0.0 to 19.0.0 (#27394)

* Bump core version to 19.0.0

* Regenerate projects

* fix use-after-free metadata corruption in C# when receiving response headers for streaming response calls (#27398)

* Final release: bump up version to 1.41.0 (#27476)

* Bump version to 1.41.0

* Regenerate projects

* xds_k8s_test: increase timeout to 3 hours due to recent timeout failure (#27580)

* Revert "xds_k8s_test: increase timeout to 3 hours due to recent timeout failure (#27580)" (#27590)

This reverts commit da0c7d680f.

* Update root pem certs (backport of #27539) (#27619)

* Update boringssl to the latest (#27606) (#27625)

* Change boringssl branch name

* update submodule boringssl-with-bazel with origin/main-with-bazel

* update boringssl dependency to main-with-bazel commit SHA

* regenerate files

* Increment podspec version

* generate boringssl prefix headers

* Bumping up version to v1.41.1 (#27699)

* Bump version to v1.41.1

* Regenerate projects

* [Backport][v1.41.x] xds-k8s tests: Use test driver from master branch (#27695)

Backports sourcing the test driver install script from master.

This is a backport of #27389, #27462 and #27658:


* Add missing quatation marks.

These were missed when  creating the Python virtual env.

* 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.

* 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.

* Fix Python Interop (#27620) (#27703)

* WIP. Attempt to fix interop

* Yapf

* Switch Python xDS Example Server to Listen on IPV4 Only (#27679)

* Switch to IPV4

* Update to all hosts

* Fix rvm ruby install failure (#27769)

Co-authored-by: donnadionne <donnadionne@google.com>
Co-authored-by: Lidi Zheng <lidiz@google.com>
Co-authored-by: Jan Tattermusch <jtattermusch@users.noreply.github.com>
Co-authored-by: sanjaypujare <sanjaypujare@users.noreply.github.com>
Co-authored-by: Sergii Tkachenko <sergiitk@google.com>
Co-authored-by: Esun Kim <veblush@google.com>
Co-authored-by: Terry Wilson <terrymwilson@gmail.com>
Co-authored-by: Richard Belleville <rbellevi@google.com>

* added perf_counters.cc manually since the script didn't work

Co-authored-by: Mark D. Roth <roth@google.com>
Co-authored-by: donnadionne <donnadionne@google.com>
Co-authored-by: Lidi Zheng <lidiz@google.com>
Co-authored-by: Jan Tattermusch <jtattermusch@users.noreply.github.com>
Co-authored-by: sanjaypujare <sanjaypujare@users.noreply.github.com>
Co-authored-by: Sergii Tkachenko <sergiitk@google.com>
Co-authored-by: Esun Kim <veblush@google.com>
Co-authored-by: Terry Wilson <terrymwilson@gmail.com>
Co-authored-by: Richard Belleville <rbellevi@google.com>
2021-10-27 08:55:42 -07:00
Yash Tibrewal 49fd4bdafa
Upgrade Abseil to LTS 20210324, Patch 2 (#27811)
* Update submodule abseil-cpp to Abseil LTS 20210324, Patch 2

* Update bazel dependencies and generate projects

* Revert podspec changes
2021-10-25 13:55:16 -07:00
Richard Belleville eab375e439
Reland #27275 (#27806)
* Revert "Revert "Add Aspects to Bazel py_proto_library and py_grpc_library Rules (#27275)" (#27805)"

This reverts commit 763e5b40f3.

* Remove unused symbol
2021-10-21 19:37:24 -07:00
Craig Tiller 763e5b40f3
Revert "Add Aspects to Bazel py_proto_library and py_grpc_library Rules (#27275)" (#27805)
This reverts commit e970b8fa03.
2021-10-21 17:05:56 -07:00
Michael Beardsworth e970b8fa03
Add Aspects to Bazel py_proto_library and py_grpc_library Rules (#27275)
* Move most py_proto_library macro contents into rule.

The _generate_pb2_src rule is modified to produce a valid PyInfo
provider that can be depended on directly by py_.* rules.

Keeping an intermediate macro in place increases complexity without
adding any real value.

* Move most py_grpc_library macro contents into rule.

The _generate_pb2_grpc_src rule is modified to produce a valid PyInfo
provider that can be depended on directly by py_.* rules.

Keeping an intermediate macro in place increase complexity without
adding any real value.

* Remove support for additional plugins.

It's easy enough for a plugin author to build their own rule-set, and it
adds extra unused (and untested) complexity to gRPC's rules.

* Rewrite py_proto_library to track dependencies correctly.

* Propagate Python dependencies of py_grpc_library rules to consumers.

* Add test coverage for aspect-based py_proto_library.
2021-10-21 15:56:37 -07:00
Jan Tattermusch eceffa09cb
upgrade protobuf to 3.18.1 (automatically generated) (#27722)
* Update third_party/protobuf

* run tools/distrib/python/make_grpcio_tools.py

* regenerate protos for csharp, ruby, php

* update build_handwritten.yaml

* update Protobuf-C++.podspec

* regenerate projects

* [objc] Patch protobuf podspec for 3.18.1 update

- excluding reflection_tester with gtest dependency

Co-authored-by: dennycd <dennycd@google.com>
2021-10-21 14:52:28 -07:00
Richard Belleville 25d8458721
Migrate remaining tests with protobuf dep to Python 3 only (#27776)
* Migrate remaining tests with protobuf dep to Python 3 only

* Move Bazel Python repo tests off of Python 2

* Format
2021-10-20 09:13:52 -07:00
Mark D. Roth a54243862a
Boringssl upgrade (#27710)
* update submodule boringssl-with-bazel with origin/main-with-bazel

* update build files

* generate boringssl prefix headers

* update podspecs
2021-10-14 10:23:21 -07:00
Mark D. Roth e20dfeccc2
upgrade xDS protos (#27698) 2021-10-13 13:27:47 -07:00
AJ Heller bdd73337a5
fix libuv dep hash (#27704) 2021-10-13 09:48:00 -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
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
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
Esun Kim c56b0a3818
Update boringssl to the latest (#27606)
* Change boringssl branch name

* update submodule boringssl-with-bazel with origin/main-with-bazel

* update boringssl dependency to main-with-bazel commit SHA

* regenerate files

* Increment podspec version

* generate boringssl prefix headers
2021-10-06 10:02:23 -07:00
Craig Tiller d1e01ac139
Add a test for a (now-illegal) build file construct (#27602)
* Add a test for a (now-illegal) build file construct

* add to test suite!

* fix

* fix

* fix syntax
2021-10-06 07:43:59 -07:00
Craig Tiller 7d2f9c842c
Revert "Reland moving promises build config out of root (#27561)" (#27610)
This reverts commit 391f2fc2c7.
2021-10-05 14:27:46 -07:00
Craig Tiller 391f2fc2c7
Reland moving promises build config out of root (#27561)
* Revert "Revert "Try moving promises build config out of root (#27400)" (#27504)"

This reverts commit f0fc72f2a4.

* Automated change: Fix sanity tests

* fix

* Automated change: Fix sanity tests

* merge with other changes

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-10-05 10:31:02 -07:00
Denny C. Dai 9870583cea
Revert "[objc] Switch to forward declare proto & clean up (#27444)" (#27521)
This reverts commit 4ad495420f.
2021-09-29 15:03:36 -07:00
Denny C. Dai eda416769e
Revert "Revert "[objc] Switch to forward declare proto & clean up (#27444)" (#27473)" (#27475)
This reverts commit 8a359d637c.
2021-09-28 14:42:59 -07:00
Craig Tiller f0fc72f2a4
Revert "Try moving promises build config out of root (#27400)" (#27504)
This reverts commit fd64bbebb5.
2021-09-28 09:34:55 -07:00
Craig Tiller fd64bbebb5
Try moving promises build config out of root (#27400)
* Try moving promises build config out of root

* buildifier

* fix copyright
2021-09-28 09:09:51 -07:00
Craig Tiller 8a359d637c
Revert "[objc] Switch to forward declare proto & clean up (#27444)" (#27473)
This reverts commit 4ad495420f.
2021-09-24 12:14:41 -07:00
Denny C. Dai 4ad495420f
[objc] Switch to forward declare proto & clean up (#27444) 2021-09-23 18:15:20 -07:00
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
2021-09-23 16:20:25 +02:00
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>
2021-09-22 14:40:43 -07:00
Yash Tibrewal 205445ffc6
Update submodule envoy-api to origin/main (#27256)
* Update submodule envoy-api with origin/main

* Update UPB generated files
2021-09-07 12:54:20 -07:00
donnadionne f9a2a7401a
Upgrade third_party/protobuf to v3.17.3 (#27227)
* update protobuf dependency

* version changes and generated files

* updating upb to use the latest proto and regen files
2021-09-05 22:21:37 -07:00
donnadionne 022cff7d7c
update submodule boringssl-with-bazel with origin/master-with-bazel (#27208)
* update submodule boringssl-with-bazel with origin/master-with-bazel

* update boringssl dependency to master-with-bazel commit SHA

* regenerate files

* Updated sha256

* generate boringssl prefix headers

* Increment podspec version
2021-09-01 11:25:01 -07:00
Craig Tiller 8605020195
Add a visibility tag for channelz (#27143) 2021-08-26 13:04:57 -07:00
Esun Kim 7ccb55ea73
Upb upgrade to the lastest (#26869)
* Squashed 'third_party/upb/' changes from 60607da72e..2de300726a

2de300726a Merge pull request #401 from philwo/patch-1
0010bd88ff Merge pull request #403 from haberman/google-wyhash
3f7ecfe315 A few fixes in the 32-bit fallback.
2c14e2788d Added #include for Windows instrinsic.
9e618009ec Removed some extraneous whitespace.
c4744c0b21 Updated generated files.
039975556d Merge branch 'master' into google-wyhash
ff9d011f12 Merge pull request #402 from haberman/update-ads-benchmark
c2f2e93990 Fix Bazel at 4.1.0
41bfbca375 Updated ads benchmark to v7 as v5 no longer exists upstream.
91d506ac32 Ported ABSL's wyhash to C.
3328f06117 Remove ubuntu1604 from presubmit.yml
f925acf5f0 Merge pull request #400 from haberman/extreg
897bd2500a Fixed compile error.
6e53de4a03 Addressed PR comments.
cdd6434a31 Introduced upb_extreg and plumbed it into decoder.
69f186bd75 Merge pull request #399 from haberman/msg-extrep
3f8aa6ef20 Define the extension representation in messages and mini-tables.
4ccfab154b Merge pull request #398 from haberman/field-mode
58e158c6fa Changed mini-table to use a custom "mode" instead of descriptor's "label."
7596fa740f Merge pull request #397 from haberman/codegen-refactor
fa4dfc2baa Addressed PR comments.
0fb61eaeb5 Refactored the codegen into smaller functions, in anticipation of extensions.
52be845c39 Merge pull request #396 from haberman/pre-ext-opt
807e7fe9e2 Fixed dense_below logic to be order-independent and consistent between def.c and codegen.
2e8a122fc0 Changed dense_below calculation to use UINT8_MAX as the constant.
6394894b6e Addressed PR comments.
65d7b8ab0c Optimized decoder and paved the way for parsing extensions.
3e035cb553 Merge pull request #395 from haberman/locale
e8ba2a1899 Added a fix for locales that output ',' as decimal separator.
7010a73828 Merge pull request #394 from haberman/file-uniqueness
9482957425 Enforce that filenames are unique when loaded into symtab.
aaad7801bf Merge pull request #393 from haberman/has-attribute
7887dc0c76 Fixed the __has_attribute() check for old versions of Clang.
01e7436ed3 Merge pull request #390 from haberman/musttail
4132034634 Addressed PR comment.
ed708fcd5d Addressed PR comments.
876abae2db Removed some debug printing and simplified checktag slightly.
286441afa7 Fixed a size regression due to inlining UTF-8 verification.
75df4cdaa3 Loosened the check for fasttable to match what we did before.
e84793dd73 Cleaned up debugging artifacts.
a4b35aa388 Everything passes except 4 conformance tests.
6e10b5789d Removed redundant license from port_def in amalgmation.
4f1e48ecc6 Updated amalgamator to avoid duplicating license blocks.
0723bfa700 Merge pull request #387 from haberman/json-null
dda5416569 Update bazel-skylib main branch name.
2fa52e6951 Merge branch 'master' into json-null
a3126b7c7e Merge pull request #388 from haberman/fix-macos
b344a6c582 Fixed the macOS build for XCode 11.3.
a778f2639a Only perform multiple oneof check for non-null fields.
42bdfcb849 Fix BUILD file.
75d6dab37a Merge pull request #384 from haberman/internal
3881393907 Renamed .int.h to _internal.h, for greater clarity.
5084cbe646 Merge pull request #383 from fowles/master
da4b75b979 Fix build rules for more restrive deps checks
a8f9cf54cf Merge pull request #382 from haberman/license-headers
1ba446ccfe Updated Google, Inc. to Google LLC.
823eb09694 Update all 2011 dates to 2021.
ff89277ef0 Merge pull request #380 from fowles/master
5f74d43cf9 Re-add some comment text that was accidentally removed.
0f27b0450a Merge branch 'master' into license-headers
e59d2c8fa7 Added license headers to all files.
be4f64b926 Merge pull request #381 from haberman/mv-msg-public
1674f28dd7 Put public message interface into msg.h and moved internal functions to msg.int.h.
6481f6319e Spell out deps explicitly
f104225a1e Merge pull request #376 from haberman/fix-quadratic-mem
3c3799498d Merge pull request #379 from fowles/master
2e83d5c98f Remove unused file test_util.h
b053fa6991 Merge pull request #378 from fowles/master
7876639e50 remove unused macro
5b97df91dd Restrict fuse to matching block_alloc
e74d6c23de Small renames and use uintptr_t instead of void*
d9a0c58108 Allow arena fuse to fail
53f5d9f69b Merge pull request #377 from haberman/json-parse-null
8370818143 Switch to a macro to avoid signed/const mismatches.
63ad3db980 Fixed "NULL + 0" UB in JSON encoder and decoder.
add9b12f18 Fixed quadratic memory usage in upb_array_append().
97e2aeb7ee Merge pull request #375 from haberman/cleanups
83c0edbd2a A few minor cleanups.
baa7fe7473 Merge pull request #374 from haberman/update-deps
900bd5c426 Merge pull request #355 from haberman/aarch64
89df647460 Updated versions of ABSL and protobuf deps.
e4343f0fa3 Update comment for ARM64.
103d51f102 Merge branch 'master' into aarch64
1b9cc09f0e Removed extraneous copybara directive.
bbd817fdb6 Merge pull request #373 from haberman/table-cleanup
c358829c76 Now that handlers are gone, cleaned up table to use arenas exclusively.
ed5b4108e0 Merge pull request #363 from haberman/delete-handlers
bfa528f0ae Merge pull request #372 from haberman/errmsg-fix
ec9ba3f893 Fixed error message buffer overflow.
eb0fdda14b Merge pull request #371 from haberman/json-any
e58f7a0284 Fix for Any messages with no fields.
7541ba0f38 Merge pull request #364 from catenacyber/cifuzz
81829bacc3 Removed quote chars from error message.
88ed8f5d3b Changed JSON decoding error message to be more clear.
f41c0ec261 Added an internal API to get arena from symtab, for Ruby's use.
b080659eee Merge pull request #367 from haberman/timestamp-minute-offset
f7ed1f27a3 Support non-zero minutes in the timestamp offset for JSON.
451dcbbb9a Adds CIFuzz
f5d2d55007 Deleted the legacy "Handlers" APIs. upb can finally be deserving of its name.
0f40d59258 Merge pull request #362 from haberman/rb-warnings
c7787cbaa1 Fixed a bunch of Clang warnings.
5e53b5bb3d Merge pull request #360 from haberman/default-msgval
7a6e647be1 Merge branch 'master' into default-msgval
edb0a9a2d9 Merge pull request #361 from haberman/arena-bugfix
9175989431 Bugfix for arena cleanup list when passing to upb_decode().
5e550e88f8 Added API for getting fielddef default as a upb_msgval.
de76b31f9c Merge pull request #359 from veblush/fix-upbdefs
3cab8a38fc Fixed upbdefs error
48bb3e5662 Merge pull request #357 from veblush/string-opt
4c67b2086b Merge pull request #358 from veblush/clang-tidy-fix
38b4beed6b Fix clang-tidy function 'upb_encode_ex' has a definition with different parameter names
9b020d8f65 Optimize calls to std::string::find() and friends for a single char.
3c9ae7837a The fasttable parser works on ARM64!

git-subtree-dir: third_party/upb
git-subtree-split: 2de300726a1ba2de9a468468dc5ff9ed17a3215f

* Updated upb for bazel

* Regen upb files

* Updated src/upb/gen_build_yaml.py
2021-08-06 10:30:53 -07:00
Tamir Duberstein ccad567e0b
Disallow implicit fallthrough (#26874)
Most instances were already explicit through comments, so it's clear
that the author cared about being explicit; use the compiler to ensure
this is always the case.
2021-08-04 21:34:27 -07:00
Lidi Zheng 826da6136c
Update Envoy API to the latest version (2021-07-30) (#26848)
* Bump Envoy and related submodules to latest

* Update googleapis

* Update scripts for newer submodules

* Update udpa

* Add opentelemetry

* Python changes for opentelemetry

* Update udpa in check_submodules

* Add opentelemetry to check submodules

* Regenerate upb files

* Add new proto dependency to upb-gen and Bazel

* Regenerate project
2021-08-03 09:12:42 -07:00
Craig Tiller 3c0590d4f8
Update a few owners files (#26854)
* Update owners

* Update owners
2021-08-02 21:50:38 -07:00
Esun Kim 6005cf4c4e
Upgrade gcr.io/oss-fuzz-base/base-builder to the latest (#26859)
* Upgrade gcr.io/oss-fuzz-base/base-builder to the latest
2021-08-02 16:52:15 -07:00
Nicolas Noble a325d7f77a
Pointing the protobuf submodule to the new URL (#26811)
* Pointing the protobuf submodule to the new URL

* Also changing WORKSPACE dependencies

* More references to the old URL...
2021-07-29 10:19:16 -07:00
Craig Tiller 488310ac6d
Add another visibility tag (#26644)
* Update visibility tags

Add some tags to the bazel build that we can leverage internally to help
control visibility in the Google build system.

* review feedback

* Add needed visibility tag
2021-07-09 11:13:19 -07:00
Craig Tiller dc6f6e36fc
Update visibility tags (#26641)
* Update visibility tags

Add some tags to the bazel build that we can leverage internally to help
control visibility in the Google build system.

* review feedback
2021-07-08 16:53:42 -07:00
Craig Tiller 6d96a2221d
Enable layering checks in the Bazel build (#26591)
* Enable layering checks

* fix dep

* update projects

* fix clang-tidy
2021-07-01 15:10:51 -07:00
apolcyn fed797b70d
Update boringssl submodule (#26520)
* update submodule boringssl-with-bazel with origin/master-with-bazel

* update boringssl dependency to master-with-bazel commit bcc01b6c66b1c6fa2816b108e50a544b757fbd7b

* regenerate projects

* Updated sha256

* Increment podspec version

* Second regeneration
2021-06-21 13:58:40 -07:00
Lidi Zheng afc040b07a
Upgrade six from 1.12 to 1.16 in Bazel (#26451) 2021-06-08 14:37:44 -07:00
Alexander Grund c46dd9ca9d
Fix environment for protobuf compilation (#23664)
Add use_default_shell_env = True to protoc invocation to mirror
what the protobuf cc_proto_library & co are doing
Fixes a failure in invocing protoc when it is build in a non-default
environment (e.g. with a custom LD_LIBRARY_PATH)
2021-06-03 10:09:54 -07:00
Richard Belleville 05aa736840
Fix bazel copyright notices (#26353)
* Add copyright to Bazel files

* Add check for copyright in Bazel files

* Remove unintentional file
2021-05-25 12:15:30 -07:00
Craig Tiller 7d2f9ff515
Build visibility macro system (#26252)
A corresponding update to the build system will need to occur before this is submitted.

Add a way of labelling in build configuration meta-visibility-rules, so that these can be leveraged to restrict visibility in Google's build system upstream.
2021-05-20 13:01:26 -07:00
Yash Tibrewal 81276fff2e
Update protobuf version to 3.15.8 (#26105)
* Update protobuf version to 3.15.8

* Run tools/distrib/python/make_grpcio_tools.py
2021-04-30 11:03:23 -07:00
Yash Tibrewal fe56d1a39a
Update boringssl submodule (#26101)
* update submodule boringssl-with-bazel with origin/master-with-bazel

* Update boringssl dependency to master-with-bazel commit SHA

* Generate projects

* Updated boringssl sha256

* Generate boringssl prefix headers

* Increment podspec version
2021-04-29 11:10:00 -07:00
Lidi Zheng 2210819f85
Remove _xds suffix Bazel rules completely (#25980)
* Reduce the usage of _xds Bazel rules

* Inject DISABLED_XDS_PROTO_IN_CC to admin_services_end2end_test

* Remove _xds suffix Bazel rules completely

* Remove the _xds rules from imports

* Simplify the ifndef usage in admin_services_end2end_test
2021-04-15 12:50:00 -07:00
easy 57859e3c9d
Remove duplicate code for grpc encoding, and extra class. (#22334)
* Remove duplicate code for grpc encoding, and extra class.

Originally from #18359 by @bogdandrutu.

* Autoformat.
2021-04-08 11:42:56 +02:00
Esun Kim 37eecd3ce3
Updated Abseil to LTS 20210324.0 (#25835)
* Updated abseil-cpp to 20210324.0
* UBSAN with -fsanitize-link-c++-runtime
2021-03-30 09:22:05 -07:00
Lidi Zheng 1040fbdb9f
Re-introduce "CSDS Implementation" (#25762)
* Revert "Revert "CSDS Implementation (#25038)" (#25745)"

This reverts commit 98fd4e1e36.

* Add xDS special Bazel build rules

* Add 2 todos to remove the added rules
2021-03-22 13:14:19 -07:00
AJ Heller 949c37c884
Add google storage URLs for all mirrored bazel dependencies (#25710) 2021-03-15 14:13:00 -07:00
donnadionne d3e97d953b
Adding xxhash as a subtree (#25645) 2021-03-11 09:09:40 -08:00
Clément Péron 5e13018330
Update third_party/benchmark to v1.5.2 (#25184)
This fix the following error when compiling:
error: #error C++11 or greater detected by the library. BENCHMARK_HAS_CXX11 is defined.
12 | #error C++11 or greater detected by the library. BENCHMARK_HAS_CXX11 is defined.
| ^~~~~

Signed-off-by: Clément Péron <peron.clem@gmail.com>
2021-03-10 10:49:24 -08:00
donnadionne 34c8a1f87a
Revert "Adding xxhash as a subtree" (#25630)
This reverts commit 3880393fea.
2021-03-05 09:11:48 +01:00
donnadionne 40bc4624c2
Adding xxhash as a subtree (#25601)
* Squashed 'third_party/xxhash/' content from commit aea11081f3

git-subtree-dir: third_party/xxhash
git-subtree-split: aea11081f349893ec26f86ada22c66e828885083

* Adding xxhash as a subtree
2021-03-04 16:00:51 -08:00
Lidi Zheng 565520443b
[xDS Proto] Update Bazel dependencies (#25511)
* [xDS Proto] Update Bazel dependencies

* Include transitive deps required by xDS proto libraries
* The Golang deps come from protoc-gen-validate project
* Adding a new submodule: opencensus-proto

* Add the new submodule to .bazelignore

* Update WORKSPACE file to initialize googleapis

* Remove WORKSPACE override

* Adopt reviewer's advice
2021-03-01 17:53:11 -08:00
Jan Tattermusch 65454866da
use linkstatic for libraries that contain main() (#25517) 2021-02-27 07:01:48 +01:00
Karthik Ravi Shankar 2fd9f5ead9
Update third_party/protobuf to v3.15.2 (#25565)
* Update protobuf to v3.15.2

* revert boringssl podspec changes

Co-authored-by: Jan Tattermusch <jtattermusch@google.com>
2021-02-26 13:32:25 -08:00
Karthik Ravi Shankar 26f85ca2d9
Update boringssl (#25564)
* update submodule boringssl-with-bazel with origin/master-with-bazel

* update boringssl dependency to master-with-bazel commit SHA

* regenerate files

* Updated sha256

* generate boringssl prefix headers

* Increment podspec version

* Second regeneration

* add boringssl SHA in check_submodules.sh
2021-02-26 11:06:14 -08:00
Mark D. Roth ee14f7d203 Upgrade xDS protos 2021-02-11 09:21:51 -08:00
Lidi Zheng 542e7cb409
Merge pull request #25357 from lidizheng/update-envoy
Update xDS protos
2021-02-08 13:15:54 -08:00
Lidi Zheng 12d05dba96 update boringssl dependency to master-with-bazel commit SHA 2021-02-05 10:17:45 -08:00
Lidi Zheng 8d5977b142 update boringssl dependency to master-with-bazel commit SHA 2021-02-04 17:13:42 -08:00
Lidi Zheng a8b5e15ad5 Update sanity check scripts 2021-02-04 16:53:50 -08:00
Esun Kim f25eab6bc9 Enabled missing-field-initializers 2021-01-29 16:08:40 -08:00
Esun Kim ec2a8e24e4
Merge pull request #25256 from veblush/fix-sign-compare
Fix sign compare warning
2021-01-27 15:57:14 -08:00
Esun Kim a2035ca163 Enabled format warning 2021-01-27 11:16:57 -08:00
Esun Kim e76ef6417c Enabled sign-compare warning 2021-01-27 11:16:18 -08:00
Richard Belleville f34f0a3f0f Merge remote-tracking branch 'origin/master' into bump_bazel_cython 2021-01-21 16:19:13 -08:00
Esun Kim f4fa4a18bc
Merge pull request #25198 from veblush/absl-upgrade
Upgrade Abseil to 20200923.3
2021-01-21 15:26:34 -08:00
Richard Belleville 269333ca85 Bump Cython version.
A breaking C-level API change was made in Python 3.9 which old versions
of Cython cannot handle. Since Bazel prescribes a single version of
dependency instead of ranges, like in setuptools, we must update this to
keep our downstream users working properly.

As a side note, since it was a point of confusion while debugging this,
interpreter versions installed by pyenv must be set *globally* rather
than just locally for Bazel to pick them up, since local pyenv
configuration will not be picked up from within the sandbox.
2021-01-21 10:20:51 -08:00
Esun Kim 9eae29f8e9
Merge pull request #25134 from veblush/fix-unused-parameter
Fix unused parameter warnings
2021-01-21 10:08:09 -08:00
Esun Kim 4ce755c86e Made update_mirror.sh skip the existing files 2021-01-20 10:16:29 -08:00
Esun Kim c5a784ea83 Remove -Wno-unused-parameter 2021-01-19 18:17:11 -08:00
Esun Kim fdbf32f057 Upgrade Abseil to 20200923.3 2021-01-19 15:41:57 -08:00
Jan Tattermusch 60a7ce664a Merge remote-tracking branch 'upstream/v1.35.x' into HEAD 2021-01-18 09:35:36 +01:00
Richard Belleville 849c9b01bf Make patch work for downstream dependencies 2021-01-16 13:12:16 +01:00
Richard Belleville 666e60315a Add patch to protobuf 2021-01-16 13:12:16 +01:00
Jan Tattermusch 8d8dda40ae include a bugfix in third_party/protobuf 2021-01-16 13:12:16 +01:00
Esun Kim ea22dd6f1b
Merge pull request #24953 from veblush/upb-descriptor
Clean up descriptor.upbdefs dependency of BUILD
2021-01-15 18:12:21 -08:00
Jan Tattermusch b1d951787a grpc_python_deps.bzl: remove duplicate rules_python entry 2021-01-14 13:40:27 +01:00
Jan Tattermusch 7fc2828987 include a bugfix in third_party/protobuf 2021-01-11 10:27:24 +01:00
Jan Tattermusch 8bb55930dc update third_party/protobuf to v3.14.0 2021-01-11 09:58:05 +01:00
Esun Kim e49d74b0d8 Added use_strict_warning 2021-01-08 10:45:06 -08:00
Esun Kim e7a857d001 Added ignore_version_differences to grpc_extra_deps 2021-01-06 13:39:22 -08:00
Esun Kim 24c698f9fa Clean up descriptor.upbdefs dependency 2020-12-22 09:44:06 -08:00
Esun Kim d1bef160e5 Added upb/json 2020-12-21 19:16:52 -08:00
Esun Kim 43d03d6603 Upgrade upb bazel to 60607da 2020-12-21 09:48:27 -08:00
Jan Tattermusch 619042a388 add bazel 3.7.1 to update_mirror.sh 2020-12-15 17:34:28 +01:00
capstan 1f670397ce Remove gflags.
With the move to abseil's flags, this removed the now-unnecessary submodule and installation commands.
2020-11-14 03:03:55 +01:00
capstan 131579d52d Roll forward of commit 7883b51: Use abseil's flags in tests.
This replaces gflags. Added TODOs where use of `absl::Duration` or `absl::FlagSaver` might be preferred in follow-up cleanup. Fixes #24493.

This reverts commit da66b7d14e.

NEW:
* Adds references to `absl/flags/declare.h`, new to LTS 2020923.2 imported in commit 5b43440.
* Works around MSVC 2017 compiler error with large help text on flags by reducing the help text.
2020-11-06 16:07:19 +01:00
yulin-liang 1cde398471 Updated sha256 2020-11-03 11:54:01 -08:00
yulin-liang 3df9479697 update boringssl dependency to master-with-bazel commit SHA 2020-11-03 11:42:43 -08:00
Nathan Herring da66b7d14e
Revert "Abseil Flags" 2020-10-24 15:19:55 -07:00
Esun Kim 3528a40fe5
Merge pull request #24506 from Capstan/absl-flags
Abseil Flags
2020-10-23 21:07:21 -07:00
Esun Kim 5b4344063e Upgrade Abseil to LTS 2020923.2 2020-10-23 13:22:38 -07:00
capstan 7883b5133d Use abseil's flags in tests.
This replaces gflags. Added TODOs where use of `absl::Duration` or `absl::FlagSaver` might be preferred in follow-up cleanup. Fixes #24493.
2020-10-23 19:36:33 +02:00
Mark D. Roth 27795e7cad Merge remote-tracking branch 'upstream/master' into xds_logging 2020-10-15 20:05:29 -07:00
Esun Kim 0e0e12aa22 Using comp_db for clang-tidy 2020-10-13 09:51:31 -07:00
Mark D. Roth 02436e33ea Merge remote-tracking branch 'upstream/master' into xds_logging 2020-09-30 11:40:56 -07:00
Donna Dionne bcd41d6397 Merge remote-tracking branch 'upstream/master' into release 2020-09-29 14:55:57 -07:00
Yash Tibrewal 2a56886513 Update submodules: envoy-api, protoc-gen-validate, udpa 2020-09-29 12:03:40 -07:00
Mark D. Roth 69c52a8b2a Merge remote-tracking branch 'upstream/master' into xds_logging 2020-09-29 09:01:09 -07:00
Donna Dionne f7ab15de2c Updated sha256 2020-09-28 22:42:19 -07:00
Donna Dionne d3e6eea4cd update boringssl dependency to master-with-bazel commit SHA 2020-09-28 22:38:15 -07:00
Mark D. Roth 79f8fc664e Allow bazel builds without xDS via "--define grpc_no_xds=true". 2020-09-02 15:38:16 -07:00
Mark D. Roth 3fcb32b757 Merge remote-tracking branch 'upstream/master' into xds_logging 2020-09-01 15:41:07 -07:00
mohanli-ml ab92d4b896
Merge pull request #23948 from mohanli-ml/bazel-linkstatic
add features to grpc_cc_binary in bazel
2020-08-28 09:58:03 -07:00
“Mohan ecc3779b99 remove linkstatic because its default is true 2020-08-26 03:01:44 -07:00
Jan Tattermusch 181ddf2b12 bump third_party/protobuf to v3.13.0 2020-08-25 12:52:56 +02:00
Jan Tattermusch 097ef67ded
Merge pull request #23902 from jtattermusch/upgrade_bazel_2_2_0
Upgrade bazel used for all tests to 2.2.0
2020-08-25 12:50:11 +02:00
Richard Belleville a4c3d93db0
Merge pull request #23633 from fishcakez/proto-out-dir
Fix bazel out directory when using external repo
2020-08-24 09:57:34 -07:00
“Mohan 41bad78ab3 add features and linkstatic to grpc_cc_binary in bazel 2020-08-21 16:36:04 -07:00
Jan Tattermusch 44284486ac add src/core/ext/upbdefs-generated include to bazel build 2020-08-20 18:17:20 +02:00
Jan Tattermusch 424d33415c upgrade bazel to 2.2.0 2020-08-20 16:48:56 +02:00
Srini Polavarapu 7f2ef67393 Updated sha256 2020-08-14 18:36:18 -07:00
Srini Polavarapu 0e8e790d09 update boringssl dependency to master-with-bazel commit SHA 2020-08-14 18:30:01 -07:00
Mark D. Roth 478ea19b65 Merge remote-tracking branch 'upstream/master' into xds_logging 2020-08-13 08:21:43 -07:00
Esun Kim e2e6b1839e Update upb in bazel 2020-08-03 14:28:48 -07:00
James Fish 7ad26947c9 Fix bazel out directory when using external repo 2020-07-28 11:53:22 -07:00
Richard Belleville d0d742ee59
Merge pull request #22800 from CFHT/support-python-rules-namespaced
py_proto_library uses workspace and pkg paths
2020-07-27 12:03:42 -07:00
daicoden 2fc3131829 Add copyrights 2020-07-24 15:54:16 -10:00
Mark D. Roth c66d826298 Merge remote-tracking branch 'upstream/master' into xds_logging 2020-07-21 11:31:28 -07:00
Lidi Zheng 952c4174ad
Merge pull request #23528 from emkornfield/upgrade_boring
Upgrade BoringSSL to latest on master-with-bazel branch
2020-07-21 10:09:27 -07:00
Mark D. Roth 5afa417c89 Revert "Merge pull request #23524 from markdroth/xds_logging_revert"
This reverts commit b5b9172915, reversing
changes made to 47c6c826f7.
2020-07-17 14:48:20 -07:00
Micah Kornfield 4b1bbae39b update sha256 2020-07-17 13:53:30 -07:00
Micah Kornfield 5cd05c2b24 remove sha256 2020-07-17 13:52:21 -07:00
Micah Kornfield d38e820b6d update rules 2020-07-17 13:49:32 -07:00
Mark D. Roth a0f08b1b06 Revert "Merge pull request #21941 from markdroth/xds_logging"
This reverts commit 37d5d93983, reversing
changes made to 0e8190a3c9.
2020-07-17 10:19:28 -07:00
Jan Tattermusch 8cf57b2dda
Merge pull request #23410 from jtattermusch/upgrade_boringssl_submodule
Upgrade boringssl submodule to latest master-with-bazel
2020-07-09 13:49:54 +02:00
Donna Dionne 8dd0cb4712 Add support for xDS regex matchers. 2020-07-07 13:17:25 -07:00
Jan Tattermusch 0129e35e37 update boringssl dependency to master-with-bazel commit SHA 2020-07-01 14:25:32 +02:00
Mark D. Roth c1d7180daa Use upb textformat library to dump out raw xDS proto messages 2020-06-24 10:10:03 -07:00
Mark D. Roth 5c87a42d50
Merge pull request #21905 from markdroth/upb_upgrade
Upgrade upb
2020-06-24 10:06:14 -07:00
Esun Kim 681d2fcb08 Rename com_github_google_googletest to com_google_googletest 2020-06-23 14:38:15 -07:00
Mark D. Roth f7f2659c84 update bazel build dep for upb 2020-06-11 13:01:59 -07:00
Mark D. Roth 2f62b38028 update bazel upb dep 2020-06-04 15:50:38 -07:00
Mark D. Roth f87b5cb505 update bazel deps for upb 2020-06-04 13:34:24 -07:00
Mark D. Roth ffb507aa2b update bazel upb dep and regenerate upb files 2020-06-03 07:22:39 -07:00
Mark D. Roth cc6414893c update bazel build dep, regenerate upb files, and add missing includes 2020-06-02 14:48:50 -07:00
Mark D. Roth 93efabd179 Merge remote-tracking branch 'upstream/master' into upb_upgrade 2020-06-02 11:28:13 -07:00
Stanley Cheung 6f72faa74b Update to protobuf 3.12.2 2020-05-29 13:50:27 -07:00
Stanley Cheung eccbac3443 Update grpc protoc plugins to support proto3 optional 2020-05-29 13:50:18 -07:00
Karthik Ravi Shankar 063704ebad
Revert "Update grpc protoc plugin to be compliant of proto3 field presence" 2020-05-29 11:21:24 -07:00
Stanley Cheung f70ebf85a6 Update to protobuf 3.12.2 2020-05-27 18:30:12 -07:00
Stanley Cheung dc9b100865 Update grpc protoc plugins to support proto3 optional 2020-05-27 18:30:12 -07:00
Srini Polavarapu ce52c1dd71 update boringssl 2020-05-20 14:57:25 -07:00
Mark D. Roth 20ee8f2485 Merge remote-tracking branch 'upstream/master' into upb_upgrade 2020-05-11 13:50:11 -07:00
Mark D. Roth 7b3590d543
Merge pull request #22854 from markdroth/xds_lrs_send_all_clusters
xds: Add support for send_all_clusters field in LRS.
2020-05-06 09:33:41 -07:00
Mark D. Roth b95843c1b7 xds: Add support for send_all_clusters field in LRS. 2020-05-04 11:16:52 -07:00
Matt Wilson 67f3ebd90e PR Feedback. 2020-04-29 11:13:21 -10:00
Matt Wilson 594e1f6a64 py_proto_library uses workspace and pkg paths
All python imports currently are added to the runfiles under __main__
which is only the default when no workspace name is provided. This
change supports both empty workspace names, and specified workspace
names.

This also supports python libs not anchored at root
2020-04-27 09:04:37 -10:00
Jan Tattermusch 20bca3dc80 use mirror for more reliable tools/bazel downloads 2020-04-27 09:37:32 -04:00
Jan Tattermusch d067c7e663 update third_party/protobuf to 3.11.4 2020-04-27 04:51:38 -04:00
Jan Tattermusch 4e7b000148 add copyright notice 2020-04-24 11:38:32 -04:00
Jan Tattermusch ca33752a4c script for updating bazel mirror 2020-04-24 04:31:35 -04:00
Jan Tattermusch 5af3eafee0 add mirror for each bazel http_archive dependency 2020-04-24 02:59:40 -04:00
Mark D. Roth 425c1c5725 Merge remote-tracking branch 'upstream/master' into upb_upgrade 2020-03-25 09:36:50 -07:00
Richard Belleville 9ef83ee539 Merge remote-tracking branch 'origin/master' into peers_method 2020-03-12 20:30:08 +00:00
Mark D. Roth 184b1f974b update bazel build dep for upb 2020-03-12 09:14:07 -07:00
Esun Kim eae488fc66 Update abseil to get the recent patch on LTS 2020_20_25 2020-03-09 15:05:57 -07:00
Mark D. Roth 017a22c520 Merge remote-tracking branch 'upstream/master' into upb_upgrade 2020-03-09 08:07:04 -07:00
Jan Tattermusch 176f4cc4e4 support Flaky=True for grpc_cc_tests 2020-02-27 21:59:40 -05:00
Mark D. Roth 3c27aea4dd Merge remote-tracking branch 'upstream/master' into upb_upgrade 2020-02-27 16:12:22 -08:00
Mark D. Roth 28b950e407 Merge remote-tracking branch 'upstream/master' into xds_overprovisioning_capability 2020-02-27 12:09:16 -08:00
Mark D. Roth 8ea36891f6 update bazel build deps 2020-02-27 09:28:50 -08:00
Mark D. Roth b37bd0dc7a Merge remote-tracking branch 'upstream/master' into upb_upgrade 2020-02-27 09:21:04 -08:00
Jan Tattermusch 41ac287f7b generate build metadata from bazel BUILD 2020-02-26 19:56:49 -05:00
Mark D. Roth b68f813e54 xds: send envoy.lb.does_not_support_overprovisioning client capability 2020-02-26 08:23:27 -08:00
Esun Kim dc8c0a2c2b Update abseil to lts_2020_02_25 2020-02-26 00:09:41 -08:00
Richard Belleville 7adf2f5c65 Implement first pass at Python XDS interop client.
I discovered a couple of existing shortcomings while implementing this
client that mean this is *not yet ready for inclusion in CI*. I
nonetheless want to get an early review and integrate this to the master
branch, in the interest of small easily reviewable code changes.

The first problem was that the bazel build has apparently never pulled
roots.pem in as a data dependency. This appears not to have been a
problem until XDS enters into the mix. This has been added into the
Bazel build with a small change to the pyx_library rule.

The larger problem is that there is currently no public Python API to
get a peer's identity from the client side. This is crucial to
determining the correctness of an interaction of a client-server pair
under XDS. I intend to add such an method to the RpcContext interface in
an upcoming PR and use it in the interop client. For the moment, I
simply fake the peer details.

Finally, I add a knob to run_xds_tests.py allowing multiple instances of
this test to exist at once. Multiple instances forwarding to the same
port cannot exist on GCE, so this enables multiple people to run tests
at the same time.
2020-02-21 23:28:19 +00:00
Mark D. Roth 6a225b782f update bazel upb build dep 2020-02-21 11:51:28 -08:00
Esun Kim 2295cde4e5 Enable absl completely 2020-02-20 10:16:15 -08:00
Mark D. Roth 26818e2b04 upgrade upb commit in bazel build deps 2020-02-11 09:09:21 -08:00
Mark D. Roth 08069958fc Merge remote-tracking branch 'upstream/master' into upb_upgrade 2020-02-10 14:40:07 -08:00
Mark D. Roth 1dd3b7548e update upb version in bazel build deps 2020-02-10 14:34:33 -08:00
Mark D. Roth 7763564f7c upgrade upb version in bazel deps 2020-02-07 10:14:22 -08:00
Mark D. Roth cda13fd644 upgrade upb commit in bazel deps 2020-02-07 07:47:23 -08:00
Mark D. Roth 4813b665a6 update upb version in bazel deps 2020-02-06 10:26:21 -08:00
Yannic Bonenberger 06ecc87290 [bazel] Add fixes for --incompatible_load_proto_rules_from_bzl 2020-02-05 19:58:30 +01:00
Mark D. Roth 0aa8aaabbe fix bazel build rules 2020-02-04 10:47:14 -08:00
Jan Tattermusch 93eb2bf62f use sha256 for boringssl bazel dependency 2020-01-31 11:10:28 -05:00
Jan Tattermusch f098606c4a Revert "Revert "Reintroduce #21527 (boringssl submodule unification)""
This reverts commit cca892022b.
2020-01-29 09:18:51 -05:00
Esun Kim 37089877bf Update abseil to the latest 2020-01-28 15:22:18 -08:00
hcaseyal 5631724539
Merge pull request #21805 from grpc/revert-21797-reintroduce_21527
Revert "Reintroduce #21527 (boringssl submodule unification)"
2020-01-28 10:41:33 -08:00
Esun Kim f63367e0ef Update abseil to the latest 2020-01-27 14:30:17 -08:00
hcaseyal cca892022b
Revert "Reintroduce #21527 (boringssl submodule unification)" 2020-01-27 13:46:10 -08:00
Jan Tattermusch 5898cd03d7 update third_party/boringssl-with-bazel, check_submodules.sh and grpc_deps.bzl 2020-01-27 05:18:16 -05:00
Jan Tattermusch e7e5d0198f Revert "Revert "Unify boringssl submodules and use non-developer boringssl cmake build""
This reverts commit fe2242e603.
2020-01-27 05:04:05 -05:00
Jan Tattermusch fe2242e603
Revert "Unify boringssl submodules and use non-developer boringssl cmake build" 2020-01-20 14:27:31 +01:00
Jan Tattermusch eba60d8dbe
Merge pull request #21527 from jtattermusch/unify_boringssl_deps2
Unify boringssl submodules and use non-developer boringssl cmake build
2020-01-20 07:52:42 +01:00
Jan Tattermusch 6f88ab83ea update check_submodules.sh and grpc_deps.bzl 2020-01-18 03:08:11 -05:00
apolcyn 232fa12972
Merge pull request #21590 from jtattermusch/protobuf_3_11_2
Update third_party/protobuf to v3.11.2
2020-01-16 14:15:12 -08:00
Jan Tattermusch e2ca0075a8 update check_submodules.sh and grpc_deps.bzl 2020-01-16 03:55:22 -05:00
Jan Tattermusch d4cc9b8c71 update check_submodules.sh and grpc_deps.bzl 2020-01-16 03:44:37 -05:00
Jan Tattermusch bf1b849f9a incorporate https://github.com/protocolbuffers/protobuf/pull/7096 2020-01-16 02:43:06 -05:00
Esun Kim 9e15f78cf8 Update absl to the lastest 2020-01-15 13:39:51 -08:00
Jan Tattermusch 1f465f52aa try incorporate https://github.com/protocolbuffers/protobuf/pull/7069 2020-01-15 04:43:59 -05:00
Richard Belleville 69f990673f Conform to protobuf's usage of six 2020-01-15 04:43:59 -05:00
Jan Tattermusch b4ed0bf37b update third_party/protobuf to v3.11.2 2020-01-15 04:42:17 -05:00
Esun Kim a118c0bc73 Update upb in the bazel dependency 2020-01-13 12:54:54 -08:00
Guantao Liu 1326593d3f
Merge pull request #21583 from guantaol/libuv_deps
Add a new submodule libuv v1.34.0
2020-01-13 11:23:31 -08:00
Esun Kim cc95d45d5c
Merge pull request #21291 from g-easy/upb
Upgrade the version of upb we use.
2020-01-10 15:24:36 -08:00
Guantao Liu e6b29a11e7 Merge remote-tracking branch 'upstream/master' into libuv_deps 2020-01-08 11:43:02 -08:00
Guantao Liu a19d4f8444 Merge remote-tracking branch 'upstream/master' into libuv_deps 2020-01-07 15:45:56 -08:00
Guantao Liu 924ce78fc9 Fix sanity checks and "really" add the libuv submodule to third_party. 2020-01-07 15:44:42 -08:00
Esun Kim 1fdfb19218 Added a test to keep grpc run without abseil 2020-01-07 11:38:27 -08:00
Esun Kim 5207eba9ff Add abseil 2020-01-03 19:29:55 -08:00
Guantao Liu 6b8a71ef40 Add a new submodule "libuv" 2020-01-03 16:30:39 -08:00
Lidi Zheng d5d6914751 Make buildifier sanity test fail-able 2019-12-18 16:16:49 -08:00
Esun Kim f47ae53da4 Update abseil 2019-12-17 13:01:02 -08:00
Richard Belleville 683986ae6c
Merge pull request #21249 from ajamato/grpc_census_tags
Census client filter: use current span and tags
2019-12-04 13:20:07 -08:00
Alex Amato 2e958cf01b (Census client filter: use current span and tags. original_author=g-easy) 2019-12-04 09:47:18 -08:00
Esun Kim 2e6192dd2a
Merge pull request #21318 from veblush/abseil-build-support
Add abseil targets
2019-12-02 09:05:55 -08:00
Esun Kim 4ca85de347 Update abseil-cpp to the latest 2019-11-27 11:16:32 -08:00
Esun Kim 109b7d75fe Add abseil targets 2019-11-27 10:59:52 -08:00
Jan Tattermusch 39f6bb152e make test sharding work for poller-specific tests 2019-11-26 06:22:00 -05:00
easy 1979836458 Upgrade the version of upb we use. 2019-11-26 16:00:33 +11:00
Mark D. Roth 3d3b6d8a8a shard xds_end2end_test 2019-11-22 10:36:10 -08:00
Richard Belleville cc43fd64ab
Merge pull request #20926 from gnossen/blaze_modifications
Modification of #20862 to Work in Blaze
2019-11-06 17:12:44 -08:00
Richard Belleville 3d876a656f Buildifier 2019-11-06 13:24:59 -08:00
Richard Belleville 959945705a Merge branch 'master' of https://github.com/grpc/grpc into blaze_modifications 2019-11-06 11:00:47 -08:00
Esun Kim de81f120b2 Abseilify StringView 2019-11-06 10:58:03 -08:00
Esun Kim 4e396883d4 Update by review 2019-11-05 20:51:00 -08:00
Esun Kim 1e74c102cd Add GRPC_USE_ABSL flag 2019-11-05 20:47:01 -08:00
Lidi Zheng c34bef4ca4 Format all Bazel files with buildifier 2019-11-05 14:03:52 -08:00
Richard Belleville 444d5b7760 Revert "Reuse the definition already in the bazel/ directory"
Turns out that putting this in the main build definition starklark file
means that our users will also incur a dependency on the repo rule.
That's no bueno.

This reverts commit 78e443b4f6.
2019-11-04 15:34:45 -08:00
Richard Belleville 78e443b4f6 Reuse the definition already in the bazel/ directory 2019-11-04 14:12:22 -08:00