Benjamin Wang
9c59b28086
Merge pull request #18186 from gyuho/enforce-non-empty-client-tls-if-metrics-url-scheme-is-https
...
fix(server): enforce listen-metrics-urls client TLS info when its scheme is https/unixs
2024-06-18 13:59:21 +01:00
Gyuho Lee
3e86af6843
remove unnecessary wait call
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2024-06-18 18:18:54 +08:00
Madhav Jivrajani
5c2422ba05
tests/robustness: fix access of ChoiceWeight
...
Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2024-06-18 13:44:40 +05:30
Marek Siarkowicz
c70e0e4f55
Merge pull request #18181 from serathius/robustness-compact-lazyfs
...
Avoid sending Compact request when LazyFS is enabled
2024-06-18 09:26:41 +02:00
Marek Siarkowicz
2deefb081b
Merge pull request #18060 from siyuanfoundation/robust
...
robustness: change mixedVersionOption to use ChoiceWeight.
2024-06-18 08:49:47 +02:00
Marek Siarkowicz
2e04ee77b6
Avoid sending Compact request when LazyFS is enabled
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2024-06-18 08:36:24 +02:00
Marek Siarkowicz
dd7a2a6237
Merge pull request #17680 from serathius/issue-17529
...
Reproduce #17529 in robustness tests
2024-06-18 08:32:40 +02:00
Siyuan Zhang
fff58bb809
robustness: change mixedVersionOption to use ChoiceWeight.
...
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-06-17 15:53:47 -07:00
Chun-Hung Tseng
166d26b4e4
dependency: bump github.com/spf13/cobra from 1.8.0 to 1.8.1
...
Reference:
- https://github.com/etcd-io/etcd/pull/18190
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-06-17 22:09:15 +02:00
Chun-Hung Tseng
a947aa0d3f
dependency: bump go.opentelemetry.io/proto/otlp from 1.2.0 to 1.3.1
...
Reference:
- https://github.com/etcd-io/etcd/pull/18191
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-06-17 22:09:15 +02:00
Chun-Hung Tseng
fa835658e3
dependency: bump google.golang.org/protobuf from 1.34.1 to 1.34.2
...
Reference:
- https://github.com/etcd-io/etcd/pull/18196
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-06-17 21:49:52 +02:00
Gyuho Lee
22f20a827b
test(e2e): add a case where client tls is missing for https metrics url
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2024-06-17 21:09:24 +08:00
Marek Siarkowicz
5e42ed9b22
Reproduce issue #17529
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2024-06-15 19:40:23 +02:00
Marek Siarkowicz
93873708a9
Upgrade gofail for sleep to not block deactivation
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2024-06-15 19:25:35 +02:00
Siyuan Zhang
aaa6e9ef8c
robustness: Separate compaction and LazyFS test scenario for cluster size 1.
...
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-06-14 13:33:50 -07:00
James Blair
3be7dbeb36
Merge pull request #18167 from ivanvc/update-robustness-test-documentation-to-point-to-prow
...
tests/robustness: update documentation to reflect Prow migration
2024-06-14 10:55:38 +12:00
Ivan Valdes
d73cc2bb65
tests/robustness: update documentation to reflect Prow migration
...
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-06-13 10:20:32 -07:00
Chun-Hung Tseng
293d979759
dependency: bump golang.org/x/net from 0.25.0 to 0.26.0
...
Reference:
- https://github.com/etcd-io/etcd/pull/18150
- https://github.com/etcd-io/etcd/pull/18146
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-06-12 09:45:04 +02:00
Chun-Hung Tseng
e1d7af5a0c
dependency: bump golang.org/x/crypto from 0.23.0 to 0.24.0
...
Reference:
- https://github.com/etcd-io/etcd/pull/18149
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-06-12 09:37:07 +02:00
Marek Siarkowicz
2c56e8edc1
Merge pull request #18107 from serathius/e2e-error-log
...
Improve e2e error reporting
2024-06-07 13:58:59 +02:00
Marek Siarkowicz
5959110f4a
Implement Compaction support in robustness test
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2024-06-07 10:33:57 +02:00
Marek Siarkowicz
3c5684967f
Improve e2e error reporting
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
Co-authored-by: James Blair <mail@jamesblair.net>
Co-authored-by: chao <chaochn@amazon.com>
2024-06-07 10:24:52 +02:00
Marek Siarkowicz
2ffaf5fba4
Merge pull request #18133 from serathius/robustness-connection-reset
...
Ignore connection reset error when triggering a failpoint
2024-06-07 10:23:14 +02:00
Marek Siarkowicz
d9dcf62558
Merge pull request #18135 from fuweid/fix-17968
...
tests/robustness: unlock Delete/LeaseRevoke ops
2024-06-07 10:22:53 +02:00
lhy1024
acc9d7c9fe
Support multiple values for allowed client and peer TLS identities
...
Signed-off-by: lhy1024 <admin@liudos.us>
2024-06-06 21:25:17 +08:00
Wei Fu
fc1863086c
tests/robustness: unlock Delete/LeaseRevoke ops
...
We should return token to that bucket if `nonUniqueWriteLimiter.Take()`
return true. After unlock Delete/LeaseRevoke ops, the model should be
updated for replay function. There are two updates for `toWatchEvents`.
1. When leaveRevokes op has deleted few keys, we should generate
`delete-operation` events based on alphabetical order of deleted
keys.
2. When putWithLease op hits non-exist lease, we should ignore that
update event.
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2024-06-06 20:40:08 +08:00
Marek Siarkowicz
b8eeaacbcb
Ignore connection reset error when triggering a failpoint
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2024-06-05 17:58:46 +02:00
ArkaSaha30
2089857ab8
Bump Go version to 1.22.4: CVE 2024-24790 fix
...
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-06-05 14:12:52 +05:30
Siyuan Zhang
06f2746fc1
test: update CouldSetSnapshotCatchupEntries to use 3.5.14.
...
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-06-04 10:47:54 -07:00
Chun-Hung Tseng
f77f422812
dependency: bump github.com/prometheus/common from 0.53.0 to 0.54.0
...
References:
- https://github.com/etcd-io/etcd/pull/18111
- https://github.com/etcd-io/etcd/pull/18118
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-06-03 22:15:31 +02:00
Chun-Hung Tseng
287a3a1a39
dependency: bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc from 1.26.0 to 1.27.0
...
Reference:
- https://github.com/etcd-io/etcd/pull/18072
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-05-30 15:19:23 +02:00
Chun-Hung Tseng
a3f7d2a5db
dependency: bump go.opentelemetry.io/otel/sdk from 1.26.0 to 1.27.0
...
Reference:
- https://github.com/etcd-io/etcd/pull/18073
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-05-30 15:19:23 +02:00
Chun-Hung Tseng
1ec63aa93a
dependency: bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.51.0 to 0.52.0 and go.opentelemetry.io/otel from 1.26.0 to 1.27.0
...
When doing `go get go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc@v0.52.0`,
go.opentelemetry.io/otel is automatically bumped, too.
References:
- https://github.com/etcd-io/etcd/pull/18075
- https://github.com/etcd-io/etcd/pull/18074
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-05-30 15:19:23 +02:00
Edwin Xie
4c77726914
Implement flag --experimental-set-member-localaddr
...
Which sets the LocalAddr to an IP address from --initial-advertise-peer-urls.
Also adds e2e test that requires this flag to succeed.
Co-authored-by: HighPon <s.shiraki.business@gmail.com>
Signed-off-by: Edwin Xie <edwin.xie@broadcom.com>
2024-05-24 18:17:37 +00:00
Marek Siarkowicz
67743348dc
Merge pull request #18054 from siyuanfoundation/robust
...
workflow: change the target of make test-robustness to test-robustness-main
2024-05-22 19:54:11 +02:00
Siyuan Zhang
8dcb198f14
workflow: change the target of make test-robustness to test-robustness-main
...
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-05-22 09:25:46 -07:00
Marek Siarkowicz
aaa9f15f23
Increase robustness test request timeout to 200ms
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2024-05-22 18:00:15 +02:00
Marek Siarkowicz
1d367fbae6
Merge pull request #17923 from siyuanfoundation/robust
...
Add randomness in robustness cluster process version to test mixed version scenarios.
2024-05-22 14:07:22 +02:00
Siyuan Zhang
0f94c2ca4f
robustness: add mix version scenario with fixed leader.
...
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-05-21 17:42:12 +00:00
Siyuan Zhang
b54d7552a7
robustness: add mix version option in exploratoryScenarios.
...
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-05-21 16:57:53 +00:00
Siyuan Zhang
cde6cd006d
e2e: add flag to pass specific binary path for last release.
...
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-05-21 16:57:48 +00:00
Marek Siarkowicz
3fb36d9ae2
Allow gofail trigger to fail as long as the member stops running
...
This is required for compaction based failpoint, to allow the traffic
send compaction request causing etcd to crash before failpoint executes
the trigger.
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2024-05-21 18:46:35 +02:00
Chun-Hung Tseng
e79a11f789
dependency: bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.19.1 to 2.20.0
...
Reference:
- https://github.com/etcd-io/etcd/pull/18035
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-05-20 22:30:41 +02:00
James Blair
52fb28c1a8
Merge pull request #17983 from thedtripp/feature/addServerRangeDurationMetrics
...
etcdserver: add server range duration metrics
2024-05-19 10:04:29 +12:00
Daniel Tripp
0232686cac
etcdserver: add server range duration metrics
...
Signed-off-by: Daniel Tripp <38776199+thedtripp@users.noreply.github.com>
Co-authored-by: Ravi Hari <RaviHari@users.noreply.github.com>
2024-05-18 19:01:09 +00:00
Chun-Hung Tseng
48f511700e
dependency: bump github.com/fatih/color from 1.15.0 to 1.17.0
...
Acted according to https://github.com/etcd-io/etcd/pull/17998#issuecomment-2118653086
Reference:
- https://github.com/etcd-io/etcd/pull/17998
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-05-18 12:10:07 +02:00
Chun-Hung Tseng
a66cf56661
dependency: bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1
...
Reference:
- https://github.com/etcd-io/etcd/pull/17999
- https://github.com/etcd-io/etcd/pull/17994
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-05-17 23:53:06 +02:00
Akshay Nanavare
8eb91d0e15
add error constants in validate pkg
...
Signed-off-by: Akshay Nanavare <nakshay303@gmail.com>
2024-05-14 20:19:08 +05:30
Marek Siarkowicz
d8bb19327b
Prevent picking a failpoint that waiting till snapshot that doesn't support lower snapshot catchup entries but allow reproducing issue #15271
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2024-05-13 12:08:42 +02:00
James Blair
2e70fc7d1d
Automate labels for tests pull requests.
...
Signed-off-by: James Blair <mail@jamesblair.net>
2024-05-12 22:24:21 +12:00