-
Bug
-
Resolution: Done
-
Major
-
rc5
-
False
-
-
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.
- links to