Commit Graph

35740 Commits

Author SHA1 Message Date
Lidi Zheng 5584d58e6c Add LICENSE to grpcio-* packages
* Using the proprocess command to copy the LICENSE
2018-12-05 15:25:48 -08:00
Lidi Zheng 8d438057e4 Add License to Python tarball 2018-12-05 12:30:08 -08:00
Mark D. Roth 9bd5b3778a
Merge pull request #17392 from markdroth/xds_experimental
Change xds plugin name to xds_experimental until it's ready for use.
2018-12-05 09:45:58 -08:00
Jan Tattermusch 354d872297
Merge pull request #17404 from jtattermusch/fix_pr_high_sierra
fix macos PR jobs on high-sierra workers
2018-12-05 18:04:40 +01:00
hcaseyal dc12bf58b8
Merge pull request #17350 from hcaseyal/callback_test_coverage_1
Add test for sending client initial metadata for callback API
2018-12-05 08:28:03 -08:00
Jan Tattermusch c012afb731 fix macos PR jobs on high-sierra workers 2018-12-05 16:56:48 +01:00
Jan Tattermusch d93834d5ee
Merge pull request #17376 from jtattermusch/csharp_simple_nunit_main
C#: avoid unnecessary ifdefine in NUnitMain.cs
2018-12-05 13:47:52 +01:00
Jan Tattermusch d0603a8040
Merge pull request #17388 from jtattermusch/image_performance_kokoro_v3
Updates for grpc-performance-kokoro-v3 image
2018-12-05 10:25:09 +01:00
Lidi Zheng 4178e0471f
Merge pull request #17400 from lidizheng/python-bazel-0.20.0
Make WORKSPACE compatible with Bazel 0.20.0 for Python
2018-12-04 22:20:23 -08:00
Lidi Zheng 8bed44b2c4 Make WORKSPACE compatible with Bazel 0.20.0 for Python 2018-12-04 19:43:04 -08:00
Eric Gribkoff 8998dfcb7a
Merge pull request #17396 from ericgribkoff/creds_close_hang
credentials: call grpc_init/grpc_shutdown when created/destroyed
2018-12-04 18:31:45 -08:00
Noah Eisen 7d68723426
Merge pull request #17394 from ncteisen/bazel
Add Testonly to Targets
2018-12-04 14:43:13 -08:00
Eric Gribkoff e699c47c1e credentials: call grpc_init/grpc_shutdown when created/destroyed
This addresses https://github.com/grpc/grpc/issues/17001. Prior to
https://github.com/grpc/grpc/pull/13603, our credentials cython objects
used grpc_initi() and grpc_shutdown() on creation and destruction. These are
now managed differently, but the grpc_init() and grpc_shutdown() calls
are still required. See the MetadataCredentialsPluginWrapper in C++,
which extends the GrpcLibraryCodegen class to ensure that grpc_init()
and grpc_shutdown() are called appropriately.

