Esun Kim
7910c5f8ae
Sync Protos with grpc-proto repo ( #27957 )
...
* Sync with grpc_proto
* UPB gen
3 years ago
Esun Kim
ddb9d5d700
Increase iOS test timeout from 1.5h to 2.0h ( #28110 )
3 years ago
Mark D. Roth
3a1c812d2b
xDS: strip "type.googleapis.com/" prefix off of resource type constants ( #28024 )
3 years ago
Craig Tiller
6001ea84b9
Faster clang-format ( #28086 )
...
* use parallelism to speed clang-format performance
* use parallelism to speed clang-format performance
3 years ago
Jan Tattermusch
89d08dad9d
Revert "user-agent metadata trait, also: grpc_core::Slice is born ( #27770 )" ( #28108 )
...
This reverts commit 7a40f50cb3
.
3 years ago
Craig Tiller
7a40f50cb3
user-agent metadata trait, also: grpc_core::Slice is born ( #27770 )
...
* new slice api
* storage-classes
* Automated change: Fix sanity tests
* tweaks
* refinement
* refinement
* compiles
* Automated change: Fix sanity tests
* better impl
* convert to gtest
* clean
* fixes
* tests
* Automated change: Fix sanity tests
* more-tests
* clarity
* comments
* comments
* fixes
* comment-updates
* fixes
* spam
* Automated change: Fix sanity tests
* move transport size into transport!
* mebbefix
* fix type
* x
* fix-merge
* review feedback
* review feedback
* Automated change: Fix sanity tests
* meh
* review feedback
* fix
* resolve compile issue
* Remove slice_refcount dependency on RefCounted
* update init for channel_data in http_client_filter
* Automated change: Fix sanity tests
* remove banned function
* fixes
* will it blend
* will it blend
* fix refcount init
* fix
* fix comment
* Fix typo in bloat script
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Hannah Shi
fcb5200298
setup-ios-bazel-test-to-run-c-core-ee-ut ( #28029 )
3 years ago
Craig Tiller
da47e88237
Fix typo in bloat script ( #28104 )
3 years ago
yifeizhuang
0aca504993
add gcr image for java release v1.42.1 ( #28094 )
...
* add gcr image for java release v1.42.1
* replace java release v1.42.0 with v1.42.1
3 years ago
Craig Tiller
6af45a35ba
Tooling to remove redundant grpc_core:: namespace references ( #28030 )
...
* Tooling to remove redundant grpc_core:: namespaces
These references tend to show up in our C++ code after C modules get
converted. Many get caught in review, many get missed.
* use it
* clang-format
3 years ago
Mark D. Roth
fff84402ac
Second attempt: XdsClient: fix resource timeout behavior ( #28088 )
...
* Revert "Revert "XdsClient: fix resource timeout behavior (#27860 )" (#28032 )"
This reverts commit 817eed0928
.
* use the right status code enum
3 years ago
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
3 years ago
sanjaypujare
c211b823d4
internal_ci: rename grpc_xds_k8s to psm-security as part of tech-debt cleanup and name clarity ( #28034 )
3 years ago
Craig Tiller
48323d8ea6
Ensure JSON parser can consume dumped JSON ( #27994 )
...
* Ensure JSON parser can consume dumped JSON
* fixes
* fixes
* Update fuzzer.cc
3 years ago
Craig Tiller
b7311aad77
Exclude debug sections from bloat severity calculations ( #28089 )
3 years ago
Craig Tiller
ea49e4c73a
Revert "[BinderTransport] Send correct version to server and verify it ( #27990 )" ( #28090 )
...
This reverts commit 92c34b8a82
.
3 years ago
Craig Tiller
bbd94c5a50
fix missing header ( #28087 )
3 years ago
Ming-Chuan
355a324cae
Remove extra ';' after member function definition ( #28038 )
...
Some user of gRPC library have [-Werror,-Wextra-semi] set and this extra
';' makes the code uncompilable
3 years ago
Craig Tiller
a629c9a03e
Reland resource quota work ( #28017 )
...
* Check if memory owner available prior to polling it
The transport may drop the memory owner during its destruction sequence
* tcp_fix
* Revert "Revert "New resource quota integration (#27643 )" (#28014 )"
This reverts commit 0ea2c37263
.
* clang-format
* fix-path
* fix
3 years ago
Ming-Chuan
901e72edc0
[BinderTransport] Print error message when API level is too low ( #27989 )
...
Also removes an obsolete API
3 years ago
Ming-Chuan
92c34b8a82
[BinderTransport] Send correct version to server and verify it ( #27990 )
...
We support wireformat version 1.
3 years ago
Yash Tibrewal
6b34d961be
Use WorkSerializer in XdsClient to propagate updates in a synchronized manner ( #27975 )
...
* Use WorkSerializer in XdsClient to propagate updates
* Fix breakage
* Add missing Drain
* More fixes
* Get around msvc issue
* Fix asan leak
* Reviewer comments
* Get around TSAN annotations
* Remove notes
* Clang-format
* Reviewer comments
3 years ago
Craig Tiller
817eed0928
Revert "XdsClient: fix resource timeout behavior ( #27860 )" ( #28032 )
...
This reverts commit 7fdb40d8b8
.
3 years ago
Craig Tiller
1d63bb02b7
AVL implementation in C++ ( #27782 )
...
* avl
* move-code,add-fuzzer
* done
* fix
* Automated change: Fix sanity tests
* buildifier
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
AJ Heller
2c7f2190e6
Fix name of feature example tests CI config file ( #28028 )
3 years ago
Mark D. Roth
7fdb40d8b8
XdsClient: fix resource timeout behavior ( #27860 )
...
* XdsClient: fix resource timeout behavior
* fix clang-tidy
* more clang-tidy fixes
* yet more clang-tidy
3 years ago
Craig Tiller
f4be36f1cf
Bloat reporting improvements ( #28013 )
...
* Bloat reporting improvements
* typo
* fix
* fix
* fix
3 years ago
Lidi Zheng
67eaf3ae4b
Increase the timeout of xds_k8s test to 180 ( #28027 )
3 years ago
Richard Belleville
8f50d574fb
Add note about starting port server out of band ( #28012 )
3 years ago
Ming-Chuan
38340ed694
[BinderTransport] Add more info to class not found error msg ( #28009 )
3 years ago
Ming-Chuan
4ab1608ee0
Set BinderTransport connectivity state tracker initial state to READY ( #27979 )
...
By default the state is set to IDLE, which is not desired because
1. The actual connectivity state when transport is created is READY
2. The binder tansport channel won't be able to recover from IDLE state
for some reason and cause the channel to stuck when used on multiple
thread. We have an internal bug tracking this issue.
3 years ago
Craig Tiller
d342a86f2c
Fix typo ( #28019 )
3 years ago
Craig Tiller
ecdb6f7057
Use strict buildifier in sanitize ( #28018 )
...
Ensure that we use tools consistently everywhere!
3 years ago
Craig Tiller
b690bd011f
Allow API fuzzer to send multiple slices ( #27993 )
...
* Allow API fuzzer to send multiple slices
* fixes
3 years ago
Craig Tiller
0ea2c37263
Revert "New resource quota integration ( #27643 )" ( #28014 )
...
This reverts commit 39f0877d25
.
3 years ago
AJ Heller
c5f1d29b76
Add feature examples with continuous integration ( #27917 )
...
* Add failing end2end test for inconsistent percent-decoding of URIs
* Add passing h2_local_abstract_uds end2end tests
* Add basic abstract UDS example
* add test runner
* add proper bazel build path
* first attempt at CI configuration
* cleanup
* rename CI files for better readability
3 years ago
Lidi Zheng
f7d4f8e13c
[Aio] Validate the input type for set_trailing_metadata and abort ( #27958 )
...
* [Aio] Validate the input type for set_trailing_metadata and abort
* Correct the checking of sequence type
3 years ago
Jan Tattermusch
1654e512b3
fix AWS arm64 C++ build ( #27981 )
3 years ago
Craig Tiller
6003710534
Label microbenchmark differences similarly to bloat ( #27998 )
...
* benchmark differences as a label
* debug
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Richard Belleville
05b695c95a
Start port server separately ( #28005 )
3 years ago
Craig Tiller
39f0877d25
New resource quota integration ( #27643 )
...
* new resource quota integration
* Automated change: Fix sanity tests
* fix
* fix
* fixes
* fixes
* fixes
* Automated change: Fix sanity tests
* fixes
* fixes
* Automated change: Fix sanity tests
* fixes
* fix
* fixes
* windows-fix
* fixes
* fixes
* fix
* fix-asan
* banned
* banned
* fixes
* clang-tidy-fix
* Automated change: Fix sanity tests
* fix-cronet
* review feedback
* review feedback
* Automated change: Fix sanity tests
* fixes
* bug fix
* fixes
* compile fix
* exclude megabyte size payloads from 1byte tests
* windows fix
* start moving ios
* keep moving windows
* Get windows compilation working.
* Automated change: Fix sanity tests
* better
* fixes
* remove slice buffer from memory_allocator.h
* Revert "remove slice buffer from memory_allocator.h"
This reverts commit 234a63b6e3
.
* ugh
* #fixtests
* pthread tls fixes
* Automated change: Fix sanity tests
* fixfixfix
* xxx
* add reset
* review feedback
* fix
* fix
* fixes
* fix
* mac progress
* cpp-impl-of
* rename ptr
* Automated change: Fix sanity tests
* memory-owner-is-a-memory-allocator
* fixes
* fix
* fix from prod
* fix
* Fix issue leading to bad pointers being returned on Windows.
* Automated change: Fix sanity tests
* fix multislice bug
* argh
* hyrums law fixes
* hyrums law fixes
* clang-format
* hyrums law fixes
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Ming-Chuan
43a79cfce0
[BinderTransport] Lower some log level from ERROR to INFO ( #27988 )
...
We also plan to introduce a new tracer for tracing binder wireformat
logic.
3 years ago
Craig Tiller
75a54f55e3
Remove trickle benchmarks ( #28000 )
...
* Remove trickle benchmarks
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Lidi Zheng
c0c0b841ea
Correct the wait time for url-map propagation ( #28004 )
3 years ago
Richard Belleville
e79f577a70
Fix python 3 encoding issues in release notes script ( #28002 )
3 years ago
sanjaypujare
bb13b1c82c
Add PSM security to the list of xDS features in the grpc_xds_features.md file ( #28001 )
3 years ago
Lidi Zheng
8f0278d230
Fix the packaging.version issue on newer Python ( #27999 )
3 years ago
ZhenLian
2e14f6fa70
Support Custom Post-handshake Verification in TlsCredentials ( #25631 )
...
* custom verification refactoring - post-handshake verification
3 years ago
Eric Anderson
9be868488f
xds/interop: Delay to drain queued RPCs in authz test ( #27991 )
...
The authz test flaked as no RPCs of the expected type had completed
within the sampling window. Server logs showed authz logs completing
batch of 276 RPCs back-to-back, without the expected 40 ms separation
(qps=25). It took a bit over 1 second to process through the backlog.
With the sample duration of 500 ms and there being a polling delay
between when the channel is READY and when the test driver polls
channelz, it makes sense that we can get lucky much of the time.
Obviously, adding a sleep isn't great either, but measuring the queue
length indirectly is more complex than really appropriate here. The real
solution is to stop using this continuous-qps test client.
```
Traceback (most recent call last):
File "/tmp/work/grpc/tools/run_tests/xds_k8s_test_driver/tests/authz_test.py", line 252, in test_tls_allow
grpc.StatusCode.OK)
File "/tmp/work/grpc/tools/run_tests/xds_k8s_test_driver/tests/authz_test.py", line 183, in configure_and_assert
method=rpc_type)
File "/tmp/work/grpc/tools/run_tests/xds_k8s_test_driver/framework/xds_k8s_testcase.py", line 284, in assertRpcStatusCodes
self.assertGreater(stats.result[status_code.value[0]], 0)
AssertionError: 0 not greater than 0
```
3 years ago
AJ Heller
b7d4569d34
Rename the source files for ChannelArgsEndpointConfig ( #27972 )
...
* Rename the source files for ChannelArgsEndpointConfig
Previous naming was non-descript
* generate_projects
* add missing file to BUILD, and generate_projects.sh
* correct include guards
3 years ago