Uploaded image for project: 'AMQ Streams'
  1. AMQ Streams
  2. ENTMQST-1845

[Strimzi System test] Investigate and fix testDeployKafkaClusterViaTemplate on ocp4

XMLWordPrintable

      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 &amp#27;[32mINFO &amp#27;[m [TimeMeasuringSystem:94] Start time of operation TEST_EXECUTION is correctly stored
      2020-04-14 22:51:28 &amp#27;[32mINFO &amp#27;[m [TestSeparator:27] ############################################################################
      2020-04-14 22:51:28 &amp#27;[32mINFO &amp#27;[m [TestSeparator:28] io.strimzi.systemtest.KafkaST.testDeployKafkaClusterViaTemplate-STARTED
      2020-04-14 22:51:28 &amp#27;[32mINFO &amp#27;[m [ResourceManager:89] Setting pointer to method resources
      2020-04-14 22:51:28 &amp#27;[32mINFO &amp#27;[m [KubeClusterResource:249] Creating resources ../examples/templates/cluster-operator in namespace kafka-cluster-test
      2020-04-14 22:51:29 &amp#27;[32mINFO &amp#27;[m [LogCollector:64] Collecting events in namespace kafka-cluster-test
      2020-04-14 22:51:29 &amp#27;[32mINFO &amp#27;[m [LogCollector:71] Collecting configmaps in namespace kafka-cluster-test
      2020-04-14 22:51:29 &amp#27;[32mINFO &amp#27;[m [LogCollector:44] Collecting logs for pods in namespace kafka-cluster-test
      2020-04-14 22:51:29 &amp#27;[32mINFO &amp#27;[m [LogCollector:78] Collecting Deployments in namespaces kafka-cluster-test
      2020-04-14 22:51:29 &amp#27;[32mINFO &amp#27;[m [LogCollector:83] Collecting StatefulSets in namespaces kafka-cluster-test
      2020-04-14 22:51:29 &amp#27;[32mINFO &amp#27;[m [LogCollector:88] Collecting ReplicaSet in namespaces kafka-cluster-test
      2020-04-14 22:51:29 &amp#27;[32mINFO &amp#27;[m [LogCollector:93] Collecting CR in namespaces kafka-cluster-test
      2020-04-14 22:51:30 &amp#27;[32mINFO &amp#27;[m [Exec:166] Command: [oc, get, strimzi, -o, yaml, -n, kafka-cluster-test]
      2020-04-14 22:51:30 &amp#27;[32mINFO &amp#27;[m [Exec:167] Return code: 0
      2020-04-14 22:51:30 &amp#27;[32mINFO &amp#27;[m [Exec:168] stdout: 
      apiVersion: v1
      items: []
      kind: List
      metadata:
        resourceVersion: ""
        selfLink: ""
      
      2020-04-14 22:51:30 &amp#27;[32mINFO &amp#27;[m [Exec:169] stderr: 
      
      2020-04-14 22:51:30 &amp#27;[32mINFO &amp#27;[m [BaseST:666] Search in strimzi-cluster-operator log for errors in last 0 seconds
      2020-04-14 22:51:30 &amp#27;[32mINFO &amp#27;[m [BaseST:750] Test execution contains exception, going to recreate test environment
      2020-04-14 22:51:30 &amp#27;[32mINFO &amp#27;[m [ResourceManager:341] Going to clear all method resources
      2020-04-14 22:51:30 &amp#27;[32mINFO &amp#27;[m [ResourceManager:333] Going to clear all class resources
      2020-04-14 22:51:30 &amp#27;[32mINFO &amp#27;[m [ResourceManager:177] Deleting Deployment strimzi-cluster-operator
      2020-04-14 22:51:30 &amp#27;[32mINFO &amp#27;[m [ResourceManager:323] Waiting when all the pods are terminated for Deployment strimzi-cluster-operator
      2020-04-14 22:51:30 &amp#27;[33mWARN &amp#27;[m [DeploymentUtils:187] Deployment strimzi-cluster-operator is not deleted yet! Triggering force delete by cmd client!
      2020-04-14 22:51:36 &amp#27;[32mINFO &amp#27;[m [ResourceManager:191] Deleting RoleBinding strimzi-cluster-operator-topic-operator-delegation
      2020-04-14 22:51:36 &amp#27;[32mINFO &amp#27;[m [ResourceManager:191] Deleting RoleBinding strimzi-cluster-operator-entity-operator-delegation
      2020-04-14 22:51:36 &amp#27;[32mINFO &amp#27;[m [ResourceManager:184] Deleting ClusterRoleBinding strimzi-cluster-operator-kafka-broker-delegation
      2020-04-14 22:51:36 &amp#27;[32mINFO &amp#27;[m [ResourceManager:184] Deleting ClusterRoleBinding strimzi-cluster-operator
      2020-04-14 22:51:36 &amp#27;[32mINFO &amp#27;[m [ResourceManager:191] Deleting RoleBinding strimzi-cluster-operator
      2020-04-14 22:51:36 &amp#27;[32mINFO &amp#27;[m [ResourceManager:216] Deleting NetworkPolicy global-network-policy in namespace kafka-cluster-test
      2020-04-14 22:51:36 &amp#27;[32mINFO &amp#27;[m [TimeMeasuringSystem:94] Start time of operation CO_DELETION is correctly stored
      2020-04-14 22:51:36 &amp#27;[32mINFO &amp#27;[m [KubeClusterResource:185] Deleting configuration file: ../install/cluster-operator/048-Crd-kafkamirrormaker2.yaml
      2020-04-14 22:51:36 &amp#27;[32mINFO &amp#27;[m [KubeClusterResource:185] Deleting configuration file: ../install/cluster-operator/047-Crd-kafkaconnector.yaml
      2020-04-14 22:51:36 &amp#27;[32mINFO &amp#27;[m [KubeClusterResource:185] Deleting configuration file: ../install/cluster-operator/046-Crd-kafkabridge.yaml
      2020-04-14 22:51:36 &amp#27;[32mINFO &amp#27;[m [KubeClusterResource:185] Deleting configuration file: ../install/cluster-operator/045-Crd-kafkamirrormaker.yaml
      2020-04-14 22:51:36 &amp#27;[32mINFO &amp#27;[m [KubeClusterResource:185] Deleting configuration file: ../install/cluster-operator/044-Crd-kafkauser.yaml
      2020-04-14 22:51:37 &amp#27;[32mINFO &amp#27;[m [KubeClusterResource:185] Deleting configuration file: ../install/cluster-operator/043-Crd-kafkatopic.yaml
      2020-04-14 22:51:37 &amp#27;[32mINFO &amp#27;[m [KubeClusterResource:185] Deleting configuration file: ../install/cluster-operator/042-Crd-kafkaconnects2i.yaml
      2020-04-14 22:51:37 &amp#27;[32mINFO &amp#27;[m [KubeClusterResource:185] Deleting configuration file: ../install/cluster-operator/041-Crd-kafkaconnect.yaml
      2020-04-14 22:51:37 &amp#27;[32mINFO &amp#27;[m [KubeClusterResource:185] Deleting configuration file: ../install/cluster-operator/040-Crd-kafka.yaml
      2020-04-14 22:51:38 &amp#27;[32mINFO &amp#27;[m [KubeClusterResource:185] Deleting configuration file: ../install/cluster-operator/032-ClusterRole-strimzi-topic-operator.yaml
      2020-04-14 22:51:38 &amp#27;[32mINFO &amp#27;[m [KubeClusterResource:185] Deleting configuration file: ../install/cluster-operator/031-ClusterRole-strimzi-entity-operator.yaml
      2020-04-14 22:51:38 &amp#27;[32mINFO &amp#27;[m [KubeClusterResource:185] Deleting configuration file: ../install/cluster-operator/030-ClusterRole-strimzi-kafka-broker.yaml
      2020-04-14 22:51:39 &amp#27;[32mINFO &amp#27;[m [KubeClusterResource:185] Deleting configuration file: ../install/cluster-operator/021-ClusterRole-strimzi-cluster-operator-role.yaml
      2020-04-14 22:51:39 &amp#27;[32mINFO &amp#27;[m [KubeClusterResource:185] Deleting configuration file: ../install/cluster-operator/020-ClusterRole-strimzi-cluster-operator-role.yaml
      2020-04-14 22:51:39 &amp#27;[32mINFO &amp#27;[m [KubeClusterResource:185] Deleting configuration file: ../install/cluster-operator/010-ServiceAccount-strimzi-cluster-operator.yaml
      2020-04-14 22:51:39 &amp#27;[32mINFO &amp#27;[m [TimeMeasuringSystem:113] End time of operation CO_DELETION is correctly stored
      2020-04-14 22:51:39 &amp#27;[32mINFO &amp#27;[m [KubeClusterResource:231] Deleting namespace: kafka-cluster-test
      2020-04-14 22:51:53 &amp#27;[32mINFO &amp#27;[m [KubeClusterResource:237] Using namespace kafka-cluster-test
      2020-04-14 22:51:53 &amp#27;[32mINFO &amp#27;[m [KubeClusterResource:125] Changing to kafka-cluster-test namespace
      2020-04-14 22:51:53 &amp#27;[32mINFO &amp#27;[m [KubeClusterResource:206] Creating namespace: kafka-cluster-test
      2020-04-14 22:51:53 &amp#27;[32mINFO &amp#27;[m [KubeClusterResource:212] Using namespace kafka-cluster-test
      2020-04-14 22:51:53 &amp#27;[32mINFO &amp#27;[m [KubeClusterResource:125] Changing to kafka-cluster-test namespace
      2020-04-14 22:51:53 &amp#27;[32mINFO &amp#27;[m [TimeMeasuringSystem:94] Start time of operation CO_CREATION is correctly stored
      2020-04-14 22:51:53 &amp#27;[32mINFO &amp#27;[m [KubeClusterResource:103] Applying configuration file: ../install/cluster-operator/010-ServiceAccount-strimzi-cluster-operator.yaml
      2020-04-14 22:51:53 &amp#27;[32mINFO &amp#27;[m [KubeClusterResource:103] Applying configuration file: ../install/cluster-operator/020-ClusterRole-strimzi-cluster-operator-role.yaml
      2020-04-14 22:51:54 &amp#27;[32mINFO &amp#27;[m [KubeClusterResource:103] Applying configuration file: ../install/cluster-operator/021-ClusterRole-strimzi-cluster-operator-role.yaml
      2020-04-14 22:51:54 &amp#27;[32mINFO &amp#27;[m [KubeClusterResource:103] Applying configuration file: ../install/cluster-operator/030-ClusterRole-strimzi-kafka-broker.yaml
      2020-04-14 22:51:54 &amp#27;[32mINFO &amp#27;[m [KubeClusterResource:103] Applying configuration file: ../install/cluster-operator/031-ClusterRole-strimzi-entity-operator.yaml
      2020-04-14 22:51:55 &amp#27;[32mINFO &amp#27;[m [KubeClusterResource:103] Applying configuration file: ../install/cluster-operator/032-ClusterRole-strimzi-topic-operator.yaml
      2020-04-14 22:51:55 &amp#27;[32mINFO &amp#27;[m [KubeClusterResource:103] Applying configuration file: ../install/cluster-operator/040-Crd-kafka.yaml
      2020-04-14 22:51:56 &amp#27;[32mINFO &amp#27;[m [KubeClusterResource:103] Applying configuration file: ../install/cluster-operator/041-Crd-kafkaconnect.yaml
      2020-04-14 22:51:56 &amp#27;[32mINFO &amp#27;[m [KubeClusterResource:103] Applying configuration file: ../install/cluster-operator/042-Crd-kafkaconnects2i.yaml
      2020-04-14 22:51:57 &amp#27;[32mINFO &amp#27;[m [KubeClusterResource:103] Applying configuration file: ../install/cluster-operator/043-Crd-kafkatopic.yaml
      2020-04-14 22:51:57 &amp#27;[32mINFO &amp#27;[m [KubeClusterResource:103] Applying configuration file: ../install/cluster-operator/044-Crd-kafkauser.yaml
      2020-04-14 22:51:57 &amp#27;[32mINFO &amp#27;[m [KubeClusterResource:103] Applying configuration file: ../install/cluster-operator/045-Crd-kafkamirrormaker.yaml
      2020-04-14 22:51:58 &amp#27;[32mINFO &amp#27;[m [KubeClusterResource:103] Applying configuration file: ../install/cluster-operator/046-Crd-kafkabridge.yaml
      2020-04-14 22:51:58 &amp#27;[32mINFO &amp#27;[m [KubeClusterResource:103] Applying configuration file: ../install/cluster-operator/047-Crd-kafkaconnector.yaml
      2020-04-14 22:51:59 &amp#27;[32mINFO &amp#27;[m [KubeClusterResource:103] Applying configuration file: ../install/cluster-operator/048-Crd-kafkamirrormaker2.yaml
      2020-04-14 22:51:59 &amp#27;[32mINFO &amp#27;[m [TimeMeasuringSystem:113] End time of operation CO_CREATION is correctly stored
      2020-04-14 22:51:59 &amp#27;[32mINFO &amp#27;[m [ResourceManager:94] Setting pointer to class resources
      2020-04-14 22:51:59 &amp#27;[32mINFO &amp#27;[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 &amp#27;[32mINFO &amp#27;[m [KubernetesResource:151] Apply RoleBinding in namespace kafka-cluster-test
      2020-04-14 22:51:59 &amp#27;[32mINFO &amp#27;[m [ResourceManager:106] Scheduled deletion of RoleBinding strimzi-cluster-operator in namespace (not set)
      2020-04-14 22:51:59 &amp#27;[32mINFO &amp#27;[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 &amp#27;[32mINFO &amp#27;[m [KubernetesResource:167] Apply ClusterRoleBinding in namespace kafka-cluster-test
      2020-04-14 22:51:59 &amp#27;[32mINFO &amp#27;[m [ResourceManager:106] Scheduled deletion of ClusterRoleBinding strimzi-cluster-operator in namespace (not set)
      2020-04-14 22:51:59 &amp#27;[32mINFO &amp#27;[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 &amp#27;[32mINFO &amp#27;[m [KubernetesResource:167] Apply ClusterRoleBinding in namespace kafka-cluster-test
      2020-04-14 22:51:59 &amp#27;[32mINFO &amp#27;[m [ResourceManager:106] Scheduled deletion of ClusterRoleBinding strimzi-cluster-operator-kafka-broker-delegation in namespace (not set)
      2020-04-14 22:51:59 &amp#27;[32mINFO &amp#27;[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 &amp#27;[32mINFO &amp#27;[m [KubernetesResource:151] Apply RoleBinding in namespace kafka-cluster-test
      2020-04-14 22:51:59 &amp#27;[32mINFO &amp#27;[m [ResourceManager:106] Scheduled deletion of RoleBinding strimzi-cluster-operator-entity-operator-delegation in namespace (not set)
      2020-04-14 22:51:59 &amp#27;[32mINFO &amp#27;[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 &amp#27;[32mINFO &amp#27;[m [KubernetesResource:151] Apply RoleBinding in namespace kafka-cluster-test
      2020-04-14 22:51:59 &amp#27;[32mINFO &amp#27;[m [ResourceManager:106] Scheduled deletion of RoleBinding strimzi-cluster-operator-topic-operator-delegation in namespace (not set)
      2020-04-14 22:51:59 &amp#27;[32mINFO &amp#27;[m [ResourceManager:106] Scheduled deletion of Deployment strimzi-cluster-operator in namespace (not set)
      2020-04-14 22:51:59 &amp#27;[32mINFO &amp#27;[m [KubernetesResource:422] Waiting for deployment strimzi-cluster-operator
      2020-04-14 22:52:31 &amp#27;[32mINFO &amp#27;[m [KubernetesResource:424] Deployment strimzi-cluster-operator is ready
      2020-04-14 22:52:31 &amp#27;[32mINFO &amp#27;[m [ResourceManager:106] Scheduled deletion of NetworkPolicy global-network-policy in namespace kafka-cluster-test
      2020-04-14 22:52:31 &amp#27;[32mINFO &amp#27;[m [KubernetesResource:402] Network policy successfully set to: DEFAULT_TO_DENY
      2020-04-14 22:52:31 &amp#27;[32mINFO &amp#27;[m [KubernetesResource:324] NetworkPolicy successfully set to: true for namespace: kafka-cluster-test
      2020-04-14 22:52:31 &amp#27;[32mINFO &amp#27;[m [BaseST:753] Env recreated.
      2020-04-14 22:52:31 &amp#27;[32mINFO &amp#27;[m [ResourceManager:341] Going to clear all method resources
      2020-04-14 22:52:31 &amp#27;[33mWARN &amp#27;[m [TimeMeasuringSystem:115] End time of operation TEST_EXECUTION is not set due to exception: java.lang.NullPointerException
      2020-04-14 22:52:31 &amp#27;[32mINFO &amp#27;[m [TestSeparator:34] io.strimzi.systemtest.KafkaST.testDeployKafkaClusterViaTemplate-FINISHED
      2020-04-14 22:52:31 &amp#27;[32mINFO &amp#27;[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
      

      5e96599bbba24d000142fdd8.txt

       Time: 04/15/2020 00:47:20, Level: INFO, Log: describe-pod-strimzi-cluster-operator-7c9ff85d7f-2pz7r-container-strimzi-cluster-operator.log
      

      5e96599bbba24d000142fdd4.txt

       Time: 04/15/2020 00:47:20, Level: INFO, Log: deployments.log
      

      5e96599bbba24d000142fdd6.txt

       Time: 04/15/2020 00:47:21, Level: INFO, Log: statefulsets.log
      

      5e96599bbba24d000142fdda.txt

       Time: 04/15/2020 00:47:21, Level: INFO, Log: replicasets.log
      

      5e96599cbba24d000142fddd.txt

       Time: 04/15/2020 00:47:22, Level: INFO, Log: strimzi-custom-resources.log
      

      5e96599cbba24d000142fde0.txt

       Time: 04/15/2020 00:47:22, Level: INFO, Log: events-in-namespacekafka-cluster-test.log
      

      5e96599dbba24d000142fde3.txt

        1. 5e96599dbba24d000142fde3.txt
          219 kB
        2. 5e96599cbba24d000142fde0.txt
          0.1 kB
        3. 5e96599cbba24d000142fddd.txt
          0.0 kB
        4. 5e96599bbba24d000142fdda.txt
          0.0 kB
        5. 5e96599bbba24d000142fdd8.txt
          123 kB
        6. 5e96599bbba24d000142fdd6.txt
          0.0 kB
        7. 5e96599bbba24d000142fdd4.txt
          6 kB

              lkral Lukas Kral
              jstejska@redhat.com Jakub Stejskal
              Lukas Kral Lukas Kral
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: