Uploaded image for project: 'FlightPath'
  1. FlightPath
  2. FLPATH-1545

Complex assessment workflow creation fails

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Description of the problem: 
      Creating a workflow using the complex assessment workflow template fails at the "build-and-push-image" stage:

      [ERROR] COMPILATION ERROR :
      [INFO] -------------------------------------------------------------
      [ERROR] /home/kogito/serverless-workflow-project/src/main/java/io.janus.workflow/complex-test/WorkflowOption.java:[1,34] ';' expected
      [ERROR] /home/kogito/serverless-workflow-project/src/main/java/io.janus.workflow/complex-test/SampleAssessment.java:[1,34] ';' expected
      [ERROR] /home/kogito/serverless-workflow-project/src/main/java/io.janus.workflow/complex-test/WorkflowOptions.java:[1,34] ';' expected
      [INFO] 3 errors
      [INFO] -------------------------------------------------------------
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 23.334 s
      [INFO] Finished at: 2024-07-29T12:02:18Z
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project serverless-workflow-project: Compilation failure: Compilation failure:
      [ERROR] /home/kogito/serverless-workflow-project/src/main/java/io.janus.workflow/complex-test/WorkflowOption.java:[1,34] ';' expected
      [ERROR] /home/kogito/serverless-workflow-project/src/main/java/io.janus.workflow/complex-test/SampleAssessment.java:[1,34] ';' expected
      [ERROR] /home/kogito/serverless-workflow-project/src/main/java/io.janus.workflow/complex-test/WorkflowOptions.java:[1,34] ';' expected
      [ERROR] -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
      subprocess exited with status 1
      subprocess exited with status 1
      Error: building at STEP "RUN /home/kogito/launch/build-app.sh ./resources": exit status 1
      Full logs attached.

       

      How reproducible: 100%

      Steps to reproduce:

      1. Deploy orchestrator using operator v1.2.0-rc6 with Gitops enabled.

      2. Create a workflow using the complex assessment template, and apply relevant yamls onto the cluster.

      3. Watch pipeline execution in workflow component's CI tab.

      Actual results:
      Workflow pipeline fails to complete.

      Expected results:
      Workflow should complete normally.

        1. complex-test-3fde7d4.log
          23 kB
          Yona First
        2. image-2024-07-29-15-14-42-102.png
          89 kB
          Yona First
        3. image-2024-08-07-14-35-48-667.png
          80 kB
          Yona First

            rh-ee-gfarache Gabriel Farache
            yfirst Yona First
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: