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
[sig-node] TestInvalidPodFiltered flakes with "Expected no update in channel" error #93905
Comments
/assign |
It is a bit funny that if I change kubernetes/pkg/kubelet/config/config_test.go Lines 123 to 129 in fa13dc1
func expectNoPodUpdate(t *testing.T, ch <-chan kubetypes.PodUpdate) {
select {
case update := <-ch:
t.Errorf("Expected no update in channel, Got %#v", update)
case <-time.After(time.Second * 3):
}
} The test kubernetes/pkg/kubelet/config/config_test.go Lines 192 to 195 in fa13dc1
/unassign |
Isn't this asserting a negative? I don't think it can work, especially not without a wait or some way of forcing the config mux storage merger thingy to run. The multiple levels is kind of mindbending, really. I come to the same conclusion as @knight42. Tracing it backwards in time, v1.8 was the last time this passed. v1.9 changed what validation means, I think I have a solution. |
@MHBauer Thanks for going deep down the commit history and found out the problem 👍 ! |
Made #93985 if either of you wish to review, and confirm my understanding. |
Which test(s) are flaking:
TestInvalidPodFiltered
Reason for failure:
This is flaking rarely enough that it is not caught by our CI jobs, which currently tolerate up to 2 unit test failures per run (!).
With that toleration removed in #93605, this flake has been seen (https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/pull/93605/pull-kubernetes-bazel-test/1293289839906525184).
Reproducible with the following steps:
/sig node
cc @kubernetes/sig-node-test-failures
The text was updated successfully, but these errors were encountered: