Commit Graph

6151 Commits

Author SHA1 Message Date
Alexander Polcyn 2fe0d21736 Add a new compute engine channel creds interop test case 2019-03-21 11:31:02 -07:00
Bill Feng 6050990f89 Merge remote-tracking branch 'upstream/master' into feature/reinstate-rbe-windows 2019-03-20 16:08:50 -07:00
Karthik Ravi Shankar 526bf39f89 Fold GenericStub from grpc_impl to grpc 2019-03-19 12:34:30 -07:00
Adam Langley 271807df79 Build BoringSSL tests as BoringSSL does.
BoringSSL builds its crypto_test and ssl_test as single targets, while
gRPC was building them with a target per file. This no longer works with
tip-of-tree BoringSSL.

This change aligns gRPC with the way that BoringSSL builds its tests.
The changes to boringssl/gen_build_yaml.py were done by hand, all other
changes result from generate_projects.sh.
2019-03-19 11:16:24 -07:00
Stanley Cheung 0a8fbd2a67 Fix broken php7 performance benchmarks build 2019-03-18 15:12:46 -07:00
Bill Feng d9fc63f42f generated project for updated submodule 2019-03-18 11:08:12 -07:00
Karthik Ravi Shankar 322e720fe6 Merge branch 'master' into grpc_namespace_serverbuilder 2019-03-18 10:39:38 -07:00
Karthik Ravi Shankar 2772f519e6 Fix errors from presubmit scripts. 2019-03-15 14:28:32 -07:00
Yihua Zhang b017c801b6 Add SPIFFE security stack to gRPC core 2019-03-14 15:24:48 -07:00
Vishal Powar 319fcdf26e Add a script for generating C code and build rule for protobuf protos.
All these changes need to go together to make sense
  - changes to use new version of upb in bazel
  - allowing includes in build target option
  - script for generating c code (upb) for protos
  - generated code for example protos
  - adding changes for non-bazel builds
  - change sanity tests to ignore the generated files.
2019-03-13 12:53:17 -07:00
Karthik Ravi Shankar 82c6e012d8
Revert "Revert "Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota"" 2019-03-12 14:01:05 -07:00
Karthik Ravi Shankar b3889585a1
Revert "Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota" 2019-03-12 12:25:38 -07:00
Karthik Ravi Shankar cc632f8121
Merge pull request #18220 from grpc/grpc_namespace
Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota
2019-03-12 11:20:27 -07:00
Jan Tattermusch ee500f1963
Merge pull request #17276 from jtattermusch/csharp_netcore2x
C# upgrade executables to netcoreapp2.1
2019-03-12 15:16:57 +01:00
Jan Tattermusch 0c8c4c6dd5 update third_party/protobuf to v3.7.0 2019-03-12 05:09:46 -04:00
Jan Tattermusch dcb3b03971
Merge pull request #18070 from jtattermusch/aspnetcore_server
Add interop tests for grpc-dotnet repository
2019-03-12 10:05:03 +01:00
Lidi Zheng c9cfb2eaaf
Merge pull request #18306 from lidizheng/rf-2-strip
Roll forward "Strip Python wheel binary" again
2019-03-11 11:03:14 -07:00
Jan Tattermusch c586eea27e adjust run_*tests.py 2019-03-11 07:59:33 -04:00
Yang Gao c5311260fd
Merge pull request #18284 from yang-g/fuzzer
Fix fuzzer test
2019-03-08 20:19:34 -08:00
Lidi Zheng cb9cc5592e Upgrade pip before using wheel 2019-03-08 10:29:29 -08:00
Lidi Zheng 127a6c1d9e Revert "Revert "Roll foward "Strip Python wheel binary"""
This reverts commit 98fc902200.
2019-03-08 10:29:00 -08:00
Jan Tattermusch 7f87087354
Merge pull request #18298 from yashykt/deletepollcv
Nuking the poll-cv polling engine
2019-03-08 07:08:23 +01:00
Yash Tibrewal 4f8891c3e5 Merge branch 'master' into deletepollcv 2019-03-07 17:57:14 -08:00
Lidi Zheng 98fc902200
Revert "Roll foward "Strip Python wheel binary"" 2019-03-07 17:34:45 -08:00
Lidi Zheng 69616b1a82
Merge pull request #18283 from lidizheng/fix-18282
Silent the check_on_pr failure
2019-03-07 15:07:46 -08:00
Yash Tibrewal 620d80d817 Remove poll-cv references from bazel and run_tests.py 2019-03-07 15:03:31 -08:00
Yash Tibrewal abcd5861eb Nuking the poll-cv polling engine 2019-03-07 14:49:24 -08:00
Lidi Zheng 4814972080 Install `wheel` right before use it 2019-03-06 16:29:49 -08:00
yang-g a6596b2fd5 Fix fuzzer test 2019-03-06 15:43:12 -08:00
Lidi Zheng 6b437ca80f Increase the retry interval 2019-03-06 15:30:33 -08:00
Lidi Zheng cf70b744f1 Silent the check_on_pr failure 2019-03-06 15:02:29 -08:00
Karthik Ravi Shankar 705cb09f1d Fix run_test and clang format errors
Make changes suggested by the script.
2019-03-06 10:24:38 -08:00
Karthik Ravi Shankar f7dd48b2b6 Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota
This change moves ResourceQuota class fron grpc namespace to grpc_impl
namespace.
2019-03-06 10:12:23 -08:00
Lidi Zheng 50a1ddab5c Revert "Revert "Strip Python wheel binary""
This reverts commit 04609b1ea5.
2019-03-06 07:57:21 -08:00
Jan Tattermusch 0feab2065e
Merge pull request #18273 from grpc/revert-18241-strip
Revert "Strip Python wheel binary"
2019-03-06 15:40:11 +01:00
Jan Tattermusch 4ee9d1eda4
Merge pull request #18247 from jtattermusch/pre_build_timeout_increase
run_tests.py: increase timeout for pre-build step (needed for cmake configuration on win2016)
2019-03-06 11:28:27 +01:00
Jan Tattermusch 04609b1ea5
Revert "Strip Python wheel binary" 2019-03-06 11:00:13 +01:00
Yang Gao d607a1e8a3
Merge pull request #18261 from yang-g/fuzzer
Unref raw slice as well when gzip fails
2019-03-05 22:12:12 -08:00
yang-g 94c38ee0a1 Add fuzzer test case 2019-03-05 14:34:24 -08:00
Juanli Shen e889fda482 Use real resolver in xds lb channel 2019-03-05 13:29:55 -08:00
Lidi Zheng 8b510d9f47
Merge pull request #18241 from lidizheng/strip
Strip Python wheel binary
2019-03-05 10:46:31 -08:00
Jan Tattermusch 921df1c923 run_tests.py: increase timeout for pre-build step 2019-03-05 11:08:57 +01:00
Mark D. Roth a04b0646de Don't use a separate call context for subchannel calls. 2019-03-04 14:38:02 -08:00
Lidi Zheng bc81010f10 Strip Python wheel binary 2019-03-04 13:31:38 -08:00
Jan Tattermusch 7c71783879 grpc-dotnet now support unimplemented handlers 2019-03-01 09:30:18 +01:00
Nicolas Noble 91ad888497
Revert "Revert "Folding the Channel class into the grpc_impl namespace."" 2019-02-27 16:53:23 -08:00
Vijay Pai c924e0b63e
Merge pull request #18136 from vjpai/callback_test_interceptor
Increase test scenarios for client-side of callback API plus fix exposed bugs
2019-02-25 09:25:59 -08:00
Mark D. Roth 5f00cfd3bd
Merge pull request #18096 from markdroth/lb_policy_api
Second attempt: LB policy picker API
2019-02-22 10:10:43 -08:00
Vijay Pai 7eb08ad72e Add interceptors, secure credentials, and cancellation to client callback test 2019-02-22 01:33:05 -08:00
Soheil Hassas Yeganeh 2bb92f6a98
Merge pull request #18059 from soheilhy/worktree-cpp-atomic
Introduce more helper methods in gprpp/atomic.h
2019-02-20 22:28:17 -05:00
Mark D. Roth aa149fedbb Revert "Merge pull request #18093 from grpc/revert-17770-lb_policy_picker_api"
This reverts commit f327b83706, reversing
changes made to b3b5d63423.
2019-02-19 13:19:24 -08:00
hcaseyal 275296c594
Revert "LB policy picker API" 2019-02-19 11:05:52 -08:00
Jan Tattermusch 2fd2ee2289 test C# on .NET core by default too 2019-02-18 14:54:18 +01:00
Jan Tattermusch 96f4454ce7 update run_interop_tests.py script 2019-02-16 17:46:52 +01:00
Nicolas Noble 2ad245cb0c
Revert "Folding the Channel class into the grpc_impl namespace." 2019-02-15 09:52:15 -08:00
Soheil Hassas Yeganeh 508c8d805a Introduce more helper methods in gprpp/atomic.h
Retire the old atomic_with_atm.h and atomic_with_std.h as they are not
needed anymore.

Introduce helper methods which call GPR_ATM_INC_ADD_THEN and
GPR_ATM_INC_CAS_THEN, and use them everywhere.

Also introduce AtomicIncrementIfNonzero, originally authored by
vjpai@. This is going to be used for completion queues.
2019-02-15 10:31:12 -05:00
Bill Feng 987ac52ee2 formatting 2019-02-14 17:46:41 -08:00
Bill Feng 43277f83c8 filted out malformed resultstore data 2019-02-14 16:29:08 -08:00
Bill Feng 4564b78b27 more fields for filter 2019-02-14 15:29:19 -08:00
Bill Feng be55d61b64 more fields for filter 2019-02-14 15:07:04 -08:00
Nicolas "Pixel" Noble ad1a34f904 Adding new header to build files. 2019-02-14 21:55:20 +01:00
Bill Feng 5428bdeb83 more debug printouts 2019-02-14 11:09:55 -08:00
Bill Feng 1898e1be25 debug printouts 2019-02-14 10:39:47 -08:00
Jan Tattermusch cfc2156665 add AspNetCore interop server 2019-02-14 18:25:28 +01:00
Nicolas Noble c22b9620d3
Merge pull request #17797 from nicolasnoble/channel
Folding the Channel class into the grpc_impl namespace.
2019-02-13 16:48:19 -08:00
Bill Feng 95f3a99467
Merge pull request #18017 from billfeng327/hotfix/add-fieldmask-for-resultstore
added fieldmask to resultstore upload for RBE
2019-02-13 16:43:49 -08:00
Bill Feng 152626b13c removed debug printouts 2019-02-13 15:22:23 -08:00
Nicolas "Pixel" Noble de332cfcee Merge branch 'master' of https://github.com/grpc/grpc into channel 2019-02-13 22:11:47 +01:00
Bill Feng 1709313023 changed fields 2019-02-13 12:02:43 -08:00
Mark D. Roth bab8123763 LB policy picker API 2019-02-13 08:30:04 -08:00
Jan Tattermusch b28820ded6
Merge pull request #17926 from acozzette/bazel-skylib
Added bazel_skylib dependency in preparation for protobuf update
2019-02-13 13:28:38 +01:00
Jan Tattermusch bc19ba1668
Merge pull request #18037 from xichengliudui/fixtypos
Fix various typos in .cc and .md and .py files
2019-02-13 13:24:34 +01:00
Lidi Zheng 684690c2d7 Adopt reviewers' advice 2019-02-12 16:04:21 -08:00
Nicolas "Pixel" Noble 63db582516 Merge branch 'master' of https://github.com/grpc/grpc into channel 2019-02-13 00:19:23 +01:00
Lidi Zheng bf8bef9c78 Add retries for check_on_pr 2019-02-12 15:13:27 -08:00
Bill Feng ea3fd88eca debug printout for testing 2019-02-12 14:12:04 -08:00
Arjun Roy 406ac37fce
Merge pull request #17740 from arjunroy/handshaker_cpp
grpc_handshaker, grpc_handshaker_mgr C++ implementations
2019-02-12 10:25:28 -08:00
Bill Feng 8fd9b02bec added fieldmask to resultstore upload for RBE 2019-02-12 10:06:12 -08:00
xichengliudui d9b508c896 Fix various typos in .cc and .md and .py files 2019-02-12 11:11:43 -05:00
Arjun Roy 195a30bb8b Grpc: Change grpc_handshake and grpc_handshake_mgr to use CPP implementations.
grpc_handshake is renamed to GrpcHandshake, using C++ class definitions
instead of C-style vtable classes. Update callers to use new interfaces.
We use RefCountedPtr to simplify reference tracking.
2019-02-11 11:35:08 -08:00
Muxi Yan e11cce5aa6
Merge pull request #17948 from grpc/pre-fetch-pod-master
Pre-fetch Cocoapods master repo
2019-02-11 09:34:56 -08:00
Muxi Yan 1124c4edd9 increase timeout of cfstream-tests 2019-02-10 11:22:30 -08:00
Adam Cozzette 7cd19f2af3 Updated check_bazel_workspace.py 2019-02-07 14:54:52 -08:00
Vijay Pai f919ace038 Add a microbenchmark for immediately-firing alarms 2019-02-07 08:38:26 -08:00
rmstar 0d9e6d1e36
Merge pull request #17842 from rmstar/timechange
Added test for wall clock time change on the client
2019-02-06 10:30:27 -08:00
ncteisen 440f734d59 Remove owners for tools/run_tests/performance 2019-02-06 07:39:22 -08:00
Prashant Jaikumar bca92b2b7e Added test for wall-clock time change on the client 2019-02-05 13:40:22 -08:00
apolcyn 7e57732a1f
Merge pull request #17912 from apolcyn/java_and_go
Unskip google default creds for Go and Java in cloud to prod tests
2019-02-04 20:29:38 -08:00
Alexander Polcyn c0125a7cd4 Unskip google default creds for Go and Java in cloud to prod tests 2019-02-01 16:58:21 -08:00
Prashant Jaikumar 6b19927bc4 Bad connection test 2019-02-01 16:21:53 -08:00
apolcyn ab18421ba2
Merge pull request #17860 from apolcyn/fix_interop
Fix broken mac to prod interop
2019-01-29 17:27:56 -08:00
Alexander Polcyn 1d8f7647b0 Fix broken mac to prod interop 2019-01-29 10:45:03 -08:00
Yihua Zhang a3d997cbdc Add a TLS credential surface API (experimental) 2019-01-29 10:04:28 -08:00
apolcyn ec10359c7b
Merge pull request #17213 from apolcyn/add_cloud_to_prod_gcd_tests
Add an interop test specific to GoogleDefaultCreds
2019-01-27 23:47:59 -08:00
Nicolas "Pixel" Noble b0e6cc9b5f Forgot to declare the header. 2019-01-23 22:23:49 +01:00
Yash Tibrewal ca90fd501d
Merge pull request #17757 from yashykt/optstats
Collect OPT_STATS along with tx timestamps
2019-01-21 19:22:08 -08:00
Yash Tibrewal 9df6023dca Move Optional to gprpp, and reviewer comments 2019-01-18 14:48:12 -08:00
Jan Tattermusch d67009124f commenting on PRs is no longer used 2019-01-18 09:41:15 +01:00
Mark D. Roth 10fa278660
Merge pull request #17577 from markdroth/lb_trailing_metadata
Allow LB policies to intercept recv_trailing_metadata
2019-01-17 13:26:29 -08:00
Juanli Shen bbe2587c39 Enable per-channel subchannel pool 2019-01-15 14:15:18 -08:00
Yang Gao 75b8b1e2c6
Merge pull request #17697 from rmstar/remote_network_status_test
Remove network_status_tracker
2019-01-14 10:20:16 -08:00
Prashant Jaikumar 95965f71d3 Remove network_status_tracker
Remove network_status_tracker and its unit test as it does nothing. We
can add tests for network status change in another commit.
2019-01-11 12:15:37 -08:00
Mark D. Roth d6e2b33670 Move InterceptRecvTrailingMetadataLoadBalancingPolicy to a separate file.
This fixes a link error when building with make.
2019-01-10 10:31:16 -08:00
Jan Tattermusch b4818682be fix #17625 2019-01-09 19:41:22 +01:00
apolcyn 26dddbb10d
Merge pull request #16187 from apolcyn/ipv6_resolver_scope_ids
Support named scope id's in grpc_parse_ipv6 on posix platforms
2019-01-08 14:36:20 -08:00
Mark D. Roth 21446eb35a Fix build.yaml. 2019-01-08 14:19:43 -08:00
Mark D. Roth 925323c41e Merge remote-tracking branch 'upstream/master' into lb_trailing_metadata 2019-01-08 11:15:19 -08:00
Alex Polcyn e894d78c35 Fix artifact dockerfiles rvm installation; keep bundler pinned 2019-01-03 21:04:30 +00:00
Alexander Polcyn 67f523ce13 Add support for ruby 2.6.0 binary package builds, drop 2.1 and 2.0
binary package builds; pin bundler to 1.17.3 where necessary
2019-01-03 18:08:05 +00:00
apolcyn fc7d0911a3
Merge pull request #17348 from toc007/ruby-sigint
server graceful shutdown for pull request
2018-12-26 13:23:29 -08:00
Tommy Chen 39ac83a49e ruby-sigint ready to be merged! 2018-12-26 11:17:48 -08:00
Alexander Polcyn 00763bc3ea Support named scope id's with ipv6 resolver on posix 2018-12-26 11:03:43 -08:00
Soheil Hassas Yeganeh 2e017da58a Add microbenchmarks for grpc_timer
This helps assessing upcoming changes.
2018-12-21 18:56:09 -05:00
Mark D. Roth 40f22bfc94 move ForwardingLoadBalancingPolicy to its own library 2018-12-21 15:09:17 -08:00
Jan Tattermusch 95511c0cfd
Merge pull request #17407 from jtattermusch/interop_csharp_sni_fix
better testing of SNI for C-based languages
2018-12-21 11:12:46 +01:00
Mark D. Roth db9be19f5d
Merge pull request #16008 from markdroth/client_channel_refactor
Refactor request routing code out of client_channel
2018-12-20 13:42:51 -08:00
Lidi Zheng 97453a3d81
Merge pull request #17303 from lidizheng/sanity-python-3
Run pylint test in Python 3
2018-12-20 11:22:37 -08:00
Mark D. Roth 09f57c17ee Refactor request routing code out of client_channel. 2018-12-20 10:10:19 -08:00
Jan Tattermusch f9e1cde01c yapf run_interop_tests.py 2018-12-20 14:49:54 +01:00
Jan Tattermusch 3458ede262 dont set server_override for cloud_to_prod tests 2018-12-20 14:49:53 +01:00
Lidi Zheng 916aeffa66
Merge pull request #17505 from lidizheng/check-on-pr
Utilize the GitHub Check Feature
2018-12-18 19:48:34 -08:00
Yang Gao 998f41a593
Merge pull request #17441 from yang-g/gpr_test_util_to_grpc_test_util
Fold gpr_test_util to grpc_test_util
2018-12-18 15:27:20 -08:00
Lidi Zheng 886a932a1a Use KOKORO_GITHUB_PULL_REQUEST_NUMBER instead of ghprbPullId 2018-12-18 14:24:58 -08:00
Lidi Zheng eafb1d527d Reorgnize dependencies and variables 2018-12-17 18:14:58 -08:00
Lidi Zheng 6692429f31 Download private key from KeyStore 2018-12-17 16:25:25 -08:00
Vijay Pai c52ae0d000 Give the interceptors header files in include/grpcpp/support 2018-12-17 15:17:01 -08:00
yang-g a303a28895 Merge with head and resolve conflict. 2018-12-17 11:54:10 -08:00
yang-g aa2e731508 Fix new target 2018-12-17 08:54:32 -08:00
yang-g 038a71d826 Merge remote-tracking branch 'upstream/master' into gpr_test_util_to_grpc_test_util 2018-12-17 08:52:20 -08:00
Yihua Zhang 0531d3d3ad extend local credentials to support tcp loopback 2018-12-16 14:50:26 -08:00
Vijay Pai c665fcfd3f
Merge pull request #17508 from vjpai/bb_perf
Benchmark to show that byte buffer copy is size-independent
2018-12-14 14:39:20 -08:00
Nicolas Noble a744221a2c
Editing appid and installation id
Created these from the grpc-bot account.
2018-12-14 14:14:46 -08:00
Vijay Pai ca4e55e6ca Benchmark to show that byte buffer copy is size-independent 2018-12-14 13:23:34 -08:00
Lidi Zheng d64fd75dd8
Merge pull request #17490 from lidizheng/py-status-3
Add grpcio-status extension package
2018-12-14 13:03:31 -08:00
Lidi Zheng 5a38d1956f Make yapf happy 2018-12-14 10:08:22 -08:00
Lidi Zheng b9cb2459ea Include LICENSE in artifact 2018-12-13 18:07:52 -08:00
Lidi Zheng 0f0822d53f WIP: Utilize the GitHub Check Feature 2018-12-13 16:40:47 -08:00
Nicolas Noble 5748af6e18
Merge pull request #17468 from nicolasnoble/grpc_namespace
Moving ::grpc::Alarm to ::grpc_impl::Alarm.
2018-12-13 15:22:05 -08:00
Lidi Zheng 45b3230ef2 Add grpcio-status extension package
* The new package has 2 API `from_call` and `to_status`
* Utilize the experimental API `abort_with_status`
* Add 5 unit test cases
2018-12-13 10:18:44 -08:00
Alexander Polcyn ac6795a57e Revert "Changes add a script for generating C code and build rule for protobuf"
This reverts commit 62027b7e14.
2018-12-12 11:40:25 -08:00
Lidi Zheng dbbb382158 Set CONFIG default value 'opt' 2018-12-12 10:24:47 -08:00
Lidi Zheng ca728e2269 Revert "Strict check for $config && Enable SC2154"
This reverts commit bdfb5691ad.
2018-12-12 10:11:43 -08:00
Nicolas "Pixel" Noble d550af373c Moving ::grpc::Alarm to ::grpc_impl::Alarm. 2018-12-12 16:48:32 +01:00
vishalpowar 311ee1eda1
Merge pull request #17364 from vishalpowar/generate_build
Changes add a script for generating C code and build rule for protobuf
2018-12-11 16:43:08 -08:00
Lidi Zheng bdfb5691ad Strict check for $config && Enable SC2154 2018-12-11 16:30:07 -08:00
Vishal Powar 62027b7e14 Changes add a script for generating C code and build rule for protobuf
protos

All these changes need to go together to make sense
  - changes to use new version of upb in bazel
  - allowing includes in build target option
  - script for generating c code for protos
  - generated code for example build
  - adding changes for non-bazel builds
  - change sanity tests to ignore the generated files.
2018-12-11 14:59:02 -08:00
Mark D. Roth c5f344deaf
Revert "Revert "Allow encoding arbitrary channel args on a per-address basis."" 2018-12-11 07:48:14 -08:00
Lidi Zheng 8cb2d0546d Upgrade sanity Docker image to debian:stretch
* Use latest pylint in Python 3.7 (they dropped support for PY2)
* Make latest pylint happy
* Forced to upgrade to shellcheck 0.4.4
* Make shellcheck 0.4.4 happy
* Adopt reviewers' advice to reduce global disabled rules
2018-12-10 16:21:49 -08:00
hcaseyal 936512fe02
Merge pull request #17450 from grpc/revert-17343-server_address_list
Revert "Allow encoding arbitrary channel args on a per-address basis."
2018-12-07 17:31:18 -08:00
Alexander Polcyn a4e9f33b85 Add interop cloud to prod test for GoogleDefaultCredentials 2018-12-07 17:19:17 -08:00
Lidi Zheng 64fc25f38c
Merge pull request #17411 from lidizheng/add-license
Add License to Python tarball
2018-12-07 16:49:52 -08:00
hcaseyal 27e2ba31bf
Revert "Allow encoding arbitrary channel args on a per-address basis." 2018-12-07 16:13:37 -08:00
Mark D. Roth bc91ebf74c
Merge pull request #17343 from markdroth/server_address_list
Allow encoding arbitrary channel args on a per-address basis.
2018-12-07 14:26:09 -08:00
Mark D. Roth dedff37b4f Allow encoding arbitrary channel args on a per-address basis. 2018-12-07 12:41:51 -08:00
yang-g 47233225ca Split out the test service to separate library so that it can be reused 2018-12-06 17:12:43 -08:00
yang-g e00ca0371a Promote gpr_test_util to part of grpc_test_util, add a sample to show it works, build.yaml change first 2018-12-06 13:40:12 -08:00
Soheil Hassas Yeganeh d7ce25302a
Merge pull request #17368 from soheilhy/worktree-tsan-auto-annot
TSAN annotations for grpc_call_combiner
2018-12-05 19:06:20 -05:00
Lidi Zheng 5584d58e6c Add LICENSE to grpcio-* packages
* Using the proprocess command to copy the LICENSE
2018-12-05 15:25:48 -08:00
Eric Gribkoff 4590fc5b7c Revert "Strip manylinux1 binary wheels"
This reverts commit be4b2db4ad.

Appears to leave the incorrect hash in the wheel RECORD file, as in
https://github.com/grpc/grpc/issues/17409
2018-12-05 13:51:46 -08: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
Soheil Hassas Yeganeh 2f55f4f85a Add TSAN annotations to gRPC. 2018-12-04 15:34:30 -05:00
Jan Tattermusch b30218b6e0 C#: use netcoreapp1.1 qps worker 2018-12-04 11:34:15 +01: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
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
Nicolas "Pixel" Noble 237cc52ffd Fix sanity checker. 2018-12-01 00:42:34 +01:00
Jan Tattermusch f596b95710 cleanup references to removed multilang docker image 2018-11-30 13:20:21 +01:00
Jan Tattermusch 7b9e0db9be update test exec scripts 2018-11-30 13:04:33 +01:00
Jan Tattermusch 19bc2c2937 switch C# docker images to debian stretch 2018-11-30 13:04:33 +01:00
Lidi Zheng 7ef8fc826c
Merge pull request #17266 from lidizheng/python-channelz
Channelz Python wrapper implementation
2018-11-29 16:10:32 -08:00
Hope Casey-Allen 470ea17843 Debugging unimplemented error in CheckClientInitialMetadata 2018-11-29 15:57:53 -08:00
Lidi Zheng 53476eced4 Adopt reviewer's suggestions
* Correct the StatusCode
* Format code
* Use @staticmethod
* Fix typo
2018-11-28 10:30:39 -08:00
Vishal Powar f614fa5947 Adding upb as submodule
upb will be used for codegen of xDS protos.
2018-11-28 10:09:03 -08:00
Lidi Zheng 43599facf4 Channelz Python wrapper implementation
* Expose the C-Core API in Cython layer
* Handle the object translation
* Create a separate package for Channelz specifically
* Handle nullptr and raise exception if seen one
* Translate C++ Channelz unit tests
* Adding 5 more invalid query unit tests

Adding peripheral utility for grpcio-channelz package
* Add to `pylint_code.sh`
* Add to Python build script
* Add to artifact build script
* Add to Bazel
* Add to Sphinx module list
2018-11-27 17:27:39 -08:00
Jan Tattermusch 422fdbfd6c run python interop tests with python3.7 2018-11-26 09:47:20 +01:00
Jan Tattermusch 346d745c6e
Merge pull request #15640 from jtattermusch/slow_python_interop_build
Run interop tests using python3.4 (and build interop with 3.4 only)
2018-11-26 09:38:05 +01:00
Yash Tibrewal 248e304671 Merge branch 'master' into httpplumbing 2018-11-21 11:48:41 -08:00
Jan Tattermusch 5a0f722590 run interop tests using python3.4 2018-11-21 13:08:30 +01:00
Yash Tibrewal c7e92f26eb Reviewer comments 2018-11-20 15:03:12 -08:00
Jan Tattermusch edea79c014
Merge pull request #17245 from jtattermusch/coverage_split_up
Split up test coverage runs by language
2018-11-20 17:34:58 +01:00
Jan Tattermusch a0912d5f1b
Merge pull request #17254 from jtattermusch/runtests_python_nits
run_tests.py cleanup: nits in PythonLanguage
2018-11-20 17:13:43 +01:00
Jan Tattermusch 3ce9b4fc43 remove remnants of ccache with --use_docker
using ccache when building under a docker image isn't useful when
building on kokoro as each build runs on a fresh VM.
Originally ccache builds were used to speed up jenkins builds,
now removing to guarantee build isolation and simplify stuff.
2018-11-20 13:41:39 +01:00
Jan Tattermusch 51e238c2ed run_tests.py cleanup: nits in PythonLanguage 2018-11-20 12:05:20 +01:00
Jan Tattermusch 3543b1b151 remove broken toplevel index.html file 2018-11-20 09:49:41 +01:00
Jan Tattermusch 3a0c72ff6b remove an unneeded shell script 2018-11-20 09:43:50 +01:00
Jan Tattermusch 667a17c1f3 split up coverage runs by language 2018-11-19 22:15:34 +01:00
Yash Tibrewal bab043e865 Cleanup 2018-11-16 18:11:42 -08:00
Yash Tibrewal fc332d2c92 Merge master 2018-11-16 11:11:04 -08:00
Juanli Shen d8a7af85d7
Merge pull request #17063 from AspirinSJL/lb_config
Add support for LB config in service config
2018-11-15 15:13:29 -08:00
Juanli Shen 8a880801ae Add support for LB config in service config 2018-11-15 13:31:27 -08:00
Vishal Powar 862bba6fb4 Updating sanity check for submodules 2018-11-14 11:09:55 -08:00
Yihua Zhang 3fefdde3cc remove ALTS shared resources 2018-11-13 09:44:28 -08:00
Yihua Zhang 99d8216d06 create internal version of grpc_call_cancel. 2018-11-12 20:00:37 -08:00
Jan Tattermusch 3889eb57b9
Merge pull request #17184 from jtattermusch/fix_python_linux_extra
Fix linux_extra python artifacts
2018-11-12 23:14:37 +01:00
Jan Tattermusch 15451b5951 fix linux_extra python artifacts 2018-11-12 15:23:37 +01:00
Jan Tattermusch 14d0dff09f make client_channel_stress_test run exclusively 2018-11-12 14:47:29 +01:00
Lidi Zheng 6a368df7ab
Merge pull request #17150 from lidizheng/enable-virtualenv-tests
Fix gRPC python tests failing under `virtualenv`
2018-11-09 15:30:24 -08:00
Lidi Zheng c6471a7f85 Only install virtualenv if not inside of virtualenv already 2018-11-09 13:48:49 -08:00
Jan Tattermusch 9662dc9444
Merge pull request #17134 from jtattermusch/run_tests_matrix_improvements
run_tests_matrix.py should log run_tests commands
2018-11-08 07:58:20 +01:00
Moiz Haidry 729a0a9e5b
Merge pull request #17111 from mhaidrygoog/server_unary_callback_benchmark
Added benchmarks for Callback based Unary server
2018-11-07 12:02:22 -08:00
Lidi Zheng 01c6565fb5
Merge pull request #16995 from lidizheng/from-3.4-to-3.7
Migrate tests from Python 3.4 to Python 3.7
2018-11-07 11:11:02 -08:00
Moiz Haidry 1303ec7b53 Added benchmarks for Callback based Unary server 2018-11-07 10:08:51 -08:00
Jan Tattermusch 2b87b4ff07 run_tests_matrix.py should log run_tests commands 2018-11-07 11:33:11 +01:00
Lidi Zheng 8a0b08b574 Migrate tests from Python 3.4 to Python 3.7 2018-11-06 15:37:51 -08:00
Yash Tibrewal 193b4b57ec
Merge pull request #17072 from yashykt/interceptor_cancellation
Interceptors should see a Cancellation notification
2018-11-06 14:56:24 -08:00
Jan Tattermusch 6645845658 run_interop_tests.py cleanup 2018-11-06 17:48:43 +01:00
Jan Tattermusch 7517b839ac
Merge pull request #17057 from jtattermusch/faster_python_build
Add python monkey-patch for parallel build_ext compilation
2018-11-06 12:13:18 +01:00
Yash Tibrewal c9b65f2bde
Merge pull request #17107 from yashykt/buildissue
move client_interceptor.cc from src/cpp/codegen to src/cpp/client
2018-11-05 18:34:23 -08:00
Richard Belleville 6b934a8361
Merge pull request #17088 from grpc/tools_py3_2
Make run_tests.py python-version agnostic
2018-11-05 16:54:05 -08:00
Richard Belleville 762b269525 Retain compatiblity with python2 2018-11-05 15:15:36 -08:00
Yash Tibrewal 4cc3717e15 move client_interceptor.cc from src/cpp/codegen to src/cpp/client 2018-11-05 15:03:57 -08:00
Lidi Zheng b8a9989005 Add support for utf-8 error messages
* Both server and client should be fine with utf-8 error messages now
* Adding an interop test: special status message
2018-11-05 13:31:02 -08:00
Richard Belleville 96b9538e4e Yapf all the things 2018-11-05 11:25:47 -08:00
Richard Belleville 35c6e5541b Restore unnecessary 2to3 change 2018-11-05 09:40:59 -08:00
Richard Belleville ac0904b569 Remove unnecessary list conversion 2018-11-02 14:25:43 -07:00
Richard Belleville 666fb1c5ee Make run_tests.py python-version agnostic 2018-11-02 14:18:58 -07:00
yihuaz 5e9c9792b5
Merge pull request #16773 from yihuazhang/alts_tsi_handshaker_use_pollset_set
Use gRPC thread model (i.e., pollset_set) in ALTS TSI implementation
2018-11-02 11:05:54 -07:00
Yash Tibrewal 3ac7f2d24c
Merge pull request #17053 from yashykt/global_interceptor
Add global client interceptor factory
2018-11-02 08:56:16 -07:00
Noah Eisen 53657b5de3
Merge pull request #17050 from ncteisen/channelz-sockets
Channelz: Socket Tracks Addresses
2018-11-01 23:39:51 -04:00
Yihua Zhang cd768ec12a use gRPC thread model 2018-11-01 16:26:46 -07:00
Yash Tibrewal b732e9c403 Make client interceptors see notification even if Cancel was done before the RPC was issued. Also add tests 2018-11-01 16:14:40 -07:00
Yash Tibrewal e2361a4751 Add server interceptors in end2end_test 2018-11-01 14:06:43 -07:00
Yash Tibrewal d736b1d309 Refactor tests slightly 2018-11-01 12:30:40 -07:00
ncteisen 44b262c361 fix build and sanity 2018-10-31 21:11:28 -07:00
ncteisen 1a3c2d3e3a Move uri_parser to lib 2018-10-31 14:14:09 -07:00
Jan Tattermusch 185a0a7028 add python monkey-patch for parallel build_ext compilation 2018-10-31 09:01:01 +01:00
Jan Tattermusch e573316ec3 TODO about removing realpath dependency 2018-10-31 09:01:01 +01:00
ncteisen 3cb8b0b8cb Move uri_parser to common spot 2018-10-30 11:39:26 -07:00
Yash Tibrewal 0390b29e15 Register global interceptors functionality 2018-10-30 02:43:01 -07:00
Vijay Pai 84e763f10a Experimental C++ server callback unary API 2018-10-29 13:41:25 -07:00
Vijay Pai ac10426163 Add server_interceptors_end2end_test to build.yaml 2018-10-29 02:10:27 -07:00
Yash Tibrewal 01313976e1
Merge pull request #16842 from yashykt/interceptors
Experimental API for Client and Server Interception
2018-10-28 23:36:59 -07:00
Jan Tattermusch 0685b80683 upgrade third_party/boringssl-with-bazel to latest chromium-stable-with-bazel 2018-10-27 07:38:39 +02:00
Yash Tibrewal 6a5f39db3c Separate out interceptorbatchmethodimpl to a different file 2018-10-26 15:47:16 -07:00
Yash Tibrewal c2e3fde9b5 Rename call.h to call_op_set.h and call_wrapper.h to call.h 2018-10-26 15:15:48 -07:00
Jan Tattermusch ef053d87ce
Merge pull request #17009 from jtattermusch/eradicate_bazel_wrapper
Stop using deprecated bazel_wrapper.py
2018-10-26 10:46:18 +02:00
Jan Tattermusch ec36ca0df6 do not mention bazel_wrapper.py 2018-10-26 08:55:47 +02:00
Yash Tibrewal 3896dabb85 Merge branch 'master' into interceptors 2018-10-25 19:50:10 -07:00
Juanli Shen 2976ef129c Fix OOM by expanding resource quota coverage 2018-10-25 14:33:19 -07:00
Lidi Zheng cd0c58d674
Merge pull request #16945 from lidizheng/update-python-3.7-dockerfile
Update Python 2.7/3.5/3.6/3.7 testing Dockerfile
2018-10-24 16:08:14 -07:00
Mark D. Roth 496d0676c8
Merge pull request #16507 from markdroth/health_checking_client
Health checking client
2018-10-24 13:17:01 -07:00
yihuaz e976f69972
Merge pull request #16963 from yihuazhang/security_connector_refactor_new
security connector refactor
2018-10-24 13:14:28 -07:00
Mark D. Roth f85fd026e3 Client-side health checking support. 2018-10-24 12:29:04 -07:00
Vijay Pai f87eb7d6ed
Merge pull request #16980 from vjpai/no_inproc_nosec
Remove inproc_nosec_test since inproc is inherently secure
2018-10-24 10:24:19 -07:00
Jan Tattermusch 17f100063b
Merge pull request #16911 from ejona86/warn-about-generated
run_interop_tests: Use "GENERATED" comment in generated scripts
2018-10-24 10:51:48 +02:00
Yash Tibrewal 62280b42c7 Add client streaming, server streaming and bidi streaming tests 2018-10-23 21:08:39 -07:00
Lidi Zheng a62344e56a Rename the Dockerfiles 2018-10-23 20:01:17 -07:00
Vijay Pai 25f4346ac1 Remove inproc_nosec_test since inproc is inherently secure 2018-10-23 19:26:58 -07:00
Lidi Zheng a8658d9192 Put `jessie` back for Python3.4
* According to `https://packages.debian.org/jessie/python/python3.4` the Python3.4 has security issues.
* Debian `stretch` doesn't include Python3.4 packages in their repo
2018-10-23 13:29:24 -07:00
apolcyn 2f92bdedad
Merge pull request #16727 from apolcyn/grpclb_interop_master
Add a grpclb-in-DNS interop test suite
2018-10-23 13:06:38 -07:00