21101 Commits

Author SHA1 Message Date
Ivan Valdes
7c64dcb0d1
dependency: bump google.golang.org/protobuf from 1.31.0 to 1.33.0
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-04-05 11:53:42 -07:00
Benjamin Wang
0168c3e1ce
Merge pull request #17662 from siyuanfoundation/flaky
Add script and workflow to detect flaky tests in testgrid.
2024-04-05 16:58:45 +01:00
Benjamin Wang
9cb33de411
Merge pull request #17713 from ivanvc/remove-go-1-22-1-coverage-workaround
Revert "tests: temporary disable coverage redesign Go experiment"
2024-04-05 16:58:19 +01:00
Benjamin Wang
793b3db0bb
Merge pull request #17710 from callthingsoff/hashKV_nilpanic
tools/benchmark/cmd: don't panic with nil values in hashKV function
2024-04-05 16:57:11 +01:00
Benjamin Wang
5fb82c4cda
Merge pull request #17718 from fuweid/changelog-update-leases
CHANGELOG: update for LeaseTimeToLive returns error if leader changed
2024-04-05 16:53:44 +01:00
Marek Siarkowicz
79b5a6a2ac
Merge pull request #17719 from serathius/deactivate-timeout
Increase timeout for deactivating failpoint
2024-04-05 16:06:01 +02:00
Wei Fu
fd8326a505 CHANGELOG: update for LeaseTimeToLive returns error if leader changed
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2024-04-05 21:45:17 +08:00
Benjamin Wang
68673d4bfd
Merge pull request #17706 from henrybear327/changelog/release-3.5-mu-context-init
Update CHANGELOG 3.4 and 3.5 - initialization for epMu/mu in client context
2024-04-05 10:29:16 +01:00
Marek Siarkowicz
0a8a95f803 Increase timeout for deactivating failpoint
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2024-04-05 10:29:21 +02:00
Jes Cok
27a6dd0ca5 tools/benchmark/cmd: don't panic with nil values in hashKV function
hashKV checks nilness of 'eh' and 'es', but doesn't use them. Instead
it panics with 'err' which is definitely nil.

This should be avoided, See:
https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/nilness#nilpanic

This patch renames 'eh' and 'es' to 'err' in order to correct the real
errors to panic.

Signed-off-by: Jes Cok <xigua67damn@gmail.com>
2024-04-05 07:11:19 +08:00
Chun-Hung Tseng
6f8cac308b
Update CHANGELOG 3.4 and 3.5 - initialization for epMu/mu in client context
Reference:
- 3.4: PR #17714
- 3.5: PR #17699

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-04-04 21:03:44 +02:00
Ivan Valdes
5cd14a6031
Revert "tests: temporary disable coverage redesign Go experiment"
With the update to Go 1.22.2, this workaround is no longer needed.

This reverts commit da7ab15f80c06373e03267e11497da71a028a3aa.

Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-04-04 11:17:06 -07:00
Benjamin Wang
bdbf8a2b6b
Merge pull request #17707 from henrybear327/cve/3.6-bump-go-1.22.2
Bump go-version to 1.22.2 for release-3.6 due to CVE-2023-45288
2024-04-04 15:02:17 +01:00
Chun-Hung Tseng
034574f439
Bump go toolchain version to address CVE-2023-45288
Changes:
- Bump release-3.6 toolchain version to 1.22.2 due to CVE-2023-45288
- Bump golang.org/x/net to v0.23.0
- Update CHANGELOG-3.4, CHANGELOG-3.5, and CHANGELOG-3.6
- Bump go version in rw-heatmaps (which was still at 1.21 where
everything else is at 1.22)

Reference:
- PR #17703

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-04-04 11:06:37 +02:00
Benjamin Wang
984903b16e
Merge pull request #17679 from ArkaSaha30/trivy-scan-head
Add trivy scan action for current branch HEAD
2024-04-04 08:36:13 +01:00
Benjamin Wang
24f5f0659e
Merge pull request #17701 from idnandre/fix-deprecated-error
server/storage: change deprecated bolt error to new error package
2024-04-04 08:30:54 +01:00
James Blair
7b85a7bc70
Merge pull request #17698 from sheyt0/update-changelog-for-17641-17692
changelog: add requests retry when receiving ErrGPRCNotSupportedForLearner
2024-04-04 06:07:34 +02:00
James Blair
557e7f09df
Merge pull request #17700 from imalasong/pr/3
Makefile: perfect .PHONY
2024-04-03 19:39:21 +02:00
idnandre
12fa1bb940 server/storage: change deprecated bolt error to new error package
Signed-off-by: idnandre <andre@idntimes.com>
2024-04-03 19:21:22 +07:00
imalasong
daf893da61 Makefile: perfect .PHONY
Signed-off-by: xiaochangbai <704566072@qq.com>
2024-04-03 16:14:34 +08:00
Ilya Baev
156096a66b changelog: add requests retry when receiving ErrGPRCNotSupportedForLearner
Signed-off-by: Ilya Baev <ilya.baev@gcore.com>
2024-04-03 06:11:44 +00:00
James Blair
547aa643e6
Merge pull request #17694 from henrybear327/fix/golangci-config-run-skip-files
Replace run.skip-files with issues.exclude-files in golangci config
2024-04-03 00:30:42 +02:00
Chun-Hung Tseng
f6eda94579
Replace run.skip-files with issues.exclude-files in golangci config
Address the warning "The configuration option `run.skip-files` is
deprecated, please use `issues.exclude-files`."

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-04-02 22:16:01 +02:00
Benjamin Wang
a08812eb01
Merge pull request #17677 from jmhbnz/fix-release-issues
Fix release git url & document lessons learned
2024-04-02 15:40:26 +01:00
ArkaSaha30
4e639e7e9b
Add trivy scan as a job in release workflow
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-04-02 19:09:08 +05:30
Marek Siarkowicz
09769c4be7
Merge pull request #17642 from fuweid/fix-17506
*: LeaseTimeToLive returns error if leader changed
2024-04-02 14:55:41 +02:00
Marek Siarkowicz
dceb16ca4d
Merge pull request #17691 from ivanvc/ignore-e2e-discovery-test-with-cluster-proxy-tag
tests/e2e: ignore discovery tests when cluster_proxy tag is set
2024-04-02 14:36:16 +02:00
Marek Siarkowicz
f611da66d8
Merge pull request #17675 from callthingsoff/simplify_testutil_assert
client/pkg/testutil: eliminate copyToInterface function
2024-04-02 09:44:01 +02:00
James Blair
b680e24eb3
Merge pull request #17690 from flawedmatrix/fix-trailing-whitespace-in-help
nit: Fix trailing whitespace in etcdmain/help.go
2024-04-02 09:13:32 +02:00
Ivan Valdes
a23507080a
tests/e2e: ignore discovery tests when cluster_proxy tag is set
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-04-01 21:57:11 -07:00
Edwin Xie
fc8568a435 nit: Fix trailing whitespace in etcdmain/help.go
Signed-off-by: Edwin Xie <edwin.xie@broadcom.com>
2024-04-01 22:25:05 +00:00
James Blair
e513b1a6b7
Merge pull request #17682 from etcd-io/dependabot/docker/distroless/static-debian12-8cbe18a8a9a9fefe70590dc8f6a7bc70b4bbe41f262d9dab9084337adabf6d26
build(deps): bump distroless/static-debian12 from `6dcc833` to `8cbe18a`
2024-04-01 20:24:02 +02:00
dependabot[bot]
5f5fddf506
build(deps): bump distroless/static-debian12 from 6dcc833 to 8cbe18a
Bumps distroless/static-debian12 from `6dcc833` to `8cbe18a`.

---
updated-dependencies:
- dependency-name: distroless/static-debian12
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-01 17:18:45 +00:00
Siyuan Zhang
bf44390e79 Add measure-testgrid-flakiness workflow
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-04-01 09:41:48 -07:00
Siyuan Zhang
3f37cd2d73 Add script to detect flaky tests in testgrid.
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-04-01 09:41:42 -07:00
ArkaSaha30
caa523f296
Fix yamllint
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-04-01 18:36:27 +05:30
ArkaSaha30
bdc261a583
Add trivy scan action for current branch HEAD
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-04-01 18:27:02 +05:30
Benjamin Wang
1f8cb28f23
Merge pull request #17678 from new-dream/changelog3.5
changelog: change livez/readyz HTTP endpoints to v3.5.11
2024-04-01 12:31:47 +01:00
Benjamin Wang
5c8a0780f9
Merge pull request #17676 from callthingsoff/refactor_testutil_interestingGoroutines
client/pkg/testutil: add shouldSkip func for interestingGoroutines
2024-04-01 11:44:37 +01:00
new-dream
5766aaf245 changelog: change livez/readyz HTTP endpoints to v3.5.11
Signed-off-by: new-dream <111836360+new-dream@users.noreply.github.com>
2024-04-01 16:19:08 +08:00
James Blair
a9e4e2a240
Improve release documentation.
Capturing lessons learned from etcd 3.5.13 release.

Signed-off-by: James Blair <mail@jamesblair.net>
2024-04-01 08:03:53 +13:00
Benjamin Wang
cc32fa8559
Merge pull request #17618 from Akiqqqqqqq/feature-wal-write-metric
feat: add wal write system call metrics observation (main)
2024-03-31 16:54:20 +01:00
Jes Cok
06b50370fa client/pkg/testutil: add shouldSkip func for interestingGoroutines
interestingGoroutines uses so many strings.Contains checks to determine
whether to continue, I think it can be avoided.

This patch introduces shouldSkip func to do the checks in a loop
to make the logic clearer.

Signed-off-by: Jes Cok <xigua67damn@gmail.com>
2024-03-31 23:37:30 +08:00
James Blair
b82f882c3d
Update release script to use ssh.
From 2021-08-13, GitHub is no longer accepting account passwords when authenticating Git operations. You need to add a PAT (Personal Access Token) instead for HTTPS. We should intead keep things simple and just use ssh to push to GitHub.

Signed-off-by: James Blair <mail@jamesblair.net>
2024-03-31 10:09:51 +13:00
Jes Cok
229ceb3a73 client/pkg/testutil: eliminate copyToInterface function
AssertTrue and AssertFalse use copyToInterface to copy msg. This is
unnecessary, cause we know the msgAndArgs param of assert.Equal is
variadic:
func Equal(t TestingT, expected, actual interface{}, msgAndArgs ...interface{}) bool

This patch removes copyToInterface function, and use msg directly.

Signed-off-by: Jes Cok <xigua67damn@gmail.com>
2024-03-30 23:59:07 +08:00
Benjamin Wang
caca5159f2
Merge pull request #17672 from jmhbnz/update-release-date
Update release date for v3.5.13.
2024-03-30 07:16:03 +00:00
James Blair
747cc7bd7e
Update release date for v3.5.13.
Signed-off-by: James Blair <mail@jamesblair.net>
2024-03-30 08:49:49 +13:00
Marek Siarkowicz
a25497e97d
Merge pull request #17660 from ivanvc/address-server-storage-var-naming-lint-rule
server/storage: address golangci var-naming issues
2024-03-29 10:02:25 +01:00
Benjamin Wang
76f21a1f9d
Merge pull request #17664 from siyuanfoundation/txBuf1
add 3.4 changelog of adding downgrade support.
2024-03-29 07:10:22 +00:00
Siyuan Zhang
fa2c652b1b add 3.4 changelog of adding downgrade support.
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-03-28 15:13:50 -07:00