Craig Tiller
a8592b0a84
Compile fix for Fuchsia ( #27432 )
3 years ago
Craig Tiller
66ae0d5c08
Separate slices from mdelems for static data ( #27372 )
...
* separate slice into internal and refcount, with refcount being the minimal base
* python3-ize
* Separate slices from mdelems for static data
Allows us to separate a small build target with just some slice basics
from the rest, which will help simplify the build system longer term.
Additionally exposed an opportunity to eliminate an init function.
Should also help in a month or so when it's time to jettison interned
metadata and slices entirely.
* fix compilation
* Automated change: Fix sanity tests
* fixes
* fixfixfix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Lidi Zheng
f79189359b
Enable Python xDS retry tests ( #27431 )
...
* Enable affinity and retry tests for Python
* Make the test compatible to Python client
* Revert Python enabling in affinity tests
3 years ago
小么小儿郎EL
435d5207ab
fix: use == instead of is when comparing with a certain types of literals ( #26519 )
3 years ago
Craig Tiller
c21ca4dd30
Metadata: replace usage of grpc_metadata_batch_clear with Clear function ( #27423 )
3 years ago
Craig Tiller
fe9ad53c66
Metadata: replace usage of grpc_metadata_batch_size with TransportSize method ( #27421 )
3 years ago
Craig Tiller
06ef5893f8
Metadata: replace usage of grpc_metadata_batch_remove with Remove method ( #27420 )
3 years ago
Craig Tiller
ffb2c5e599
Metadata: replace usage of grpc_metadata_batch_link_{head,tail} with Link{Head,Tail} method ( #27419 )
...
* Metadata: replace usage of grpc_metadata_batch_link_{head,tail} with Link{Head,Tail} method
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Esun Kim
47586fb36e
Revert "Revert "Added absl::Status support to error_utils ( #27358 )" ( #27418 )" ( #27429 )
...
This reverts commit 933676c56c
.
3 years ago
Craig Tiller
933676c56c
Revert "Added absl::Status support to error_utils ( #27358 )" ( #27418 )
...
This reverts commit 9b3f75d322
.
3 years ago
AJ Heller
97631cf34c
EventEngine::Closure ( #27395 )
...
This introduces the new `Closure` type, and new cancellation semantics.
I've also fixed a few bugs in the EventEngine iomgr implementation that
had gone unnoticed.
3 years ago
Craig Tiller
b669a3c521
Revert "Revert "a useful change ( #27381 )" ( #27411 )" ( #27412 )
...
This reverts commit 5db17f7350
.
3 years ago
Richard Belleville
eada6c6e56
Update Alpine Test Image to Use Python 3.8 ( #27415 )
...
* Upgrade Alpine to Python 3.8
* Upgrade docker image to use 3.8
3 years ago
Esun Kim
47ca8c1209
Replace atm with AtomicError in call ( #27314 )
3 years ago
Esun Kim
9b3f75d322
Added absl::Status support to error_utils ( #27358 )
3 years ago
Craig Tiller
9872da79a1
Eliminate grpc_metadata_batch_{init,destroy,move} ( #27349 )
...
* Eliminate grpc_metadata_batch_{init,destroy,move}
* fixes
* fixes
* fixes
* fixes
* portability fixes
* fixes
* fix
* fix
* fix
* be explicit about being explicit
3 years ago
Esun Kim
3ba0bddbbc
Add add_error for Substitute ( #27414 )
3 years ago
Esun Kim
c80233a4ba
Fix bugs in error ( #27377 )
3 years ago
donnadionne
1caff522e4
Adding a log to make logging in WaitForAllBackends and WaitForBackend ( #27365 )
...
consistent.
This helps to uncover a case where the first test in the shard seems to
encounter longer delays than the rest of the tests.
3 years ago
Craig Tiller
5db17f7350
Revert "a useful change ( #27381 )" ( #27411 )
...
This reverts commit 11eb70bbed
.
3 years ago
Craig Tiller
11eb70bbed
a useful change ( #27381 )
...
* a useful change
* Automated change: Fix sanity tests
* fix
* fix
* QsortCompare it is!
* Automated change: Fix sanity tests
* add missing header
* clang-tidy fixes, tweak clamp to only use <
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
179cdfcadb
Update fuzzer infrastructure for developers a little ( #27403 )
...
* add a config that will build fuzzers
* bazel run --config=fuzzer_asan //path/to:fuzzer fuzzes!
3 years ago
Craig Tiller
bbf41f2980
Remove seemingly dead code ( #27404 )
...
* Remove seemingly dead code
* more cleanup
3 years ago
Jan Tattermusch
d64f75d029
C#: metadata.Get and GetAll should accept uppercase keys ( #27383 )
3 years ago
Jan Tattermusch
2fc133b9be
fix use-after-free metadata corruption in C# when receiving response headers for streaming response calls ( #27382 )
3 years ago
donnadionne
30b7f09508
Major bump core major version from 18.0.0 to 19.1.0 ( #27392 )
...
* Bump core version to 19.1.0
* Regenerate projects
3 years ago
Terry Wilson
f3eb95aec3
xds-k8s buildscripts: Add missing quotation marks. ( #27389 )
...
These were missed when creating the Python virtual env.
3 years ago
Craig Tiller
4d7ad5271a
Handle cancellation inside polling an activity ( #27369 )
...
* allow cancellation during run
* add a test
* review feedback
3 years ago
Lidi Zheng
46257815d4
Disable grpc_status_test for sync stack in Python2 ( #27374 )
...
* Disable grpc_status_test for sync stack in Python2
* Correct the if condition
* Also disable this test in Bazel
* Clean the unnecessary import in BUILD
3 years ago
Lidi Zheng
f99c193d72
Allow more advanced test case support semantic ( #27373 )
...
* Allow more advanced test case support semantic
* Fix comments and docs
* Correct the supported Golang version in retry test
* Make isort happy
3 years ago
Ta-Wei Tu
f7998db700
Migrate binder transport end-to-end tests to use the existing testing service ( #27179 )
...
* Use TestServiceImpl in binder end-to-end tests
* Fix TSAN warnings
3 years ago
donnadionne
b9a997be11
Bump version to v1.41.0 ( #27370 )
...
* Bump version to v1.41.x
* Regenerate projects
3 years ago
Craig Tiller
fb73292270
Promises: Fix composition problems of loops of seq ( #27337 )
...
* Promises: Fix composition problems of loops of seq
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Lidi Zheng
299be4303d
Reduce xDS GCE interop framework to only run ping_pong ( #27355 )
...
* Reduce xDS GCE interop framework to only run ping_pong
* Revert changes in PHP and Ruby
3 years ago
Ta-Wei Tu
8c97369986
[binder] Fix crash when missing authority ( #27321 )
...
There is an assertion in Server::CallData::RecvInitialMetadataReady()
that checks whether the received initial metadata indeed contains keys
:authority and :path. However, there was no such check in the binder
transport. This PR calls recv_initial_metadata_ready with an error when
either :authority or :path is missing in the received initial metadata.
3 years ago
Ming-Chuan
8c425189f3
Add uid to OnTransactCb argument ( #27328 )
...
* Add uid to OnTransactCb argument
This will allow callback functions to check if current RPC call conforms
to the security policy.
3 years ago
Denny C. Dai
49f1f43418
[objc] Switch off optimization for test and regen xbproj ( #27356 )
3 years ago
Craig Tiller
c6a20601dc
Activities: Don't execute inline ( #27341 )
...
* Activities: Don't execute inline
* fix test
3 years ago
Menghan Li
8545cfa1cb
xds/interop: turn on affinity urlmap tests for go ( #27359 )
3 years ago
Doug Fawley
f4a5dde99a
xds interop: enable retry tests for Go ( #27357 )
3 years ago
Craig Tiller
e2ed0f7fa8
Remove dead member variable ( #27353 )
3 years ago
Esun Kim
7710e94617
LameClient ready for absl::Status ( #27319 )
...
* LameClient ready for absl::Status
* Update by review
3 years ago
Alisha Nanda
0a502d8f2e
Fix race between Read and ServerContext::IsCancelled in Sync API ( #27056 )
...
* Fix OOM issues in qps tests
* Add more verbose logging.
* Fix clang error
* Fix race between IsCancelled and Read
* Fix build errors from using bool in C code
3 years ago
Paulo Castello da Costa
96a7b357dc
Normalize load test prefixes, and update go version to go1.17.1. ( #27351 )
...
* Set the prefix to a constant value for test runs initiated by users with names that start with `kokoro`. Prefixes for master and experimental jobs are `kokoro` and `kokoro-test` respectively. This compensates for the fact that scheduled runs are initiated by `kokoro`, but CI runs are initated by `kokoro-github-subscriber`.
* Update the go version to be used for each run from go1.17 to go1.17.1.
3 years ago
Mark D. Roth
d564d02514
Remove unnecessary check for channel disconnection upon LB pick failure ( #27330 )
...
* Remove unnecessary check for channel disconnection upon LB pick failure
* don't use atomic for disconnect_error_
3 years ago
Jan Tattermusch
7c10e1b9fe
stop running protobuf_async_streaming_from_server_qps_unconstrained_secure scenario on CI ( #27346 )
3 years ago
Ta-Wei Tu
b45568212f
[binder] Client fuzzer ( #27052 )
...
* Add client fuzzer
* Limit readable parcel size to 1MB
3 years ago
Ming-Chuan
4cb907457b
Rename binder transport example client app ( #27344 )
...
Rename the app to exampleclient
Also moved and updated README.md
3 years ago
Esun Kim
91e0660638
Replace grpc_error* with grpc_error_handle ( #27311 )
...
* Replace grpc_error* with grpc_error_handle
* fix python build
3 years ago
Craig Tiller
fd233193ec
Encapsulate metadata aggregates ( #27262 )
...
* Encapsulate metadata aggregates
* Automated change: Fix sanity tests
* add const
* Automated change: Fix sanity tests
* add a comment about an awful api
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago