Ivan Valdes
7e66d3a9fc
scripts/release: Use go mod
instead of go list
...
Replace `go list -m` with `go mod edit -json`, as the latter can return
the same information. This will be helpful when the project migrates to
using a Go workspace, as it will return the current module defined in
go.mod rather than all the modules from the current directory (using a
workspace, the top-level go.mod will return all the child modules from
the repository).
Signed-off-by: Ivan Valdes <ivan@vald.es>
2025-03-05 22:50:15 -08:00
James Blair
930bf4c41b
Merge pull request #19543 from ivanvc/update-changelog-v3.5.19-v3.6.0-rc.2
...
Update changelog with v3.5.19 v3.6.0-rc.2 release dates
2025-03-06 19:18:07 +13:00
Ivan Valdes
5dea90cc95
CHANGELOG: Set v3.6.0-rc.2 release date
...
Signed-off-by: Ivan Valdes <ivan@vald.es>
2025-03-05 11:57:09 -08:00
Ivan Valdes
b88df6ea53
CHANGELOG: Set v3.5.19 release date
...
Signed-off-by: Ivan Valdes <ivan@vald.es>
2025-03-05 11:56:54 -08:00
Benjamin Wang
f0a1ec501b
Merge pull request #19538 from fuweid/deflaky-TestCompactionHash-in-integration
...
deflakey: TestCompactionHash in integration
2025-03-05 18:56:07 +00:00
Wei Fu
b58e9f522f
deflakey: TestCompactionHash in integration
...
We should use WithCompactPhysical to wait for compaction to finish,
because 50ms sleep can't guarantee compaction is done.
Based on the log, the defragment is finished before compaction, which is
not expected. This patch is to make sure compaction should be finished
before assertation.
```
=========================== defragment ==============
logger.go:146: 2025-02-27T07:57:18.652Z INFO m0 finished defragment {"member": "m0"}
=====================================================
logger.go:146: 2025-02-27T07:57:18.652Z INFO m0 grpc service status changed {"member": "m0", "service": "", "status": "SERVING"}
logger.go:146: 2025-02-27T07:57:18.653Z INFO grpc [[core] [Channel #1457 ]Channel Connectivity change to SHUTDOWN]
logger.go:146: 2025-02-27T07:57:18.653Z INFO grpc [[core] [Channel #1457 ]Closing the name resolver]
logger.go:146: 2025-02-27T07:57:18.653Z INFO grpc [[core] [Channel #1457 ]ccBalancerWrapper: closing]
logger.go:146: 2025-02-27T07:57:18.653Z INFO grpc [[core] [Channel #1457 SubChannel #1458 ]Subchannel Connectivity change to SHUTDOWN]
logger.go:146: 2025-02-27T07:57:18.653Z INFO grpc [[core] [Channel #1457 SubChannel #1458 ]Subchannel deleted]
logger.go:146: 2025-02-27T07:57:18.654Z INFO grpc [[transport] [client-transport 0xc00237bd48] Closing: rpc error: code = Canceled desc = grpc: the client connection is closing]
logger.go:146: 2025-02-27T07:57:18.654Z INFO grpc [[transport] [client-transport 0xc00237bd48] loopyWriter exiting with error: rpc error: code = Canceled desc = grpc: the client connection is closing]
logger.go:146: 2025-02-27T07:57:18.654Z INFO grpc [[transport] [server-transport 0xc0006bb520] Closing: EOF]
logger.go:146: 2025-02-27T07:57:18.654Z INFO grpc [[core] [Channel #1457 ]Channel deleted]
logger.go:146: 2025-02-27T07:57:18.654Z INFO grpc [[transport] [server-transport 0xc0006bb520] loopyWriter exiting with error: transport closed by client]
hash.go:82:
Error Trace: /home/prow/go/src/github.com/etcd-io/etcd/server/storage/mvcc/testutil/hash.go:82
/home/prow/go/src/github.com/etcd-io/etcd/server/storage/mvcc/testutil/hash.go:44
Error: Not equal:
expected: testutil.KeyValueHash{Hash:0x94694091, CompactRevision:1278, Revision:2507}
actual : testutil.KeyValueHash{Hash:0x58af47dc, CompactRevision:2488, Revision:2507}
Diff:
--- Expected
+++ Actual
@@ -1,4 +1,4 @@
(testutil.KeyValueHash) {
- Hash: (uint32) 2489925777,
- CompactRevision: (int64) 1278,
+ Hash: (uint32) 1487882204,
+ CompactRevision: (int64) 2488,
Revision: (int64) 2507
Test: TestCompactionHash
Messages: hashes do not match on rev 2488
cluster.go:1423: ========= Cluster termination started =====================
logger.go:146: 2025-02-27T07:57:18.655Z INFO grpc [[core] [Channel #1377 ]Channel Connectivity change to SHUTDOWN]
logger.go:146: 2025-02-27T07:57:18.655Z INFO grpc [[core] [Channel #1377 ]Closing the name resolver]
logger.go:146: 2025-02-27T07:57:18.655Z INFO grpc [[core] [Channel #1377 ]ccBalancerWrapper: closing]
logger.go:146: 2025-02-27T07:57:18.656Z INFO grpc [[core] [Channel #1377 SubChannel #1378 ]Subchannel Connectivity change to SHUTDOWN]
logger.go:146: 2025-02-27T07:57:18.656Z INFO grpc [[core] [Channel #1377 SubChannel #1378 ]Subchannel deleted]
logger.go:146: 2025-02-27T07:57:18.656Z INFO grpc [[transport] [client-transport 0xc0025f2248] Closing: rpc error: code = Canceled desc = grpc: the client connection is closing]
logger.go:146: 2025-02-27T07:57:18.656Z INFO grpc [[transport] [client-transport 0xc0025f2248] loopyWriter exiting with error: rpc error: code = Canceled desc = grpc: the client connection is closing]
logger.go:146: 2025-02-27T07:57:18.656Z INFO grpc [[transport] [server-transport 0xc000b56ea0] Closing: EOF]
=========================== compaction ==============
logger.go:146: 2025-02-27T07:57:18.656Z INFO m0 finished scheduled compaction {"member": "m0", "compact-revision": 2488, "took": "129.590742ms", "hash": 2489925777, "current-db-size-bytes": 40960, "current-db-size": "41 kB", "current-db-size-in-use-bytes": 40960, "current-db-size-in-use": "41 kB"}
=====================================================
```
Fixes : #19497
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2025-03-05 11:56:36 -05:00
James Blair
316991e8d1
Merge pull request #19523 from ArkaSaha30/deps_mgmt_5_2_25
...
[2025-02-03] Manual Dependency Bump
2025-03-05 23:32:30 +13:00
ArkaSaha30
31ff0a9cc8
dependency: bump github.com/rogpeppe/go-internal from v1.13.1 to v1.14.1
...
This commit will bump inderect dependency(of github.com/golangci/golangci-lint) github.com/rogpeppe/go-internal from v1.13.1 to v1.14.1
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2025-03-05 13:10:52 +05:30
ArkaSaha30
b9ceba8c9f
dependency: bump golang.org/x/net from v0.35.0 to v0.36.0
...
This commit will bump dependency golang.org/x/net from v0.35.0 to v0.36.0
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2025-03-05 13:10:52 +05:30
ArkaSaha30
5da0dc0091
dependency: bump github.com/golangci/golangci-lint from 1.64.5 to 1.64.6
...
This commit will bump dependency github.com/golangci/golangci-lint from 1.64.5 to 1.64.6
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2025-03-05 13:10:52 +05:30
ArkaSaha30
04710062d1
dependency: bump github.com/prometheus/client_golang from 1.20.5 to 1.21.0
...
This commit will bump dependency github.com/prometheus/client_golang from 1.20.5 to 1.21.0
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2025-03-05 13:10:52 +05:30
ArkaSaha30
7c866508ef
dependency: bump github.com/klauspost/compress from 1.17.9 to 1.18.0
...
This commit will bump dependency github.com/klauspost/compress from 1.17.9 to 1.18.0
which is an indirect dependency of the direct dependency: github.com/prometheus/client_golang
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2025-03-05 13:10:52 +05:30
ArkaSaha30
fa3dca3f41
dependency: bump github.com/google/go-cmp from 0.6.0 to 0.7.0
...
This commit will bump dependency github.com/google/go-cmp from 0.6.0 to 0.7.0
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2025-03-05 13:10:43 +05:30
ArkaSaha30
a9b24c6523
dependency: bump golang.org/x/crypto from 0.33.0 to 0.35.0
...
This commit will bump dependency golang.org/x/crypto from 0.33.0 to 0.35.0
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2025-03-05 13:10:42 +05:30
ArkaSaha30
ceb11b7ce9
dependency: bump github.com/cheggaaa/pb/v3 from 3.1.6 to 3.1.7
...
This commit will bump dependency github.com/cheggaaa/pb/v3 from 3.1.6 to 3.1.7
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2025-03-05 13:10:42 +05:30
Benjamin Wang
e69f9c78ac
Merge pull request #19532 from ivanvc/update-changelog
...
Update CHANGELOGs with recent merged pull requests
2025-03-05 07:13:30 +00:00
Benjamin Wang
bf9d6f588c
Merge pull request #19520 from ivanvc/add-verity-released-assets-github-workflow
...
Add verify release assets GitHub workflow
2025-03-05 07:09:26 +00:00
Ivan Valdes
fa9233bbbc
Update CHANGELOGs with recent merged pull requests
...
Include notes from:
v3.4:
- #19529
- #19533
v3.5:
- #19528
- #19530
v3.6:
- #19495
- #19527
- #19531
- #19522
Signed-off-by: Ivan Valdes <ivan@vald.es>
2025-03-04 21:29:06 -08:00
Ivan Valdes
215ab98a5f
Add verify released binary assets GitHub workflow
...
Signed-off-by: Ivan Valdes <ivan@vald.es>
2025-03-04 15:23:02 -08:00
Benjamin Wang
3d381537cc
Merge pull request #19521 from ahrtr/curl_watch_20250304
...
Fix the issue of etcdserver crashing on receiving REST watch stream requests
2025-03-04 19:52:50 +00:00
Benjamin Wang
d23b0785c1
ensure google.golang.org/genproto/googleapis/rpc version consistent
...
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2025-03-04 18:14:13 +00:00
Benjamin Wang
9fcb5f6ae4
re-generate api/etcdserverpb/gw/rpc.pb.gw.go
...
Executed ./scripts/genproto.sh
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2025-03-04 18:08:28 +00:00
Benjamin Wang
e2459c0323
Bump grpc-gateway to v2.26.3
...
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2025-03-04 18:00:03 +00:00
Benjamin Wang
65691111dc
Create an e2e test to reproduce the issue of etcdserver crashing on REST watch requests
...
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2025-03-04 14:00:25 +00:00
Benjamin Wang
2f15f0859f
Merge pull request #19517 from etcd-io/dependabot/github_actions/github/codeql-action-3.28.10
...
build(deps): bump github/codeql-action from 3.28.9 to 3.28.10
2025-03-04 13:19:27 +00:00
Benjamin Wang
4523ff77c9
Merge pull request #19518 from etcd-io/dependabot/github_actions/ossf/scorecard-action-2.4.1
...
build(deps): bump ossf/scorecard-action from 2.4.0 to 2.4.1
2025-03-04 13:13:28 +00:00
Benjamin Wang
edfb9b7565
Merge pull request #19519 from etcd-io/dependabot/github_actions/actions/upload-artifact-4.6.1
...
build(deps): bump actions/upload-artifact from 4.6.0 to 4.6.1
2025-03-04 13:12:54 +00:00
dependabot[bot]
7c7f69e35a
build(deps): bump actions/upload-artifact from 4.6.0 to 4.6.1
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.6.0 to 4.6.1.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](65c4c4a1dd...4cec3d8aa0
)
---
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>
2025-03-03 17:45:21 +00:00
dependabot[bot]
25d8e7fb40
build(deps): bump ossf/scorecard-action from 2.4.0 to 2.4.1
...
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action ) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/ossf/scorecard-action/releases )
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md )
- [Commits](62b2cac7ed...f49aabe0b5
)
---
updated-dependencies:
- dependency-name: ossf/scorecard-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-03 17:45:18 +00:00
dependabot[bot]
f9c68849ab
build(deps): bump github/codeql-action from 3.28.9 to 3.28.10
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.28.9 to 3.28.10.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](9e8d0789d4...b56ba49b26
)
---
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>
2025-03-03 17:45:14 +00:00
Benjamin Wang
4ef3b376b7
Merge pull request #19358 from ivanvc/remove-release-tests-workflow
...
github workflows: remove release tests
2025-03-03 09:38:36 +00:00
Benjamin Wang
e99f20a639
Merge pull request #19504 from tcchawla/fix-19500
...
tests: deflakey TestLeaseGrantKeepAliveOnce
2025-03-03 09:36:10 +00:00
tcchawla
3e43e4594e
tests: deflakey TestLeaseGrantKeepAliveOnce
...
Signed-off-by: tcchawla <tc.chawla2000@gmail.com>
2025-03-02 16:53:54 +05:30
Ivan Valdes
ed975c2677
github workflows: remove release tests
...
This workflow has already been migrated to the prow infrastructure as a
presubmit job.
Signed-off-by: Ivan Valdes <ivan@vald.es>
2025-02-27 23:45:32 -08:00
Benjamin Wang
3a2cece119
Merge pull request #19502 from ah8ad3/changelog_v3.7
...
Add change log 3.7
2025-02-28 07:31:49 +00:00
Ahmad Zolfaghari
a6b3c93cb4
Add UsageFunc to deprecation section in 3.7 changelog.
...
Signed-off-by: Ahmad Zolfaghari <ah8ad3@gmail.com>
2025-02-27 20:29:16 +03:30
Benjamin Wang
5c147c0144
Merge pull request #19498 from ashikjm/typo-fix
...
etcdserver: Fixing minor typos in v3election.proto and rpc.proto
2025-02-27 15:47:30 +00:00
Benjamin Wang
9b31bdc7a8
Merge pull request #19496 from ivanvc/remove-grpcproxy-workflows
...
github/workflows: delete grpcproxy workflow
2025-02-27 14:50:20 +00:00
Marek Siarkowicz
ac064e860c
Merge pull request #19470 from beforetech/main
...
refactor: use a more straightforward return value
2025-02-27 13:39:58 +01:00
Benjamin Wang
b9298ed950
Merge pull request #18356 from ah8ad3/move-cobra-from-pkg
...
etcdctl: move cobra helper of etcdctl from main pkg to etcdctl pkg
2025-02-27 12:21:40 +00:00
Ashik J M
f5409c4227
etcdserver: Fixing minor typos in v3election.proto and rpc.proto
...
Signed-off-by: Ashik J M <ashikjm@gmail.com>
2025-02-27 17:50:02 +05:30
ah8ad3
d42b0434a6
Copy cobra helper of etcdctl from main pkg to etcdctl pkg and add a deprecation note for UsageFunc.
...
Signed-off-by: ah8ad3 <ah8ad3@gmail.com>
2025-02-27 14:46:43 +03:30
Benjamin Wang
a423349c07
Merge pull request #19488 from mmorel-35/golangci-lint/usetesting
...
chore: use usetesting instead of tenv
2025-02-27 07:50:17 +00:00
Ivan Valdes
b1ecb206b4
github/workflows: delete grpcproxy workflow
...
This job is already running on the Prow infrastructure.
Signed-off-by: Ivan Valdes <ivan@vald.es>
2025-02-26 22:26:24 -08:00
Benjamin Wang
49fbd1ef95
Merge pull request #19452 from gangli113/featuregate
...
Add prometheus metric for server feature gate
2025-02-26 21:34:11 +00:00
Gang Li
d76671ca80
add prometheus metric
...
Signed-off-by: Gang Li <ganglica@google.com>
Signed-off-by: Gang Li <gangligit@gmail.com>
2025-02-26 10:37:08 -08:00
Benjamin Wang
6ecb6fba34
Merge pull request #19486 from ivanvc/address-govet-1.24-errors
...
Address Go 1.24 govet errors
2025-02-26 12:17:21 +00:00
Matthieu MOREL
a8d8c1887f
chore: use usetesting instead of tenv
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2025-02-26 07:54:22 +01:00
Ivan Valdes
16b1460b5d
Address Go 1.24 govet errors
...
Signed-off-by: Ivan Valdes <ivan@vald.es>
2025-02-25 17:10:56 -08:00
Benjamin Wang
47e764fd6b
Merge pull request #19484 from jmhbnz/main
...
Add release date for `v3.4.36` and `v3.6.0-rc.1`
2025-02-25 20:57:00 +00:00