19147 Commits

Author SHA1 Message Date
Benjamin Wang
575ceed1c7 dependency: bump github.com/mikefarah/yq/v4 from v4.30.6 to v4.30.8
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-01-17 06:33:05 +08:00
Marek Siarkowicz
677e5281e0
Merge pull request #15106 from serathius/linearizability-nightly-release
Add linearizability nightlies for release 3.4/3.5
2023-01-16 11:47:39 +01:00
Thomas Jungblut
ab3c530b92 add linearizability nightlies for release 3.4/3.5
This CL refactors the tests to reuse a single workflow that has
parameters. This is then reused for PRs/pushes and the nightlies.

Signed-off-by: Thomas Jungblut <tjungblu@redhat.com>
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-01-16 11:00:16 +01:00
Sahdev Zala
7daec2928a
Merge pull request #15071 from wafuwafu13/refactor-gettoken
clientv3: refactor getToken automatically
2023-01-15 18:26:21 -05:00
Benjamin Wang
d31a0ee88a
Merge pull request #15105 from serathius/linearizability-nightly-timeout
tests: Reduce number of runs in nightly action
2023-01-15 07:21:30 +08:00
Marek Siarkowicz
5b8d19c7b3 tests: Reduce number of runs in nightly action
Single run takes up to 30s. Let's reduce number of runs to reduce chance
of timeout.

Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-01-14 09:29:12 +01:00
Marek Siarkowicz
d37f9b2092
Merge pull request #15101 from serathius/linearizability-history-patch-window
tests: Fix history patch window
2023-01-14 09:20:14 +01:00
Marek Siarkowicz
1257d0d919 tests: Fix history patch window
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-01-13 16:19:20 +01:00
Marek Siarkowicz
6315f1cfdc
Merge pull request #15093 from geetasg/lease_support_review_feedback
Lease support for linearizability tests :  address review feedback
2023-01-13 09:15:54 +01:00
Benjamin Wang
66bcb08a23
Merge pull request #15094 from fuweid/changelog-update
CHANGELOG: add dep update item to 3.4
2023-01-13 11:49:08 +08:00
Wei Fu
7434636424 CHANGELOG: add dep update item to 3.4
It is used to fix grpc-gateway error handler issue.

Signed-off-by: Wei Fu <fuweid89@gmail.com>
2023-01-13 11:12:36 +08:00
Geeta Gharpure
6106912338 Lease support for linearizability tests : Updated as per review feedback.
Signed-off-by: Geeta Gharpure <geetagh@amazon.com>
2023-01-12 23:25:40 +00:00
Marek Siarkowicz
715a0047fa
Merge pull request #15091 from serathius/linearizability-stop-proxy
tests: Move stopping proxy to after process stop to speed up cluster …
2023-01-12 23:46:53 +01:00
Marek Siarkowicz
2fcb05710d tests: Move stopping proxy to after process stop to speed up cluster shutdown
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-01-12 15:17:34 +01:00
Marek Siarkowicz
7eb6f66b17
Merge pull request #15084 from serathius/linearizability-lease-timeout
tests: Fix putWithLease traffic timeout/limit and double overall timeout to reduce number of failed requests
2023-01-12 13:49:44 +01:00
Marek Siarkowicz
bff3d4a592 tests: Fix putWithLease traffic timeout/limit and double overall timeout to reduce number of failed requests
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-01-12 10:17:54 +01:00
Marek Siarkowicz
2b45023364
Merge pull request #15078 from serathius/linearizability-patch-operations
tests: Use watch events to patch history to speed up linearization
2023-01-12 10:09:01 +01:00
Marek Siarkowicz
7b2dfece70 tests: Use watch events to patch history to speed up linearization
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-01-12 09:31:23 +01:00
Marek Siarkowicz
3306639b76
Merge pull request #15080 from geetasg/lease_support_refactor
Add support for lease api to linearizability tests
2023-01-11 15:34:36 +01:00
Benjamin Wang
ef917f1efd
Merge pull request #15068 from ahrtr/last_wal_rec_corrupt_main_20220107
etcdserver: process the case of the last WAL record being partially synced to disk [backport 3.5]
2023-01-11 18:06:46 +08:00
Benjamin Wang
d3b753e27a
Merge pull request #15081 from yanggangtony/go-version
Bump go to 1.19.5
2023-01-11 17:22:03 +08:00
Benjamin Wang
3e48a59c9e
Merge pull request #15070 from ahrtr/changelog_wal_record_partially_synced_20230108
changelog: add 3.5 item to cover the fix for last partically synced WAL record
2023-01-11 16:38:02 +08:00
yanggang
ebf1e3bb1a
Bump go to 1.19.5
Signed-off-by: yanggang <gang.yang@daocloud.io>
2023-01-11 14:42:31 +08:00
Geeta Gharpure
5b84526e9a Add support for lease api to linearizability tests
Signed-off-by: Geeta Gharpure <geetagh@amazon.com>
2023-01-11 05:19:57 +00:00
Marek Siarkowicz
ff898640a5
Merge pull request #15044 from serathius/linearizability-watch
Watch events during linearizability test and compare history
2023-01-10 17:59:04 +01:00
Marek Siarkowicz
8a9f848d33 tests: Refactor how linearizability test components are run in parallel
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-01-10 15:12:12 +01:00
Marek Siarkowicz
6821e226dd tests: Watch events during linearizability test and compare history
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-01-10 15:11:23 +01:00
Marek Siarkowicz
2965817150
Merge pull request #15046 from serathius/linearizability-failpoints-available
tests: Trigger only failpoints available in binary
2023-01-10 09:15:20 +01:00
Benjamin Wang
8134b8b46d
Merge pull request #15073 from etcd-io/dependabot/go_modules/server/golang.org/x/net-0.5.0
build(deps): bump golang.org/x/net from 0.4.0 to 0.5.0 in /server
2023-01-10 10:14:43 +08:00
Benjamin Wang
30fc7611e2 tidy up dependencies
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-01-10 09:11:34 +08:00
dependabot[bot]
d104408036 build(deps): bump golang.org/x/net from 0.4.0 to 0.5.0 in /server
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.4.0...v0.5.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-10 09:10:07 +08:00
Benjamin Wang
c9a9968d40
Merge pull request #15074 from etcd-io/dependabot/github_actions/actions/upload-artifact-3.1.2
build(deps): bump actions/upload-artifact from 3.1.1 to 3.1.2
2023-01-10 09:08:02 +08:00
Benjamin Wang
af5ff0745d
Merge pull request #15075 from etcd-io/dependabot/github_actions/actions/checkout-3.3.0
build(deps): bump actions/checkout from 3.2.0 to 3.3.0
2023-01-10 09:04:53 +08:00
dependabot[bot]
9f93448500
build(deps): bump actions/checkout from 3.2.0 to 3.3.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](755da8c3cf...ac59398561)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 17:12:51 +00:00
dependabot[bot]
ad315b38fa
build(deps): bump actions/upload-artifact from 3.1.1 to 3.1.2
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](83fd05a356...0b7f8abb15)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 17:12:44 +00:00
Marek Siarkowicz
deb4291485 tests: Trigger only failpoints available in binary
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-01-09 17:29:38 +01:00
Marek Siarkowicz
a992fb5e92
Merge pull request #15059 from serathius/linearizability-operations
tests: Rewrite etcd requests to use operations
2023-01-09 15:12:16 +01:00
Marek Siarkowicz
acf3782c20
Merge pull request #15048 from serathius/linearizability-network
tests: Implement network delay and blackholing in linearizability tests
2023-01-09 14:51:54 +01:00
Marek Siarkowicz
6877122dca tests: Rewrite etcd requests to use operations
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-01-09 14:42:25 +01:00
Marek Siarkowicz
064fad5ae4 tests: Implement network delay and blackholing in linearizability tests
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-01-09 14:18:07 +01:00
wafuwafu13
8b15146f27 clientv3: refactor getToken automatically
Signed-off-by: wafuwafu13 <mariobaske@i.softbank.jp>
2023-01-09 18:01:32 +09:00
Benjamin Wang
4c18ff6673 changelog: add 3.5 item to cover the fix for last partically synced WAL record
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-01-08 05:40:27 +08:00
Benjamin Wang
5ef713c728 remove the dependency on the deprecated io/ioutil
Reference: https://go.dev/doc/go1.16#ioutil

Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-01-08 04:55:40 +08:00
Benjamin Wang
bd9f1584d4 process the scenaro of the last WAL record being partially synced to disk
We need to return io.ErrUnexpectedEOF in the error chain, so that
etcdserver can repair it automatically.

Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-01-08 04:46:51 +08:00
Benjamin Wang
108cd9abaa
Merge pull request #15067 from halegreen/fix-comment-typo
client/v3: fix comment typo
2023-01-07 18:02:31 +08:00
WangXiaoxiao
49abfa5992 client/v3: fix comment typo
Signed-off-by: WangXiaoxiao <1141195807@qq.com>
2023-01-07 14:40:12 +08:00
Benjamin Wang
6200b22f79
Merge pull request #15033 from chaochn47/snapshotCatchupEntries
externalize snapshot catchup entries to etcd flag
2023-01-05 12:47:28 +08:00
Chao Chen
2c46b2b299 externalize snapshot catchup entries to etcd flag
Signed-off-by: Chao Chen <chaochn@amazon.com>
2023-01-04 19:01:07 -08:00
Marek Siarkowicz
bb86058fef tests: Test model describe method
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-01-01 19:54:16 +01:00
Marek Siarkowicz
e73f55d4e9
Merge pull request #15028 from chaochn47/auth_test_split
tests/common: migrate auth tests #2
2023-01-01 18:58:39 +01:00