Skip to content
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 client Kubectl rolling-update should support rolling-update to same image [Conformance] {Kubernetes e2e suite} #27328

Closed
k8s-github-robot opened this issue Jun 14, 2016 · 7 comments
Assignees
Labels
kind/flake Categorizes issue or PR as related to a flaky test. priority/critical-urgent Highest priority. Must be actively worked on as someone's top priority right now.
Milestone

Comments

@k8s-github-robot
Copy link

https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gke-staging-parallel/4156/

Failed: Kubectl client Kubectl rolling-update should support rolling-update to same image [Conformance] {Kubernetes e2e suite}

/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:1029
Expected error:
    <*errors.errorString | 0xc2084d0fc0>: {
        s: "Error running &{/workspace/kubernetes/platforms/linux/amd64/kubectl [kubectl --server=https://130.211.160.169 --kubeconfig=/workspace/.kube/config rolling-update e2e-test-nginx-rc --update-period=1s --image=gcr.io/google_containers/nginx:1.7.9 --image-pull-policy=IfNotPresent --namespace=e2e-tests-kubectl-nlrmc] []  <nil> Created e2e-test-nginx-rc-11e19e8c183ac3df74483689a98697dc\n Error from server: replicationcontrollers \"e2e-test-nginx-rc\" cannot be updated: the object has been modified; please apply your changes to the latest version and try again\n [] <nil> 0xc208308640 exit status 1 <nil> true [0xc208050ec0 0xc208050ee0 0xc208050f00] [0xc208050ec0 0xc208050ee0 0xc208050f00] [0xc208050ed8 0xc208050ef8] [0x968650 0x968650] 0xc2088a8660}:\nCommand stdout:\nCreated e2e-test-nginx-rc-11e19e8c183ac3df74483689a98697dc\n\nstderr:\nError from server: replicationcontrollers \"e2e-test-nginx-rc\" cannot be updated: the object has been modified; please apply your changes to the latest version and try again\n\nerror:\nexit status 1\n",
    }
    Error running &{/workspace/kubernetes/platforms/linux/amd64/kubectl [kubectl --server=https://130.211.160.169 --kubeconfig=/workspace/.kube/config rolling-update e2e-test-nginx-rc --update-period=1s --image=gcr.io/google_containers/nginx:1.7.9 --image-pull-policy=IfNotPresent --namespace=e2e-tests-kubectl-nlrmc] []  <nil> Created e2e-test-nginx-rc-11e19e8c183ac3df74483689a98697dc
     Error from server: replicationcontrollers "e2e-test-nginx-rc" cannot be updated: the object has been modified; please apply your changes to the latest version and try again
     [] <nil> 0xc208308640 exit status 1 <nil> true [0xc208050ec0 0xc208050ee0 0xc208050f00] [0xc208050ec0 0xc208050ee0 0xc208050f00] [0xc208050ed8 0xc208050ef8] [0x968650 0x968650] 0xc2088a8660}:
    Command stdout:
    Created e2e-test-nginx-rc-11e19e8c183ac3df74483689a98697dc

    stderr:
    Error from server: replicationcontrollers "e2e-test-nginx-rc" cannot be updated: the object has been modified; please apply your changes to the latest version and try again

    error:
    exit status 1

not to have occurred
@k8s-github-robot k8s-github-robot added the kind/flake Categorizes issue or PR as related to a flaky test. label Jun 14, 2016
@k8s-github-robot
Copy link
Author

https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gke-staging-parallel/4190/

Failed: Kubectl client Kubectl rolling-update should support rolling-update to same image [Conformance] {Kubernetes e2e suite}

/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:1029
Expected error:
    <*errors.errorString | 0xc2082878e0>: {
        s: "Error running &{/workspace/kubernetes/platforms/linux/amd64/kubectl [kubectl --server=https://104.197.13.138 --kubeconfig=/workspace/.kube/config rolling-update e2e-test-nginx-rc --update-period=1s --image=gcr.io/google_containers/nginx:1.7.9 --image-pull-policy=IfNotPresent --namespace=e2e-tests-kubectl-doeav] []  <nil> Error updating pod (pods \"e2e-test-nginx-rc-p5ers\" cannot be updated: the object has been modified; please apply your changes to the latest version and try again), retrying after 3 secondsError updating pod (pods \"e2e-test-nginx-rc-p5ers\" cannot be updated: the object has been modified; please apply your changes to the latest version and try again), retrying after 9 secondsError updating pod (pods \"e2e-test-nginx-rc-p5ers\" cannot be updated: the object has been modified; please apply your changes to the latest version and try again), retrying after 81 seconds Error from server: pods \"e2e-test-nginx-rc-p5ers\" cannot be updated: the object has been modified; please apply your changes to the latest version and try again\n [] <nil> 0xc208586a60 exit status 1 <nil> true [0xc20831e460 0xc20831e480 0xc20831e4a0] [0xc20831e460 0xc20831e480 0xc20831e4a0] [0xc20831e478 0xc20831e498] [0x968650 0x968650] 0xc2082fcfc0}:\nCommand stdout:\nError updating pod (pods \"e2e-test-nginx-rc-p5ers\" cannot be updated: the object has been modified; please apply your changes to the latest version and try again), retrying after 3 secondsError updating pod (pods \"e2e-test-nginx-rc-p5ers\" cannot be updated: the object has been modified; please apply your changes to the latest version and try again), retrying after 9 secondsError updating pod (pods \"e2e-test-nginx-rc-p5ers\" cannot be updated: the object has been modified; please apply your changes to the latest version and try again), retrying after 81 seconds\nstderr:\nError from server: pods \"e2e-test-nginx-rc-p5ers\" cannot be updated: the object has been modified; please apply your changes to the latest version and try again\n\nerror:\nexit status 1\n",
    }
    Error running &{/workspace/kubernetes/platforms/linux/amd64/kubectl [kubectl --server=https://104.197.13.138 --kubeconfig=/workspace/.kube/config rolling-update e2e-test-nginx-rc --update-period=1s --image=gcr.io/google_containers/nginx:1.7.9 --image-pull-policy=IfNotPresent --namespace=e2e-tests-kubectl-doeav] []  <nil> Error updating pod (pods "e2e-test-nginx-rc-p5ers" cannot be updated: the object has been modified; please apply your changes to the latest version and try again), retrying after 3 secondsError updating pod (pods "e2e-test-nginx-rc-p5ers" cannot be updated: the object has been modified; please apply your changes to the latest version and try again), retrying after 9 secondsError updating pod (pods "e2e-test-nginx-rc-p5ers" cannot be updated: the object has been modified; please apply your changes to the latest version and try again), retrying after 81 seconds Error from server: pods "e2e-test-nginx-rc-p5ers" cannot be updated: the object has been modified; please apply your changes to the latest version and try again
     [] <nil> 0xc208586a60 exit status 1 <nil> true [0xc20831e460 0xc20831e480 0xc20831e4a0] [0xc20831e460 0xc20831e480 0xc20831e4a0] [0xc20831e478 0xc20831e498] [0x968650 0x968650] 0xc2082fcfc0}:
    Command stdout:
    Error updating pod (pods "e2e-test-nginx-rc-p5ers" cannot be updated: the object has been modified; please apply your changes to the latest version and try again), retrying after 3 secondsError updating pod (pods "e2e-test-nginx-rc-p5ers" cannot be updated: the object has been modified; please apply your changes to the latest version and try again), retrying after 9 secondsError updating pod (pods "e2e-test-nginx-rc-p5ers" cannot be updated: the object has been modified; please apply your changes to the latest version and try again), retrying after 81 seconds
    stderr:
    Error from server: pods "e2e-test-nginx-rc-p5ers" cannot be updated: the object has been modified; please apply your changes to the latest version and try again

    error:
    exit status 1

not to have occurred

@pwittrock pwittrock added the priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. label Jun 15, 2016
@pwittrock
Copy link
Member

@janetkuo Looks like this is related to the things @adohe fixed

@janetkuo
Copy link
Member

@pwittrock which PR were you referring to?

@janetkuo
Copy link
Member

Both happened at STEP: rolling-update to same image controller -- one can't update rc, one can't update pod.

@k8s-github-robot
Copy link
Author

https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gke-staging-parallel/4288/

Failed: Kubectl client Kubectl rolling-update should support rolling-update to same image [Conformance] {Kubernetes e2e suite}

/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:1029
Expected error:
    <*errors.errorString | 0xc2082e3e30>: {
        s: "Error running &{/workspace/kubernetes/platforms/linux/amd64/kubectl [kubectl --server=https://146.148.103.152 --kubeconfig=/workspace/.kube/config rolling-update e2e-test-nginx-rc --update-period=1s --image=gcr.io/google_containers/nginx:1.7.9 --image-pull-policy=IfNotPresent --namespace=e2e-tests-kubectl-l6z8q] []  <nil> Error updating pod (pods \"e2e-test-nginx-rc-n1b60\" cannot be updated: the object has been modified; please apply your changes to the latest version and try again), retrying after 3 secondsError updating pod (pods \"e2e-test-nginx-rc-n1b60\" cannot be updated: the object has been modified; please apply your changes to the latest version and try again), retrying after 9 secondsError updating pod (pods \"e2e-test-nginx-rc-n1b60\" cannot be updated: the object has been modified; please apply your changes to the latest version and try again), retrying after 81 seconds Error from server: pods \"e2e-test-nginx-rc-n1b60\" cannot be updated: the object has been modified; please apply your changes to the latest version and try again\n [] <nil> 0xc20857cca0 exit status 1 <nil> true [0xc20836a460 0xc20836a480 0xc20836a4a0] [0xc20836a460 0xc20836a480 0xc20836a4a0] [0xc20836a478 0xc20836a498] [0x968650 0x968650] 0xc2082a4480}:\nCommand stdout:\nError updating pod (pods \"e2e-test-nginx-rc-n1b60\" cannot be updated: the object has been modified; please apply your changes to the latest version and try again), retrying after 3 secondsError updating pod (pods \"e2e-test-nginx-rc-n1b60\" cannot be updated: the object has been modified; please apply your changes to the latest version and try again), retrying after 9 secondsError updating pod (pods \"e2e-test-nginx-rc-n1b60\" cannot be updated: the object has been modified; please apply your changes to the latest version and try again), retrying after 81 seconds\nstderr:\nError from server: pods \"e2e-test-nginx-rc-n1b60\" cannot be updated: the object has been modified; please apply your changes to the latest version and try again\n\nerror:\nexit status 1\n",
    }
    Error running &{/workspace/kubernetes/platforms/linux/amd64/kubectl [kubectl --server=https://146.148.103.152 --kubeconfig=/workspace/.kube/config rolling-update e2e-test-nginx-rc --update-period=1s --image=gcr.io/google_containers/nginx:1.7.9 --image-pull-policy=IfNotPresent --namespace=e2e-tests-kubectl-l6z8q] []  <nil> Error updating pod (pods "e2e-test-nginx-rc-n1b60" cannot be updated: the object has been modified; please apply your changes to the latest version and try again), retrying after 3 secondsError updating pod (pods "e2e-test-nginx-rc-n1b60" cannot be updated: the object has been modified; please apply your changes to the latest version and try again), retrying after 9 secondsError updating pod (pods "e2e-test-nginx-rc-n1b60" cannot be updated: the object has been modified; please apply your changes to the latest version and try again), retrying after 81 seconds Error from server: pods "e2e-test-nginx-rc-n1b60" cannot be updated: the object has been modified; please apply your changes to the latest version and try again
     [] <nil> 0xc20857cca0 exit status 1 <nil> true [0xc20836a460 0xc20836a480 0xc20836a4a0] [0xc20836a460 0xc20836a480 0xc20836a4a0] [0xc20836a478 0xc20836a498] [0x968650 0x968650] 0xc2082a4480}:
    Command stdout:
    Error updating pod (pods "e2e-test-nginx-rc-n1b60" cannot be updated: the object has been modified; please apply your changes to the latest version and try again), retrying after 3 secondsError updating pod (pods "e2e-test-nginx-rc-n1b60" cannot be updated: the object has been modified; please apply your changes to the latest version and try again), retrying after 9 secondsError updating pod (pods "e2e-test-nginx-rc-n1b60" cannot be updated: the object has been modified; please apply your changes to the latest version and try again), retrying after 81 seconds
    stderr:
    Error from server: pods "e2e-test-nginx-rc-n1b60" cannot be updated: the object has been modified; please apply your changes to the latest version and try again

    error:
    exit status 1

not to have occurred

@k8s-github-robot
Copy link
Author

https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gke-staging-parallel/4524/

Failed: Kubectl client Kubectl rolling-update should support rolling-update to same image [Conformance] {Kubernetes e2e suite}

/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:1029
Expected error:
    <*errors.errorString | 0xc20829bde0>: {
        s: "Error running &{/workspace/kubernetes/platforms/linux/amd64/kubectl [kubectl --server=https://104.198.227.49 --kubeconfig=/workspace/.kube/config rolling-update e2e-test-nginx-rc --update-period=1s --image=gcr.io/google_containers/nginx:1.7.9 --image-pull-policy=IfNotPresent --namespace=e2e-tests-kubectl-g52jk] []  <nil> Created e2e-test-nginx-rc-adf960368819e48348c0e76b10782f81\n Error from server: replicationcontrollers \"e2e-test-nginx-rc\" cannot be updated: the object has been modified; please apply your changes to the latest version and try again\n [] <nil> 0xc208577460 exit status 1 <nil> true [0xc2083e6450 0xc2083e6478 0xc2083e64a0] [0xc2083e6450 0xc2083e6478 0xc2083e64a0] [0xc2083e6470 0xc2083e6498] [0x968c60 0x968c60] 0xc2082bed80}:\nCommand stdout:\nCreated e2e-test-nginx-rc-adf960368819e48348c0e76b10782f81\n\nstderr:\nError from server: replicationcontrollers \"e2e-test-nginx-rc\" cannot be updated: the object has been modified; please apply your changes to the latest version and try again\n\nerror:\nexit status 1\n",
    }
    Error running &{/workspace/kubernetes/platforms/linux/amd64/kubectl [kubectl --server=https://104.198.227.49 --kubeconfig=/workspace/.kube/config rolling-update e2e-test-nginx-rc --update-period=1s --image=gcr.io/google_containers/nginx:1.7.9 --image-pull-policy=IfNotPresent --namespace=e2e-tests-kubectl-g52jk] []  <nil> Created e2e-test-nginx-rc-adf960368819e48348c0e76b10782f81
     Error from server: replicationcontrollers "e2e-test-nginx-rc" cannot be updated: the object has been modified; please apply your changes to the latest version and try again
     [] <nil> 0xc208577460 exit status 1 <nil> true [0xc2083e6450 0xc2083e6478 0xc2083e64a0] [0xc2083e6450 0xc2083e6478 0xc2083e64a0] [0xc2083e6470 0xc2083e6498] [0x968c60 0x968c60] 0xc2082bed80}:
    Command stdout:
    Created e2e-test-nginx-rc-adf960368819e48348c0e76b10782f81

    stderr:
    Error from server: replicationcontrollers "e2e-test-nginx-rc" cannot be updated: the object has been modified; please apply your changes to the latest version and try again

    error:
    exit status 1

not to have occurred

@k8s-github-robot
Copy link
Author

https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gke-staging-parallel/4528/

Failed: Kubectl client Kubectl rolling-update should support rolling-update to same image [Conformance] {Kubernetes e2e suite}

/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:1029
Expected error:
    <*errors.errorString | 0xc208308a90>: {
        s: "Error running &{/workspace/kubernetes/platforms/linux/amd64/kubectl [kubectl --server=https://104.197.212.135 --kubeconfig=/workspace/.kube/config rolling-update e2e-test-nginx-rc --update-period=1s --image=gcr.io/google_containers/nginx:1.7.9 --image-pull-policy=IfNotPresent --namespace=e2e-tests-kubectl-fh72b] []  <nil> Created e2e-test-nginx-rc-65ab848cfd0f43861c7c29302ab6f698\n W0621 10:05:43.251178    2918 request.go:627] Throttling request took 142.367829ms, request: PUT:https://104.197.212.135/api/v1/namespaces/e2e-tests-kubectl-fh72b/replicationcontrollers/e2e-test-nginx-rc\nError from server: replicationcontrollers \"e2e-test-nginx-rc\" cannot be updated: the object has been modified; please apply your changes to the latest version and try again\n [] <nil> 0xc20856ae00 exit status 1 <nil> true [0xc20833a478 0xc20833a498 0xc20833a4c0] [0xc20833a478 0xc20833a498 0xc20833a4c0] [0xc20833a490 0xc20833a4b0] [0x968c60 0x968c60] 0xc2082926c0}:\nCommand stdout:\nCreated e2e-test-nginx-rc-65ab848cfd0f43861c7c29302ab6f698\n\nstderr:\nW0621 10:05:43.251178    2918 request.go:627] Throttling request took 142.367829ms, request: PUT:https://104.197.212.135/api/v1/namespaces/e2e-tests-kubectl-fh72b/replicationcontrollers/e2e-test-nginx-rc\nError from server: replicationcontrollers \"e2e-test-nginx-rc\" cannot be updated: the object has been modified; please apply your changes to the latest version and try again\n\nerror:\nexit status 1\n",
    }
    Error running &{/workspace/kubernetes/platforms/linux/amd64/kubectl [kubectl --server=https://104.197.212.135 --kubeconfig=/workspace/.kube/config rolling-update e2e-test-nginx-rc --update-period=1s --image=gcr.io/google_containers/nginx:1.7.9 --image-pull-policy=IfNotPresent --namespace=e2e-tests-kubectl-fh72b] []  <nil> Created e2e-test-nginx-rc-65ab848cfd0f43861c7c29302ab6f698
     W0621 10:05:43.251178    2918 request.go:627] Throttling request took 142.367829ms, request: PUT:https://104.197.212.135/api/v1/namespaces/e2e-tests-kubectl-fh72b/replicationcontrollers/e2e-test-nginx-rc
    Error from server: replicationcontrollers "e2e-test-nginx-rc" cannot be updated: the object has been modified; please apply your changes to the latest version and try again
     [] <nil> 0xc20856ae00 exit status 1 <nil> true [0xc20833a478 0xc20833a498 0xc20833a4c0] [0xc20833a478 0xc20833a498 0xc20833a4c0] [0xc20833a490 0xc20833a4b0] [0x968c60 0x968c60] 0xc2082926c0}:
    Command stdout:
    Created e2e-test-nginx-rc-65ab848cfd0f43861c7c29302ab6f698

    stderr:
    W0621 10:05:43.251178    2918 request.go:627] Throttling request took 142.367829ms, request: PUT:https://104.197.212.135/api/v1/namespaces/e2e-tests-kubectl-fh72b/replicationcontrollers/e2e-test-nginx-rc
    Error from server: replicationcontrollers "e2e-test-nginx-rc" cannot be updated: the object has been modified; please apply your changes to the latest version and try again

    error:
    exit status 1

not to have occurred

@k8s-github-robot k8s-github-robot added priority/critical-urgent Highest priority. Must be actively worked on as someone's top priority right now. and removed priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. labels Jun 21, 2016
@janetkuo janetkuo added this to the v1.3 milestone Jun 22, 2016
k8s-github-robot pushed a commit that referenced this issue Jun 22, 2016
Automatic merge from submit-queue

Retry Pod/RC updates in kubectl rolling-update

Fixes #27328

@kubernetes/kubectl 

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/flake Categorizes issue or PR as related to a flaky test. priority/critical-urgent Highest priority. Must be actively worked on as someone's top priority right now.
Projects
None yet
Development

No branches or pull requests

3 participants