kubernetes: Failure cluster [9a6a5067...] [sig-cli] Kubectl client [k8s.io] Guestbook application should create and stop a working application [Conformance]

Failure cluster 9a6a5067d3ced7bf47ba

Error text:
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:699
Expected error:
    <exec.CodeExitError>: {
        Err: {
            s: "error running &{/google-cloud-sdk/bin/kubectl [kubectl --kubeconfig=/tmp/kops863247222/kubeconfig create -f - --namespace=kubectl-4679] []  0xc0018e1460  error: SchemaError(io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration): invalid object doesn't have additional properties\n [] <nil> 0xc001941560 exit status 1 <nil> <nil> true [0xc001c0c9e8 0xc001c0ca10 0xc001c0ca20] [0xc001c0c9e8 0xc001c0ca10 0xc001c0ca20] [0xc001c0c9f0 0xc001c0ca08 0xc001c0ca18] [0x9178c0 0x9179c0 0x9179c0] 0xc0018dc780 <nil>}:\nCommand stdout:\n\nstderr:\nerror: SchemaError(io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration): invalid object doesn't have additional properties\n\nerror:\nexit status 1\n",
        },
        Code: 1,
    }
    error running &{/google-cloud-sdk/bin/kubectl [kubectl --kubeconfig=/tmp/kops863247222/kubeconfig create -f - --namespace=kubectl-4679] []  0xc0018e1460  error: SchemaError(io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration): invalid object doesn't have additional properties
     [] <nil> 0xc001941560 exit status 1 <nil> <nil> true [0xc001c0c9e8 0xc001c0ca10 0xc001c0ca20] [0xc001c0c9e8 0xc001c0ca10 0xc001c0ca20] [0xc001c0c9f0 0xc001c0ca08 0xc001c0ca18] [0x9178c0 0x9179c0 0x9179c0] 0xc0018dc780 <nil>}:
    Command stdout:
    
    stde

Recent failures:

1/19/2019, 8:15:38 PM ci-kubernetes-e2e-kops-gce-canary 1/19/2019, 7:27:39 PM ci-kubernetes-e2e-kops-gce-canary 1/19/2019, 6:27:47 PM ci-kubernetes-e2e-kops-gce 1/19/2019, 5:05:38 PM ci-kubernetes-e2e-kops-gce-canary 1/19/2019, 4:03:46 PM ci-kubernetes-e2e-kops-gce

/label sig/cli

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 18 (9 by maintainers)

Most upvoted comments

As per source:

It was caused by the version mismatch of kubectl that was mentioned a couple of times already in this thread. Docker installs version 1.10 of kubectl.

Which can be verified at: ❌

> kubectl version
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.11", GitCommit:"637c7e288581ee40ab4ca210618a89a555b6e7e9", GitTreeState:"clean", BuildDate:"2018-11-26T14:38:32Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.0", GitCommit:"641856db18352033a0d96dbc99153fa3b27298e5", GitTreeState:"clean", BuildDate:"2019-03-25T15:45:25Z", GoVersion:"go1.12.1", Compiler:"gc", Platform:"linux/amd64"}

On Mac, you can run:

    rm /usr/local/bin/kubectl
    brew link --overwrite kubernetes-cli

Then I applied my kubectl apply , which worked. 🎉

And now ✅

> kubectl version
Client Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.0", GitCommit:"641856db18352033a0d96dbc99153fa3b27298e5", GitTreeState:"clean", BuildDate:"2019-03-26T00:04:52Z", GoVersion:"go1.12.1", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.0", GitCommit:"641856db18352033a0d96dbc99153fa3b27298e5", GitTreeState:"clean", BuildDate:"2019-03-25T15:45:25Z", GoVersion:"go1.12.1", Compiler:"gc", Platform:"linux/amd64"}

Hope this helps 😄

I also got the similar issue when I execute the kubectl create or apply command on version 1.14.0-beta.1 of K8S cluster.

+1

I’ve this issue with hack/local-up-cluster.sh.

Updated: it seems that we should use cluster/kubectl.sh to access local cluster now.