Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Iteration 1 failure:
- # Generate the operator-controller manifests
- rm -rf config/base/operator-controller/crd/bases && /Users/btofel/go/bin/controller-gen-v0.17.2 crd paths=./api/... output:crd:artifacts:config=config/base/operator-controller/crd/bases
- rm -f config/base/operator-controller/rbac/role.yaml && /Users/btofel/go/bin/controller-gen-v0.17.2 rbac:roleName=manager-role paths=./internal/operator-controller/... output:rbac:artifacts:config=config/base/operator-controller/rbac
- # Generate the catalogd manifests
- rm -rf config/base/catalogd/crd/bases && /Users/btofel/go/bin/controller-gen-v0.17.2 crd paths="./catalogd/api/..." output:crd:artifacts:config=config/base/catalogd/crd/bases
- rm -f config/base/catalogd/rbac/role.yaml && /Users/btofel/go/bin/controller-gen-v0.17.2 rbac:roleName=manager-role paths="./internal/catalogd/..." output:rbac:artifacts:config=config/base/catalogd/rbac
- rm -f config/base/catalogd/manager/webhook/manifests.yaml && /Users/btofel/go/bin/controller-gen-v0.17.2 webhook paths="./internal/catalogd/..." output:webhook:artifacts:config=config/base/catalogd/manager/webhook
- /Users/btofel/go/bin/controller-gen-v0.17.2 object:headerFile="hack/boilerplate.go.txt" paths="./..."
- go fmt ./...
- go build -cover -tags 'containers_image_openpgp' -ldflags '-s -w -X 'github.com/operator-framework/operator-controller/internal/shared/version.version=v1.2.0-rc4-69-g0c67744' ' -gcflags 'all=-trimpath=/Users/btofel/workspace/operator-controller' -asmflags 'all=-trimpath=/Users/btofel/workspace/operator-controller' -o bin/linux/operator-controller ./cmd/operator-controller
- docker build -t quay.io/operator-framework/operator-controller:devel -f Dockerfile ./bin/linux
- STEP 1/6: FROM gcr.io/distroless/static:nonroot
- STEP 2/6: WORKDIR /
- --> Using cache 8aa74fd019161d023fa73aaaa9c74664df8b5c1e02821edb9e999c7a21482751
- --> 8aa74fd01916
- STEP 3/6: COPY operator-controller operator-controller
- --> Using cache cbbc0faff20810593e866d009346024ac1adad22dab6232baf2daa2f607ea813
- --> cbbc0faff208
- STEP 4/6: EXPOSE 8080
- --> Using cache d26b01114b127e12ba690c377047682474e5ad2df5a437566f65be23f7e64a0f
- --> d26b01114b12
- STEP 5/6: USER 65532:65532
- --> Using cache bdb47704b327d15125c28d65fdeeb0a5be2e41c2da01931cc9969c32a0cb92a1
- --> bdb47704b327
- STEP 6/6: ENTRYPOINT ["/operator-controller"]
- --> Using cache 4141ced2366845c814cca8f9844350a24b618dfd22e822f16476be0571f532d2
- COMMIT quay.io/operator-framework/operator-controller:devel
- --> 4141ced23668
- Successfully tagged quay.io/operator-framework/operator-controller:devel
- 4141ced2366845c814cca8f9844350a24b618dfd22e822f16476be0571f532d2
- IMAGE_REPO=quay.io/operator-framework/catalogd /Applications/Xcode.app/Contents/Developer/usr/bin/make -C catalogd build-container
- GOOS=linux go build -tags 'containers_image_openpgp' -ldflags '-s -w -X "github.com/operator-framework/operator-controller/internal/shared/version.gitVersion=v1.2.0-rc4-69-g0c67744" -X "github.com/operator-framework/operator-controller/internal/shared/version.gitCommit=0c677442cdf24bf0622847a900d07c34930d3ca1" -X "github.com/operator-framework/operator-controller/internal/shared/version.gitTreeState=dirty" -X "github.com/operator-framework/operator-controller/internal/shared/version.commitDate=2025-02-19T16:35:19Z"' -gcflags 'all=-trimpath=/Users/btofel/workspace/operator-controller' -asmflags 'all=-trimpath=/Users/btofel/workspace/operator-controller' -o bin/linux/catalogd ./cmd/catalogd
- docker build -f Dockerfile -t quay.io/operator-framework/catalogd:devel ./bin/linux
- STEP 1/5: FROM gcr.io/distroless/static:nonroot
- STEP 2/5: WORKDIR /
- --> Using cache 8aa74fd019161d023fa73aaaa9c74664df8b5c1e02821edb9e999c7a21482751
- --> 8aa74fd01916
- STEP 3/5: COPY catalogd catalogd
- --> Using cache ad42487556fc34f2c4a780f62cabe7082ff6682019f9ba3f9b86e98c904f19ab
- --> ad42487556fc
- STEP 4/5: USER 65532:65532
- --> Using cache d5cb212edf2327d6bfbf4040447ddb90763bf4394fadca7cac56334743c74a4d
- --> d5cb212edf23
- STEP 5/5: ENTRYPOINT ["/catalogd"]
- --> Using cache d5bd9d6d4baa063f26eac62a9dc0c97d35bc23ccd94b9817c579d8429f6077f8
- COMMIT quay.io/operator-framework/catalogd:devel
- --> d5bd9d6d4baa
- Successfully tagged quay.io/operator-framework/catalogd:devel
- d5bd9d6d4baa063f26eac62a9dc0c97d35bc23ccd94b9817c579d8429f6077f8
- /Users/btofel/go/bin/kind-v0.27.0 delete cluster --name operator-controller-e2e
- enabling experimental podman provider
- Deleting cluster "operator-controller-e2e" ...
- Deleted nodes: ["operator-controller-e2e-control-plane"]
- /Users/btofel/go/bin/kind-v0.27.0 create cluster --name operator-controller-e2e --image kindest/node:v1.32.0 --config ./kind-config.yaml
- enabling experimental podman provider
- Creating cluster "operator-controller-e2e" ...
- âĸ Ensuring node image (kindest/node:v1.32.0) đŧ ...
- â Ensuring node image (kindest/node:v1.32.0) đŧ
- âĸ Preparing nodes đĻ ...
- â Preparing nodes đĻ
- âĸ Writing configuration đ ...
- â Writing configuration đ
- âĸ Starting control-plane đšī¸ ...
- â Starting control-plane đšī¸
- âĸ Installing CNI đ ...
- â Installing CNI đ
- âĸ Installing StorageClass đž ...
- â Installing StorageClass đž
- Set kubectl context to "kind-operator-controller-e2e"
- You can now use your cluster with:
- kubectl cluster-info --context kind-operator-controller-e2e
- Have a nice day! đ
- /Users/btofel/go/bin/kind-v0.27.0 export kubeconfig --name operator-controller-e2e
- enabling experimental podman provider
- Set kubectl context to "kind-operator-controller-e2e"
- docker save quay.io/operator-framework/operator-controller:devel | /Users/btofel/go/bin/kind-v0.27.0 load image-archive /dev/stdin --name operator-controller-e2e
- enabling experimental podman provider
- IMAGE_REPO=quay.io/operator-framework/catalogd KIND_CLUSTER_NAME=operator-controller-e2e /Applications/Xcode.app/Contents/Developer/usr/bin/make -C catalogd kind-load
- docker save quay.io/operator-framework/catalogd:devel | /Users/btofel/go/bin/kind-v0.27.0 load image-archive /dev/stdin --name operator-controller-e2e
- enabling experimental podman provider
- /Users/btofel/go/bin/kustomize-v4.5.7 build config/overlays/e2e | sed "s/cert-git-version/cert-v1.2.0-rc4-69-g0c67744/g" > ./operator-controller.yaml
- envsubst '$DEFAULT_CATALOG,$CERT_MGR_VERSION,$INSTALL_DEFAULT_CATALOGS,$MANIFEST' < scripts/install.tpl.sh | bash -s
- namespace/cert-manager created
- customresourcedefinition.apiextensions.k8s.io/certificaterequests.cert-manager.io created
- customresourcedefinition.apiextensions.k8s.io/certificates.cert-manager.io created
- customresourcedefinition.apiextensions.k8s.io/challenges.acme.cert-manager.io created
- customresourcedefinition.apiextensions.k8s.io/clusterissuers.cert-manager.io created
- customresourcedefinition.apiextensions.k8s.io/issuers.cert-manager.io created
- customresourcedefinition.apiextensions.k8s.io/orders.acme.cert-manager.io created
- serviceaccount/cert-manager-cainjector created
- serviceaccount/cert-manager created
- serviceaccount/cert-manager-webhook created
- clusterrole.rbac.authorization.k8s.io/cert-manager-cainjector created
- clusterrole.rbac.authorization.k8s.io/cert-manager-controller-issuers created
- clusterrole.rbac.authorization.k8s.io/cert-manager-controller-clusterissuers created
- clusterrole.rbac.authorization.k8s.io/cert-manager-controller-certificates created
- clusterrole.rbac.authorization.k8s.io/cert-manager-controller-orders created
- clusterrole.rbac.authorization.k8s.io/cert-manager-controller-challenges created
- clusterrole.rbac.authorization.k8s.io/cert-manager-controller-ingress-shim created
- clusterrole.rbac.authorization.k8s.io/cert-manager-cluster-view created
- clusterrole.rbac.authorization.k8s.io/cert-manager-view created
- clusterrole.rbac.authorization.k8s.io/cert-manager-edit created
- clusterrole.rbac.authorization.k8s.io/cert-manager-controller-approve:cert-manager-io created
- clusterrole.rbac.authorization.k8s.io/cert-manager-controller-certificatesigningrequests created
- clusterrole.rbac.authorization.k8s.io/cert-manager-webhook:subjectaccessreviews created
- clusterrolebinding.rbac.authorization.k8s.io/cert-manager-cainjector created
- clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-issuers created
- clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-clusterissuers created
- clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-certificates created
- clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-orders created
- clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-challenges created
- clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-ingress-shim created
- clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-approve:cert-manager-io created
- clusterrolebinding.rbac.authorization.k8s.io/cert-manager-controller-certificatesigningrequests created
- clusterrolebinding.rbac.authorization.k8s.io/cert-manager-webhook:subjectaccessreviews created
- role.rbac.authorization.k8s.io/cert-manager-cainjector:leaderelection created
- role.rbac.authorization.k8s.io/cert-manager:leaderelection created
- role.rbac.authorization.k8s.io/cert-manager-webhook:dynamic-serving created
- rolebinding.rbac.authorization.k8s.io/cert-manager-cainjector:leaderelection created
- rolebinding.rbac.authorization.k8s.io/cert-manager:leaderelection created
- rolebinding.rbac.authorization.k8s.io/cert-manager-webhook:dynamic-serving created
- service/cert-manager created
- service/cert-manager-webhook created
- deployment.apps/cert-manager-cainjector created
- deployment.apps/cert-manager created
- deployment.apps/cert-manager-webhook created
- mutatingwebhookconfiguration.admissionregistration.k8s.io/cert-manager-webhook created
- validatingwebhookconfiguration.admissionregistration.k8s.io/cert-manager-webhook created
- deployment.apps/cert-manager-webhook condition met
- deployment.apps/cert-manager-cainjector condition met
- deployment.apps/cert-manager condition met
- mutatingwebhookconfigurations/cert-manager-webhook has {.webhooks[0].clientConfig.caBundle}.
- validatingwebhookconfigurations/cert-manager-webhook has {.webhooks[0].clientConfig.caBundle}.
- namespace/olmv1-system created
- customresourcedefinition.apiextensions.k8s.io/clustercatalogs.olm.operatorframework.io created
- customresourcedefinition.apiextensions.k8s.io/clusterextensions.olm.operatorframework.io created
- serviceaccount/catalogd-controller-manager created
- serviceaccount/operator-controller-controller-manager created
- role.rbac.authorization.k8s.io/catalogd-leader-election-role created
- role.rbac.authorization.k8s.io/operator-controller-leader-election-role created
- role.rbac.authorization.k8s.io/operator-controller-manager-role created
- clusterrole.rbac.authorization.k8s.io/catalogd-manager-role created
- clusterrole.rbac.authorization.k8s.io/catalogd-metrics-reader created
- clusterrole.rbac.authorization.k8s.io/catalogd-proxy-role created
- clusterrole.rbac.authorization.k8s.io/operator-controller-clusterextension-editor-role created
- clusterrole.rbac.authorization.k8s.io/operator-controller-clusterextension-viewer-role created
- clusterrole.rbac.authorization.k8s.io/operator-controller-extension-editor-role created
- clusterrole.rbac.authorization.k8s.io/operator-controller-extension-viewer-role created
- clusterrole.rbac.authorization.k8s.io/operator-controller-manager-role created
- clusterrole.rbac.authorization.k8s.io/operator-controller-metrics-reader created
- clusterrole.rbac.authorization.k8s.io/operator-controller-proxy-role created
- rolebinding.rbac.authorization.k8s.io/catalogd-leader-election-rolebinding created
- rolebinding.rbac.authorization.k8s.io/operator-controller-leader-election-rolebinding created
- rolebinding.rbac.authorization.k8s.io/operator-controller-manager-rolebinding created
- clusterrolebinding.rbac.authorization.k8s.io/catalogd-manager-rolebinding created
- clusterrolebinding.rbac.authorization.k8s.io/catalogd-proxy-rolebinding created
- clusterrolebinding.rbac.authorization.k8s.io/operator-controller-manager-rolebinding created
- clusterrolebinding.rbac.authorization.k8s.io/operator-controller-proxy-rolebinding created
- configmap/e2e-registries-conf created
- service/catalogd-service created
- service/operator-controller-service created
- persistentvolumeclaim/e2e-coverage created
- deployment.apps/catalogd-controller-manager created
- deployment.apps/operator-controller-controller-manager created
- certificate.cert-manager.io/olmv1-ca created
- certificate.cert-manager.io/catalogd-service-cert created
- certificate.cert-manager.io/olmv1-cert created
- clusterissuer.cert-manager.io/olmv1-ca created
- issuer.cert-manager.io/self-sign-issuer created
- pod/e2e-coverage-copy-pod created
- mutatingwebhookconfiguration.admissionregistration.k8s.io/catalogd-mutating-webhook-configuration created
- Waiting for deployment "catalogd-controller-manager" rollout to finish: 0 of 1 updated replicas are available...
- Waiting for deployment "catalogd-controller-manager" rollout to finish: 0 of 1 updated replicas are available...
- deployment "catalogd-controller-manager" successfully rolled out
- deployment.apps/catalogd-controller-manager condition met
- deployment.apps/operator-controller-controller-manager condition met
- clustercatalog.olm.operatorframework.io/operatorhubio created
- clustercatalog.olm.operatorframework.io/operatorhubio condition met
- kubectl wait --for=condition=Available --namespace=olmv1-system deployment/catalogd-controller-manager --timeout=60s
- deployment.apps/catalogd-controller-manager condition met
- kubectl wait --for=condition=Ready --namespace=olmv1-system certificate/catalogd-service-cert # Avoid upgrade test flakes when reissuing cert
- certificate.cert-manager.io/catalogd-service-cert condition met
- go build -cover -tags 'containers_image_openpgp' -ldflags '-s -w -X 'github.com/operator-framework/operator-controller/internal/shared/version.version=v1.2.0-rc4-69-g0c67744' ' -gcflags 'all=-trimpath=/Users/btofel/workspace/operator-controller' -asmflags 'all=-trimpath=/Users/btofel/workspace/operator-controller' -o ./testdata/registry/bin/registry ./testdata/registry/registry.go
- go build -cover -tags 'containers_image_openpgp' -ldflags '-s -w -X 'github.com/operator-framework/operator-controller/internal/shared/version.version=v1.2.0-rc4-69-g0c67744' ' -gcflags 'all=-trimpath=/Users/btofel/workspace/operator-controller' -asmflags 'all=-trimpath=/Users/btofel/workspace/operator-controller' -o ./testdata/push/bin/push ./testdata/push/push.go
- docker build -f ./testdata/Dockerfile -t localhost/e2e-test-registry:devel ./testdata
- STEP 1/7: FROM gcr.io/distroless/static:nonroot
- STEP 2/7: WORKDIR /
- --> Using cache 8aa74fd019161d023fa73aaaa9c74664df8b5c1e02821edb9e999c7a21482751
- --> 8aa74fd01916
- STEP 3/7: COPY registry/bin/registry registry
- --> Using cache 82dc5127b364bb1828fd12cf41e43ae3a4be8bd19f3ab52e063c95491b9bec67
- --> 82dc5127b364
- STEP 4/7: COPY push/bin/push push
- --> Using cache ca21adfcdf11631059250d9a5523ba283471d94a41acd7ff36234e4c92b4bc06
- --> ca21adfcdf11
- STEP 5/7: COPY images images
- --> Using cache 4cfa2df5a85596368a4bc6efd37b50c888025733c44be7d4778e4ccbfef179a5
- --> 4cfa2df5a855
- STEP 6/7: EXPOSE 5000
- --> Using cache fa9cde2dc7c2b42a5794935b44d0417a46ce5ed551c599692ab7bc81e388f884
- --> fa9cde2dc7c2
- STEP 7/7: USER 65532:65532
- --> Using cache 3ea2e93995d83fb34a1d90ec742eb17010d70481d8409d19faf6a5b2365826d7
- COMMIT localhost/e2e-test-registry:devel
- --> 3ea2e93995d8
- Successfully tagged localhost/e2e-test-registry:devel
- 3ea2e93995d83fb34a1d90ec742eb17010d70481d8409d19faf6a5b2365826d7
- docker save localhost/e2e-test-registry:devel | /Users/btofel/go/bin/kind-v0.27.0 load image-archive /dev/stdin --name operator-controller-e2e
- enabling experimental podman provider
- ./testdata/build-test-registry.sh operator-controller-e2e docker-registry localhost/e2e-test-registry:devel
- namespace/operator-controller-e2e created
- certificate.cert-manager.io/operator-controller-e2e-registry created
- deployment.apps/docker-registry created
- service/docker-registry created
- deployment.apps/docker-registry condition met
- job.batch/docker-registry-push created
- job.batch/docker-registry-push condition met
- go test -count=1 -v ./test/e2e/...
- === RUN TestClusterExtensionInstallRegistry
- === RUN TestClusterExtensionInstallRegistry/no_registry_configuration_necessary
- cluster_extension_install_test.go:329: When a cluster extension is installed from a catalog
- cluster_extension_install_test.go:330: When the extension bundle format is registry+v1
- cluster_extension_install_test.go:221: Ensuring ClusterCatalog has Status.Condition of Progressing with a status == True and reason == Succeeded
- cluster_extension_install_test.go:231: Checking that catalog has the expected metadata label
- cluster_extension_install_test.go:236: Ensuring ClusterCatalog has Status.Condition of Type = Serving with status == True
- cluster_extension_install_test.go:351: It resolves the specified package with correct bundle path
- cluster_extension_install_test.go:352: By creating the ClusterExtension resource
- cluster_extension_install_test.go:355: By eventually reporting a successful resolution and bundle path
- cluster_extension_install_test.go:360: By eventually reporting progressing as True
- cluster_extension_install_test.go:370: By eventually installing the package successfully
- cluster_extension_install_test.go:278: By deleting ClusterCatalog "test-catalog"
- cluster_extension_install_test.go:285: By deleting ClusterExtension "clusterextension-2n56dk8c"
- cluster_extension_install_test.go:292: By deleting ServiceAccount "clusterextension-2n56dk8c"
- cluster_extension_install_test.go:252: By waiting for CustomResourceDefinitions of "clusterextension-2n56dk8c" to be deleted
- cluster_extension_install_test.go:260: By waiting for ClusterRoleBindings of "clusterextension-2n56dk8c" to be deleted
- cluster_extension_install_test.go:268: By waiting for ClusterRoles of "clusterextension-2n56dk8c" to be deleted
- cluster_extension_install_test.go:301: By deleting Namespace "clusterextension-2n56dk8c"
- === RUN TestClusterExtensionInstallRegistry/package_requires_mirror_registry_configuration_in_/etc/containers/registries.conf
- cluster_extension_install_test.go:329: When a cluster extension is installed from a catalog
- cluster_extension_install_test.go:330: When the extension bundle format is registry+v1
- cluster_extension_install_test.go:221: Ensuring ClusterCatalog has Status.Condition of Progressing with a status == True and reason == Succeeded
- cluster_extension_install_test.go:231: Checking that catalog has the expected metadata label
- cluster_extension_install_test.go:236: Ensuring ClusterCatalog has Status.Condition of Type = Serving with status == True
- cluster_extension_install_test.go:351: It resolves the specified package with correct bundle path
- cluster_extension_install_test.go:352: By creating the ClusterExtension resource
- cluster_extension_install_test.go:355: By eventually reporting a successful resolution and bundle path
- cluster_extension_install_test.go:360: By eventually reporting progressing as True
- cluster_extension_install_test.go:370: By eventually installing the package successfully
- cluster_extension_install_test.go:278: By deleting ClusterCatalog "test-catalog"
- cluster_extension_install_test.go:285: By deleting ClusterExtension "clusterextension-f9qcqvqr"
- cluster_extension_install_test.go:292: By deleting ServiceAccount "clusterextension-f9qcqvqr"
- cluster_extension_install_test.go:252: By waiting for CustomResourceDefinitions of "clusterextension-f9qcqvqr" to be deleted
- cluster_extension_install_test.go:260: By waiting for ClusterRoleBindings of "clusterextension-f9qcqvqr" to be deleted
- cluster_extension_install_test.go:268: By waiting for ClusterRoles of "clusterextension-f9qcqvqr" to be deleted
- cluster_extension_install_test.go:301: By deleting Namespace "clusterextension-f9qcqvqr"
- --- PASS: TestClusterExtensionInstallRegistry (92.45s)
- --- PASS: TestClusterExtensionInstallRegistry/no_registry_configuration_necessary (54.18s)
- --- PASS: TestClusterExtensionInstallRegistry/package_requires_mirror_registry_configuration_in_/etc/containers/registries.conf (38.26s)
- === RUN TestClusterExtensionInstallRegistryDynamic
- cluster_extension_install_test.go:389: When a cluster extension is installed from a catalog
- cluster_extension_install_test.go:390: When the extension bundle format is registry+v1
- cluster_extension_install_test.go:221: Ensuring ClusterCatalog has Status.Condition of Progressing with a status == True and reason == Succeeded
- cluster_extension_install_test.go:231: Checking that catalog has the expected metadata label
- cluster_extension_install_test.go:236: Ensuring ClusterCatalog has Status.Condition of Type = Serving with status == True
- cluster_extension_install_test.go:411: It updates the registries.conf file contents
- cluster_extension_install_test.go:425: It resolves the specified package with correct bundle path
- cluster_extension_install_test.go:426: By creating the ClusterExtension resource
- cluster_extension_install_test.go:429: By eventually reporting a successful resolution and bundle path
- cluster_extension_install_test.go:438: By eventually reporting progressing as True
- cluster_extension_install_test.go:448: By eventually installing the package successfully
- cluster_extension_install_test.go:278: By deleting ClusterCatalog "test-catalog"
- cluster_extension_install_test.go:285: By deleting ClusterExtension "clusterextension-jnv7jqqd"
- cluster_extension_install_test.go:292: By deleting ServiceAccount "clusterextension-jnv7jqqd"
- cluster_extension_install_test.go:252: By waiting for CustomResourceDefinitions of "clusterextension-jnv7jqqd" to be deleted
- cluster_extension_install_test.go:260: By waiting for ClusterRoleBindings of "clusterextension-jnv7jqqd" to be deleted
- cluster_extension_install_test.go:268: By waiting for ClusterRoles of "clusterextension-jnv7jqqd" to be deleted
- cluster_extension_install_test.go:301: By deleting Namespace "clusterextension-jnv7jqqd"
- --- PASS: TestClusterExtensionInstallRegistryDynamic (119.26s)
- === RUN TestClusterExtensionInstallRegistryMultipleBundles
- cluster_extension_install_test.go:462: When a cluster extension is installed from a catalog
- cluster_extension_install_test.go:221: Ensuring ClusterCatalog has Status.Condition of Progressing with a status == True and reason == Succeeded
- cluster_extension_install_test.go:231: Checking that catalog has the expected metadata label
- cluster_extension_install_test.go:236: Ensuring ClusterCatalog has Status.Condition of Type = Serving with status == True
- cluster_extension_install_test.go:490: It resolves to multiple bundle paths
- cluster_extension_install_test.go:491: By creating the ClusterExtension resource
- cluster_extension_install_test.go:494: By eventually reporting a failed resolution with multiple bundles
- cluster_extension_install_test.go:499: By eventually reporting Progressing == True and Reason Retrying
- cluster_extension_install_test.go:278: By deleting ClusterCatalog "test-catalog"
- cluster_extension_install_test.go:285: By deleting ClusterExtension "clusterextension-zspqvqrx"
- cluster_extension_install_test.go:292: By deleting ServiceAccount "clusterextension-zspqvqrx"
- cluster_extension_install_test.go:252: By waiting for CustomResourceDefinitions of "clusterextension-zspqvqrx" to be deleted
- cluster_extension_install_test.go:260: By waiting for ClusterRoleBindings of "clusterextension-zspqvqrx" to be deleted
- cluster_extension_install_test.go:268: By waiting for ClusterRoles of "clusterextension-zspqvqrx" to be deleted
- cluster_extension_install_test.go:301: By deleting Namespace "clusterextension-zspqvqrx"
- --- PASS: TestClusterExtensionInstallRegistryMultipleBundles (39.18s)
- === RUN TestClusterExtensionBlockInstallNonSuccessorVersion
- cluster_extension_install_test.go:512: When a cluster extension is installed from a catalog
- cluster_extension_install_test.go:513: When resolving upgrade edges
- cluster_extension_install_test.go:221: Ensuring ClusterCatalog has Status.Condition of Progressing with a status == True and reason == Succeeded
- cluster_extension_install_test.go:231: Checking that catalog has the expected metadata label
- cluster_extension_install_test.go:236: Ensuring ClusterCatalog has Status.Condition of Type = Serving with status == True
- cluster_extension_install_test.go:519: By creating an ClusterExtension at a specified version
- cluster_extension_install_test.go:535: By eventually reporting a successful installation
- cluster_extension_install_test.go:553: It does not allow to upgrade the ClusterExtension to a non-successor version
- cluster_extension_install_test.go:554: By updating the ClusterExtension resource to a non-successor version
- cluster_extension_install_test.go:558: By eventually reporting an unsatisfiable resolution
- cluster_extension_install_test.go:563: By eventually reporting Progressing == True and Reason Retrying
- cluster_extension_install_test.go:278: By deleting ClusterCatalog "test-catalog"
- cluster_extension_install_test.go:285: By deleting ClusterExtension "clusterextension-h9v65l56"
- cluster_extension_install_test.go:292: By deleting ServiceAccount "clusterextension-h9v65l56"
- cluster_extension_install_test.go:252: By waiting for CustomResourceDefinitions of "clusterextension-h9v65l56" to be deleted
- cluster_extension_install_test.go:260: By waiting for ClusterRoleBindings of "clusterextension-h9v65l56" to be deleted
- cluster_extension_install_test.go:268: By waiting for ClusterRoles of "clusterextension-h9v65l56" to be deleted
- cluster_extension_install_test.go:301: By deleting Namespace "clusterextension-h9v65l56"
- --- PASS: TestClusterExtensionBlockInstallNonSuccessorVersion (38.23s)
- === RUN TestClusterExtensionForceInstallNonSuccessorVersion
- cluster_extension_install_test.go:575: When a cluster extension is installed from a catalog
- cluster_extension_install_test.go:576: When resolving upgrade edges
- cluster_extension_install_test.go:221: Ensuring ClusterCatalog has Status.Condition of Progressing with a status == True and reason == Succeeded
- cluster_extension_install_test.go:231: Checking that catalog has the expected metadata label
- cluster_extension_install_test.go:236: Ensuring ClusterCatalog has Status.Condition of Type = Serving with status == True
- cluster_extension_install_test.go:582: By creating an ClusterExtension at a specified version
- cluster_extension_install_test.go:597: By eventually reporting a successful resolution
- cluster_extension_install_test.go:607: It allows to upgrade the ClusterExtension to a non-successor version
- cluster_extension_install_test.go:608: By updating the ClusterExtension resource to a non-successor version
- cluster_extension_install_test.go:613: By eventually reporting a satisfiable resolution
- cluster_extension_install_test.go:278: By deleting ClusterCatalog "test-catalog"
- cluster_extension_install_test.go:285: By deleting ClusterExtension "clusterextension-77r85v8t"
- cluster_extension_install_test.go:292: By deleting ServiceAccount "clusterextension-77r85v8t"
- cluster_extension_install_test.go:252: By waiting for CustomResourceDefinitions of "clusterextension-77r85v8t" to be deleted
- cluster_extension_install_test.go:260: By waiting for ClusterRoleBindings of "clusterextension-77r85v8t" to be deleted
- cluster_extension_install_test.go:268: By waiting for ClusterRoles of "clusterextension-77r85v8t" to be deleted
- cluster_extension_install_test.go:301: By deleting Namespace "clusterextension-77r85v8t"
- --- PASS: TestClusterExtensionForceInstallNonSuccessorVersion (53.22s)
- === RUN TestClusterExtensionInstallSuccessorVersion
- cluster_extension_install_test.go:625: When a cluster extension is installed from a catalog
- cluster_extension_install_test.go:626: When resolving upgrade edges
- cluster_extension_install_test.go:221: Ensuring ClusterCatalog has Status.Condition of Progressing with a status == True and reason == Succeeded
- cluster_extension_install_test.go:231: Checking that catalog has the expected metadata label
- cluster_extension_install_test.go:236: Ensuring ClusterCatalog has Status.Condition of Type = Serving with status == True
- cluster_extension_install_test.go:631: By creating an ClusterExtension at a specified version
- cluster_extension_install_test.go:646: By eventually reporting a successful resolution
- cluster_extension_install_test.go:656: It does allow to upgrade the ClusterExtension to any of the successor versions within non-zero major version
- cluster_extension_install_test.go:657: By updating the ClusterExtension resource by skipping versions
- cluster_extension_install_test.go:661: By eventually reporting a successful resolution and bundle path
- cluster_extension_install_test.go:278: By deleting ClusterCatalog "test-catalog"
- cluster_extension_install_test.go:285: By deleting ClusterExtension "clusterextension-ltkd5fxs"
- cluster_extension_install_test.go:292: By deleting ServiceAccount "clusterextension-ltkd5fxs"
- cluster_extension_install_test.go:252: By waiting for CustomResourceDefinitions of "clusterextension-ltkd5fxs" to be deleted
- cluster_extension_install_test.go:260: By waiting for ClusterRoleBindings of "clusterextension-ltkd5fxs" to be deleted
- cluster_extension_install_test.go:268: By waiting for ClusterRoles of "clusterextension-ltkd5fxs" to be deleted
- cluster_extension_install_test.go:301: By deleting Namespace "clusterextension-ltkd5fxs"
- --- PASS: TestClusterExtensionInstallSuccessorVersion (38.21s)
- === RUN TestClusterExtensionInstallReResolvesWhenCatalogIsPatched
- cluster_extension_install_test.go:673: When a cluster extension is installed from a catalog
- cluster_extension_install_test.go:674: It resolves again when a catalog is patched with new ImageRef
- cluster_extension_install_test.go:221: Ensuring ClusterCatalog has Status.Condition of Progressing with a status == True and reason == Succeeded
- cluster_extension_install_test.go:231: Checking that catalog has the expected metadata label
- cluster_extension_install_test.go:236: Ensuring ClusterCatalog has Status.Condition of Type = Serving with status == True
- cluster_extension_install_test.go:700: It resolves the specified package with correct bundle path
- cluster_extension_install_test.go:701: By creating the ClusterExtension resource
- cluster_extension_install_test.go:704: By reporting a successful resolution and bundle path
- cluster_extension_install_test.go:715: By patching the catalog ImageRef to point to the v2 catalog
- cluster_extension_install_test.go:728: By eventually reporting a successful resolution and bundle path
- cluster_extension_install_test.go:278: By deleting ClusterCatalog "test-catalog"
- cluster_extension_install_test.go:285: By deleting ClusterExtension "clusterextension-76t68wf9"
- cluster_extension_install_test.go:292: By deleting ServiceAccount "clusterextension-76t68wf9"
- cluster_extension_install_test.go:252: By waiting for CustomResourceDefinitions of "clusterextension-76t68wf9" to be deleted
- cluster_extension_install_test.go:260: By waiting for ClusterRoleBindings of "clusterextension-76t68wf9" to be deleted
- cluster_extension_install_test.go:268: By waiting for ClusterRoles of "clusterextension-76t68wf9" to be deleted
- cluster_extension_install_test.go:301: By deleting Namespace "clusterextension-76t68wf9"
- --- PASS: TestClusterExtensionInstallReResolvesWhenCatalogIsPatched (38.27s)
- === RUN TestClusterExtensionInstallReResolvesWhenNewCatalog
- cluster_extension_install_test.go:740: When a cluster extension is installed from a catalog
- cluster_extension_install_test.go:741: It resolves again when a new catalog is available
- cluster_extension_install_test.go:781: It resolves the specified package with correct bundle path
- cluster_extension_install_test.go:782: By creating the ClusterExtension resource
- cluster_extension_install_test.go:785: By reporting a successful resolution and bundle path
- cluster_extension_install_test.go:796: By updating the catalog tag to point to the v2 catalog
- cluster_extension_install_test.go:809: By eventually reporting a successful resolution and bundle path
- cluster_extension_install_test.go:278: By deleting ClusterCatalog "test-catalog"
- cluster_extension_install_test.go:285: By deleting ClusterExtension "clusterextension-qlsbf2xx"
- cluster_extension_install_test.go:292: By deleting ServiceAccount "clusterextension-qlsbf2xx"
- cluster_extension_install_test.go:252: By waiting for CustomResourceDefinitions of "clusterextension-qlsbf2xx" to be deleted
- cluster_extension_install_test.go:260: By waiting for ClusterRoleBindings of "clusterextension-qlsbf2xx" to be deleted
- cluster_extension_install_test.go:268: By waiting for ClusterRoles of "clusterextension-qlsbf2xx" to be deleted
- cluster_extension_install_test.go:301: By deleting Namespace "clusterextension-qlsbf2xx"
- --- PASS: TestClusterExtensionInstallReResolvesWhenNewCatalog (36.23s)
- === RUN TestClusterExtensionInstallReResolvesWhenManagedContentChanged
- cluster_extension_install_test.go:821: When a cluster extension is installed from a catalog
- cluster_extension_install_test.go:822: It resolves again when managed content is changed
- cluster_extension_install_test.go:221: Ensuring ClusterCatalog has Status.Condition of Progressing with a status == True and reason == Succeeded
- cluster_extension_install_test.go:231: Checking that catalog has the expected metadata label
- cluster_extension_install_test.go:236: Ensuring ClusterCatalog has Status.Condition of Type = Serving with status == True
- cluster_extension_install_test.go:842: It installs the specified package with correct bundle path
- cluster_extension_install_test.go:843: By creating the ClusterExtension resource
- cluster_extension_install_test.go:846: By reporting a successful installation
- cluster_extension_install_test.go:857: By deleting a managed resource
- cluster_extension_install_test.go:866: By eventually re-creating the managed resource
- cluster_extension_install_test.go:278: By deleting ClusterCatalog "test-catalog"
- cluster_extension_install_test.go:285: By deleting ClusterExtension "clusterextension-x42xgcw4"
- cluster_extension_install_test.go:292: By deleting ServiceAccount "clusterextension-x42xgcw4"
- cluster_extension_install_test.go:252: By waiting for CustomResourceDefinitions of "clusterextension-x42xgcw4" to be deleted
- cluster_extension_install_test.go:260: By waiting for ClusterRoleBindings of "clusterextension-x42xgcw4" to be deleted
- cluster_extension_install_test.go:268: By waiting for ClusterRoles of "clusterextension-x42xgcw4" to be deleted
- cluster_extension_install_test.go:301: By deleting Namespace "clusterextension-x42xgcw4"
- --- PASS: TestClusterExtensionInstallReResolvesWhenManagedContentChanged (37.20s)
- === RUN TestClusterExtensionRecoversFromInitialInstallFailedWhenFailureFixed
- cluster_extension_install_test.go:873: When a cluster extension is installed from a catalog
- cluster_extension_install_test.go:874: When the extension bundle format is registry+v1
- cluster_extension_install_test.go:221: Ensuring ClusterCatalog has Status.Condition of Progressing with a status == True and reason == Succeeded
- cluster_extension_install_test.go:231: Checking that catalog has the expected metadata label
- cluster_extension_install_test.go:236: Ensuring ClusterCatalog has Status.Condition of Type = Serving with status == True
- cluster_extension_install_test.go:905: It resolves the specified package with correct bundle path
- cluster_extension_install_test.go:906: By creating the ClusterExtension resource
- cluster_extension_install_test.go:909: By eventually reporting a successful resolution and bundle path
- cluster_extension_install_test.go:914: By eventually reporting Progressing == True with Reason Retrying
- cluster_extension_install_test.go:924: By eventually failing to install the package successfully due to insufficient ServiceAccount permissions
- cluster_extension_install_test.go:935: By fixing the ServiceAccount permissions
- cluster_extension_install_test.go:942: By eventually installing the package successfully
- cluster_extension_install_test.go:954: By eventually reporting Progressing == True with Reason Success
- cluster_extension_install_test.go:278: By deleting ClusterCatalog "test-catalog"
- cluster_extension_install_test.go:285: By deleting ClusterExtension "clusterextension-z4bf8nft"
- cluster_extension_install_test.go:292: By deleting ServiceAccount "sbwtqvzqll"
- cluster_extension_install_test.go:252: By waiting for CustomResourceDefinitions of "clusterextension-z4bf8nft" to be deleted
- cluster_extension_install_test.go:260: By waiting for ClusterRoleBindings of "clusterextension-z4bf8nft" to be deleted
- cluster_extension_install_test.go:268: By waiting for ClusterRoles of "clusterextension-z4bf8nft" to be deleted
- cluster_extension_install_test.go:301: By deleting Namespace "clusterextension-z4bf8nft"
- --- PASS: TestClusterExtensionRecoversFromInitialInstallFailedWhenFailureFixed (54.32s)
- === RUN TestOperatorControllerMetricsExportedEndpoint
- utils.go:21: Finding kubectl client
- utils.go:26: Using "kubectl" as k8s client
- metrics_test.go:139: Creating ClusterRoleBinding operator-controller-metrics-binding in namespace olmv1-system
- metrics_test.go:152: Generating ServiceAccount token at namespace olmv1-system
- metrics_test.go:163: Creating curl pod (olmv1-system/oper-curl-metrics) to validate the metrics endpoint
- metrics_test.go:193: Waiting for the curl pod to be ready
- metrics_test.go:205: Attempt 1 to validate the metrics endpoint
- metrics_test.go:210: Metrics endpoint validation succeeded
- metrics_test.go:221: Cleaning up resources
- --- PASS: TestOperatorControllerMetricsExportedEndpoint (37.38s)
- === RUN TestCatalogdMetricsExportedEndpoint
- utils.go:21: Finding kubectl client
- utils.go:26: Using "kubectl" as k8s client
- metrics_test.go:139: Creating ClusterRoleBinding catalogd-metrics-binding in namespace olmv1-system
- metrics_test.go:152: Generating ServiceAccount token at namespace olmv1-system
- metrics_test.go:163: Creating curl pod (olmv1-system/catalogd-curl-metrics) to validate the metrics endpoint
- metrics_test.go:193: Waiting for the curl pod to be ready
- metrics_test.go:205: Attempt 1 to validate the metrics endpoint
- metrics_test.go:210: Metrics endpoint validation succeeded
- metrics_test.go:221: Cleaning up resources
- panic: test timed out after 10m0s
- running tests:
- TestCatalogdMetricsExportedEndpoint (16s)
- goroutine 1332 [running]:
- testing.(*M).startAlarm.func1()
- /opt/homebrew/opt/go/libexec/src/testing/testing.go:2373 +0x30c
- created by time.goFunc
- /opt/homebrew/opt/go/libexec/src/time/sleep.go:215 +0x38
- goroutine 1 [chan receive]:
- testing.(*T).Run(0x14000118820, {0x1035341eb?, 0x14000059aa8?}, 0x103b3deb0)
- /opt/homebrew/opt/go/libexec/src/testing/testing.go:1751 +0x328
- testing.runTests.func1(0x14000118820)
- /opt/homebrew/opt/go/libexec/src/testing/testing.go:2168 +0x40
- testing.tRunner(0x14000118820, 0x14000059bc8)
- /opt/homebrew/opt/go/libexec/src/testing/testing.go:1690 +0xe4
- testing.runTests(0x140001c2b10, {0x104857260, 0xc, 0xc}, {0x14000059c48?, 0x1033c632c?, 0x10486f680?})
- /opt/homebrew/opt/go/libexec/src/testing/testing.go:2166 +0x3ac
- testing.(*M).Run(0x14000341040)
- /opt/homebrew/opt/go/libexec/src/testing/testing.go:2034 +0x588
- github.com/operator-framework/operator-controller/test/e2e.TestMain(0x14000341040)
- /Users/btofel/workspace/operator-controller/test/e2e/e2e_suite_test.go:39 +0xe8
- main.main()
- _testmain.go:69 +0x98
- goroutine 98 [IO wait]:
- internal/poll.runtime_pollWait(0x12b913720, 0x72)
- /opt/homebrew/opt/go/libexec/src/runtime/netpoll.go:351 +0xa0
- internal/poll.(*pollDesc).wait(0x14000324600?, 0x140005ba000?, 0x0)
- /opt/homebrew/opt/go/libexec/src/internal/poll/fd_poll_runtime.go:84 +0x28
- internal/poll.(*pollDesc).waitRead(...)
- /opt/homebrew/opt/go/libexec/src/internal/poll/fd_poll_runtime.go:89
- internal/poll.(*FD).Read(0x14000324600, {0x140005ba000, 0x4800, 0x4800})
- /opt/homebrew/opt/go/libexec/src/internal/poll/fd_unix.go:165 +0x1fc
- net.(*netFD).Read(0x14000324600, {0x140005ba000?, 0x140005ba000?, 0x5?})
- /opt/homebrew/opt/go/libexec/src/net/fd_posix.go:55 +0x28
- net.(*conn).Read(0x140001a0128, {0x140005ba000?, 0x1400011d6c8?, 0x8?})
- /opt/homebrew/opt/go/libexec/src/net/net.go:189 +0x34
- crypto/tls.(*atLeastReader).Read(0x140001c2588, {0x140005ba000?, 0x0?, 0x140001c2588?})
- /opt/homebrew/opt/go/libexec/src/crypto/tls/conn.go:809 +0x40
- bytes.(*Buffer).ReadFrom(0x1400011d7b8, {0x103b46dc0, 0x140001c2588})
- /opt/homebrew/opt/go/libexec/src/bytes/buffer.go:211 +0x90
- crypto/tls.(*Conn).readFromUntil(0x1400011d508, {0x104c92080, 0x140001a0128}, 0x0?)
- /opt/homebrew/opt/go/libexec/src/crypto/tls/conn.go:831 +0xd0
- crypto/tls.(*Conn).readRecordOrCCS(0x1400011d508, 0x0)
- /opt/homebrew/opt/go/libexec/src/crypto/tls/conn.go:629 +0x35c
- crypto/tls.(*Conn).readRecord(...)
- /opt/homebrew/opt/go/libexec/src/crypto/tls/conn.go:591
- crypto/tls.(*Conn).Read(0x1400011d508, {0x1400029b000, 0x1000, 0x18?})
- /opt/homebrew/opt/go/libexec/src/crypto/tls/conn.go:1385 +0x164
- bufio.(*Reader).Read(0x14000114e40, {0x14000216200, 0x9, 0x102377c88?})
- /opt/homebrew/opt/go/libexec/src/bufio/bufio.go:241 +0x1b4
- io.ReadAtLeast({0x103b45d60, 0x14000114e40}, {0x14000216200, 0x9, 0x9}, 0x9)
- /opt/homebrew/opt/go/libexec/src/io/io.go:335 +0xa0
- io.ReadFull(...)
- /opt/homebrew/opt/go/libexec/src/io/io.go:354
- golang.org/x/net/http2.readFrameHeader({0x14000216200, 0x9, 0x10390a3e0?}, {0x103b45d60?, 0x14000114e40?})
- /Users/btofel/go/pkg/mod/golang.org/x/[email protected]/http2/frame.go:237 +0x58
- golang.org/x/net/http2.(*Framer).ReadFrame(0x140002161c0)
- /Users/btofel/go/pkg/mod/golang.org/x/[email protected]/http2/frame.go:501 +0x78
- golang.org/x/net/http2.(*clientConnReadLoop).run(0x140000b5f98)
- /Users/btofel/go/pkg/mod/golang.org/x/[email protected]/http2/transport.go:2227 +0xcc
- golang.org/x/net/http2.(*ClientConn).readLoop(0x14000103a40)
- /Users/btofel/go/pkg/mod/golang.org/x/[email protected]/http2/transport.go:2103 +0x78
- created by golang.org/x/net/http2.(*Transport).newClientConn in goroutine 97
- /Users/btofel/go/pkg/mod/golang.org/x/[email protected]/http2/transport.go:912 +0xb64
- goroutine 1365 [syscall]:
- syscall.syscall6(0x104c98b60?, 0x90?, 0x140002d4230?, 0x1049b0f18?, 0x90?, 0x140000bbc30?, 0xfffffffffffffffe?)
- /opt/homebrew/opt/go/libexec/src/runtime/sys_darwin.go:60 +0x50
- syscall.wait4(0x140000bbbd8?, 0x1024330f4?, 0x90?, 0x103ad0940?)
- /opt/homebrew/opt/go/libexec/src/syscall/zsyscall_darwin_arm64.go:44 +0x4c
- syscall.Wait4(0x0?, 0x140000bbc0c, 0x140001d47a0?, 0x19?)
- /opt/homebrew/opt/go/libexec/src/syscall/syscall_bsd.go:144 +0x28
- os.(*Process).pidWait(0x14000842500)
- /opt/homebrew/opt/go/libexec/src/os/exec_unix.go:70 +0x9c
- os.(*Process).wait(0x3?)
- /opt/homebrew/opt/go/libexec/src/os/exec_unix.go:30 +0x24
- os.(*Process).Wait(...)
- /opt/homebrew/opt/go/libexec/src/os/exec.go:358
- os/exec.(*Cmd).Wait(0x1400072a300)
- /opt/homebrew/opt/go/libexec/src/os/exec/exec.go:906 +0x38
- os/exec.(*Cmd).Run(0x1400072a300)
- /opt/homebrew/opt/go/libexec/src/os/exec/exec.go:610 +0x38
- github.com/operator-framework/operator-controller/test/e2e.(*MetricsTestConfig).cleanup(0x1400036c480)
- /Users/btofel/workspace/operator-controller/test/e2e/metrics_test.go:223 +0x174
- github.com/operator-framework/operator-controller/test/e2e.(*MetricsTestConfig).run(0x1400036c480)
- /Users/btofel/workspace/operator-controller/test/e2e/metrics_test.go:135 +0x204
- github.com/operator-framework/operator-controller/test/e2e.TestCatalogdMetricsExportedEndpoint(0x14000118000)
- /Users/btofel/workspace/operator-controller/test/e2e/metrics_test.go:74 +0x80
- testing.tRunner(0x14000118000, 0x103b3deb0)
- /opt/homebrew/opt/go/libexec/src/testing/testing.go:1690 +0xe4
- created by testing.(*T).Run in goroutine 1
- /opt/homebrew/opt/go/libexec/src/testing/testing.go:1743 +0x314
- FAIL github.com/operator-framework/operator-controller/test/e2e 600.649s
- FAIL
- make: *** [e2e] Error 1
- --------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement