Debian Patches

Status for etcd/3.5.16-7

Patch Description Author Forwarded Bugs Origin Last update
0001-ignore-bind-error-in-embed-serve_test.go.patch 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.
Shengjing Zhu <zhsj@debian.org> not-needed 2020-10-07
0002-don-t-exit-on-unsupported-arch.patch don't exit on unsupported arch Shengjing Zhu <zhsj@debian.org> not-needed 2020-10-08
0003-Ignore-etcd-package-without-v3-suffix-when-checking-.patch Ignore etcd package without v3 suffix when checking leaking goroutines

Debian uses GOPATH mode to build.
Shengjing Zhu <zhsj@debian.org> not-needed 2024-08-01
0004-Increase-the-given-latency-in-test.patch Increase the given latency in test
We have some slow architectures like mips to support.
Shengjing Zhu <zhsj@debian.org> no 2019-02-25
0005-fix-TestCorruptedBackupFileCheck-on-big-endian.patch fix TestCorruptedBackupFileCheck on big-endian Shengjing Zhu <zhsj@debian.org> no 2023-01-04
0006-Skip-flaky-TestReadWriteTimeout.patch 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
RUN TestWriteReadTimeoutListener
timeout_listener_test.go:85: err = <nil>, want write i/o timeout error
Shengjing Zhu <zhsj@debian.org> no 2023-01-09
0007-skip-default-host-route-tests.patch These tests fail for me locally, as well as in all the reproducible builds Mathias Gibbens <gibmat@debian.org> no 2024-02-28
0008-skip-flaky-TestPageWriterRandom.patch Skip a flaky test that failed on 3/10 buildds Mathias Gibbens <gibmat@debian.org> no 2024-02-28
0009-upgrade-grpc-gateway-from-v1-to-v2.patch upgrade grpc-gateway from v1 to v2 Wei Fu <fuweid89@gmail.com> no 2023-09-13
0010-Import-generated-pw.gw-files-from-9431e3a95276f92268.patch Import generated pw.gw files from 9431e3a95276f92268d8101bb93bb0fd5cc282f8 Chun-Hung Tseng <henrybear327@gmail.com> no 2024-05-20
0011-remove-all-usage-of-v1-grpc-gateway.patch remove all usage of v1 grpc-gateway Benjamin Wang <wachao@vmware.com> no 2023-09-13
0012-grpc-middleware-fixes-1.patch Cherry-pick some upstream changes to fix API breakage in updated grpc-middleware Mathias Gibbens <gibmat@debian.org> yes 2024-08-01
0013-grpc-middleware-fixes-2.patch In the interest of unblocking the grpc transition, for now rip out some use of old grpc-middleware from a test Mathias Gibbens <gibmat@debian.org> not-needed 2024-08-01
0014-skip-salsa-failing-test.patch Skip test that fails in salsa CI pipeline Mathias Gibbens <gibmat@debian.org> not-needed 2024-08-01
0015-Disable-curl-related-tests.patch Disable curl-related-tests
These integration tests are suspected to be caused by Debian switching it's
default curl implementation to gnutls
Reinhard Tartler <siretart@tauware.de> no 2024-08-04
0016-Skip-test-TestEtcdExampleConfig.patch 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
Reinhard Tartler <siretart@tauware.de> no 2024-10-21
0017-tests-functional-Disable-some-tests.patch tests/functional: Disable some tests
- TestAuthority: run in wrong directory
- TestMaxLearnerInCluster: timeout
Reinhard Tartler <siretart@tauware.de> no 2024-10-21
0018-TestHashKVWhenCompacting-increase-timeout-10s-15s.patch TestHashKVWhenCompacting: increase timeout 10s->15s
This should help with autopkgtest on armel
Reinhard Tartler <siretart@tauware.de> no 2024-11-01
0019-Fix-tests-compatibility-with-go-1.24.patch 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.
Nicolas Peugnet <nicolas@club1.fr> no 2025-03-04
0020-dependency-bump-github.com-olekukonko-tablewriter-fr.patch 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
Ivan Valdes <ivan@vald.es> no 2025-05-21

All known versions for source package 'etcd'

Links