-
Bug
-
Resolution: Done
-
Major
-
1.5.0.GA
-
None
Back link to Report Portal:
Test Item comments:
It loks that something is wrong in test or in the template which is loaded. It's not working on on CRC aka OCP4
Test execution log:
Test execution log
Time: 04/15/2020 00:47:19, Level: INFO, Log: 2020-04-14 22:51:28 [32mINFO [m [TimeMeasuringSystem:94] Start time of operation TEST_EXECUTION is correctly stored 2020-04-14 22:51:28 [32mINFO [m [TestSeparator:27] ############################################################################ 2020-04-14 22:51:28 [32mINFO [m [TestSeparator:28] io.strimzi.systemtest.KafkaST.testDeployKafkaClusterViaTemplate-STARTED 2020-04-14 22:51:28 [32mINFO [m [ResourceManager:89] Setting pointer to method resources 2020-04-14 22:51:28 [32mINFO [m [KubeClusterResource:249] Creating resources ../examples/templates/cluster-operator in namespace kafka-cluster-test 2020-04-14 22:51:29 [32mINFO [m [LogCollector:64] Collecting events in namespace kafka-cluster-test 2020-04-14 22:51:29 [32mINFO [m [LogCollector:71] Collecting configmaps in namespace kafka-cluster-test 2020-04-14 22:51:29 [32mINFO [m [LogCollector:44] Collecting logs for pods in namespace kafka-cluster-test 2020-04-14 22:51:29 [32mINFO [m [LogCollector:78] Collecting Deployments in namespaces kafka-cluster-test 2020-04-14 22:51:29 [32mINFO [m [LogCollector:83] Collecting StatefulSets in namespaces kafka-cluster-test 2020-04-14 22:51:29 [32mINFO [m [LogCollector:88] Collecting ReplicaSet in namespaces kafka-cluster-test 2020-04-14 22:51:29 [32mINFO [m [LogCollector:93] Collecting CR in namespaces kafka-cluster-test 2020-04-14 22:51:30 [32mINFO [m [Exec:166] Command: [oc, get, strimzi, -o, yaml, -n, kafka-cluster-test] 2020-04-14 22:51:30 [32mINFO [m [Exec:167] Return code: 0 2020-04-14 22:51:30 [32mINFO [m [Exec:168] stdout: apiVersion: v1 items: [] kind: List metadata: resourceVersion: "" selfLink: "" 2020-04-14 22:51:30 [32mINFO [m [Exec:169] stderr: 2020-04-14 22:51:30 [32mINFO [m [BaseST:666] Search in strimzi-cluster-operator log for errors in last 0 seconds 2020-04-14 22:51:30 [32mINFO [m [BaseST:750] Test execution contains exception, going to recreate test environment 2020-04-14 22:51:30 [32mINFO [m [ResourceManager:341] Going to clear all method resources 2020-04-14 22:51:30 [32mINFO [m [ResourceManager:333] Going to clear all class resources 2020-04-14 22:51:30 [32mINFO [m [ResourceManager:177] Deleting Deployment strimzi-cluster-operator 2020-04-14 22:51:30 [32mINFO [m [ResourceManager:323] Waiting when all the pods are terminated for Deployment strimzi-cluster-operator 2020-04-14 22:51:30 [33mWARN [m [DeploymentUtils:187] Deployment strimzi-cluster-operator is not deleted yet! Triggering force delete by cmd client! 2020-04-14 22:51:36 [32mINFO [m [ResourceManager:191] Deleting RoleBinding strimzi-cluster-operator-topic-operator-delegation 2020-04-14 22:51:36 [32mINFO [m [ResourceManager:191] Deleting RoleBinding strimzi-cluster-operator-entity-operator-delegation 2020-04-14 22:51:36 [32mINFO [m [ResourceManager:184] Deleting ClusterRoleBinding strimzi-cluster-operator-kafka-broker-delegation 2020-04-14 22:51:36 [32mINFO [m [ResourceManager:184] Deleting ClusterRoleBinding strimzi-cluster-operator 2020-04-14 22:51:36 [32mINFO [m [ResourceManager:191] Deleting RoleBinding strimzi-cluster-operator 2020-04-14 22:51:36 [32mINFO [m [ResourceManager:216] Deleting NetworkPolicy global-network-policy in namespace kafka-cluster-test 2020-04-14 22:51:36 [32mINFO [m [TimeMeasuringSystem:94] Start time of operation CO_DELETION is correctly stored 2020-04-14 22:51:36 [32mINFO [m [KubeClusterResource:185] Deleting configuration file: ../install/cluster-operator/048-Crd-kafkamirrormaker2.yaml 2020-04-14 22:51:36 [32mINFO [m [KubeClusterResource:185] Deleting configuration file: ../install/cluster-operator/047-Crd-kafkaconnector.yaml 2020-04-14 22:51:36 [32mINFO [m [KubeClusterResource:185] Deleting configuration file: ../install/cluster-operator/046-Crd-kafkabridge.yaml 2020-04-14 22:51:36 [32mINFO [m [KubeClusterResource:185] Deleting configuration file: ../install/cluster-operator/045-Crd-kafkamirrormaker.yaml 2020-04-14 22:51:36 [32mINFO [m [KubeClusterResource:185] Deleting configuration file: ../install/cluster-operator/044-Crd-kafkauser.yaml 2020-04-14 22:51:37 [32mINFO [m [KubeClusterResource:185] Deleting configuration file: ../install/cluster-operator/043-Crd-kafkatopic.yaml 2020-04-14 22:51:37 [32mINFO [m [KubeClusterResource:185] Deleting configuration file: ../install/cluster-operator/042-Crd-kafkaconnects2i.yaml 2020-04-14 22:51:37 [32mINFO [m [KubeClusterResource:185] Deleting configuration file: ../install/cluster-operator/041-Crd-kafkaconnect.yaml 2020-04-14 22:51:37 [32mINFO [m [KubeClusterResource:185] Deleting configuration file: ../install/cluster-operator/040-Crd-kafka.yaml 2020-04-14 22:51:38 [32mINFO [m [KubeClusterResource:185] Deleting configuration file: ../install/cluster-operator/032-ClusterRole-strimzi-topic-operator.yaml 2020-04-14 22:51:38 [32mINFO [m [KubeClusterResource:185] Deleting configuration file: ../install/cluster-operator/031-ClusterRole-strimzi-entity-operator.yaml 2020-04-14 22:51:38 [32mINFO [m [KubeClusterResource:185] Deleting configuration file: ../install/cluster-operator/030-ClusterRole-strimzi-kafka-broker.yaml 2020-04-14 22:51:39 [32mINFO [m [KubeClusterResource:185] Deleting configuration file: ../install/cluster-operator/021-ClusterRole-strimzi-cluster-operator-role.yaml 2020-04-14 22:51:39 [32mINFO [m [KubeClusterResource:185] Deleting configuration file: ../install/cluster-operator/020-ClusterRole-strimzi-cluster-operator-role.yaml 2020-04-14 22:51:39 [32mINFO [m [KubeClusterResource:185] Deleting configuration file: ../install/cluster-operator/010-ServiceAccount-strimzi-cluster-operator.yaml 2020-04-14 22:51:39 [32mINFO [m [TimeMeasuringSystem:113] End time of operation CO_DELETION is correctly stored 2020-04-14 22:51:39 [32mINFO [m [KubeClusterResource:231] Deleting namespace: kafka-cluster-test 2020-04-14 22:51:53 [32mINFO [m [KubeClusterResource:237] Using namespace kafka-cluster-test 2020-04-14 22:51:53 [32mINFO [m [KubeClusterResource:125] Changing to kafka-cluster-test namespace 2020-04-14 22:51:53 [32mINFO [m [KubeClusterResource:206] Creating namespace: kafka-cluster-test 2020-04-14 22:51:53 [32mINFO [m [KubeClusterResource:212] Using namespace kafka-cluster-test 2020-04-14 22:51:53 [32mINFO [m [KubeClusterResource:125] Changing to kafka-cluster-test namespace 2020-04-14 22:51:53 [32mINFO [m [TimeMeasuringSystem:94] Start time of operation CO_CREATION is correctly stored 2020-04-14 22:51:53 [32mINFO [m [KubeClusterResource:103] Applying configuration file: ../install/cluster-operator/010-ServiceAccount-strimzi-cluster-operator.yaml 2020-04-14 22:51:53 [32mINFO [m [KubeClusterResource:103] Applying configuration file: ../install/cluster-operator/020-ClusterRole-strimzi-cluster-operator-role.yaml 2020-04-14 22:51:54 [32mINFO [m [KubeClusterResource:103] Applying configuration file: ../install/cluster-operator/021-ClusterRole-strimzi-cluster-operator-role.yaml 2020-04-14 22:51:54 [32mINFO [m [KubeClusterResource:103] Applying configuration file: ../install/cluster-operator/030-ClusterRole-strimzi-kafka-broker.yaml 2020-04-14 22:51:54 [32mINFO [m [KubeClusterResource:103] Applying configuration file: ../install/cluster-operator/031-ClusterRole-strimzi-entity-operator.yaml 2020-04-14 22:51:55 [32mINFO [m [KubeClusterResource:103] Applying configuration file: ../install/cluster-operator/032-ClusterRole-strimzi-topic-operator.yaml 2020-04-14 22:51:55 [32mINFO [m [KubeClusterResource:103] Applying configuration file: ../install/cluster-operator/040-Crd-kafka.yaml 2020-04-14 22:51:56 [32mINFO [m [KubeClusterResource:103] Applying configuration file: ../install/cluster-operator/041-Crd-kafkaconnect.yaml 2020-04-14 22:51:56 [32mINFO [m [KubeClusterResource:103] Applying configuration file: ../install/cluster-operator/042-Crd-kafkaconnects2i.yaml 2020-04-14 22:51:57 [32mINFO [m [KubeClusterResource:103] Applying configuration file: ../install/cluster-operator/043-Crd-kafkatopic.yaml 2020-04-14 22:51:57 [32mINFO [m [KubeClusterResource:103] Applying configuration file: ../install/cluster-operator/044-Crd-kafkauser.yaml 2020-04-14 22:51:57 [32mINFO [m [KubeClusterResource:103] Applying configuration file: ../install/cluster-operator/045-Crd-kafkamirrormaker.yaml 2020-04-14 22:51:58 [32mINFO [m [KubeClusterResource:103] Applying configuration file: ../install/cluster-operator/046-Crd-kafkabridge.yaml 2020-04-14 22:51:58 [32mINFO [m [KubeClusterResource:103] Applying configuration file: ../install/cluster-operator/047-Crd-kafkaconnector.yaml 2020-04-14 22:51:59 [32mINFO [m [KubeClusterResource:103] Applying configuration file: ../install/cluster-operator/048-Crd-kafkamirrormaker2.yaml 2020-04-14 22:51:59 [32mINFO [m [TimeMeasuringSystem:113] End time of operation CO_CREATION is correctly stored 2020-04-14 22:51:59 [32mINFO [m [ResourceManager:94] Setting pointer to class resources 2020-04-14 22:51:59 [32mINFO [m [KubernetesResource:142] Creating RoleBinding from ../install/cluster-operator/020-RoleBinding-strimzi-cluster-operator.yaml in namespace kafka-cluster-test 2020-04-14 22:51:59 [32mINFO [m [KubernetesResource:151] Apply RoleBinding in namespace kafka-cluster-test 2020-04-14 22:51:59 [32mINFO [m [ResourceManager:106] Scheduled deletion of RoleBinding strimzi-cluster-operator in namespace (not set) 2020-04-14 22:51:59 [32mINFO [m [KubernetesResource:158] Creating ClusterRoleBinding from ../install/cluster-operator/021-ClusterRoleBinding-strimzi-cluster-operator.yaml in namespace kafka-cluster-test 2020-04-14 22:51:59 [32mINFO [m [KubernetesResource:167] Apply ClusterRoleBinding in namespace kafka-cluster-test 2020-04-14 22:51:59 [32mINFO [m [ResourceManager:106] Scheduled deletion of ClusterRoleBinding strimzi-cluster-operator in namespace (not set) 2020-04-14 22:51:59 [32mINFO [m [KubernetesResource:158] Creating ClusterRoleBinding from ../install/cluster-operator/030-ClusterRoleBinding-strimzi-cluster-operator-kafka-broker-delegation.yaml in namespace kafka-cluster-test 2020-04-14 22:51:59 [32mINFO [m [KubernetesResource:167] Apply ClusterRoleBinding in namespace kafka-cluster-test 2020-04-14 22:51:59 [32mINFO [m [ResourceManager:106] Scheduled deletion of ClusterRoleBinding strimzi-cluster-operator-kafka-broker-delegation in namespace (not set) 2020-04-14 22:51:59 [32mINFO [m [KubernetesResource:142] Creating RoleBinding from ../install/cluster-operator/031-RoleBinding-strimzi-cluster-operator-entity-operator-delegation.yaml in namespace kafka-cluster-test 2020-04-14 22:51:59 [32mINFO [m [KubernetesResource:151] Apply RoleBinding in namespace kafka-cluster-test 2020-04-14 22:51:59 [32mINFO [m [ResourceManager:106] Scheduled deletion of RoleBinding strimzi-cluster-operator-entity-operator-delegation in namespace (not set) 2020-04-14 22:51:59 [32mINFO [m [KubernetesResource:142] Creating RoleBinding from ../install/cluster-operator/032-RoleBinding-strimzi-cluster-operator-topic-operator-delegation.yaml in namespace kafka-cluster-test 2020-04-14 22:51:59 [32mINFO [m [KubernetesResource:151] Apply RoleBinding in namespace kafka-cluster-test 2020-04-14 22:51:59 [32mINFO [m [ResourceManager:106] Scheduled deletion of RoleBinding strimzi-cluster-operator-topic-operator-delegation in namespace (not set) 2020-04-14 22:51:59 [32mINFO [m [ResourceManager:106] Scheduled deletion of Deployment strimzi-cluster-operator in namespace (not set) 2020-04-14 22:51:59 [32mINFO [m [KubernetesResource:422] Waiting for deployment strimzi-cluster-operator 2020-04-14 22:52:31 [32mINFO [m [KubernetesResource:424] Deployment strimzi-cluster-operator is ready 2020-04-14 22:52:31 [32mINFO [m [ResourceManager:106] Scheduled deletion of NetworkPolicy global-network-policy in namespace kafka-cluster-test 2020-04-14 22:52:31 [32mINFO [m [KubernetesResource:402] Network policy successfully set to: DEFAULT_TO_DENY 2020-04-14 22:52:31 [32mINFO [m [KubernetesResource:324] NetworkPolicy successfully set to: true for namespace: kafka-cluster-test 2020-04-14 22:52:31 [32mINFO [m [BaseST:753] Env recreated. 2020-04-14 22:52:31 [32mINFO [m [ResourceManager:341] Going to clear all method resources 2020-04-14 22:52:31 [33mWARN [m [TimeMeasuringSystem:115] End time of operation TEST_EXECUTION is not set due to exception: java.lang.NullPointerException 2020-04-14 22:52:31 [32mINFO [m [TestSeparator:34] io.strimzi.systemtest.KafkaST.testDeployKafkaClusterViaTemplate-FINISHED 2020-04-14 22:52:31 [32mINFO [m [TestSeparator:35] ############################################################################
Time: 04/15/2020 00:47:19, Level: ERROR, Log: `oc --namespace kafka-cluster-test new-app strimzi-ephemeral -p CLUSTER_NAME=openshift-my-cluster` got status code 1 and stderr: ------ error: The template contained an object type unknown to `oc new-app`. Use `oc process -f <template> | oc create -f -` instead. Error details: no kind "Kafka" is registered for version "kafka.strimzi.io/v1beta1" in scheme "k8s.io/kubectl/pkg/scheme/scheme.go:28" ------ and stdout: ------ ------
Time: 04/15/2020 00:47:19, Level: INFO, Log: logs-pod-strimzi-cluster-operator-7c9ff85d7f-2pz7r-container-strimzi-cluster-operator.log
Time: 04/15/2020 00:47:20, Level: INFO, Log: describe-pod-strimzi-cluster-operator-7c9ff85d7f-2pz7r-container-strimzi-cluster-operator.log
Time: 04/15/2020 00:47:20, Level: INFO, Log: deployments.log
Time: 04/15/2020 00:47:21, Level: INFO, Log: statefulsets.log
Time: 04/15/2020 00:47:21, Level: INFO, Log: replicasets.log
Time: 04/15/2020 00:47:22, Level: INFO, Log: strimzi-custom-resources.log
Time: 04/15/2020 00:47:22, Level: INFO, Log: events-in-namespacekafka-cluster-test.log