Commit Graph

12803 Commits

Author SHA1 Message Date
Denny C. Dai e2b772cbd8
[gRPC/iOS] Interop test deflake (#29997) 2022-06-13 16:51:42 -07:00
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>
2022-06-13 13:59:12 -07:00
Craig Tiller 840b38ccbc
Reland (again) fuzzing event engine (#29948)
* Revert "Revert "Reland fuzzing event engine (#29943)" (#29947)"

This reverts commit dd07751c03.

* fix
2022-06-13 12:49:56 -07:00
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
2022-06-10 19:37:07 -07:00
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>
2022-06-10 13:04:47 -07:00
Hannah Shi 3ad945947c
[ObjC]interop tests with bazel (#29800)
* interop tests with bazel

* remove env in BUILD

* clang format
2022-06-09 19:03:17 -07:00
Lidi Zheng db684ad0dd
[xDS interop] Fix the affinity test support range (#29972) 2022-06-09 15:37:16 -07:00
apolcyn e6c6840db3
Revert "Reland bytestream removal (#29911)" (#29964)
* Revert "Reland bytestream removal (#29911)"

This reverts commit 98dcba2807.

* Automated change: Fix sanity tests
2022-06-09 08:51:06 -07:00
Alessio Buraggina 990bb66ebf
Add MacOS system roots loading support. (#29957)
This change includes:
* adding a cert file path for MacOS
* updating related test to run on MacOS too
* s/linux/supported/ since this now includes more platforms
* regenerating files affected by the name change
2022-06-09 07:20:45 -07:00
Lidi Zheng 347d9ed3ea
Add ring_hash_lb to trace logs for Python/C++ xds interop clients (#29956) 2022-06-08 15:41:29 -07:00
Lidi Zheng 2cae3827e6
[xDS interop] Disable api_listener_test for older Python versions (#29945) 2022-06-08 12:59:54 -07:00
Craig Tiller 720f9d65c9
[resource_quota] Periodic update tracker (#29853)
* [resource_quota] Periodic update tracker

Periodic update type that tries to do updates at some measurable
timescale without polling the current time every tick, instead trying to
approximate how many ticks will be required to fill the desired
duration.

The intent here is that we use this in RQ to donate memory back
periodically whilst keeping timer checks off the fast path.

* fix

* Automated change: Fix sanity tests

* review feedback

* fix

* fix

* review feedback

* Automated change: Fix sanity tests

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2022-06-07 20:15:28 -07:00
Craig Tiller dd07751c03
Revert "Reland fuzzing event engine (#29943)" (#29947)
This reverts commit 72e65b03cf.
2022-06-07 19:22:34 -07:00
Yash Tibrewal 1e9fe0b8b3
Istio Echo Server Implementation (#29940)
* Istio Echo Server Implementation

* New line fix

* Fix race
2022-06-07 19:13:01 -07:00
Craig Tiller 72e65b03cf
Reland fuzzing event engine (#29943)
* Revert "Revert "[event_engine] Fuzzing event engine (#29926)" (#29942)"

This reverts commit cb2a92b5bb.

* fix unused args
2022-06-07 15:45:18 -07:00
Craig Tiller cb2a92b5bb
Revert "[event_engine] Fuzzing event engine (#29926)" (#29942)
This reverts commit 9b0afb46f9.
2022-06-07 15:04:26 -07:00
Sergii Tkachenko 165dda75f9
xds-k8s: Fix the issue with Java PSM security tests skipped (#29925)
1. Fixes the issue with Java PSM security tests accidentally skipped because Java was missing from the list of languages, ref https://github.com/grpc/grpc/pull/28978
2. Invert the logic of `is_supported` methods, making them normally open
3. Make languages an `enum.Flag` to avoid accidental typos when listing the languages
4. Rename `XdsKubernetesTestCase.isSupported` to `XdsKubernetesTestCase.is_supported` to be consistent with `XdsUrlMapTestCase.is_supported`
5. Add extra logging
2022-06-07 14:23:45 -07:00
Sergii Tkachenko 3d50a60296
xds-k8s: Split base test class to allow for non-isolated tests (#29921)
Split `XdsKubernetesTestCase` into:

- `XdsKubernetesTestCase` top-level base class containing flag parsing logic and common `assert*` methods
- `XdsKubernetesIsolatedTestCase` extending `XdsKubernetesTestCase`, that is specific to tests that want to create ifra resources before each test, and destroy them after.

Now tests that don't need to create/destroy all resources on each run, can extend `XdsKubernetesTestCase` without having to override all setUp and implementing other unnecessary methods.
2022-06-07 10:53:08 -07:00
Craig Tiller 9b0afb46f9
[event_engine] Fuzzing event engine (#29926)
* [event_engine] Fuzzing event engine

* Automated change: Fix sanity tests

* fix

* Update fuzzing_event_engine.cc

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2022-06-07 10:50:55 -07:00
Craig Tiller a5b08d7a77
[iwyu] Improve iwyu for public headers (#29834)
* [iwyu] Improve iwyu for public headers

* Automated change: Fix sanity tests

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2022-06-07 10:31:15 -07:00
Craig Tiller 7854f4c50d
[build] Make compile_commands.json use NDEBUG (#29876)
* [build] Make compile_commands.json use NDEBUG

Ensures that things like clangd report the correct size information for
structures, which makes optimization a lot easier.

* remove -DNDEBUG from iwyus view

* fix
2022-06-07 09:28:04 -07:00
Craig Tiller 50ae54dd1c
[fuzzing] Run fuzzers a little bit as a test (#29919)
* [fuzzer] Add a script to sample fuzzers

* remember the script

* add ci

* bleh

* fix

* Update sample_fuzzers.sh

* tweak

* tweak

* tweak

* tweak

* tweak

* fix fuzzer found bug

* add explainer

* make it bold af

* limit max fuzzing time in addition to runs
2022-06-07 07:37:59 -07:00
Sergii Tkachenko 53ce85cc3b
xds-k8s: Output logs timezone in the beginning of the tests (#28865) 2022-06-06 11:48:52 -07:00
Lidi Zheng dd17960bc8
[xDS interop] Limit subsetting test to master branch (#29904) 2022-06-06 11:32:41 -07:00
Craig Tiller 98dcba2807
Reland bytestream removal (#29911)
* Revert "Revert "Revert "Revert "[transport] Remove ByteStream (#29637)" (#29890)" (#29894)" (#29910)"

This reverts commit 713a1581d5.

* fix
2022-06-05 18:42:28 -07:00
Craig Tiller 713a1581d5
Revert "Revert "Revert "[transport] Remove ByteStream (#29637)" (#29890)" (#29894)" (#29910)
This reverts commit 93cdc8b77e.
2022-06-05 11:01:48 -07:00
Doug Fawley a709faa868
Add v1.47.0 release of grpc-go to interop matrix (#29846) 2022-06-05 19:43:21 +02:00
Craig Tiller 93cdc8b77e
Revert "Revert "[transport] Remove ByteStream (#29637)" (#29890)" (#29894)
* Revert "Revert "[transport] Remove ByteStream (#29637)" (#29890)"

This reverts commit d53986657f.

* Automated change: Fix sanity tests

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2022-06-04 15:51:16 -07:00
Craig Tiller d53986657f
Revert "[transport] Remove ByteStream (#29637)" (#29890)
This reverts commit aacf0e252b.
2022-06-02 19:34:49 -07:00
Sergii Tkachenko 32f1766cf5
xds-k8s README.md: improve basic setup docs (#29804)
* reorder sections
* recommend local-dev.cfg instead of grpc-testing.cfg to avoid confusion
* clarify security tests
2022-06-02 19:30:36 -07:00
Craig Tiller aacf0e252b
[transport] Remove ByteStream (#29637)
* A starter SliceBuffer implementation

* Add comments and fix sanity checks

* Minor fixes

* more minor fixes

* Addressing review comments and adding a slice_buffer_test

* fix sanity checks

* regenerate projects

* fixing undefined function error

* reverting changes from memory_allocator.cc and adding them to src/core/lib/slice/slice_buffer.cc to allow memory allocator lib to build correctly

* fix sanity checks

* adding an open source slice definition

* regnerate projects

* fix asan error

* Automated change: Fix sanity tests

* addressing review comments

* fix sanity checks

* regenerate projects

* update

* fix sanity checks

* Converting slice buffer to retarin ownership of the underlying ctype

* [slice_buffer] Introduce grpc_core::SliceBuffer

* add test

* Automated change: Fix sanity tests

* [byte-stream] Delete ByteStream

* progress

* progress

* missing files

* Automated change: Fix sanity tests

* Automated change: Fix sanity tests

* progress

* sanity

* progress

* progress

* progress

* progress

* progress

* progress

* progress

* progress

* progress

* iwyu

* fix

* progress

* fix

* fix

* progress

* code compiles

* fix?

* bogus assert

* Automated change: Fix sanity tests

* fix

* fix

* fix?

* fix

* fix

* better expression of function

* fix?

* Automated change: Fix sanity tests

* x

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* add fullstack test without retry filter

* debug

* missing files

* gc

* fix h2_full_no_retry

* remove headers

* fixes

* Automated change: Fix sanity tests

* x

* fix

* fix

* fix

* progress

* x

* tear apart flow control

* continue itnegration

* fix

* Automated change: Fix sanity tests

* fix

* fix

* Automated change: Fix sanity tests

* cleanup

* Automated change: Fix sanity tests

* fix

* x

* x

* Revert "debug"

This reverts commit 0120a94492.

* undo debug

* fix

* Automated change: Fix sanity tests

* better inproc

* fixes

* iwyu

* Automated change: Fix sanity tests

* fix

* fix

* fix

* fix

* fix stalled streams

* properly handle non-terminal trailers

* fix test

* fix channelz test

* fix subchannel_stream_client

* fix server load reporting

* review feedback

* review feedback

* review feedback

* review feedback

* Automated change: Fix sanity tests

* remove compression test from python

* fix

* x

* Automated change: Fix sanity tests

* iwyu fix

* Revert "remove compression test from python"

This reverts commit 5fe0512077.

* cripple python tests

* Revert "fix"

This reverts commit 6df476b22f.

* Automated change: Fix sanity tests

* review feedback

* Automated change: Fix sanity tests

* fix

* fix

* fix

* ugh

Co-authored-by: Vignesh Babu <vigneshbabu@google.com>
Co-authored-by: Vignesh2208 <Vignesh2208@users.noreply.github.com>
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2022-06-02 16:04:32 -07:00
Sergii Tkachenko 3e8054cb3a
Add grpc-java 1.47.0 to client_matrix.py (#29860) 2022-06-02 15:36:34 -07:00
Sergii Tkachenko 8af28b83db
xds-k8s: Add whitespace after Logs Explorer link (#29863)
To fix link parsers not recognizing the termination of the url, and including the next line.
2022-06-01 15:54:19 -07:00
Yash Tibrewal 5d9cdc8e67
xds: Add XdsLbRegistry (#29756)
* xds: Add XdsLbRegistry

* Formatting

* Fix upb output

* Allow alternative type url for Custom LBs

* Cleanup

* Reviewer comments

* Add some comments

* Reviewer comments

* Reviewer comments

* Reviewer comments

* Reviewer comments

* Fix tests

* Fix tests

* Fix tests

* Fix tests

* Fix tests

* Unused parameters

* Change to make TextFormat usage work internally

* Fix namespace qualification error
2022-06-01 14:08:26 -07:00
Eric Anderson d4c5972cc6
Bump to Java 1.46.0 in the interop client matrix (#29855) 2022-06-01 13:03:56 -07:00
Eric Anderson 14dcb40304
Bump to Java 1.45.1 in the interop client matrix (#29282) 2022-06-01 10:01:41 -07:00
Richard Belleville 761bb3bfc3
Bump version to 1.48.0-dev (on master branch) (#29829)
* bump version to 1.48.0-dev

* regenerate projects
2022-05-27 15:16:27 -07:00
Esun Kim 9aa91e9e4d
Remove vs2015 test (#29824) 2022-05-27 14:21:03 -07:00
Wanlin Du 831ce7d579
Add experimental CI for PSM tests. (#29477)
This commit adds experimental CI for PSM tests.

Test included initially are Java and cxx tests. With expected load
from 100 to 30000, same as the manual test. Running proxied and proxyless
tests on benchmark-prod2 cluster, 8-core-machines (both client and server).

Data are uploaded to experimental tables.

Open for initial feedback on what we want to run on CI.
2022-05-26 13:21:31 -07:00
Terry Wilson 887a605940
Allow interop tests to configure locality_lb_policies (#29688)
* Allow tests to configure locality_lb_policies
* Custom LB test
2022-05-25 16:37:34 -07:00
Craig Tiller 34920fcf8e
[build] Better dependency fixer (#29776)
* [build] Better dependency fixer

Separate metrics for dependency selection into three: avoidness (to
strongly steer things away based on tags), a selectable metric, and
score (as an unbiasing heuristic)

Add a way to select targets with the command line to help iterating

Three selectable metrics are implemented:
1. edit distance, so that we tend to select things that don't change the
   BUILD file
2. list size, as a way of minimizing dependency lists
3. best overall heuristic score

(1) is useful to avoid changing things that folks have carefully
engineered
(2, 3) help in optimizing the graph

* Automated change: Fix sanity tests

* ???

* Update fix_build_deps.py

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2022-05-24 15:32:08 -07:00
Esun Kim 0afcc37589
MSVC 2015 -> 2017 (#29754)
* MSVC 2015 -> 2017

* Update by review
2022-05-24 14:09:55 -07:00
Craig Tiller da7069e33d
[iwyu] rest of the owl: src/core/ext (#29642)
* [iwyu] rest of owl: src/core/ext, excluding binder

* merge

* Automated change: Fix sanity tests

* fix

* fix

* fix

* Automated change: Fix sanity tests

* review feedback

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2022-05-24 12:50:30 -07:00
Richard Belleville 58b21ca3c3
Bump core version to 25.0.0 for upcoming release (#29775)
* bump C-core version

* regenerate projects
2022-05-24 11:55:44 -07:00
Craig Tiller 76abfad603
[build] Further expand automatic build dependencies (#29762)
* handshaker

* handshaker impls

* rq, slice

* more

* progress

* progress

* progress

* progress

* progress

* progress

* progress

* progress

* Automated change: Fix sanity tests

* fix

* fix

* fix

* expand

* more

* x

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2022-05-23 20:18:49 -07:00
Wanlin Du daaeec062b
Remove support for csharp(core) and ruby for PSM tests. (#29694) 2022-05-23 13:43:02 -07:00
Mark D. Roth 709dff9ca8
security and subchannel: implement UniqueTypeName and use it in these interfaces (#29709)
* implement UniqueTypeName API

* convert security code to use UniqueTypeName

* change subchannel data producer API to use UniqueTypeName

* sanitize

* add missing build dep

* fix credentials_test

* fix certificate_provider_store_test

* fix tls_security_connector_test

* attempt to fix windows build

* avoid unnecessary allocation

* work around MSVC 2017 bug

* sanity

* change factory to not be templated

* fix sanity

* fix bug in chttp2 connector that used server creds instead of channel creds

* add missing build dep

* simplify API
2022-05-23 09:45:20 -07:00
Craig Tiller 9a46171833
Revert "Revert "[c++14] Remove Capture type (#29327)" (#29748)" (#29749)
This reverts commit d4aed9e615.
2022-05-20 17:29:16 -07:00
Nicolas Noble 667691c499
server: per-rpc backend metric reporting (#29621)
Users can now report per-rpc metrics from servers to clients.
2022-05-20 15:54:30 -07:00
Esun Kim df53955d16
Revert "Removed c++14 option from bazel.rc (#29711)" (#29750)
This reverts commit c88d70458c.
2022-05-20 14:38:45 -07:00