please fix build tests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
etcd (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
hi o/
./debian/rules states:
```
# The ignored pkgs are aligned with upstream ./test file,
# see variables IGNORE_PKGS and INTEGRATION_PKGS in ./test
export TEST_EXCLUDES := cmd/ etcdserverpb rafttest gopath.proto v3lockpb v3electionpb \
```
./test contains:
```
IGNORE_
INTEGRATION_
```
INTEGRATION_PKGS _are_ later used in ./test and IGNORE_PKGS are excluded from testing _by upstream_.
TEST_EXCLUDE does not align with the logic of upstream ./test.
INTEGRATION_PKGS should be tested in the Debian/Ubuntu packages. Testing etcd's e2e is critical for security of Kubernetes.
On Ubuntu Mantic, the package builds well with `integration` and `contrib` tests (i.e., when they are removed from TEST_EXCLUDES). `e2e` needs to be patched to put package binaries in the PATH of tests--other issues may also exist. `functional` tests also ftbfs.
integration tests are run in autopkgtest https:/ /salsa. debian. org/go- team/packages/ etcd/-/ blob/debian/ 3.4.23- 4/debian/ tests/integrati on