Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[KOGITO-9555] Adding generic endpoint #3116

Merged
merged 5 commits into from
Jul 17, 2023
Merged

Conversation

fjtirado
Copy link
Contributor

@fjtirado fjtirado commented Jul 7, 2023

This defines a new addon that allows dynamic uploading of workflow files and its execution.
Process definitions are currently stored in memory. process persistence will be provided by a a different JIRA.

@fjtirado fjtirado marked this pull request as draft July 7, 2023 17:06
@kie-ci3
Copy link
Contributor

kie-ci3 commented Jul 7, 2023

(tests) - kogito-apps job #2849 was: UNSTABLE
Possible explanation: This should be test failures

Reproducer

export BUILD_MVN_OPTS_CURRENT=
build-chain build cross_pr -f 'https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml' -o 'bc' -p kiegroup/kogito-apps -u https://github.com/kiegroup/kogito-runtimes/pull/3116 --skipParallelCheckout

NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution

Please look here: https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-runtimes.tests.downstream.kogito-apps/2849/display/redirect

Test results:

  • PASSED: 2764
  • FAILED: 1

Those are the test failures:

Build projects / org.kie.kogito.it.jobs.MultipleTimerInstancesIT.boundaryTimerEvent java.lang.IllegalStateException: Unable to determine the status of the running process. See the above logs for details

@fjtirado
Copy link
Contributor Author

jenkins run kogito-apps tests

@kie-ci3
Copy link
Contributor

kie-ci3 commented Jul 12, 2023

(tests) - kogito-runtimes job #2860 was: FAILURE
Possible explanation: Pipeline failure or project build failure

Reproducer

export BUILD_MVN_OPTS_CURRENT=-T 1C -Dvalidate-formatting -Prun-code-coverage
build-chain build cross_pr -f 'https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml' -o 'bc' -p kiegroup/kogito-runtimes -u https://github.com/kiegroup/kogito-runtimes/pull/3116 --skipParallelCheckout

NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution

Please look here: https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-runtimes.tests.kogito-runtimes/2860/display/redirect

Test results:

  • PASSED: 3309
  • FAILED: 0

Those are the test failures: none

See console log:

Console Logs [2023-07-12T07:58:03.402Z] [INFO] Kogito :: Add-Ons :: Persistence MongoDB :: Springboot SUCCESS [ 2.696 s]
[2023-07-12T07:58:03.402Z] [INFO] Kogito :: Add-Ons :: Persistence PostgreSQL :: Springboot SUCCESS [ 5.480 s]
[2023-07-12T07:58:03.402Z] [INFO] Kogito :: Spring Boot :: Maven Archetype ........... SUCCESS [02:40 min]
[2023-07-12T07:58:03.402Z] [INFO] Kogito :: Test Utilities :: Spring Boot ............ SUCCESS [ 34.897 s]
[2023-07-12T07:58:03.402Z] [INFO] Kogito :: Integration Tests :: Spring Boot ......... SUCCESS [04:18 min]
[2023-07-12T07:58:03.402Z] [INFO] ------------------------------------------------------------------------
[2023-07-12T07:58:03.402Z] [INFO] BUILD FAILURE
[2023-07-12T07:58:03.402Z] [INFO] ------------------------------------------------------------------------
[2023-07-12T07:58:03.402Z] [INFO] Total time: 17:00 min (Wall Clock)
[2023-07-12T07:58:03.402Z] [INFO] Finished at: 2023-07-12T03:58:01-04:00
[2023-07-12T07:58:03.402Z] [INFO] ------------------------------------------------------------------------
[2023-07-12T07:58:03.402Z] [ERROR] Failed to execute goal io.quarkus:quarkus-maven-plugin:2.16.7.Final:build (default) on project integration-tests-quarkus-processes: Failed to build quarkus application: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
[2023-07-12T07:58:03.402Z] [ERROR] [error]: Build step org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor#generateSources threw an exception: java.util.NoSuchElementException: No value present
[2023-07-12T07:58:03.402Z] [ERROR] at java.base/java.util.Optional.get(Optional.java:148)
[2023-07-12T07:58:03.402Z] [ERROR] at org.kie.kogito.codegen.api.context.KogitoBuildContext.lambda$getPropertiesMap$2(KogitoBuildContext.java:173)
[2023-07-12T07:58:03.402Z] [ERROR] at java.base/java.util.stream.Collectors.lambda$uniqKeysMapAccumulator$1(Collectors.java:178)
[2023-07-12T07:58:03.402Z] [ERROR] at java.base/java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169)
[2023-07-12T07:58:03.402Z] [ERROR] at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
[2023-07-12T07:58:03.402Z] [ERROR] at java.base/java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1621)
[2023-07-12T07:58:03.402Z] [ERROR] at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
[2023-07-12T07:58:03.402Z] [ERROR] at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
[2023-07-12T07:58:03.402Z] [ERROR] at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
[2023-07-12T07:58:03.402Z] [ERROR] at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
[2023-07-12T07:58:03.402Z] [ERROR] at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
[2023-07-12T07:58:03.402Z] [ERROR] at org.kie.kogito.codegen.api.context.KogitoBuildContext.getPropertiesMap(KogitoBuildContext.java:172)
[2023-07-12T07:58:03.402Z] [ERROR] at org.kie.kogito.codegen.process.ProcessCodegen.internalGenerate(ProcessCodegen.java:494)
[2023-07-12T07:58:03.402Z] [ERROR] at org.kie.kogito.codegen.core.AbstractGenerator.generate(AbstractGenerator.java:69)
[2023-07-12T07:58:03.402Z] [ERROR] at org.kie.kogito.codegen.core.ApplicationGenerator.lambda$generateComponents$0(ApplicationGenerator.java:95)
[2023-07-12T07:58:03.402Z] [ERROR] at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:271)
[2023-07-12T07:58:03.402Z] [ERROR] at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
[2023-07-12T07:58:03.402Z] [ERROR] at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
[2023-07-12T07:58:03.402Z] [ERROR] at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
[2023-07-12T07:58:03.402Z] [ERROR] at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
[2023-07-12T07:58:03.402Z] [ERROR] at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
[2023-07-12T07:58:03.402Z] [ERROR] at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
[2023-07-12T07:58:03.402Z] [ERROR] at org.kie.kogito.codegen.core.ApplicationGenerator.generateComponents(ApplicationGenerator.java:97)
[2023-07-12T07:58:03.402Z] [ERROR] at org.kie.kogito.codegen.core.ApplicationGenerator.generate(ApplicationGenerator.java:74)
[2023-07-12T07:58:03.402Z] [ERROR] at org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor.generateFiles(KogitoAssetsProcessor.java:260)
[2023-07-12T07:58:03.402Z] [ERROR] at org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor.generateSources(KogitoAssetsProcessor.java:137)
[2023-07-12T07:58:03.402Z] [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2023-07-12T07:58:03.402Z] [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[2023-07-12T07:58:03.402Z] [ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2023-07-12T07:58:03.402Z] [ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:566)
[2023-07-12T07:58:03.402Z] [ERROR] at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:909)
[2023-07-12T07:58:03.402Z] [ERROR] at io.quarkus.builder.BuildContext.run(BuildContext.java:281)
[2023-07-12T07:58:03.402Z] [ERROR] at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
[2023-07-12T07:58:03.402Z] [ERROR] at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449)
[2023-07-12T07:58:03.402Z] [ERROR] at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478)
[2023-07-12T07:58:03.402Z] [ERROR] at java.base/java.lang.Thread.run(Thread.java:829)
[2023-07-12T07:58:03.402Z] [ERROR] at org.jboss.threads.JBossThread.run(JBossThread.java:501)
[2023-07-12T07:58:03.402Z] [ERROR] -> [Help 1]
[2023-07-12T07:58:03.402Z] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal io.quarkus:quarkus-maven-plugin:2.16.7.Final:build (default) on project integration-tests-quarkus-processes: Failed to build quarkus application
[2023-07-12T07:58:03.402Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:375)
[2023-07-12T07:58:03.402Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
[2023-07-12T07:58:03.402Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
[2023-07-12T07:58:03.402Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
[2023-07-12T07:58:03.402Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
[2023-07-12T07:58:03.402Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[2023-07-12T07:58:03.402Z] at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call (MultiThreadedBuilder.java:210)
[2023-07-12T07:58:03.402Z] at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call (MultiThreadedBuilder.java:195)
[2023-07-12T07:58:03.402Z] at java.util.concurrent.FutureTask.run (FutureTask.java:264)
[2023-07-12T07:58:03.402Z] at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:515)
[2023-07-12T07:58:03.402Z] at java.util.concurrent.FutureTask.run (FutureTask.java:264)
[2023-07-12T07:58:03.402Z] at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1128)
[2023-07-12T07:58:03.402Z] at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:628)
[2023-07-12T07:58:03.402Z] at java.lang.Thread.run (Thread.java:829)
[2023-07-12T07:58:03.402Z] Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to build quarkus application
[2023-07-12T07:58:03.402Z] at io.quarkus.maven.BuildMojo.doExecute (BuildMojo.java:170)
[2023-07-12T07:58:03.402Z] at io.quarkus.maven.QuarkusBootstrapMojo.execute (QuarkusBootstrapMojo.java:154)
[2023-07-12T07:58:03.402Z] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
[2023-07-12T07:58:03.402Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
[2023-07-12T07:58:03.402Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
[2023-07-12T07:58:03.402Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
[2023-07-12T07:58:03.403Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
[2023-07-12T07:58:03.403Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
[2023-07-12T07:58:03.403Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[2023-07-12T07:58:03.403Z] at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call (MultiThreadedBuilder.java:210)
[2023-07-12T07:58:03.403Z] at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call (MultiThreadedBuilder.java:195)
[2023-07-12T07:58:03.403Z] at java.util.concurrent.FutureTask.run (FutureTask.java:264)
[2023-07-12T07:58:03.403Z] at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:515)
[2023-07-12T07:58:03.403Z] at java.util.concurrent.FutureTask.run (FutureTask.java:264)
[2023-07-12T07:58:03.403Z] at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1128)
[2023-07-12T07:58:03.403Z] at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:628)
[2023-07-12T07:58:03.403Z] at java.lang.Thread.run (Thread.java:829)
[2023-07-12T07:58:03.403Z] Caused by: java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
[2023-07-12T07:58:03.403Z] [error]: Build step org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor#generateSources threw an exception: java.util.NoSuchElementException: No value present
[2023-07-12T07:58:03.403Z] at java.base/java.util.Optional.get(Optional.java:148)
[2023-07-12T07:58:03.403Z] at org.kie.kogito.codegen.api.context.KogitoBuildContext.lambda$getPropertiesMap$2(KogitoBuildContext.java:173)
[2023-07-12T07:58:03.403Z] at java.base/java.util.stream.Collectors.lambda$uniqKeysMapAccumulator$1(Collectors.java:178)
[2023-07-12T07:58:03.403Z] at java.base/java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169)
[2023-07-12T07:58:03.403Z] at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
[2023-07-12T07:58:03.403Z] at java.base/java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1621)
[2023-07-12T07:58:03.403Z] at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
[2023-07-12T07:58:03.403Z] at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
[2023-07-12T07:58:03.403Z] at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
[2023-07-12T07:58:03.403Z] at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
[2023-07-12T07:58:03.403Z] at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
[2023-07-12T07:58:03.403Z] at org.kie.kogito.codegen.api.context.KogitoBuildContext.getPropertiesMap(KogitoBuildContext.java:172)
[2023-07-12T07:58:03.403Z] at org.kie.kogito.codegen.process.ProcessCodegen.internalGenerate(ProcessCodegen.java:494)
[2023-07-12T07:58:03.403Z] at org.kie.kogito.codegen.core.AbstractGenerator.generate(AbstractGenerator.java:69)
[2023-07-12T07:58:03.403Z] at org.kie.kogito.codegen.core.ApplicationGenerator.lambda$generateComponents$0(ApplicationGenerator.java:95)
[2023-07-12T07:58:03.403Z] at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:271)
[2023-07-12T07:58:03.403Z] at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
[2023-07-12T07:58:03.403Z] at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
[2023-07-12T07:58:03.403Z] at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
[2023-07-12T07:58:03.403Z] at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
[2023-07-12T07:58:03.403Z] at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
[2023-07-12T07:58:03.403Z] at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
[2023-07-12T07:58:03.403Z] at org.kie.kogito.codegen.core.ApplicationGenerator.generateComponents(ApplicationGenerator.java:97)
[2023-07-12T07:58:03.403Z] at org.kie.kogito.codegen.core.ApplicationGenerator.generate(ApplicationGenerator.java:74)
[2023-07-12T07:58:03.403Z] at org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor.generateFiles(KogitoAssetsProcessor.java:260)
[2023-07-12T07:58:03.403Z] at org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor.generateSources(KogitoAssetsProcessor.java:137)
[2023-07-12T07:58:03.403Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2023-07-12T07:58:03.403Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[2023-07-12T07:58:03.403Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2023-07-12T07:58:03.403Z] at java.base/java.lang.reflect.Method.invoke(Method.java:566)
[2023-07-12T07:58:03.403Z] at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:909)
[2023-07-12T07:58:03.403Z] at io.quarkus.builder.BuildContext.run(BuildContext.java:281)
[2023-07-12T07:58:03.403Z] at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
[2023-07-12T07:58:03.403Z] at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449)
[2023-07-12T07:58:03.403Z] at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478)
[2023-07-12T07:58:03.403Z] at java.base/java.lang.Thread.run(Thread.java:829)
[2023-07-12T07:58:03.403Z] at org.jboss.threads.JBossThread.run(JBossThread.java:501)
[2023-07-12T07:58:03.403Z]
[2023-07-12T07:58:03.403Z] at io.quarkus.runner.bootstrap.AugmentActionImpl.runAugment (AugmentActionImpl.java:335)
[2023-07-12T07:58:03.403Z] at io.quarkus.runner.bootstrap.AugmentActionImpl.createProductionApplication (AugmentActionImpl.java:175)
[2023-07-12T07:58:03.403Z] at io.quarkus.maven.BuildMojo.doExecute (BuildMojo.java:133)
[2023-07-12T07:58:03.403Z] at io.quarkus.maven.QuarkusBootstrapMojo.execute (QuarkusBootstrapMojo.java:154)
[2023-07-12T07:58:03.403Z] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
[2023-07-12T07:58:03.403Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
[2023-07-12T07:58:03.403Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
[2023-07-12T07:58:03.403Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
[2023-07-12T07:58:03.403Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
[2023-07-12T07:58:03.403Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
[2023-07-12T07:58:03.403Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[2023-07-12T07:58:03.403Z] at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call (MultiThreadedBuilder.java:210)
[2023-07-12T07:58:03.403Z] at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call (MultiThreadedBuilder.java:195)
[2023-07-12T07:58:03.403Z] at java.util.concurrent.FutureTask.run (FutureTask.java:264)
[2023-07-12T07:58:03.403Z] at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:515)
[2023-07-12T07:58:03.403Z] at java.util.concurrent.FutureTask.run (FutureTask.java:264)
[2023-07-12T07:58:03.403Z] at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1128)
[2023-07-12T07:58:03.403Z] at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:628)
[2023-07-12T07:58:03.403Z] at java.lang.Thread.run (Thread.java:829)
[2023-07-12T07:58:03.403Z] Caused by: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
[2023-07-12T07:58:03.403Z] [error]: Build step org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor#generateSources threw an exception: java.util.NoSuchElementException: No value present
[2023-07-12T07:58:03.403Z] at java.base/java.util.Optional.get(Optional.java:148)
[2023-07-12T07:58:03.403Z] at org.kie.kogito.codegen.api.context.KogitoBuildContext.lambda$getPropertiesMap$2(KogitoBuildContext.java:173)
[2023-07-12T07:58:03.403Z] at java.base/java.util.stream.Collectors.lambda$uniqKeysMapAccumulator$1(Collectors.java:178)
[2023-07-12T07:58:03.403Z] at java.base/java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169)
[2023-07-12T07:58:03.403Z] at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
[2023-07-12T07:58:03.403Z] at java.base/java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1621)
[2023-07-12T07:58:03.403Z] at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
[2023-07-12T07:58:03.403Z] at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
[2023-07-12T07:58:03.403Z] at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
[2023-07-12T07:58:03.403Z] at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
[2023-07-12T07:58:03.403Z] at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
[2023-07-12T07:58:03.403Z] at org.kie.kogito.codegen.api.context.KogitoBuildContext.getPropertiesMap(KogitoBuildContext.java:172)
[2023-07-12T07:58:03.403Z] at org.kie.kogito.codegen.process.ProcessCodegen.internalGenerate(ProcessCodegen.java:494)
[2023-07-12T07:58:03.403Z] at org.kie.kogito.codegen.core.AbstractGenerator.generate(AbstractGenerator.java:69)
[2023-07-12T07:58:03.403Z] at org.kie.kogito.codegen.core.ApplicationGenerator.lambda$generateComponents$0(ApplicationGenerator.java:95)
[2023-07-12T07:58:03.403Z] at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:271)
[2023-07-12T07:58:03.403Z] at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
[2023-07-12T07:58:03.403Z] at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
[2023-07-12T07:58:03.403Z] at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
[2023-07-12T07:58:03.403Z] at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
[2023-07-12T07:58:03.403Z] at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
[2023-07-12T07:58:03.403Z] at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
[2023-07-12T07:58:03.403Z] at org.kie.kogito.codegen.core.ApplicationGenerator.generateComponents(ApplicationGenerator.java:97)
[2023-07-12T07:58:03.403Z] at org.kie.kogito.codegen.core.ApplicationGenerator.generate(ApplicationGenerator.java:74)
[2023-07-12T07:58:03.403Z] at org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor.generateFiles(KogitoAssetsProcessor.java:260)
[2023-07-12T07:58:03.403Z] at org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor.generateSources(KogitoAssetsProcessor.java:137)
[2023-07-12T07:58:03.403Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2023-07-12T07:58:03.403Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[2023-07-12T07:58:03.403Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2023-07-12T07:58:03.403Z] at java.base/java.lang.reflect.Method.invoke(Method.java:566)
[2023-07-12T07:58:03.403Z] at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:909)
[2023-07-12T07:58:03.403Z] at io.quarkus.builder.BuildContext.run(BuildContext.java:281)
[2023-07-12T07:58:03.403Z] at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
[2023-07-12T07:58:03.403Z] at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449)
[2023-07-12T07:58:03.403Z] at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478)
[2023-07-12T07:58:03.403Z] at java.base/java.lang.Thread.run(Thread.java:829)
[2023-07-12T07:58:03.403Z] at org.jboss.threads.JBossThread.run(JBossThread.java:501)
[2023-07-12T07:58:03.403Z]
[2023-07-12T07:58:03.403Z] at io.quarkus.builder.Execution.run (Execution.java:123)
[2023-07-12T07:58:03.403Z] at io.quarkus.builder.BuildExecutionBuilder.execute (BuildExecutionBuilder.java:79)
[2023-07-12T07:58:03.403Z] at io.quarkus.deployment.QuarkusAugmentor.run (QuarkusAugmentor.java:160)
[2023-07-12T07:58:03.403Z] at io.quarkus.runner.bootstrap.AugmentActionImpl.runAugment (AugmentActionImpl.java:331)
[2023-07-12T07:58:03.403Z] at io.quarkus.runner.bootstrap.AugmentActionImpl.createProductionApplication (AugmentActionImpl.java:175)
[2023-07-12T07:58:03.403Z] at io.quarkus.maven.BuildMojo.doExecute (BuildMojo.java:133)
[2023-07-12T07:58:03.403Z] at io.quarkus.maven.QuarkusBootstrapMojo.execute (QuarkusBootstrapMojo.java:154)
[2023-07-12T07:58:03.403Z] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
[2023-07-12T07:58:03.404Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
[2023-07-12T07:58:03.404Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
[2023-07-12T07:58:03.404Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
[2023-07-12T07:58:03.404Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
[2023-07-12T07:58:03.404Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
[2023-07-12T07:58:03.404Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[2023-07-12T07:58:03.404Z] at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call (MultiThreadedBuilder.java:210)
[2023-07-12T07:58:03.404Z] at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call (MultiThreadedBuilder.java:195)
[2023-07-12T07:58:03.404Z] at java.util.concurrent.FutureTask.run (FutureTask.java:264)
[2023-07-12T07:58:03.404Z] at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:515)
[2023-07-12T07:58:03.404Z] at java.util.concurrent.FutureTask.run (FutureTask.java:264)
[2023-07-12T07:58:03.404Z] at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1128)
[2023-07-12T07:58:03.404Z] at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:628)
[2023-07-12T07:58:03.404Z] at java.lang.Thread.run (Thread.java:829)
[2023-07-12T07:58:03.404Z] Caused by: java.util.NoSuchElementException: No value present
[2023-07-12T07:58:03.404Z] at java.util.Optional.get (Optional.java:148)
[2023-07-12T07:58:03.404Z] at org.kie.kogito.codegen.api.context.KogitoBuildContext.lambda$getPropertiesMap$2 (KogitoBuildContext.java:173)
[2023-07-12T07:58:03.404Z] at java.util.stream.Collectors.lambda$uniqKeysMapAccumulator$1 (Collectors.java:178)
[2023-07-12T07:58:03.404Z] at java.util.stream.ReduceOps$3ReducingSink.accept (ReduceOps.java:169)
[2023-07-12T07:58:03.404Z] at java.util.stream.ReferencePipeline$2$1.accept (ReferencePipeline.java:177)
[2023-07-12T07:58:03.404Z] at java.util.HashMap$KeySpliterator.forEachRemaining (HashMap.java:1621)
[2023-07-12T07:58:03.404Z] at java.util.stream.AbstractPipeline.copyInto (AbstractPipeline.java:484)
[2023-07-12T07:58:03.404Z] at java.util.stream.AbstractPipeline.wrapAndCopyInto (AbstractPipeline.java:474)
[2023-07-12T07:58:03.404Z] at java.util.stream.ReduceOps$ReduceOp.evaluateSequential (ReduceOps.java:913)
[2023-07-12T07:58:03.404Z] at java.util.stream.AbstractPipeline.evaluate (AbstractPipeline.java:234)
[2023-07-12T07:58:03.404Z] at java.util.stream.ReferencePipeline.collect (ReferencePipeline.java:578)
[2023-07-12T07:58:03.404Z] at org.kie.kogito.codegen.api.context.KogitoBuildContext.getPropertiesMap (KogitoBuildContext.java:172)
[2023-07-12T07:58:03.404Z] at org.kie.kogito.codegen.process.ProcessCodegen.internalGenerate (ProcessCodegen.java:494)
[2023-07-12T07:58:03.404Z] at org.kie.kogito.codegen.core.AbstractGenerator.generate (AbstractGenerator.java:69)
[2023-07-12T07:58:03.404Z] at org.kie.kogito.codegen.core.ApplicationGenerator.lambda$generateComponents$0 (ApplicationGenerator.java:95)
[2023-07-12T07:58:03.404Z] at java.util.stream.ReferencePipeline$7$1.accept (ReferencePipeline.java:271)
[2023-07-12T07:58:03.404Z] at java.util.ArrayList$ArrayListSpliterator.forEachRemaining (ArrayList.java:1655)
[2023-07-12T07:58:03.404Z] at java.util.stream.AbstractPipeline.copyInto (AbstractPipeline.java:484)
[2023-07-12T07:58:03.404Z] at java.util.stream.AbstractPipeline.wrapAndCopyInto (AbstractPipeline.java:474)
[2023-07-12T07:58:03.404Z] at java.util.stream.ReduceOps$ReduceOp.evaluateSequential (ReduceOps.java:913)
[2023-07-12T07:58:03.404Z] at java.util.stream.AbstractPipeline.evaluate (AbstractPipeline.java:234)
[2023-07-12T07:58:03.404Z] at java.util.stream.ReferencePipeline.collect (ReferencePipeline.java:578)
[2023-07-12T07:58:03.404Z] at org.kie.kogito.codegen.core.ApplicationGenerator.generateComponents (ApplicationGenerator.java:97)
[2023-07-12T07:58:03.404Z] at org.kie.kogito.codegen.core.ApplicationGenerator.generate (ApplicationGenerator.java:74)
[2023-07-12T07:58:03.404Z] at org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor.generateFiles (KogitoAssetsProcessor.java:260)
[2023-07-12T07:58:03.404Z] at org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor.generateSources (KogitoAssetsProcessor.java:137)
[2023-07-12T07:58:03.404Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2023-07-12T07:58:03.404Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2023-07-12T07:58:03.404Z] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2023-07-12T07:58:03.404Z] at java.lang.reflect.Method.invoke (Method.java:566)
[2023-07-12T07:58:03.404Z] at io.quarkus.deployment.ExtensionLoader$3.execute (ExtensionLoader.java:909)
[2023-07-12T07:58:03.404Z] at io.quarkus.builder.BuildContext.run (BuildContext.java:281)
[2023-07-12T07:58:03.404Z] at org.jboss.threads.ContextHandler$1.runWith (ContextHandler.java:18)
[2023-07-12T07:58:03.404Z] at org.jboss.threads.EnhancedQueueExecutor$Task.run (EnhancedQueueExecutor.java:2449)
[2023-07-12T07:58:03.404Z] at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run (EnhancedQueueExecutor.java:1478)
[2023-07-12T07:58:03.404Z] at java.lang.Thread.run (Thread.java:829)
[2023-07-12T07:58:03.404Z] at org.jboss.threads.JBossThread.run (JBossThread.java:501)
[2023-07-12T07:58:03.404Z] [ERROR]
[2023-07-12T07:58:03.404Z] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[2023-07-12T07:58:03.404Z] [ERROR]
[2023-07-12T07:58:03.404Z] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[2023-07-12T07:58:03.404Z] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[2023-07-12T07:58:03.404Z] [ERROR]
[2023-07-12T07:58:03.404Z] [ERROR] After correcting the problems, you can resume the build with the command
[2023-07-12T07:58:03.404Z] [ERROR] mvn -rf :integration-tests-quarkus-processes
[2023-07-12T07:58:05.284Z] [INFO] kiegroup/kogito-runtimes failed. Won't execute remaining commands and projects
[2023-07-12T07:58:05.284Z] [INFO] Execution summary for kiegroup/kogito-runtimes
[2023-07-12T07:58:05.284Z] # [BEFORE] [kiegroup/kogito-runtimes] export INTEGRATION_BRANCH=
[2023-07-12T07:58:05.284Z] [INFO] OK [Executed in 0.152236 ms]
[2023-07-12T07:58:05.284Z]
[2023-07-12T07:58:05.284Z] # [BEFORE] [kiegroup/kogito-runtimes] bash -c "if [ ! -z '' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ; fi"
[2023-07-12T07:58:05.284Z] [INFO] OK [Executed in 5.442108 ms]
[2023-07-12T07:58:05.284Z]
[2023-07-12T07:58:05.284Z] # [COMMANDS] [kiegroup/kogito-runtimes] export MVN_CMD=`bash -c "if [ '' = 'true' ]; then printf 'deploy '; else printf 'install'; fi"`
[2023-07-12T07:58:05.284Z] [INFO] OK [Executed in 4.234483 ms]
[2023-07-12T07:58:05.284Z]
[2023-07-12T07:58:05.285Z] # [COMMANDS] [kiegroup/kogito-runtimes] mvn dependency:tree clean -Dfull install -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.kogito-runtimes@tmp/config13715302710072278111tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3 -T 1C -Dvalidate-formatting -Prun-code-coverage -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B
[2023-07-12T07:58:05.285Z] [INFO] NOT OK [Executed in 1024206.019887 ms]
[2023-07-12T07:58:05.285Z] [ERROR] The process '/opt/tools/apache-maven-3.8.7/bin/mvn' failed with exit code 1
[2023-07-12T07:58:05.285Z]
[2023-07-12T07:58:05.285Z] [INFO] [AFTER] No commands were found for kiegroup/kogito-runtimes
[2023-07-12T07:58:05.285Z]
[2023-07-12T07:58:05.285Z] # Uploading artifacts
[2023-07-12T07:58:05.285Z] [INFO] Will not upload any artifacts in CLI environment
[2023-07-12T07:58:05.285Z]
[2023-07-12T07:58:05.285Z] [ERROR] Failed to execute commands for kiegroup/kogito-runtimes
[2023-07-12T07:58:05.285Z] [ERROR] Failed to execute mvn dependency:tree clean -Dfull install -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.kogito-runtimes@tmp/config13715302710072278111tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3 -T 1C -Dvalidate-formatting -Prun-code-coverage -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B :
[2023-07-12T07:58:05.285Z] [ERROR] The process '/opt/tools/apache-maven-3.8.7/bin/mvn' failed with exit code 1
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[2023-07-12T07:58:05.382Z] Deleting 1 temporary files
[Pipeline] // configFileProvider
[Pipeline] }
[Pipeline] // script
Post stage
[Pipeline] script
[Pipeline] {
[Pipeline] sh
[2023-07-12T07:58:05.967Z] + find . -type d -name node_modules -exec rm -rf '{}' ';'
[Pipeline] junit
[2023-07-12T07:58:10.202Z] Recording test results
[2023-07-12T07:58:14.893Z] [Checks API] No suitable checks publisher found.
[Pipeline] archiveArtifacts
[2023-07-12T07:58:14.925Z] Archiving artifacts
[Pipeline] }
[Pipeline] // script
[Pipeline] script
[Pipeline] {
[Pipeline] sh
[2023-07-12T07:58:16.102Z] + rm -rf console.log
[Pipeline] sh
[2023-07-12T07:58:16.398Z] + wget --no-check-certificate -qO - https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-runtimes.tests.kogito-runtimes/2860/consoleText
[2023-07-12T07:58:16.398Z] + tail -n 300

@kie-ci3
Copy link
Contributor

kie-ci3 commented Jul 12, 2023

(tests) - kogito-springboot-examples job #1229 was: UNSTABLE
Possible explanation: This should be test failures

Reproducer

export BUILD_MVN_OPTS_CURRENT=
build-chain build cross_pr -f 'https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml' -o 'bc' -p kiegroup/kogito-examples -u https://github.com/kiegroup/kogito-runtimes/pull/3116 --skipParallelCheckout

NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution

Please look here: https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-runtimes.tests.downstream.kogito-springboot-examples/1229/display/redirect

Test results:

  • PASSED: 129
  • FAILED: 1

Those are the test failures:

org.kie.kogito.springboot.outbox.OutboxIT.(?) org.testcontainers.containers.ContainerLaunchException: Timed out waiting for container port to open (localhost ports: [8080, 32789] should be listening)

@fjtirado
Copy link
Contributor Author

jenkins run kogito-runtimes tests

@kie-ci3
Copy link
Contributor

kie-ci3 commented Jul 13, 2023

(tests) - kogito-runtimes job #2867 was: UNSTABLE
Possible explanation: This should be test failures

Reproducer

export BUILD_MVN_OPTS_CURRENT=-T 1C -Dvalidate-formatting -Prun-code-coverage
build-chain build cross_pr -f 'https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml' -o 'bc' -p kiegroup/kogito-runtimes -u https://github.com/kiegroup/kogito-runtimes/pull/3116 --skipParallelCheckout

NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution

Please look here: https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-runtimes.tests.kogito-runtimes/2867/display/redirect

Test results:

  • PASSED: 3354
  • FAILED: 1

Those are the test failures:

org.kie.kogito.persistence.kafka.KafkaProcessInstancesIT.testFindByIdReadMode
expected: 5
but was: 0

@fjtirado
Copy link
Contributor Author

jenkins run kogito-runtimes tests

Copy link
Member

@MarianMacik MarianMacik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Just minor suggestions.

}

private Process<JsonNodeModel> findOrCreate(Workflow workflow) {
return findProcessById(workflow.getId()).orElseGet(() -> process(workflow));
}

/**
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update the JavaDoc of this method to point to the newly-created findOrCreate method.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is private method, does not require javadoc, isnt it?

Copy link
Member

@MarianMacik MarianMacik Jul 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fjtirado there is a JavaDoc on the method on the line 178, which is now incorrect.

@cristianonicolai
Copy link
Contributor

@fjtirado code looks fine, but I'm a little confused by the extension name. Process definition is a term from jbpm/bpmn that we somehow reuse for sw to describe the model. So looking at the name, I was wondering the exact goal. My suggestion would be to maybe review the naming to something more descriptive to its function which is to store definitions. Perhaps storage ?

@fjtirado
Copy link
Contributor Author

@fjtirado code looks fine, but I'm a little confused by the extension name. Process definition is a term from jbpm/bpmn that we somehow reuse for sw to describe the model. So looking at the name, I was wondering the exact goal. My suggestion would be to maybe review the naming to something more descriptive to its function which is to store definitions. Perhaps storage ?

@cristianonicolai I think definition is the right term. This addon is handling addition and modification of process definitions (and might be even valid for bpmn definitions in future, so I do not think appropiated to single out that it only currently supports SWF definitions in the name). Storage is too narrow in my opinion, since this endpoint also allow execution of the added process definition and eventually will support limited variables query of non straight throug process (as Mariam has requested and it is done for predefined defintions)

@kie-ci3
Copy link
Contributor

kie-ci3 commented Jul 17, 2023

(tests) - kogito-runtimes job #2877 was: UNSTABLE
Possible explanation: This should be test failures

Reproducer

export BUILD_MVN_OPTS_CURRENT=-T 1C -Dvalidate-formatting -Prun-code-coverage
build-chain build cross_pr -f 'https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml' -o 'bc' -p kiegroup/kogito-runtimes -u https://github.com/kiegroup/kogito-runtimes/pull/3116 --skipParallelCheckout

NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution

Please look here: https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-runtimes.tests.kogito-runtimes/2877/display/redirect

Test results:

  • PASSED: 3354
  • FAILED: 1

Those are the test failures:

org.kie.kogito.quarkus.workflows.AsyncAPIIT.testConsumer Condition with alias 'dead' didn't complete within 10 seconds because assertion condition defined as a lambda expression in org.kie.kogito.quarkus.workflows.AssuredTestUtils that uses java.lang.String, java.lang.Stringjava.lang.String 1 expectation failed.
Expected status code <404> but was <200>.
.

@fjtirado
Copy link
Contributor Author

jenkins run kogito-runtimes tests

@sonarcloud
Copy link

sonarcloud bot commented Jul 17, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

80.8% 80.8% Coverage
0.0% 0.0% Duplication

@fjtirado fjtirado merged commit e37b961 into apache:main Jul 17, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants