Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-17626

Unrecognized field "firstTruthyTime" in Event Streaming Example

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • camel-k-1.6-GA
    • None
    • Camel-K, YAKS
    • None
    • False
    • False
    • % %
    • Todo

    Description

      On OCP 4.8, with Camel K 8.5 CK2 Build and YAKS Operator Version: 0.6.0-202110040020, in test CrimeBridge.feature line "Then load Camel-K integration CrimeBridge.java" causes following exception:

      [test-crime-bridge-c5lga8dn7vvnj6chhlq0-zhkzr test-1] Caused by: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "firstTruthyTime" (class org.citrusframework.yaks.camelk.model.IntegrationStatus$Condition), not marked as ignorable (6 known properties: "status", "reason", "message", "lastTransitionTime", "type", "lastUpdateTime"])                                                                                                           
      [test-crime-bridge-c5lga8dn7vvnj6chhlq0-zhkzr test-1]  at [Source: (BufferedInputStream); line: 1, column: 4407] (through reference chain: org.citrusframework.yaks.camelk.model.Integration["status"]->org.citrusframework.yaks.camelk.model.IntegrationStatus["conditions"]->java.util.ArrayList[0]->org.citrusframework.yaks.camelk.model.IntegrationStatus$Condition["firstTruthyTime"])                                                                                              
      [test-crime-bridge-c5lga8dn7vvnj6chhlq0-zhkzr test-1]   at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:61)   
      

      Class IntegrationStatus$Condition doesn't contain or ignore field "firstTruthyTime", which is in Camel K integration crime-bridge:

      status:
        conditions:
        - firstTruthyTime: "2021-10-16T16:38:17Z"
          lastTransitionTime: "2021-10-16T16:38:17Z"
          lastUpdateTime: "2021-10-16T16:38:17Z"
          message: lfabriko2/camel-k
          reason: IntegrationPlatformAvailable
          status: "True"
          type: IntegrationPlatformAvailable
      

      Whole logs: http://pastebin.test.redhat.com/1001898

      The integration is started correctly, but the testcase fails.

      Attachments

        Activity

          People

            christoph.deppisch Christoph Deppisch
            lfabriko@redhat.com Lucie Krejcirova
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: