Commit Graph

12125 Commits

Author SHA1 Message Date
Jan Tattermusch ce5b4e949f
Faster and streamlined PHP distribtests (for linux and macos) (#27101)
* faster and streamlined PHP distribtests

* add kokoro job for PHP distribtests

* php distribtests job for macos

* add trailing newline
2021-08-31 09:23:13 +02:00
Lidi Zheng 3dab256776
Make Workload Identity optional (#27189)
* Make Workload Identity optional

* Update tools/run_tests/xds_k8s_test_driver/framework/test_app/server_app.py

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

* Update tools/run_tests/xds_k8s_test_driver/framework/xds_k8s_flags.py

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

* Flip the bool flag naming

* Correct the flag help description

Co-authored-by: Sergii Tkachenko <hi@sergii.org>
2021-08-30 16:51:37 -07:00
Richard Belleville b6cc72f129
Revert "Run 2to3 on tools directory (#26002)" (#27183)
This reverts commit a388361c3d.
2021-08-30 12:29:20 -07:00
Tamir Duberstein 76e95f6afd
Generalize pthread TLS to any trivial type (#27009)
* Avoid copy constructor

```
src/core/lib/gpr/log_linux.cc:78:33: error: copying variable of type 'grpc_core::PthreadTlsImpl<long>' invokes deleted constructor
  static GPR_THREAD_LOCAL(long) tid = 0;
                                ^     ~
./src/core/lib/gpr/tls.h:64:3: note: 'PthreadTlsImpl' has been explicitly marked deleted here
  PthreadTlsImpl(const PthreadTlsImpl&) = delete;
  ^
1 error generated.
```

* Generalize pthread TLS to any trivial type

Use multiple pthread keys for types larger than a machine word.

Implement generic timer TLS optimization on all platforms.
2021-08-30 11:32:47 -07:00
Richard Belleville a388361c3d
Run 2to3 on tools directory (#26002)
* Run 2to3 on tools directory

* Delete github_stats_tracking

* Re-run 2to3

* Remove unused script

* Remove unused script

* Remove unused line count utility

* Yapf. Isort

* Remove accidentally included file

* Restore line_count directory
2021-08-30 09:25:21 -07:00
Ming-Chuan 73003f8527
Add BinderTransport example server app (#27067)
Some code are commented out because the server interface has not been
merged yet.

After this, user should be able to install both apps on Android device
and test if basic unary call works or not
2021-08-30 18:26:49 +08:00
Craig Tiller 1ce8bd7067
Observable primitive for promises (#27082)
* promise sequences

* Activities for promises

* Observable primitive - single writer/multiple reader

* Automated change: Fix sanity tests

* dedup some code

* Automated change: Fix sanity tests

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-08-27 14:56:48 -07:00
Ming-Chuan 44fc369f05
Add examples/android/binder/ to clang_format_all_the_things (#27114) 2021-08-28 05:12:24 +08:00
Craig Tiller 12cd59426b
Latch synchronization primitive (#27080)
* promise sequences

* Activities for promises

* Latch synchronization primitive

* Wakeups between actors in the same activity

* Automated change: Fix sanity tests

* Automated change: Fix sanity tests

* Automated change: Fix sanity tests

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-08-27 12:43:28 -07:00
sanjaypujare 1fe078db80
xds-k8s: fix typo WORKLOAD_SERVICE_ACCOUNT to WORKLOAD_SA_EMAIL (#27162)
* xds-k8s: fix typo WORKLOAD_SERVICE_ACCOUNT to WORKLOAD_SA_EMAIL
also add content about image access and privateCAs
cluster create not to use beta and use mesh certs

Co-authored-by: Sergii Tkachenko <hi@sergii.org>
2021-08-27 12:24:33 -07:00
Jan Tattermusch 7e532fd198
add streamlined and faster ruby distribtest (#27124) 2021-08-27 09:23:50 +02:00
ZHANG Dapeng 0ae3c78a3c
Update client_matrix for Java v1.40.1 (#27130) 2021-08-26 11:21:01 -07:00
Sergii Tkachenko b4c14e444b
xds-k8s: Fix json_format.ParseError in LRO error reporting (#27141)
Error example:

google.protobuf.json_format.ParseError:
Failed to parse details field: Can not find message descriptor
by type_url: type.googleapis.com/google.rpc.BadRequest..
2021-08-26 13:21:51 -04:00
Craig Tiller f2f60f7716
Revert "Implement TraceFlag::Log (#26954)" (#27145)
This reverts commit 4d2b979b75.
2021-08-26 09:18:45 -07:00
Ta-Wei Tu ab57f03b30
Reland: Import binder transport tests (#27138)
* Import binder transport tests

* Fix copybara import errors

* Add testonly labels
2021-08-26 15:33:37 +08:00
Ashitha Santhosh 1ff1f8fd83
SDK authorization filter. (#26468)
* SDK authorization filter.
2021-08-25 21:00:35 -07:00
Wanlin Du 2d1ca227a6
Populate the correct value for annotations (#27136)
The commits populates the correct values for gitCommit
and gitActualCommit.
2021-08-25 19:09:08 -07:00
Richard Belleville bc6bec11cb
Fix Typo in AppNet Interop (#27027)
* Fix typo

* Yapf
2021-08-25 10:33:46 -07:00
Craig Tiller 90c4a2a5eb
Revert "Import binder transport tests (#26970)" (#27126)
This reverts commit 006464c57d.
2021-08-25 09:56:22 -07:00
Ta-Wei Tu 006464c57d
Import binder transport tests (#26970)
This PR imports unit tests and end-to-end tests of binder transport from the internal repository. No further changes will be made to internal repository.
2021-08-25 17:56:35 +08:00
Craig Tiller 5cdaec9a4f
Promise Activities (#26921)
* promise sequences

* Activities for promises

* Automated change: Fix sanity tests

* review feedback

* review feedback

* review feedback

* review feedback

* review feedback

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-08-24 22:21:58 -07:00
Wanlin Du 2d2576513d
Add annotations to gRPC benchmark CI master workflow. (#27117) 2021-08-24 21:23:07 -07:00
Donghao Qiu 1e84143126
Save node info to BigQuery (#27113)
* save nodeinfo to bigquery

* correct format
2021-08-24 21:02:40 -07:00
Esun Kim 420a98f96b
Update docker images (#27109) 2021-08-24 18:03:45 -07:00
Wanlin Du 793cb25d4a
Fix buildUrl annotation in kokoro job (#27105) 2021-08-24 14:13:21 -07:00
apolcyn d70ae71852
Add 1.39.0 to wrapped lang interop matrix builds (#27011) 2021-08-24 11:21:27 -07:00
AJ Heller 4d2b979b75
Implement TraceFlag::Log (#26954)
Motivation: In debug builds, `DebugOnlyTraceFlag`s are hard-coded to be
disabled. This results in unreachable code paths that the compiler can
detect, which prevent us from enabling `-Wunreachable-code-aggressive`
on the builds.

This work aims to reduce the number of places that switch on
`trace_flag.enabled`.
2021-08-24 09:42:09 -07:00
Wanlin Du 971e95b906
Update related scripts to populate BigQuery fields (#26778)
* Update related scripts to populate BigQuery fields
2021-08-24 07:42:35 -07:00
Eric Gribkoff 594e936c41
use fixed c++ server image for python tests (#27096)
* use fixed c++ server image for python tests

* use variable name
2021-08-24 06:34:53 -07:00
Craig Tiller 6a06f0cd4a
promise sequences (#27058) 2021-08-23 17:39:12 -07:00
Jan Tattermusch 13171a8b29
add C# 2.38.1 and 2.39.1 to interop matrix (#27084) 2021-08-23 19:27:06 +02:00
Paulo Castello da Costa afb660b595
Use get to update go version in kokoro runner. (#27088)
Installed version is old and does not support install for this purpose.
2021-08-23 06:58:11 -07:00
Paulo Castello da Costa 04f774de3c
Delete logic to list leftover load tests. (#27087)
Tests have strict timeouts, so this logic is no longer needed.
2021-08-23 06:14:29 -07:00
Paulo Castello da Costa 4faaecdfc9
Update xml file location and update go version to 1.17. (#27076)
* Add subdirectories to support change in https://github.com/grpc/test-infra/pull/218.
* Update go version in kokoro runners to go1.17.
2021-08-23 03:50:31 -07:00
Eric Gribkoff 51aea5df15
fix bash endofline (#27075)
* fix bash endofline

* set --server_image

* populate server image global
2021-08-22 23:33:24 -07:00
Craig Tiller 46afdf9989
Add test and mitigation for clang 11 compiler bug (#27073)
* Add test and mitigation for clang 11 compiler bug

* document

* document

* Automated change: Fix sanity tests

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-08-22 22:35:51 -07:00
Eric Gribkoff df3a13a2a3
remove extra url map flagfile (#27071) 2021-08-21 11:18:54 -07:00
Nicolas 'Pixel' Noble 69661fb82e Regenerate projects 2021-08-21 02:04:00 -07:00
Lidi Zheng b58b009126
Add PSM gRPC subsetting test (#27063)
* Add PSM subsetting test

* Add a check for the number of unique backends
2021-08-20 13:43:33 -07:00
Ming-Chuan 9da755a61e
Import binder transport channel create interface (#27007)
Also try use the API in example apk to make sure the binder transport
code and the rest of gRPC compiles with the Android toolchain

We will properly expose our interface later.
2021-08-20 13:03:21 +08:00
Craig Tiller f292f001ee
Promise join combinator (#26918)
* Add construct/destruct helper functions

Will be used in upcoming promise implementation

* Poll type for promises library

* Library to talk about things that look like promises if you squint

* Helper code for promises to deal with status types generically

* Library to talk about things that make promises

* build

* Join combinator for promise library

* Changes to sync required for promise activities

* sanitized

* Automated change: Fix sanity tests

* Automated change: Fix sanity tests

* Update basic_join.h

* Automated change: Fix sanity tests

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-08-19 21:06:38 -07:00
Craig Tiller 59da7bc42a
Eliminate grpc_core::Atomic (#27025)
* Eliminate grpc_core::Atomic

* Automated change: Fix sanity tests

* Automated change: Fix sanity tests

* initialize things

* fix include order

* fix

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
Co-authored-by: Mark D. Roth <roth@google.com>
2021-08-19 20:54:55 -07:00
Lidi Zheng ac0f51e0c8
Fix the not removing IAM binding issue (#27059) 2021-08-19 10:10:12 -07:00
Craig Tiller 724ad871d4
Promise loop (#26913)
* Poll type for promises library

* Library to talk about things that look like promises if you squint

* Library to talk about things that make promises

* Promises loop construct

* build

* Changes to sync required for promise activities

* sanitized

* add comments

* Automated change: Fix sanity tests

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-08-18 10:36:14 -07:00
Craig Tiller 4c8a0d91c6
Call into plugin registry from config code (#27041)
* Call into plugin registry from config code

* Automated change: Fix sanity tests

* Remove unused name

* Remove unused name

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-08-18 08:39:08 -07:00
yifeizhuang 48b194f737
release v1.40.0: build gcr images for release, fix python2.7 (#27045) 2021-08-18 08:22:11 -07:00
Craig Tiller 46bd552337
Eliminate gen_legal_metadata_characters (#27019)
* eliminate gen_legal_metadata_characters

* Automated change: Fix sanity tests

* Automated change: Fix sanity tests

* fix

* Automated change: Fix sanity tests

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-08-17 20:09:16 -07:00
Lidi Zheng 9b3ee20242
[xDS UrlMap] Move client_runner's ownership to test classes (#27031)
* [xDS UrlMap] Move client_runner's ownership to test classes

* Extend the Kokoro url map timeout for C++ and Python
2021-08-17 12:48:33 -07:00
Craig Tiller aacd32c721
Promise library context management helpers (#26912)
* Promise library context management helpers

* Automated change: Fix sanity tests

* Automated change: Fix sanity tests

* fixes

* Automated change: Fix sanity tests

* missing file

* Automated change: Fix sanity tests

* compatibility

* build

* Automated change: Fix sanity tests

* propagate

* Automated change: Fix sanity tests

* merge with head

* Automated change: Fix sanity tests

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-08-17 09:48:06 -07:00
Craig Tiller 4744aceb68
Promises race (#26915)
* Poll type for promises library

* Promises race construct

* Changes to sync required for promise activities

* Automated change: Fix sanity tests

* fix

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-08-17 09:27:40 -07:00