This job view page is being replaced by Spyglass soon. Check out the new job view.
PRcamilamacedo86: ✨ add options and guidance to provide solutions for other platforms and within multiple architecture support
Resultfailure
Tests 0 failed / 0 succeeded
Started2022-09-05 21:05
Elapsed4m47s
Revision
Refs 2906
uploadercrier
uploadercrier

No Test Failures!


Error lines from build-log.txt

... skipping 236 lines ...
I0905 21:07:01.521561     216 round_trippers.go:454] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0905 21:07:02.021776     216 round_trippers.go:454] GET https://kind-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0905 21:07:02.521094     216 round_trippers.go:454] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0905 21:07:03.020451     216 round_trippers.go:454] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0905 21:07:03.520920     216 round_trippers.go:454] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0905 21:07:04.020998     216 round_trippers.go:454] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0905 21:07:09.462685     216 round_trippers.go:454] GET https://kind-control-plane:6443/healthz?timeout=10s 500 Internal Server Error in 4941 milliseconds
I0905 21:07:09.524630     216 round_trippers.go:454] GET https://kind-control-plane:6443/healthz?timeout=10s 500 Internal Server Error in 3 milliseconds
I0905 21:07:10.024414     216 round_trippers.go:454] GET https://kind-control-plane:6443/healthz?timeout=10s 500 Internal Server Error in 3 milliseconds
I0905 21:07:10.527071     216 round_trippers.go:454] GET https://kind-control-plane:6443/healthz?timeout=10s 500 Internal Server Error in 6 milliseconds
I0905 21:07:11.022514     216 round_trippers.go:454] GET https://kind-control-plane:6443/healthz?timeout=10s 500 Internal Server Error in 2 milliseconds
I0905 21:07:11.524402     216 round_trippers.go:454] GET https://kind-control-plane:6443/healthz?timeout=10s 200 OK in 4 milliseconds
[apiclient] All control plane components are healthy after 10.507012 seconds
[upload-config] Storing the configuration used in ConfigMap "kubeadm-config" in the "kube-system" Namespace
I0905 21:07:11.525361     216 uploadconfig.go:108] [upload-config] Uploading the kubeadm ClusterConfiguration to a ConfigMap
I0905 21:07:11.532498     216 round_trippers.go:454] POST https://kind-control-plane:6443/api/v1/namespaces/kube-system/configmaps?timeout=10s 201 Created in 5 milliseconds
I0905 21:07:11.538252     216 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 4 milliseconds
... skipping 137 lines ...
Running Suite: Kubebuilder e2e suite - /home/prow/go/src/sigs.k8s.io/kubebuilder/test/e2e/deployimage
=====================================================================================================
Random Seed: 1662412074

Will run 2 of 2 specs
------------------------------
• [FAILED] [104.093 seconds]
kubebuilder
/home/prow/go/src/sigs.k8s.io/kubebuilder/test/e2e/deployimage/plugin_cluster_test.go:40
  deploy image plugin 3
  /home/prow/go/src/sigs.k8s.io/kubebuilder/test/e2e/deployimage/plugin_cluster_test.go:41
    [It] should generate a runnable project with deploy-image/v1-alpha options 
    /home/prow/go/src/sigs.k8s.io/kubebuilder/test/e2e/deployimage/plugin_cluster_test.go:80
... skipping 26 lines ...
    running: make install
    STEP: building the controller image 09/05/22 21:08:52.936
    running: docker build -t e2e-test/controller-manager:fmnt .
    STEP: clean up API objects created during the test 09/05/22 21:09:33.052
    running: /home/prow/go/src/sigs.k8s.io/kubebuilder/test/e2e/deployimage/e2e-fmnt/bin/kustomize build config/default
    running: kubectl delete -f -
    warning: kubectl delete -f - failed with error: (exit status 1) namespace "e2e-fmnt-system" deleted
    customresourcedefinition.apiextensions.k8s.io "foofmnts.barfmnt.example.comfmnt" deleted
    Error from server (NotFound): error when deleting "STDIN": serviceaccounts "e2e-fmnt-controller-manager" not found
    Error from server (NotFound): error when deleting "STDIN": roles.rbac.authorization.k8s.io "e2e-fmnt-leader-election-role" not found
    Error from server (NotFound): error when deleting "STDIN": clusterroles.rbac.authorization.k8s.io "e2e-fmnt-manager-role" not found
    Error from server (NotFound): error when deleting "STDIN": clusterroles.rbac.authorization.k8s.io "e2e-fmnt-metrics-reader" not found
    Error from server (NotFound): error when deleting "STDIN": clusterroles.rbac.authorization.k8s.io "e2e-fmnt-proxy-role" not found
    Error from server (NotFound): error when deleting "STDIN": rolebindings.rbac.authorization.k8s.io "e2e-fmnt-leader-election-rolebinding" not found
    Error from server (NotFound): error when deleting "STDIN": clusterrolebindings.rbac.authorization.k8s.io "e2e-fmnt-manager-rolebinding" not found
    Error from server (NotFound): error when deleting "STDIN": clusterrolebindings.rbac.authorization.k8s.io "e2e-fmnt-proxy-rolebinding" not found
    Error from server (NotFound): error when deleting "STDIN": services "e2e-fmnt-controller-manager-metrics-service" not found
    Error from server (NotFound): error when deleting "STDIN": deployments.apps "e2e-fmnt-controller-manager" not found
    Error from server (NotFound): error when deleting "STDIN": servicemonitors.monitoring.coreos.com "e2e-fmnt-controller-manager-metrics-monitor" not found

    STEP: uninstalling the Prometheus manager bundle 09/05/22 21:09:36.052
    running: kubectl delete -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/release-0.51/bundle.yaml
    STEP: removing controller image and working dir 09/05/22 21:09:38.602
    running: docker rmi -f e2e-test/controller-manager:fmnt
  << End Captured GinkgoWriter Output

  Unexpected error:
      <*errors.errorString | 0xc000064020>: {
          s: "docker build -t e2e-test/controller-manager:fmnt . failed with error: (exit status 2) Sending build context to Docker daemon  211.5kB\r\r\nStep 1/18 : FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.18 as builder\n1.18: Pulling from library/golang\n1671565cc8df: Pulling fs layer\n3e94d13e55e7: Pulling fs layer\nfa9c7528c685: Pulling fs layer\n53ad072f9cd1: Pulling fs layer\ndacb042d4b55: Pulling fs layer\n1b8b7b0817d4: Pulling fs layer\n17ab5c0fa3a1: Pulling fs layer\ndacb042d4b55: Waiting\n1b8b7b0817d4: Waiting\n53ad072f9cd1: Waiting\n17ab5c0fa3a1: Waiting\n3e94d13e55e7: Download complete\nfa9c7528c685: Download complete\n1671565cc8df: Download complete\n53ad072f9cd1: Verifying Checksum\n53ad072f9cd1: Download complete\ndacb042d4b55: Verifying Checksum\ndacb042d4b55: Download complete\n1b8b7b0817d4: Verifying Checksum\n1b8b7b0817d4: Download complete\n1671565cc8df: Pull complete\n3e94d13e55e7: Pull complete\nfa9c7528c685: Pull complete\n53ad072f9cd1: Pull complete\ndacb042d4b55: Pull complete\n1b8b7b0817d4: Pull complete\n17ab5c0fa3a1: Pull complete\nDigest: sha256:5540a6a6b3b612c382accc545b3f6702de21e77b15d89ad947116c94b5f42993\nStatus: Downloaded newer image for golang:1.18\n ---> 06c366130191\nStep 2/18 : ARG BUILDPLATFORM\n ---> Running in 6f82e0525004\nRemoving intermediate container 6f82e0525004\n ---> d851a00e9c5d\nStep 3/18 : ARG TARGETPLATFORM\n ---> Running in 617ad1e527f5\nRemoving intermediate container 617ad1e527f5\n ---> 39c3c8dd9312\nStep 4/18 : ARG TARGETOS\n ---> Running in 19033e243721\nRemoving intermediate container 19033e243721\n ---> 7bf3758b4808\nStep 5/18 : ARG TARGETARCH\n ---> Running in 0a0cda69535f\nRemoving intermediate container 0a0cda69535f\n ---> 06e8cd84b442\nStep 6/18 : WORKDIR /workspace\n ---> Running in efffb8a32564\nRemoving intermediate container efffb8a32564\n ---> 0c87068abaec\nStep 7/18 : COPY go.mod go.mod\n ---> 3e128444c272\nStep 8/18 : COPY go.sum go.sum\n ---> 28888d1a3945\nStep 9/18 : RUN go mod download\n ---> Running in cbab270d34d2\nRemoving intermediate container cbab270d34d2\n ---> 536a408f27f8\nStep 10/18 : COPY main.go main.go\n ---> 7e3ed1dd59b0\nStep 11/18 : COPY api/ api/\n ---> d58a183b2251\nStep 12/18 : COPY controllers/ controllers/\n ---> 5427d8582c7b\nStep 13/18 : RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH:amd64} go build -a -o manager main.go\n ---> Running in 5524e35767fa\n\x1b[91m/bin/sh: 1: Bad substitution\n\x1b[0mThe command '/bin/sh -c CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH:amd64} go build -a -o manager main.go' returned a non-zero code: 2\n",
      }
      docker build -t e2e-test/controller-manager:fmnt . failed with error: (exit status 2) Sending build context to Docker daemon  211.5kB


      Step 1/18 : FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.18 as builder
      1.18: Pulling from library/golang
      1671565cc8df: Pulling fs layer
      3e94d13e55e7: Pulling fs layer
      fa9c7528c685: Pulling fs layer
      53ad072f9cd1: Pulling fs layer
