This job view page is being replaced by Spyglass soon. Check out the new job view.
PRerikgb: :book: Update tutorial to use cancel context to stop manager
ResultFAILURE
Tests 0 failed / 0 succeeded
Started2021-10-13 16:10
Elapsed5m0s
Revision7bfac293686f63c79813f30ce85dfd3b429285f1
Refs 2379

No Test Failures!


Error lines from build-log.txt

... skipping 124 lines ...
localAPIEndpoint:
  advertiseAddress: 172.18.0.3
  bindPort: 6443
nodeRegistration:
  criSocket: unix:///run/containerd/containerd.sock
  kubeletExtraArgs:
    fail-swap-on: "false"
    node-ip: 172.18.0.3
    node-labels: ""
    provider-id: kind://docker/kind/kind-control-plane
---
apiVersion: kubeadm.k8s.io/v1beta2
controlPlane:
... skipping 6 lines ...
    token: abcdef.0123456789abcdef
    unsafeSkipCAVerification: true
kind: JoinConfiguration
nodeRegistration:
  criSocket: unix:///run/containerd/containerd.sock
  kubeletExtraArgs:
    fail-swap-on: "false"
    node-ip: 172.18.0.3
    node-labels: ""
    provider-id: kind://docker/kind/kind-control-plane
---
apiVersion: kubelet.config.k8s.io/v1beta1
cgroupDriver: cgroupfs
... skipping 39 lines ...
localAPIEndpoint:
  advertiseAddress: 172.18.0.2
  bindPort: 6443
nodeRegistration:
  criSocket: unix:///run/containerd/containerd.sock
  kubeletExtraArgs:
    fail-swap-on: "false"
    node-ip: 172.18.0.2
    node-labels: ""
    provider-id: kind://docker/kind/kind-worker
---
apiVersion: kubeadm.k8s.io/v1beta2
discovery:
... skipping 2 lines ...
    token: abcdef.0123456789abcdef
    unsafeSkipCAVerification: true
kind: JoinConfiguration
nodeRegistration:
  criSocket: unix:///run/containerd/containerd.sock
  kubeletExtraArgs:
    fail-swap-on: "false"
    node-ip: 172.18.0.2
    node-labels: ""
    provider-id: kind://docker/kind/kind-worker
---
apiVersion: kubelet.config.k8s.io/v1beta1
cgroupDriver: cgroupfs
... skipping 39 lines ...
localAPIEndpoint:
  advertiseAddress: 172.18.0.4
  bindPort: 6443
nodeRegistration:
  criSocket: unix:///run/containerd/containerd.sock
  kubeletExtraArgs:
    fail-swap-on: "false"
    node-ip: 172.18.0.4
    node-labels: ""
    provider-id: kind://docker/kind/kind-worker2
---
apiVersion: kubeadm.k8s.io/v1beta2
discovery:
... skipping 2 lines ...
    token: abcdef.0123456789abcdef
    unsafeSkipCAVerification: true
kind: JoinConfiguration
nodeRegistration:
  criSocket: unix:///run/containerd/containerd.sock
  kubeletExtraArgs:
    fail-swap-on: "false"
    node-ip: 172.18.0.4
    node-labels: ""
    provider-id: kind://docker/kind/kind-worker2
---
apiVersion: kubelet.config.k8s.io/v1beta1
cgroupDriver: cgroupfs
... skipping 39 lines ...
localAPIEndpoint:
  advertiseAddress: 172.18.0.5
  bindPort: 6443
nodeRegistration:
  criSocket: unix:///run/containerd/containerd.sock
  kubeletExtraArgs:
    fail-swap-on: "false"
    node-ip: 172.18.0.5
    node-labels: ""
    provider-id: kind://docker/kind/kind-worker3
---
apiVersion: kubeadm.k8s.io/v1beta2
discovery:
... skipping 2 lines ...
    token: abcdef.0123456789abcdef
    unsafeSkipCAVerification: true
kind: JoinConfiguration
nodeRegistration:
  criSocket: unix:///run/containerd/containerd.sock
  kubeletExtraArgs:
    fail-swap-on: "false"
    node-ip: 172.18.0.5
    node-labels: ""
    provider-id: kind://docker/kind/kind-worker3
---
apiVersion: kubelet.config.k8s.io/v1beta1
cgroupDriver: cgroupfs
... skipping 85 lines ...
I1013 16:11:26.994759     213 round_trippers.go:454] GET https://kind-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I1013 16:11:27.494111     213 round_trippers.go:454] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I1013 16:11:27.993565     213 round_trippers.go:454] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I1013 16:11:28.494712     213 round_trippers.go:454] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I1013 16:11:28.994236     213 round_trippers.go:454] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I1013 16:11:29.493593     213 round_trippers.go:454] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I1013 16:11:34.235976     213 round_trippers.go:454] GET https://kind-control-plane:6443/healthz?timeout=10s 500 Internal Server Error in 4242 milliseconds
I1013 16:11:34.495125     213 round_trippers.go:454] GET https://kind-control-plane:6443/healthz?timeout=10s 500 Internal Server Error in 2 milliseconds
I1013 16:11:34.995117     213 round_trippers.go:454] GET https://kind-control-plane:6443/healthz?timeout=10s 500 Internal Server Error in 2 milliseconds
I1013 16:11:35.495052     213 round_trippers.go:454] GET https://kind-control-plane:6443/healthz?timeout=10s 500 Internal Server Error in 2 milliseconds
I1013 16:11:35.995119     213 round_trippers.go:454] GET https://kind-control-plane:6443/healthz?timeout=10s 200 OK in 2 milliseconds
I1013 16:11:35.995209     213 uploadconfig.go:108] [upload-config] Uploading the kubeadm ClusterConfiguration to a ConfigMap
[apiclient] All control plane components are healthy after 10.003934 seconds
[upload-config] Storing the configuration used in ConfigMap "kubeadm-config" in the "kube-system" Namespace
I1013 16:11:35.999845     213 round_trippers.go:454] POST https://kind-control-plane:6443/api/v1/namespaces/kube-system/configmaps?timeout=10s 201 Created in 3 milliseconds
I1013 16:11:36.004169     213 round_trippers.go:454] POST https://kind-control-plane:6443/apis/rbac.authorization.k8s.io/v1/namespaces/kube-system/roles?timeout=10s 201 Created in 3 milliseconds
... skipping 334 lines ...
STEP: implementing the mutating and validating webhooks
STEP: uncomment kustomization.yaml to enable webhook and ca injection
STEP: building image
running: make docker-build IMG=e2e-test/controller-manager:vheu
STEP: clean up created API objects during test process
running: kustomize build config/default
warning: error when running kustomize build: kustomize build config/default failed with error: (exec: "kustomize": executable file not found in $PATH) 
running: kubectl delete -f -
STEP: uninstalling prometheus manager bundle
running: kubectl delete -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/release-0.51/bundle.yaml
STEP: uninstalling cert manager bundle
running: kubectl delete -f https://github.com/jetstack/cert-manager/releases/download/v0.11.0/cert-manager.yaml
running: kubectl delete namespace cert-manager
warning: error when cleaning up the cert manager namespace: kubectl delete namespace cert-manager failed with error: (exit status 1) Error from server (NotFound): namespaces "cert-manager" not found

