Commit Graph

75 Commits

Author SHA1 Message Date
Craig Tiller 57d8462aee Remove IWYU requirements for changes
PiperOrigin-RevId: 586404245
2023-11-29 11:34:28 -08:00
Yijie Ma d3828ebfbd
[Fork] Add ObjectGroupForkHandler fork-handling system (#33733)
<!--

If you know who should review your pull request, please assign it to
that
person, otherwise the pull request would get assigned randomly.

If your pull request is for a specific language, please add the
appropriate
lang label.

-->

---------

Co-authored-by: Bradley Hess <bdhess@google.com>
Co-authored-by: AJ Heller <hork@google.com>
2023-11-07 17:48:13 -08:00
AJ Heller a0ad04d41c
[build] Exclude experiments from RBE Build Tests PR job (#34852)
This only affects pull requests for the `Bazel RBE Build Tests` job. The
equivalent master CI job will still build all end2end tests, including
experiments.
2023-11-01 14:21:47 -07:00
Esun Kim a935d7c190
[Test] Fix typo (#34719)
Oops
2023-10-17 17:41:02 -07:00
Esun Kim 3f77982326
[Test] Added bazel build test target (#34659)
Split nonbazel test into two; one for bazel build which will be labeled
as required and the other for remining nonbazel tests.

Corresponding internal CL: cl/572652950
2023-10-11 17:12:51 -07:00
Jan Tattermusch 866fc41067
[bazelified tests] Make bazelified C basictests build only (#34428)
- make C-core basictests use `--build_only` when running as bazelified
tests. This is because the volume of C core tests is expected to grow
very significantly after https://github.com/grpc/grpc/pull/34419 and
currently the non-bazelified counterpart of the tests (the presubmit
grpc_basictests_c_cpp_build_only job) is also "build only".
- make the linux presubmit job `grpc_basictests_c_cpp_build_only` a
noop, since the bazelified tests already give the same coverage on
presubmit.
2023-09-21 21:02:05 +02:00
Jan Tattermusch 2b0a9d3916
[bazel] Teach bazel how to run non-bazel test suites under docker locally and on RBE (#33707)
Add "bazelified" non-bazel tests. See tools/bazelify_tests/README.md for
the core idea.
- add a bunch of test targets that run under docker and execute tests
that correspond to `run_tests.py -l LANG ...`
- many more tests can be added in the future
- to enable running some of the C/C++ portability tests easily, added
support for `--cmake_extra_configure_args` in run_tests.py (the change
is fairly small).

Example passing build that shows how test results are structured:

https://source.cloud.google.com/results/invocations/21295351-a3e3-4be1-b6e9-aaf52195a044/targets
2023-08-02 14:15:19 +02:00
AJ Heller d58af7397f
[example] Move unix abstract domain sockets example (#33220)
A different scheme was decided upon for adding feature examples. This
moves the old UDS example and deletes the CI job.
2023-05-23 12:53:51 -07:00
Craig Tiller 338c55978b
[threading] Implement thready-tsan mode (#33193)
This test mode tries to create threads wherever it legally can to
maximize the chances of TSAN finding errors in our codebase.

<!--

If you know who should review your pull request, please assign it to
that
person, otherwise the pull request would get assigned randomly.

If your pull request is for a specific language, please add the
appropriate
lang label.

-->

---------

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2023-05-19 17:26:11 -07:00
Craig Tiller 0982f82f47
[fuzzing] Add fuzztest config (#32676)
<!--

If you know who should review your pull request, please assign it to
that
person, otherwise the pull request would get assigned randomly.

If your pull request is for a specific language, please add the
appropriate
lang label.

-->
2023-05-03 20:19:22 +00:00
Esun Kim 0014c91858
Increased timeout for sanity test variants (#32288) 2023-02-03 09:49:23 -08:00
Sergii Tkachenko 7e850a101f
[tests] Restore grpc_interop_matrix_adhoc.cfg (#31709)
Previously deleted in https://github.com/grpc/grpc/pull/31423.
We still need this build config to execute adhoc run of interop matrix
tests per https://github.com/grpc/grpc/blob/master/tools/interop_matrix/README.md
instructions.
2022-11-18 16:46:58 -08:00
Craig Tiller 29175b97ee
[tests] Remove interop tests from PR flows (#31423) 2022-10-21 11:15:15 -07:00
Jan Tattermusch 2ebd03d9e2
cleanup grpc_sample_fuzzers job (#31358) 2022-10-17 21:04:07 +02:00
Craig Tiller f69c64b270
[sanity] Split IWYU, clang-tidy into their own jobs (#31141)
* [sanity] Split IWYU, clang-tidy into their own jobs

* fix typo

* fix

* Automated change: Fix sanity tests

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2022-09-27 17:04:54 -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
Jan Tattermusch e26c812aeb
Cleanup & improve bazel-based test jobs running under docker. (#29402)
* use EXTRA_DOCKER_ARGS in grpc_bazel_privileged_docker.sh

* docker_propagate_env.list: propagate all variables needed by workspace_status_kokoro.sh

* simplify bazel invocations in docker

* use respawn script for grpc_bazel.sh

* cleanup grpc_flaky_network test

* cleanup grpc_binder_transport_apk job

* cleanup grpc_feature_example_tests

* additional cleanup & improvements
2022-04-22 19:02:58 +02:00
Jan Tattermusch da1977f98c
Cleanup configuration of bazel RBE jobs (#29301)
* cleanup bazel_rbe .cfg and .sh files

* upload sponge_log.xml artifacts for selected bazel jobs

* use move_src_tree_and_respawn_itself_rc for bazel RBE tests on linux

* fix wrong config
2022-04-13 13:14:00 +02:00
Jan Tattermusch 267d0b550f
add kokoro jobs cfg for grpc_memory_diff (#29081) 2022-03-14 09:11:24 +01:00
Jan Tattermusch f8a909e76f
Run bloat_diff.py in a separate kokoro job (#28892)
* move bloat_diff to a separate kokoro job

* add grpc_bloat_diff PR job
2022-03-06 19:33:17 +01:00
Jan Tattermusch a215992f0e
speedup C# basictests: only build C# once for coreclr and mono tests (#28587)
* only build C# once for coreclr and mono tests

* one more attempt

* only build C# once for coreclr and mono
2022-01-18 11:09:49 -08:00
Jan Tattermusch 7dfdf3d679
Delete no-longer-used kokoro jobs .cfg files. (#28465)
* remove .cfg files for non-existent kokoro jobs

* more cleanup
2022-01-04 20:26:25 +01:00
Jan Tattermusch 858eff5ab9
Introduce C# single-platform nuget build (and distribtests) (#27180)
* C# linux distribtests

* add distribtests C# linux job cfg

* support running a subset of C# artifact/distribtests on jobs
2021-12-07 12:58:31 +01:00
Lidi Zheng 7cfd399dd6
Reduce the workload of presubmit artifact builds and distribtests (#28228)
* Reduce the workload of presubmit artifact builds and distribtests

* Create and redirect Kokoro config
* Remove duplicated scripts and use env var config

* Clean-up Kokoro cfg

* [DO-NOT-SUBMIT] Add ad-hoc TASK_RUNNER_EXTRA_FILTERS

* Revert "[DO-NOT-SUBMIT] Add ad-hoc TASK_RUNNER_EXTRA_FILTERS"

This reverts commit 9436ac54ac.
2021-12-06 10:03:31 -08:00
AJ Heller 2c7f2190e6
Fix name of feature example tests CI config file (#28028) 2021-11-12 12:49:57 -08:00
AJ Heller c5f1d29b76
Add feature examples with continuous integration (#27917)
* Add failing end2end test for inconsistent percent-decoding of URIs

* Add passing h2_local_abstract_uds end2end tests

* Add basic abstract UDS example

* add test runner

* add proper bazel build path

* first attempt at CI configuration

* cleanup

* rename CI files for better readability
2021-11-11 14:00:10 -08:00
Craig Tiller 75a54f55e3
Remove trickle benchmarks (#28000)
* Remove trickle benchmarks

* Automated change: Fix sanity tests

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-11-10 18:21:13 -08:00
Richard Belleville cb95e9f3ee
Attempt to Fix #27614 (#27904)
* commit after sync

* Moving to v1.41.1

* Attempt to fix interop test

* Increase test timeout

* Regenerate testcases. Fix old Python images to 3.7

Co-authored-by: Donna Dionne <donnadionne@google.com>
2021-11-03 13:56:54 -07:00
Lidi Zheng a990f6f987
Revert gRPC Python Kokoro cfg (#26678) 2021-07-13 15:48:55 -07:00
Lidi Zheng 048d6be581
Halt and save GCP resources in our interop tests (#26669)
* Halt and save GCP resources in our interop tests

* Fix typo in argparser

* Add logging when halt after fail is triggered
2021-07-13 08:38:38 -07:00
Jan Tattermusch a8f7b2d005 stop using GrpcTesting-d0eeee2db331.json for RBE authentication on linux 2020-11-09 15:49:15 +01:00
root 867f579e54 del php5 from basic Linux test and interop test 2020-09-30 22:11:40 +00:00
Jan Tattermusch 79cfdb525c increase timeout of bazel RBE jobs
if the kokoro job times out and the bazel command is not done, it ends up in
weird test results ("Unevaluated targets") that are hard to interpret.
Setting the timeout for kokoro jobs high enough to create extra reserve
should help.
2019-10-23 12:52:12 +02:00
Jan Tattermusch 957e71ecd2 add config for C/C++ build only PR job 2019-06-06 16:16:18 +02:00
Jan Tattermusch a7e3e76aed use different service_account_key for interop tests 2019-06-05 18:05:07 +02:00
Jan Tattermusch fbc6068140 remove no-longer-used PR jobs 2019-05-07 09:52:56 +02:00
Jan Tattermusch d791dd1775 create build.cfg for split-up PR jobs 2019-05-07 09:52:56 +02:00
Jan Tattermusch f2f27a0e64 add non-internal build.cfg files for bazel RBE jobs 2019-04-23 03:06:00 -04:00
Jan Tattermusch fb06f89af9 move RBE test timeout configuration to a single place 2019-01-24 10:32:14 +01:00
Lidi Zheng 6692429f31 Download private key from KeyStore 2018-12-17 16:25:25 -08:00
Jan Tattermusch eb24d9fc43
Merge pull request #17169 from jtattermusch/foundry_msan_pr_script
Add script for running RBE msan on PRs
2018-11-09 19:39:10 +01:00
Jan Tattermusch 969a155237 add script for running RBE msan on PRs 2018-11-09 18:10:52 +01:00
Jan Tattermusch 2a4f8a3f25 use bazel --config= for all foundry builds 2018-11-08 14:21:14 +01:00
Jan Tattermusch 3c2f3e1eb3 use set -ex in all bazel scripts 2018-10-25 21:11:48 +02:00
Jan Tattermusch b7b3a7972a
Merge pull request #16937 from jtattermusch/interop_matrix_improvements
run_interop_matrix_tests.py: overhaul and simplification
2018-10-25 19:42:45 +02:00
Jan Tattermusch e43d732a33 align ubsan configuration 2018-10-24 23:31:54 +02:00
Jan Tattermusch 23eec0c4ec align tsan configuration 2018-10-24 23:31:54 +02:00
Jan Tattermusch bfcce96efc align bazel asan configuration 2018-10-24 23:31:54 +02:00
Jan Tattermusch 6b5f1143fc allow running adhoc interop matrix tests 2018-10-19 12:58:52 +02:00
Jan Tattermusch 58f167abeb upload both sponge_log.xml and sponge_log.log 2018-09-25 23:10:54 +02:00