[k8s.io] InitContainer should not start app containers if init containers fail on a RestartAlways pod {Kubernetes e2e suite} #31408
Closed
Description
https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gke/14033/
Failed: [k8s.io] InitContainer should not start app containers if init containers fail on a RestartAlways pod {Kubernetes e2e suite}
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/common/init_container.go:274
Error creating Pod
Expected error:
<*errors.StatusError | 0xc8202d0c00>: {
ErrStatus: {
TypeMeta: {Kind: "", APIVersion: ""},
ListMeta: {SelfLink: "", ResourceVersion: ""},
Status: "Failure",
Message: "an error on the server has prevented the request from succeeding (post pods)",
Reason: "InternalError",
Details: {
Name: "",
Group: "",
Kind: "pods",
Causes: [
{
Type: "UnexpectedServerResponse",
Message: "Internal Server Error: \"/api/v1/namespaces/e2e-tests-init-container-042b9/pods\"",
Field: "",
},
],
RetryAfterSeconds: 0,
},
Code: 500,
},
}
an error on the server has prevented the request from succeeding (post pods)
not to have occurred
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/pods.go:50