STEP: remove container image and work dir
running: docker rmi -f e2e-test/controller-manager:vheu
• Failure [156.570 seconds]
kubebuilder
/home/prow/go/src/sigs.k8s.io/kubebuilder/test/e2e/v2/plugin_cluster_test.go:40
  with project version 2 scaffolding
  /home/prow/go/src/sigs.k8s.io/kubebuilder/test/e2e/v2/plugin_cluster_test.go:41
    should generate a runnable project [It]
    /home/prow/go/src/sigs.k8s.io/kubebuilder/test/e2e/v2/plugin_cluster_test.go:81

    Expected success, but got an error:
        <*errors.errorString | 0xc0002940c0>: {
            s: "make docker-build IMG=e2e-test/controller-manager:vheu failed with error: (exit status 2) go: creating new go.mod: module tmp\ngo: downloading sigs.k8s.io/controller-tools v0.3.0\ngo: downloading github.com/spf13/cobra v0.0.5\ngo: downloading golang.org/x/tools v0.0.0-20190920225731-5eefd052ad72\ngo: downloading github.com/fatih/color v1.7.0\ngo: downloading k8s.io/api v0.18.2\ngo: downloading k8s.io/apimachinery v0.18.2\ngo: downloading gopkg.in/yaml.v3 v3.0.0-20190905181640-827449938966\ngo: downloading k8s.io/apiextensions-apiserver v0.18.2\ngo: downloading github.com/gobuffalo/flect v0.2.0\ngo: downloading github.com/mattn/go-colorable v0.1.2\ngo: downloading github.com/mattn/go-isatty v0.0.8\ngo: downloading k8s.io/utils v0.0.0-20200324210504-a9aa75ae1b89\ngo: downloading github.com/json-iterator/go v1.1.8\ngo: downloading golang.org/x/sys v0.0.0-20191022100944-742c48ecaeb7\ngo: downloading golang.org/x/net v0.0.0-20191004110552-13f9640d40b9\ngo: downloading golang.org/x/text v0.3.2\ngo get: installing executables with 'go get' in module mode is deprecated.\n\tTo adjust and download dependencies of the current module, use 'go get -d'.\n\tTo install using requirements of the current module, use 'go install'.\n\tTo install ignoring the current module, use 'go install' with a version,\n\tlike 'go install example.com/cmd@latest'.\n\tFor more information, see https://golang.org/doc/go-get-install-deprecation\n\tor run 'go help get' or 'go help install'.\ngo get: added github.com/fatih/color v1.7.0\ngo get: added github.com/gobuffalo/flect v0.2.0\ngo get: added github.com/gogo/protobuf v1.3.1\ngo get: added github.com/google/gofuzz v1.1.0\ngo get: added github.com/inconshreveable/mousetrap v1.0.0\ngo get: added github.com/json-iterator/go v1.1.8\ngo get: added github.com/mattn/go-colorable v0.1.2\ngo get: added github.com/mattn/go-isatty v0.0.8\ngo get: added github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd\ngo get: added github.com/modern-go/reflect2 v1.0.1\ngo get: added github.com/spf13/cobra v0.0.5\ngo get: added github.com/spf13/pflag v1.0.5\ngo get: added golang.org/x/net v0.0.0-20191004110552-13f9640d40b9\ngo get: added golang.org/x/sys v0.0.0-20191022100944-742c48ecaeb7\ngo get: added golang.org/x/text v0.3.2\ngo get: added golang.org/x/tools v0.0.0-20190920225731-5eefd052ad72\ngo get: added gopkg.in/inf.v0 v0.9.1\ngo get: added gopkg.in/yaml.v2 v2.2.8\ngo get: added gopkg.in/yaml.v3 v3.0.0-20190905181640-827449938966\ngo get: added k8s.io/api v0.18.2\ngo get: added k8s.io/apiextensions-apiserver v0.18.2\ngo get: added k8s.io/apimachinery v0.18.2\ngo get: added k8s.io/klog v1.0.0\ngo get: added k8s.io/utils v0.0.0-20200324210504-a9aa75ae1b89\ngo get: added sigs.k8s.io/controller-tools v0.3.0\ngo get: added sigs.k8s.io/structured-merge-diff/v3 v3.0.0\ngo get: added sigs.k8s.io/yaml v1.2.0\n/home/prow/go/bin/controller-gen \"crd:trivialVersions=true\" rbac:roleName=manager-role webhook paths=\"./...\" output:crd:artifacts:config=config/crd/bases\n/home/prow/go/bin/controller-gen object:headerFile=\"hack/boilerplate.go.txt\" paths=\"./...\"\ngo fmt ./...\ngo vet ./...\ngo test ./... -coverprofile cover.out\n?   \tsigs.k8s.io/kubebuilder/v3\t[no test files]\n?   \tsigs.k8s.io/kubebuilder/v3/api/v1alpha1\t[no test files]\nRunning Suite: Controller Suite\n===============================\nRandom Seed: \x1b[1m1634141618\x1b[0m\nWill run \x1b[1m0\x1b[0m of \x1b[1m0\x1b[0m specs\n\n\x1b[1mSTEP\x1b[0m: bootstrapping test environment\n2021-10-13T16:13:38.296Z\tDEBUG\tcontroller-runtime.test-env\tstarting control plane\t{\"api server flags\": []}\n2021-10-13T16:13:58.297Z\tERROR\tcontroller-runtime.test-env\tunable to start the controlplane\t{\"tries\": 0, \"error\": \"timeout waiting for process etcd to start\"}\ngithub.com/go-logr/zapr.(*zapLogger).Error\n\t/home/prow/go/pkg/mod/github.com/go-logr/zapr@v0.1.0/zapr.go:128\nsigs.k8s.io/controller-runtime/pkg/envtest.(*Environment).startControlPlane\n\...
    
    Gomega truncated this representation as it exceeds 'format.MaxLength'.
    Consider having the object provide a custom 'GomegaStringer' representation
    or adjust the parameters in Gomega's 'format' package.
    
    Learn more here: https://onsi.github.io/gomega/#adjusting-output
    
        make docker-build IMG=e2e-test/controller-manager:vheu failed with error: (exit status 2) go: creating new go.mod: module tmp
        go: downloading sigs.k8s.io/controller-tools v0.3.0
        go: downloading github.com/spf13/cobra v0.0.5
        go: downloading golang.org/x/tools v0.0.0-20190920225731-5eefd052ad72
        go: downloading github.com/fatih/color v1.7.0
        go: downloading k8s.io/api v0.18.2
        go: downloading k8s.io/apimachinery v0.18.2
... skipping 52 lines ...
        ===============================
        Random Seed: 1634141618
        Will run 0 of 0 specs
        
        STEP: bootstrapping test environment
        2021-10-13T16:13:38.296Z	DEBUG	controller-runtime.test-env	starting control plane	{"api server flags": []}
        2021-10-13T16:13:58.297Z	ERROR	controller-runtime.test-env	unable to start the controlplane	{"tries": 0, "error": "timeout waiting for process etcd to start"}
        github.com/go-logr/zapr.(*zapLogger).Error
        	/home/prow/go/pkg/mod/github.com/go-logr/zapr@v0.1.0/zapr.go:128
        sigs.k8s.io/controller-runtime/pkg/envtest.(*Environment).startControlPlane
        	/home/prow/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.4/pkg/envtest/server.go:279
        sigs.k8s.io/controller-runtime/pkg/envtest.(*Environment).Start
        	/home/prow/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.4/pkg/envtest/server.go:241
        sigs.k8s.io/kubebuilder/v3/controllers.glob..func1
... skipping 3 lines ...
        reflect.Value.Call
        	/usr/local/go/src/reflect/value.go:339
        github.com/onsi/ginkgo/internal/leafnodes.newRunner.func1
        	/home/prow/go/pkg/mod/github.com/onsi/ginkgo@v1.12.1/internal/leafnodes/runner.go:49
        github.com/onsi/ginkgo/internal/leafnodes.(*runner).runAsync.func1
        	/home/prow/go/pkg/mod/github.com/onsi/ginkgo@v1.12.1/internal/leafnodes/runner.go:86
        2021-10-13T16:14:18.298Z	ERROR	controller-runtime.test-env	unable to start the controlplane	{"tries": 1, "error": "timeout waiting for process etcd to start"}
        github.com/go-logr/zapr.(*zapLogger).Error
        	/home/prow/go/pkg/mod/github.com/go-logr/zapr@v0.1.0/zapr.go:128
        sigs.k8s.io/controller-runtime/pkg/envtest.(*Environment).startControlPlane
        	/home/prow/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.4/pkg/envtest/server.go:279
        sigs.k8s.io/controller-runtime/pkg/envtest.(*Environment).Start
        	/home/prow/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.4/pkg/envtest/server.go:241
        sigs.k8s.io/kubebuilder/v3/controllers.glob..func1
... skipping 14 lines ...
        
          /home/prow/go/src/sigs.k8s.io/kubebuilder/test/e2e/v2/e2e-vheu/controllers/suite_test.go:52
        ------------------------------
        
        
        Ran 0 of 0 Specs in 60.010 seconds
        FAIL! -- 0 Passed | 0 Failed | 0 Pending | 0 Skipped
        --- FAIL: TestAPIs (60.01s)
        FAIL
        coverage: 0.0% of statements
        FAIL	sigs.k8s.io/kubebuilder/v3/controllers	60.033s
        FAIL
        make: *** [Makefile:47: test] Error 1
        

    /home/prow/go/src/sigs.k8s.io/kubebuilder/test/e2e/v2/plugin_cluster_test.go:172
------------------------------


Summarizing 1 Failure:

[Fail] kubebuilder with project version 2 scaffolding [It] should generate a runnable project 
/home/prow/go/src/sigs.k8s.io/kubebuilder/test/e2e/v2/plugin_cluster_test.go:172

Ran 1 of 1 Specs in 156.571 seconds
FAIL! -- 0 Passed | 1 Failed | 0 Pending | 0 Skipped
--- FAIL: TestE2E (156.57s)
FAIL
FAIL	sigs.k8s.io/kubebuilder/v3/test/e2e/v2	156.579s
FAIL
Deleting cluster "kind" ...
+ EXIT_VALUE=1
+ set +o xtrace
Cleaning up after docker in docker.
================================================================================
Cleaning up after docker
... skipping 4 lines ...