Commit Graph

49486 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
Ashitha Santhosh 74d554a4f0
Check for unsupported connection headers. (#27072)
* Check for unsupported condition headers.
2021-08-30 22:34:45 -07: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
Vignesh Babu b016729c90
Revert "Revert "Adding grpc_init/grpc_shutdown to subchannel ctor/dtor to solve bugs related to async destruction of subchannels (#26965)" (#27004)" (#27191)
This reverts commit 5f00f9c8ca.
2021-08-30 16:18:16 -07:00
Srini Polavarapu 7653464125
update feature list (#27186) 2021-08-30 13:47:29 -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
yihuaz c66d2cc084
Allow access to Google API regional endpoints via Google Default Credentials (#27155)
* fix Google API regional endpoint access issues

* address 1st round of comments

* fix minor nits
2021-08-30 10:57:48 -07:00
Esun Kim 71a9410fc7
Another workaround to fix windows SymInitialize error (#27169) 2021-08-30 10:15:55 -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
Mark D. Roth 1bc4e74065
change repo manager to nicolasnoble (#27100) 2021-08-30 08:04:07 -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
Ta-Wei Tu 013a45ccc4
Fix binder transport BUILD dependencies (#27060)
* Fix binder transport BUILD dependencies

* We only need grpc_base_c
2021-08-28 10:34:31 +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
github-actions[bot] 5444bdfef5
Automated change: Fix sanity tests (#27172)
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-08-27 12:58:22 -07: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
apolcyn 72217d3242
Improve interop soak test documentation (#27030)
* Improve interop soak test documentation
2021-08-27 11:07:21 -07:00
Craig Tiller 1ff6607736
Wakeup primitive between actors in the same activity (#27081)
* promise sequences

* Activities for promises

* Wakeups between actors in the same activity

* Automated change: Fix sanity tests

* Automated change: Fix sanity tests

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-08-27 10:16:55 -07:00
Yash Tibrewal cb2e7554a3
xds_end2end_test: Fix UnsupportedHttpFilter test on aws (#27147) 2021-08-27 09:10:46 -07:00
Ta-Wei Tu 7dd1da9e1d
Break after WriteLast() (#27165)
If we continue to call `Write()` after `WriteLast()` (because client is still sending us data and thus `Read()` returns `true`), the buffer might become invalid and results in assertion failures.
2021-08-27 23:19:12 +08:00
Jan Tattermusch 7e532fd198
add streamlined and faster ruby distribtest (#27124) 2021-08-27 09:23:50 +02:00
github-actions[bot] b02dd55210
Automated change: Fix sanity tests (#27156)
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-08-26 22:14:58 -07:00
AJ Heller f84f3a7522
Fix potential nullptr names in resource_user/slice_allocator creation (#27154)
absl::string_view permits construction with nullptr, which yields UB.
This PR fixes all call sites that could have created these objects with
nullptr names.
2021-08-26 19:30:07 -07:00
apolcyn 93275fc443
Update default XDS server name in C2P resolver (#27132) 2021-08-26 15:52:58 -07:00
Denny C. Dai cef46fe7ae
[gRPC/ObjC] Fix flaky test InteropTests::testHijackingInterceptor (#27116) 2021-08-26 15:01:34 -07:00
Craig Tiller 764232fa13
Fixes for map (#27079)
* fixes for map

* fix bad merge

* Automated change: Fix sanity tests

* Automated change: Fix sanity tests

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-08-26 14:34:00 -07:00
Craig Tiller 8605020195
Add a visibility tag for channelz (#27143) 2021-08-26 13:04:57 -07:00
Craig Tiller 9cc980aa22
Add visibility tag for census (#27144) 2021-08-26 13:04:37 -07:00
github-actions[bot] e6ab378869
Automated change: Fix sanity tests (#27148)
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-08-26 12:04:50 -07: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 0116acc2fb
Label automated fixes better (#27140) 2021-08-26 09:35:41 -07: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
Ming-Chuan ecc07b6979
Add missing gpr_platform dependency for binder transport (#27118)
Without this, layering check in internal repo will fail when non third
party code depends on the transport implementation
2021-08-26 12:18:06 +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
github-actions[bot] aaae10e04d
Automated change: Fix sanity tests (#27128)
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-08-25 18:44:52 -07:00
ZhenLian 3c2a154dbb
TlsCredentials: fix a typo in comments (#27115) 2021-08-25 16:17:37 -07:00
Craig Tiller 0ade950b64
Add an annotation to allow tooling to make better choices (#27119) 2021-08-25 12:07:55 -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
donnadionne 59fc02a94b
Enabling Ring Hash by default. (#27111) 2021-08-24 19:59:19 -07:00
Esun Kim 420a98f96b
Update docker images (#27109) 2021-08-24 18:03:45 -07:00