[k8s.io] Kubectl client [k8s.io] Simple pod should return command exit codes {Kubernetes e2e suite} #31151
Closed
Description
https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gke/13870/
Failed: [k8s.io] Kubectl client [k8s.io] Simple pod should return command exit codes {Kubernetes e2e suite}
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:393
Expected error:
<exec.CodeExitError>: {
Err: {
s: "error running &{/workspace/kubernetes/platforms/linux/amd64/kubectl [kubectl --server=https://8.34.214.117 --kubeconfig=/workspace/.kube/config --namespace=e2e-tests-kubectl-cc2ll run -i --image=gcr.io/google_containers/busybox:1.24 --restart=OnFailure --rm failure-3 -- /bin/sh -c cat && exit 42] [] 0xc820c0b260 Waiting for pod e2e-tests-kubectl-cc2ll/failure-3-ietwc to be running, status is Pending, pod ready: false\nabcd1234 If you don't see a command prompt, try pressing enter.\nError from server: an error on the server has prevented the request from succeeding (delete pods failure-3-ietwc)\n [] <nil> 0xc820c0ba00 exit status 1 <nil> true [0xc8211e6440 0xc8211e6468 0xc8211e6478] [0xc8211e6440 0xc8211e6468 0xc8211e6478] [0xc8211e6448 0xc8211e6460 0xc8211e6470] [0xab3340 0xab34a0 0xab34a0] 0xc820eaf3e0}:\nCommand stdout:\nWaiting for pod e2e-tests-kubectl-cc2ll/failure-3-ietwc to be running, status is Pending, pod ready: false\nabcd1234\nstderr:\nIf you don't see a command prompt, try pressing enter.\nError from server: an error on the server has prevented the request from succeeding (delete pods failure-3-ietwc)\n\nerror:\nexit status 1\n",
},
Code: 1,
}
error running &{/workspace/kubernetes/platforms/linux/amd64/kubectl [kubectl --server=https://8.34.214.117 --kubeconfig=/workspace/.kube/config --namespace=e2e-tests-kubectl-cc2ll run -i --image=gcr.io/google_containers/busybox:1.24 --restart=OnFailure --rm failure-3 -- /bin/sh -c cat && exit 42] [] 0xc820c0b260 Waiting for pod e2e-tests-kubectl-cc2ll/failure-3-ietwc to be running, status is Pending, pod ready: false
abcd1234 If you don't see a command prompt, try pressing enter.
Error from server: an error on the server has prevented the request from succeeding (delete pods failure-3-ietwc)
[] <nil> 0xc820c0ba00 exit status 1 <nil> true [0xc8211e6440 0xc8211e6468 0xc8211e6478] [0xc8211e6440 0xc8211e6468 0xc8211e6478] [0xc8211e6448 0xc8211e6460 0xc8211e6470] [0xab3340 0xab34a0 0xab34a0] 0xc820eaf3e0}:
Command stdout:
Waiting for pod e2e-tests-kubectl-cc2ll/failure-3-ietwc to be running, status is Pending, pod ready: false
abcd1234
stderr:
If you don't see a command prompt, try pressing enter.
Error from server: an error on the server has prevented the request from succeeding (delete pods failure-3-ietwc)
error:
exit status 1
not to have occurred
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/petset.go:659