20873 Commits

Author SHA1 Message Date
Chao Chen
8a6c1335e2 v3rpc: run health notifier to listen on online defrag state change
Signed-off-by: Chao Chen <chaochn@amazon.com>
2023-10-28 17:49:24 -07:00
Benjamin Wang
5fad87c2ab
Merge pull request #16840 from serathius/date-v3.5.10
Update date of v3.5.10 release
2023-10-27 13:53:35 +01:00
Marek Siarkowicz
6b9fb706d9 Update date of v3.5.10 release
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-10-27 13:41:59 +02:00
Benjamin Wang
a4f507c30a
Merge pull request #16832 from ahrtr/3.6_bump_bbolt_1.3.8_20231026
Bump bbolt to 1.3.8 for main branch
2023-10-27 09:22:59 +01:00
Benjamin Wang
1101655b9f bump bbolt to 1.3.8 for main branch
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-10-26 16:34:15 +01:00
Marek Siarkowicz
2dc62757f5
Merge pull request #16824 from jmhbnz/fix-robustness-arm64-runs-on
Fix arm64 robustness and stop running workflows in containers
2023-10-26 10:44:40 +02:00
James Blair
6dea713f7d
Stop running test workflows in containers.
Signed-off-by: James Blair <mail@jamesblair.net>
2023-10-26 20:52:04 +13:00
James Blair
cd26faf282
Fix runs-on for arm64 robustness.
Signed-off-by: James Blair <mail@jamesblair.net>
2023-10-26 07:21:54 +13:00
Marek Siarkowicz
4d77fd1efa
Merge pull request #16278 from chaochn47/grpc_health_check_poc
gRPC health server sets serving status to NOT_SERVING on defrag
2023-10-25 19:42:40 +02:00
Chao Chen
9a5923098b CHANGELOG-3.6.md: add etcd --experimental-stop-grpc-service-on-defrag
Signed-off-by: Chao Chen <chaochn@amazon.com>
2023-10-25 08:59:25 -07:00
Chao Chen
913c8258f9 tests: add client failover on defrag test case in e2e
Signed-off-by: Chao Chen <chaochn@amazon.com>
2023-10-25 08:59:07 -07:00
Chao Chen
ea035471ce online defrag notifies gRPC health server to expose NOT_SERVING status
Signed-off-by: Chao Chen <chaochn@amazon.com>
2023-10-25 08:58:33 -07:00
Marek Siarkowicz
5761f9c28f
Merge pull request #16825 from jmhbnz/revert-robustness-to-old-runners
Revert runner change for main robustness nightly
2023-10-25 15:24:26 +02:00
James Blair
b9498fd24e
Revert runner change for main robustness nightly.
Until we can resolve issues with fuse for new actuated runner.

Signed-off-by: James Blair <mail@jamesblair.net>
2023-10-26 00:55:43 +13:00
Benjamin Wang
3347568cc0
Merge pull request #16821 from ahrtr/workflow_20231024
Schedule the arm64 related workflow nightly
2023-10-24 20:16:50 +01:00
Benjamin Wang
974679fb34 schedule the arm64 related workflow nightly
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-10-24 19:08:27 +01:00
Benjamin Wang
0f919ccd8c
Merge pull request #16801 from alexellis/actuated/managed-arm64
Switch over to managed Arm64 hosts
2023-10-24 18:23:04 +01:00
Alex Ellis (OpenFaaS Ltd)
a83f58019b Enable manual testing of e2e-arm64-nightly job
Adding workflow_dispatch as an "on" trigger enables
manual testing by maintainers, without having to wait for
the nightly cron schedule.

@ahrtr requested this temporary change in order to trigger
the arm64 jobs via CI.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2023-10-24 12:04:52 +01:00
Benjamin Wang
4777126c09
Merge pull request #16810 from ahrtr/bump_raft_20231023
Bump raft to latest commit
2023-10-24 10:56:51 +01:00
Benjamin Wang
34382006db test: implement method ForgetLeader for struct nodeRecorder
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-10-24 10:19:13 +01:00
Benjamin Wang
ae60b5567a bump raft to latest commit
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-10-24 10:17:57 +01:00
Benjamin Wang
b2fff4ee7f
Merge pull request #16820 from jmhbnz/weekly-dependency-update
[2023-10-24] Bump dependencies identified by dependabot
2023-10-24 10:04:54 +01:00
James Blair
d2af596a98
depdendency: bump github.com/prometheus/common from 0.44.0 to 0.45.0.
Signed-off-by: James Blair <mail@jamesblair.net>
2023-10-24 17:44:01 +13:00
James Blair
e6e740fb80
depdendency: bump google.golang.org/grpc from 1.58.3 to 1.59.0.
Signed-off-by: James Blair <mail@jamesblair.net>
2023-10-24 17:39:39 +13:00
Benjamin Wang
406cb94b6f
Merge pull request #16816 from etcd-io/dependabot/github_actions/actions/checkout-4.1.1
build(deps): bump actions/checkout from 4.1.0 to 4.1.1
2023-10-23 19:37:12 +01:00
dependabot[bot]
297973f1f9
build(deps): bump actions/checkout from 4.1.0 to 4.1.1
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](8ade135a41...b4ffde65f4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 17:52:59 +00:00
Benjamin Wang
02c7f94887
Merge pull request #16815 from etcd-io/dependabot/github_actions/github/codeql-action-2.22.4
build(deps): bump github/codeql-action from 2.22.3 to 2.22.4
2023-10-23 18:52:09 +01:00
dependabot[bot]
6e9f458a47
build(deps): bump github/codeql-action from 2.22.3 to 2.22.4
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.22.3 to 2.22.4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](0116bc2df5...49abf0ba24)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 17:16:09 +00:00
Alex Ellis (OpenFaaS Ltd)
286bb0bace Switch over to managed Arm64 hosts
This change switches over from 2x self-managed runners where
side effects are possible between builds, to a pool of servers
where each build runs in an isolated VM.

The service is provided by actuated.dev, and sponsored by
both Ampere and the CNCF.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2023-10-23 18:13:14 +01:00
Benjamin Wang
7f2936dfba
Merge pull request #16762 from chaochn47/changelog-grpc-1.47.0
CHANGELOG-3.5.md: Upgrade gRPC to 1.58.3
2023-10-20 19:23:22 +01:00
Chao Chen
ee60146141 CHANGELOG-3.5.md: Upgrade gRPC to 1.47.0
Signed-off-by: Chao Chen <chaochn@amazon.com>
2023-10-20 08:30:55 -07:00
Benjamin Wang
44ce4f9280
Merge pull request #16698 from chaochn47/health_check_e2e_test
add existing http health check handler e2e test
2023-10-19 10:41:01 +01:00
Marek Siarkowicz
45fb4565e3
Merge pull request #16786 from serathius/robustness-drop-packet
Implement random packet dropping
2023-10-19 08:44:23 +02:00
Chao Chen
1324f03254 add existing http health check handler e2e test
Signed-off-by: Chao Chen <chaochn@amazon.com>
2023-10-18 12:42:23 -07:00
Benjamin Wang
262a3a1208
Merge pull request #16793 from jmhbnz/main
Direct questions to our discussion forums
2023-10-18 11:15:13 +01:00
Benjamin Wang
d8c410ff82
Merge pull request #16791 from chaochn47/remove-deprecated-gRPC-API
remove deprecated gRPC API usage
2023-10-18 11:13:09 +01:00
Marek Siarkowicz
aa28a69ce0 Implement random packet dropping
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-10-18 10:14:43 +02:00
Marek Siarkowicz
11edde9204
Merge pull request #16622 from fuweid/fix-unparam-lint
*: enable and fix unparam lint
2023-10-18 09:21:22 +02:00
James Blair
ff748640b2
Direct questions to our discussion forums.
Signed-off-by: James Blair <mail@jamesblair.net>
2023-10-18 14:14:34 +13:00
Chao Chen
3c6d2e972d remove deprecated gRPC API usage
Signed-off-by: Chao Chen <chaochn@amazon.com>
2023-10-17 15:51:25 -07:00
Benjamin Wang
bbf59a9f26
Merge pull request #16789 from fuweid/cleanup-build-cov
*: cleanup main_test.go
2023-10-17 16:31:52 +01:00
Wei Fu
f96000e15d *: cleanup main_test.go
The #15544 has removed the `build_cov` build. And after go1.20, we use
`-cover` buildflag to enable coverage exporter. We don't need to
maintain main_test.go anymore.

```bash
➜  pwd
/home/fuwei/go/src/go.etcd.io/etcd/etcdctl

➜  go build -o /tmp/etcdctl -cover ./

➜  mkdir /tmp/etcdctl-covdata

➜  GOCOVERDIR=/tmp/etcdctl-covdata /tmp/etcdctl get /health

➜  go tool covdata percent -i=/tmp/etcdctl-covdata
        go.etcd.io/etcd/etcdctl/v3      coverage: 66.7% of statements
        go.etcd.io/etcd/etcdctl/v3/ctlv3        coverage: 83.3% of statements
        go.etcd.io/etcd/etcdctl/v3/ctlv3/command        coverage: 15.4% of statements
```

REF: https://go.dev/testing/coverage/

Signed-off-by: Wei Fu <fuweid89@gmail.com>
2023-10-17 21:47:23 +08:00
Wei Fu
aea1cd0077 feat: enable unparam lint
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2023-10-17 21:24:13 +08:00
Evan Jones
85bd1af331
osutil: remove unused Unsetenv function
The osutil.Unsetenv function is not used. Today, os.Unsetenv exists
in the standard library, and is already used elsewhere in etcd.
Removing this function could break things that may be importing this
package. According to pkg.go.dev, it seems like the only thing is
etcd forks, so it may be worth getting rid of this code. See:

https://pkg.go.dev/github.com/coreos/etcd/pkg/osutil?tab=importedby

Signed-off-by: Evan Jones <ej@evanjones.ca>
2023-10-17 09:07:47 -04:00
Benjamin Wang
be83fffedb
Merge pull request #16778 from QuentinBisson/patch-1
Fix cluster variable in mixins
2023-10-17 12:59:31 +01:00
Marek Siarkowicz
cba514ef0e
Merge pull request #16651 from siyuanfoundation/livez-pr
Add livez and readyz for etcd
2023-10-17 13:37:45 +02:00
Marek Siarkowicz
e51b639520
Merge pull request #16766 from serathius/robustness-member-replace
Add member replace failpoint to robustness tests
2023-10-17 13:36:21 +02:00
Marek Siarkowicz
5fed813f2e
Merge pull request #16767 from serathius/robustness-main-test
Make the main_test the entrypoint and move senario generation to separate file
2023-10-17 13:09:16 +02:00
Benjamin Wang
36a37190f6
Merge pull request #16783 from sharathsivakumar/shsi/bump_deps_7
Bump dependencies manually
2023-10-17 11:07:43 +01:00
Sharath Sivakumar
b5622a24ba
dependency: bump github.com/google/go-cmp from 0.5.9 to 0.6.0
Signed-off-by: Sharath Sivakumar <mailssr9@gmail.com>
2023-10-17 11:24:25 +02:00