{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/35741","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/35741/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/35741/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/35741/events","html_url":"https://github.com/kubernetes/kubernetes/issues/35741","id":185809153,"number":35741,"title":"[k8s.io] Kubectl client [k8s.io] Kubectl apply should reuse nodePort when apply to an existing SVC {Kubernetes e2e suite}","user":{"login":"k8s-merge-robot","id":13653959,"avatar_url":"https://avatars.githubusercontent.com/u/13653959?v=3","gravatar_id":"","url":"https://api.github.com/users/k8s-merge-robot","html_url":"https://github.com/k8s-merge-robot","followers_url":"https://api.github.com/users/k8s-merge-robot/followers","following_url":"https://api.github.com/users/k8s-merge-robot/following{/other_user}","gists_url":"https://api.github.com/users/k8s-merge-robot/gists{/gist_id}","starred_url":"https://api.github.com/users/k8s-merge-robot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k8s-merge-robot/subscriptions","organizations_url":"https://api.github.com/users/k8s-merge-robot/orgs","repos_url":"https://api.github.com/users/k8s-merge-robot/repos","events_url":"https://api.github.com/users/k8s-merge-robot/events{/privacy}","received_events_url":"https://api.github.com/users/k8s-merge-robot/received_events","type":"User","site_admin":false},"labels":[{"id":433836410,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/flake-has-meta","name":"flake-has-meta","color":"fbca04","default":false},{"id":264749912,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/kind/flake","name":"kind/flake","color":"f7c6c7","default":false},{"id":114528068,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/priority/P0","name":"priority/P0","color":"e11d21","default":false}],"state":"open","locked":false,"assignee":{"login":"pwittrock","id":7882754,"avatar_url":"https://avatars.githubusercontent.com/u/7882754?v=3","gravatar_id":"","url":"https://api.github.com/users/pwittrock","html_url":"https://github.com/pwittrock","followers_url":"https://api.github.com/users/pwittrock/followers","following_url":"https://api.github.com/users/pwittrock/following{/other_user}","gists_url":"https://api.github.com/users/pwittrock/gists{/gist_id}","starred_url":"https://api.github.com/users/pwittrock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwittrock/subscriptions","organizations_url":"https://api.github.com/users/pwittrock/orgs","repos_url":"https://api.github.com/users/pwittrock/repos","events_url":"https://api.github.com/users/pwittrock/events{/privacy}","received_events_url":"https://api.github.com/users/pwittrock/received_events","type":"User","site_admin":false},"assignees":[{"login":"pwittrock","id":7882754,"avatar_url":"https://avatars.githubusercontent.com/u/7882754?v=3","gravatar_id":"","url":"https://api.github.com/users/pwittrock","html_url":"https://github.com/pwittrock","followers_url":"https://api.github.com/users/pwittrock/followers","following_url":"https://api.github.com/users/pwittrock/following{/other_user}","gists_url":"https://api.github.com/users/pwittrock/gists{/gist_id}","starred_url":"https://api.github.com/users/pwittrock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwittrock/subscriptions","organizations_url":"https://api.github.com/users/pwittrock/orgs","repos_url":"https://api.github.com/users/pwittrock/repos","events_url":"https://api.github.com/users/pwittrock/events{/privacy}","received_events_url":"https://api.github.com/users/pwittrock/received_events","type":"User","site_admin":false}],"milestone":null,"comments":397,"created_at":"2016-10-27T23:58:49Z","updated_at":"2016-12-02T17:23:04Z","closed_at":null,"body":"https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gci-gke-staging-parallel/1671/\n\nFailed: [k8s.io] Kubectl client [k8s.io] Kubectl apply should reuse nodePort when apply to an existing SVC {Kubernetes e2e suite}\n\n```\n/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:134\nOct 27 16:08:39.030: Couldn't delete ns: \"e2e-tests-kubectl-5yeis\": an error on the server (\"Internal Server Error: \\\"/apis/autoscaling/v1/namespaces/e2e-tests-kubectl-5yeis/horizontalpodautoscalers\\\"\") has prevented the request from succeeding (get horizontalpodautoscalers.autoscaling) (&errors.StatusError{ErrStatus:unversioned.Status{TypeMeta:unversioned.TypeMeta{Kind:\"\", APIVersion:\"\"}, ListMeta:unversioned.ListMeta{SelfLink:\"\", ResourceVersion:\"\"}, Status:\"Failure\", Message:\"an error on the server (\\\"Internal Server Error: \\\\\\\"/apis/autoscaling/v1/namespaces/e2e-tests-kubectl-5yeis/horizontalpodautoscalers\\\\\\\"\\\") has prevented the request from succeeding (get horizontalpodautoscalers.autoscaling)\", Reason:\"InternalError\", Details:(*unversioned.StatusDetails)(0xc82097e730), Code:500}})\n/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:338\n```\n\nPrevious issues for this test: #28523\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/264510101","html_url":"https://github.com/kubernetes/kubernetes/issues/35741#issuecomment-264510101","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/35741","id":264510101,"user":{"login":"k8s-merge-robot","id":13653959,"avatar_url":"https://avatars.githubusercontent.com/u/13653959?v=3","gravatar_id":"","url":"https://api.github.com/users/k8s-merge-robot","html_url":"https://github.com/k8s-merge-robot","followers_url":"https://api.github.com/users/k8s-merge-robot/followers","following_url":"https://api.github.com/users/k8s-merge-robot/following{/other_user}","gists_url":"https://api.github.com/users/k8s-merge-robot/gists{/gist_id}","starred_url":"https://api.github.com/users/k8s-merge-robot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k8s-merge-robot/subscriptions","organizations_url":"https://api.github.com/users/k8s-merge-robot/orgs","repos_url":"https://api.github.com/users/k8s-merge-robot/repos","events_url":"https://api.github.com/users/k8s-merge-robot/events{/privacy}","received_events_url":"https://api.github.com/users/k8s-merge-robot/received_events","type":"User","site_admin":false},"created_at":"2016-12-02T17:23:04Z","updated_at":"2016-12-02T17:23:04Z","body":"https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gce-latest-1.4-latest-1.5-cvm-kubectl-skew/1266/\n\nFailed: [k8s.io] Kubectl client [k8s.io] Kubectl apply should reuse nodePort when apply to an existing SVC {Kubernetes e2e suite}\n\n```\n/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:521\nExpected error:\n    <exec.CodeExitError>: {\n        Err: {\n            s: \"error running &{/workspace/kubernetes_skew/cluster/kubectl.sh [/workspace/kubernetes_skew/cluster/kubectl.sh --server=https://130.211.221.87 --kubeconfig=/workspace/.kube/config get service redis-master --namespace=e2e-tests-kubectl-8r6us -o jsonpath={.spec.ports[0].nodePort}] []  <nil> Error executing template: nodePort is not found. Printing more information for debugging the template:\\n\\ttemplate was:\\n\\t\\t{.spec.ports[0].nodePort}\\n\\tobject given to jsonpath engine was:\\n\\t\\tmap[string]interface {}{\\\"status\\\":map[string]interface {}{\\\"loadBalancer\\\":map[string]interface {}{}}, \\\"kind\\\":\\\"Service\\\", \\\"apiVersion\\\":\\\"v1\\\", \\\"metadata\\\":map[string]interface {}{\\\"labels\\\":map[string]interface {}{\\\"app\\\":\\\"redis\\\", \\\"role\\\":\\\"master\\\"}, \\\"name\\\":\\\"redis-master\\\", \\\"namespace\\\":\\\"e2e-tests-kubectl-8r6us\\\", \\\"selfLink\\\":\\\"/api/v1/namespaces/e2e-tests-kubectl-8r6us/services/redis-master\\\", \\\"uid\\\":\\\"985d4ca3-b8b2-11e6-8583-42010af00002\\\", \\\"resourceVersion\\\":\\\"1553\\\", \\\"creationTimestamp\\\":\\\"2016-12-02T17:13:08Z\\\"}, \\\"spec\\\":map[string]interface {}{\\\"ports\\\":[]interface {}{map[string]interface {}{\\\"protocol\\\":\\\"TCP\\\", \\\"port\\\":6379, \\\"targetPort\\\":\\\"redis-server\\\"}}, \\\"selector\\\":map[string]interface {}{\\\"app\\\":\\\"redis\\\", \\\"role\\\":\\\"master\\\"}, \\\"clusterIP\\\":\\\"10.0.139.187\\\", \\\"type\\\":\\\"ClusterIP\\\", \\\"sessionAffinity\\\":\\\"None\\\"}}\\n\\n error: error executing jsonpath \\\"{.spec.ports[0].nodePort}\\\": nodePort is not found\\n [] <nil> 0xc820b97d80 exit status 1 <nil> true [0xc8204f2960 0xc8204f29b8 0xc8204f3778] [0xc8204f2960 0xc8204f29b8 0xc8204f3778] [0xc8204f29a8 0xc8204f29d0] [0xaf84c0 0xaf84c0] 0xc820abcea0}:\\nCommand stdout:\\nError executing template: nodePort is not found. Printing more information for debugging the template:\\n\\ttemplate was:\\n\\t\\t{.spec.ports[0].nodePort}\\n\\tobject given to jsonpath engine was:\\n\\t\\tmap[string]interface {}{\\\"status\\\":map[string]interface {}{\\\"loadBalancer\\\":map[string]interface {}{}}, \\\"kind\\\":\\\"Service\\\", \\\"apiVersion\\\":\\\"v1\\\", \\\"metadata\\\":map[string]interface {}{\\\"labels\\\":map[string]interface {}{\\\"app\\\":\\\"redis\\\", \\\"role\\\":\\\"master\\\"}, \\\"name\\\":\\\"redis-master\\\", \\\"namespace\\\":\\\"e2e-tests-kubectl-8r6us\\\", \\\"selfLink\\\":\\\"/api/v1/namespaces/e2e-tests-kubectl-8r6us/services/redis-master\\\", \\\"uid\\\":\\\"985d4ca3-b8b2-11e6-8583-42010af00002\\\", \\\"resourceVersion\\\":\\\"1553\\\", \\\"creationTimestamp\\\":\\\"2016-12-02T17:13:08Z\\\"}, \\\"spec\\\":map[string]interface {}{\\\"ports\\\":[]interface {}{map[string]interface {}{\\\"protocol\\\":\\\"TCP\\\", \\\"port\\\":6379, \\\"targetPort\\\":\\\"redis-server\\\"}}, \\\"selector\\\":map[string]interface {}{\\\"app\\\":\\\"redis\\\", \\\"role\\\":\\\"master\\\"}, \\\"clusterIP\\\":\\\"10.0.139.187\\\", \\\"type\\\":\\\"ClusterIP\\\", \\\"sessionAffinity\\\":\\\"None\\\"}}\\n\\n\\nstderr:\\nerror: error executing jsonpath \\\"{.spec.ports[0].nodePort}\\\": nodePort is not found\\n\\nerror:\\nexit status 1\\n\",\n        },\n        Code: 1,\n    }\n    error running &{/workspace/kubernetes_skew/cluster/kubectl.sh [/workspace/kubernetes_skew/cluster/kubectl.sh --server=https://130.211.221.87 --kubeconfig=/workspace/.kube/config get service redis-master --namespace=e2e-tests-kubectl-8r6us -o jsonpath={.spec.ports[0].nodePort}] []  <nil> Error executing template: nodePort is not found. Printing more information for debugging the template:\n    \ttemplate was:\n    \t\t{.spec.ports[0].nodePort}\n    \tobject given to jsonpath engine was:\n    \t\tmap[string]interface {}{\"status\":map[string]interface {}{\"loadBalancer\":map[string]interface {}{}}, \"kind\":\"Service\", \"apiVersion\":\"v1\", \"metadata\":map[string]interface {}{\"labels\":map[string]interface {}{\"app\":\"redis\", \"role\":\"master\"}, \"name\":\"redis-master\", \"namespace\":\"e2e-tests-kubectl-8r6us\", \"selfLink\":\"/api/v1/namespaces/e2e-tests-kubectl-8r6us/services/redis-master\", \"uid\":\"985d4ca3-b8b2-11e6-8583-42010af00002\", \"resourceVersion\":\"1553\", \"creationTimestamp\":\"2016-12-02T17:13:08Z\"}, \"spec\":map[string]interface {}{\"ports\":[]interface {}{map[string]interface {}{\"protocol\":\"TCP\", \"port\":6379, \"targetPort\":\"redis-server\"}}, \"selector\":map[string]interface {}{\"app\":\"redis\", \"role\":\"master\"}, \"clusterIP\":\"10.0.139.187\", \"type\":\"ClusterIP\", \"sessionAffinity\":\"None\"}}\n    \n     error: error executing jsonpath \"{.spec.ports[0].nodePort}\": nodePort is not found\n     [] <nil> 0xc820b97d80 exit status 1 <nil> true [0xc8204f2960 0xc8204f29b8 0xc8204f3778] [0xc8204f2960 0xc8204f29b8 0xc8204f3778] [0xc8204f29a8 0xc8204f29d0] [0xaf84c0 0xaf84c0] 0xc820abcea0}:\n    Command stdout:\n    Error executing template: nodePort is not found. Printing more information for debugging the template:\n    \ttemplate was:\n    \t\t{.spec.ports[0].nodePort}\n    \tobject given to jsonpath engine was:\n    \t\tmap[string]interface {}{\"status\":map[string]interface {}{\"loadBalancer\":map[string]interface {}{}}, \"kind\":\"Service\", \"apiVersion\":\"v1\", \"metadata\":map[string]interface {}{\"labels\":map[string]interface {}{\"app\":\"redis\", \"role\":\"master\"}, \"name\":\"redis-master\", \"namespace\":\"e2e-tests-kubectl-8r6us\", \"selfLink\":\"/api/v1/namespaces/e2e-tests-kubectl-8r6us/services/redis-master\", \"uid\":\"985d4ca3-b8b2-11e6-8583-42010af00002\", \"resourceVersion\":\"1553\", \"creationTimestamp\":\"2016-12-02T17:13:08Z\"}, \"spec\":map[string]interface {}{\"ports\":[]interface {}{map[string]interface {}{\"protocol\":\"TCP\", \"port\":6379, \"targetPort\":\"redis-server\"}}, \"selector\":map[string]interface {}{\"app\":\"redis\", \"role\":\"master\"}, \"clusterIP\":\"10.0.139.187\", \"type\":\"ClusterIP\", \"sessionAffinity\":\"None\"}}\n    \n    \n    stderr:\n    error: error executing jsonpath \"{.spec.ports[0].nodePort}\": nodePort is not found\n    \n    error:\n    exit status 1\n    \nnot to have occurred\n/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/util.go:2183\n```\n\n"}}
{"actor":{"display_login":"k8s-merge-robot"}}