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
Elapsed4m31s
Revision
Refs 2906
uploadercrier
uploadercrier

No Test Failures!


Error lines from build-log.txt

... skipping 237 lines ...
I0905 21:07:03.281458     216 round_trippers.go:454] GET https://kind-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0905 21:07:03.780922     216 round_trippers.go:454] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0905 21:07:04.281391     216 round_trippers.go:454] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0905 21:07:04.781796     216 round_trippers.go:454] GET https://kind-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0905 21:07:05.281038     216 round_trippers.go:454] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0905 21:07:05.781232     216 round_trippers.go:454] GET https://kind-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0905 21:07:13.488225     216 round_trippers.go:454] GET https://kind-control-plane:6443/healthz?timeout=10s 500 Internal Server Error in 7208 milliseconds
I0905 21:07:13.782891     216 round_trippers.go:454] GET https://kind-control-plane:6443/healthz?timeout=10s 500 Internal Server Error in 1 milliseconds
I0905 21:07:14.283410     216 round_trippers.go:454] GET https://kind-control-plane:6443/healthz?timeout=10s 500 Internal Server Error in 2 milliseconds
I0905 21:07:14.783608     216 round_trippers.go:454] GET https://kind-control-plane:6443/healthz?timeout=10s 500 Internal Server Error in 2 milliseconds
I0905 21:07:15.282531     216 round_trippers.go:454] GET https://kind-control-plane:6443/healthz?timeout=10s 500 Internal Server Error in 1 milliseconds
I0905 21:07:15.783577     216 round_trippers.go:454] GET https://kind-control-plane:6443/healthz?timeout=10s 200 OK in 3 milliseconds
I0905 21:07:15.783716     216 uploadconfig.go:110] [upload-config] Uploading the kubeadm ClusterConfiguration to a ConfigMap
[apiclient] All control plane components are healthy after 13.506334 seconds
[upload-config] Storing the configuration used in ConfigMap "kubeadm-config" in the "kube-system" Namespace
I0905 21:07:15.791010     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:15.797286     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 5 milliseconds
... skipping 139 lines ...
Running Suite: Kubebuilder e2e suite - /home/prow/go/src/sigs.k8s.io/kubebuilder/test/e2e/deployimage
=====================================================================================================
Random Seed: 1662412078

Will run 2 of 2 specs
------------------------------
• [FAILED] [100.651 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:57.071
    running: docker build -t e2e-test/controller-manager:wzme .
    STEP: clean up API objects created during the test 09/05/22 21:09:35.721
    running: /home/prow/go/src/sigs.k8s.io/kubebuilder/test/e2e/deployimage/e2e-wzme/bin/kustomize build config/default
    running: kubectl delete -f -
    warning: kubectl delete -f - failed with error: (exit status 1) namespace "e2e-wzme-system" deleted
    customresourcedefinition.apiextensions.k8s.io "foowzmes.barwzme.example.comwzme" deleted
    Error from server (NotFound): error when deleting "STDIN": serviceaccounts "e2e-wzme-controller-manager" not found
    Error from server (NotFound): error when deleting "STDIN": roles.rbac.authorization.k8s.io "e2e-wzme-leader-election-role" not found
    Error from server (NotFound): error when deleting "STDIN": clusterroles.rbac.authorization.k8s.io "e2e-wzme-manager-role" not found
    Error from server (NotFound): error when deleting "STDIN": clusterroles.rbac.authorization.k8s.io "e2e-wzme-metrics-reader" not found
    Error from server (NotFound): error when deleting "STDIN": clusterroles.rbac.authorization.k8s.io "e2e-wzme-proxy-role" not found
    Error from server (NotFound): error when deleting "STDIN": rolebindings.rbac.authorization.k8s.io "e2e-wzme-leader-election-rolebinding" not found
    Error from server (NotFound): error when deleting "STDIN": clusterrolebindings.rbac.authorization.k8s.io "e2e-wzme-manager-rolebinding" not found
    Error from server (NotFound): error when deleting "STDIN": clusterrolebindings.rbac.authorization.k8s.io "e2e-wzme-proxy-rolebinding" not found
    Error from server (NotFound): error when deleting "STDIN": services "e2e-wzme-controller-manager-metrics-service" not found
    Error from server (NotFound): error when deleting "STDIN": deployments.apps "e2e-wzme-controller-manager" not found
    Error from server (NotFound): error when deleting "STDIN": servicemonitors.monitoring.coreos.com "e2e-wzme-controller-manager-metrics-monitor" not found

    STEP: uninstalling the Prometheus manager bundle 09/05/22 21:09:37.299
    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.924
    running: docker rmi -f e2e-test/controller-manager:wzme
  << End Captured GinkgoWriter Output

  Unexpected error:
      <*errors.errorString | 0xc00020ee80>: {
          s: "docker build -t e2e-test/controller-manager:wzme . 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\n17ab5c0fa3a1: Waiting\n53ad072f9cd1: Waiting\n3e94d13e55e7: Verifying Checksum\n3e94d13e55e7: Download complete\nfa9c7528c685: Verifying Checksum\nfa9c7528c685: Download complete\n1671565cc8df: Verifying Checksum\n1671565cc8df: Download complete\n53ad072f9cd1: Verifying Checksum\n53ad072f9cd1: Download complete\n17ab5c0fa3a1: Verifying Checksum\n17ab5c0fa3a1: 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 277f3469e2ec\nRemoving intermediate container 277f3469e2ec\n ---> c35237c6bc2d\nStep 3/18 : ARG TARGETPLATFORM\n ---> Running in a3abf8b0d3f0\nRemoving intermediate container a3abf8b0d3f0\n ---> 89be1b98586e\nStep 4/18 : ARG TARGETOS\n ---> Running in b226fd4f3173\nRemoving intermediate container b226fd4f3173\n ---> 8c69600aeba5\nStep 5/18 : ARG TARGETARCH\n ---> Running in fbc7125fa99f\nRemoving intermediate container fbc7125fa99f\n ---> 4e0d59492f44\nStep 6/18 : WORKDIR /workspace\n ---> Running in 69454a159376\nRemoving intermediate container 69454a159376\n ---> 7dbcc1814856\nStep 7/18 : COPY go.mod go.mod\n ---> 2dd493a39bfc\nStep 8/18 : COPY go.sum go.sum\n ---> 5dc7cde4428b\nStep 9/18 : RUN go mod download\n ---> Running in e923503e2cb1\nRemoving intermediate container e923503e2cb1\n ---> c0c908af1103\nStep 10/18 : COPY main.go main.go\n ---> 99ee3e10497b\nStep 11/18 : COPY api/ api/\n ---> 690a82fbf304\nStep 12/18 : COPY controllers/ controllers/\n ---> b2fd24b426e8\nStep 13/18 : RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH:amd64} go build -a -o manager main.go\n ---> Running in 3f2c38fecfe2\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:wzme . 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 67 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] [20.842 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:09:54.908
    running: docker build -t e2e-test/controller-manager:batf .
    STEP: clean up API objects created during the test 09/05/22 21:09:56.652
    running: /home/prow/go/src/sigs.k8s.io/kubebuilder/test/e2e/deployimage/e2e-batf/bin/kustomize build config/default
    running: kubectl delete -f -
    warning: kubectl delete -f - failed with error: (exit status 1) namespace "e2e-batf-system" deleted
    customresourcedefinition.apiextensions.k8s.io "foobatfs.barbatf.example.combatf" deleted
    Error from server (NotFound): error when deleting "STDIN": serviceaccounts "e2e-batf-controller-manager" not found
    Error from server (NotFound): error when deleting "STDIN": roles.rbac.authorization.k8s.io "e2e-batf-leader-election-role" not found
    Error from server (NotFound): error when deleting "STDIN": clusterroles.rbac.authorization.k8s.io "e2e-batf-manager-role" not found
    Error from server (NotFound): error when deleting "STDIN": clusterroles.rbac.authorization.k8s.io "e2e-batf-metrics-reader" not found
    Error from server (NotFound): error when deleting "STDIN": clusterroles.rbac.authorization.k8s.io "e2e-batf-proxy-role" not found
    Error from server (NotFound): error when deleting "STDIN": rolebindings.rbac.authorization.k8s.io "e2e-batf-leader-election-rolebinding" not found
    Error from server (NotFound): error when deleting "STDIN": clusterrolebindings.rbac.authorization.k8s.io "e2e-batf-manager-rolebinding" not found
    Error from server (NotFound): error when deleting "STDIN": clusterrolebindings.rbac.authorization.k8s.io "e2e-batf-proxy-rolebinding" not found
    Error from server (NotFound): error when deleting "STDIN": services "e2e-batf-controller-manager-metrics-service" not found
    Error from server (NotFound): error when deleting "STDIN": deployments.apps "e2e-batf-controller-manager" not found
    Error from server (NotFound): error when deleting "STDIN": servicemonitors.monitoring.coreos.com "e2e-batf-controller-manager-metrics-monitor" not found

    STEP: uninstalling the Prometheus manager bundle 09/05/22 21:09:58.097
    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:59.768
    running: docker rmi -f e2e-test/controller-manager:batf
  << End Captured GinkgoWriter Output

  Unexpected error:
      <*errors.errorString | 0xc0002963a0>: {
          s: "docker build -t e2e-test/controller-manager:batf . 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 ---> c35237c6bc2d\nStep 3/18 : ARG TARGETPLATFORM\n ---> Using cache\n ---> 89be1b98586e\nStep 4/18 : ARG TARGETOS\n ---> Using cache\n ---> 8c69600aeba5\nStep 5/18 : ARG TARGETARCH\n ---> Using cache\n ---> 4e0d59492f44\nStep 6/18 : WORKDIR /workspace\n ---> Using cache\n ---> 7dbcc1814856\nStep 7/18 : COPY go.mod go.mod\n ---> Using cache\n ---> 2dd493a39bfc\nStep 8/18 : COPY go.sum go.sum\n ---> Using cache\n ---> 5dc7cde4428b\nStep 9/18 : RUN go mod download\n ---> Using cache\n ---> c0c908af1103\nStep 10/18 : COPY main.go main.go\n ---> 40ae0c4108a2\nStep 11/18 : COPY api/ api/\n ---> 51f87692db9c\nStep 12/18 : COPY controllers/ controllers/\n ---> 7bc4797dae34\nStep 13/18 : RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH:amd64} go build -a -o manager main.go\n ---> Running in edfe4485064d\n\x1b[91m/bin/sh: 1: Bad substitution\x1b[0m\x1b[91m\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:batf . 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
       ---> c35237c6bc2d
      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 121.493 seconds
FAIL! -- 0 Passed | 2 Failed | 0 Pending | 0 Skipped
--- FAIL: TestE2E (121.49s)
FAIL
FAIL	sigs.k8s.io/kubebuilder/v3/test/e2e/deployimage	121.504s
FAIL
Deleting cluster "kind" ...
+ EXIT_VALUE=1
+ set +o xtrace
Cleaning up after docker in docker.
================================================================================
Cleaning up after docker
... skipping 6 lines ...