19241 Commits

Author SHA1 Message Date
Marek Siarkowicz
3c64ae4b79
Merge pull request #15239 from jmhbnz/main
Adjust time resolution to microseconds
2023-02-09 13:45:00 +01:00
Marek Siarkowicz
d0575e4f18
Merge pull request #15268 from lavacat/main-before-follower-send-failpoint
tests: trigger raftBeforeFollowerSend failpoint in linearizability test
2023-02-09 09:45:58 +01:00
Myrat92
2eadb0ab74 contributing: invalid command for install tools
Fix command for install build tools

Signed-off-by: Myrat92 <zjsegzhf@gmail.com>
2023-02-09 16:05:37 +08:00
Bogdan Kanivets
4b91ae2800 tests: trigger raftBeforeFollowerSend failpoint in linearizability test
raftBeforeFollowerSend can only be triggered on Follower and won't work on 1 node cluster.
Had to split RandomFailpoint into RandomOneNodeClusterFailpoint and RandomMultiNodeClusterFailpoint

Signed-off-by: Bogdan Kanivets <bkanivets@apple.com>
2023-02-08 23:28:23 -08:00
Marek Siarkowicz
39d98522d6 tests: Enable progress notify in linearizability tests
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-02-09 07:32:54 +08:00
Marek Siarkowicz
586eaccc4d
Merge pull request #15252 from ahrtr/walSync_failpoint_20230207
etcdserver: add failpoints walBeforeSync and walAfterSync
2023-02-08 09:59:46 +01:00
Benjamin Wang
1fe7b9793a etcdserver: add failpoints walBeforeSync and walAfterSync
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-02-08 09:08:09 +08:00
Marek Siarkowicz
9bae010994
Merge pull request #15250 from serathius/linearizability-validate-watch
tests: Validate watch responses in linearizability tests
2023-02-07 14:50:34 +01:00
dependabot[bot]
8f54d38b6c build(deps): bump honnef.co/go/tools from 0.3.3 to 0.4.0 in /tools/mod
Bumps [honnef.co/go/tools](https://github.com/dominikh/go-tools) from 0.3.3 to 0.4.0.
- [Release notes](https://github.com/dominikh/go-tools/releases)
- [Commits](https://github.com/dominikh/go-tools/compare/v0.3.3...v0.4.0)

---
updated-dependencies:
- dependency-name: honnef.co/go/tools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-07 06:29:36 +08:00
Marek Siarkowicz
189d90ab7b tests: Validate watch responses in linearizability tests
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-02-06 16:58:17 +01:00
Marek Siarkowicz
d8eae85f58
Merge pull request #15249 from etcd-io/serathius-patch-1
Update @serathius email address just in case
2023-02-06 12:19:55 +01:00
Marek Siarkowicz
adf14f80ba Update @serathius email address just in case
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-02-06 12:19:08 +01:00
Marek Siarkowicz
dc51cf1646
Merge pull request #15104 from lavacat/main-tests-snapshots
tests linearizability: trigger snapshot related failpoints
2023-02-06 09:47:12 +01:00
Bogdan Kanivets
91b056968d tests linearizability: trigger snapshot related failpoints
Signed-off-by: Bogdan Kanivets <bkanivets@apple.com>
2023-02-05 00:03:39 -08:00
Marek Siarkowicz
65aa0fa305
Merge pull request #15242 from fuweid/linearizability-forcestop-cluster
tests/linearizability: force stop cluster with signal kill
2023-02-03 21:19:04 +01:00
Wei Fu
2183a55b47 tests: forcestop member procs with signal kill
When the linearizability test cases run with three members, it might take
7-8s to stop three members, especially stopping the leader. The leader
will transfer the leadership and it might take more time to stop peer
listener.

In order to reduce the runtime, this commit is using signal kill to force
stop members instead of graceful shutdown.

REF: #15086

Signed-off-by: Wei Fu <fuweid89@gmail.com>
2023-02-03 23:06:40 +08:00
Wei Fu
fa527c5e54 tests: support to stop the multiple members concurrently
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2023-02-03 22:23:06 +08:00
Marek Siarkowicz
712bd8a802
Merge pull request #15233 from kevinzs2048/wip-integration-arm64
Add integration test for Arm64
2023-02-03 12:10:35 +01:00
Kevin Zhao
4d715c0c44 Add integration test for Arm64
Signed-off-by: Kevin Zhao <kevin.zhao@linaro.org>
2023-02-03 18:20:30 +08:00
James Blair
5f27af9bb8
Fix regression in timestamp resolution
Historic capnslog timestamps are in microsecond resolution. We need to match that when we migrate to the zap logger.

Signed-off-by: James Blair <mail@jamesblair.net>
2023-02-03 21:42:01 +13:00
Iavael
dc2b198cc7 docker: remove nsswitch.conf
Co-authored-by: Benjamin Wang <wachao@vmware.com>
Signed-off-by: Iavael <905853+iavael@users.noreply.github.com>
2023-02-03 06:37:03 +08:00
Marek Siarkowicz
9505d72930
Merge pull request #15230 from kevinzs2048/wip-e2e-arm64
Add E2E tests on arm64
2023-02-02 09:05:44 +01:00
Kevin Zhao
009a6c0b94 Add E2E tests on arm64
Now it is daily nightly build at 1 am.

Signed-off-by: Kevin Zhao <kevin.zhao@linaro.org>
2023-02-02 10:38:04 +08:00
Benjamin Wang
b10ebff3bb changelog: add items to cover the bummping of bbolt to v1.3.7
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-02-02 03:47:31 +08:00
Marek Siarkowicz
f25b159fe3
Merge pull request #15232 from fuweid/linearizability-remove-proxy-for-clustersize-one
tests/linearizability: remove PeerProxy for ClusterSize=1
2023-02-01 11:49:25 +01:00
Wei Fu
5a249fb3e2 tests/linearizability: remove PeerProxy for ClusterSize=1
Skip the peer traffic failpoint.

Signed-off-by: Wei Fu <fuweid89@gmail.com>
2023-02-01 18:04:11 +08:00
Marek Siarkowicz
d814adbf94
Merge pull request #15227 from serathius/linearizability-trigger-fail
Linearizability disable defragment request in traffic to remove flakes
2023-02-01 09:26:08 +01:00
Marek Siarkowicz
90b839dda7 tests: Disable defrag command as it caused problems with defragBeforeCopy failpoint
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-01-31 12:48:23 +01:00
Marek Siarkowicz
f4cc163190
Merge pull request #15156 from Nordix/add-minmax-allow-tls13
Add TLSv1.3 support.
2023-01-31 10:11:38 +01:00
Marek Siarkowicz
5ae405e646
Merge pull request #15202 from serathius/linearizability-logger
tests: Propagage logger through linearizability tests
2023-01-31 08:46:28 +01:00
Benjamin Wang
23e89b98a3 bump bbolt to v1.3.7
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-01-31 07:04:29 +08:00
kidsan
82243d0919 netutil: consistently format ipv6 addresses
This formats ipv6 addresses to ensure they can be compared safely

Signed-off-by: kidsan <8798449+Kidsan@users.noreply.github.com>
2023-01-31 06:50:42 +08:00
dependabot[bot]
aba0f91167 build(deps): bump github.com/mgechev/revive in /tools/mod
Bumps [github.com/mgechev/revive](https://github.com/mgechev/revive) from 1.2.4 to 1.2.5.
- [Release notes](https://github.com/mgechev/revive/releases)
- [Changelog](https://github.com/mgechev/revive/blob/master/.goreleaser.yml)
- [Commits](https://github.com/mgechev/revive/compare/v1.2.4...v1.2.5)

---
updated-dependencies:
- dependency-name: github.com/mgechev/revive
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-31 05:43:34 +08:00
dependabot[bot]
d0a481be84 build(deps): bump github/codeql-action from 2.1.39 to 2.2.1
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.39 to 2.2.1.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](a34ca99b46...3ebbd71c74)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-31 05:28:21 +08:00
Tero Saarni
588b98d085 Add TLSv1.3 support.
Added optional TLS min/max protocol version and command line switches to set
versions for the etcd server.

If max version is not explicitly set by the user, let Go select the max
version which is currently TLSv1.3. Previously max version was set to TLSv1.2.

Signed-off-by: Tero Saarni <tero.saarni@est.tech>
2023-01-30 16:16:53 +02:00
Marek Siarkowicz
0c004a6ce4 tests: Propagage logger through linearizability tests
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-01-30 14:30:21 +01:00
Marek Siarkowicz
a8b6b05564
Merge pull request #15191 from serathius/linearizability-failpoints-timeout
tests: Increase failpoint timeout and add more logs
2023-01-30 14:05:23 +01:00
Marek Siarkowicz
535ade8eb2 tests: Increase failpoint timeout and add more logs
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-01-30 13:26:33 +01:00
Benjamin Wang
b9b7c9328e tools: fix the CSV format error and add build target 'tools' in Makefile
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-01-30 16:35:41 +08:00
upuplouis
5b7b499f50 fix(client):getToken automatically when the token has expired
Signed-off-by: upuplouis <45809347+upuplouis@users.noreply.github.com>

add some notes

Signed-off-by: upuplouis <45809347+upuplouis@users.noreply.github.com>

client/v3:add some notes

Signed-off-by: upuplouis <45809347+upuplouis@users.noreply.github.com>

client/v3:rm Unused comments

Signed-off-by: upuplouis <45809347+upuplouis@users.noreply.github.com>

client/v3:rename gterr

Signed-off-by: upuplouis <45809347+upuplouis@users.noreply.github.com>

fix(client):fix refreshToken

Signed-off-by: upuplouis <45809347+upuplouis@users.noreply.github.com>

fix(client):rm unused comments

Signed-off-by: upuplouis <45809347+upuplouis@users.noreply.github.com>

fix(client):fix the format error.

Signed-off-by: upuplouis <45809347+upuplouis@users.noreply.github.com>

fix format err
2023-01-30 15:19:53 +08:00
Wei Fu
a21b89071c CHANGELOG: add item about improvement for concurrent read
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2023-01-30 11:43:55 +08:00
Benjamin Wang
3d3cb460a0 test: reorder the import items in linearizability/model/model.go
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-01-29 06:12:03 +08:00
kidsan
070d56b6cd changelog: add ipv6 comparison fix to 3.4 and 3.5
Signed-off-by: kidsan <8798449+Kidsan@users.noreply.github.com>
2023-01-27 17:56:18 +08:00
caojiamingalan
e2b8e86624 etcdserver: correct the old name of notifyc in comments
The old name(raftDone) of the channel(notifyc) which indicates the apply has been
completed is left unchanged in the comments, resulting in confusion when reading
the source code.

Signed-off-by: caojiamingalan <alan.c.19971111@gmail.com>
2023-01-27 10:02:22 +08:00
Marek Siarkowicz
3b612ce345
Merge pull request #15180 from serathius/linearizability-large-put
tests: Implement LargePut requests
2023-01-24 23:22:48 +01:00
Marek Siarkowicz
ef0bdbe489 tests: Implement LargePut requests
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-01-24 22:29:31 +01:00
Marek Siarkowicz
91ec368927
Merge pull request #15178 from serathius/linearizability-defrag
tests: Add defragment request to linearizability tests
2023-01-24 22:23:51 +01:00
Marek Siarkowicz
c50e602458 tests: Add defragment request to linearizability tests
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-01-24 21:49:57 +01:00
Sasha Melentyev
63902fafbd Change verb and use switch stmt
Signed-off-by: Sasha Melentyev <sasha@melentyev.io>
2023-01-25 03:47:07 +08:00
Marek Siarkowicz
bfc361e2df
Merge pull request #15179 from serathius/linearizability-deduplicate-scenarios
tests: Deduplicate cluster test scenarios
2023-01-24 20:11:49 +01:00