You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
deployment failed: caused by a config change #10765
[Fail] deploymentconfigs when run iteratively [It] should only deploy the last deployment [Conformance]
/data/src/github.com/openshift/origin/test/extended/deployments/deployments.go:120
[Fail] deploymentconfigs when run iteratively [It] should immediately start a new deployment [Conformance]
/data/src/github.com/openshift/origin/test/extended/deployments/deployments.go:167
should only deploy the last deployment [Conformance]
/data/src/github.com/openshift/origin/test/extended/deployments/deployments.go:131
Expected error:
<*errors.errorString | 0xc8209a87b0>: {
s: "deployment failed: caused by a config change",
}
deployment failed: caused by a config change
not to have occurred
/data/src/github.com/openshift/origin/test/extended/deployments/deployments.go:120
should immediately start a new deployment [Conformance] [It]
/data/src/github.com/openshift/origin/test/extended/deployments/deployments.go:190
Expected error:
<*errors.errorString | 0xc8200ce130>: {
s: "timed out waiting for the condition",
}
timed out waiting for the condition
not to have occurred
/data/src/github.com/openshift/origin/test/extended/deployments/deployments.go:167
Both of the tests run in the same group (accident?)
The second failure is interesting. The first deployment is marked as cancelled, the deployer pod has a deletionTimestamp, but it continues Running. The deployment controller will never mark the deployment as Failed and the deploymentconfig controller will never create the second deployment
Sep 1 08:49:47.209: INFO: Running 'oc create --namespace=extended-test-cli-deployment-1ahw3-8h8q2 --config=/tmp/openshift/extended-test-cli-deployment-1ahw3-8h8q2-user.kubeconfig -f /data/src/github.com/openshift/origin/test/extended/testdata/deployment-simple.yaml -o name'
Sep 1 08:49:47.445: INFO: Running 'oc set env --namespace=extended-test-cli-deployment-1ahw3-8h8q2 --config=/tmp/openshift/extended-test-cli-deployment-1ahw3-8h8q2-user.kubeconfig deploymentconfig/deployment-simple TRY=ONCE'
STEP: by checking that the deployment config has the correct version
STEP: by checking that the second deployment exists
Sep 1 08:49:47.209: INFO: Running 'oc create --namespace=extended-test-cli-deployment-1ahw3-8h8q2 --config=/tmp/openshift/extended-test-cli-deployment-1ahw3-8h8q2-user.kubeconfig -f /data/src/github.com/openshift/origin/test/extended/testdata/deployment-simple.yaml -o name'
Sep 1 08:49:47.445: INFO: Running 'oc set env --namespace=extended-test-cli-deployment-1ahw3-8h8q2 --config=/tmp/openshift/extended-test-cli-deployment-1ahw3-8h8q2-user.kubeconfig deploymentconfig/deployment-simple TRY=ONCE'
STEP: by checking that the deployment config has the correct version
STEP: by checking that the second deployment exists
Sep 1 08:50:18.254: INFO: Running 'oc get --namespace=extended-test-cli-deployment-1ahw3-8h8q2 --config=/tmp/openshift/extended-test-cli-deployment-1ahw3-8h8q2-user.kubeconfig dc/deployment-simple -o yaml'
The deployment config is updated at 08:49:47 with oc set env but the deletionTimestamp is set on the deployer pod at 2016-09-01T12:49:57Z, ie. 10 seconds later. It would be useful to know what time did the deploymentconfig controller cancel the deployment. Currently, we save "true" as a value for the cancelled annotation. We should switch it to a timestamp.
Another interesting observation: deletionGracePeriod of the deployer is currently set to 10s. The pod was marked for deletion at 12:49:57 and at 08:50:18 (21 seconds later) when the test failed the pod was still running.
Activity
0xmichalis commentedon Sep 1, 2016
Both of the tests run in the same group (accident?)
The second failure is interesting. The first deployment is marked as cancelled, the deployer pod has a deletionTimestamp, but it continues Running. The deployment controller will never mark the deployment as Failed and the deploymentconfig controller will never create the second deployment
0xmichalis commentedon Sep 3, 2016
First test seems to fail because we wait for the deployment to be running when it is already failed
0xmichalis commentedon Sep 3, 2016
Also interesting for the first test is that the deployer container never run
0xmichalis commentedon Sep 3, 2016
Second test:
The deployment config is updated at
08:49:47withoc set envbut the deletionTimestamp is set on the deployer pod at2016-09-01T12:49:57Z, ie. 10 seconds later. It would be useful to know what time did the deploymentconfig controller cancel the deployment. Currently, we save "true" as a value for the cancelled annotation. We should switch it to a timestamp.0xmichalis commentedon Sep 3, 2016
Another interesting observation: deletionGracePeriod of the deployer is currently set to 10s. The pod was marked for deletion at
12:49:57and at08:50:18(21 seconds later) when the test failed the pod was still running.mfojtik commentedon Oct 25, 2016
happened here:
https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_conformance/7755/