21362 Commits

Author SHA1 Message Date
Marek Siarkowicz
d8bb19327b Prevent picking a failpoint that waiting till snapshot that doesn't support lower snapshot catchup entries but allow reproducing issue #15271
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2024-05-13 12:08:42 +02:00
James Blair
333bd7bf76
Merge pull request #17979 from jmhbnz/add-owner-file-labels
Add nested owners files to automate labeling pull requests
2024-05-13 07:39:50 +12:00
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
James Blair
1b006577d2
Automate labels for contrib pull requests.
Signed-off-by: James Blair <mail@jamesblair.net>
2024-05-12 22:24:21 +12:00
James Blair
f0a934adeb
Automate labels for etcdctl & etcdutl pull requests.
Signed-off-by: James Blair <mail@jamesblair.net>
2024-05-12 22:24:21 +12:00
James Blair
83d28a17ae
Automate labels for documentation pull requests.
Signed-off-by: James Blair <mail@jamesblair.net>
2024-05-12 22:24:21 +12:00
James Blair
0d51929c99
Automate labels for clientv3 pull requests.
Signed-off-by: James Blair <mail@jamesblair.net>
2024-05-12 22:24:21 +12:00
James Blair
2fa2613ca0
Automate labels for security pull requests.
Signed-off-by: James Blair <mail@jamesblair.net>
2024-05-12 22:24:21 +12:00
James Blair
2e70fc7d1d
Automate labels for tests pull requests.
Signed-off-by: James Blair <mail@jamesblair.net>
2024-05-12 22:24:21 +12:00
James Blair
8846ffb3eb
Merge pull request #17984 from jimmy-bro/flaky
github workflow: fix all apt-install  error return code
2024-05-12 22:21:01 +12:00
Jimmy-
5fcc0fe0a9 fix: Use apt -o APT::Update::Error-Mode=any for updating package lists
Signed-off-by: Jimmy- <43562694+jimmy-bro@users.noreply.github.com>
2024-05-11 23:19:39 +08:00
Benjamin Wang
2eb01b17ee
Merge pull request #17978 from ivanvc/update-changelog-3.5-pr-17977
changelog: add note from #17977 backport
2024-05-11 13:13:06 +01:00
Ivan Valdes
7185ee887d
changelog: add note from #17977 backport
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-05-10 06:01:40 -04:00
James Blair
58a71a22f3
Merge pull request #17975 from lavishpal/upgrade/go-to-1.22.3
dependency: upgrade go to 1.22.3
2024-05-10 15:08:58 +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
Marek Siarkowicz
dc35b6493f
Merge pull request #17966 from serathius/robustness-relax
Relax assumptions about all client request persisted in WAL to only require first and last request to be persisted
2024-05-09 17:51:27 +02:00
Benjamin Wang
d14a24783b
Merge pull request #17973 from henrybear327/dependency_update/5_6_24
[2024-05-06] Bump dependency updates identified by dependabot
2024-05-09 14:22:32 +01:00
Chun-Hung Tseng
3375e89b11 Fix issue reported by static analyzer
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-05-09 13:58:29 +02:00
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
41ba741db1 dependency: bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.50.0 to 0.51.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
Marek Siarkowicz
e1244f19d6
Merge pull request #17918 from serathius/robustness-serializable-validation-test
Add tests to serializable operations validation
2024-05-09 11:07:49 +02:00
James Blair
905f0f1d9f
Merge pull request #17971 from callthingsoff/eliminate_max
tools/benchmark/cmd: eliminate custom max function
2024-05-09 20:21:21 +12:00
Marek Siarkowicz
b8ffc5e8c0
Merge pull request #17967 from serathius/robustness-update-readme
Update the robustness README and fix the #14370 reproduction case
2024-05-09 10:05:27 +02:00
Marek Siarkowicz
c4ff2c20bd
Merge pull request #17965 from serathius/makefile-cache
Fix caching by not depending on PHONY target in non-PHONY target
2024-05-08 16:47:45 +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
Marek Siarkowicz
f5c0e785a7 Fix caching by not depending on PHONY target in non-PHONY target
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2024-05-08 14:29:28 +02:00
Marek Siarkowicz
b883f839f1 Add tests to serializable operations validation
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2024-05-08 12:29:55 +02:00
Marek Siarkowicz
bb398a0e6c
Merge pull request #17889 from serathius/robustness-operations-failpoints
Robustness operations failpoints
2024-05-08 11:37:22 +02:00
Marek Siarkowicz
be9758e2bc Update the robustness README and fix the #14370 reproduction case
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2024-05-08 11:31:28 +02:00
Benjamin Wang
570370f6e7
Merge pull request #17876 from MadhavJivrajani/go-directive-periodic
[RFC] Setup a way to consistently manage go versions across scripts and go.mods
2024-05-08 09:47:13 +01:00
Marek Siarkowicz
7181c7532f Relax assumptions about all client request persisted in WAL to only require first and last request to be persisted
This assumption is not true during durability issues like #14370.
In reality we want to avoid situations where WAL is was truncated, for
that it's enough that we ensure that first and last operations are
present.

Found it when running `make test-robustness-issue14370` and instead of
getting `Model is not linearizable` I got that assumptions were broken.

Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2024-05-08 10:40:38 +02:00
Benjamin Wang
7bff148052
Merge pull request #17963 from callthingsoff/use_min_max
pkg/report: make use of builtin min/max function
2024-05-08 06:38:27 +01:00
Benjamin Wang
fef42363a3
Merge pull request #17861 from clwluvw/cn-hostname-configfile
config: support AllowedCN and AllowedHostname through config file
2024-05-08 06:36:30 +01:00
James Blair
e8c975232d
Merge pull request #17962 from tjungblu/cl_debug_35
update changelog for experimental-stop-grpc-service-on-defrag
2024-05-08 16:16:37 +12:00
Seena Fallah
b31f23e113 config: support AllowedCN and AllowedHostname through config file
Allow setting AllowedCN and AllowedHostname tls fields through config file for peer transport security.

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
2024-05-07 22:39:16 +02:00
Thomas Jungblut
bcf6a8c65a update changelog for experimental-stop-grpc-service-on-defrag
Signed-off-by: Thomas Jungblut <tjungblu@redhat.com>
2024-05-07 16:36:07 +02:00
Jes Cok
6b517bfb4b pkg/report: make use of builtin min/max function
This patch eliminates the minDuration and maxDuration functions,
simplifies the code.

Signed-off-by: Jes Cok <xigua67damn@gmail.com>
2024-05-07 22:36:05 +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
Madhav Jivrajani
e094139b05 scripts: default to using .go-version's version for tests and builds
Additionally, provide ability to opt-out of the .go-version and use a
custom one via env vars: FORCE_HOST_GO and GO_VERSION.

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2024-05-07 17:52:56 +05:30
Marek Siarkowicz
126e0d511f
Merge pull request #17933 from siyuanfoundation/log
robustness: add 2 more log lines when persistClientReports
2024-05-07 09:17:22 +02:00
Benjamin Wang
3536195557
Merge pull request #17949 from etcd-io/dependabot/github_actions/actions/setup-go-5.0.1
build(deps): bump actions/setup-go from 5.0.0 to 5.0.1
2024-05-06 19:47:43 +01:00
Benjamin Wang
b54a5ce0ef
Merge pull request #17947 from ArkaSaha30/bbolt-bump-1.4.0-alpha.1
dependency: bump go.etcd.io/bbolt from v1.4.0-alpha.0 to v1.4.0-alpha.1
2024-05-06 18:35:39 +01:00
dependabot[bot]
50f9062993
build(deps): bump actions/setup-go from 5.0.0 to 5.0.1
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](0c52d547c9...cdcb360436)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 17:06:58 +00:00
Siyuan Zhang
dd79332cf6 robustness: add 2 more log lines when persistClientReports
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-05-06 09:53:39 -07:00
Benjamin Wang
8cb46a25fb
Merge pull request #17948 from tjungblu/cl_bbupg
Update changelog with bbolt bumps
2024-05-06 17:07:11 +01:00
Thomas Jungblut
a54b08016a Update changelog with bbolt bumps
Signed-off-by: Thomas Jungblut <tjungblu@redhat.com>
2024-05-06 16:49:37 +02:00
ArkaSaha30
7a383beba3
dependency: bump go.etcd.io/bbolt from v1.4.0-alpha.0 to v1.4.0-alpha.1
This commit will bump go.etcd.io/bbolt from
v1.4.0-alpha.0 to v1.4.0-alpha.1 for etcd 3.6

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-05-06 19:53:29 +05:30
Benjamin Wang
5e25864048
Merge pull request #17942 from tjungblu/cl_quota_36
Update changelog with quota to endpoint status response
2024-05-06 10:13:33 +01:00