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-9354] Python service #3079

Merged
merged 7 commits into from
Jun 26, 2023
Merged

[KOGITO-9354] Python service #3079

merged 7 commits into from
Jun 26, 2023

Conversation

fjtirado
Copy link
Contributor

@fjtirado fjtirado commented Jun 20, 2023

Adding python service support to service workflow.
Users can now write

"functions" : [ {
  "name" : "factorial",
  "operation" : "service:python:math::factorial",
  "type" : "custom"
}

which will invoke factorial method of math python standard library

In order to invoke a non standard module, python search path has to be configured (and the module installed in the target machine), this can be achieved by setting property sonata.python.searchPath

Self contained modules will be implemented, if possible, with https://issues.redhat.com/browse/KOGITO-9443

@kie-ci3
Copy link
Contributor

kie-ci3 commented Jun 20, 2023

(tests) - kogito-runtimes job #2785 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/3079 --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/2785/display/redirect

Test results:

  • PASSED: 3348
  • FAILED: 1

Those are the test failures:

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

@kie-ci3
Copy link
Contributor

kie-ci3 commented Jun 20, 2023

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

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/3079 --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/2795/display/redirect

Test results:

  • PASSED: 3092
  • FAILED: 0

Those are the test failures: none

See console log:

Console Logs [2023-06-20T19:50:20.969Z] [INFO] | | | | +- org.apache.maven.shared:maven-shared-utils:jar:3.3.4:test
[2023-06-20T19:50:20.969Z] [INFO] | | | | +- com.google.inject:guice:jar:no_aop:4.2.2:test
[2023-06-20T19:50:20.969Z] [INFO] | | | | +- org.codehaus.plexus:plexus-classworlds:jar:2.6.0:test
[2023-06-20T19:50:20.969Z] [INFO] | | | | +- org.codehaus.plexus:plexus-sec-dispatcher:jar:2.0:test
[2023-06-20T19:50:20.969Z] [INFO] | | | | +- org.codehaus.plexus:plexus-cipher:jar:2.0:test
[2023-06-20T19:50:20.969Z] [INFO] | | | | \- commons-cli:commons-cli:jar:1.4:test
[2023-06-20T19:50:20.969Z] [INFO] | | | +- org.eclipse.sisu:org.eclipse.sisu.plexus:jar:0.3.5:test
[2023-06-20T19:50:20.969Z] [INFO] | | | +- org.apache.maven:maven-settings-builder:jar:3.8.6:test
[2023-06-20T19:50:20.969Z] [INFO] | | | | \- org.codehaus.plexus:plexus-interpolation:jar:1.26:test
[2023-06-20T19:50:20.969Z] [INFO] | | | +- org.apache.maven:maven-resolver-provider:jar:3.8.6:test
[2023-06-20T19:50:20.969Z] [INFO] | | | | +- org.apache.maven:maven-repository-metadata:jar:3.8.6:test
[2023-06-20T19:50:20.969Z] [INFO] | | | | +- org.apache.maven.resolver:maven-resolver-spi:jar:1.6.3:test
[2023-06-20T19:50:20.969Z] [INFO] | | | | +- org.apache.maven.resolver:maven-resolver-impl:jar:1.6.3:test
[2023-06-20T19:50:20.969Z] [INFO] | | | | \- org.codehaus.plexus:plexus-utils:jar:3.3.0:test
[2023-06-20T19:50:20.969Z] [INFO] | | | +- org.apache.maven.resolver:maven-resolver-connector-basic:jar:1.6.3:test
[2023-06-20T19:50:20.969Z] [INFO] | | | +- org.apache.maven.resolver:maven-resolver-transport-wagon:jar:1.6.3:test
[2023-06-20T19:50:20.969Z] [INFO] | | | +- org.apache.maven.wagon:wagon-http:jar:3.5.1:test
[2023-06-20T19:50:20.969Z] [INFO] | | | | +- org.apache.maven.wagon:wagon-http-shared:jar:3.5.1:test
[2023-06-20T19:50:20.969Z] [INFO] | | | | \- org.apache.maven.wagon:wagon-provider-api:jar:3.5.1:test
[2023-06-20T19:50:20.969Z] [INFO] | | | \- org.apache.maven.wagon:wagon-file:jar:3.5.1:test
[2023-06-20T19:50:20.969Z] [INFO] | | \- io.quarkus:quarkus-bootstrap-gradle-resolver:jar:2.16.7.Final:test
[2023-06-20T19:50:20.969Z] [INFO] | +- jakarta.enterprise:jakarta.enterprise.cdi-api:jar:2.0.2:compile
[2023-06-20T19:50:20.969Z] [INFO] | | \- jakarta.el:jakarta.el-api:jar:3.0.3:compile
[2023-06-20T19:50:20.969Z] [INFO] | \- org.awaitility:awaitility:jar:4.2.0:test
[2023-06-20T19:50:20.969Z] [INFO] \- org.kie.kogito:kogito-apps-ui-packages:pom:2.0.0-SNAPSHOT:compile
[2023-06-20T19:50:20.969Z] [INFO]
[2023-06-20T19:50:20.969Z] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ runtime-tools-quarkus-extension-deployment ---
[2023-06-20T19:50:20.969Z] [INFO]
[2023-06-20T19:50:20.969Z] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-versions) @ runtime-tools-quarkus-extension-deployment ---
[2023-06-20T19:50:20.969Z] [INFO]
[2023-06-20T19:50:20.969Z] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-java-version) @ runtime-tools-quarkus-extension-deployment ---
[2023-06-20T19:50:20.969Z] [INFO]
[2023-06-20T19:50:20.969Z] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-maven-version) @ runtime-tools-quarkus-extension-deployment ---
[2023-06-20T19:50:20.969Z] [INFO]
[2023-06-20T19:50:20.969Z] [INFO] --- maven-checkstyle-plugin:3.1.1:check (default) @ runtime-tools-quarkus-extension-deployment ---
[2023-06-20T19:50:20.969Z] [INFO] You have 0 Checkstyle violations.
[2023-06-20T19:50:20.969Z] [INFO]
[2023-06-20T19:50:20.969Z] [INFO] --- buildnumber-maven-plugin:1.4:create (get-scm-revision) @ runtime-tools-quarkus-extension-deployment ---
[2023-06-20T19:50:20.969Z] [INFO]
[2023-06-20T19:50:20.969Z] [INFO] --- formatter-maven-plugin:2.13.0:format (default) @ runtime-tools-quarkus-extension-deployment ---
[2023-06-20T19:50:20.969Z] [INFO] Using 'UTF-8' encoding to format source files.
[2023-06-20T19:50:20.969Z] [INFO] Number of files to be formatted: 2
[2023-06-20T19:50:20.969Z] [INFO] Successfully formatted: 0 file(s)
[2023-06-20T19:50:20.969Z] [INFO] Fail to format: 0 file(s)
[2023-06-20T19:50:20.969Z] [INFO] Skipped: 2 file(s)
[2023-06-20T19:50:20.969Z] [INFO] Read only skipped: 0 file(s)
[2023-06-20T19:50:20.969Z] [INFO] Approximate time taken: 0s
[2023-06-20T19:50:20.969Z] [INFO]
[2023-06-20T19:50:20.969Z] [INFO] --- impsort-maven-plugin:1.8.0:sort (default) @ runtime-tools-quarkus-extension-deployment ---
[2023-06-20T19:50:20.969Z] [INFO] Processed 2 files in 00:00.003 (Already Sorted: 2, Needed Sorting: 0)
[2023-06-20T19:50:20.969Z] [INFO]
[2023-06-20T19:50:20.969Z] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ runtime-tools-quarkus-extension-deployment ---
[2023-06-20T19:50:20.969Z] [INFO] Using 'UTF-8' encoding to copy filtered resources.
[2023-06-20T19:50:20.969Z] [INFO] Copying 6 resources
[2023-06-20T19:50:20.969Z] [INFO]
[2023-06-20T19:50:20.969Z] [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-webapp) @ runtime-tools-quarkus-extension-deployment ---
[2023-06-20T19:50:20.969Z] [INFO] Using 'UTF-8' encoding to copy filtered resources.
[2023-06-20T19:50:21.224Z] [INFO] Copying 3611 resources
[2023-06-20T19:50:23.737Z] [INFO]
[2023-06-20T19:50:23.737Z] [INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-envelope-resources) @ runtime-tools-quarkus-extension-deployment ---
[2023-06-20T19:50:23.737Z] [INFO] Using 'UTF-8' encoding to copy filtered resources.
[2023-06-20T19:50:23.737Z] [INFO] Copying 2 resources
[2023-06-20T19:50:23.737Z] [INFO]
[2023-06-20T19:50:23.737Z] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ runtime-tools-quarkus-extension-deployment ---
[2023-06-20T19:50:23.737Z] [INFO] Changes detected - recompiling the module!
[2023-06-20T19:50:23.737Z] [INFO] Compiling 2 source files to /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-apps/bc/kiegroup_kogito-apps/runtime-tools-quarkus-extension-parent/runtime-tools-quarkus-extension-deployment/target/classes
[2023-06-20T19:50:23.737Z] [WARNING] /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-apps/bc/kiegroup_kogito-apps/runtime-tools-quarkus-extension-parent/runtime-tools-quarkus-extension-deployment/src/main/java/org/kie/kogito/runtime/tools/quarkus/extension/deployment/DevConsoleProcessor.java:[64,58] io.quarkus.deployment.util.WebJarUtil in io.quarkus.deployment.util has been deprecated and marked for removal
[2023-06-20T19:50:23.737Z] [WARNING] /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-apps/bc/kiegroup_kogito-apps/runtime-tools-quarkus-extension-parent/runtime-tools-quarkus-extension-deployment/src/main/java/org/kie/kogito/runtime/tools/quarkus/extension/deployment/DevConsoleProcessor.java:[68,56] io.quarkus.deployment.util.WebJarUtil in io.quarkus.deployment.util has been deprecated and marked for removal
[2023-06-20T19:50:23.737Z] [WARNING] /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-apps/bc/kiegroup_kogito-apps/runtime-tools-quarkus-extension-parent/runtime-tools-quarkus-extension-deployment/src/main/java/org/kie/kogito/runtime/tools/quarkus/extension/deployment/DevConsoleProcessor.java:[68,66] copyResourcesForDevOrTest(io.quarkus.deployment.builditem.LiveReloadBuildItem,io.quarkus.deployment.pkg.builditem.CurateOutcomeBuildItem,io.quarkus.deployment.builditem.LaunchModeBuildItem,io.quarkus.maven.dependency.ResolvedDependency,java.lang.String,boolean) in io.quarkus.deployment.util.WebJarUtil has been deprecated
[2023-06-20T19:50:23.737Z] [WARNING] /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-apps/bc/kiegroup_kogito-apps/runtime-tools-quarkus-extension-parent/runtime-tools-quarkus-extension-deployment/src/main/java/org/kie/kogito/runtime/tools/quarkus/extension/deployment/DevConsoleProcessor.java:[78,34] devConsoleHandler(java.lang.String,io.quarkus.runtime.ShutdownContext) in io.quarkus.vertx.http.runtime.devmode.DevConsoleRecorder has been deprecated
[2023-06-20T19:50:23.737Z] [INFO]
[2023-06-20T19:50:23.737Z] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ runtime-tools-quarkus-extension-deployment ---
[2023-06-20T19:50:23.737Z] [INFO] Using 'UTF-8' encoding to copy filtered resources.
[2023-06-20T19:50:23.737Z] [INFO] skip non existing resourceDirectory /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-apps/bc/kiegroup_kogito-apps/runtime-tools-quarkus-extension-parent/runtime-tools-quarkus-extension-deployment/src/test/resources
[2023-06-20T19:50:23.738Z] [INFO]
[2023-06-20T19:50:23.738Z] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ runtime-tools-quarkus-extension-deployment ---
[2023-06-20T19:50:23.738Z] [INFO] No sources to compile
[2023-06-20T19:50:23.738Z] [INFO]
[2023-06-20T19:50:23.738Z] [INFO] --- maven-surefire-plugin:3.1.2:test (default-test) @ runtime-tools-quarkus-extension-deployment ---
[2023-06-20T19:50:23.738Z] [INFO] No tests to run.
[2023-06-20T19:50:23.738Z] [INFO]
[2023-06-20T19:50:23.738Z] [INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ runtime-tools-quarkus-extension-deployment ---
[2023-06-20T19:50:24.056Z] [INFO] Building jar: /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-apps/bc/kiegroup_kogito-apps/runtime-tools-quarkus-extension-parent/runtime-tools-quarkus-extension-deployment/target/runtime-tools-quarkus-extension-deployment-2.0.0-SNAPSHOT.jar
[2023-06-20T19:50:28.506Z] [INFO]
[2023-06-20T19:50:28.506Z] [INFO] --- maven-jar-plugin:3.1.0:test-jar (test-jar) @ runtime-tools-quarkus-extension-deployment ---
[2023-06-20T19:50:28.506Z] [INFO] Skipping packaging of the test-jar
[2023-06-20T19:50:28.506Z] [INFO]
[2023-06-20T19:50:28.506Z] [INFO] --- maven-source-plugin:3.0.1:jar-no-fork (attach-sources) @ runtime-tools-quarkus-extension-deployment ---
[2023-06-20T19:50:28.506Z] [INFO] Building jar: /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-apps/bc/kiegroup_kogito-apps/runtime-tools-quarkus-extension-parent/runtime-tools-quarkus-extension-deployment/target/runtime-tools-quarkus-extension-deployment-2.0.0-SNAPSHOT-sources.jar
[2023-06-20T19:50:28.506Z] [INFO]
[2023-06-20T19:50:28.506Z] [INFO] --- maven-source-plugin:3.0.1:test-jar-no-fork (attach-test-sources) @ runtime-tools-quarkus-extension-deployment ---
[2023-06-20T19:50:28.506Z] [INFO] No sources in project. Archive not created.
[2023-06-20T19:50:28.506Z] [INFO]
[2023-06-20T19:50:28.506Z] [INFO] --- maven-failsafe-plugin:3.1.2:integration-test (integration-test) @ runtime-tools-quarkus-extension-deployment ---
[2023-06-20T19:50:28.506Z] [INFO] No tests to run.
[2023-06-20T19:50:28.506Z] [INFO]
[2023-06-20T19:50:28.506Z] [INFO] --- maven-failsafe-plugin:3.1.2:verify (integration-test) @ runtime-tools-quarkus-extension-deployment ---
[2023-06-20T19:50:28.506Z] [INFO] Failsafe report directory: /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-apps/bc/kiegroup_kogito-apps/runtime-tools-quarkus-extension-parent/runtime-tools-quarkus-extension-deployment/target/failsafe-reports
[2023-06-20T19:50:28.506Z] [INFO]
[2023-06-20T19:50:28.506Z] [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ runtime-tools-quarkus-extension-deployment ---
[2023-06-20T19:50:28.506Z] [INFO] Installing /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-apps/bc/kiegroup_kogito-apps/runtime-tools-quarkus-extension-parent/runtime-tools-quarkus-extension-deployment/target/runtime-tools-quarkus-extension-deployment-2.0.0-SNAPSHOT.jar to /home/jenkins/.m2/repository/org/kie/kogito/runtime-tools-quarkus-extension-deployment/2.0.0-SNAPSHOT/runtime-tools-quarkus-extension-deployment-2.0.0-SNAPSHOT.jar
[2023-06-20T19:50:28.507Z] [INFO] Installing /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-apps/bc/kiegroup_kogito-apps/runtime-tools-quarkus-extension-parent/runtime-tools-quarkus-extension-deployment/pom.xml to /home/jenkins/.m2/repository/org/kie/kogito/runtime-tools-quarkus-extension-deployment/2.0.0-SNAPSHOT/runtime-tools-quarkus-extension-deployment-2.0.0-SNAPSHOT.pom
[2023-06-20T19:50:28.507Z] [INFO] Installing /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-apps/bc/kiegroup_kogito-apps/runtime-tools-quarkus-extension-parent/runtime-tools-quarkus-extension-deployment/target/runtime-tools-quarkus-extension-deployment-2.0.0-SNAPSHOT-sources.jar to /home/jenkins/.m2/repository/org/kie/kogito/runtime-tools-quarkus-extension-deployment/2.0.0-SNAPSHOT/runtime-tools-quarkus-extension-deployment-2.0.0-SNAPSHOT-sources.jar
[2023-06-20T19:50:28.507Z] [INFO] ------------------------------------------------------------------------
[2023-06-20T19:50:28.507Z] [INFO] Reactor Summary for Kogito Apps 2.0.0-SNAPSHOT:
[2023-06-20T19:50:28.507Z] [INFO]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps ........................................ SUCCESS [ 1.413 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: BOM ................................. SUCCESS [ 0.039 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Build Parent BOM .................... SUCCESS [ 0.037 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Persistence Commons ................. SUCCESS [ 0.040 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Persistence Commons API ............. SUCCESS [ 2.303 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Persistence Commons Protobuf ........ SUCCESS [ 3.254 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Persistence Commons PostgreSQL ...... SUCCESS [ 21.853 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Persistence Commons Infinispan ...... SUCCESS [ 45.607 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Persistence Commons MongoDB ......... SUCCESS [ 23.111 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Persistence Commons Redis ........... SUCCESS [ 3.328 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Persistence Commons Oracle .......... SUCCESS [01:01 min]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Persistence Commons :: Reporting :: Parent SUCCESS [ 0.039 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Persistence Commons :: Reporting :: API SUCCESS [ 3.092 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Persistence Commons :: Reporting :: PostgreSQL base SUCCESS [ 3.333 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Persistence Commons :: Reporting :: PostgreSQL (Generic) SUCCESS [ 21.331 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: DB Scripts Collection Multi Repo .... SUCCESS [ 0.262 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Jobs Service ........................ SUCCESS [ 0.056 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Jobs Service :: Internal :: API ..... SUCCESS [ 1.500 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Jobs Service :: Jobs Recipients ..... SUCCESS [ 0.033 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Jobs Service :: Job Recipient Common Http SUCCESS [ 0.994 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Jobs Service :: Job Http Recipient - Parent SUCCESS [ 0.022 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Jobs Service :: Job Http Recipient - Runtime SUCCESS [ 3.870 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Jobs Service :: Job Http Recipient - Deployment SUCCESS [ 13.949 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Jobs Service :: Job Sink Recipient - Parent SUCCESS [ 0.022 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Jobs Service :: Job Sink Recipient - Runtime SUCCESS [ 3.615 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Jobs Service :: Job Sink Recipient - Deployment SUCCESS [ 1.744 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Jobs Service :: Common .............. SUCCESS [02:12 min]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Jobs Service :: PostgreSQL .......... SUCCESS [02:44 min]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Jobs Service :: PostgreSQL .......... SUCCESS [ 5.614 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Jobs Service :: In-memory ........... SUCCESS [02:19 min]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Jobs :: Addons ...................... SUCCESS [ 0.052 s]
[2023-06-20T19:50:28.507Z] [INFO] Jobs Service Embedded Quarkus Addon - Parent ....... SUCCESS [ 0.020 s]
[2023-06-20T19:50:28.507Z] [INFO] Jobs Service Embedded Quarkus Addon - Runtime ...... SUCCESS [ 3.915 s]
[2023-06-20T19:50:28.507Z] [INFO] Jobs Service Embedded Quarkus Addon - Deployment ... SUCCESS [ 2.832 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Jobs Service :: Infinispan .......... SUCCESS [02:32 min]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Jobs Service :: MongoDB ............. SUCCESS [02:11 min]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Data Index .......................... SUCCESS [ 0.023 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Data Index Storage .................. SUCCESS [ 0.021 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Data Index Storage API .............. SUCCESS [ 1.115 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Data Index Storage Protobuf ......... SUCCESS [ 1.230 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Data Index Storage PostgreSQL ....... SUCCESS [ 19.232 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Data Index Storage Infinispan ....... SUCCESS [ 2.947 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Data Index Storage MongoDB .......... SUCCESS [ 14.424 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Data Index Storage PostgreSQL :: Reporting SUCCESS [ 19.351 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Data Index Storage Oracle DB ........ SUCCESS [ 53.966 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Data Index Common ................... SUCCESS [ 4.134 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Data Index Service .................. SUCCESS [ 0.019 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Data Index Service Common ........... SUCCESS [ 12.672 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Data Index Service with In-memory persistence SUCCESS [01:43 min]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Data Index Service with Infinispan .. SUCCESS [02:44 min]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Data Index Service with MongoDB ..... SUCCESS [02:08 min]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Data Index Service with Oracle ...... SUCCESS [03:47 min]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Data Index Service with PostgreSQL .. SUCCESS [01:58 min]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Kogito Addons Quarkus Data Index .... SUCCESS [ 0.019 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Kogito Addons Quarkus Data Index Common SUCCESS [ 0.017 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Kogito Addons Quarkus Data Index Common :: Runtime SUCCESS [ 2.820 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Kogito Addons Quarkus Data Index Common :: Deployment SUCCESS [ 0.285 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Kogito Addons Quarkus Data Index In-memory SUCCESS [ 0.018 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Kogito Addons Quarkus Data Index In-memory :: Runtime SUCCESS [ 0.337 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Kogito Addons Quarkus Data Index In-memory :: Deployment SUCCESS [ 0.548 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Kogito Addons Quarkus Data Index In-memory :: Integration Tests SUCCESS [ 23.215 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Kogito Addons Quarkus Data Index PostgreSQL SUCCESS [ 0.019 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Kogito Addons Quarkus Data Index PostgreSQL :: Runtime SUCCESS [ 0.275 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Kogito Addons Quarkus Data Index PostgreSQL :: Deployment SUCCESS [ 0.412 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Kogito Addons Quarkus Data Index PostgreSQL :: Integration Tests SUCCESS [ 26.071 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Kogito Addons Quarkus Data Index Infinispan SUCCESS [ 0.027 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Kogito Addons Quarkus Data Index Infinispan :: Runtime SUCCESS [ 0.282 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Kogito Addons Quarkus Data Index Infinispan :: Deployment SUCCESS [ 0.400 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Serverless Workflow Quarkus Dev UI Extension SUCCESS [ 0.018 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Serverless Workflow Quarkus Dev UI Extension :: Extension SUCCESS [ 2.432 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: UI Packages ......................... SUCCESS [17:45 min]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Serverless Workflow Quarkus Dev UI Extension :: Deployment SUCCESS [ 22.096 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Kogito Addons Quarkus Data Index Infinispan :: Integration Tests SUCCESS [ 39.759 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Kogito Addons Quarkus Data Index MongoDB SUCCESS [ 0.023 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Kogito Addons Quarkus Data Index MongoDB :: Runtime SUCCESS [ 0.331 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Kogito Addons Quarkus Data Index MongoDB :: Deployment SUCCESS [ 0.486 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Kogito Addons Quarkus Data Index MongoDB :: Integration Tests SUCCESS [ 28.668 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Security Commons .................... SUCCESS [ 56.735 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Management Console .................. SUCCESS [ 14.623 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Trusty UI ........................... SUCCESS [01:20 min]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Task Console ........................ SUCCESS [ 14.599 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Explainability ...................... SUCCESS [ 0.021 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Explainability Api .................. SUCCESS [ 1.741 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Explainability Service .............. SUCCESS [ 9.797 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Trusty .............................. SUCCESS [ 0.033 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Trusty Storage ...................... SUCCESS [ 0.018 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Trusty Storage API .................. SUCCESS [ 1.418 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Trusty Service ...................... SUCCESS [ 0.019 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Trusty Service :: API ............... SUCCESS [ 0.284 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Explainability Service Messaging .... SUCCESS [ 31.088 s]
[2023-06-20T19:50:28.507Z] [INFO] Kogito Apps :: Explainability Service Rest ......... SUCCESS [ 47.176 s]
[2023-06-20T19:50:28.508Z] [INFO] Kogito Apps :: Trusty Storage Common ............... SUCCESS [ 0.228 s]
[2023-06-20T19:50:28.508Z] [INFO] Kogito Apps :: Trusty Storage Infinispan ........... SUCCESS [ 2.498 s]
[2023-06-20T19:50:28.508Z] [INFO] Kogito Apps :: Trusty Storage Redis ................ SUCCESS [ 1.948 s]
[2023-06-20T19:50:28.508Z] [INFO] Kogito Apps :: Trusty Storage PostgreSQL ........... SUCCESS [ 2.739 s]
[2023-06-20T19:50:28.508Z] [INFO] Kogito Apps :: Trusty Service Common ............... SUCCESS [01:53 min]
[2023-06-20T19:50:28.508Z] [INFO] Kogito Apps :: Trusty Service Infinispan ........... SUCCESS [ 34.126 s]
[2023-06-20T19:50:28.508Z] [INFO] Kogito Apps :: Trusty Service Redis ................ SUCCESS [ 26.804 s]
[2023-06-20T19:50:28.508Z] [INFO] Kogito Apps :: Trusty Service PostgreSQL ........... SUCCESS [ 32.475 s]
[2023-06-20T19:50:28.508Z] [INFO] Kogito Apps :: JIT Executor ........................ SUCCESS [ 0.019 s]
[2023-06-20T19:50:28.508Z] [INFO] Kogito Apps :: JIT Executor :: Common .............. SUCCESS [ 0.086 s]
[2023-06-20T19:50:28.508Z] [INFO] Kogito Apps :: JIT Executor BPMN ................... SUCCESS [ 15.775 s]
[2023-06-20T19:50:28.508Z] [INFO] Kogito Apps :: JIT Executor DMN .................... SUCCESS [ 20.825 s]
[2023-06-20T19:50:28.508Z] [INFO] Kogito Apps :: JIT Executor Runner ................. SUCCESS [ 21.431 s]
[2023-06-20T19:50:28.508Z] [INFO] Kogito Apps :: Integration Tests ................... SUCCESS [ 0.022 s]
[2023-06-20T19:50:28.508Z] [INFO] Kogito Apps :: Integration Tests :: Jobs Service ... SUCCESS [ 0.025 s]
[2023-06-20T19:50:28.508Z] [INFO] Kogito Apps :: Integration Tests :: Jobs Service :: Common SUCCESS [ 0.482 s]
[2023-06-20T19:50:28.508Z] [INFO] Kogito Apps :: Integration Tests :: Data Index ..... SUCCESS [ 0.030 s]
[2023-06-20T19:50:28.508Z] [INFO] Kogito Apps :: Integration Tests :: Data Index :: Common SUCCESS [ 0.608 s]
[2023-06-20T19:50:28.508Z] [INFO] Kogito Apps :: Integration Tests :: Jobs Service :: Common :: Quarkus SUCCESS [ 22.643 s]
[2023-06-20T19:50:28.508Z] [INFO] Kogito Apps :: Integration Tests :: Jobs Service :: Quarkus SUCCESS [ 0.022 s]
[2023-06-20T19:50:28.508Z] [INFO] Kogito Apps :: Integration Tests :: Jobs Service :: Quarkus :: Management SUCCESS [02:48 min]
[2023-06-20T19:50:28.508Z] [INFO] Kogito Apps :: Integration Tests :: Jobs Service :: Quarkus :: Messaging SUCCESS [03:00 min]
[2023-06-20T19:50:28.508Z] [INFO] Kogito Apps :: Integration Tests :: Jobs Service :: Quarkus :: Knative Eventing SUCCESS [02:16 min]
[2023-06-20T19:50:28.508Z] [INFO] Kogito Apps :: Integration Tests :: Jobs Service :: Quarkus :: embedded SUCCESS [01:41 min]
[2023-06-20T19:50:28.508Z] [INFO] Kogito Apps :: Integration Tests :: Jobs Service :: Spring Boot SUCCESS [01:31 min]
[2023-06-20T19:50:28.508Z] [INFO] Kogito Apps :: Integration Tests :: Trusty Service . SUCCESS [ 0.023 s]
[2023-06-20T19:50:28.508Z] [INFO] Kogito Apps :: Integration Tests :: Trusty Service :: Common SUCCESS [ 0.368 s]
[2023-06-20T19:50:28.508Z] [INFO] Kogito Apps :: Integration Tests :: Trusty Service :: Quarkus SUCCESS [01:02 min]
[2023-06-20T19:50:28.508Z] [INFO] Kogito Apps :: Integration Tests :: Trusty Audit UI SUCCESS [01:26 min]
[2023-06-20T19:50:28.508Z] [INFO] Kogito Apps :: Integration Tests :: Trusty Service :: Spring Boot SUCCESS [01:15 min]
[2023-06-20T19:50:28.508Z] [INFO] Kogito Apps :: Integration Tests :: Data Index :: Quarkus SUCCESS [04:12 min]
[2023-06-20T19:50:28.508Z] [INFO] Kogito Apps :: Integration Tests :: Data Index :: Spring Boot SUCCESS [01:59 min]
[2023-06-20T19:50:28.508Z] [INFO] Runtime Tools Quarkus Extension - Parent ........... SUCCESS [ 0.021 s]
[2023-06-20T19:50:28.508Z] [INFO] Runtime Tools Quarkus Extension - Runtime .......... SUCCESS [ 2.982 s]
[2023-06-20T19:50:28.508Z] [INFO] Runtime Tools Quarkus Extension - Deployment ....... SUCCESS [ 7.374 s]
[2023-06-20T19:50:28.508Z] [INFO] ------------------------------------------------------------------------
[2023-06-20T19:50:28.508Z] [INFO] BUILD SUCCESS
[2023-06-20T19:50:28.508Z] [INFO] ------------------------------------------------------------------------
[2023-06-20T19:50:28.508Z] [INFO] Total time: 01:21 h
[2023-06-20T19:50:28.508Z] [INFO] Finished at: 2023-06-20T15:50:26-04:00
[2023-06-20T19:50:28.508Z] [INFO] ------------------------------------------------------------------------
[2023-06-20T19:50:29.432Z] [command]/usr/bin/docker system prune -f
[2023-06-20T19:50:29.432Z] Error response from daemon: a prune operation is already running
[2023-06-20T19:50:29.432Z] [INFO] Execution summary for kiegroup/kogito-apps
[2023-06-20T19:50:29.432Z] # [BEFORE] [kiegroup/kogito-apps] export INTEGRATION_BRANCH=
[2023-06-20T19:50:29.432Z] [INFO] OK [Executed in 0.050004 ms]
[2023-06-20T19:50:29.432Z]
[2023-06-20T19:50:29.432Z] # [BEFORE] [kiegroup/kogito-apps] bash -c "if [ ! -z '' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ; fi"
[2023-06-20T19:50:29.432Z] [INFO] OK [Executed in 5.741315 ms]
[2023-06-20T19:50:29.432Z]
[2023-06-20T19:50:29.432Z] # [COMMANDS] [kiegroup/kogito-apps] export MVN_CMD=`bash -c "if [ '' = 'true' ]; then printf 'deploy '; else printf 'install'; fi"`
[2023-06-20T19:50:29.432Z] [INFO] OK [Executed in 5.413902 ms]
[2023-06-20T19:50:29.432Z]
[2023-06-20T19:50:29.432Z] # [COMMANDS] [kiegroup/kogito-apps] mvn dependency:tree clean install -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-apps@tmp/config2391517943786950402tmp -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 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B
[2023-06-20T19:50:29.432Z] [INFO] OK [Executed in 4878589.676125 ms]
[2023-06-20T19:50:29.432Z]
[2023-06-20T19:50:29.432Z] # [AFTER] [kiegroup/kogito-apps] docker system prune -f
[2023-06-20T19:50:29.432Z] [INFO] NOT OK [Executed in 165.319905 ms]
[2023-06-20T19:50:29.686Z] [ERROR] The process '/usr/bin/docker' failed with exit code 1
[2023-06-20T19:50:29.686Z]
[2023-06-20T19:50:29.686Z]
[2023-06-20T19:50:29.686Z] [INFO] kiegroup/kogito-apps failed. Won't execute remaining projects
[2023-06-20T19:50:29.686Z] # Uploading artifacts
[2023-06-20T19:50:29.686Z] [INFO] Will not upload any artifacts in CLI environment
[2023-06-20T19:50:29.686Z]
[2023-06-20T19:50:29.686Z] [ERROR] Failed to execute commands for kiegroup/kogito-apps
[2023-06-20T19:50:29.686Z] [ERROR] Failed to execute docker system prune -f :
[2023-06-20T19:50:29.686Z] [ERROR] The process '/usr/bin/docker' failed with exit code 1
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[2023-06-20T19:50:29.790Z] Deleting 1 temporary files
[Pipeline] // configFileProvider
[Pipeline] }
[Pipeline] // script
Post stage
[Pipeline] script
[Pipeline] {
[Pipeline] sh
[2023-06-20T19:50:30.306Z] + find . -type d -name node_modules -exec rm -rf '{}' ';'
[2023-06-20T19:50:34.462Z] find: ‘./bc/kiegroup_kogito-apps/ui-packages/packages/common/node_modules’: No such file or directory
[2023-06-20T19:50:34.462Z] find: ‘./bc/kiegroup_kogito-apps/ui-packages/packages/components-common/node_modules’: No such file or directory
[2023-06-20T19:50:34.462Z] find: ‘./bc/kiegroup_kogito-apps/ui-packages/packages/management-console-webapp/node_modules’: No such file or directory
[2023-06-20T19:50:34.716Z] find: ‘./bc/kiegroup_kogito-apps/ui-packages/packages/patternfly-base/node_modules’: No such file or directory
[2023-06-20T19:50:34.970Z] find: ‘./bc/kiegroup_kogito-apps/ui-packages/packages/runtime-tools-dev-ui-webapp/node_modules’: No such file or directory
[2023-06-20T19:50:35.224Z] find: ‘./bc/kiegroup_kogito-apps/ui-packages/packages/trusty/node_modules’: No such file or directory
[2023-06-20T19:50:35.478Z] find: ‘./bc/kiegroup_kogito-apps/ui-packages/node/node_modules’: No such file or directory
[2023-06-20T19:50:50.304Z] find: ‘./bc/kiegroup_kogito-apps/ui-packages/node_modules’: No such file or directory
[2023-06-20T19:50:50.304Z] + true
[Pipeline] junit
[2023-06-20T19:50:50.329Z] Recording test results
[2023-06-20T19:50:54.236Z] [Checks API] No suitable checks publisher found.
[Pipeline] archiveArtifacts
[2023-06-20T19:50:54.254Z] Archiving artifacts
[Pipeline] }
[Pipeline] // script
[Pipeline] script
[Pipeline] {
[Pipeline] sh
[2023-06-20T19:50:55.826Z] + rm -rf console.log
[Pipeline] sh
[2023-06-20T19:50:56.116Z] + 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.downstream.kogito-apps/2795/consoleText
[2023-06-20T19:50:56.116Z] + tail -n 300

@kie-ci3
Copy link
Contributor

kie-ci3 commented Jun 21, 2023

(tests) - kogito-runtimes job #2789 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/3079 --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/2789/display/redirect

Test results:

  • PASSED: 3350
  • FAILED: 1

Those are the test failures:

org.kie.kogito.addons.springboot.k8s.BeansCreationSanityTest.verifyBeansCreation Failed to load ApplicationContext

@fjtirado fjtirado marked this pull request as ready for review June 21, 2023 11:56
@fjtirado
Copy link
Contributor Author

jenkins run kogito-runtimes tests

Copy link
Contributor

@hbelmiro hbelmiro left a comment

Choose a reason for hiding this comment

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

LTGM.
I just left two nitpicky comments.

@fjtirado fjtirado force-pushed the KOGITO-9354 branch 3 times, most recently from 7baf93e to 9c09b5a Compare June 22, 2023 09:49
@fjtirado fjtirado marked this pull request as draft June 22, 2023 09:57
@kie-ci3
Copy link
Contributor

kie-ci3 commented Jun 22, 2023

(tests) - kogito-runtimes job #2795 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/3079 --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/2795/display/redirect

Test results:

  • PASSED: 3349
  • FAILED: 2

Those are the test failures:

org.kie.kogito.persistence.kafka.KafkaProcessInstancesIT.testFindByIdReadMode No value present
org.kie.kogito.quarkus.workflows.PythonFlowIT.testPythonService 1 expectation failed.
Expected status code <201> but was <400>.

@kie-ci3
Copy link
Contributor

kie-ci3 commented Jun 22, 2023

(tests) - kogito-runtimes job #2796 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/3079 --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/2796/display/redirect

Test results:

  • PASSED: 3350
  • FAILED: 1

Those are the test failures:

org.kie.kogito.quarkus.workflows.PythonFlowIT.testPythonService 1 expectation failed.
Expected status code <201> but was <400>.

@kie-ci3
Copy link
Contributor

kie-ci3 commented Jun 22, 2023

(tests) - kogito-runtimes job #2797 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/3079 --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/2797/display/redirect

Test results:

  • PASSED: 3349
  • FAILED: 2

Those are the test failures:

org.kie.kogito.persistence.kafka.KafkaProcessInstancesIT.testFindByIdReadMode
expected: 5
but was: 0
org.kie.kogito.quarkus.workflows.PythonFlowIT.testPythonService 1 expectation failed.
Expected status code <201> but was <400>.

@kie-ci3
Copy link
Contributor

kie-ci3 commented Jun 22, 2023

(tests) - kogito-runtimes job #2798 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/3079 --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/2798/display/redirect

Test results:

  • PASSED: 3350
  • FAILED: 1

Those are the test failures:

org.kie.kogito.quarkus.workflows.PythonFlowIT.testPythonService 1 expectation failed.
Expected status code <201> but was <400>.

@fjtirado fjtirado force-pushed the KOGITO-9354 branch 3 times, most recently from 4248120 to 7505ff8 Compare June 22, 2023 10:50
@fjtirado fjtirado marked this pull request as ready for review June 22, 2023 10:51
@sonarcloud
Copy link

sonarcloud bot commented Jun 22, 2023

Please retry analysis of this Pull-Request directly on SonarCloud.

@kie-ci3
Copy link
Contributor

kie-ci3 commented Jun 22, 2023

(tests) - kogito-runtimes job #2801 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/3079 --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/2801/display/redirect

Test results:

  • PASSED: 3352
  • FAILED: 1

Those are the test failures:

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

@kie-ci3
Copy link
Contributor

kie-ci3 commented Jun 22, 2023

(tests) - kogito-runtimes job #2802 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/3079 --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/2802/display/redirect

Test results:

  • PASSED: 3352
  • 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

@kie-ci3
Copy link
Contributor

kie-ci3 commented Jun 22, 2023

(tests) - kogito-runtimes job #2803 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/3079 --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/2803/display/redirect

Test results:

  • PASSED: 3352
  • 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

@ricardozanini
Copy link
Member

@fjtirado the property should include the domain

sonata.python.searchPath

So it would be org.sonataflow.runtime.python.searchPath. We need to establish the correct use of namespaces. Let's open a discussion about this.

@fjtirado
Copy link
Contributor Author

fjtirado commented Jun 22, 2023

@fjtirado the property should include the domain

sonata.python.searchPath

So it would be org.sonataflow.runtime.python.searchPath. We need to establish the correct use of namespaces. Let's open a discussion about this.

@ricardozanini I do not think runtime is needed (thats a condition of the property that in my opinion should not be reflected in the naming, as we are not reflecting if this property requires a reboot if changed o not). org prefix makes it too verbose, but it is must, then I propose:
org.sonataflow.python.searchPath
or
sonataflow.python.searchPath
Also I have doubs over capitalization, searchPath or searchpath

@ricardozanini
Copy link
Member

@fjtirado that was just a suggestion. My point is, if we were to start renaming/adding properties to the org.sonataflow namespace we should carefully think about it and document it. Otherwise, we will have a property circus, as we do in Kogito.

@fjtirado
Copy link
Contributor Author

@fjtirado that was just a suggestion. My point is, if we were to start renaming/adding properties to the org.sonataflow namespace we should carefully think about it and document it. Otherwise, we will have a property circus, as we do in Kogito.

Properties are always a circus ;). Well, its just a question of setting rules. I do not think org is needed. Name of the product is risky, as you find out recently (probably we need to change all kogito ones to sonataflow), if it was my call, I would be more product name independent and use
workflow.python.seachPath

…versionUtils.java

Co-authored-by: Marián Macik <macik.marian@gmail.com>
fjtirado and others added 2 commits June 22, 2023 20:19
…versionUtils.java

Co-authored-by: Marián Macik <macik.marian@gmail.com>
@fjtirado
Copy link
Contributor Author

fjtirado commented Jun 22, 2023

@ricardozanini renamed property to org.sonataflow.python.searchpath

@kie-ci3
Copy link
Contributor

kie-ci3 commented Jun 22, 2023

(tests) - kogito-runtimes job #2806 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/3079 --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/2806/display/redirect

Test results:

  • PASSED: 3352
  • FAILED: 1

Those are the test failures:

org.kie.kogito.persistence.kafka.KafkaProcessInstancesIT.testFindByIdReadMode No value present

@kie-ci3
Copy link
Contributor

kie-ci3 commented Jun 22, 2023

(tests) - kogito-apps job #2814 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/3079 --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/2814/display/redirect

Test results:

  • PASSED: 3099
  • FAILED: 1

Those are the test failures:

org.kie.kogito.index.ProcessDataIndexMongoDBIT.testProcessInstanceEvents Failed to load ApplicationContext

@fjtirado
Copy link
Contributor Author

jenkins run kogito-apps tests

@sonarcloud
Copy link

sonarcloud bot commented Jun 23, 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

82.2% 82.2% Coverage
0.0% 0.0% Duplication

@fjtirado fjtirado merged commit a219c4b into apache:main Jun 26, 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