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
Craig Tiller
7d2f9c842c
Revert "Reland moving promises build config out of root ( #27561 )" ( #27610 )
...
This reverts commit 391f2fc2c7 .
2021-10-05 14:27:46 -07:00
Pablo Busse
05e5b085a5
Don't link with obsolete WinSock 1.x ( #27053 )
2021-10-05 13:35:29 -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
Craig Tiller
851517078f
Fix fuzzer found bug in chunked vector ( #27566 )
...
* Fix fuzzer found bug in chunked vector
* Update chunked_vector.h
2021-10-05 10:33:28 -07:00
Craig Tiller
391f2fc2c7
Reland moving promises build config out of root ( #27561 )
...
* Revert "Revert "Try moving promises build config out of root (#27400 )" (#27504 )"
This reverts commit f0fc72f2a4 .
* Automated change: Fix sanity tests
* fix
* Automated change: Fix sanity tests
* merge with other changes
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-10-05 10:31:02 -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
Ming-Chuan
6b922f871f
Temporarily remove binder fuzzers it fails to build with old llvm ( #27599 )
2021-10-06 00:49:35 +08:00
Craig Tiller
a1ad74f7af
Revert "File watcher authorization policy provider implementation ( #26779 )" ( #27591 )
...
This reverts commit 310accd077 .
2021-10-05 09:12:08 -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
Stan Hu
106dd2fed8
Drop -msse4 compiler flag ( #27121 )
...
* Drop ABSL_RANDOM_HWAES_FLAGS compiler flags
Older CPUs that do not have SSE4.1 would crash with the Ruby native gem
due to an illegal instruction exception.
The Abseil random library isn't being used at the moment
(https://github.com/grpc/grpc/pull/26476 ), and there's no reason gRPC
needs to force SSE4.1 instructions on all platforms at the moment. There
are other hardware-specific issues that need to be ironed out for this
to work: https://github.com/grpc/grpc/pull/26479
When the `-msse4` compiler flag was enabled, the Abseil code started
using the `pinsrb` instruction:
```
$ elfx86exts abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.o
MODE64 (ret)
CMOV (cmovne)
SSE2 (movdqa)
SSE41 (pinsrb)
SSE1 (movaps)
CPU Generation: Penryn
```
Closes https://github.com/grpc/grpc/issues/27095
* Revert "Drop ABSL_RANDOM_HWAES_FLAGS compiler flags"
This reverts commit 3b7cc74d39 .
* Drop -msse4 compiler flag
Older CPUs that do not have SSE4.1 would crash with the Ruby native gem
due to an illegal instruction exception.
The Abseil random library isn't being used at the moment
(https://github.com/grpc/grpc/pull/26476 ), and there's no reason gRPC
needs to force SSE4.1 instructions on all platforms at the moment. There
are other hardware-specific issues that need to be ironed out for this
to work: https://github.com/grpc/grpc/pull/26479
When the `-msse4` compiler flag was enabled, the Abseil code started
using the `pinsrb` instruction:
```
$ elfx86exts abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.o
MODE64 (ret)
CMOV (cmovne)
SSE2 (movdqa)
SSE41 (pinsrb)
SSE1 (movaps)
CPU Generation: Penryn
```
This was previously needed because gcc 4.8 wouldn't compile without the
`-msse4` and `-maes` flags.
However, per
97db2bf7fb
gcc 5.0+ automatically detects whether these options are enabled.
clang still needs `-maes` since including `wmmintrin.h` expects the AES
option to be enabled.
Closes https://github.com/grpc/grpc/issues/27095
2021-10-05 12:35:04 +02:00
AJ Heller
f5b3a49af6
Describe support-levels for undocumented supported platforms ( #27363 )
...
Quite a few platforms were missing from this list. No new support is
being added, this PR just documents the current state of affairs.
2021-10-04 19:05:52 -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
Craig Tiller
ce0aba2577
Increase XDS e2e shard count ( #27582 )
...
Provides a 40% reduction in runtime for this test internally, and since
it's on our critical path for landing changes, this is significant.
2021-10-04 17:22:13 -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
be65f0bf1e
Dont crash if channelz not initialized ( #27435 )
...
* Dont crash if channelz not initialized
* Automated change: Fix sanity tests
* review feedback
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-10-04 15:06:41 -07:00
Ashitha Santhosh
310accd077
File watcher authorization policy provider implementation ( #26779 )
...
* File watcher authorization policy provider implementation
2021-10-04 14:22:45 -07:00
Craig Tiller
1619945281
Promises fuzzer ( #27406 )
...
* 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
* promise fuzzer
* progress
* Automated change: Fix sanity tests
* Initial promise fuzzer
* better factoring
* misc improvements
* Initial promise fuzzer
* Automated change: Fix sanity tests
* enhancements
* fix
* Automated change: Fix sanity tests
* clang-tidy fix
* bad merge
* Update BUILD
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-10-04 13:21:38 -07:00
AJ Heller
cdf59659c4
EventEngine Test Suite: Timers ( #27496 )
...
A reusable test suite for EventEngine implementations.
To exercise a custom EventEngine, simply link against :event_engine_test_suite
and provide a testing main function that sets a custom EventEngine factory:
```
#include "path/to/my_custom_event_engine.h"
#include "src/core/event_engine/test_suite/event_engine_test.h"
int main(int argc, char** argv) {
::testing::InitGoogleTest(&argc, argv);
SetEventEngineFactory(
[]() { return absl::make_unique<MyCustomEventEngine>(); });
auto result = RUN_ALL_TESTS();
return result;
}
```
2021-10-04 13:19:07 -07:00
Craig Tiller
b2942f601c
Modify hpack benchmark scenarios ( #27567 )
...
It used to be that we could run the hpack deserializer into an arbitrary
sink - that's about to change and the hpack deserializer will buffer
directly into a map. That being the case, it's really hard to compare
performance of the current and the new system. With this PR, I'm
updating the relevant scenario to be more similar to the eventual
scenario that we plan, so that as the new work finishes up, we can get a
clearer idea of what changes we're really making.
2021-10-04 13:14:43 -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
ef5c269241
Fix fuzzer found bugs ( #27562 )
2021-10-04 09:48:10 -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
donnadionne
b50b59c582
Passing repo manager to markdroth ( #27572 )
2021-10-04 08:34:25 -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
Yash Tibrewal
36b0e06e20
OpenCensusCallTracer: Move context generation to StartTransportStreamOpBatch ( #27523 )
...
* OpenCensusCallTracer: Move context generation to StartTransportStreamOpBatch
* Reviewer comments
2021-10-02 13:36:10 -07: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
4472c81232
Update BUILD
2021-10-01 11:25:50 -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
Mark D. Roth
03a51fa9d1
don't create secure endpoint if TSI implementation does not require it ( #27509 )
...
* don't create secure endpoint if security level is TSI_SECURITY_NONE
* instead of depending on security level, add a method to tsi_handshaker_result
* clang-format
* fix build
* fix build for realz
* code review changes
* update comments
2021-10-01 10:01:03 -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
yihuaz
d811d178ee
Update root pem certs ( #27539 )
...
* Update root pem certs
* Remove DST Root CA X3 root cert that has already been expired
2021-10-01 04:46:12 -07:00
Ming-Chuan
b16557b573
Assert binder is not null when creating binder transport ( #27527 )
2021-10-01 11:05:39 +08:00
Vignesh Babu
34e4bd93e1
Revert "Add CRL Enabled Credentials to test folder ( #27436 )" ( #27535 )
...
This reverts commit e611d0c489 .
2021-09-30 10:58:29 -07:00
Craig Tiller
00a7bb2ed4
Fix malloc/new mismatch in api_fuzzer ( #27531 )
2021-09-30 10:51:07 -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
krestofur
e611d0c489
Add CRL Enabled Credentials to test folder ( #27436 )
2021-09-29 16:43:39 -07:00
Denny C. Dai
9870583cea
Revert "[objc] Switch to forward declare proto & clean up ( #27444 )" ( #27521 )
...
This reverts commit 4ad495420f .
2021-09-29 15:03:36 -07:00
Lidi Zheng
550faa6dc7
Port compute_api_version to other TD implementations ( #27518 )
2021-09-29 17:23:31 -04:00
Denny C. Dai
251274022c
Revert "Revert "[objc] Turn on error exit in cocoapod pre-install ( #27474 )" ( #27497 )" ( #27500 )
...
This reverts commit 044253e5bd .
2021-09-29 14:12:28 -07:00