<p dir="auto"><a href="https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gce-latest-1.4-latest-1.5-cvm-kubectl-skew/1201/" rel="nofollow">https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gce-latest-1.4-latest-1.5-cvm-kubectl-skew/1201/</a></p>
<p dir="auto">Failed: [k8s.io] Kubectl client [k8s.io] Kubectl apply should reuse nodePort when apply to an existing SVC {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:521
Expected error:
    &lt;exec.CodeExitError&gt;: {
        Err: {
            s: &quot;error running &amp;{/workspace/kubernetes_skew/cluster/kubectl.sh [/workspace/kubernetes_skew/cluster/kubectl.sh --server=https://104.198.36.5 --kubeconfig=/workspace/.kube/config get service redis-master --namespace=e2e-tests-kubectl-adz6a -o jsonpath={.spec.ports[0].nodePort}] []  &lt;nil&gt; 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 {}{\&quot;status\&quot;:map[string]interface {}{\&quot;loadBalancer\&quot;:map[string]interface {}{}}, \&quot;kind\&quot;:\&quot;Service\&quot;, \&quot;apiVersion\&quot;:\&quot;v1\&quot;, \&quot;metadata\&quot;:map[string]interface {}{\&quot;namespace\&quot;:\&quot;e2e-tests-kubectl-adz6a\&quot;, \&quot;selfLink\&quot;:\&quot;/api/v1/namespaces/e2e-tests-kubectl-adz6a/services/redis-master\&quot;, \&quot;uid\&quot;:\&quot;a5a5f4e8-b7cd-11e6-93a2-42010af00002\&quot;, \&quot;resourceVersion\&quot;:\&quot;930\&quot;, \&quot;creationTimestamp\&quot;:\&quot;2016-12-01T13:54:15Z\&quot;, \&quot;labels\&quot;:map[string]interface {}{\&quot;app\&quot;:\&quot;redis\&quot;, \&quot;role\&quot;:\&quot;master\&quot;}, \&quot;name\&quot;:\&quot;redis-master\&quot;}, \&quot;spec\&quot;:map[string]interface {}{\&quot;sessionAffinity\&quot;:\&quot;None\&quot;, \&quot;ports\&quot;:[]interface {}{map[string]interface {}{\&quot;protocol\&quot;:\&quot;TCP\&quot;, \&quot;port\&quot;:6379, \&quot;targetPort\&quot;:\&quot;redis-server\&quot;}}, \&quot;selector\&quot;:map[string]interface {}{\&quot;app\&quot;:\&quot;redis\&quot;, \&quot;role\&quot;:\&quot;master\&quot;}, \&quot;clusterIP\&quot;:\&quot;10.0.168.216\&quot;, \&quot;type\&quot;:\&quot;ClusterIP\&quot;}}\n\n error: error executing jsonpath \&quot;{.spec.ports[0].nodePort}\&quot;: nodePort is not found\n [] &lt;nil&gt; 0xc820b01fa0 exit status 1 &lt;nil&gt; true [0xc820b6a040 0xc820b6a058 0xc820b6a070] [0xc820b6a040 0xc820b6a058 0xc820b6a070] [0xc820b6a050 0xc820b6a068] [0xafa720 0xafa720] 0xc820aaeae0}:\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 {}{\&quot;status\&quot;:map[string]interface {}{\&quot;loadBalancer\&quot;:map[string]interface {}{}}, \&quot;kind\&quot;:\&quot;Service\&quot;, \&quot;apiVersion\&quot;:\&quot;v1\&quot;, \&quot;metadata\&quot;:map[string]interface {}{\&quot;namespace\&quot;:\&quot;e2e-tests-kubectl-adz6a\&quot;, \&quot;selfLink\&quot;:\&quot;/api/v1/namespaces/e2e-tests-kubectl-adz6a/services/redis-master\&quot;, \&quot;uid\&quot;:\&quot;a5a5f4e8-b7cd-11e6-93a2-42010af00002\&quot;, \&quot;resourceVersion\&quot;:\&quot;930\&quot;, \&quot;creationTimestamp\&quot;:\&quot;2016-12-01T13:54:15Z\&quot;, \&quot;labels\&quot;:map[string]interface {}{\&quot;app\&quot;:\&quot;redis\&quot;, \&quot;role\&quot;:\&quot;master\&quot;}, \&quot;name\&quot;:\&quot;redis-master\&quot;}, \&quot;spec\&quot;:map[string]interface {}{\&quot;sessionAffinity\&quot;:\&quot;None\&quot;, \&quot;ports\&quot;:[]interface {}{map[string]interface {}{\&quot;protocol\&quot;:\&quot;TCP\&quot;, \&quot;port\&quot;:6379, \&quot;targetPort\&quot;:\&quot;redis-server\&quot;}}, \&quot;selector\&quot;:map[string]interface {}{\&quot;app\&quot;:\&quot;redis\&quot;, \&quot;role\&quot;:\&quot;master\&quot;}, \&quot;clusterIP\&quot;:\&quot;10.0.168.216\&quot;, \&quot;type\&quot;:\&quot;ClusterIP\&quot;}}\n\n\nstderr:\nerror: error executing jsonpath \&quot;{.spec.ports[0].nodePort}\&quot;: nodePort is not found\n\nerror:\nexit status 1\n&quot;,
        },
        Code: 1,
    }
    error running &amp;{/workspace/kubernetes_skew/cluster/kubectl.sh [/workspace/kubernetes_skew/cluster/kubectl.sh --server=https://104.198.36.5 --kubeconfig=/workspace/.kube/config get service redis-master --namespace=e2e-tests-kubectl-adz6a -o jsonpath={.spec.ports[0].nodePort}] []  &lt;nil&gt; Error executing template: nodePort is not found. Printing more information for debugging the template:
    	template was:
    		{.spec.ports[0].nodePort}
    	object given to jsonpath engine was:
    		map[string]interface {}{&quot;status&quot;:map[string]interface {}{&quot;loadBalancer&quot;:map[string]interface {}{}}, &quot;kind&quot;:&quot;Service&quot;, &quot;apiVersion&quot;:&quot;v1&quot;, &quot;metadata&quot;:map[string]interface {}{&quot;namespace&quot;:&quot;e2e-tests-kubectl-adz6a&quot;, &quot;selfLink&quot;:&quot;/api/v1/namespaces/e2e-tests-kubectl-adz6a/services/redis-master&quot;, &quot;uid&quot;:&quot;a5a5f4e8-b7cd-11e6-93a2-42010af00002&quot;, &quot;resourceVersion&quot;:&quot;930&quot;, &quot;creationTimestamp&quot;:&quot;2016-12-01T13:54:15Z&quot;, &quot;labels&quot;:map[string]interface {}{&quot;app&quot;:&quot;redis&quot;, &quot;role&quot;:&quot;master&quot;}, &quot;name&quot;:&quot;redis-master&quot;}, &quot;spec&quot;:map[string]interface {}{&quot;sessionAffinity&quot;:&quot;None&quot;, &quot;ports&quot;:[]interface {}{map[string]interface {}{&quot;protocol&quot;:&quot;TCP&quot;, &quot;port&quot;:6379, &quot;targetPort&quot;:&quot;redis-server&quot;}}, &quot;selector&quot;:map[string]interface {}{&quot;app&quot;:&quot;redis&quot;, &quot;role&quot;:&quot;master&quot;}, &quot;clusterIP&quot;:&quot;10.0.168.216&quot;, &quot;type&quot;:&quot;ClusterIP&quot;}}
    
     error: error executing jsonpath &quot;{.spec.ports[0].nodePort}&quot;: nodePort is not found
     [] &lt;nil&gt; 0xc820b01fa0 exit status 1 &lt;nil&gt; true [0xc820b6a040 0xc820b6a058 0xc820b6a070] [0xc820b6a040 0xc820b6a058 0xc820b6a070] [0xc820b6a050 0xc820b6a068] [0xafa720 0xafa720] 0xc820aaeae0}:
    Command stdout:
    Error executing template: nodePort is not found. Printing more information for debugging the template:
    	template was:
    		{.spec.ports[0].nodePort}
    	object given to jsonpath engine was:
    		map[string]interface {}{&quot;status&quot;:map[string]interface {}{&quot;loadBalancer&quot;:map[string]interface {}{}}, &quot;kind&quot;:&quot;Service&quot;, &quot;apiVersion&quot;:&quot;v1&quot;, &quot;metadata&quot;:map[string]interface {}{&quot;namespace&quot;:&quot;e2e-tests-kubectl-adz6a&quot;, &quot;selfLink&quot;:&quot;/api/v1/namespaces/e2e-tests-kubectl-adz6a/services/redis-master&quot;, &quot;uid&quot;:&quot;a5a5f4e8-b7cd-11e6-93a2-42010af00002&quot;, &quot;resourceVersion&quot;:&quot;930&quot;, &quot;creationTimestamp&quot;:&quot;2016-12-01T13:54:15Z&quot;, &quot;labels&quot;:map[string]interface {}{&quot;app&quot;:&quot;redis&quot;, &quot;role&quot;:&quot;master&quot;}, &quot;name&quot;:&quot;redis-master&quot;}, &quot;spec&quot;:map[string]interface {}{&quot;sessionAffinity&quot;:&quot;None&quot;, &quot;ports&quot;:[]interface {}{map[string]interface {}{&quot;protocol&quot;:&quot;TCP&quot;, &quot;port&quot;:6379, &quot;targetPort&quot;:&quot;redis-server&quot;}}, &quot;selector&quot;:map[string]interface {}{&quot;app&quot;:&quot;redis&quot;, &quot;role&quot;:&quot;master&quot;}, &quot;clusterIP&quot;:&quot;10.0.168.216&quot;, &quot;type&quot;:&quot;ClusterIP&quot;}}
    
    
    stderr:
    error: error executing jsonpath &quot;{.spec.ports[0].nodePort}&quot;: nodePort is not found
    
    error:
    exit status 1
    
not to have occurred
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/util.go:2183"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:521
Expected error:
    &lt;exec.CodeExitError&gt;: {
        Err: {
            s: "error running &amp;{/workspace/kubernetes_skew/cluster/kubectl.sh [/workspace/kubernetes_skew/cluster/kubectl.sh --server=https://104.198.36.5 --kubeconfig=/workspace/.kube/config get service redis-master --namespace=e2e-tests-kubectl-adz6a -o jsonpath={.spec.ports[0].nodePort}] []  &lt;nil&gt; 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 {}{\"namespace\":\"e2e-tests-kubectl-adz6a\", \"selfLink\":\"/api/v1/namespaces/e2e-tests-kubectl-adz6a/services/redis-master\", \"uid\":\"a5a5f4e8-b7cd-11e6-93a2-42010af00002\", \"resourceVersion\":\"930\", \"creationTimestamp\":\"2016-12-01T13:54:15Z\", \"labels\":map[string]interface {}{\"app\":\"redis\", \"role\":\"master\"}, \"name\":\"redis-master\"}, \"spec\":map[string]interface {}{\"sessionAffinity\":\"None\", \"ports\":[]interface {}{map[string]interface {}{\"protocol\":\"TCP\", \"port\":6379, \"targetPort\":\"redis-server\"}}, \"selector\":map[string]interface {}{\"app\":\"redis\", \"role\":\"master\"}, \"clusterIP\":\"10.0.168.216\", \"type\":\"ClusterIP\"}}\n\n error: error executing jsonpath \"{.spec.ports[0].nodePort}\": nodePort is not found\n [] &lt;nil&gt; 0xc820b01fa0 exit status 1 &lt;nil&gt; true [0xc820b6a040 0xc820b6a058 0xc820b6a070] [0xc820b6a040 0xc820b6a058 0xc820b6a070] [0xc820b6a050 0xc820b6a068] [0xafa720 0xafa720] 0xc820aaeae0}:\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 {}{\"namespace\":\"e2e-tests-kubectl-adz6a\", \"selfLink\":\"/api/v1/namespaces/e2e-tests-kubectl-adz6a/services/redis-master\", \"uid\":\"a5a5f4e8-b7cd-11e6-93a2-42010af00002\", \"resourceVersion\":\"930\", \"creationTimestamp\":\"2016-12-01T13:54:15Z\", \"labels\":map[string]interface {}{\"app\":\"redis\", \"role\":\"master\"}, \"name\":\"redis-master\"}, \"spec\":map[string]interface {}{\"sessionAffinity\":\"None\", \"ports\":[]interface {}{map[string]interface {}{\"protocol\":\"TCP\", \"port\":6379, \"targetPort\":\"redis-server\"}}, \"selector\":map[string]interface {}{\"app\":\"redis\", \"role\":\"master\"}, \"clusterIP\":\"10.0.168.216\", \"type\":\"ClusterIP\"}}\n\n\nstderr:\nerror: error executing jsonpath \"{.spec.ports[0].nodePort}\": nodePort is not found\n\nerror:\nexit status 1\n",
        },
        Code: 1,
    }
    error running &amp;{/workspace/kubernetes_skew/cluster/kubectl.sh [/workspace/kubernetes_skew/cluster/kubectl.sh --server=https://104.198.36.5 --kubeconfig=/workspace/.kube/config get service redis-master --namespace=e2e-tests-kubectl-adz6a -o jsonpath={.spec.ports[0].nodePort}] []  &lt;nil&gt; Error executing template: nodePort is not found. Printing more information for debugging the template:
    	template was:
    		{.spec.ports[0].nodePort}
    	object given to jsonpath engine was:
    		map[string]interface {}{"status":map[string]interface {}{"loadBalancer":map[string]interface {}{}}, "kind":"Service", "apiVersion":"v1", "metadata":map[string]interface {}{"namespace":"e2e-tests-kubectl-adz6a", "selfLink":"/api/v1/namespaces/e2e-tests-kubectl-adz6a/services/redis-master", "uid":"a5a5f4e8-b7cd-11e6-93a2-42010af00002", "resourceVersion":"930", "creationTimestamp":"2016-12-01T13:54:15Z", "labels":map[string]interface {}{"app":"redis", "role":"master"}, "name":"redis-master"}, "spec":map[string]interface {}{"sessionAffinity":"None", "ports":[]interface {}{map[string]interface {}{"protocol":"TCP", "port":6379, "targetPort":"redis-server"}}, "selector":map[string]interface {}{"app":"redis", "role":"master"}, "clusterIP":"10.0.168.216", "type":"ClusterIP"}}
    
     error: error executing jsonpath "{.spec.ports[0].nodePort}": nodePort is not found
     [] &lt;nil&gt; 0xc820b01fa0 exit status 1 &lt;nil&gt; true [0xc820b6a040 0xc820b6a058 0xc820b6a070] [0xc820b6a040 0xc820b6a058 0xc820b6a070] [0xc820b6a050 0xc820b6a068] [0xafa720 0xafa720] 0xc820aaeae0}:
    Command stdout:
    Error executing template: nodePort is not found. Printing more information for debugging the template:
    	template was:
    		{.spec.ports[0].nodePort}
    	object given to jsonpath engine was:
    		map[string]interface {}{"status":map[string]interface {}{"loadBalancer":map[string]interface {}{}}, "kind":"Service", "apiVersion":"v1", "metadata":map[string]interface {}{"namespace":"e2e-tests-kubectl-adz6a", "selfLink":"/api/v1/namespaces/e2e-tests-kubectl-adz6a/services/redis-master", "uid":"a5a5f4e8-b7cd-11e6-93a2-42010af00002", "resourceVersion":"930", "creationTimestamp":"2016-12-01T13:54:15Z", "labels":map[string]interface {}{"app":"redis", "role":"master"}, "name":"redis-master"}, "spec":map[string]interface {}{"sessionAffinity":"None", "ports":[]interface {}{map[string]interface {}{"protocol":"TCP", "port":6379, "targetPort":"redis-server"}}, "selector":map[string]interface {}{"app":"redis", "role":"master"}, "clusterIP":"10.0.168.216", "type":"ClusterIP"}}
    
    
    stderr:
    error: error executing jsonpath "{.spec.ports[0].nodePort}": nodePort is not found
    
    error:
    exit status 1
    
not to have occurred
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/util.go:2183
</code></pre></div>
<p dir="auto">Previous issues for this test: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="163991819" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28523" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28523/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28523">#28523</a></p>
<p dir="auto"><a href="https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gci-gke-staging-parallel/1671/" rel="nofollow">https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gci-gke-staging-parallel/1671/</a></p>
<p dir="auto">Failed: [k8s.io] Kubectl client [k8s.io] Kubectl apply should reuse nodePort when apply to an existing SVC {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:134
Oct 27 16:08:39.030: Couldn't delete ns: &quot;e2e-tests-kubectl-5yeis&quot;: an error on the server (&quot;Internal Server Error: \&quot;/apis/autoscaling/v1/namespaces/e2e-tests-kubectl-5yeis/horizontalpodautoscalers\&quot;&quot;) has prevented the request from succeeding (get horizontalpodautoscalers.autoscaling) (&amp;errors.StatusError{ErrStatus:unversioned.Status{TypeMeta:unversioned.TypeMeta{Kind:&quot;&quot;, APIVersion:&quot;&quot;}, ListMeta:unversioned.ListMeta{SelfLink:&quot;&quot;, ResourceVersion:&quot;&quot;}, Status:&quot;Failure&quot;, Message:&quot;an error on the server (\&quot;Internal Server Error: \\\&quot;/apis/autoscaling/v1/namespaces/e2e-tests-kubectl-5yeis/horizontalpodautoscalers\\\&quot;\&quot;) has prevented the request from succeeding (get horizontalpodautoscalers.autoscaling)&quot;, Reason:&quot;InternalError&quot;, Details:(*unversioned.StatusDetails)(0xc82097e730), Code:500}})
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:338"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:134
Oct 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) (&amp;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}})
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:338
</code></pre></div>
<p dir="auto">Previous issues for this test: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="163991819" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28523" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28523/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28523">#28523</a></p>