Commit Graph

12225 Commits

Author SHA1 Message Date
Craig Tiller d1e01ac139
Add a test for a (now-illegal) build file construct (#27602)
* Add a test for a (now-illegal) build file construct

* add to test suite!

* fix

* fix

* fix syntax
2021-10-06 07:43:59 -07:00
Mark D. Roth 0611f7c9b3
Revert "centralize handling of channel's default authority (#27544)" (#27616)
This reverts commit f0a0628795.
2021-10-06 07:26:24 -07:00
Paulo Castello da Costa aea060b530
Rename `prefix` to `index` in index generator. (#27576) 2021-10-06 13:42:29 +02:00
Craig Tiller 969f3d55ef
Check that grpc_package statements have the right name (#27608)
* named-right

* Update check_package_name.py

* Automated change: Fix sanity tests

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-10-05 23:01:11 -07:00
Mark D. Roth f0a0628795
centralize handling of channel's default authority (#27544)
* centralize handling of channel's default authority

* clang-format

* fix backup poller bug
2021-10-05 11:57:47 -07:00
Paulo Castello da Costa ae0e234cc4
Delete successful load tests. (#27586) 2021-10-05 10:15:01 -07:00
Craig Tiller a67a9a5cd5
Exclude microbenchmarks from cmake (#27588)
* Exclude microbenchmarks from cmake

* Trigger automation

* fix
2021-10-05 10:13:57 -07:00
Craig Tiller 84d9e7e9fa
Speed up microbenchmark tests (#27584)
* Speed up microbenchmark tests

* Automated change: Fix sanity tests

* Update grpc_benchmark_config.bzl

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-10-05 07:09:02 -07:00
Sergii Tkachenko 74416b617f
Revert "xds_k8s_test: increase timeout to 3 hours due to recent timeout failure (#27579)" (#27589)
This reverts commit ce43fb9b4b.
2021-10-04 18:49:04 -07:00
Craig Tiller 77ef40bba5
update specs file for benchmark (#27581) 2021-10-04 17:29:41 -07:00
AJ Heller 99ee6f4988
Fix rvm ruby install failure (#27538)
See https://source.cloud.google.com/results/invocations/9a2a3ca2-72c9-43ef-af8c-fb1c8e7b488d/targets/grpc%2Fcore%2Fpull_request%2Fmacos%2Fgrpc_basictests_ruby/log

```
++ rvm get stable
Downloading https://get.rvm.io
Could not download rvm-installer, please report to https://github.com/rvm/rvm/issues
```
2021-10-04 17:28:11 -07:00
sanjaypujare ce43fb9b4b
xds_k8s_test: increase timeout to 3 hours due to recent timeout failure (#27579) 2021-10-04 16:24:02 -07:00
Richard Belleville 2c889a9921
Fix stdout handling in jobset.py (#27493)
* Fix stdout handling in jobset.py

* Apparently ascii was a bad assumption

* Or how about this

* Just ignore non-utf8 characters
2021-10-04 16:00:40 -07:00
Craig Tiller 60a5e474b8
Reland promise benchmarks (#27551) (#27560)
* Revert "Revert promise benchmarks (#27551)"

This reverts commit ae96af3780.

* fixes

* Automated change: Fix sanity tests

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-10-04 11:54:14 -07:00
Craig Tiller 79097afb56
Standardize on grpc/support/port_platform.h usage in src/core/... (#27568) 2021-10-04 08:56:42 -07:00
Paulo Castello da Costa 931be3f7ef
Fix load test name format for more than 10 runs per test. (#27558) 2021-10-04 15:30:43 +02:00
Esun Kim 1c6634ac44
Changed grpc_error_get|set_str to use std string instead of slice (#27466)
* Changed grpc_error_get|set_str to use std string

* Fix init order in tests with gtest

* Undo gtest-tify credentials_test
2021-10-01 18:58:47 -07:00
Craig Tiller ae96af3780
Revert promise benchmarks (#27551)
* Revert "Update BUILD"

This reverts commit 4472c81232.

* Revert "Promises benchmarks (#27291)"

This reverts commit 47921ba5e8.
2021-10-01 12:49:11 -07:00
Craig Tiller 47921ba5e8
Promises benchmarks (#27291)
* Promise benchmark

* Automated change: Fix sanity tests

* fix leak

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-10-01 10:21:01 -07:00
Lidi Zheng 67eb6386d3
Remove C# GCE framework tests on master branch (#27541) 2021-10-01 09:31:01 -07:00
Esun Kim 11d2f86e5e
Upgrade PHP7 docker image to use Debian 9 (#27537)
* Upgrade PHP7 docker image to use Debian 9

* update
2021-10-01 08:33:19 -07:00
Craig Tiller 253d7076fc
Chunked vector type (#27517)
* chunked vector type

* Automated change: Fix sanity tests

* compile fix

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-09-29 18:13:13 -07:00
sanjaypujare 04ce30a1f8
xds-k8s/xlang: switch to testing v1.41.x from v1.40.x (#27525) 2021-09-29 17:48:48 -07:00
Lidi Zheng 550faa6dc7
Port compute_api_version to other TD implementations (#27518) 2021-09-29 17:23:31 -04:00
Craig Tiller 82c99362b5
Rewrite memory quota management in C++ with Promises library (#27327)
* first pass new memory quota

* forget the ee stuff - it should be a wrapper on top

* beginning to finalize

* compiles

* basic tests pass

* fixes

* Automated change: Fix sanity tests

* merge

* Automated change: Fix sanity tests

* add rebind test

* flesh out the rest

* Automated change: Fix sanity tests

* add increase

* prog

* Automated change: Fix sanity tests

* allow cancellation during run

* fixes

* clang-format

* better allocation strategy

* better allocation strategy

* Automated change: Fix sanity tests

* Update memory_quota.cc

* format

* better comment

* remove block size - this is probably unnecessary complexity

* fmt

* cleanup

* size_t

* Automated change: Fix sanity tests

* fixes

* move makeslice into memoryallocator

* move makeslice into memoryallocator

* add container allocator, tests

* Automated change: Fix sanity tests

* fixes

* Automated change: Fix sanity tests

* add some docs

* Automated change: Fix sanity tests

* fix doc

* comment vector

* Automated change: Fix sanity tests

* fixes

* ditch the thread

* exec_ctx integration

* Automated change: Fix sanity tests

* progress!

* fuzzer

* initial_corpora

* Automated change: Fix sanity tests

* bigger_objects

* better-fuzzer

* add stress test

* Automated change: Fix sanity tests

* Remove unused header

* Iwyu

* Automated change: Fix sanity tests

* Portability fix, comment

* Fix unused arg

* Remove unused names

* Removed unused name

* Automated change: Fix sanity tests

* windows

* Automated change: Fix sanity tests

* cleanup

* fix-mac

* cleanup, eliminate atomicbarrier

* exclude some platforms

* Automated change: Fix sanity tests

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-09-29 11:13:54 -07:00
Lidi Zheng 9978223a26
Add python_requires field to grpcio-* packages (#27495)
- Update the run_tests.py and distrib tests
- Update the Dockerfiles
2021-09-28 16:01:15 -07:00
Lidi Zheng 50a79d62e4
Add alpha tests (subsetting) to xds_k8s_lb (#27460)
* Add compute alpha API config file

* WIP

* Try not to create a new job

* Change from using discovery file to use version flag

* Give compute_api_version a default value

* Extend the timeout of xds_k8s_lb

* Apply suggestions from code review

Co-authored-by: Sergii Tkachenko <hi@sergii.org>

Co-authored-by: Sergii Tkachenko <hi@sergii.org>
2021-09-28 15:55:20 -07:00
Craig Tiller 91a2db9bc2
Make deadline the first metadata trait (#27468) 2021-09-28 10:09:04 -07:00
Jan Tattermusch fa8a122862
Add bazel distribtests (minimalist version that only tests with bazel 3.x and 4.x) (#27486)
* Make repo globally buildable

* Add initial distrib test script

* Add test script

* Support multiple versions

* Split out a separate latest version test

* Integrate with kokoro

* make tools/bazel version overridable

* added simplified test_single_bazel_version.sh

* cleanup .bazelignore

* only test 3.x and 4.x

* always test all the bazel versions

* revert unnecessary changes

* revert unnecessary changes

* fix shellcheck error

Co-authored-by: Richard Belleville <rbellevi@google.com>
2021-09-28 02:50:17 -07:00
Sergii Tkachenko 5617f78692
xds-k8s: address feedback on first-time setup (#27488) 2021-09-27 16:46:59 -07:00
Craig Tiller 9b41852a5e
channel_init --> core configuration system (#27347)
* channel_init --> core configuration system

* Automated change: Fix sanity tests

* fixes

* Automated change: Fix sanity tests

* fixes

* fixes

* eliminate grpc_base_c

* fixes

* fix merge

* fix

* update visibility

* fixes

* feedback

* fix comment

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-09-27 15:51:39 -07:00
Jan Tattermusch c1bf4e1a2a
Revert "Enable Alpine portability test to run under Python 3. (#27464)" (#27485)
This reverts commit 54d4e8f68b.
2021-09-27 10:53:34 -07:00
Esun Kim 5690ea0106
Added gcc11 and clang12 tests (#27190) 2021-09-27 10:48:58 -07:00
Jan Tattermusch 9b2b9976c6
increase windows C# basictests job timeout (#27483) 2021-09-27 18:30:28 +02:00
Doug Fawley 0c82838860
Add v1.41.0 release of grpc-go to interop matrix (#27477) 2021-09-27 03:10:51 -07:00
Jan Tattermusch a265c6d6b2
Log info about mac workers in the kokoro mac jobs. (#27471)
* remove useless option: prepare_build_macos_rc is always sourced

* print info about mac workers to the log
2021-09-27 10:36:39 +02:00
Craig Tiller d1cecad651
ExecCtx based Activity wakeup mechanism (#27454)
* wakeup scheduler

* wakeup scheduler

* Automated change: Fix sanity tests

* Update exec_ctx_wakeup_scheduler_test.cc

* Remove unused name

* fix_build

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-09-24 15:23:02 -07:00
Craig Tiller b7fc3cf465
Delete line count tooling (#27448)
* This tool is far from being relevent

* more deletes
2021-09-24 14:39:41 -07:00
Sergii Tkachenko 60ef4bb504
xds-k8s: fix minor typo in README (#27472) 2021-09-24 12:05:20 -07:00
Richard Belleville 54d4e8f68b
Enable Alpine portability test to run under Python 3. (#27464)
* Enable Alpine portability test to run under Python 3.

* Fix other scripts
2021-09-24 10:12:19 -07:00
Jan Tattermusch 1ae5d34fa7
Stop polluting macos logs by ruby's rvm (#27456)
* stop polluting macos logs by rvm

* silence more rvm output
2021-09-24 03:15:20 -07:00
Craig Tiller c5172a134e
Fix build splitup for slices. (#27452)
* slice fix

* fix properlike

* Automated change: Fix sanity tests

* actually delete the code that should have been

* fixes

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-09-23 16:36:43 -07:00
Craig Tiller d4407b7e59
Revert "Remove dead code (#27445)" (#27461)
This reverts commit 693f36f91c.
2021-09-23 12:56:40 -07:00
Jan Tattermusch 0042c2b86f
Upgrade bazel to 4.2.1 (LTS), upgrade bazel toolchain to 4.1.0 (#27410)
* update bazel to 4.2.1

* add bazel 4.2.1 to update_mirror.sh

* regenerate dockerfiles

* upgrade bazel toolchains to 4.1.0

* use create_rbe_exec_properties_dict instead of the deprecated create_exec_properties_dict

* RBE ubsan doesnt require the crosstool_top hack anymore

* update rules_apple and build_bazel_apple_support
2021-09-23 16:20:25 +02:00
Craig Tiller a51be7c190
Remove broken tool (#27449) 2021-09-23 06:58:56 -07:00
Craig Tiller 693f36f91c
Remove dead code (#27445)
* Remove dead code

* Automated change: Fix sanity tests

* build

* remove benchmark

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-09-22 19:31:00 -07:00
Craig Tiller ffa4365031
Separate common slice utilities, grpc_error into their own libraries (#27441)
* make error independent

* Separate grpc_error into its own library

This is forward work to move Closure, ExecCtx into their own libraries
in order to make use of them in the activity code for resource quota
wakeups.

* Automated change: Fix sanity tests

* fixes

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-09-22 18:44:32 -07:00
Craig Tiller 87a973f01d
Add structurally aware fuzzing support (#27405)
* Add a dependency on libprotobuf-mutator

* Changes for structured fuzzing

* fuzznificent

* add a config that will build fuzzers

* bazel run --config=fuzzer_asan //path/to:fuzzer fuzzes!

* fixes

* Automated change: Fix sanity tests

* Automated change: Fix sanity tests

* fixes

* fix

* sanitizer fix

* fix directory

* regen stuff

* compile error

* remove fuzzers from cmake build

* Automated change: Fix sanity tests

* review feedback

* remove unnecessary load

* review feedback

* review feedback

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-09-22 14:40:43 -07:00
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>
2021-09-21 17:27:54 -07:00
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
2021-09-21 15:40:11 -07:00