Package: etcd / 3.5.16-7

Metadata

Package Version Patches format
etcd 3.5.16-7 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 ignore bind error in embed serve_test.go.patch | (download)

server/embed/serve_test.go | 7 6 + 1 - 0 !
1 file changed, 6 insertions(+), 1 deletion(-)

 ignore bind error in embed/serve_test.go

In autopkgtest-go, this test will be run when etcd is running.
etcd-server is installed, then the service is started by default.

0002 don t exit on unsupported arch.patch | (download)

server/etcdmain/etcd.go | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)

 don't exit on unsupported arch

0003 Ignore etcd package without v3 suffix when checking .patch | (download)

client/pkg/testutil/leak.go | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 ignore etcd package without v3 suffix when checking leaking
 goroutines

Debian uses GOPATH mode to build.

0004 Increase the given latency in test.patch | (download)

pkg/proxy/server_test.go | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 increase the given latency in test

We have some slow architectures like mips to support.

0005 fix TestCorruptedBackupFileCheck on big endian.patch | (download)

tests/integration/snapshot/v3_snapshot_test.go | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix testcorruptedbackupfilecheck on big-endian


0006 Skip flaky TestReadWriteTimeout.patch | (download)

client/pkg/transport/timeout_dialer_test.go | 1 1 + 0 - 0 !
client/pkg/transport/timeout_listener_test.go | 1 1 + 0 - 0 !
2 files changed, 2 insertions(+)

 skip flaky testreadwritetimeout

https://buildd.debian.org/status/fetch.php?pkg=etcd&arch=s390x&ver=3.4.23-3&stamp=1673262122&raw=0

RUN   TestReadWriteTimeoutDialer
timeout_dialer_test.go:60: err = <nil>, want write i/o timeout error
FAIL: TestReadWriteTimeoutDialer (0.01s)
RUN   TestWriteReadTimeoutListener
timeout_listener_test.go:85: err = <nil>, want write i/o timeout error
FAIL: TestWriteReadTimeoutListener (0.01s)

0007 skip default host route tests.patch | (download)

pkg/netutil/routes_linux_test.go | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 these tests fail for me locally,
 as well as in all the reproducible builds


0008 skip flaky TestPageWriterRandom.patch | (download)

pkg/ioutil/pagewriter_test.go | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 skip a flaky test that failed on 3/10 buildds


0009 upgrade grpc gateway from v1 to v2.patch | (download)

api/authpb/auth.proto | 2 2 + 0 - 0 !
api/etcdserverpb/etcdserver.proto | 2 2 + 0 - 0 !
api/etcdserverpb/raft_internal.proto | 2 2 + 0 - 0 !
api/etcdserverpb/rpc.proto | 3 3 + 0 - 0 !
api/membershippb/membership.proto | 2 2 + 0 - 0 !
api/mvccpb/kv.proto | 2 2 + 0 - 0 !
api/versionpb/version.proto | 30 30 + 0 - 0 !
scripts/genproto.sh | 54 39 + 15 - 0 !
server/etcdserver/api/snap/snappb/snap.proto | 2 2 + 0 - 0 !
server/etcdserver/api/v3election/v3electionpb/v3election.proto | 2 2 + 0 - 0 !
server/etcdserver/api/v3lock/v3lockpb/v3lock.proto | 2 2 + 0 - 0 !
server/lease/leasepb/lease.proto | 2 2 + 0 - 0 !
server/wal/walpb/record.proto | 2 2 + 0 - 0 !
tools/mod/go.mod | 2 1 + 1 - 0 !
tools/mod/tools.go | 4 2 + 2 - 0 !
15 files changed, 95 insertions(+), 18 deletions(-)

 upgrade grpc-gateway from v1 to v2

Signed-off-by: Wei Fu <fuweid89@gmail.com>
Signed-off-by: Benjamin Wang <wachao@vmware.com>

0010 Import generated pw.gw files from 9431e3a95276f92268.patch | (download)

api/etcdserverpb/gw/rpc.pb.gw.go | 1998 979 + 1019 - 0 !
server/etcdserver/api/v3election/v3electionpb/gw/v3election.pb.gw.go | 222 111 + 111 - 0 !
server/etcdserver/api/v3lock/v3lockpb/gw/v3lock.pb.gw.go | 109 55 + 54 - 0 !
3 files changed, 1145 insertions(+), 1184 deletions(-)

 import generated pw.gw files from
 9431e3a95276f92268d8101bb93bb0fd5cc282f8


0011 remove all usage of v1 grpc gateway.patch | (download)

api/go.mod | 13 6 + 7 - 0 !
api/go.sum | 86 14 + 72 - 0 !
go.mod | 12 6 + 6 - 0 !
go.sum | 48 22 + 26 - 0 !
server/embed/serve.go | 20 18 + 2 - 0 !
tests/go.mod | 14 7 + 7 - 0 !
tests/go.sum | 44 20 + 24 - 0 !
7 files changed, 93 insertions(+), 144 deletions(-)

 remove all usage of v1 grpc-gateway

Signed-off-by: Benjamin Wang <wachao@vmware.com>
Signed-off-by: Wei Fu <fuweid89@gmail.com>

0012 grpc middleware fixes 1.patch | (download)

server/etcdserver/api/v3rpc/grpc.go | 5 2 + 3 - 0 !
1 file changed, 2 insertions(+), 3 deletions(-)

 cherry-pick some upstream changes to fix api breakage in updated
 grpc-middleware

0013 grpc middleware fixes 2.patch | (download)

tests/integration/testing.go | 6 0 + 6 - 0 !
1 file changed, 6 deletions(-)

 in the interest of unblocking the grpc transition,
 for now rip out some use of old grpc-middleware from a test

0014 skip salsa failing test.patch | (download)

server/embed/auth_test.go | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 skip test that fails in salsa ci pipeline

0015 Disable curl related tests.patch | (download)

tests/e2e/ctl_v3_test.go | 1 1 + 0 - 0 !
tests/e2e/v3_cipher_suite_test.go | 1 1 + 0 - 0 !
tests/e2e/v3_curl_test.go | 4 4 + 0 - 0 !
3 files changed, 6 insertions(+)

 disable curl-related-tests

These integration tests are suspected to be caused by Debian switching it's
default curl implementation to gnutls

0016 Skip test TestEtcdExampleConfig.patch | (download)

tests/e2e/etcd_config_test.go | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 skip test testetcdexampleconfig

This test seems to expect being called from the root of the directory,
which is not how the debian test harness calls the tests

0017 tests functional Disable some tests.patch | (download)

tests/e2e/ctl_v3_grpc_test.go | 1 1 + 0 - 0 !
tests/integration/clientv3/cluster_test.go | 1 1 + 0 - 0 !
2 files changed, 2 insertions(+)

 tests/functional: disable some tests

- TestAuthority: run in wrong directory
- TestMaxLearnerInCluster: timeout

0018 TestHashKVWhenCompacting increase timeout 10s 15s.patch | (download)

server/mvcc/kvstore_test.go | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 testhashkvwhencompacting: increase timeout 10s->15s

This should help with autopkgtest on armel

0019 Fix tests compatibility with go 1.24.patch | (download)

server/embed/config_test.go | 3 1 + 2 - 0 !
1 file changed, 1 insertion(+), 2 deletions(-)

 fix tests compatibility with go 1.24

This fixes the following test failure:

=== RUN   TestLogRotation/invalid_logger_config
    config_test.go:440: test "invalid logger config", expected error:
    invalid log rotation config: json: cannot unmarshal bool into Go
    struct field logRotationConfig.maxsize of type int,
    got:
    invalid log rotation config: json: cannot unmarshal bool into Go
    struct field logRotationConfig.Logger.maxsize of type int

It seems go 1.24 changed the error messages of the encoding/json
package. Ideally the test would only assert the part of the message
produced by etcd, but it is easier to simply not check it in Debian.

This allows to make the test compatible with more go versions that just
go 1.24.

0020 dependency bump github.com olekukonko tablewriter fr.patch | (download)

etcdctl/ctlv3/command/printer_table.go | 29 15 + 14 - 0 !
etcdctl/go.mod | 2 1 + 1 - 0 !
etcdutl/etcdutl/printer_table.go | 11 6 + 5 - 0 !
etcdutl/go.mod | 2 1 + 1 - 0 !
go.mod | 2 1 + 1 - 0 !
tools/mod/go.mod | 2 1 + 1 - 0 !
6 files changed, 25 insertions(+), 23 deletions(-)

 dependency: bump github.com/olekukonko/tablewriter from 0.0.5 to
 1.0.6

* Updates changes to version 1.0.x API to build tables.
* Updates the bill of materials.

Dependabot pull request: https://github.com/etcd-io/etcd/pull/19978

Signed-off-by: Ivan Valdes <ivan@vald.es>