... skipping 62 lines ...
      /bin/sh: 1: Bad substitution
      The command '/bin/sh -c CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH:amd64} go build -a -o manager main.go' returned a non-zero code: 2
      
  occurred
  In [It] at: /home/prow/go/src/sigs.k8s.io/kubebuilder/test/e2e/deployimage/plugin_cluster_test.go:122
------------------------------
• [FAILED] [34.345 seconds]
kubebuilder
/home/prow/go/src/sigs.k8s.io/kubebuilder/test/e2e/deployimage/plugin_cluster_test.go:40
  deploy image plugin 3
  /home/prow/go/src/sigs.k8s.io/kubebuilder/test/e2e/deployimage/plugin_cluster_test.go:41
    [It] should generate a runnable project with deploy-image/v1-alpha without options 
    /home/prow/go/src/sigs.k8s.io/kubebuilder/test/e2e/deployimage/plugin_cluster_test.go:125
... skipping 26 lines ...
    running: make install
    STEP: building the controller image 09/05/22 21:10:05.542
    running: docker build -t e2e-test/controller-manager:eztf .
    STEP: clean up API objects created during the test 09/05/22 21:10:08.414
    running: /home/prow/go/src/sigs.k8s.io/kubebuilder/test/e2e/deployimage/e2e-eztf/bin/kustomize build config/default
    running: kubectl delete -f -
    warning: kubectl delete -f - failed with error: (exit status 1) namespace "e2e-eztf-system" deleted
    customresourcedefinition.apiextensions.k8s.io "fooeztfs.bareztf.example.comeztf" deleted
    Error from server (NotFound): error when deleting "STDIN": serviceaccounts "e2e-eztf-controller-manager" not found
    Error from server (NotFound): error when deleting "STDIN": roles.rbac.authorization.k8s.io "e2e-eztf-leader-election-role" not found
    Error from server (NotFound): error when deleting "STDIN": clusterroles.rbac.authorization.k8s.io "e2e-eztf-manager-role" not found
    Error from server (NotFound): error when deleting "STDIN": clusterroles.rbac.authorization.k8s.io "e2e-eztf-metrics-reader" not found
    Error from server (NotFound): error when deleting "STDIN": clusterroles.rbac.authorization.k8s.io "e2e-eztf-proxy-role" not found
    Error from server (NotFound): error when deleting "STDIN": rolebindings.rbac.authorization.k8s.io "e2e-eztf-leader-election-rolebinding" not found
    Error from server (NotFound): error when deleting "STDIN": clusterrolebindings.rbac.authorization.k8s.io "e2e-eztf-manager-rolebinding" not found
    Error from server (NotFound): error when deleting "STDIN": clusterrolebindings.rbac.authorization.k8s.io "e2e-eztf-proxy-rolebinding" not found
    Error from server (NotFound): error when deleting "STDIN": services "e2e-eztf-controller-manager-metrics-service" not found
    Error from server (NotFound): error when deleting "STDIN": deployments.apps "e2e-eztf-controller-manager" not found
    Error from server (NotFound): error when deleting "STDIN": servicemonitors.monitoring.coreos.com "e2e-eztf-controller-manager-metrics-monitor" not found

    STEP: uninstalling the Prometheus manager bundle 09/05/22 21:10:10.648
    running: kubectl delete -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/release-0.51/bundle.yaml
    STEP: removing controller image and working dir 09/05/22 21:10:12.928
    running: docker rmi -f e2e-test/controller-manager:eztf
  << End Captured GinkgoWriter Output

  Unexpected error:
      <*errors.errorString | 0xc000064f90>: {
          s: "docker build -t e2e-test/controller-manager:eztf . failed with error: (exit status 2) Sending build context to Docker daemon  210.9kB\r\r\nStep 1/18 : FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.18 as builder\n ---> 06c366130191\nStep 2/18 : ARG BUILDPLATFORM\n ---> Using cache\n ---> d851a00e9c5d\nStep 3/18 : ARG TARGETPLATFORM\n ---> Using cache\n ---> 39c3c8dd9312\nStep 4/18 : ARG TARGETOS\n ---> Using cache\n ---> 7bf3758b4808\nStep 5/18 : ARG TARGETARCH\n ---> Using cache\n ---> 06e8cd84b442\nStep 6/18 : WORKDIR /workspace\n ---> Using cache\n ---> 0c87068abaec\nStep 7/18 : COPY go.mod go.mod\n ---> Using cache\n ---> 3e128444c272\nStep 8/18 : COPY go.sum go.sum\n ---> Using cache\n ---> 28888d1a3945\nStep 9/18 : RUN go mod download\n ---> Using cache\n ---> 536a408f27f8\nStep 10/18 : COPY main.go main.go\n ---> 532b5b4d473e\nStep 11/18 : COPY api/ api/\n ---> 9a8eeed94810\nStep 12/18 : COPY controllers/ controllers/\n ---> 5cdb3c0bd4b4\nStep 13/18 : RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH:amd64} go build -a -o manager main.go\n ---> Running in 4f60cd4ad58e\n\x1b[91m/bin/sh: 1: Bad substitution\n\x1b[0mThe command '/bin/sh -c CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH:amd64} go build -a -o manager main.go' returned a non-zero code: 2\n",
      }
      docker build -t e2e-test/controller-manager:eztf . failed with error: (exit status 2) Sending build context to Docker daemon  210.9kB


      Step 1/18 : FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.18 as builder
       ---> 06c366130191
      Step 2/18 : ARG BUILDPLATFORM
       ---> Using cache
       ---> d851a00e9c5d
      Step 3/18 : ARG TARGETPLATFORM
... skipping 31 lines ...
  occurred
  In [It] at: /home/prow/go/src/sigs.k8s.io/kubebuilder/test/e2e/deployimage/plugin_cluster_test.go:164
------------------------------


Summarizing 2 Failures:
  [FAIL] kubebuilder deploy image plugin 3 [It] should generate a runnable project with deploy-image/v1-alpha options 
  /home/prow/go/src/sigs.k8s.io/kubebuilder/test/e2e/deployimage/plugin_cluster_test.go:122
  [FAIL] kubebuilder deploy image plugin 3 [It] should generate a runnable project with deploy-image/v1-alpha without options 
  /home/prow/go/src/sigs.k8s.io/kubebuilder/test/e2e/deployimage/plugin_cluster_test.go:164

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