Gyu-Ho Lee
012143e703
functional-tester: set gRPC endpoint for stresser
2016-03-23 15:23:19 -07:00
Anthony Romano
bd832e5b0a
*: migrate Godeps to vendor/
2016-03-22 17:10:28 -07:00
Gyu-Ho Lee
bb9a7f5a7c
Godeps: semantic versioning cheggaaa/pb
...
Fix https://github.com/coreos/etcd/issues/4832 .
2016-03-21 22:06:16 -07:00
Xiang Li
d3809abe42
*: gRPC + HTTP on the same port
...
We use cmux to do this since we want to do http+https on the same
port in the near future too.
2016-03-21 14:29:25 -07:00
Anthony Romano
1383da1030
benchmark: STM benchmark
2016-03-20 12:21:29 -07:00
Gyu-Ho Lee
58792ca59b
bench/cmd: print csv-format timeseries
2016-03-16 11:06:36 -07:00
Gyu-Ho Lee
c9e4e2b6dc
benchmark: move sample flag to root command
...
Sample is configuration for reports. This should be
flag at top command.
2016-03-15 10:36:27 -07:00
Gyu-Ho Lee
5eefff12e1
benchmark: printSecondSample with time series
2016-03-15 08:35:03 -07:00
Gyu-Ho Lee
a932674a5b
benchmark: minor typos
2016-03-14 13:45:08 -07:00
Anthony Romano
78132c9b5b
clientv3: use tls.Config in clientv3.Config
...
Fixes #4648
2016-03-07 16:08:40 -08:00
Gyu-Ho Lee
b8912c9fb1
benchmark: change complete notifier first
...
Fix https://github.com/coreos/etcd/issues/4708 .
2016-03-07 14:54:11 -08:00
Gyu-Ho Lee
b3f0bcbeb4
functional-tester: less intensive stresser
2016-03-05 13:16:26 -08:00
Gyu-Ho Lee
b73c1223d8
Merge pull request #4638 from gyuho/compact
...
benchmark: add auto-compact flags
2016-03-04 10:15:02 -08:00
Gyu-Ho Lee
da0f77dc14
benchmark: measure Put with auto-compact
2016-03-04 09:34:24 -08:00
Gyu-Ho Lee
536b028831
benchmark: watch, key-space-size(max possible key)
...
By specifying 'key-space-size', we can test min/max-key-range
of keys to watch.
For https://github.com/coreos/etcd/issues/3863 .
2016-03-03 13:46:17 -08:00
Anthony Romano
4fb25d5f0e
Merge pull request #4613 from heyitsanthony/clientv3-composite
...
clientv3: compose API interfaces into client struct
2016-02-29 11:23:34 -08:00
Gyu-Ho Lee
64e276800f
benchmark: use endpoints for benchmark flag
2016-02-26 16:55:49 -08:00
Anthony Romano
298c1e2487
tools/benchmark: port to clientv3 API
2016-02-25 18:13:26 -08:00
Xiang Li
e316678a4d
tools/functional-tester: fix leaky issue by closing conn
2016-02-19 22:04:01 -08:00
Gyu-Ho Lee
8bcd823ed7
etcd-tester: continue for deadline exceeded
2016-02-19 13:48:58 -08:00
Gyu-Ho Lee
b2bad7bd79
etcd-agent: get base when renaming
...
Partially related to https://github.com/coreos/etcd/issues/4552 .
2016-02-18 09:03:34 -08:00
Gyu-Ho Lee
061e996998
functional-tester: remove log prefixes
...
capnslog already prefixes with its package name.
2016-02-17 19:01:16 -08:00
Gyu-Ho Lee
7aa62ec595
functional-tester: plog for milli-second timestamp
...
Standard log package by default only prints out the second-scale
so the 3rd party log feeder mixes the order of the events, which makes
the debugging hard. This replaces it with capnslog and make them consistent
with all other etcd log formats.
2016-02-17 18:39:05 -08:00
Gyu-Ho Lee
239a6d89c5
etcd-tester: 10-second timeout for stressers
...
For https://github.com/coreos/etcd/issues/4477 .
2016-02-17 15:44:05 -08:00
Gyu-Ho Lee
56e3ab0943
etcd-agent: tidy cleanup before SIGKILL
...
https://github.com/golang/go/blob/master/src/os/exec_posix.go#L18 shows that
cmd.Process.Kill calls syscall.SIGKILL to the command. But
http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_12_01.html explains
'If you send a SIGKILL to a process, you remove any chance for the process to
do a tidy cleanup and shutdown, which might have unfortunate consequences.'
This sends SIGTERM, SIGINT syscalls to the PID so that the process could
have more time to clean up the resources.
Related to https://github.com/coreos/etcd/issues/4517 .
2016-02-16 13:08:22 -08:00
Gyu-Ho Lee
20ac633059
Merge pull request #4516 from gyuho/path
...
etcd-agent: ignore error when no file to rename
2016-02-13 14:24:17 -08:00
Xiang Li
cff1208005
Merge pull request #4520 from xiang90/bench
...
tools/benchmark: support serializable range benchmark
2016-02-13 09:25:24 -08:00
Xiang Li
4d0a2b4215
Merge pull request #4462 from mitake/benchmark-watch
...
tools/benchmark: revive watch benchmark
2016-02-13 09:24:00 -08:00
Xiang Li
3a9a1c7d9b
tools/benchmark: support serializable range benchmark
2016-02-13 09:23:35 -08:00
Hitoshi Mitake
99e7449f44
tools/benchmark: revive watch benchmark
...
Current watch benchmark seems to be broken. This commit revives it.
2016-02-14 01:15:04 +09:00
Gyu-Ho Lee
205033d25f
etcd-agent: ignore error when no file to rename
...
Fixes https://github.com/coreos/etcd/issues/4512 .
When cluster fails before creation of log or data directory
the file does not exist and cannot be renamed. This skips such
error because there's no need to store empty logs in failure_archive.
2016-02-12 16:37:04 -08:00
Xiang Li
c15b2a5077
Merge pull request #4514 from xiang90/tester
...
tools/functional-tester: add metrics
2016-02-12 14:45:10 -08:00
Xiang Li
1bec0e6a0b
tools/functional-tester: add metrics
2016-02-12 14:42:41 -08:00
Gyu-Ho Lee
5b2847b338
etcd-tester: use Hash method to get both revision and hash
2016-02-12 14:40:51 -08:00
Gyu-Ho Lee
c1851dfca1
etcd-tester: add leader failure cases
2016-02-11 15:46:44 -08:00
Gyu-Ho Lee
78df258ea8
etcd-agent: cleans page cache when cleaning up
...
Reference:
- https://www.kernel.org/doc/Documentation/sysctl/vm.txt
- https://github.com/torvalds/linux/blob/master/fs/drop_caches.c
2016-02-11 13:48:54 -08:00
Xiang Li
4b68977851
Merge pull request #4481 from xiang90/testing-tool
...
tools/etcd-dump-logs: support parsing v3 log
2016-02-10 14:00:32 -08:00
Xiang Li
3611a9ad2e
tools/etcd-dump-logs: support parsing v3 log
2016-02-10 13:52:02 -08:00
Gyu-Ho Lee
7b2ce70783
etcd-tester: count success for v3
...
needed for snapshot count comparison
2016-02-09 17:12:03 -08:00
Gyu-Ho Lee
7d2b7e0d23
etcd-tester: close leaky gRPC connections
...
when closed errors will be one of:
```
grpc.ErrorDesc(err) == context.Canceled.Error() ||
grpc.ErrorDesc(err) == context.DeadlineExceeded.Error() ||
grpc.ErrorDesc(err) == "transport is closing" ||
grpc.ErrorDesc(err) == "grpc: the client connection is closing"
```
2016-02-09 16:26:33 -08:00
Gyu-Ho Lee
16aa263d8c
etcd-tester: continue after cleanup
2016-02-09 13:32:39 -08:00
Gyu-Ho Lee
c8994aab62
Merge pull request #4466 from gyuho/f0
...
etcd-tester: close gRPC connection when canceling
2016-02-09 11:07:00 -08:00
Gyu-Ho Lee
a46e20f92a
etcd-tester: close gRPC connection when canceling
...
Currently gRPC connection just gets recreated
for every Stress call. When Stress ends or gets
canceled, gRPC connection must also be closed.
For https://github.com/coreos/etcd/issues/4464 .
2016-02-09 11:04:16 -08:00
Gyu-Ho Lee
e252c0c0ca
etcd-tester: fix wrong error checking
...
Hash method returns either (nil, err) or (Hash, nil).
The current error checking is wrong. It only needs to check
the error is either nil or non-nil.
This causes panic in https://github.com/coreos/etcd/issues/4463
by allowing the case when resp is nil, but err is not nil.
2016-02-09 10:00:05 -08:00
Xiang Li
fa71bec550
Merge pull request #4458 from xiang90/cl
...
etcd-tester: cleanup
2016-02-08 21:16:28 -08:00
Xiang Li
25834211a9
etcd-tester: cleanup
2016-02-08 20:54:25 -08:00
Gyu-Ho Lee
77f753ac32
etcd-agent: mkdir with read/write to all users
2016-02-08 20:50:11 -08:00
Gyu-Ho Lee
16543778f1
etcd-tester: avoid directory name conflict
2016-02-08 13:38:26 -08:00
Gyu-Ho Lee
08dbabdb5f
etcd-tester: add compactKV
...
It compacts storage for every case.
For https://github.com/coreos/etcd/issues/4380 .
2016-02-06 15:02:58 -08:00
Gyu-Ho Lee
044f7775e3
etcd-tester: log cancel in stresser
...
And fix some minor print formats.
2016-02-05 18:31:27 -08:00