Commit Graph

50596 Commits

Author SHA1 Message Date
Jan Tattermusch 6f75e54e4f
run_tests_matrix.py: run workspace jobs with python3 (#28125) 2022-03-14 12:12:51 +01:00
Jan Tattermusch a3be072605
Switch .py shebang to python3 (#28963)
* switch shebang to python3

* prepare_build_macos: install latest available patch for each python
2022-03-14 10:41:30 +01:00
Jan Tattermusch 267d0b550f
add kokoro jobs cfg for grpc_memory_diff (#29081) 2022-03-14 09:11:24 +01:00
Craig Tiller c1edb080ac
Remove decompression from the minimal http stack (#29083) 2022-03-13 20:27:20 -07:00
Craig Tiller 5d81683faa
Add per-call memory bloat report to CI (#29037)
* Add per-call memory bloat report to CI

* fix

* test

* Automated change: Fix sanity tests

* Update grpc_bloat_diff_in_docker.sh

* Update memory_diff.py

* review feedback

* prep for new job

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2022-03-12 11:56:48 +01:00
AJ Heller 4ffcef7932
Release notes generator script: add retries with exponential backoff (#29077)
* Release notes script: add retries with exponential backoff

* Automated change: Fix sanity tests

Co-authored-by: drfloob <drfloob@users.noreply.github.com>
2022-03-10 18:38:55 -08:00
Yash Tibrewal 674e938de5
More tests prep for graceful goaway (#29076)
* More tests prep for graceful goaway

* clang-tidy
2022-03-10 16:55:09 -08:00
Jan Tattermusch 24dfe21cad
activate ccache for selected win builds (#28735) 2022-03-10 19:50:34 +01:00
Mark D. Roth 707aad777d
resolver: refactor common code for polling-based resolvers (#28979)
* resolver: refactor common code for polling-based resolvers

* remove now-incorrect assertion

* fix cleanup bug

* add missing include guards

* portability fix

* fix some lifetime issues

* plumb tracer into PollingResolver

* fix pollset_set propagation

* increase RPC timeout in python DNSResolverTest

* add dns_resolver tracer and fix ref leak

* code review comments

* check shutdown_ in OnNextResolutionLocked()
2022-03-10 10:45:52 -08:00
Yash Tibrewal eeb3b3e75a
ObjC: End2EndTests fix (#29070) 2022-03-10 07:21:21 -08:00
Yash Tibrewal 2a0d6234cb
HTTP2: No need to run cancelling logic on servers when receiving GOAWAY (#29067) 2022-03-09 17:57:05 -08:00
Yash Tibrewal a1620ce2bd
HTTP2: Don't throttle pings from the server (#29053)
* HTTP2: Don't throttle pings from the server

* Reviewer comments
2022-03-09 17:12:03 -08:00
Yash Tibrewal c9946c2183
Channelz Service Test Shutdown (#29068) 2022-03-09 17:04:39 -08:00
AJ Heller 99a30de9e7
Bump version to 1.46.0-dev (on master branch) (#29064)
* bump version to 1.46.0-dev

* regenerate projects
2022-03-09 16:44:12 -08:00
Yash Tibrewal 68d721058c
Prepare async_end2end_test for graceful goaway (#29054) 2022-03-09 16:06:05 -08:00
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.
2022-03-10 06:18:36 +08:00
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>
2022-03-09 13:49:01 -08:00
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.
2022-03-10 04:04:44 +08:00
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
2022-03-08 15:25:52 -08:00
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
2022-03-08 11:57:46 -08:00
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
2022-03-08 20:31:32 +01:00
Esun Kim 2a699b9a09
Removed jessie-based distribtest (#29029)
* Removed jessie-based distribtest

* Update by review
2022-03-08 08:13:13 -08:00
AJ Heller b639e09c90
Enable ipv4 end2end tests inside Google (#29013) 2022-03-07 18:13:52 -08:00
Yash Tibrewal cd59d14fd2
Repo Manager - Esun (#29038) 2022-03-07 13:07:48 -08:00
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>
2022-03-07 12:14:03 -08:00
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
2022-03-07 10:32:36 -08:00
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>
2022-03-07 10:02:09 -08:00
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
2022-03-07 09:31:48 -08:00
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
2022-03-07 08:52:30 -08:00
Craig Tiller b9bf4b7012
Fix state machine (#29036) 2022-03-07 07:41:42 -08:00
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
2022-03-07 12:16:46 +01:00
Jan Tattermusch 5b603fe55b
removed unused grpc_bazel_test kokoro job (#28965) 2022-03-07 09:20:40 +01:00
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
2022-03-06 19:33:17 +01:00
Esun Kim f3079bde89
Reset shutdown_error for Orphan (#29015) 2022-03-04 16:23:33 -08:00
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>
2022-03-04 14:42:59 -08:00
Lidi Zheng b8bbe30452
[PSM interop] Double the operation timeout (#29004) 2022-03-04 14:02:49 -08:00
AJ Heller 0aa8b9c8cd
Bump core version to 23.0.0 for upcoming release (#29026)
* bump C-core version

* regenerate projects
2022-03-04 12:47:45 -08:00
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>
2022-03-04 11:30:23 -08:00
AJ Heller 36824bc570
Revert "Revert "Revert "Add Python Reflection Client (#28443)" (#28878)" (#28879)" (#29023)
This reverts commit cf9be3d49d.
2022-03-04 10:09:11 -08:00
AJ Heller 851df6d46d
Revert "Respect the application returned status code and propagate that (#29010)" (#29017)
This reverts commit a04739095e.
2022-03-03 21:04:56 -08:00
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>
2022-03-03 15:53:28 -08:00
Craig Tiller a04739095e
Respect the application returned status code and propagate that (#29010) 2022-03-03 12:07:13 -08:00
James Newton-King 5ba6beff18
[C#] Add cancellation token overloads to streaming interfaces (#27886)
* Add cancellation token overloads to streaming interfaces

* PR feedback
2022-03-03 10:47:53 -08:00
Jan Tattermusch f574f70c68
fix C# single-job distribtests jobs when version has no suffix (#28924) 2022-03-03 10:46:01 -08:00
Craig Tiller 564f7d6c53
Fix for promise based helper (#29009) 2022-03-03 10:18:24 -08:00
Yash Tibrewal cc44f7c7a2
Credentials: Use QsortCompare instead of strcmp for type comparison (#28973)
* Credentials: Use QsortCompare instead of strcmp for type comparison

* Reviewer comments
2022-03-02 17:10:53 -08:00
Yash Tibrewal 55ba777c7a
credentials_test: Add namespace (#29006) 2022-03-02 16:57:44 -08:00
Mark D. Roth 6d61efe27c
retry: update comment to indicate transparent retries are implemented (#29003) 2022-03-02 14:59:18 -08:00
Lidi Zheng cf9be3d49d
Revert "Revert "Add Python Reflection Client (#28443)" (#28878)" (#28879)
This reverts commit 1b4b3764ba.
2022-03-02 14:52:47 -08:00
Craig Tiller 3ffa94f5e7
Fix cancellation for promise based server filters (#28998)
* Fix cancellation on async server filters

* fix
2022-03-02 12:27:57 -08:00