Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-3576

Kogito Examples: Fix Native compilation in some tests

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 0.17.0
    • None
    • None
    • None
    • 2020 Week 40-42 (from Sep 28)

      This ticket was raised because the native build was failing with this output:

      [INFO] Reactor Summary for Kogito Example 1.0.0-SNAPSHOT:
      [INFO] 
      [INFO] Kogito Example ..................................... SUCCESS [  4.145 s]
      [INFO] Kogito Example :: Decision Table - Quarkus ......... SUCCESS [05:14 min]
      [INFO] Kogito Example :: DMN with listeners - Quarkus ..... SUCCESS [04:46 min]
      [INFO] Kogito Example :: DMN :: PMML ...................... SUCCESS [05:02 min]
      [INFO] Kogito Example :: DMN .............................. SUCCESS [04:45 min]
      [INFO] Kogito Example :: DMN Metrics ...................... SUCCESS [05:06 min]
      [INFO] Kogito Example :: Tracing DMN ...................... SUCCESS [05:52 min]
      [INFO] Kogito Example :: Flexible Process - Quarkus ....... SUCCESS [05:01 min]
      [INFO] Kogito Example :: Travel Agency .................... SUCCESS [  0.053 s]
      [INFO] Kogito Example :: Travel Agency :: Basic ........... SUCCESS [05:11 min]
      [INFO] Kogito Example :: Travel Agency :: Extended ........ SUCCESS [  0.026 s]
      [INFO] Kogito Example :: Travel Agency :: Travels ......... SUCCESS [14:58 min]
      [INFO] Kogito Example :: Travel Agency :: Visas ........... SUCCESS [10:09 min]
      [INFO] Kogito Example :: Onboarding Example ............... SUCCESS [  0.075 s]
      [INFO] Kogito Example :: Onboarding Example :: HR with Drools SUCCESS [04:21 min]
      [INFO] Kogito Example :: Onboarding Example :: Payroll with DMN SUCCESS [04:33 min]
      [INFO] Kogito Example :: Onboarding Example :: Onboarding with Business Process Quarkus SUCCESS [09:07 min]
      [INFO] Kogito Example :: Onboarding Example :: Onboarding with Business Process Spring Boot FAILURE [01:15 min]
      [INFO] Kogito Example :: PMML ............................. SUCCESS [04:38 min]
      [INFO] Kogito Example :: Process Business Rules Quarkus ... SUCCESS [05:06 min]
      [INFO] Kogito Example :: Process Infinispan Persistence Quarkus SUCCESS [05:19 min]
      [INFO] Kogito Example :: Process with Kafka and Quarkus ... SUCCESS [05:56 min]
      [INFO] Kogito Example :: Process with Knative Eventing and Quarkus FAILURE [01:50 min]
      [INFO] Kogito Example :: Process MongoDB Persistence Quarkus SUCCESS [06:53 min]
      [INFO] Kogito Example :: Process, OptaPlanner and Quarkus . FAILURE [ 51.760 s]
      [INFO] Kogito Example :: Process and Quarkus .............. SUCCESS [05:07 min]
      [INFO] Kogito Example :: Process Scripts With Quarkus ..... SUCCESS [04:52 min]
      [INFO] Kogito Example :: Process Service Calls with Quarkus SUCCESS [04:53 min]
      [INFO] Kogito Example :: Process Service Rest Cal with Quarkus SUCCESS [04:58 min]
      [INFO] Kogito Example :: Process Timer with Quarkus ....... SUCCESS [04:47 min]
      [INFO] Kogito Example :: Process Usertasks With Custom Lifecycle SUCCESS [04:48 min]
      [INFO] Kogito Example :: Process with Usertasks Quarkus ... SUCCESS [04:48 min]
      [INFO] Kogito Example :: Process Usertasks With Security OIDC Keycloak Quarkus SUCCESS [05:30 min]
      [INFO] Kogito Example :: Process Usertasks With Security Quarkus SUCCESS [04:53 min]
      [INFO] Kogito Example :: Rules HelloWorld ................. SUCCESS [04:19 min]
      [INFO] Kogito Example :: RuleUnit - Quarkus ............... SUCCESS [04:25 min]
      [INFO] Kogito Example :: Serverless Workflow Greeting :: Quarkus SUCCESS [04:44 min]
      [INFO] Kogito Example :: Serverless Workflow Service Calls :: Quarkus SUCCESS [05:07 min]
      [INFO] Kogito Example :: Serverless Workflow Events :: Quarkus SUCCESS [06:21 min]
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      

      Therefore, it requires the following actions:

      • Disable Onboarding Spring Boot build (as spring boot does not have native support)
      • Fix Process, OptaPlanner and Quarkus
      • Fix Process with Knative Eventing and Quarkus

              jcarvaja@redhat.com Jose Carvajal Hilario
              jcarvaja@redhat.com Jose Carvajal Hilario
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: