Commit Graph

609 Commits

Author SHA1 Message Date
ncteisen 407183859d Merge branch 'master' of https://github.com/grpc/grpc into to-grpc-err-is-human 2017-02-23 12:32:37 -08:00
Craig Tiller 8a66165fe5 Merge pull request #9745 from ctiller/bm_error
Add a benchmark for various operations on grpc_error
2017-02-23 12:30:59 -08:00
ncteisen 3da3ce3c29 Add error test 2017-02-23 11:23:15 -08:00
Craig Tiller ef33c8752f Merge github.com:grpc/grpc into bm_meta 2017-02-23 10:12:44 -08:00
Craig Tiller b92d5a2f70 Merge branch 'bm_error' into bm_meta 2017-02-23 10:12:35 -08:00
David Garcia Quintas 7ff6cd2757 Merge branch 'master' of github.com:grpc/grpc into parse_address_clusterfuzz 2017-02-23 10:01:32 -08:00
Craig Tiller 1119a62bf5 Merge pull request #9650 from ctiller/call_mutex
Make batch allocation lock-free
2017-02-23 09:29:05 -08:00
Craig Tiller 523d54beeb Refine to just be a HPACK benchmark 2017-02-23 08:52:38 -08:00
Yuchen Zeng a9d8a157be Add parse_address_test 2017-02-22 16:27:28 -08:00
Craig Tiller 2f792d9d16 Initial http2 benchmarks 2017-02-22 16:26:33 -08:00
David Garcia Quintas bcd5f12e4b Fixed Heap-buffer-overflow in parse_unix via clusterfuzz 2017-02-22 14:34:13 -08:00
Craig Tiller 11468c0c2a Merge branch 'bm_call_create' into bm_error 2017-02-22 14:24:48 -08:00
Craig Tiller 122e4500d1 Exclude poll, poll-cv for bm_fullstack (its not interesting) 2017-02-22 10:22:32 -08:00
Craig Tiller be521dae2f Merge github.com:grpc/grpc into splitsies 2017-02-22 10:19:32 -08:00
Craig Tiller 21dd43a1cd Merge github.com:grpc/grpc into bm_call_create 2017-02-21 16:06:13 -08:00
Craig Tiller 8b01e8f5e6 Merge pull request #9708 from ctiller/bm_cq
Add microbenchmark of single-threaded CQ operations
2017-02-21 16:05:50 -08:00
David Garcia Quintas e854357117 Reintroduced golden_file_test 2017-02-21 10:44:02 -08:00
David G. Quintas 569834d3ad Merge pull request #9765 from dgquintas/disable_lb_policies_test
Temporarily disable lb policies test
2017-02-20 22:19:24 -08:00
David Garcia Quintas 1f980cf7bb Removed useless cpp/codegen/golden_file_test 2017-02-17 16:43:26 -08:00
murgatroid99 1191b7202d Improve Node and libuv testing and test coverage
Allow Node tests to run with or without UV, change default version to 7, add some portability tests. Also make some more core tests work with libuv
2017-02-17 12:10:26 -08:00
yang-g 55c6ebfd7a Merge branch 'master' into health 2017-02-17 09:55:03 -08:00
David Garcia Quintas 448191cb9a Temporarily disable lb policies test 2017-02-17 09:37:50 -08:00
Craig Tiller b8e2bca4eb Add a benchmark for metadata primitives 2017-02-16 16:26:51 -08:00
Craig Tiller 3f06e3f8a6 Increase timeout for bm_fullstack 2017-02-16 11:16:03 -08:00
Craig Tiller 264307fa3d Add benchmarks for grpc_error 2017-02-16 09:07:45 -08:00
Craig Tiller fd044b8b22 Call creation benchmark 2017-02-15 16:15:48 -08:00
Craig Tiller 1f8c55835d Merge branch 'bm_closure' into bm_cq 2017-02-15 08:34:49 -08:00
Craig Tiller dc6ac1a55f Add failing test 2017-02-14 15:17:54 -08:00
Craig Tiller 14ae5381af Add microbenchmark of single-threaded CQ operations 2017-02-14 12:43:50 -08:00
Craig Tiller b3f34b6c2b Add benchmarks of closures, combiners, exec_ctx primitives 2017-02-13 10:29:33 -08:00
Alexander Polcyn e0aed71d85 re-run generate projects 2017-02-09 11:22:49 -08:00
Mark D. Roth 1dcd922ce6 Remove initial_connect_string hack. 2017-02-09 09:40:07 -08:00
Craig Tiller c6556af5ec Merge pull request #9588 from ctiller/fuzzing-memory
Add examples from fuzzer server
2017-02-07 15:19:07 -08:00
Craig Tiller ea2c59420c Merge pull request #9619 from ctiller/bm_counters
Add counters for important metrics to bm_fullstack
2017-02-07 15:16:40 -08:00
Sree Kuchibhotla 04fb965e03 Merge pull request #9054 from sreecha/pollset_set_test
Tests for pollset_set.
2017-02-07 14:17:21 -08:00
yang-g 13a537bcae merge with head 2017-02-07 13:13:20 -08:00
Harvey Tuch 5f3cfe960f Fix read from uninitialized memory bug in GrpcBufferWriter.
This commit fixes an issue in which the following sequence of operations
leads to use of uninitialized memory:

1. Caller invokes GrpcBufferWriter::Next(), and then makes use of 8191
   bytes in the returned buffer (which is 8192 bytes in size).

2. Caller then returns the unused single byte via
   GrpcBufferWriter::BackUp(). This method invokes
   g_core_codegen_interface->grpc_slice_split_tail(), which causes
   backup_slice_ to be a grpc_slice with one byte.

3. At the next invocation of GrpcBufferWriter::Next(), a reference to
   the single byte grpc_slice is returned to the caller.

The problem here is that the returned reference is to the inlined buffer
in the grpc_slice, which is resident in slice_, not the location of the
buffer inside slice_buffer_ after
g_core_codegen_interface->grpc_slice_buffer_add() in
GrpcBufferWriter::Next(). As a result, any data the caller writes to the
returned void* data is lost.

The solution is to avoid inlined backup slices.
2017-02-07 15:45:44 -05:00
Craig Tiller b038beb724 Add counters for mutex acquisitions, expose in bm_fullstack 2017-02-07 08:28:51 -08:00
Craig Tiller c4dacabb65 Merge github.com:grpc/grpc into fuzzing-memory 2017-02-06 12:46:59 -08:00
Craig Tiller 7ed3c932c9 Merge pull request #9511 from ctiller/assert_writes
Add a test verifying number of writes per RPC is reasonable
2017-02-04 19:46:06 -08:00
Craig Tiller 1bb53718bf Disable writes_per_rpc on Windows 2017-02-04 15:39:27 -08:00
Craig Tiller b0fd02ed06 Add examples from fuzzer server 2017-02-03 15:58:24 -08:00
Craig Tiller c80683d66f Merge branch 'bwest' into assert_writes 2017-02-03 14:35:35 -08:00
Craig Tiller a4354b0185 Speed up bm_fullstack test 2017-02-03 14:27:17 -08:00
Alexander Polcyn 2deed05365 re-run generate projects to fix sanity 2017-02-03 12:01:36 -08:00
Craig Tiller c40b34745a Merge branch 'bwest' into assert_writes 2017-02-03 11:54:26 -08:00
Craig Tiller 5395aba78b Merge github.com:grpc/grpc into bwest 2017-02-02 10:29:04 -08:00
Sree Kuchibhotla 6613168ad6 Merge branch 'master' into pollset_set_test 2017-02-02 09:39:07 -08:00
Craig Tiller 3a63d4c005 Merge github.com:grpc/grpc into bwest 2017-02-01 15:27:24 -08:00
Jan Tattermusch bd0b0546a6 windows compilation fixes 2017-02-02 00:01:09 +01:00
Sree Kuchibhotla 70659377e5 Merge branch 'master' into pollset_set_test 2017-02-01 14:49:54 -08:00
David G. Quintas d5a5bec603 Merge pull request #9485 from sreecha/poll-cv-disable
Exclude async_client_sync_server_* tests for poll-cv engine
2017-02-01 14:31:15 -08:00
Sree Kuchibhotla eeaeca8fae Merge branch 'master' into pollset_set_test 2017-02-01 10:21:58 -08:00
Craig Tiller 239af8b9fc Fix fuzzing detected crash 2017-02-01 10:21:42 -08:00
Craig Tiller 27ffc9b551 Merge github.com:grpc/grpc into bwest 2017-02-01 09:29:56 -08:00
Craig Tiller 44f8af59a0 Merge github.com:grpc/grpc into call_create 2017-02-01 09:21:13 -08:00
Craig Tiller abae25b5a2 Merge pull request #9540 from ctiller/fuzzing-apiness
Fix bug in api_fuzzer
2017-02-01 09:20:03 -08:00
Craig Tiller e55fcc7f06 Merge pull request #9530 from ctiller/hybrid
Mark hybrid tests as flaky
2017-02-01 09:19:09 -08:00
Craig Tiller f4484cdbab Dont crash on API errors 2017-02-01 08:28:40 -08:00
Craig Tiller ed277efbf7 Fix bug in api_fuzzer
If the slices to unref array was expanded after returning a pointer to a
slice, that pointer becomes invalidated. Instead, allocate and store
pointers to slices in that array to keep stability.
2017-02-01 08:13:28 -08:00
Craig Tiller a5b1a89779 Merge github.com:grpc/grpc into bwest 2017-01-31 15:56:57 -08:00
Sree Kuchibhotla 4c2a9a2b69 Merge branch 'master' into pollset_set_test 2017-01-31 15:52:05 -08:00
Craig Tiller b23f4b7db9 Mark hybrid tests as flaky 2017-01-31 15:50:45 -08:00
Sree Kuchibhotla 6687cb8297 Merge branch 'master' into poll-cv-disable 2017-01-31 15:50:05 -08:00
Craig Tiller 9a3997c853 Add a test verifying number of writes per RPC is reasonable
Mostly this is code copied from bm_fullstack and rephrased as a test.
I'm resisting the urge to unify it however, as I expect this code will evolve differently over time.
2017-01-30 13:22:33 -08:00
Craig Tiller 811122b7ac Merge branch 'bm_stream' into assert_writes 2017-01-30 12:47:44 -08:00
Craig Tiller e4fae823cd Merge pull request #9503 from ctiller/fuzzing-api
Fix bugs in api_fuzzer
2017-01-30 10:45:13 -08:00
Sree Kuchibhotla d7f01c42a1 Merge branch 'master' into pollset_set_test 2017-01-30 10:12:51 -08:00
yang-g edcde054c6 Merge remote-tracking branch 'upstream/master' into health 2017-01-30 09:58:46 -08:00
Craig Tiller df4d27574e Merge github.com:grpc/grpc into bwest 2017-01-30 09:38:06 -08:00
Sree Kuchibhotla 6b446b601e Merge branch 'master' into poll-cv-disable 2017-01-30 09:17:12 -08:00
Craig Tiller 004a81936c Fix bugs in api_fuzzer 2017-01-30 08:32:31 -08:00
Craig Tiller fa6a71d6e5 Fix fuzzing detected failure
If both :authority and host appear in client initial headers, we either
leak (in opt builds) or crash (in dbg).
2017-01-30 08:17:38 -08:00
Craig Tiller 53ac415732 Merge pull request #8464 from y-zeng/str_length
Check the length of unix socket path name
2017-01-27 16:19:29 -08:00
Craig Tiller d9b2d94c68 Merge github.com:grpc/grpc into large_message_benchmarks 2017-01-27 16:07:01 -08:00
Sree Kuchibhotla cc2971b9f7 Merge branch 'master' into pollset_set_test 2017-01-27 14:31:30 -08:00
Craig Tiller 95ccbc2d6f Merge branch 'bm_countwrites' into bwest 2017-01-27 14:10:09 -08:00
Sree Kuchibhotla 70d9ca402a Excluded async_client_sync_server_* tests for poll-cv engine since it
sometimes get stuck (or extremely slow).

(https://github.com/grpc/grpc/issues/8545) created to debug poll-cv
issues with async_client_sync_server perf tests
2017-01-27 10:54:05 -08:00
yang-g 0ed9fd4fef update submodules 2017-01-26 15:33:39 -08:00
Craig Tiller 48af8b2721 Merge github.com:grpc/grpc into bwest 2017-01-26 13:58:52 -08:00
yang-g a7198021a6 merge with head 2017-01-26 13:23:52 -08:00
Sree Kuchibhotla 5781c639ca Merge branch 'master' into pollset_set_test 2017-01-23 13:03:16 -08:00
Craig Tiller 4c26fdfe10 Expand corpora 2017-01-21 15:07:26 -08:00
Craig Tiller 5e01e2ac97 Revert "Metadata handling rewrite" 2017-01-20 18:11:52 -08:00
Nicolas Noble 2e225c1d80 Merge pull request #9340 from stanley-cheung/update-boringssl
Update boringssl
2017-01-20 15:50:34 -08:00
Craig Tiller ff1f160a26 Merge github.com:grpc/grpc into bwest 2017-01-20 13:55:35 -08:00
Stanley Cheung b39942f06f Update boringssl to latest chromium-stable 2017-01-20 11:07:08 -08:00
Sree Kuchibhotla 1404d975ea Merge branch 'master' into pollset_set_test 2017-01-20 10:18:59 -08:00
Craig Tiller f593d88c78 Merge github.com:grpc/grpc into metadata_filter 2017-01-18 15:45:43 -08:00
Craig Tiller 412fa2a0b7 Support setting request, response size 2017-01-18 15:21:54 -08:00
Yuchen Zeng e6f01f6b96 Add resolve_address_posix_test 2017-01-18 10:50:00 -08:00
apolcyn 44e907af0e Merge pull request #9322 from apolcyn/deprecate_benchmark_core_lists
Don't configure core lists in in benchmark driver
2017-01-17 17:30:41 -08:00
Craig Tiller a66243d38e Merge github.com:grpc/grpc into bwest 2017-01-17 12:23:05 -08:00
Craig Tiller 8024c46b6b Merge github.com:grpc/grpc into metadata_filter 2017-01-17 11:22:40 -08:00
Craig Tiller c2079f3764 Merge pull request #9252 from ctiller/write_buffering
Fix write buffering, add tests
2017-01-17 11:21:48 -08:00
Craig Tiller 1e2775861f Merge pull request #9351 from matt-kwong/corpus-fuzzer-api
Add api-fuzzer corpus
2017-01-17 09:39:13 -08:00
Craig Tiller aecd46eb3c Merge github.com:grpc/grpc into metadata_filter 2017-01-17 08:13:14 -08:00
Matt Kwong c1002c9f22 Add api-fuzzer corpus 2017-01-13 17:26:11 -08:00
Craig Tiller d425712427 Merge github.com:grpc/grpc into bwest 2017-01-13 09:33:57 -08:00
Yuxuan Li 6fb04d6924 memory usage profiling for client call, client channel, server creation, server call and server channel.
fix bug. server: snapshot pass by pointer
2017-01-13 13:35:55 +00:00
Craig Tiller 45d318351b Kill ESAN 2017-01-12 13:45:42 -08:00
Alexander Polcyn 6ff1ca4871 re-run generate project to build qps json driver 2017-01-11 14:25:55 -08:00
Sree Kuchibhotla 1599bf6ecb Merge branch 'master' into pollset_set_test 2017-01-09 15:03:47 -08:00
Craig Tiller d7ee291d5f Fix tests 2017-01-06 14:52:50 -08:00
Craig Tiller 2ef5a647bf Add a test of finishing buffering with EOS 2017-01-05 10:33:47 -08:00
Craig Tiller 4e6247a23c Fix sequential write buffering 2017-01-05 10:17:01 -08:00
Craig Tiller eb30c809cf Merge branch 'flow_control_v2' into bwest 2016-12-27 16:03:43 -08:00
yang-g ad32764219 sync test pass 2016-12-27 15:37:59 -08:00
Jan Tattermusch 5c79a3199c cleanup tools/run_tests directory 2016-12-22 10:47:52 +01:00