-
Notifications
You must be signed in to change notification settings - Fork 39.7k
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
Deployment E2E tests failing in upgrade test jobs #42449
Comments
@kubernetes/sig-apps-test-failures |
Why are we expecting an error to occur on every test?:) |
Is this test running 1.6 tests against a 1.4 cluster? This should explain the other deployment failure regarding the overlapping test. |
It should actually be the opposite, i.e. running 1.4 tests against a 1.6 cluster (that was upgraded from a 1.4 cluster) |
The deployment overlap behavior has changed in 1.6 and is about to be dropped entirely, assuming #42175 gets merged. It was just bandage over a user error but that should not be possible in 1.6 with owner references. This means that the test is obsolete. I don't know what happens in this case. cc: @janetkuo |
Looking at the test, it expects get deployment to fail (right after calling deployment reaper) to make sure it's deleted https://github.com/kubernetes/kubernetes/blob/b440e9a9dbb30b/test/e2e/deployment.go#L206 |
Something to do with garbage collector? |
@Kargakis @janetkuo can you clarify the status? To be clear, for 1.5->1.6 upgrades, there are 2 failing Deployment tests in the jobs that perform an upgrade then run 1.5 tests to check for compatibility. Are these issues that need to be addressed for the 1.6 release? [k8s.io] Deployment deployment reaping should cascade to its replica sets and pods [k8s.io] Deployment overlapping deployment should not fight with each other Note that both of these pass in the jobs that upgrade 1.5->1.6 and then run the 1.6 tests. |
The overlapping test is obsolete for 1.6 as the functionality has been totally rewritten.
This is something that @enisoc is currently looking into - seems like the problem is that the upgrade suite is compiled with a 1.6 when it runs the 1.5 part of the upgrade. |
@krmayankk please update by EOD today on whether the cascading deletion failure is a blocking issue for 1.6 or not; if it is, we need to get a PR in by tomorrow for the next beta/RC. |
@caesarxuchao can you also have a look? It seems related to the kubectl reaper not deleting the deployment, likely because it goes through the GC in the end? |
The "[k8s.io] Deployment deployment reaping should cascade to its replica sets and pods" failure is because the deployment is not deleted yet when the 1.5 reaper.Stop() returns, because of the orphan finalizer. See #35676 (comment). 1.6 kubectl won't have this problem because of #40576 (thanks to @nikhiljindal). I expect the upgrade test will fail all the deletion test for other controllers as well, after @enisoc's PRs that add controllerRef get merged. I suggest that
|
Automatic merge from submit-queue Updating reapers to set OrphanDependents=false For #42449, updating 1.5 reapers @caesarxuchao @kubernetes/sig-cli-pr-reviews
@skriss can you give an update on this issue? |
The deployment reaping issue appears to be fixed per https://k8s-testgrid.appspot.com/release-1.6-upgrade-skew#gke-container_vm-1.5-container_vm-1.6-upgrade-cluster&width=20 Thanks! |
…orphan Automatic merge from submit-queue Updating reapers to set OrphanDependents=false For kubernetes#42449, updating 1.5 reapers @caesarxuchao @kubernetes/sig-cli-pr-reviews
@pwittrock you are listed as the test owner in test_owners.csv so directing this at you for now.
Most of the Deployment E2E tests are failing in the upgrade test jobs. See, for example:
https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/ci-kubernetes-e2e-gke-container_vm-1.4-container_vm-latest-upgrade-cluster/479
Common error message:
Expected an error to have occurred. Got:
: nil
Note that the 1.6 release upgrade test jobs are not set up yet, but I'm trying to get ahead of issues by looking at the jobs running off master. Thanks!
The text was updated successfully, but these errors were encountered: