Skip to content

Update to Go v1.22 broke getting test coverage #17560

@ivanvc

Description

@ivanvc

Bug report criteria

What happened?

After the Go 1.22 update, the coverage workflow has been failing. See https://github.com/etcd-io/etcd/actions/workflows/coverage.yaml.

After some investigation, it is possible to duplicate the issue locally. It seems like v1.22 had a significant coverage rewrite, which appears to be broken.

What did you expect to happen?

The coverage workflow should run as expected.

How can we reproduce it (as minimally and precisely as possible)?

Currently, the main branch is presenting the issue. Refer to https://github.com/etcd-io/etcd/actions/workflows/coverage.yaml to see the failed runs.

Anything else we need to know?

No response

Etcd version (please run commands below)

$ etcd --version
# paste output here

$ etcdctl version
# paste output here

Etcd configuration (command line flags or environment variables)

paste your configuration here

Etcd debug information (please run commands below, feel free to obfuscate the IP address or FQDN in the output)

$ etcdctl member list -w table
# paste output here

$ etcdctl --endpoints=<member list> endpoint status -w table
# paste output here

Relevant log output

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions