-
Notifications
You must be signed in to change notification settings - Fork 306
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
Scale test failed because ingress wasn't deleted #219
Comments
Looks like a race condition in the test code... |
Fixed by the awesome @MrHohn |
k8s-github-robot
pushed a commit
to kubernetes/kubernetes
that referenced
this issue
Apr 24, 2018
Automatic merge from submit-queue (batch tested with PRs 62495, 63003, 62829, 62151, 62002). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. [e2e ingress-gce] Fix race condition for appending services and ingresses **What this PR does / why we need it**: From kubernetes/ingress-gce#219, how the test appends services and ingresses is not thread-safe. This PR fixes it by using channel. **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes #kubernetes/ingress-gce#219 **Special notes for your reviewer**: /assign @nicksardo I picked this up as it is fun :) Hoping you haven't worked on it yet. **Release note**: ```release-note NONE ```
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Test run: https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/ci-ingress-gce-e2e-scale/258
GLBC log: https://storage.googleapis.com/kubernetes-jenkins/logs/ci-ingress-gce-e2e-scale/258/artifacts/e2e-258-68260c-master/glbc.log
Build log: https://storage.googleapis.com/kubernetes-jenkins/logs/ci-ingress-gce-e2e-scale/258/build-log.txt
Test code: https://github.com/kubernetes/kubernetes/blob/master/test/e2e/network/scale/ingress.go
Seems that
ing-scale-45
was not deleted.Timeline
build.log:
glbc.log
ing-scale-45 was not in the above list of event handler logs.
Instead, ing-scale-45 continues to be periodically enqueued. However, it didn't actually get synced until 12:20.
This correlates to the namespace deletion in kube-apiserver.
Kube-apiserver has no record of the specific ingress being deleted at 11:31. Interestingly, build.log has no record of the ingress deletion failing.
cc @MrHohn @rramkumar1
The text was updated successfully, but these errors were encountered: