Benjamin Wang
0a5d905209
Merge pull request #18270 from thedtripp/main-go-2024-2963
...
Bump Go version to 1.22.5: GO-2024-2963 fix.
2024-07-03 07:29:55 +01:00
D Tripp
8f974669c5
Bump Go version to 1.22.5: GO-2024-2963 fix.
...
Signed-off-by: D Tripp <38776199+thedtripp@users.noreply.github.com>
2024-07-03 05:07:03 +00:00
Benjamin Wang
37cbd6cd97
Merge pull request #18233 from jcferretti/etcdctl-minmaxcreatemod
...
etcdctl: add support for filtering by {min,max} x {create,mod} x {revision}
2024-07-02 18:55:09 +01:00
Cristian Ferretti
07b35dd7e3
etcdctl: add support for filtering by {min,max} x {create,mod} x {revision}
...
Signed-off-by: Cristian Ferretti <jcferretti2020@gmail.com>
2024-07-02 12:48:00 -04:00
Benjamin Wang
3cd044f4bd
Merge pull request #18201 from MadhavJivrajani/e2e-issue-18089
...
tests/e2e: add e2e test to reproduce issue 18089
2024-06-28 09:43:10 +01:00
Marek Siarkowicz
c41e02f7b6
Add failpoint name to test name allowing us to track a per failpoint failures in testgrid
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2024-06-27 18:35:04 +02:00
Madhav Jivrajani
ebf2cac6bd
tests/e2e: add e2e test to reproduce issue 18089
...
The goal is to reproduce a DELETE event being dropped in a watch after a compaction
occurs on the revision where the deletion took place. In order to reproduce this, we
perform the following sequence (steps for reproduction thanks to @ahrtr):
- PUT k v2 (assume returned revision = r2)
- PUT k v3 (assume returned revision = r3)
- PUT k v4 (assume returned revision = r4)
- DELETE k (assume returned revision = r5)
- PUT k v6 (assume returned revision = r6)
- COMPACT r5
- WATCH rev=r5
We should get the DELETE event (r5) followed by the PUT event (r6). However, currently we only
get the PUT event with returned revision of r6 (key=k, val=v6).
Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2024-06-27 14:51:12 +05:30
Marek Siarkowicz
1870222f41
Separate persisted responses without knowing their revision to prevent duplicating state during linearization
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2024-06-24 21:38:27 +02:00
Marek Siarkowicz
35f4556b59
Add tests for patching history to check output and return values
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2024-06-24 20:41:32 +02:00
Marek Siarkowicz
4fe227c46c
Disable robustness test detection of #18089 to allow detecting other issues
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2024-06-22 11:01:47 +02:00
Benjamin Wang
1d13fc58ff
Merge pull request #14066 from rleungx/add-config
...
embed: add `GRPCAdditionalServerOptions` config
2024-06-21 06:40:32 +01:00
James Blair
00a609751a
Merge pull request #18206 from henrybear327/dependencies/06_19_24
...
[2024-06-19] Bump dependency update
2024-06-20 07:31:27 +12:00
Chun-Hung Tseng
9e7b94dea9
dependency: bump go.etcd.io/gofail from v0.1.1-0.20240517100945-baefa9867390 to v0.2.0
...
Reference:
- https://github.com/etcd-io/gofail/issues/72
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-06-19 08:49:31 +02:00
Chun-Hung Tseng
f21f074baa
Use $(MAKE) instead of make
...
Recursive make commands should always use the variable MAKE, as
the value of this variable is the file name with which make was invoked
Reference:
- https://www.gnu.org/software/make/manual/html_node/MAKE-Variable.html
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-06-18 19:16:30 +02:00
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
Ryan Leung
29abd62338
introduce GRPCAdditionalServerOptions
...
Signed-off-by: Ryan Leung <rleungx@gmail.com>
2024-06-07 16:39:35 +08: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