Pablo Busse
05e5b085a5
Don't link with obsolete WinSock 1.x ( #27053 )
3 years ago
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
3 years ago
Craig Tiller
851517078f
Fix fuzzer found bug in chunked vector ( #27566 )
...
* Fix fuzzer found bug in chunked vector
* Update chunked_vector.h
3 years ago
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>
3 years ago
Paulo Castello da Costa
ae0e234cc4
Delete successful load tests. ( #27586 )
3 years ago
Craig Tiller
a67a9a5cd5
Exclude microbenchmarks from cmake ( #27588 )
...
* Exclude microbenchmarks from cmake
* Trigger automation
* fix
3 years ago
Ming-Chuan
6b922f871f
Temporarily remove binder fuzzers it fails to build with old llvm ( #27599 )
3 years ago
Craig Tiller
a1ad74f7af
Revert "File watcher authorization policy provider implementation ( #26779 )" ( #27591 )
...
This reverts commit 310accd077
.
3 years ago
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>
3 years ago
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
3 years ago
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.
3 years ago
Sergii Tkachenko
74416b617f
Revert "xds_k8s_test: increase timeout to 3 hours due to recent timeout failure ( #27579 )" ( #27589 )
...
This reverts commit ce43fb9b4b
.
3 years ago
Craig Tiller
77ef40bba5
update specs file for benchmark ( #27581 )
3 years ago
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
```
3 years ago
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.
3 years ago
sanjaypujare
ce43fb9b4b
xds_k8s_test: increase timeout to 3 hours due to recent timeout failure ( #27579 )
3 years ago
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
3 years ago
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>
3 years ago
Ashitha Santhosh
310accd077
File watcher authorization policy provider implementation ( #26779 )
...
* File watcher authorization policy provider implementation
3 years ago
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>
3 years ago
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;
}
```
3 years ago
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.
3 years ago
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>
3 years ago
Craig Tiller
ef5c269241
Fix fuzzer found bugs ( #27562 )
3 years ago
Craig Tiller
79097afb56
Standardize on grpc/support/port_platform.h usage in src/core/... ( #27568 )
3 years ago
donnadionne
b50b59c582
Passing repo manager to markdroth ( #27572 )
3 years ago
Paulo Castello da Costa
931be3f7ef
Fix load test name format for more than 10 runs per test. ( #27558 )
3 years ago
Yash Tibrewal
36b0e06e20
OpenCensusCallTracer: Move context generation to StartTransportStreamOpBatch ( #27523 )
...
* OpenCensusCallTracer: Move context generation to StartTransportStreamOpBatch
* Reviewer comments
3 years ago
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
3 years ago
Craig Tiller
ae96af3780
Revert promise benchmarks ( #27551 )
...
* Revert "Update BUILD"
This reverts commit 4472c81232
.
* Revert "Promises benchmarks (#27291 )"
This reverts commit 47921ba5e8
.
3 years ago
Craig Tiller
4472c81232
Update BUILD
3 years ago
Craig Tiller
47921ba5e8
Promises benchmarks ( #27291 )
...
* Promise benchmark
* Automated change: Fix sanity tests
* fix leak
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
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
3 years ago
Lidi Zheng
67eb6386d3
Remove C# GCE framework tests on master branch ( #27541 )
3 years ago
Esun Kim
11d2f86e5e
Upgrade PHP7 docker image to use Debian 9 ( #27537 )
...
* Upgrade PHP7 docker image to use Debian 9
* update
3 years ago
yihuaz
d811d178ee
Update root pem certs ( #27539 )
...
* Update root pem certs
* Remove DST Root CA X3 root cert that has already been expired
3 years ago
Ming-Chuan
b16557b573
Assert binder is not null when creating binder transport ( #27527 )
3 years ago
Vignesh Babu
34e4bd93e1
Revert "Add CRL Enabled Credentials to test folder ( #27436 )" ( #27535 )
...
This reverts commit e611d0c489
.
3 years ago
Craig Tiller
00a7bb2ed4
Fix malloc/new mismatch in api_fuzzer ( #27531 )
3 years ago
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>
3 years ago
sanjaypujare
04ce30a1f8
xds-k8s/xlang: switch to testing v1.41.x from v1.40.x ( #27525 )
3 years ago
krestofur
e611d0c489
Add CRL Enabled Credentials to test folder ( #27436 )
3 years ago
Denny C. Dai
9870583cea
Revert "[objc] Switch to forward declare proto & clean up ( #27444 )" ( #27521 )
...
This reverts commit 4ad495420f
.
3 years ago
Lidi Zheng
550faa6dc7
Port compute_api_version to other TD implementations ( #27518 )
3 years ago
Denny C. Dai
251274022c
Revert "Revert "[objc] Turn on error exit in cocoapod pre-install ( #27474 )" ( #27497 )" ( #27500 )
...
This reverts commit 044253e5bd
.
3 years ago
Denny C. Dai
a85f8a166a
BSD 3-Clause license lint fix ( #27499 )
3 years ago
Ben Beasley
bef9085840
In src/core/lib/promise/detail/basic_seq.h, include cassert ( #27516 )
...
It is needed for assert(…).
3 years ago
donnadionne
e244812a43
Remove channelz linkage. ( #27514 )
...
* Remove channelz linkage.
* one more removal.
3 years ago
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>
3 years ago
Craig Tiller
bed585bdcb
fix memory leak ( #27510 )
3 years ago