kubernetes: integration tests log many "http: TLS handshake error from 127.0.0.1:55336: EOF" errors

What happened?

Ran

go test ./test/integration/apiserver/admissionwebhook -v -run TestWebhookAdmissionWithWatchCache

What did you expect to happen?

tests run without TLS errors

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

Run integration tests

Anything else we need to know?

This happened on go1.17 and go1.18, so it’s not new, but indicates we either have a setup issue in our integration tests, or our logging is outputting errors in situations that should not error

Kubernetes version

$ kubectl version
# paste output here

Cloud provider

OS version

# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here

# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here

Install tools

Container runtime (CRI) and version (if applicable)

Related plugins (CNI, CSI, …) and versions (if applicable)

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Reactions: 3
  • Comments: 20 (14 by maintainers)

Most upvoted comments

we are seeing this log in our operator which has a built-in webhook for conversion/validating/mutating. It seems doesn’t affect the functionalities of the webhook but it keeps appearing in log like forever. As the log shows no other info as to the source of the log we have no idea where to ask for a fix. The go version is 1.19 and kubernetes version is 1.26.3. I’d be glad to provide more information if required. Thanks!

/priority important-soon