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

No Test Failures!


Error lines from build-log.txt

... skipping 250 lines ...
I0905 21:07:13.442238     215 round_trippers.go:445] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0905 21:07:13.941008     215 round_trippers.go:445] GET https://kind-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0905 21:07:14.439885     215 round_trippers.go:445] GET https://kind-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0905 21:07:14.939967     215 round_trippers.go:445] GET https://kind-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0905 21:07:15.439145     215 round_trippers.go:445] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0905 21:07:15.939550     215 round_trippers.go:445] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0905 21:07:22.141753     215 round_trippers.go:445] GET https://kind-control-plane:6443/healthz?timeout=10s 500 Internal Server Error in 5703 milliseconds
I0905 21:07:22.442768     215 round_trippers.go:445] GET https://kind-control-plane:6443/healthz?timeout=10s 500 Internal Server Error in 3 milliseconds
I0905 21:07:22.941528     215 round_trippers.go:445] GET https://kind-control-plane:6443/healthz?timeout=10s 500 Internal Server Error in 2 milliseconds
I0905 21:07:23.446063     215 round_trippers.go:445] GET https://kind-control-plane:6443/healthz?timeout=10s 500 Internal Server Error in 7 milliseconds
I0905 21:07:23.941251     215 round_trippers.go:445] GET https://kind-control-plane:6443/healthz?timeout=10s 200 OK in 2 milliseconds
I0905 21:07:23.941428     215 uploadconfig.go:108] [upload-config] Uploading the kubeadm ClusterConfiguration to a ConfigMap
[apiclient] All control plane components are healthy after 17.004396 seconds
[upload-config] Storing the configuration used in ConfigMap "kubeadm-config" in the "kube-system" Namespace
I0905 21:07:23.947360     215 round_trippers.go:445] POST https://kind-control-plane:6443/api/v1/namespaces/kube-system/configmaps?timeout=10s 201 Created in 4 milliseconds
I0905 21:07:23.951949     215 round_trippers.go:445] POST https://kind-control-plane:6443/apis/rbac.authorization.k8s.io/v1/namespaces/kube-system/roles?timeout=10s 201 Created in 3 milliseconds
... skipping 140 lines ...
Running Suite: Kubebuilder e2e suite - /home/prow/go/src/sigs.k8s.io/kubebuilder/test/e2e/deployimage
=====================================================================================================
Random Seed: 1662412083

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

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

  Unexpected error:
      <*errors.errorString | 0xc00009a7b0>: {
          s: "docker build -t e2e-test/controller-manager:qbrm . 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\n1b8b7b0817d4: Waiting\n17ab5c0fa3a1: Waiting\n53ad072f9cd1: Waiting\ndacb042d4b55: 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: Download complete\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 e111ba02118d\nRemoving intermediate container e111ba02118d\n ---> 0889a6983fa1\nStep 3/18 : ARG TARGETPLATFORM\n ---> Running in 0a07edea419a\nRemoving intermediate container 0a07edea419a\n ---> bc11179dbd44\nStep 4/18 : ARG TARGETOS\n ---> Running in 85074aae38b3\nRemoving intermediate container 85074aae38b3\n ---> d03c5228a248\nStep 5/18 : ARG TARGETARCH\n ---> Running in 2fc79253ace6\nRemoving intermediate container 2fc79253ace6\n ---> 6c4755c20433\nStep 6/18 : WORKDIR /workspace\n ---> Running in 78522b2aca19\nRemoving intermediate container 78522b2aca19\n ---> 26144afb7680\nStep 7/18 : COPY go.mod go.mod\n ---> 8d0cbbb6d99d\nStep 8/18 : COPY go.sum go.sum\n ---> 45c23c5042d3\nStep 9/18 : RUN go mod download\n ---> Running in 765dc4285441\nRemoving intermediate container 765dc4285441\n ---> c1df452f9f70\nStep 10/18 : COPY main.go main.go\n ---> f5e297ca96af\nStep 11/18 : COPY api/ api/\n ---> 13a825f2e9db\nStep 12/18 : COPY controllers/ controllers/\n ---> e3b54889ea2e\nStep 13/18 : RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH:amd64} go build -a -o manager main.go\n ---> Running in da4001c15c94\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:qbrm . 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 65 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] [23.159 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:15.788
    running: docker build -t e2e-test/controller-manager:ngnw .
    STEP: clean up API objects created during the test 09/05/22 21:10:17.7
    running: /home/prow/go/src/sigs.k8s.io/kubebuilder/test/e2e/deployimage/e2e-ngnw/bin/kustomize build config/default
    running: kubectl delete -f -
    warning: kubectl delete -f - failed with error: (exit status 1) namespace "e2e-ngnw-system" deleted
    customresourcedefinition.apiextensions.k8s.io "foongnws.barngnw.example.comngnw" deleted
    Error from server (NotFound): error when deleting "STDIN": serviceaccounts "e2e-ngnw-controller-manager" not found
    Error from server (NotFound): error when deleting "STDIN": roles.rbac.authorization.k8s.io "e2e-ngnw-leader-election-role" not found
    Error from server (NotFound): error when deleting "STDIN": clusterroles.rbac.authorization.k8s.io "e2e-ngnw-manager-role" not found
    Error from server (NotFound): error when deleting "STDIN": clusterroles.rbac.authorization.k8s.io "e2e-ngnw-metrics-reader" not found
    Error from server (NotFound): error when deleting "STDIN": clusterroles.rbac.authorization.k8s.io "e2e-ngnw-proxy-role" not found
    Error from server (NotFound): error when deleting "STDIN": rolebindings.rbac.authorization.k8s.io "e2e-ngnw-leader-election-rolebinding" not found
    Error from server (NotFound): error when deleting "STDIN": clusterrolebindings.rbac.authorization.k8s.io "e2e-ngnw-manager-rolebinding" not found
    Error from server (NotFound): error when deleting "STDIN": clusterrolebindings.rbac.authorization.k8s.io "e2e-ngnw-proxy-rolebinding" not found
    Error from server (NotFound): error when deleting "STDIN": services "e2e-ngnw-controller-manager-metrics-service" not found
    Error from server (NotFound): error when deleting "STDIN": deployments.apps "e2e-ngnw-controller-manager" not found
    Error from server (NotFound): error when deleting "STDIN": servicemonitors.monitoring.coreos.com "e2e-ngnw-controller-manager-metrics-monitor" not found

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

  Unexpected error:
      <*errors.errorString | 0xc000194070>: {
          s: "docker build -t e2e-test/controller-manager:ngnw . 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 ---> 0889a6983fa1\nStep 3/18 : ARG TARGETPLATFORM\n ---> Using cache\n ---> bc11179dbd44\nStep 4/18 : ARG TARGETOS\n ---> Using cache\n ---> d03c5228a248\nStep 5/18 : ARG TARGETARCH\n ---> Using cache\n ---> 6c4755c20433\nStep 6/18 : WORKDIR /workspace\n ---> Using cache\n ---> 26144afb7680\nStep 7/18 : COPY go.mod go.mod\n ---> Using cache\n ---> 8d0cbbb6d99d\nStep 8/18 : COPY go.sum go.sum\n ---> Using cache\n ---> 45c23c5042d3\nStep 9/18 : RUN go mod download\n ---> Using cache\n ---> c1df452f9f70\nStep 10/18 : COPY main.go main.go\n ---> f7cf569df6c5\nStep 11/18 : COPY api/ api/\n ---> 1a664ffcb050\nStep 12/18 : COPY controllers/ controllers/\n ---> b30b9aeefe92\nStep 13/18 : RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH:amd64} go build -a -o manager main.go\n ---> Running in abb2b8b1e239\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:ngnw . 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
       ---> 0889a6983fa1
      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 137.591 seconds
FAIL! -- 0 Passed | 2 Failed | 0 Pending | 0 Skipped
--- FAIL: TestE2E (137.59s)
FAIL
FAIL	sigs.k8s.io/kubebuilder/v3/test/e2e/deployimage	137.607s
FAIL
Deleting cluster "kind" ...
+ EXIT_VALUE=1
+ set +o xtrace
Cleaning up after docker in docker.
================================================================================
Cleaning up after docker
... skipping 6 lines ...