Ming-Chuan
b505da65e7
[BinderTransport] add authority to initial metadata if missing ( #29035 )
...
When C++ implementation acts as server and Java implementation acts as
client, authority will not be present in initial metadata. Although
authority is not used for binder transport, when it is missing, core API
layer will fail the RPC call silently.
This commit adds a fake authority to initial metadata when it is
missing to avoid the failure.
Test case is added to make sure the wire reader implementation appends
both path and authority to metadata correctly.
3 years ago
Alisha Nanda
be4e1051a9
Add resource quota for secure endpoint ( #28970 )
...
* Add resource quota for secure_endpoint
* Fix double linked list error in tests
* Experiments to prevent memory leaks
* Fix memory leaks
* Fix asan error
* Add locking to fix data races
* Automated change: Fix sanity tests
* Address review comments
Co-authored-by: ananda1066 <ananda1066@users.noreply.github.com>
3 years ago
Ming-Chuan
82ae3c7043
Fix grpc_binder_transport::registered_stream data race ( #28962 )
...
The member variable should only be accessed in combiner to avoid
data race.
3 years ago
Yash Tibrewal
bd357f9a37
Remove shutdown_cq from grpc_end2end_test_fixture ( #29049 )
...
* Remove some shutdown_cq instances
* Remove shutdown_cq from grpc_end2end_test_fixture
3 years ago
kacper-ka
6ba998854f
Fix fetching CXX variable in setup.py ( #28873 )
...
* Fix fetching CXX variable in setup.py
* Preserve all elements of CXX variable in setup.py
3 years ago
Jan Tattermusch
d15711d2bb
Docker image cleanup (prepare for ARM64 tests) ( #29051 )
...
* remove gcc-multilib from base image
* remove useless "apt-get --allow-releaseinfo-change update" from docker images
* get rid of no-longer-useful python_debian11_base.include
* regenerate dockerfiles
3 years ago
Esun Kim
2a699b9a09
Removed jessie-based distribtest ( #29029 )
...
* Removed jessie-based distribtest
* Update by review
3 years ago
AJ Heller
b639e09c90
Enable ipv4 end2end tests inside Google ( #29013 )
3 years ago
Yash Tibrewal
cd59d14fd2
Repo Manager - Esun ( #29038 )
3 years ago
Craig Tiller
40adbb46f0
Exclude noisy benchmarks from labelling computations ( #29039 )
...
* Exclude noisy benchmarks from labelling computations
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
apolcyn
00d587dc56
Include ADS stream error in XDS error updates ( #29014 )
...
* include ADS stream error in XDS error updates
* Re-package XDS client errors into unavailable rather than unknown, in XDS resolver
3 years ago
Craig Tiller
736441f288
Call push/pull abstraction ( #29033 )
...
* push/pull impl
* comment
* fix
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Esun Kim
b7900977b5
Fixed use-of-uninitialized-value with msan ( #29007 )
...
* Fixed use-of-uninitialized-value with msan
* Add msvc 2015 support
* Fix #include
* Supports GCC versions < 5
3 years ago
AJ Heller
762cde4d24
Delete end2end nosec tests ( #28946 )
...
* rm nosec tests (TODO: identify coverage differences)
* grpc::load_reporter
* delete unused nosec test files & config
* trigger build
* re-delete nosec test file (snuck in with a merge)
* revert TODO deletion
3 years ago
Craig Tiller
b9bf4b7012
Fix state machine ( #29036 )
3 years ago
Jan Tattermusch
8024eed4c5
Print debug info about prepare_build_windows.bat timing ( #28872 )
...
* prepare build windows timing
* C# deps not need to be installed for C# native artifact on win
3 years ago
Jan Tattermusch
5b603fe55b
removed unused grpc_bazel_test kokoro job ( #28965 )
3 years ago
Jan Tattermusch
f8a909e76f
Run bloat_diff.py in a separate kokoro job ( #28892 )
...
* move bloat_diff to a separate kokoro job
* add grpc_bloat_diff PR job
3 years ago
Esun Kim
f3079bde89
Reset shutdown_error for Orphan ( #29015 )
3 years ago
Craig Tiller
fe913387da
Remove idempotent/cacheable requests ( #28922 )
...
* Remove idempotent/cacheable requests
* more cleanup
* bump core version
* fix
* fix
* fix
* review feedback
* fixes
* fix
* remove more
* objc
* fix
* fix
* fix
* scrub
* Modify XdsRbacTests
Co-authored-by: Yash Tibrewal <yashkt@google.com>
3 years ago
Lidi Zheng
b8bbe30452
[PSM interop] Double the operation timeout ( #29004 )
3 years ago
AJ Heller
0aa8b9c8cd
Bump core version to 23.0.0 for upcoming release ( #29026 )
...
* bump C-core version
* regenerate projects
3 years ago
AJ Heller
cfc3240c27
Upmerge v1.44.x branch into master (again) ( #29016 )
...
* xDS: Rbac filter updates (#28568 ) (#28608 )
* Bump version to v1.44.0-pre1 (on the release branch) (#28593 )
* bump version to 1.44.0-pre1
* regenerate projects
* only apply "singleplatform" nuget suffix when actually needed (#28677 )
* Bump version to 1.44.0-pre2 (#28681 )
* bump version to 1.44.0-pre2
* regenerate projects
* Update CRL test credentials (#28794 ) (#28837 )
* remove old files
* update credentials
* fix README
Co-authored-by: krestofur <83723727+krestofur@users.noreply.github.com>
* Bump version to 1.44.0 (on v1.44.x branch) (#28825 )
* bump version to 1.44.0
* regenerate projects
* Support musllinux binary wheels on x64 and x86 (#28092 ) (#28969 )
* Support musllinux binary wheels
* Skip aarach64 for now
* Consolidate the difference of mktemp
* Extend linux artifact building time && install bash for distribtest
* Stop using grpc.tools, use grpc_tools
* Update the README to use grpc_tools
* Force static link libc++ for alpine binaries
* Rebase recent build script changes
* Install ccache for musllinux distribtest images
* Revert timeout change to grpc_build_artifacts
Co-authored-by: Yash Tibrewal <yashkt@google.com>
Co-authored-by: Jan Tattermusch <jtattermusch@users.noreply.github.com>
Co-authored-by: krestofur <83723727+krestofur@users.noreply.github.com>
Co-authored-by: Lidi Zheng <lidiz@google.com>
3 years ago
AJ Heller
36824bc570
Revert "Revert "Revert "Add Python Reflection Client ( #28443 )" ( #28878 )" ( #28879 )" ( #29023 )
...
This reverts commit cf9be3d49d
.
3 years ago
AJ Heller
851df6d46d
Revert "Respect the application returned status code and propagate that ( #29010 )" ( #29017 )
...
This reverts commit a04739095e
.
3 years ago
Craig Tiller
047642c5c4
Call finalization for promises ( #29008 )
...
* Call finalization for promises
* comment
* split out and test
* dont use promise_detail:: directly
* fix
* Automated change: Fix sanity tests
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
a04739095e
Respect the application returned status code and propagate that ( #29010 )
3 years ago
James Newton-King
5ba6beff18
[C#] Add cancellation token overloads to streaming interfaces ( #27886 )
...
* Add cancellation token overloads to streaming interfaces
* PR feedback
3 years ago
Jan Tattermusch
f574f70c68
fix C# single-job distribtests jobs when version has no suffix ( #28924 )
3 years ago
Craig Tiller
564f7d6c53
Fix for promise based helper ( #29009 )
3 years ago
Yash Tibrewal
cc44f7c7a2
Credentials: Use QsortCompare instead of strcmp for type comparison ( #28973 )
...
* Credentials: Use QsortCompare instead of strcmp for type comparison
* Reviewer comments
3 years ago
Yash Tibrewal
55ba777c7a
credentials_test: Add namespace ( #29006 )
3 years ago
Mark D. Roth
6d61efe27c
retry: update comment to indicate transparent retries are implemented ( #29003 )
3 years ago
Lidi Zheng
cf9be3d49d
Revert "Revert "Add Python Reflection Client ( #28443 )" ( #28878 )" ( #28879 )
...
This reverts commit 1b4b3764ba
.
3 years ago
Craig Tiller
3ffa94f5e7
Fix cancellation for promise based server filters ( #28998 )
...
* Fix cancellation on async server filters
* fix
3 years ago
Lidi Zheng
5df8612cae
[PSM interop] Expand the support of test config validation ( #28978 )
...
* [PSM interop] Expand the support of test config validation
* Comment the usage and source of testing_version
* Also include the comment for url-map tests
3 years ago
donnadionne
315dfb17e9
A workaround for ring hash on channel id to randomize the channel id ( #28986 )
...
* A workaround for ring hash on channel id to randomize the channel id
(ref to xds_resolver) used.
* using absl random functions.
3 years ago
Craig Tiller
ac22280779
Fix for cfstreams ( #29001 )
3 years ago
Craig Tiller
d9883c2e66
Fix iOS build ( #28995 )
...
* Fix iOS compiler
* fix
3 years ago
Craig Tiller
2f17014224
Fix cancellation on async server filters ( #28997 )
3 years ago
Craig Tiller
95270af6b6
Look at now before sleeping ( #28996 )
3 years ago
apolcyn
bbe49dc16b
Delete dns resolver connectivity test ( #28994 )
3 years ago
Lidi Zheng
33135abbee
Pin twine to 3.8.0 for Windows ( #28991 )
3 years ago
apolcyn
20521fb33e
Fix memory leak in HTTP request security handshake cancellation ( #28971 )
...
* Fix memory leak in HTTP request security handshake cancellation
3 years ago
Craig Tiller
4633121440
Remove subchannel pool from global init ( #28987 )
...
* Remove subchannel pool from global init
This can be initialized independently, so let's do so.
* fix
* fix
* cleanup
3 years ago
Craig Tiller
3eba748552
Remove retry throttle data from global init ( #28988 )
...
* Remove retry throttle data from global init
* fix
* cleanup
3 years ago
Craig Tiller
8499f62a10
Bloat fix for promise code ( #28980 )
...
* Revert "Revert "Revert "Revert "Convert client_auth_filter to promises (#28767 )" (#28951 )" (#28952 )" (#28967 )"
This reverts commit 0f73576b17
.
* fix potential memory leak
* Fix behavior if >1 pending request
* Fix code bloat coming from promise emulation layer
3 years ago
Craig Tiller
87acbadba1
Third attempt: Convert client_auth_filter to promises ( #28968 )
...
* wip
* Automated change: Fix sanity tests
* fixes
* progress
* progress
* grpc compiles
* Automated change: Fix sanity tests
* fixing tests
* x
* progress
* better code
* Automated change: Fix sanity tests
* progress
* progress
* windows fix
* Make Duration metadata trivial
* better message
* fix
* Automated change: Fix sanity tests
* fix
* fix
* fix
* fix
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* fix
* progress
* fixes
* fix
* fix
* spam
* un-disable errantly disabled tests
* gain insight
* Automated change: Fix sanity tests
* fixes
* fixes
* fix
* debug
* tweak
* fix
* fix timeout
* fix comment
* fixes
* x
* better test
* tests
* Automated change: Fix sanity tests
* missed file
* fix
* x
* fix
* fix
* fix
* fix
* Automated change: Fix sanity tests
* fix
* merge
* Automated change: Fix sanity tests
* Revert "Revert "Revert "Revert "Convert client_auth_filter to promises (#28767 )" (#28951 )" (#28952 )" (#28967 )"
This reverts commit 0f73576b17
.
* fix potential memory leak
* Fix behavior if >1 pending request
* fix
* fix nullptr access
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
5fc3ff8203
grpc_millis -> Timestamp/Duration ( #28119 )
...
* wip
* Automated change: Fix sanity tests
* fixes
* progress
* progress
* grpc compiles
* Automated change: Fix sanity tests
* fixing tests
* x
* progress
* better code
* Automated change: Fix sanity tests
* progress
* progress
* windows fix
* Make Duration metadata trivial
* better message
* fix
* Automated change: Fix sanity tests
* fix
* fix
* fix
* fix
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* fix
* progress
* fixes
* fix
* fix
* spam
* un-disable errantly disabled tests
* gain insight
* Automated change: Fix sanity tests
* fixes
* fixes
* fix
* debug
* tweak
* fix
* fix timeout
* fix comment
* fixes
* x
* better test
* tests
* Automated change: Fix sanity tests
* missed file
* fix
* x
* fix
* fix
* fix
* fix
* Automated change: Fix sanity tests
* fix
* merge
* Automated change: Fix sanity tests
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Lidi Zheng
0966536dc1
[PSM Interop] Extend clean-up script to 2 other GKE clusters ( #28983 )
...
* [PSM Interop] Extend clean-up script to 2 other GKE clusters
* Use a safer apprach to invoke the cleanup script
* Handle the readonly issue
* Make sanity test happy
3 years ago