18141 Commits

Author SHA1 Message Date
Marek Siarkowicz
82a258dc3c
Merge pull request #13981 from serathius/test-release
scripts: Add tests for release scripts
2022-04-26 16:46:11 +02:00
Marek Siarkowicz
dd98f1ceb3
Make DRY_RUN explicit 2022-04-26 15:42:45 +02:00
ahrtr
24002fb099 allocate unique port for each member in test cases 2022-04-26 12:32:00 +08:00
Bogdan Kanivets
67f3bb3ad4 tests/common/lease: don't use revision to wait for leases
Problem: TestLeaseGrantAndList is flaky because lists won't match at the end.
Test uses revision to verify that all members got leases. But checking for revision isn't enough.

Solution: use size of the list to stop polling.
2022-04-25 10:24:32 -07:00
Colleen Murphy
27bd78f6ab Update golang.org/x/crypto to latest
Update crypto to address CVE-2022-27191.

The CVE fix is added in 0.0.0-20220315160706-3147a52a75dd but this
change updates to latest.
2022-04-25 09:52:12 -07:00
Marek Siarkowicz
d849269dab
Merge pull request #13986 from Sea-n/fix-md
doc: Fix Markdown code block
2022-04-25 13:01:29 +02:00
Piotr Tabor
887f95d0d3
Merge pull request #13963 from ptabor/20220412-verify-assert
Add verification consistent index is (nearly) never decreasing
2022-04-25 10:13:44 +02:00
Marek Siarkowicz
5472e589cf scripts: Add tests for release scripts 2022-04-25 10:12:01 +02:00
Sean Wei
6d133aaf6a doc: Fix Markdown code block 2022-04-25 15:06:38 +08:00
Marek Siarkowicz
b00bb535f0
Merge pull request #13643 from serathius/remove-etcdctl-v2
etcdctl: Remove V2 API commands
2022-04-24 14:13:17 +02:00
Marek Siarkowicz
c3ef24081b
Merge pull request #13967 from serathius/pm
Documentation: Create a data inconsistency postmortem
2022-04-24 13:41:59 +02:00
Marek Siarkowicz
26625ecb07
Merge pull request #13977 from ahrtr/update_changelog_3.5.4
Update the release date of 3.5.4
2022-04-24 13:35:57 +02:00
ahrtr
ccf178cce3 update the release date of 3.5.4 2022-04-24 19:10:54 +08:00
Marek Siarkowicz
d6368a20cf etcdctl: Remove V2 API commands 2022-04-24 12:08:42 +02:00
Sahdev Zala
a379ffcfca
Merge pull request #13974 from tabboud/patch-1
embed: Fix logger spelling in NewZapLoggerBuilder godoc
2022-04-23 14:56:12 -04:00
Sahdev Zala
3cde98ca8c
Merge pull request #13965 from serathius/release-update
Documentation: Update contributor guide and remove outdated ROADMAP.md
2022-04-23 13:43:44 -04:00
Sahdev Zala
6205f1a4c7
Merge pull request #13970 from ahrtr/update_changelog_ci_panic
Update changelog for 3.5.4 and 3.6
2022-04-23 13:41:55 -04:00
Sahdev Zala
5ae3ebb497
Merge pull request #13971 from spzala/logging
Doc: update logging convention
2022-04-23 13:37:55 -04:00
Sahdev Zala
d4a21b5d17 Doc: update logging convention
Update the logging convention as capnslog is replaced by zap.
2022-04-22 14:38:48 -04:00
Marek Siarkowicz
7fe1bf52d6 Documentation: Update postmortem based on feedback from @ptabor 2022-04-22 18:30:21 +02:00
Tony Abboud
1d13e0733c
Fix logger spelling in NewZapLoggerBuilder godoc
Just a small docs fix that I happened to notice when setting up a new zap logger for etcd
2022-04-22 12:08:54 -04:00
Piotr Tabor
d69e07dd3a Verification framework and check whether cindex is not decreasing. 2022-04-22 12:32:05 +02:00
Marek Siarkowicz
e9bc382c82 Documentation: Lowercase etcd in postmortem 2022-04-22 11:41:03 +02:00
Vlad Saioc
00ca558167 Fixed goroutine leak on NewServer 2022-04-22 08:57:19 +02:00
ahrtr
e85dc3e854 update changelog for 3.5.4 and 3.6 2022-04-22 06:17:14 +08:00
Marek Siarkowicz
b97f28c908 Documentation: Create a draft data inconsistency postmortem 2022-04-21 18:16:20 +02:00
Marek Siarkowicz
a722827c96 Documentation: Update contributor guide and remove outdated ROADMAP.md 2022-04-21 12:33:10 +02:00
Marek Siarkowicz
e02ac59cfc
Merge pull request #13942 from ahrtr/move_cindex_on_apply_fail
Update consitent_index when applying fails
2022-04-21 12:26:31 +02:00
ahrtr
6eef7ede40 Update conssitent_index when applying fails
When clients have no permission to perform whatever operation, then
the applying may fail. We should also move consistent_index forward
in this case, otherwise the consitent_index may smaller than the
snapshot index.
2022-04-20 21:44:48 +08:00
Marek Siarkowicz
4555fc3998
Merge pull request #13962 from serathius/contributor-docs
Add contributor docs
2022-04-20 11:39:13 +02:00
Marek Siarkowicz
efa52c4e1d docs: Add contributor documentation 2022-04-20 10:58:57 +02:00
Piotr Tabor
52662ccd06
Merge pull request #13959 from ptabor/20220419-log-injection
Fix code scanning alert: This log write receives unsanitized user input
2022-04-19 16:26:25 +02:00
Piotr Tabor
fe35b5130e Fix code scanning alert: This log write receives unsanitized user input 2022-04-19 13:49:08 +02:00
Piotr Tabor
03091b8146
Merge pull request #13949 from liggitt/revert-srv-dot
Revert #13712
2022-04-19 12:22:00 +02:00
Piotr Tabor
8d36956d0e
Merge pull request #13955 from ptabor/20220417-tests-improvements
test.sh script improvement (OsX centric)
2022-04-19 12:18:45 +02:00
Piotr Tabor
1b28597ba3
Merge pull request #13956 from vimalk78/fix-license-header-check
smoke test:fix license header check
2022-04-19 07:23:51 +02:00
Vimal Kumar
12ab72a6ff smoke test:fix license header check 2022-04-19 08:35:22 +05:30
Piotr Tabor
8a22d640a7 add OUTPUT_FILE='foo.log' env variable support to test.sh script.
Side consequence of this is that `make test-smoke` can become interactive again.
2022-04-18 22:54:51 +02:00
Jordan Liggitt
f07745a21c Add unit test for canonical SRV records 2022-04-18 08:48:42 -04:00
Jordan Liggitt
1f9a5d5fd6 Revert "update changelog for both 3.5 and 3.6 for the PRs of trimming the suffix dot from the target in SRV record"
This reverts commit 6781651e0ba792f42791f39e2e1f20a6eefac5ac.
2022-04-18 08:48:42 -04:00
Jordan Liggitt
d02a5363b3 Revert "trim the suffix dot from the srv.Target for etcd-client DNS lookup"
This reverts commit 5fc0092c877ad1989a7070e67df2a3e3b73364be.
2022-04-18 08:48:42 -04:00
Piotr Tabor
93c54b816d
Merge pull request #13957 from ahrtr/fix_TestKVPut
Use lineariziable range request in TestKVGet
2022-04-18 10:00:14 +02:00
ahrtr
842fed52c7 use lineariziable range request in TestKVGet 2022-04-18 08:56:19 +08:00
Piotr Tabor
55a7c91de9 test.sh: Tools run correctly on OsX
- The location of installed tools is found using `go list`
- ETCD_VERIFY env variable is printed in repro command line.
2022-04-17 23:28:26 +02:00
Piotr Tabor
cf2d98cc88 Fix PASSES="build" on OSX
`readlink -f` is supported since OsX 12.3.

