Commit Graph

859 Commits

Author SHA1 Message Date
James Blair
c81e747947 Automate labels for tools pull requests.
Signed-off-by: James Blair <mail@jamesblair.net>
2024-05-12 22:27:19 +12:00
Lavish pal
6038f391f1 Upgrade go to 1.22.3.
Signed-off-by: Lavish pal <lvishpal408@gmail.com>
2024-05-10 03:27:35 +05:30
Chun-Hung Tseng
69ca6e96fa dependency: bump golang.org/x/net from 0.24.0 to 0.25.0
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-05-09 11:48:14 +02:00
Chun-Hung Tseng
1a1820562d dependency: bump golang.org/x/crypto from 0.22.0 to 0.23.0
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-05-09 11:48:14 +02:00
Chun-Hung Tseng
ee9af3c566 dependency: bump google.golang.org/protobuf from 1.33.0 to 1.34.1
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-05-09 11:48:14 +02:00
Jes Cok
beb5e85dcb tools/benchmark/cmd: eliminate custom max function
Just a code clean-up.

Signed-off-by: Jes Cok <xigua67damn@gmail.com>
2024-05-08 21:52:49 +08:00
Madhav Jivrajani
f6a35f8786 .*: sync go toolchain version and add ability to verify versions
This commit adds a script to sync the version present in .go-version
across all go.mod files as the toolchain directive. As part of that,
this commit also modifies go.mod files that did not have synced toolchain
directives.

Additionally, this also adds a script to verify all toolchain and go
directives against the version present in .go-version as follows:
(1) The go directive <= version in .go-version
(2) The toolchain directive == version in .go-version

This script runs as part of the `make verify` target, making it run
as a presbumit by default.

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2024-05-07 17:52:56 +05:30
Ivan Valdes
f6fa1daab7 tools/testgrid-analysis: fix var-naming warnings
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-05-03 10:41:17 -07:00
Ivan Valdes
6b92a80ded tools/golangci: enable var-naming linter rule
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-05-03 10:41:14 -07:00
tico88612
e3c1812302 testgrid-analysis: tab is unused & remove
Signed-off-by: tico88612 <17496418+tico88612@users.noreply.github.com>
2024-04-26 20:08:05 +08:00
tico88612
6138a4cbba testgrid-analysis: increment-decrement fixed
Signed-off-by: tico88612 <17496418+tico88612@users.noreply.github.com>
2024-04-26 20:08:05 +08:00
Benjamin Wang
a601652b5d Merge pull request #17863 from ivanvc/address-remaining-var-naming-linter-warnings
Address remaining var naming linter warnings
2024-04-24 10:09:39 +01:00
Ivan Valdes
fce8949dd0 tools/etcd-dump-logs: address var-naming lint warnings
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-04-23 20:13:02 -07:00
Chun-Hung Tseng
b010ae0b18 dependency: bump github.com/alexfalkowski/gocovmerge from 1.2.6 to 1.3.4
Reference:
- https://github.com/etcd-io/etcd/pull/17845

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-04-22 19:44:58 +02:00
Chun-Hung Tseng
45eb0110b6 dependency: bump golang.org/x/sync from 0.6.0 to 0.7.0
Reference:
- https://github.com/etcd-io/etcd/pull/17848

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-04-22 19:44:58 +02:00
Chun-Hung Tseng
f696c4c749 dependency: bump github.com/prometheus/common from 0.52.3 to 0.53.0
References:
- https://github.com/etcd-io/etcd/pull/17839
- https://github.com/etcd-io/etcd/pull/17840

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-04-22 19:44:58 +02:00
Sharath Sivakumar
9e938abd91 dependency: bump golang.org/x/net from 0.23.0 to 0.24.0
Signed-off-by: Sharath Sivakumar <mailssr9@gmail.com>
2024-04-21 23:14:29 +02:00
Sharath Sivakumar
a392758755 dependency: bump github.com/prometheus/client_model from 0.6.0 to 0.6.1
Signed-off-by: Sharath Sivakumar <mailssr9@gmail.com>
2024-04-21 22:54:47 +02:00
Sharath Sivakumar
81d7b2cb3d dependency: bump github.com/prometheus/common from 0.51.1 to 0.52.3
Signed-off-by: Sharath Sivakumar <mailssr9@gmail.com>
2024-04-21 22:46:41 +02:00
Marek Siarkowicz
0d9d7451b5 Merge pull request #17788 from ahrtr/db_tool_20240413
Enhance the etcd-dump-db: reuse revision in package mvcc
2024-04-14 10:15:49 +02:00
Benjamin Wang
7ded2ac8de Merge pull request #17785 from siyuanfoundation/flaky
testgrid: print out all failed tests for visibility.
2024-04-13 14:24:04 +01:00
Benjamin Wang
2e900c3047 Enhance the etcd-dump-db: reuse revision in package mvcc
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-04-13 13:56:56 +01:00
Siyuan Zhang
b03368485c testgrid: print out all failed tests for visibility.
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-04-12 12:39:38 -07:00
James Blair
fa08f0196a Merge pull request #17729 from testwill/close_profile
fix: close profile in the mvccPutFunc func
2024-04-12 07:01:46 +12:00
Benjamin Wang
18fd7d67a3 Merge pull request #17767 from henrybear327/dependencies/04_10_2024
[2024-04-10] Bump dependency updates identified by dependabot
2024-04-11 09:35:23 +01:00
Chun-Hung Tseng
c8628919bb dependency: bump google.golang.org/grpc from 1.63.0 to 1.63.2
Reference:
- https://github.com/etcd-io/etcd/pull/17766
- https://github.com/etcd-io/etcd/pull/17765

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-04-10 09:55:21 +02:00
James Blair
d3abeeca47 Merge pull request #17755 from ivanvc/rw-individual-benchmark
tools/rw-heatmaps: allow overriding running parameters
2024-04-10 19:48:53 +12:00
Ivan Valdes
7dfcc60062 tools/rw-heatmaps: add local gitignore file
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-04-09 15:46:12 -07:00
Ivan Valdes
a956f8efad tools/rw-heatmaps: allow overriding running parameters
Currently, the running parameters in the `rw-benchmark.sh` script are
hardcoded. Running this script end to end takes around 48 hours with
7 CPU cores. To split the load into smaller jobs, allow these
variables to be provided at run time.

Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-04-09 15:37:25 -07:00
Chun-Hung Tseng
caf21a94c6 dependency: bump golang.org/x/crypto from 0.21.0 to 0.22.0
References:
- https://github.com/etcd-io/etcd/pull/17746

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-04-09 12:24:57 +02:00
Chun-Hung Tseng
519b2c06e1 dependency: bump google.golang.org/grpc from 1.62.1 to 1.63.0
References:
- https://github.com/etcd-io/etcd/pull/17748
- https://github.com/etcd-io/etcd/pull/17749
- https://github.com/etcd-io/etcd/pull/17750

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-04-09 12:24:57 +02:00
Chun-Hung Tseng
bd044166ce dependency: bump github.com/golangci/golangci-lint from 1.57.1 to 1.57.2
Reference:
- https://github.com/etcd-io/etcd/pull/17738

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-04-08 22:08:59 +02:00
guoguangwu
90152fe419 fix: close profile in the mvccPutFunc func
Signed-off-by: guoguangwu <guoguangwug@gmail.com>
2024-04-08 16:55:39 +08:00
Ivan Valdes
e52d157c80 dependency: Bumps google.golang.org/grpc from 1.57.0 to v1.62.1
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-04-05 12:01:17 -07:00
Ivan Valdes
41baca8a95 dependency: bump golang.org/x/net from 0.22.0 to 0.23.0
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-04-05 12:00:51 -07:00
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
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
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
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
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
Ivan Valdes
0d832ec19b tools/mod: remove reference to github.com/mikefarah/yq/v4
`yq` was a tool initially used to get the project's Go version when it
was running on Travis CI. This was removed at the commit
577c898fee, and the project currently uses
`.go-version` to specify the Go version. Therefore, we can safely delete
this dependency.

Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-03-27 10:26:40 -07:00
Ivan Valdes
139d9c28bd dependency: bump github.com/prometheus/common from 0.50.0 to 0.51.1
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-03-25 14:42:13 -07:00
Ivan Valdes
860c6e03fc dependency: bump github.com/mikefarah/yq/v4 from 4.40.7 to 4.43.1
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-03-25 14:40:32 -07:00
Ivan Valdes
55f9a963bf dependency: bump github.com/cloudflare/cfssl from 1.6.4 to 1.6.5
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-03-25 14:34:52 -07:00
thirdkeyword
fbda591866 fix some typos
Signed-off-by: thirdkeyword <fliterdashen@gmail.com>
2024-03-25 10:34:44 +08:00
Marek Siarkowicz
b643f1b1fe Merge pull request #17562 from serathius/benchmark-put-latency
Improve watch latency benchmark
2024-03-24 21:49:14 +01:00
James Blair
7b7e2e29da dependency: bump go.uber.org/zap from 1.26.0 to 1.27.0.
Signed-off-by: James Blair <mail@jamesblair.net>
2024-03-22 01:41:57 +13:00
James Blair
5568f170de dependency: bump github.com/golangci/golangci-lint from 1.55.2 to 1.57.1.
Signed-off-by: James Blair <mail@jamesblair.net>
2024-03-22 01:35:48 +13:00
Ivan Valdes
ef38180ae7 dependency: bump github.com/rivo/uniseg from 0.2.0 to 0.4.7
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-03-12 11:12:07 -07:00