yifeizhuang
e026f5759c
interop-test: add internal ci for orca_oob and orca_per_request ( #29985 )
2 years ago
Craig Tiller
24caf53835
Roll forward iomgr ee fork ( #30022 )
...
* Revert "Revert "[event-engine] Fork timer code (#29816 )" (#30020 )"
This reverts commit cda2127776
.
* fix-import
* [event_engine] Use durations for scheduling things
* fix
* Automated change: Fix sanity tests
* run-after
* fix
* Automated change: Fix sanity tests
* rename
* Automated change: Fix sanity tests
* format is changing, expunge corpus
* update api_fuzzer
* fix
* Automated change: Fix sanity tests
* fix
* review feedback
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Alisha Nanda
e085568c88
Fix build failures with istio test ( #30074 )
...
* Fix ubsan failure
* Fix build failures with istio test
* Fix other status code
2 years ago
Nicolas Noble
a285704aaf
bG6b3V2MNxQ ( #30021 )
2 years ago
Vignesh Babu
1630efd8ab
Revert "Creating a posix oracle event engine and a suite of event engine client tests ( #29714 )" ( #30042 )
...
This reverts commit 19e6a6d232
.
2 years ago
Yash Tibrewal
c6145a93bf
xds Istio Interop: Handle failures properly ( #30036 )
...
* xds Istio Interop: Handle failures properly
* Unused parameters
* Remove unnecessary sleep
2 years ago
Craig Tiller
fbe6a4d941
[iwyu] Add test/core/resource_quota ( #29999 )
...
* [iwyu] Add test/core/resource_quota
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
AJ Heller
da0eb19b22
EventEngine::RunAt: C++ Alarm ( #30024 )
...
* EventEngine::RunAt: C++ Alarm
* format
* mutex
* iwyu
* RunAfter EE API change
* Automated change: Fix sanity tests
Co-authored-by: drfloob <drfloob@users.noreply.github.com>
2 years ago
AJ Heller
d374a2ea9e
EventEngine::RunAt(): Weighted Target LB Policy removal timer ( #30013 )
...
* EventEngine::RunAt(): Weighted Target LB Policy removal timer
* inline the OnTimer method
* fix
* mutable
* fix mutable
* RunAfter EE API
* sanitize
2 years ago
Vignesh Babu
19e6a6d232
Creating a posix oracle event engine and a suite of event engine client tests ( #29714 )
...
* Creating a posix oracle event engine and a suite of event engine client tests
* regenerate projects
* addressing review feedback
* creating a promise.h in src/core/lib/event_engine
* regenerate projects
* fix errors
* remove no_mac tag for posix oracle event engine test
* Automated change: Fix sanity tests
* fix a static_cast
* adding a no_windows tag
* fixing macos build and test issues
* adding some static_casts
* removing connection manager usage in client_test to improve readability
* fix nits
* fix minor typo
* fix sanity checks
* update fuzzing_event_engine_test to new api
* update event engine time type
Co-authored-by: Vignesh2208 <Vignesh2208@users.noreply.github.com>
2 years ago
Craig Tiller
cdd340cbdb
[iwyu] Add test/core/uri ( #30000 )
...
* [iwyu] Add test/core/uri
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
AJ Heller
13dfc6b4d3
Revert "Tcp connect cancellation implementation for posix ( #29976 )" ( #30037 )
...
This reverts commit 7417386956
.
2 years ago
Yash Tibrewal
f17110adef
xDS Istio Interop: Forward ForwardEcho requests for unhandled protocols ( #30005 )
...
* xDS Istio Interop: Forward ForwardEcho requests for unhandled protocols
* Add deadline
* clang-tidy
* Reviewer commentsg
2 years ago
AJ Heller
823682e4df
OrcaService: fix timer race on cancellation ( #30035 )
...
* temporary debug statement
* fix race; remove debug statements
* reviewer suggestion
2 years ago
Esun Kim
323be889af
Fix the unaligned access to Time of Status ( #30033 )
2 years ago
Sergii Tkachenko
48885b74b0
xds-k8s jobs: standardize TESTING_VERSION ( #30027 )
...
This Addresses the issue with skips not working in golang tests, ref b/235688697.
1. Unifies `TESTING_VERSION` detection in grpc_xds_k8s_install_test_driver.sh - new approach applicable to all languages.
2. Use `TESTING_VERSION` in all build files in `--testing_version` and when tagging docker images. This will be backported to all active test branches. Build Scripts in all other languages will be updated as well.
2 years ago
Sergii Tkachenko
c27730218c
xds-k8s: handle missing edge case in TestConfig version comparison ( #30030 )
...
Fixes incorrect `master` version handling in subsetting_test.
Ref b/235825277
2 years ago
Benoit Daloze
c28ca6ef2b
Remove template for extconf.rb and get the version from lib/grpc/version.rb ( #30017 )
...
* Having the entire logic of extconf.rb duplicated in 2 files is
extremely inconvenient, also because the Ruby logic in the YAML template
does not get any syntax highlighting or IDE features.
2 years ago
Craig Tiller
d9f64437b0
[event_engine] Use durations for scheduling things ( #30023 )
...
* [event_engine] Use durations for scheduling things
* fix
* Automated change: Fix sanity tests
* run-after
* fix
* Automated change: Fix sanity tests
* rename
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Esun Kim
2d0d1775a9
Revert "Enable GRPC_ERROR_IS_ABSEIL_STATUS ( #29869 )" ( #30031 )
...
This reverts commit c6058b5e6b
.
2 years ago
Sergii Tkachenko
ab1a23e64e
xds-k8s: add type hints to XdsKubernetesBaseTestCase ( #30025 )
...
To make PyCharm happy.
2 years ago
Esun Kim
c6058b5e6b
Enable GRPC_ERROR_IS_ABSEIL_STATUS ( #29869 )
...
* Enable GRPC_ERROR_IS_ABSEIL_STATUS
* Sanitize
* Fix ServerRequestCallTest
2 years ago
Richard Belleville
0b4f95b352
Set Correct Platform Tag in Wheels on Mac OS with Python 3.10 ( #29857 )
...
* Attempt to set correct platform on Mac OS
* Add some debug
* Make it fail
* Print more
* Try again
* Maybe it's an ordering issue?
* Get logs back
* Try copying distutils to see exactly what is being used
* Actually export the variable
* I just love debugging with CI
* One directory higher this time
* Try with an upgraded Python install
* Fix version
* Rebreak
* Try setting it even earlier?
* Unbreak
* Try explicitly renaming the artifacts
* Fix
* I am about ready to start NAT hole punching for SSH
* Break things for logs
* Whoops
* Clean up
* Shellcheck
2 years ago
AJ Heller
cda2127776
Revert "[event-engine] Fork timer code ( #29816 )" ( #30020 )
...
This reverts commit 977ebbef09
.
2 years ago
apolcyn
fd8ff7d682
Document logging format from interop soak tests ( #30012 )
...
* Document logging format of interop soak tests
2 years ago
Craig Tiller
977ebbef09
[event-engine] Fork timer code ( #29816 )
...
* move files
* [event-engine] Fork timer code from iomgr
* progress
* thread-pool
* x
* fixes
* tests
* Automated change: Fix sanity tests
* x
* wip
* Automated change: Fix sanity tests
* timer-heap-test
* flesh-things-out
* wip
* Automated change: Fix sanity tests
* fix-test
* fix
* Automated change: Fix sanity tests
* fix
* fix windows
* Automated change: Fix sanity tests
* fix mac
* fix
* review feedback
* fix
* Automated change: Fix sanity tests
* fixes
* Automated change: Fix sanity tests
* review feedback
* Automated change: Fix sanity tests
* fix
* annotate
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
hongnod
d0751191a9
tell MSVC to build grpc with utf-8 ( #30003 )
...
* tell MSVC to build grpc with utf-8
fix #29979
* generate_projects
Co-authored-by: AJ Heller <hork@google.com>
2 years ago
AJ Heller
6598793c9f
EventEngine::RunAt: Orca Service Timer ( #30011 )
...
* EventEngine::RunAt: Orca Service Timer
* optional changes to optionals
* Automated change: Fix sanity tests
* fix the build (the auto-fixer broke it)
Co-authored-by: drfloob <drfloob@users.noreply.github.com>
2 years ago
Vihang Mehta
1be6e2c9eb
Update bazel toolchain mirror ( #29980 )
...
See https://github.com/bazelbuild/bazel-toolchains/issues/891#issuecomment-654877498
and https://github.com/grpc/grpc/pull/27410#discussion_r715420745
Seems like the mirror for bazel toolchains changed the URL and they
mirror downloads but not archives. This should fix any issues with
missing mirror and workaround https://github.com/bazelbuild/bazel-toolchains/issues/972
Signed-off-by: Vihang Mehta <vihang@pixielabs.ai>
2 years ago
Yash Tibrewal
78d6d71af3
Call: Send cancel op down the stack even when no ops are sent ( #30004 )
...
* Call: Send cancel op down the stack even when no ops are sent
* Add test
2 years ago
apolcyn
a1e1d34f36
Log peer address in interop soak client ( #30006 )
2 years ago
Mark D. Roth
f12972506e
xDS: improve status messages from xDS resolver failures ( #29975 )
2 years ago
Ben Beasley
c805c4e2d4
Replace deprecated Python “inspect.getargspec” ( #29963 )
...
This has been deprecated since Python 3.0 and is removed in Python 3.11.
We can use “inspect.getfullargspec” instead.
Fixes #29962 .
2 years ago
Vignesh Babu
7417386956
Tcp connect cancellation implementation for posix ( #29976 )
...
* Changing grpc_tcp_client_vtable to include TCP cancel connect method
* fix unused parameter error
* update
* TCP cancel connect implementation for posix
* update boundary condition checking
* fix race condition
* update
* unref error
* fix sanity checks
* adding a tcp client posix connect cancellation test
* update per review comments
* Add comment
* fix sanity checks
2 years ago
Denny C. Dai
e2b772cbd8
[gRPC/iOS] Interop test deflake ( #29997 )
2 years ago
Yash Tibrewal
b9aec4def7
Status: Add comment about const ref parameters ( #29973 )
2 years ago
Mark D. Roth
a78df68e96
xds: add "ignore_resource_deletion" server feature ( #29633 )
...
* xds: add "ignore_resource_deletion" server feature
* add logging
* clang-format
* fix build
* fix build
* add test for LDS resource deletion on gRPC server
* clang-format
2 years ago
Craig Tiller
e2ebebadfc
[iwyu] Add test/core/promise ( #29994 )
...
* [iwyu] Add test/core/promise
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Craig Tiller
840b38ccbc
Reland (again) fuzzing event engine ( #29948 )
...
* Revert "Revert "Reland fuzzing event engine (#29943 )" (#29947 )"
This reverts commit dd07751c03
.
* fix
2 years ago
Denny C. Dai
4c60ba592e
[gRPC/iOS] Fix grpc_basictests_objc_ios due to unused function warning/error ( #29988 )
2 years ago
Hannah Shi
932878b1ce
[ObjC] unit tests with bazel ( #29799 )
...
* unit tests with bazel
* passing via --test_env from bazel command line
* remove env from BUILD; fix sanity check in run_one_test_bazel.sh
* add port server
3 years ago
Mark D. Roth
5cd446ddde
subchannel: accept RequestConnection() only in IDLE state ( #29978 )
...
* subchannel: accept RequestConnection() only in IDLE state
* fix crash
3 years ago
github-actions[bot]
8c780929c0
Automated change: Fix sanity tests ( #29986 )
...
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
6532084a06
[iwyu] rest of the owl: src/core/lib - excluding iomgr, gpr ( #29735 )
...
* [iwyu] rest of the owl: src/core/lib - excluding iomgr, gpr
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* fixes
* Automated change: Fix sanity tests
* fix
* fix
* fixes
* fixes
* x
* fix?
* fix
* windows fix
* fix
* fix
* fix
* fix
* fix
* debug
* fix
* fix
* Revert "debug"
This reverts commit c99b8d12dd
.
* Automated change: Fix sanity tests
* fix?
* Automated change: Fix sanity tests
* header cleanup
* fix
* fix
* fix
* Automated change: Fix sanity tests
* fix
* fix
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* fixes
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Vignesh Babu
f8eedac1fc
Changing grpc_tcp_client_vtable to include TCP cancel connect method ( #29968 )
...
* Changing grpc_tcp_client_vtable to include TCP cancel connect method
* fix unused parameter error
* update
* fix sanity checks
3 years ago
Anirudh Ramachandra
a0da0ab243
Prevent double encoding of '%' in grpc_sockaddr_to_uri ( #29982 )
...
grpc_sockaddr_to_uri was changed recently to use the URI library directly. grpc_sockaddr_to_uri uses grpc_sockaddr_to_string internally and it has explicit logic for URI encoding of %. This causes % to be encoded as %2525 instead of %25 causing issues with decoding later on.
This is especially problematic for IPV6 addresses with zone identifiers where the interface is delimited by %.
@markdroth
3 years ago
Hannah Shi
3ad945947c
[ObjC]interop tests with bazel ( #29800 )
...
* interop tests with bazel
* remove env in BUILD
* clang format
3 years ago
Mark D. Roth
8459824e5c
xds end2end tests: change tests to check all RPC failure statuses ( #29974 )
...
* WIP
* fix from merge
* fix ring_hash tests
* ring hash: fix picker propagation bug in xds_cluster_manager policy
* fix build
* clang-format (ish)
* fix build
* more conversion
* remove old CheckRpcSendFailure
* fix SendRpcsAndCountFailuresWithMessage
* fix WaitForBackend
* clang-format
* revert xds resolver change, that will be done in a separate PR
* Automated change: Fix sanity tests
Co-authored-by: markdroth <markdroth@users.noreply.github.com>
3 years ago
Vignesh Babu
475623c489
Provide means to control TCP frame sizes in response to high memory pressure ( #29793 )
...
* Provide means to control TCP frame sizes in response to high memory pressure
* static_cast
* fix sanity checks
* removing endpoint_write frame clipping. this could be added in a separate PR
* fix sanity checks
* remove unused parameter
* addressing review comments
* rename functions
* add a TODO
* fixing naming issues
* add changes to test
* Save ENOBUFS errno correctly in tcp_posix for subsequent handling
* updaing min_progress_size computation
* Revert "Save ENOBUFS errno correctly in tcp_posix for subsequent handling"
This reverts commit 5e1d10ac9b
.
* fine tuning min progress size estimation and updating unit tests to verify returned min progress size
3 years ago
Lidi Zheng
db684ad0dd
[xDS interop] Fix the affinity test support range ( #29972 )
3 years ago