```
% env GO_BUILD_FLAGS=-v CGO_ENABLED=0 go build -v -installsuffix=cgo -ldflags='-X=go.etcd.io/etcd/api/v3/version.GitSHA=4ac59dbe3' -o=bin/tools/local-tester/bridge ./tools/local-tester/bridge
readlink: illegal option -- m
usage: readlink [-fn] [file ...]
mkdir: /functional: Read-only file system
% ./tests/functional/build.sh
stderr: go build go.etcd.io/etcd/tests/v3/functional/cmd/etcd-agent: mkdir /functional: read-only file system
stderr: go build go.etcd.io/etcd/tests/v3/functional/cmd/etcd-proxy: mkdir /functional: read-only file system
stderr: go build go.etcd.io/etcd/tests/v3/functional/cmd/etcd-runner: mkdir /functional: read-only file system
stderr: go test go.etcd.io/etcd/tests/v3/functional/cmd/etcd-tester.test: mkdir /functional: read-only file system
```
2022-04-17 23:21:37 +02:00
Piotr Tabor
81491914fb
Merge pull request #13945 from ahrtr/rollback_opentelemetry_bump
Rollback the opentelemetry bumpping to recover the pipeline failures
2022-04-16 21:33:00 +02:00
ahrtr
0dae4b3b1e rollback the opentelemetry bumpping to recover the pipeline failures 2022-04-14 16:13:28 +08:00
Marek Siarkowicz
ff1569f134
Merge pull request #13941 from serathius/recommendation-v3.5.3
Update production recommendation for v3.5.3
2022-04-13 21:57:20 +02:00
Marek Siarkowicz
f409f39bb8 Update production recommendation for v3.5.3 2022-04-13 21:55:56 +02:00
Piotr Tabor
2e034d2b65
Merge pull request #13888 from willbeason/upgrade-opentelemetry
go.mod: upgrade opentelemetry deps
2022-04-13 18:42:47 +02:00