Without this, we can deadlock when a call to grpc.Channel#close()
triggers grpc_shutdown() to block and wait for all timer threads to
finish: one of these timer threads may end up unreffing the subchannel
and triggering grpc_call_credentials_unref, which will jump back into
Cython and hang when it tries to reacquire the GIL.
2018-12-04 14:29:04 -08:00
Nicolas Noble 01792f00a3
Merge pull request #17393 from nicolasnoble/jq-broken
Fixing jq's installation.
2018-12-04 14:07:24 -08:00
Sheena Madan 073467b584
Update BUILD 2018-12-04 13:14:58 -08:00
ncteisen 0a37159ff4 re add testonly 2018-12-04 12:41:47 -08:00
Nicolas "Pixel" Noble 3cdf8377cf Fixing jq's installation. 2018-12-04 21:38:54 +01:00
Nicolas Noble 3e79baf30d
Merge pull request #17385 from grpc/bazel-cycle-workaround
Workarounding bazelbuild/bazel#6831
2018-12-04 12:37:40 -08:00
Vijay Pai fdb708e266
Merge pull request #17386 from vjpai/ctx_lifetime
Document that ClientContext must remain alive for duration of RPC
2018-12-04 10:41:30 -08:00
Mark D. Roth f27eb3aed1 Change xds plugin name to xds_experimental until it's ready for use. 2018-12-04 09:39:29 -08:00
Hope Casey-Allen 9d2b3f35b9 Fix another problem in grpc_tool_test 2018-12-04 09:32:50 -08:00
Jan Tattermusch c3b1047e30
Merge pull request #17387 from jtattermusch/csharp_netcoreapp11_worker
C#: use netcoreapp1.1 qps worker
2018-12-04 16:30:59 +01:00
Jan Tattermusch 140cda9af0 updates for grpc-performance-kokoro-v3 image 2018-12-04 11:46:41 +01:00
Jan Tattermusch b30218b6e0 C#: use netcoreapp1.1 qps worker 2018-12-04 11:34:15 +01:00
Jan Tattermusch 13c9e1a277
Merge pull request #16882 from ncteisen/microbenchmarks-bazel
Make Microbenchmarks Test Targets
2018-12-04 09:10:18 +01:00
Soheil Hassas Yeganeh 512ab8679b
Merge pull request #17360 from soheilhy/refcounted-no-trace
Add debug-only tracing to grpc_core::RefCount
2018-12-03 23:36:27 -05:00
Vijay Pai 606177bbc8 Document that ClientContext must remain alive for duration of RPC 2018-12-03 20:00:08 -08:00
Nicolas Noble dc930c7868
Workarounding bazelbuild/bazel#6831
This will take care of the bazel crash until we have a proper fix upstream.
2018-12-03 19:16:21 -08:00
Lidi Zheng c339ba3229
Merge pull request #16971 from lidizheng/surface-exceptions
Surface exceptions from Cython to Python as much as possible
Fixed #16643
2018-12-03 16:42:13 -08:00
Hope Casey-Allen b7f283b06f Fix bazel rbe tests 2018-12-03 16:04:30 -08:00
Hope Casey-Allen be76eb4429 Address reviewer comments 2018-12-03 14:58:34 -08:00
Hope Casey-Allen 37c18ce676 Merge branch 'callback_test_coverage_1' of github.com:hcaseyal/grpc into callback_test_coverage_1 2018-12-03 13:56:22 -08:00
Hope Casey-Allen f0cb7e6bdc Remove log lines 2018-12-03 13:55:06 -08:00
Nicolas Noble f8696b5136
Merge pull request #17363 from nicolasnoble/fix-bazel-0.20
Fix bazel 0.20's deprecated workspace imports.
2018-12-03 13:40:56 -08:00
hcaseyal cf14bd13fb
Merge branch 'master' into callback_test_coverage_1 2018-12-03 10:16:35 -08:00
Hope Casey-Allen c12aabc6a7 Clang format 2018-12-03 10:14:46 -08:00
yihuaz 1e1d4c2621
Merge pull request #17305 from yihuazhang/ALTS-log-msg-reorder
Re-order ALTS handshaker log messages
2018-12-03 10:14:30 -08:00
Lidi Zheng 0c5d196dbc
Merge pull request #17322 from lidizheng/py-example-logging
Add logging.basicConfig() for example servers
2018-12-03 10:04:46 -08:00
Vijay Pai 6bca0313d8
Merge pull request #17144 from vjpai/server_streaming
C++ callback API for streaming servers
2018-12-03 09:52:28 -08:00
Yihua Zhang 1b115db5db re-order ALTS log messages. 2018-12-03 09:03:15 -08:00
Nicolas Noble 6fd003fc24
Merge pull request #17192 from alexlo03/ipv6-colon-colon-colon
ipv6 addresses must be bracketed if using a port
2018-12-03 08:21:45 -08:00
Jan Tattermusch b021add5e4 C#: avoid unnecessary ifdefine in NUnitMain.cs 2018-12-03 15:17:52 +01:00
Jan Tattermusch 0e717e4655
Merge pull request #17356 from jtattermusch/cleanup_multilang_references
Cleanup references to removed multilang docker image
2018-12-03 11:39:55 +01:00
Jan Tattermusch 2d3eb97e72
Merge pull request #17275 from jtattermusch/remote_api_client_pin
Remove google-api-python-client pin
2018-12-03 11:38:25 +01:00
Jan Tattermusch 69010a781c
Merge pull request #17309 from jtattermusch/csharp_stretch_dockerfiles2
Upgrade C# testing images to debian stretch (second attempt)
2018-12-03 11:26:31 +01:00
apolcyn 63c9e43c2a
Merge pull request #17295 from ganmacs/fix-misc
Fix ruby code style
2018-12-02 21:01:32 -08:00
Soheil Hassas Yeganeh 4345ef121a Add debug-only tracing to grpc_core::RefCount
Also, this patch removes the *WithTracing variants in favor of the new
API.
2018-12-01 23:42:18 -05:00
apolcyn 5fed8e5452
Merge pull request #17354 from apolcyn/fix_ares_deadlocks
Cancel c-ares queries after a timeout to avoid getting stuck
2018-11-30 16:58:16 -08:00
Yang Gao 09add58eca
Merge pull request #17359 from yang-g/test_env
Create a class for test environment and migrate most of the tests to use it.
2018-11-30 16:48:18 -08:00
Vijay Pai 09ba4b4047 Test client-side callback streaming with callback server 2018-11-30 16:17:16 -08:00