-
Notifications
You must be signed in to change notification settings - Fork 40k
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
kubectl e2e tests broken #8300
Comments
OK, it seems like that's not what's broken; the actual Resize seems like it might be the problem. It could have broken anytime since April 3, unfortunately. cc @Kargakis as well. |
Looks like #7544 is the culprit. It moved the kubectl tests into separate namespaces, but the cleanup() method is calling Let's include everyone. @jayunit100 |
interesting find ; [update] i mis-read this earlier - yes this makes sense ... and also it is interesting that thanks for fixing this . |
The speed of deleting a namespace was improved when moving to new controller framework: There previously was a 1 minute delay before noticing that a namespace could be purged. ----- Original Message ----- interesting find ; Looks like now maybe whats happening, is that namespaces are being deleted fast enough that this causes a error. before NS deletion took a long time? Reply to this email directly or view it on GitHub: |
I love it when stuff makes sense :-) |
#8309 partially fixes this. |
So I actually mentioned this particular case in #8303, though I wasn't sure if it was expected or not. The test creates update-demo-nautilus, then does a rolling update to update it to update-demo-kitten. We have the cleanup function try to delete both, in case something breaks in the middle of the test, but it's failing because update-demo-nautilus doesn't exist - as expected? We can just remove the cleanup for this test case, since cleanup should be handled by the namespace deletion. I'm curious how this ever passed before, though. |
Created #8333 to remove the cleanup if we think that's a reasonable solution. |
@ixdy has this been fixed? |
I believe so, yes. It is at least not consistently failing anymore. |
Several of the kubectl e2e tests were broken today by #8249, which added a missing check of an err return value, all of which now fail when doing cleanup and calling
kubectl stop
.Example:
I think this may have been originally broken in #6194. That change refactored the implementation of Stop, which started masking the error, but it also changed the order of code a bit.
Previously, the Stop implementation in
pkg/kubectl/stop.go
first queried for ReplicationControllers before creating the ResizeCondition; the first thing in the method wasAfter the change, this is done following the ResizeCondition in
pkg/kubectl/resize.go
:Is it possible that we're trying to query for something that's already been deleted, and thus it will always fail?
cc @quinton-hoole @roberthbailey
The text was updated successfully, but these errors were encountered: