Craig Tiller
ad936d3710
[bloat] Prefer std::vector to absl::InlinedVector ( #30086 )
...
* [bloat] Prefer std::vector to absl::InlinedVector
* fix
* fix
* fix
* fix
* fixes
* fix
* fixes
2 years ago
Ben Beasley
e3e4d41bd9
Use gRPC_INSTALL_LIBDIR for pkgconfig files ( #29826 )
...
* Use gRPC_INSTALL_LIBDIR for pkgconfig files
Fixes #25635 .
If grpc libraries are installed in <prefix>/lib64, then .pc files should
be installed in <prefix>/lib64/pkgconfig. Before this commit, they were
always installed in <prefix>/lib/pkgconfig.
* Re-generate projects
2 years ago
Craig Tiller
2157d76930
Revert "[iomgr] Never shut down grpc_event_engine ( #30089 )" ( #30099 )
...
This reverts commit 0979955f9b
.
2 years ago
Denny C. Dai
98eeb8ae5d
[gRPC/iOS] Remove libuv pod dependnecy from iOS cocoapod build ( #30096 )
2 years ago
Denny C. Dai
4fb924f939
[gRPC/iOS] Remove and cleanup CoreTest iOS test ( #30095 )
2 years ago
Vignesh Babu
319b66499f
Fix static port usage in event engine client test ( #30094 )
2 years ago
Craig Tiller
0979955f9b
[iomgr] Never shut down grpc_event_engine ( #30089 )
...
There's been an uptick of races against g_event_engine in iomgr (this is not the new event engine but rather the old one that is a component of iomgr on posix). It's of genuinely little interest if this shuts down or not, so instead, just initialize it once at the first grpc_init, and then leave it for the lifetime of the application.
Should solve the majority of our TSAN flakes on Linux, and *I suspect* many of our other flakiness problems at head.
As we move to event engine over the next small amount of time we can transition to a better init/shutdown story for that.
2 years ago
Hannah Shi
f1d1032163
fix 64 to 32 bit clang conversion warning in src/core/ext/filters ( #29872 )
2 years ago
Hannah Shi
6458ffa88b
fix 64 to 32 bit clang conversion warning in src/core/tsi ( #29878 )
2 years ago
Hannah Shi
1394287517
Fix 'This function declaration is not a prototype' warning in Xcode ( #29871 )
2 years ago
Esun Kim
c66c362191
Reland "Enable GRPC_ERROR_IS_ABSEIL_STATUS" ( #30047 )
...
* Revert "Revert "Enable GRPC_ERROR_IS_ABSEIL_STATUS (#29869 )" (#30031 )"
This reverts commit 2d0d1775a9
.
* Fix the test
2 years ago
Vignesh Babu
c03388853c
Revert "Revert "Creating a posix oracle event engine and a suite of event engine client tests"" ( #30060 )
...
* Revert "Revert "Creating a posix oracle event engine and a suite of event engine client tests (#29714 )" (#30042 )"
This reverts commit 1630efd8ab
.
* fix typos
2 years ago
Mark D. Roth
870fe8624f
security handshaker: include security connector type in error message ( #30046 )
...
* weighted_target and RLS: delegate to child picker on error
* security handshaker: include security connector type in error message
* update test
* fix sanity
* fix crash
* Automated change: Fix sanity tests
Co-authored-by: markdroth <markdroth@users.noreply.github.com>
2 years ago
Vignesh Babu
03418de3de
Revert "Revert "Tcp connect cancellation implementation for posix"" ( #30061 )
...
* Revert "Revert "Tcp connect cancellation implementation for posix (#29976 )" (#30037 )"
This reverts commit 13dfc6b4d3
.
* add tcp global init in iomgr_posix_cfstream
2 years ago
Craig Tiller
5efdac9081
[fuzzing_event_engine] add necessary cast ( #30083 )
2 years ago
Mark D. Roth
3a8e54b005
round_robin: update status upon each new connection failure ( #30001 )
...
* refactor connection injectors in client_lb_end2end_test and add test for sticky TF
* round_robin: update status upon each new connection failure
* fix ring_hash too
* clang-format
2 years ago
Mark D. Roth
86e282ba97
weighted_target and RLS: delegate to child picker on error ( #29870 )
...
* weighted_target and RLS: delegate to child picker on error
* fix RLS bug that caused us to always use the last target in the list
* add comment
2 years ago
Mark D. Roth
7976501534
client_lb_end2end_test: refactor connection injectors and add test for sticky TF ( #29993 )
...
* refactor connection injectors in client_lb_end2end_test and add test for sticky TF
* Automated change: Fix sanity tests
Co-authored-by: markdroth <markdroth@users.noreply.github.com>
2 years ago
Mark D. Roth
d0c8b29ef7
xDS: fix endpoint weight defaults ( #30079 )
...
* xDS: fix endpoint weight defaults
* add test
* NACK endpoint weight of 0
* iwyu
* clang-tidy
* fix test
2 years ago
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
.
3 years ago
Yash Tibrewal
c6145a93bf
xds Istio Interop: Handle failures properly ( #30036 )
...
* xds Istio Interop: Handle failures properly
* Unused parameters
* Remove unnecessary sleep
3 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>
3 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>
3 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
3 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>
3 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>
3 years ago
AJ Heller
13dfc6b4d3
Revert "Tcp connect cancellation implementation for posix ( #29976 )" ( #30037 )
...
This reverts commit 7417386956
.
3 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
3 years ago
AJ Heller
823682e4df
OrcaService: fix timer race on cancellation ( #30035 )
...
* temporary debug statement
* fix race; remove debug statements
* reviewer suggestion
3 years ago
Esun Kim
323be889af
Fix the unaligned access to Time of Status ( #30033 )
3 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.
3 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
3 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.
3 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>
3 years ago
Esun Kim
2d0d1775a9
Revert "Enable GRPC_ERROR_IS_ABSEIL_STATUS ( #29869 )" ( #30031 )
...
This reverts commit c6058b5e6b
.
3 years ago
Sergii Tkachenko
ab1a23e64e
xds-k8s: add type hints to XdsKubernetesBaseTestCase ( #30025 )
...
To make PyCharm happy.
3 years ago
Esun Kim
c6058b5e6b
Enable GRPC_ERROR_IS_ABSEIL_STATUS ( #29869 )
...
* Enable GRPC_ERROR_IS_ABSEIL_STATUS
* Sanitize
* Fix ServerRequestCallTest
3 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
3 years ago
AJ Heller
cda2127776
Revert "[event-engine] Fork timer code ( #29816 )" ( #30020 )
...
This reverts commit 977ebbef09
.
3 years ago
apolcyn
fd8ff7d682
Document logging format from interop soak tests ( #30012 )
...
* Document logging format of interop soak tests
3 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>
3 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>
3 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>
3 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>
3 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
3 years ago
apolcyn
a1e1d34f36
Log peer address in interop soak client ( #30006 )
3 years ago