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

[Assessment workflow template] Workflow creation fails

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Description of the problem:
      Trying to create the workflow from the basic workflow template with default vaules fails with errors in the ArgoCD pipeline:
      In the build-manifests-pod:

      Generating your Kubernetes manifest files...35Error: ❌ ERROR: generating manifests: Failed to parse the workflow either as a JSON or as a YAML file: Key: 'Workflow.States[1].OperationState.Actions[0].FunctionRef' Error:Field validation for 'FunctionRef' failed on the 'required_without' tag34Usage: 

      In the build-and-push-image-pod:

       Failed to execute goal com.redhat.quarkus.platform:quarkus-maven-plugin:3.2.9.Final-redhat-00004:build (default) on project serverless-workflow-project: Failed to build quarkus application: io.quarkus.builder.BuildException: Build failure: Build failed due to errors39[ERROR] 	[error]: Build step org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor#generateSources threw an exception: org.kie.kogito.codegen.process.ProcessCodegenException: Processes with errors are Invalid process: '/home/kogito/serverless-workflow-project/src/main/resources/assessment1.sw.yaml'. Found error: java.lang.IllegalArgumentException: Action node getDefaultWorkflowOptions of state GetDefaultWorkflowOptions does not have function or event defined38[ERROR]37[ERROR] 	at org.kie.kogito.codegen.process.ProcessCodegen.handleValidation(ProcessCodegen.java:168)36[ERROR] 	at org.kie.kogito.codegen.process.ProcessCodegen.ofCollectedResources(ProcessCodegen.java:147)35[ERROR] 	at org.kie.kogito.codegen.process.ProcessCodegenFactory.create(ProcessCodegenFactory.java:32)34[ERROR] 	at org.kie.kogito.codegen.core.utils.ApplicationGeneratorDiscovery.lambda$loadGenerators$0(ApplicationGeneratorDiscovery.java:63)33[ERROR] 	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)32[ERROR] 	at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133)31[ERROR] 	at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1845)30[ERROR] 	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)29[ERROR] 	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)28[ERROR] 	at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)27[ERROR] 	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)26[ERROR] 	at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)25[ERROR] 	at org.kie.kogito.codegen.core.utils.ApplicationGeneratorDiscovery.loadGenerators(ApplicationGeneratorDiscovery.java:65)24[ERROR] 	at org.kie.kogito.codegen.core.utils.ApplicationGeneratorDiscovery.discover(ApplicationGeneratorDiscovery.java:51)23[ERROR] 	at org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor.generateFiles(KogitoAssetsProcessor.java:262)22[ERROR] 	at org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor.generateSources(KogitoAssetsProcessor.java:140)21[ERROR] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)20[ERROR] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)19[ERROR] 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)18[ERROR] 	at java.base/java.lang.reflect.Method.invoke(Method.java:568)17[ERROR] 	at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:864)16[ERROR] 	at io.quarkus.builder.BuildContext.run(BuildContext.java:282)15[ERROR] 	at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)14[ERROR] 	at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)13[ERROR] 	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)12[ERROR] 	at java.base/java.lang.Thread.run(Thread.java:840)11[ERROR] 	at org.jboss.threads.JBossThread.run(JBossThread.java:501) 

      How reproducible: 100%

      Steps to reproduce:

      1. Deploy Orchestrator using Helm chart 0.2.22 with Tekton & ArgoCD

      2. Click on Create->Basic workflow bootstrap project, fill out the values, choose "Assessment" as the workflow type.

      3. Create the Gitops resources on the cluster, and monitor the ArgoCD pipeline

      Actual results: Pipeline fails to run

      Expected results: Workflow should be created normally with default values

            aketcha Annel Ketcha (Inactive)
            yfirst Yona First
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: