Yash Tibrewal
a622fe2c97
xDS LDS parsing changes: NACK on use_original_dst ( #25687 )
...
* xDS LDS parsing changes: NACK on use_original_dst
* Reviewer comments
* Unused variable
4 years ago
Lidi Zheng
6e3f9b4c61
Add gRPC 1.36.3 to the interop matrix ( #25723 )
...
* Add 1.36.2 to interop matrix
* Add v1.36.3 to the interop matrix
4 years ago
AJ Heller
d5c1d093a1
Create a go module for http2 interop test, fixing breakage from upgrade to go v1.16 ( #25707 )
...
Go v1.16 introduced module-aware commands by default. This version
upgrade broke our http2 interop tests (see #25660 ). Setting the go
environment variable `GO111MODULE` to "auto" makes go tools behave as
they did before the v1.16 change, but will not be compatible with v1.17.
This PR introduces a minimal go.mod file for the interop test to appease go
v1.16.
Docs on the flag: https://golang.org/ref/mod#mod-commands
Recent discussion on golang/go:
https://github.com/golang/go/issues/31997#issuecomment-782864390
4 years ago
Yash Tibrewal
5b9471da07
Follow-up from #24965 ( #25683 )
...
* Follow-up from #24965
* Avoid deadlock on XdsClient destruction
4 years ago
Yash Tibrewal
7021b72d1f
Revert Revert Xds Status Notifier ( #25718 )
...
* Revert "Revert "xDS status notifier (#25321 )" (#25702 )"
This reverts commit 3c9f3972e3
.
* Remove connection from map when OnClose is not registered
* Reviewer comments
4 years ago
Yash Tibrewal
e9de13e6ad
Adding test to make sure that http2 transport gets cleaned up ( #25714 )
...
* Add test to make sure that transports get destroyed
* Reviewer comments
4 years ago
AJ Heller
949c37c884
Add google storage URLs for all mirrored bazel dependencies ( #25710 )
4 years ago
Lidi Zheng
83b19b2efe
[Aio] Add time_remaining method to ServicerContext ( #25719 )
...
* [Aio] Add time_remaining method to ServicerContext
* Fix comments
* Resolve reviewer's requests
4 years ago
apolcyn
4693b9b1e5
document --service_config_json flag in interop test descriptions ( #25689 )
4 years ago
AJ Heller
00ce40373b
Change repo mgr to @nicolasnoble ( #25648 )
...
I won't merge until next Monday
4 years ago
Yonathan Randolph
a985978d82
grpc_cli: allow multiple colon-separated paths in --proto_path ( #24187 )
...
Co-authored-by: Yash Tibrewal <yashkt@google.com>
Co-authored-by: AJ Heller <hork@google.com>
4 years ago
Srini Polavarapu
d469db3fbb
add xds v3 feature ( #25706 )
4 years ago
AJ Heller
b516dbfa21
Increase artifact build timeouts for problem targets ( #25695 )
...
Going back 2 weeks, nightly packages have failed to build due to
artifact build timeouts. This change increases timeouts for:
Python Linux Extra: 5hrs -> 7hrs
Python Manylinux: 1hr -> 2hrs
CSharp iOS: 45min -> 1hr
CSharp MacOS x64: 30m -> 45m
This is a stopgap measure to get nightly packages deployed more regularly;
March has seen 3 nightlies published in 11 days.
I've cherry picked some of the artifact build timeout errors below.
2021.03.10
grpc/core/master/linux/grpc_build_artifacts_extra_release
2021-03-10 05:03:40,560 TIMEOUT: build_artifact.python_linux_extra_armv7_3.6 [pid=7384, time=18000.4sec]
2021-03-10 05:03:40,646 TIMEOUT: build_artifact.python_linux_extra_armv7_2.7 [pid=7375, time=18000.5sec]
2021-03-10 05:03:40,728 TIMEOUT: build_artifact.python_linux_extra_armv7_3.5 [pid=7378, time=18000.6sec]
2021.03.08
grpc/core/master/linux/grpc_build_artifacts_extra_release
2021-03-08 05:03:18,542 TIMEOUT: build_artifact.python_linux_extra_armv7_3.6 [pid=6853, time=18000.5sec]
2021-03-08 05:03:18,639 TIMEOUT: build_artifact.python_linux_extra_armv7_2.7 [pid=6844, time=18000.6sec]
2021-03-08 05:03:18,741 TIMEOUT: build_artifact.python_linux_extra_armv7_3.5 [pid=6847, time=18000.7sec]
2021.03.07
grpc/core/master/macos/grpc_build_artifacts:
2021-03-07 00:58:02,492 TIMEOUT: build_artifact.csharp_ext_macos_x64 [pid=58673, time=1805.5sec]
2021-03-07 01:13:03,065 TIMEOUT: build_artifact.csharp_ext_macos_ios [pid=58672, time=2706.1sec]
Bumping iOS again from https://github.com/grpc/grpc/pull/25049
grpc/core/master/linux/grpc_build_artifacts_extra_release
2021-03-07 05:03:36,061 TIMEOUT: build_artifact.python_linux_extra_armv7_3.6 [pid=8867, time=18002.9sec]
2021.03.06
grpc/core/master/linux/grpc_build_artifacts_extra_release
2021-03-06 05:03:12,474 TIMEOUT: build_artifact.python_linux_extra_armv7_3.5 [pid=8307, time=18000.6sec]
2021.03.05
grpc/core/master/linux/grpc_build_artifacts_extra_release
2021-03-05 05:03:48,611 TIMEOUT: build_artifact.python_linux_extra_armv7_3.6 [pid=7075, time=18008.6sec]
2021.02.27
grpc/core/master/linux/grpc_build_artifacts
2021-02-27 01:09:57,943 TIMEOUT: build_artifact.python_manylinux2010_x64_cp27-cp27mu [pid=21983, time=3608.9sec]
2021.02.23
grpc/core/master/windows/grpc_build_artifacts
```
2021-02-23 01:48:23,729 SUCCESS: All targets built successfully.
T:\src\github\grpc>set RUNTESTS_EXITCODE=0
T:\src\github\grpc>bash tools/internal_ci/helper_scripts/delete_nonartifacts.sh
++ dirname tools/internal_ci/helper_scripts/delete_nonartifacts.sh
+ cd tools/internal_ci/helper_scripts/../../..
+ find . -type f -not -iname '*sponge_log.*' -not -path './reports/*' -not -path './artifacts/*' -not -path './tools/internal_ci/*' -exec rm -f '{}' +
ERROR: Aborting VM command due to timeout of 10800 seconds
```
4 years ago
Yash Tibrewal
3c9f3972e3
Revert "xDS status notifier ( #25321 )" ( #25702 )
...
This reverts commit 81e90432e1
.
4 years ago
Mark D. Roth
d2c2d66a03
xds: Ignore HTTP filters if LDS resource is v2. ( #25694 )
4 years ago
Lidi Zheng
e34b0a73c6
Fix a typo in fault injection ( #25693 )
4 years ago
donnadionne
d3e97d953b
Adding xxhash as a subtree ( #25645 )
4 years ago
Yash Tibrewal
e7536952a3
Filters parsing logic for servers ( #25609 )
...
* Filters parsing logic for servers
4 years ago
Vijay Pai
0937cb1249
Add usage note about immediately-Set alarms ( #25678 )
4 years ago
Menghan Li
c57a4be05d
Disable fault injection env var in xds interop tests ( #25676 )
4 years ago
Yash Tibrewal
0e0bc355ce
xDS changes for server listener resource name template ( #24965 )
...
* xDS: Server listener resource name template changes
* Reviewer comments
4 years ago
apolcyn
18b69cf2c7
Fix an infinite read loop with SRV record resolution on windows ( #25672 )
4 years ago
Esun Kim
2dc8df9ef6
Fix bugprone unhandled self assignment ( #25667 )
...
* Add bugprone-unhandled-self-assignment
* Fix bugprone-unhandled-self-assignment
4 years ago
Esun Kim
98e1e620b9
Replace deprecated thread annotations macros. ( #25673 )
4 years ago
Vijay Pai
b36d3f7e33
Annotate C++ server ( #25605 )
...
* Make annotations real in server header
* More annotations
* clang-fmt
* Annotate shutdown state variables
* Fix annotation of CV predicate
* Fix param list
4 years ago
Clément Péron
5e13018330
Update third_party/benchmark to v1.5.2 ( #25184 )
...
This fix the following error when compiling:
error: #error C++11 or greater detected by the library. BENCHMARK_HAS_CXX11 is defined.
12 | #error C++11 or greater detected by the library. BENCHMARK_HAS_CXX11 is defined.
| ^~~~~
Signed-off-by: Clément Péron <peron.clem@gmail.com>
4 years ago
Yash Tibrewal
8d95aad50c
Channelz security changes - Follow up from #25593 ( #25624 )
4 years ago
emkornfield
ec31fa8455
Standardize all environment variable boolean configuration in python's setup.py ( #25444 )
...
* standardize bool flags for grpcio and grpcio.tools
Co-authored-by: Jan Tattermusch <jtattermusch@google.com>
4 years ago
Esun Kim
a41a206b8c
Fix readability-const-return-type,readability-delete-null-pointer,readability-simplify-boolean-expr ( #25628 )
4 years ago
Yash Tibrewal
532f03a6c3
Change Chttp2ServerListener to share the ref of the underlying grpc_tcp_server ( #25655 )
...
* Add back ref to grpc_tcp_server while doing the handshake
4 years ago
Richard Belleville
35c60cd9ed
Enable Python Timeout xDS Interop Test ( #25525 )
...
* Add timeout to Python xDS tests
* Bump server
* Pin first order dependencies
* Revert "Pin first order dependencies"
This reverts commit 97fae67b04
.
4 years ago
Lidi Zheng
3b067c9f3f
Implement xDS client-side fault injection filter ( #24354 )
...
* Refactored with dynamic filters
* Error-tolerance tuned
* Fix leak of grpc_error and data race of canceller
* Adopt the latest xDS HTTP filter framework
* Fix fault injection tests' conflict with router filter
* Test alternative setup (override, no-override) without copy
* Refactor file strcutures of fault injection filter
* Rewrite the Json parsing/assembling logic again
* Added logic for aborting streaming RPC && resolve comments
4 years ago
Mark D. Roth
5d3fe59a5f
xds: Fix handling of HTTP filter that does not set typed_config. ( #25651 )
...
* xds: Fix handling of HTTP filter that does not set typed_config.
* same change for typed_per_filter_config
4 years ago
Yash Tibrewal
1c59e178f2
Some environments support only IPv6 addresses - followup from #25321 ( #25656 )
4 years ago
Doug Fawley
6276b66490
run_xds_tests: add fault_injection tests ( #25641 )
4 years ago
AJ Heller
5139a012e7
Migrate the bm_diff benchmarks to python3 ( #25619 )
...
* Migrate the bm_diff benchmarks to python3
Includes a requirements.txt pinned at ~2017 versions, when this script
was first written.
* Replace p2 with p3 scipy/numpy dependencies.
* py2->3 for benchmark setup scripts
* upgrade pip to resolve python3 cryptography/setuptools-rust problem
* re-add jobset import (accidentally removed)
* re-add six's urllib import. This file is still used in py2 tests
* force py3 in run_if_c_cpp_modified.sh
* Fix another instance of subprocess.check_output binary mode
* Use the requirements.txt for CI perf environment setup
* Try to upgrade PyJWT. (v2.0.0 was problematic, #25053 )
v2.x makes encode return strs from jwt.encode in both py2 and py3.
Previously, py3 would return bytes, and py2 a str.
* upgate cryptography lib version requirements for jwt.
* Wrap pip requirements specifier in quotes '>=x,<y'
* Decode subprocess output once instead of for every line
* Revert "Decode subprocess output once instead of for every line"
This reverts commit 28d14026431622ac7afd3535a8d7118e5be96628.
py2 doesn't support the `text` argument to subprocess.check_output.
* Address reviewer requests
* Pin a valid scipy version
* Remove scipy and tabulate dependencies from macos tests
4 years ago
Ivan Inozemtsev
5c95dd5c2c
Update dart to 2.12 release ( #25657 )
4 years ago
Yash Tibrewal
81e90432e1
xDS status notifier ( #25321 )
...
* Serving status notification for xds enabled servers
4 years ago
Richard Belleville
1437dc9816
Fix pypa link ( #25647 )
...
* Fix pypa link
* And 3.5 as well
4 years ago
Richard Belleville
d9903aa44e
Format Channelz Address.TcpIpAddress.address as packed bytes ( #25629 )
...
* Move address packing to Core
* Format
* Use absl::Base64Escape
* Update src/core/lib/channel/channelz.cc
Co-authored-by: Yash Tibrewal <yashkt@google.com>
Co-authored-by: Yash Tibrewal <yashkt@google.com>
4 years ago
Minku Lee
3ca079faad
ruby: add conditional on darwin based on arch ( #25419 )
4 years ago
Menghan Li
262024be79
Add v1.36.0 release of grpc-go to interop matrix ( #25553 )
4 years ago
Mark D. Roth
95b2b8250c
Change repo manager to drfloob. ( #25637 )
4 years ago
Esun Kim
6b1dcc75c5
Update clang-tidy checks ( #25627 )
4 years ago
Yash Tibrewal
8eb2e13a6e
C++ xDS interop test server changes ( #25633 )
...
* C++ xDS interop test server changes
4 years ago
yihuaz
d4ef8084f4
add max_frame_size support to fake TSI handshaker and fake HS service ( #25621 )
4 years ago
Yash Tibrewal
a214b52998
Disable channelz_service_test for iOS ( #25639 )
4 years ago
Lidi Zheng
e7d9cccf9a
Fix build abseil/boringssl/protobuf at head ( #25638 )
...
* Update PyYAML install steps
* F-string is 3.6+
* Regenerate project
4 years ago
Stanley Cheung
8f2f3d555a
Enable timeout xds test for Ruby ( #25623 )
4 years ago
Ashitha Santhosh
bd86187f19
SDK authorization policy translator. ( #25361 )
...
* SDK authorization policy translator.
4 years ago