-
Notifications
You must be signed in to change notification settings - Fork 9.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to Go v1.22 broke getting test coverage #17560
Comments
I opened golang/go#66211, as this issue hasn't been reported yet. An immediate workaround is running the coverage with the environment variable I see two possible solutions inject
The first option will fix the GitHub workflow. But running the coverage locally will still fail. Given that it should be a temporary workaround, I think the first option is acceptable. |
Thanks @ivanvc for raising this issue, which I wanted to raise but did not get time to do it.
Agreed for now. We can fix it for now, but let's keep this issue open and see what's the feedback on golang/go#66211 |
/assign |
Seems like it's likely going to be fixed in Go 1.23 Ref: golang/go#66137 |
Update: The fix was backported into 1.22, so the next release (1.22.2) should close this issue. |
I just tested locally with the newly released 1.22.2, and the issue is gone. Once we update it, I'll open a PR to remove the workaround. |
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 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)
Relevant log output
No response
The text was updated successfully, but these errors were encountered: