Craig Tiller
235098de22
Revert "Revert "Convert client_auth_filter to promises ( #28767 )" ( #28951 )" ( #28952 )
...
* Revert "Revert "Convert client_auth_filter to promises (#28767 )" (#28951 )"
This reverts commit 5bfe38f10f
.
* fix
3 years ago
Craig Tiller
f18e6ede04
Revert "Convert max_age filter to promises ( #28904 )" ( #28957 )
...
This reverts commit ae4b45d75a
.
3 years ago
Craig Tiller
ae4b45d75a
Convert max_age filter to promises ( #28904 )
...
* start
* stuff
* build
* Automated change: Fix sanity tests
* fix
* finish him
* fix
* better
* fix
* review feedback
* Update channel_idle_filter.cc
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
7c74d58cbe
Disable memory_usage test on cmake builds ( #28948 )
3 years ago
Craig Tiller
5bfe38f10f
Revert "Convert client_auth_filter to promises ( #28767 )" ( #28951 )
...
This reverts commit cadce47ebf
.
3 years ago
Craig Tiller
cadce47ebf
Convert client_auth_filter to promises ( #28767 )
...
* Convert client_auth_filter to promises
* outline
* x
* x
* fixes
* remove-spam
* Async sequences over iterators
* iterate
* better semantics
* fix
* clang-tidy
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* fixes
* fixes
* Automated change: Fix sanity tests
* progress
* progress
* progress
* progress
* progress
* credentials_test passes
* Automated change: Fix sanity tests
* Make Activity more of an interface
Move mutex and wakeup logic into a new class between PromiseActivity<>
and Activity (so that the sharing can persist), but make Activity closer
to a pure interface, so that whilst we migrate code we can implement
better fakes without forcing allocation.
* fixes
* Automated change: Fix sanity tests
* fixes
* test the awful failure
* x
* fix typo
* fix race
* 4.9
* x
* review feedback
* review feedback
* Automated change: Fix sanity tests
* review feedback
* replace AuthMetadataContext interface with GetRequestMetadataArgs struct
* Automated change: Fix sanity tests
* fix merge
* Fixup
* fix
* fix
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
Co-authored-by: Mark D. Roth <roth@google.com>
3 years ago
Craig Tiller
dd76a04b8c
Move resolver to core configuration ( #28881 )
...
* Move resolver to core configuration
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* fix
* fix
* fix
* fix
* resolver: clean up and modernize registry
* fix race
* update visibility
* fix internal error
* review feedback
* resolve backref issues
* windows
* x
* fix sockaddrs on windows?
* fix sockaddrs on windows?
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
Co-authored-by: Mark D. Roth <roth@google.com>
3 years ago
Craig Tiller
ff87ca02b2
Revive test/core/memory_usage ( #28931 )
...
* Revert "Deprecate gpr_get/set_allocation_functions"
This reverts commit 81df105ac8
.
* memory stats
* Hack up to get per-call numbers
* expunge memory counters
* buildgen
* Automated change: Fix sanity tests
* sanity
* fix
* Automated change: Fix sanity tests
* simplify
* better
* Automated change: Fix sanity tests
* Disable windows memory_usage
* disable mac
* disable mac
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
05056e149a
eliminate bm_error ( #28944 )
3 years ago
Craig Tiller
33ec154cee
Revert "Enable GRPC_ERROR_IS_ABSEIL_STATUS ( #28898 )" ( #28939 )
...
This reverts commit f00e842609
.
3 years ago
AJ Heller
85189b24bb
Reintroduce: Avoid fully qualifying namespaces (and add check) ( #28917 )
...
Based on a handful of https://abseil.io/tips , it's generally advised to
only fully-qualify namespaces when in a `using` statement, or when it's
otherwise required for compilation. In all other cases, the general
recommendation is to not fully-qualify.
This change fixes most `grpc.*` namespace uses. There are potential
challenges in trying to make blanket changes to non-gRPC namespace uses,
such as `::testing`, since there is also a `grpc::testing` namespace.
3 years ago
Sergii Tkachenko
16cdcf42c5
Fix Ruby xDS v3 Interop docker image ( #28926 )
...
Same as #28859 , but for xDS v3.
3 years ago
Esun Kim
f00e842609
Enable GRPC_ERROR_IS_ABSEIL_STATUS ( #28898 )
...
* Python support
* Fix Ruby errors
* Eanble GRPC_ERROR_IS_ABSEIL_STATUS
* Remove use_abseil_status=true build
3 years ago
Jan Tattermusch
a32c22f2a9
Add v1.43.0 and v1.44.0 releases to interop_matrix ( #28885 )
...
* add v1.43.0 and v1.44.0 releases, fix C#
* fix problem introduced by #28124
* regenerate testcases for csharp*__master
* fixup C# 1.42.0 interop matrix
* python interop image build is broken at 1.43.0
* fix python testcases for 1.44.0
3 years ago
AJ Heller
e72a5fe5dd
Revert "Avoid fully qualifying namespaces (and add check) ( #28901 )" ( #28916 )
...
This reverts commit fc7314c701
.
3 years ago
AJ Heller
fc7314c701
Avoid fully qualifying namespaces (and add check) ( #28901 )
...
Based on a handful of https://abseil.io/tips , it's generally advised to
only fully-qualify namespaces when in a `using` statement, or when it's
otherwise required for compilation. In all other cases, the general
recommendation is to not fully-qualify.
This change fixes most `grpc.*` namespace uses. There are potential
challenges in trying to make blanket changes to non-gRPC namespace uses,
such as `::testing`, since there is also a `grpc::testing` namespace.
3 years ago
Sergii Tkachenko
45201d976a
grpc_xds_k8s_lb_python interop: Increase timeout ( #28914 )
...
Recent runs got close to 90 minutes.
We added more tests to this job recently, so it makes sense
to increase the timeout.
3 years ago
Jan Tattermusch
eabc60a324
dont set ANDROID_NDK_HOME for all linux jobs ( #28908 )
3 years ago
Jan Tattermusch
eb79b6b178
More run_microbenchmark.py cleanup ( #28893 )
...
* cleanup
* update TODOs
* fixup
3 years ago
Paulo Castello da Costa
6321753509
Change prebuilt image storage path. ( #28907 )
3 years ago
Craig Tiller
0f424ae5cc
Move client-idle-filter to promises ( #28838 )
...
* Promise based sleep
* Embrace absl::Status
* Automated change: Fix sanity tests
* Add another test, fix bug
* fix
* fix
* Move client-idle-filter to promises
* better call counting
* x
* x
* x
* review feedback
* progress
* Automated change: Fix sanity tests
* progress
* Automated change: Fix sanity tests
* fix
* channel stack refcount
* remove op from lock, refcount
* compiles
* Automated change: Fix sanity tests
* nicer api
* fix
* Automated change: Fix sanity tests
* fix
* speculative fix for windows
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Yash Tibrewal
c65a55383a
Gtestify credentials_test ( #28897 )
3 years ago
Craig Tiller
c42dfe32e7
Remove chttp2 plugin ( #28882 )
...
* Remove chttp2 plugin
* Automated change: Fix sanity tests
* fix tsan
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Esun Kim
6a10e41db7
Upgrade IWYU to use clang 13 ( #28891 )
...
* Upgrade IWYU to use clang 13
* Update by review
3 years ago
Jan Tattermusch
3c824b65a8
make protoc artifacts on windows with ninja ( #28854 )
3 years ago
Jan Tattermusch
fea1f3de33
A more reliable way of installing bazel on windows workers ( #28835 )
...
* more reliable bazel installation for win bazel RBE builds
* win RBE build already using the same credentials
* also recognize MSYS_NT returned by kokoro workers
3 years ago
Jan Tattermusch
d1db000f62
small cleanup in microbenchmark scripts ( #28886 )
3 years ago
AJ Heller
40f2c2a4e1
Upgrade googletest ( #27287 )
3 years ago
Richard Belleville
8de825ba80
Ruby xDS unterop: fix Docker invalid reference format ( #28859 )
3 years ago
AJ Heller
84ed11459d
Delete custom iomgr ( #28816 )
...
* Squashed version of gnossen's gevent pR
* rm
* Automated change: Fix sanity tests
Co-authored-by: drfloob <drfloob@users.noreply.github.com>
3 years ago
Ashitha Santhosh
1fee3d72be
remove SDK term from gRPC authz ( #28843 )
3 years ago
Richard Belleville
b8ee9ac7e5
Make Compatible with Bazel 5.0 ( #28683 )
...
* See what happens when we remove NDK
* Try to debug Kokoro in a super hacky way
* And echo the external IP too
* Attempt to fix NDK installation
* And actually run the portion of the code I need to test out
* Clean up
* Actually test against bazel 5
* Put export in proper file
* Make android an optional dependency
* Escape paths for Windows
* Revert switch to Bazel 5.0
3 years ago
Craig Tiller
df943da2c4
Promise based sleeps ( #28722 )
...
* Promise based sleep
* Embrace absl::Status
* Automated change: Fix sanity tests
* Add another test, fix bug
* fix
* fix
* review feedback
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Esun Kim
6565584c7b
Bump the minimum gcc to 5 ( #28786 )
3 years ago
Jan Tattermusch
9d73b3e85a
Use ninja for all grpc_csharp_ext builds on windows ( #28841 )
...
* cleanup C# win artifact build
* build C# basictests on win with ninja
* specify default parallelism for C# win artifact
* honor GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS in build_artifact_python.bat
* set --inner_jobs for windows grpc_build_artifact job
* fixup C# build picking env variables from C core build
* get rid of no longer needed NativeDependenciesConfiguration C# setting
3 years ago
AJ Heller
fc6f0277a4
Update third_party/protobuf to v3.19.4 ( #28842 )
...
* Update third_party/protobuf
* run tools/distrib/python/make_grpcio_tools.py
* update build_handwritten.yaml
* regenerate projects
3 years ago
Jan Tattermusch
e324bf5eee
Speed up windows C/C++ builds by using cmake Ninja generator ( #28833 )
...
* support building C/C++ with ninja
* make cmake_ninja_vs2015 build the default for C/C++
* fix vcvarsall location for vs2017
3 years ago
Lidi Zheng
cd4261b946
Support musllinux binary wheels on x64 and x86 ( #28092 )
...
* 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
3 years ago
yihuaz
b458db9246
Eliminate gRPC insecure build ( #25586 )
...
* force submit
* fix test error
* remove is_client from local tsi and its callsites
* fix too_many_pings_test
* add missing dep
3 years ago
Jan Tattermusch
dd84445074
More cleanup of docker run machinery. ( #28734 )
...
* update copyrights as per review comments
* docker run.sh cleanup: unnecessary to set CONFIG
Originally added in as
https://github.com/grpc/grpc/pull/2225/files#diff-156ef223959550cc6280d4747c600c187f275e5bb1a8f73c297e282898bf5a60R34
and no longer needed.
* XML_REPORT env variable is not used anywhere, run_tests_cmd carries the args
* remove unnecessary POST_GIT_STEP setting
It was originally added in gcc4.4 compatibility test and gcc4.4 is no
longer supported
https://github.com/grpc/grpc/pull/5384
* more docker_run.sh cleanup
3 years ago
Yousuk Seung
172120f6b4
Move XdsChannelCreds to CoreConfiguration ( #28746 )
...
* Move XdsChannelCreds to CoreConfiguration
* move xDS channel creds files to src/core/lib/security/credentials/xds
* Change back to returning a RefCountedPtr.
* make remove "xds_" from xds_channel_* files.
* Renamed to address comments.
* clang fix
* Fix another clang error
3 years ago
ZHANG Dapeng
79d7959c3d
Update client_matrix for Java v1.43.1 ( #28368 )
...
* Update client_matrix for Java v1.43.0
* Bump java version again
3 years ago
Jan Tattermusch
0ec0479ded
run_tests.py cleanup and simplification ( #28808 )
...
* only support cmake for CLanguage in run_tests.py
* add support for run_tests.py build step environ
* switch C/C++ run_tests.py build to build_cxx script
* CLanguage cleanup
* build C# entirely with build_csharp script
* move entire PHP build to build_php.sh
* fixup C# build on linux and mac
* run_dep_checks Makefile target is deprecated
* get rid of the "makefile" logic in run_tests.py
* fixup C# build on linux and mac
* XML_REPORT env variable is useless for --use_docker runs
* add a TODO
* move "main" functionality towards end of run_tests.py
* use self.args instead of global
* yapf format
* remove the no longer useful --update_submodules features of run_tests.py
* fix check_epollexclusive check in run_tests.py
3 years ago
Craig Tiller
caa67ccc5e
Ban std::random_device ( #28638 )
3 years ago
Paulo Castello da Costa
ccd8d577d0
Fix python os import. ( #28805 )
3 years ago
Paulo Castello da Costa
e89152cacd
Unfreeze benchmarks reference to test-infra repo. ( #28801 )
...
Follow-up to #28797 .
3 years ago
Wanlin Du
abc0f3e881
Update templates ( #28797 )
...
This pr updates the templates required by the change made in grpc/test-infra#267 .
3 years ago
apolcyn
64082940a5
Fix google c2p resolver shutdown during metadata server queries ( #28519 )
...
* Fix c2p resolver shutdown during metadata server queries
* handle lame channels in XDS client
3 years ago
Menghan Li
1dbda3b147
xds/interop: move definition of flag force_cleanup so that it is defined in all scripts ( #28791 )
3 years ago
Paulo Castello da Costa
c2da6f099f
Fix benchmark jobs. ( #28790 )
3 years ago