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

No Test Failures!


Error lines from build-log.txt

... skipping 238 lines ...
I0905 21:07:06.589908     249 round_trippers.go:444] GET https://kind-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0905 21:07:07.089815     249 round_trippers.go:444] GET https://kind-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0905 21:07:07.590023     249 round_trippers.go:444] GET https://kind-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0905 21:07:08.089220     249 round_trippers.go:444] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0905 21:07:08.589517     249 round_trippers.go:444] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0905 21:07:09.089003     249 round_trippers.go:444] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0905 21:07:16.958291     249 round_trippers.go:444] GET https://kind-control-plane:6443/healthz?timeout=10s 500 Internal Server Error in 7369 milliseconds
I0905 21:07:17.092695     249 round_trippers.go:444] GET https://kind-control-plane:6443/healthz?timeout=10s 500 Internal Server Error in 4 milliseconds
I0905 21:07:17.591609     249 round_trippers.go:444] GET https://kind-control-plane:6443/healthz?timeout=10s 500 Internal Server Error in 3 milliseconds
I0905 21:07:18.094426     249 round_trippers.go:444] GET https://kind-control-plane:6443/healthz?timeout=10s 500 Internal Server Error in 5 milliseconds
I0905 21:07:18.590890     249 round_trippers.go:444] GET https://kind-control-plane:6443/healthz?timeout=10s 500 Internal Server Error in 2 milliseconds
[apiclient] All control plane components are healthy after 13.505267 seconds
[upload-config] Storing the configuration used in ConfigMap "kubeadm-config" in the "kube-system" Namespace
I0905 21:07:19.091732     249 round_trippers.go:444] GET https://kind-control-plane:6443/healthz?timeout=10s 200 OK in 3 milliseconds
I0905 21:07:19.091891     249 uploadconfig.go:108] [upload-config] Uploading the kubeadm ClusterConfiguration to a ConfigMap
I0905 21:07:19.099695     249 round_trippers.go:444] POST https://kind-control-plane:6443/api/v1/namespaces/kube-system/configmaps?timeout=10s 201 Created in 6 milliseconds
I0905 21:07:19.110750     249 round_trippers.go:444] POST https://kind-control-plane:6443/apis/rbac.authorization.k8s.io/v1/namespaces/kube-system/roles?timeout=10s 201 Created in 10 milliseconds
... skipping 134 lines ...
Running Suite: Kubebuilder e2e suite - /home/prow/go/src/sigs.k8s.io/kubebuilder/test/e2e/deployimage
=====================================================================================================
Random Seed: 1662412084

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

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

  Unexpected error:
      <*errors.errorString | 0xc000186380>: {
          s: "docker build -t e2e-test/controller-manager:dkpr . 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 788942cdacc1\nRemoving intermediate container 788942cdacc1\n ---> 747fdb854cb6\nStep 3/18 : ARG TARGETPLATFORM\n ---> Running in bf8f93908cb1\nRemoving intermediate container bf8f93908cb1\n ---> 75620421e59c\nStep 4/18 : ARG TARGETOS\n ---> Running in e7908cda9009\nRemoving intermediate container e7908cda9009\n ---> 052044be8033\nStep 5/18 : ARG TARGETARCH\n ---> Running in cc4004a34da7\nRemoving intermediate container cc4004a34da7\n ---> b1c62bdeadda\nStep 6/18 : WORKDIR /workspace\n ---> Running in d5089630f7ad\nRemoving intermediate container d5089630f7ad\n ---> f0f79f38c2a5\nStep 7/18 : COPY go.mod go.mod\n ---> 96133a58ca71\nStep 8/18 : COPY go.sum go.sum\n ---> d4e2d4dfc7fd\nStep 9/18 : RUN go mod download\n ---> Running in 90ec539d08c4\nRemoving intermediate container 90ec539d08c4\n ---> 9d6c72703ff8\nStep 10/18 : COPY main.go main.go\n ---> 60b3acf6ed5f\nStep 11/18 : COPY api/ api/\n ---> 43229ee96b8a\nStep 12/18 : COPY controllers/ controllers/\n ---> db2811163921\nStep 13/18 : RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH:amd64} go build -a -o manager main.go\n ---> Running in f06c07453e70\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:dkpr . 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] [26.365 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:23.004
    running: docker build -t e2e-test/controller-manager:dqwc .
    STEP: clean up API objects created during the test 09/05/22 21:10:24.897
    running: /home/prow/go/src/sigs.k8s.io/kubebuilder/test/e2e/deployimage/e2e-dqwc/bin/kustomize build config/default
    running: kubectl delete -f -
    warning: kubectl delete -f - failed with error: (exit status 1) namespace "e2e-dqwc-system" deleted
    customresourcedefinition.apiextensions.k8s.io "foodqwcs.bardqwc.example.comdqwc" deleted
    Error from server (NotFound): error when deleting "STDIN": serviceaccounts "e2e-dqwc-controller-manager" not found
    Error from server (NotFound): error when deleting "STDIN": roles.rbac.authorization.k8s.io "e2e-dqwc-leader-election-role" not found
    Error from server (NotFound): error when deleting "STDIN": clusterroles.rbac.authorization.k8s.io "e2e-dqwc-manager-role" not found
    Error from server (NotFound): error when deleting "STDIN": clusterroles.rbac.authorization.k8s.io "e2e-dqwc-metrics-reader" not found
    Error from server (NotFound): error when deleting "STDIN": clusterroles.rbac.authorization.k8s.io "e2e-dqwc-proxy-role" not found
    Error from server (NotFound): error when deleting "STDIN": rolebindings.rbac.authorization.k8s.io "e2e-dqwc-leader-election-rolebinding" not found
    Error from server (NotFound): error when deleting "STDIN": clusterrolebindings.rbac.authorization.k8s.io "e2e-dqwc-manager-rolebinding" not found
    Error from server (NotFound): error when deleting "STDIN": clusterrolebindings.rbac.authorization.k8s.io "e2e-dqwc-proxy-rolebinding" not found
    Error from server (NotFound): error when deleting "STDIN": services "e2e-dqwc-controller-manager-metrics-service" not found
    Error from server (NotFound): error when deleting "STDIN": deployments.apps "e2e-dqwc-controller-manager" not found
    Error from server (NotFound): error when deleting "STDIN": servicemonitors.monitoring.coreos.com "e2e-dqwc-controller-manager-metrics-monitor" not found

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

  Unexpected error:
      <*errors.errorString | 0xc000186290>: {
          s: "docker build -t e2e-test/controller-manager:dqwc . 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 ---> 747fdb854cb6\nStep 3/18 : ARG TARGETPLATFORM\n ---> Using cache\n ---> 75620421e59c\nStep 4/18 : ARG TARGETOS\n ---> Using cache\n ---> 052044be8033\nStep 5/18 : ARG TARGETARCH\n ---> Using cache\n ---> b1c62bdeadda\nStep 6/18 : WORKDIR /workspace\n ---> Using cache\n ---> f0f79f38c2a5\nStep 7/18 : COPY go.mod go.mod\n ---> Using cache\n ---> 96133a58ca71\nStep 8/18 : COPY go.sum go.sum\n ---> Using cache\n ---> d4e2d4dfc7fd\nStep 9/18 : RUN go mod download\n ---> Using cache\n ---> 9d6c72703ff8\nStep 10/18 : COPY main.go main.go\n ---> 59e38f50467c\nStep 11/18 : COPY api/ api/\n ---> 64c80bf24307\nStep 12/18 : COPY controllers/ controllers/\n ---> 998fa6f73ec1\nStep 13/18 : RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH:amd64} go build -a -o manager main.go\n ---> Running in b282134b1e18\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:dqwc . 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
       ---> 747fdb854cb6
      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 144.296 seconds
FAIL! -- 0 Passed | 2 Failed | 0 Pending | 0 Skipped
--- FAIL: TestE2E (144.30s)
FAIL
FAIL	sigs.k8s.io/kubebuilder/v3/test/e2e/deployimage	144.310s
FAIL
Deleting cluster "kind" ...
+ EXIT_VALUE=1
+ set +o xtrace
Cleaning up after docker in docker.
================================================================================
Cleaning up after docker
... skipping 6 lines ...