*************************** make test-e2e (test-e2e-operator + test-e2e-handler *************************** [root@******** kubernetes-nmstate]# make test-e2e KUBEVIRT_PROVIDER=external KUBECONFIG=/root/ocp4-workdir/auth/kubeconfig IMAGE_BUILDER=podman DEV_IMAGE_REGISTRY=quay.io IMAGE_REPO=******** /home/tlf/kubernetes-nmstate/build/_output/bin//go//bin//go run hack/render-manifests.go -handler-prefix= -handler-namespace=nmstate -operator-namespace=nmstate -handler-image=quay.io/********/kubernetes-nmstate-handler:latest -operator-image=quay.io/********/kubernetes-nmstate-operator:latest -handler-pull-policy=Always -operator-pull-policy=Always -input-dir=deploy/ -output-dir=build/_output/manifests KUBECONFIG=/root/ocp4-workdir/auth/kubeconfig OPERATOR_NAMESPACE=nmstate go run github.com/onsi/ginkgo/ginkgo -v -timeout=80m -slowSpecThreshold=60 ./test/e2e/operator ... -- Running Suite: Operator E2E Test Suite ====================================== Random Seed: 1636038203 Will run 4 of 4 specs 2021-11-04T11:03:28.210-0400DEBUGcontroller-runtime.test-envusing existing cluster 2021-11-04T11:03:28.210-0400DEBUGcontroller-runtime.test-envautomatically acquiring client configuration 2021-11-04T11:03:28.707-0400DEBUGcontroller-runtime.test-envinstalling CRDs I1104 11:03:29.844114 2201693 request.go:668] Waited for 1.039964946s due to client-side throttling, not priority and fairness, request: GET:https://api.ocp-ppc64le-test-080078.aus.stglabs.ibm.com:6443/apis/node.k8s.io/v1beta1?timeout=32s 2021-11-04T11:03:31.249-0400DEBUGcontroller-runtime.test-envinstalling webhooks STEP: Getting node list from cluster NMState operator when installed for the first time should deploy a ready operand /home/tlf/kubernetes-nmstate/test/e2e/operator/nmstate_install_test.go:28 STEP: Install NMState for the first time STEP: Creating NMState CR 'nmstate' STEP: Wait for nmstate/nmstate-handler creation STEP: Wait for nmstate/nmstate-webhook creation STEP: Wait for nmstate/nmstate-cert-manager creation STEP: Wait daemonset handler is ready STEP: Wait deployment webhook is ready STEP: Wait deployment cert-manager is ready STEP: Deleting NMState CR 'nmstate' STEP: Wait for /nmstate deletion STEP: Wait for nmstate/nmstate-handler deletion STEP: Wait for nmstate/nmstate-webhook deletion STEP: Wait for nmstate/nmstate-cert-manager deletion STEP: Wait for operand pods to terminate • ------------------------------ NMState operator when installed for the first time and another CR is created with different name should remove NMState with different name /home/tlf/kubernetes-nmstate/test/e2e/operator/nmstate_install_test.go:41 STEP: Install NMState for the first time STEP: Creating NMState CR 'nmstate' STEP: Wait for nmstate/nmstate-handler creation STEP: Wait for nmstate/nmstate-webhook creation STEP: Wait for nmstate/nmstate-cert-manager creation STEP: Wait daemonset handler is ready STEP: Wait deployment webhook is ready STEP: Wait deployment cert-manager is ready STEP: Creating NMState CR 'different-name' STEP: Deleting NMState CR 'nmstate' STEP: Wait for /nmstate deletion STEP: Wait for nmstate/nmstate-handler deletion STEP: Wait for nmstate/nmstate-webhook deletion STEP: Wait for nmstate/nmstate-cert-manager deletion STEP: Wait for operand pods to terminate • ------------------------------ NMState operator when installed for the first time and uninstalled should uninstall handler and webhook /home/tlf/kubernetes-nmstate/test/e2e/operator/nmstate_install_test.go:52 STEP: Install NMState for the first time STEP: Creating NMState CR 'nmstate' STEP: Deleting NMState CR 'nmstate' STEP: Wait for /nmstate deletion STEP: Wait for nmstate/nmstate-handler deletion STEP: Wait for nmstate/nmstate-webhook deletion STEP: Wait for nmstate/nmstate-cert-manager deletion STEP: Wait for operand pods to terminate STEP: Deleting NMState CR 'nmstate' STEP: Wait for /nmstate deletion STEP: Wait for nmstate/nmstate-handler deletion STEP: Wait for nmstate/nmstate-webhook deletion STEP: Wait for nmstate/nmstate-cert-manager deletion STEP: Wait for operand pods to terminate • ------------------------------ NMState operator when installed for the first time and another handler is installed with different namespace should wait for defaultOperator handler to be deleted before deploying new altOperator handler /home/tlf/kubernetes-nmstate/test/e2e/operator/nmstate_install_test.go:73 STEP: Install NMState for the first time STEP: Creating NMState CR 'nmstate' STEP: Wait for operand to be ready STEP: Wait for nmstate/nmstate-handler creation STEP: Wait for nmstate/nmstate-webhook creation STEP: Wait for nmstate/nmstate-cert-manager creation STEP: Wait daemonset handler is ready STEP: Wait deployment webhook is ready STEP: Wait deployment cert-manager is ready STEP: Install other operator at alternative namespace STEP: Creating NMState operator with namespace 'nmstate-alt' make OPERATOR_NAMESPACE=nmstate-alt HANDLER_NAMESPACE=nmstate-alt IMAGE_REGISTRY=registry:5000 manifests stdout: make[1]: Entering directory '/home/tlf/kubernetes-nmstate' /home/tlf/kubernetes-nmstate/build/_output/bin//go//bin//go run hack/render-manifests.go -handler-prefix= -handler-namespace=nmstate-alt -operator-namespace=nmstate-alt -handler-image=registry:5000/********/kubernetes-nmstate-handler:latest -operator-image=registry:5000/********/kubernetes-nmstate-operator:latest -handler-pull-policy=Always -operator-pull-policy=Always -input-dir=deploy/ -output-dir=build/_output/manifests make[1]: Lea... , stderr ./cluster/kubectl.sh apply -f build/_output/manifests/namespace.yaml stdout: namespace/nmstate-alt created ... , stderr ./cluster/kubectl.sh apply -f build/_output/manifests/service_account.yaml stdout: serviceaccount/nmstate-operator created ... , stderr ./cluster/kubectl.sh apply -f build/_output/manifests/operator.yaml stdout: deployment.apps/nmstate-operator created ... , stderr ./cluster/kubectl.sh apply -f build/_output/manifests/role.yaml stdout: clusterrole.rbac.authorization.k8s.io/nmstate-operator configured role.rbac.authorization.k8s.io/nmstate-operator created ... , stderr ./cluster/kubectl.sh apply -f build/_output/manifests/role_binding.yaml stdout: rolebinding.rbac.authorization.k8s.io/nmstate-operator created clusterrolebinding.rbac.authorization.k8s.io/nmstate-operator configured ... , stderr STEP: Deleting namespace 'nmstate-alt' STEP: Wait for /nmstate-alt deletion STEP: Wait for nmstate-alt/nmstate-handler deletion STEP: Wait for nmstate-alt/nmstate-webhook deletion STEP: Wait for nmstate-alt/nmstate-cert-manager deletion STEP: Wait for operand pods to terminate STEP: Deleting NMState CR 'nmstate' STEP: Wait for /nmstate deletion STEP: Wait for nmstate/nmstate-handler deletion STEP: Wait for nmstate/nmstate-webhook deletion STEP: Wait for nmstate/nmstate-cert-manager deletion STEP: Wait for operand pods to terminate STEP: Creating NMState operator with namespace 'nmstate' make OPERATOR_NAMESPACE=nmstate HANDLER_NAMESPACE=nmstate IMAGE_REGISTRY=registry:5000 manifests stdout: make[1]: Entering directory '/home/tlf/kubernetes-nmstate' /home/tlf/kubernetes-nmstate/build/_output/bin//go//bin//go run hack/render-manifests.go -handler-prefix= -handler-namespace=nmstate -operator-namespace=nmstate -handler-image=registry:5000/********/kubernetes-nmstate-handler:latest -operator-image=registry:5000/********/kubernetes-nmstate-operator:latest -handler-pull-policy=Always -operator-pull-policy=Always -input-dir=deploy/ -output-dir=build/_output/manifests make[1]: Leaving dir... , stderr ./cluster/kubectl.sh apply -f build/_output/manifests/namespace.yaml stdout: namespace/nmstate unchanged ... , stderr ./cluster/kubectl.sh apply -f build/_output/manifests/service_account.yaml stdout: serviceaccount/nmstate-operator unchanged ... , stderr ./cluster/kubectl.sh apply -f build/_output/manifests/operator.yaml stdout: deployment.apps/nmstate-operator configured ... , stderr ./cluster/kubectl.sh apply -f build/_output/manifests/role.yaml stdout: clusterrole.rbac.authorization.k8s.io/nmstate-operator configured role.rbac.authorization.k8s.io/nmstate-operator configured ... , stderr ./cluster/kubectl.sh apply -f build/_output/manifests/role_binding.yaml stdout: rolebinding.rbac.authorization.k8s.io/nmstate-operator unchanged clusterrolebinding.rbac.authorization.k8s.io/nmstate-operator configured ... , stderr STEP: Deleting NMState CR 'nmstate' STEP: Wait for /nmstate deletion STEP: Wait for nmstate/nmstate-handler deletion STEP: Wait for nmstate/nmstate-webhook deletion STEP: Wait for nmstate/nmstate-cert-manager deletion STEP: Wait for operand pods to terminate • Failure in Spec Setup (BeforeEach) [222.292 seconds] NMState operator /home/tlf/kubernetes-nmstate/test/e2e/operator/nmstate_install_test.go:22 when installed for the first time /home/tlf/kubernetes-nmstate/test/e2e/operator/nmstate_install_test.go:23 and another handler is installed with different namespace /home/tlf/kubernetes-nmstate/test/e2e/operator/nmstate_install_test.go:56 should wait for defaultOperator handler to be deleted before deploying new altOperator handler [BeforeEach] /home/tlf/kubernetes-nmstate/test/e2e/operator/nmstate_install_test.go:73 Timed out after 180.000s. Expected <*v1.DeploymentCondition | 0xc00050bab0>: { Type: "Available", Status: "False", LastUpdateTime: { Time: 2021-11-04T11:04:49-04:00, }, LastTransitionTime: { Time: 2021-11-04T11:04:49-04:00, }, Reason: "MinimumReplicasUnavailable", Message: "Deployment does not have minimum availability.", } deployment.Status.Condition to equal corev1.ConditionTrue : True /home/tlf/kubernetes-nmstate/test/e2e/operator/nmstate_install_test.go:104 ------------------------------ STEP: Deleting NMState CR 'nmstate' STEP: Wait for /nmstate deletion STEP: Wait for nmstate/nmstate-handler deletion STEP: Wait for nmstate/nmstate-webhook deletion STEP: Wait for nmstate/nmstate-cert-manager deletion STEP: Wait for operand pods to terminate Summarizing 1 Failure: [Fail] NMState operator when installed for the first time and another handler is installed with different namespace [BeforeEach] should wait for defaultOperator handler to be deleted before deploying new altOperator handler /home/tlf/kubernetes-nmstate/test/e2e/operator/nmstate_install_test.go:104 Ran 4 of 4 Specs in 280.495 seconds FAIL! -- 3 Passed | 1 Failed | 0 Pending | 0 Skipped --- FAIL: TestE2E (280.50s) FAIL You're using deprecated Ginkgo functionality: ============================================= Ginkgo 2.0 is under active development and will introduce (a small number of) breaking changes. To learn more, view the migration guide at https://github.com/onsi/ginkgo/blob/v2/docs/MIGRATING_TO_V2.md To comment, chime in at https://github.com/onsi/ginkgo/issues/711 You are using a custom reporter. Support for custom reporters will likely be removed in V2. Most users were using them to generate junit or teamcity reports and this functionality will be merged into the core reporter. In addition, Ginkgo 2.0 will support emitting a JSON-formatted report that users can then manipulate to generate custom reports. If this change will be impactful to you please leave a comment on https://github.com/onsi/ginkgo/issues/711 Learn more at: https://github.com/onsi/ginkgo/blob/v2/docs/MIGRATING_TO_V2.md#removed-custom-reporters To silence deprecations that can be silenced set the following environment variable: ACK_GINKGO_DEPRECATIONS=1.16.4 Ginkgo ran 1 suite in 4m44.770649711s Test Suite Failed exit status 1 make: *** [Makefile:173: test-e2e-operator] Error 1 ****************************** make test-e2e-handler ****************************** [root@******** kubernetes-nmstate]# make test-e2e-handler KUBEVIRT_PROVIDER=external KUBECONFIG=/root/ocp4-workdir/auth/kubeconfig IMAGE_BUILDER=podman DEV_IMAGE_REGISTRY=quay.io IMAGE_REPO=******** KUBECONFIG=/root/ocp4-workdir/auth/kubeconfig OPERATOR_NAMESPACE=nmstate go run github.com/onsi/ginkgo/ginkgo -v -timeout=80m -slowSpecThreshold=60 ./test/e2e/handler ... -- Running Suite: E2E Test Suite ============================= Random Seed: 1636060037 Will run 69 of 72 specs 2021-11-04T17:07:22.058-0400DEBUGcontroller-runtime.test-envusing existing cluster 2021-11-04T17:07:22.058-0400DEBUGcontroller-runtime.test-envautomatically acquiring client configuration 2021-11-04T17:07:22.548-0400DEBUGcontroller-runtime.test-envinstalling CRDs I1104 17:07:23.605420 2270122 request.go:668] Waited for 1.029685733s due to client-side throttling, not priority and fairness, request: GET:https://api.ocp-ppc64le-test-080078.aus.stglabs.ibm.com:6443/apis/project.openshift.io/v1?timeout=32s 2021-11-04T17:07:25.065-0400DEBUGcontroller-runtime.test-envinstalling webhooks STEP: Getting nmstate-enabled node list from cluster STEP: Getting nmstate-enabled worker node list from cluster STEP: Resetting nics state primary up and secondaries down Failure [491.826 seconds] [BeforeSuite] BeforeSuite /home/tlf/kubernetes-nmstate/test/e2e/handler/main_test.go:42 Timed out after 480.001s. should reach expected status at NNCP 'test-policy', current enactments statuses: {} Expected : [ { Type: "Available", Status: "False", Reason: "FailedToConfigure", Message: "", MessageEncoded: "", LastHeartbeatTime: { Time: 2021-11-04T17:08:58-04:00, }, LastTransitionTime: { Time: 2021-11-04T17:08:58-04:00, }, }, { Type: "Degraded", Status: "True", Reason: "FailedToConfigure", Message: "1/2 nodes failed to configure, 1 nodes aborted configuration", MessageEncoded: "", LastHeartbeatTime: { Time: 2021-11-04T17:08:58-04:00, }, LastTransitionTime: { Time: 2021-11-04T17:08:58-04:00, }, }, ] to contain element matching <*gstruct.FieldsMatcher | 0xc000c1fa70>: { Fields: { "Type": <*matchers.EqualMatcher | 0xc000bb8f10>{ Expected: "Available", }, "Status": <*matchers.EqualMatcher | 0xc000bb8f20>{ Expected: "True", }, "Reason": <*matchers.NotMatcher | 0xc000bb8f30>{ Matcher: <*matchers.BeEmptyMatcher | 0x11fc7b20>{}, }, "Message": <*matchers.NotMatcher | 0xc000bb8f40>{ Matcher: <*matchers.BeEmptyMatcher | 0x11fc7b20>{}, }, }, IgnoreExtras: true, IgnoreMissing: false, failures: [ <*errors.NestedError | 0xc00119a2c0>{ Path: ".Type", Err: <*errors.errorString | 0xc000bb83c0>{ s: "Expected\n : Degraded\nto equal\n : Available", }, }, ], } /home/tlf/kubernetes-nmstate/test/e2e/handler/conditions.go:168 ------------------------------ Ran 69 of 0 Specs in 491.828 seconds FAIL! -- 0 Passed | 69 Failed | 0 Pending | 0 Skipped --- FAIL: TestE2E (491.89s) FAIL You're using deprecated Ginkgo functionality: ============================================= Ginkgo 2.0 is under active development and will introduce (a small number of) breaking changes. To learn more, view the migration guide at https://github.com/onsi/ginkgo/blob/v2/docs/MIGRATING_TO_V2.md To comment, chime in at https://github.com/onsi/ginkgo/issues/711 You are using a custom reporter. Support for custom reporters will likely be removed in V2. Most users were using them to generate junit or teamcity reports and this functionality will be merged into the core reporter. In addition, Ginkgo 2.0 will support emitting a JSON-formatted report that users can then manipulate to generate custom reports. If this change will be impactful to you please leave a comment on https://github.com/onsi/ginkgo/issues/711 Learn more at: https://github.com/onsi/ginkgo/blob/v2/docs/MIGRATING_TO_V2.md#removed-custom-reporters To silence deprecations that can be silenced set the following environment variable: ACK_GINKGO_DEPRECATIONS=1.16.4 Ginkgo ran 1 suite in 8m16.453453067s Test Suite Failed exit status 1 make: *** [Makefile:170: test-e2e-handler] Error 1 ****************************** make test-e2e-operator ****************************** [root@******** kubernetes-nmstate]# make test-e2e-operator KUBEVIRT_PROVIDER=external KUBECONFIG=/root/ocp4-workdir/auth/kubeconfig IMAGE_BUILDER=podman DEV_IMAGE_REGISTRY=quay.io IMAGE_REPO=******** /home/tlf/kubernetes-nmstate/build/_output/bin//go//bin//go run hack/render-manifests.go -handler-prefix= -handler-namespace=nmstate -operator-namespace=nmstate -handler-image=quay.io/********/kubernetes-nmstate-handler:latest -operator-image=quay.io/********/kubernetes-nmstate-operator:latest -handler-pull-policy=Always -operator-pull-policy=Always -input-dir=deploy/ -output-dir=build/_output/manifests KUBECONFIG=/root/ocp4-workdir/auth/kubeconfig OPERATOR_NAMESPACE=nmstate go run github.com/onsi/ginkgo/ginkgo -v -timeout=80m -slowSpecThreshold=60 ./test/e2e/operator ... -- Running Suite: Operator E2E Test Suite ====================================== Random Seed: 1636061241 Will run 4 of 4 specs 2021-11-04T17:27:25.824-0400DEBUGcontroller-runtime.test-envusing existing cluster 2021-11-04T17:27:25.825-0400DEBUGcontroller-runtime.test-envautomatically acquiring client configuration 2021-11-04T17:27:26.302-0400DEBUGcontroller-runtime.test-envinstalling CRDs I1104 17:27:27.416492 2272397 request.go:668] Waited for 1.04467298s due to client-side throttling, not priority and fairness, request: GET:https://api.ocp-ppc64le-test-080078.aus.stglabs.ibm.com:6443/apis/operators.coreos.com/v2?timeout=32s 2021-11-04T17:27:28.820-0400DEBUGcontroller-runtime.test-envinstalling webhooks STEP: Getting node list from cluster NMState operator when installed for the first time should deploy a ready operand /home/tlf/kubernetes-nmstate/test/e2e/operator/nmstate_install_test.go:28 STEP: Install NMState for the first time STEP: Creating NMState CR 'nmstate' STEP: Deleting NMState CR 'nmstate' STEP: Wait for /nmstate deletion STEP: Wait for nmstate/nmstate-handler deletion STEP: Wait for nmstate/nmstate-webhook deletion STEP: Wait for nmstate/nmstate-cert-manager deletion STEP: Wait for operand pods to terminate • Failure in Spec Setup (BeforeEach) [2.059 seconds] NMState operator /home/tlf/kubernetes-nmstate/test/e2e/operator/nmstate_install_test.go:22 when installed for the first time /home/tlf/kubernetes-nmstate/test/e2e/operator/nmstate_install_test.go:23 should deploy a ready operand [BeforeEach] /home/tlf/kubernetes-nmstate/test/e2e/operator/nmstate_install_test.go:28 NMState CR created without error Unexpected error: <*errors.StatusError | 0xc000dfc1e0>: { ErrStatus: { TypeMeta: {Kind: "", APIVersion: ""}, ListMeta: { SelfLink: "", ResourceVersion: "", Continue: "", RemainingItemCount: nil, }, Status: "Failure", Message: "nmstates.nmstate.io \"nmstate\" already exists", Reason: "AlreadyExists", Details: {Name: "nmstate", Group: "nmstate.io", Kind: "nmstates", UID: "", Causes: nil, RetryAfterSeconds: 0}, Code: 409, }, } nmstates.nmstate.io "nmstate" already exists occurred /home/tlf/kubernetes-nmstate/test/e2e/operator/nmstate_install_test.go:26 ------------------------------ NMState operator when installed for the first time and another CR is created with different name should remove NMState with different name /home/tlf/kubernetes-nmstate/test/e2e/operator/nmstate_install_test.go:41 STEP: Install NMState for the first time STEP: Creating NMState CR 'nmstate' STEP: Wait for nmstate/nmstate-handler creation STEP: Wait for nmstate/nmstate-webhook creation STEP: Wait for nmstate/nmstate-cert-manager creation STEP: Wait daemonset handler is ready STEP: Wait deployment webhook is ready STEP: Wait deployment cert-manager is ready STEP: Creating NMState CR 'different-name' STEP: Deleting NMState CR 'nmstate' STEP: Wait for /nmstate deletion STEP: Wait for nmstate/nmstate-handler deletion STEP: Wait for nmstate/nmstate-webhook deletion STEP: Wait for nmstate/nmstate-cert-manager deletion STEP: Wait for operand pods to terminate • ------------------------------ NMState operator when installed for the first time and uninstalled should uninstall handler and webhook /home/tlf/kubernetes-nmstate/test/e2e/operator/nmstate_install_test.go:52 STEP: Install NMState for the first time STEP: Creating NMState CR 'nmstate' STEP: Deleting NMState CR 'nmstate' STEP: Wait for /nmstate deletion STEP: Wait for nmstate/nmstate-handler deletion STEP: Wait for nmstate/nmstate-webhook deletion STEP: Wait for nmstate/nmstate-cert-manager deletion STEP: Wait for operand pods to terminate STEP: Deleting NMState CR 'nmstate' STEP: Wait for /nmstate deletion STEP: Wait for nmstate/nmstate-handler deletion STEP: Wait for nmstate/nmstate-webhook deletion STEP: Wait for nmstate/nmstate-cert-manager deletion STEP: Wait for operand pods to terminate • ------------------------------ NMState operator when installed for the first time and another handler is installed with different namespace should wait for defaultOperator handler to be deleted before deploying new altOperator handler /home/tlf/kubernetes-nmstate/test/e2e/operator/nmstate_install_test.go:73 STEP: Install NMState for the first time STEP: Creating NMState CR 'nmstate' STEP: Wait for operand to be ready STEP: Wait for nmstate/nmstate-handler creation STEP: Wait for nmstate/nmstate-webhook creation STEP: Wait for nmstate/nmstate-cert-manager creation STEP: Wait daemonset handler is ready STEP: Wait deployment webhook is ready STEP: Wait deployment cert-manager is ready STEP: Install other operator at alternative namespace STEP: Creating NMState operator with namespace 'nmstate-alt' make OPERATOR_NAMESPACE=nmstate-alt HANDLER_NAMESPACE=nmstate-alt IMAGE_REGISTRY=registry:5000 manifests stdout: make[1]: Entering directory '/home/tlf/kubernetes-nmstate' /home/tlf/kubernetes-nmstate/build/_output/bin//go//bin//go run hack/render-manifests.go -handler-prefix= -handler-namespace=nmstate-alt -operator-namespace=nmstate-alt -handler-image=registry:5000/********/kubernetes-nmstate-handler:latest -operator-image=registry:5000/********/kubernetes-nmstate-operator:latest -handler-pull-policy=Always -operator-pull-policy=Always -input-dir=deploy/ -output-dir=build/_output/manifests make[1]: Lea... , stderr ./cluster/kubectl.sh apply -f build/_output/manifests/namespace.yaml ^[[6~stdout: namespace/nmstate-alt created ... , stderr ./cluster/kubectl.sh apply -f build/_output/manifests/service_account.yaml stdout: serviceaccount/nmstate-operator created ... , stderr ./cluster/kubectl.sh apply -f build/_output/manifests/operator.yaml stdout: deployment.apps/nmstate-operator created ... , stderr ./cluster/kubectl.sh apply -f build/_output/manifests/role.yaml stdout: clusterrole.rbac.authorization.k8s.io/nmstate-operator configured role.rbac.authorization.k8s.io/nmstate-operator created ... , stderr ./cluster/kubectl.sh apply -f build/_output/manifests/role_binding.yaml stdout: rolebinding.rbac.authorization.k8s.io/nmstate-operator created clusterrolebinding.rbac.authorization.k8s.io/nmstate-operator configured ... , stderr STEP: Deleting namespace 'nmstate-alt' STEP: Wait for /nmstate-alt deletion STEP: Wait for nmstate-alt/nmstate-handler deletion STEP: Wait for nmstate-alt/nmstate-webhook deletion STEP: Wait for nmstate-alt/nmstate-cert-manager deletion STEP: Wait for operand pods to terminate STEP: Deleting NMState CR 'nmstate' STEP: Wait for /nmstate deletion STEP: Wait for nmstate/nmstate-handler deletion STEP: Wait for nmstate/nmstate-webhook deletion STEP: Wait for nmstate/nmstate-cert-manager deletion STEP: Wait for operand pods to terminate STEP: Creating NMState operator with namespace 'nmstate' make OPERATOR_NAMESPACE=nmstate HANDLER_NAMESPACE=nmstate IMAGE_REGISTRY=registry:5000 manifests stdout: make[1]: Entering directory '/home/tlf/kubernetes-nmstate' /home/tlf/kubernetes-nmstate/build/_output/bin//go//bin//go run hack/render-manifests.go -handler-prefix= -handler-namespace=nmstate -operator-namespace=nmstate -handler-image=registry:5000/********/kubernetes-nmstate-handler:latest -operator-image=registry:5000/********/kubernetes-nmstate-operator:latest -handler-pull-policy=Always -operator-pull-policy=Always -input-dir=deploy/ -output-dir=build/_output/manifests make[1]: Leaving dir... , stderr ./cluster/kubectl.sh apply -f build/_output/manifests/namespace.yaml stdout: namespace/nmstate unchanged ... , stderr ./cluster/kubectl.sh apply -f build/_output/manifests/service_account.yaml stdout: serviceaccount/nmstate-operator unchanged ... , stderr ./cluster/kubectl.sh apply -f build/_output/manifests/operator.yaml stdout: deployment.apps/nmstate-operator configured ... , stderr ./cluster/kubectl.sh apply -f build/_output/manifests/role.yaml stdout: clusterrole.rbac.authorization.k8s.io/nmstate-operator configured role.rbac.authorization.k8s.io/nmstate-operator configured ... , stderr ./cluster/kubectl.sh apply -f build/_output/manifests/role_binding.yaml stdout: rolebinding.rbac.authorization.k8s.io/nmstate-operator unchanged clusterrolebinding.rbac.authorization.k8s.io/nmstate-operator configured ... , stderr STEP: Deleting NMState CR 'nmstate' STEP: Wait for /nmstate deletion STEP: Wait for nmstate/nmstate-handler deletion STEP: Wait for nmstate/nmstate-webhook deletion STEP: Wait for nmstate/nmstate-cert-manager deletion STEP: Wait for operand pods to terminate • Failure in Spec Setup (BeforeEach) [222.275 seconds] NMState operator /home/tlf/kubernetes-nmstate/test/e2e/operator/nmstate_install_test.go:22 when installed for the first time /home/tlf/kubernetes-nmstate/test/e2e/operator/nmstate_install_test.go:23 and another handler is installed with different namespace /home/tlf/kubernetes-nmstate/test/e2e/operator/nmstate_install_test.go:56 should wait for defaultOperator handler to be deleted before deploying new altOperator handler [BeforeEach] /home/tlf/kubernetes-nmstate/test/e2e/operator/nmstate_install_test.go:73 Timed out after 180.001s. Expected <*v1.DeploymentCondition | 0xc000946700>: { Type: "Available", Status: "False", LastUpdateTime: { Time: 2021-11-04T17:28:25-04:00, }, LastTransitionTime: { Time: 2021-11-04T17:28:25-04:00, }, Reason: "MinimumReplicasUnavailable", Message: "Deployment does not have minimum availability.", } deployment.Status.Condition to equal corev1.ConditionTrue : True /home/tlf/kubernetes-nmstate/test/e2e/operator/nmstate_install_test.go:104 ------------------------------ STEP: Deleting NMState CR 'nmstate' STEP: Wait for /nmstate deletion STEP: Wait for nmstate/nmstate-handler deletion STEP: Wait for nmstate/nmstate-webhook deletion STEP: Wait for nmstate/nmstate-cert-manager deletion STEP: Wait for operand pods to terminate Summarizing 2 Failures: [Fail] NMState operator when installed for the first time [BeforeEach] should deploy a ready operand /home/tlf/kubernetes-nmstate/test/e2e/operator/nmstate_install_test.go:26 [Fail] NMState operator when installed for the first time and another handler is installed with different namespace [BeforeEach] should wait for defaultOperator handler to be deleted before deploying new altOperator handler /home/tlf/kubernetes-nmstate/test/e2e/operator/nmstate_install_test.go:104 Ran 4 of 4 Specs in 259.310 seconds FAIL! -- 2 Passed | 2 Failed | 0 Pending | 0 Skipped --- FAIL: TestE2E (259.31s) FAIL You're using deprecated Ginkgo functionality: ============================================= Ginkgo 2.0 is under active development and will introduce (a small number of) breaking changes. To learn more, view the migration guide at https://github.com/onsi/ginkgo/blob/v2/docs/MIGRATING_TO_V2.md To comment, chime in at https://github.com/onsi/ginkgo/issues/711 You are using a custom reporter. Support for custom reporters will likely be removed in V2. Most users were using them to generate junit or teamcity reports and this functionality will be merged into the core reporter. In addition, Ginkgo 2.0 will support emitting a JSON-formatted report that users can then manipulate to generate custom reports. If this change will be impactful to you please leave a comment on https://github.com/onsi/ginkgo/issues/711 Learn more at: https://github.com/onsi/ginkgo/blob/v2/docs/MIGRATING_TO_V2.md#removed-custom-reporters To silence deprecations that can be silenced set the following environment variable: ACK_GINKGO_DEPRECATIONS=1.16.4 Ginkgo ran 1 suite in 4m23.59077022s Test Suite Failed exit status 1 make: *** [Makefile:173: test-e2e-operator] Error 1