incubator-kie-drools icon indicating copy to clipboard operation
incubator-kie-drools copied to clipboard

[DROOLS-7070] reenable beta range indexes in all cases

Open mariofusco opened this issue 1 year ago • 4 comments

JIRA: https://issues.redhat.com/browse/DROOLS-7070

@triceo Range indexes on beta constraints were breaking a specific use case on the old rule unit implementation and we had to disable them. I found that this is no longer the case and with this PR I'm definitively re-enabling them. Before we merge this PR, please check that it doesn't break any OptaPlanner use case as well, thanks.

@tkobayas This is related to what I anticipated on today's call. Everything seems ok to me with those indexes always enabled, except for an edge case that I found in the executable model and also fixed with this PR. Please check it.

mariofusco avatar Jul 19 '22 08:07 mariofusco

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

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/drools.tests.downstream.kogito-examples/313/display/redirect

Test results:

  • PASSED: 440
  • FAILED: 1

Those are the test failures:

Build projects / org.acme.it.QueryAnswerServiceIT.queryAnswerProcessCycle Assertion condition defined as a lambda expression in org.acme.it.QueryAnswerServiceIT that uses java.lang.String 1 expectation failed.
Expected status code but was .
within 2 minutes.

See console log:

Console Logs [2022-08-01T17:44:22.762Z] [INFO] | | +- io.quarkus:quarkus-class-change-agent:jar:2.11.1.Final:test
[2022-08-01T17:44:22.762Z] [INFO] | | +- io.quarkus:quarkus-devtools-utilities:jar:2.11.1.Final:test
[2022-08-01T17:44:22.762Z] [INFO] | | +- io.quarkus:quarkus-builder:jar:2.11.1.Final:test
[2022-08-01T17:44:22.762Z] [INFO] | | \- org.junit.platform:junit-platform-launcher:jar:1.8.2:test
[2022-08-01T17:44:22.762Z] [INFO] | +- io.quarkus:quarkus-junit5-properties:jar:2.11.1.Final:test
[2022-08-01T17:44:22.762Z] [INFO] | +- org.junit.jupiter:junit-jupiter:jar:5.8.2:test
[2022-08-01T17:44:22.762Z] [INFO] | | +- org.junit.jupiter:junit-jupiter-api:jar:5.8.2:test
[2022-08-01T17:44:22.763Z] [INFO] | | | +- org.opentest4j:opentest4j:jar:1.2.0:test
[2022-08-01T17:44:22.763Z] [INFO] | | | +- org.junit.platform:junit-platform-commons:jar:1.8.2:test
[2022-08-01T17:44:22.763Z] [INFO] | | | \- org.apiguardian:apiguardian-api:jar:1.1.2:test
[2022-08-01T17:44:22.763Z] [INFO] | | +- org.junit.jupiter:junit-jupiter-params:jar:5.8.2:test
[2022-08-01T17:44:22.763Z] [INFO] | | \- org.junit.jupiter:junit-jupiter-engine:jar:5.8.2:test
[2022-08-01T17:44:22.763Z] [INFO] | | \- org.junit.platform:junit-platform-engine:jar:1.8.2:test
[2022-08-01T17:44:22.763Z] [INFO] | \- com.thoughtworks.xstream:xstream:jar:1.4.19:compile
[2022-08-01T17:44:22.763Z] [INFO] | \- io.github.x-stream:mxparser:jar:1.2.2:compile
[2022-08-01T17:44:22.763Z] [INFO] | \- xmlpull:xmlpull:jar:1.1.3.1:compile
[2022-08-01T17:44:22.763Z] [INFO] +- io.rest-assured:rest-assured:jar:4.5.1:test
[2022-08-01T17:44:22.763Z] [INFO] | +- org.codehaus.groovy:groovy:jar:3.0.9:test
[2022-08-01T17:44:22.763Z] [INFO] | +- org.codehaus.groovy:groovy-xml:jar:3.0.9:test
[2022-08-01T17:44:22.763Z] [INFO] | +- org.apache.httpcomponents:httpclient:jar:4.5.13:compile
[2022-08-01T17:44:22.763Z] [INFO] | | \- org.apache.httpcomponents:httpcore:jar:4.4.15:compile
[2022-08-01T17:44:22.763Z] [INFO] | +- org.apache.httpcomponents:httpmime:jar:4.5.13:test
[2022-08-01T17:44:22.763Z] [INFO] | +- org.hamcrest:hamcrest:jar:2.1:test
[2022-08-01T17:44:22.763Z] [INFO] | +- org.ccil.cowan.tagsoup:tagsoup:jar:1.2.1:test
[2022-08-01T17:44:22.763Z] [INFO] | +- io.rest-assured:json-path:jar:4.5.1:test
[2022-08-01T17:44:22.763Z] [INFO] | | +- org.codehaus.groovy:groovy-json:jar:3.0.9:test
[2022-08-01T17:44:22.763Z] [INFO] | | \- io.rest-assured:rest-assured-common:jar:4.5.1:test
[2022-08-01T17:44:22.763Z] [INFO] | \- io.rest-assured:xml-path:jar:4.5.1:test
[2022-08-01T17:44:22.763Z] [INFO] +- org.assertj:assertj-core:jar:3.22.0:test
[2022-08-01T17:44:22.763Z] [INFO] +- com.github.tomakehurst:wiremock-jre8:jar:2.33.0:test
[2022-08-01T17:44:22.763Z] [INFO] | +- org.eclipse.jetty:jetty-server:jar:9.4.46.v20220331:test
[2022-08-01T17:44:22.763Z] [INFO] | | +- javax.servlet:javax.servlet-api:jar:3.1.0:test
[2022-08-01T17:44:22.763Z] [INFO] | | +- org.eclipse.jetty:jetty-http:jar:9.4.46.v20220331:test
[2022-08-01T17:44:22.763Z] [INFO] | | \- org.eclipse.jetty:jetty-io:jar:9.4.46.v20220331:test
[2022-08-01T17:44:22.763Z] [INFO] | +- org.eclipse.jetty:jetty-servlet:jar:9.4.46.v20220331:test
[2022-08-01T17:44:22.763Z] [INFO] | | +- org.eclipse.jetty:jetty-security:jar:9.4.46.v20220331:test
[2022-08-01T17:44:22.763Z] [INFO] | | \- org.eclipse.jetty:jetty-util-ajax:jar:9.4.46.v20220331:test
[2022-08-01T17:44:22.763Z] [INFO] | +- org.eclipse.jetty:jetty-servlets:jar:9.4.46.v20220331:test
[2022-08-01T17:44:22.763Z] [INFO] | | +- org.eclipse.jetty:jetty-continuation:jar:9.4.46.v20220331:test
[2022-08-01T17:44:22.763Z] [INFO] | | \- org.eclipse.jetty:jetty-util:jar:9.4.46.v20220331:test
[2022-08-01T17:44:22.763Z] [INFO] | +- org.eclipse.jetty:jetty-webapp:jar:9.4.46.v20220331:test
[2022-08-01T17:44:22.763Z] [INFO] | | \- org.eclipse.jetty:jetty-xml:jar:9.4.46.v20220331:test
[2022-08-01T17:44:22.763Z] [INFO] | +- org.eclipse.jetty:jetty-proxy:jar:9.4.46.v20220331:test
[2022-08-01T17:44:22.763Z] [INFO] | | \- org.eclipse.jetty:jetty-client:jar:9.4.46.v20220331:test
[2022-08-01T17:44:22.763Z] [INFO] | +- org.eclipse.jetty.http2:http2-server:jar:9.4.46.v20220331:test
[2022-08-01T17:44:22.763Z] [INFO] | | \- org.eclipse.jetty.http2:http2-common:jar:9.4.46.v20220331:test
[2022-08-01T17:44:22.763Z] [INFO] | | \- org.eclipse.jetty.http2:http2-hpack:jar:9.4.46.v20220331:test
[2022-08-01T17:44:22.763Z] [INFO] | +- org.eclipse.jetty:jetty-alpn-server:jar:9.4.46.v20220331:test
[2022-08-01T17:44:22.763Z] [INFO] | +- org.eclipse.jetty:jetty-alpn-java-server:jar:9.4.46.v20220331:test
[2022-08-01T17:44:22.763Z] [INFO] | +- org.eclipse.jetty:jetty-alpn-openjdk8-server:jar:9.4.46.v20220331:test
[2022-08-01T17:44:22.763Z] [INFO] | +- org.eclipse.jetty:jetty-alpn-java-client:jar:9.4.46.v20220331:test
[2022-08-01T17:44:22.763Z] [INFO] | | \- org.eclipse.jetty:jetty-alpn-client:jar:9.4.46.v20220331:test
[2022-08-01T17:44:22.763Z] [INFO] | +- org.eclipse.jetty:jetty-alpn-openjdk8-client:jar:9.4.46.v20220331:test
[2022-08-01T17:44:22.763Z] [INFO] | +- com.google.guava:guava:jar:31.1-jre:compile
[2022-08-01T17:44:22.763Z] [INFO] | | +- com.google.guava:failureaccess:jar:1.0.1:compile
[2022-08-01T17:44:22.763Z] [INFO] | | +- org.checkerframework:checker-qual:jar:3.22.2:compile
[2022-08-01T17:44:22.763Z] [INFO] | | +- com.google.errorprone:error_prone_annotations:jar:2.14.0:compile
[2022-08-01T17:44:22.763Z] [INFO] | | \- com.google.j2objc:j2objc-annotations:jar:1.3:compile
[2022-08-01T17:44:22.763Z] [INFO] | +- com.fasterxml.jackson.core:jackson-core:jar:2.13.3:compile
[2022-08-01T17:44:22.763Z] [INFO] | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.13.3:compile
[2022-08-01T17:44:22.763Z] [INFO] | +- com.fasterxml.jackson.core:jackson-databind:jar:2.13.3:compile
[2022-08-01T17:44:22.763Z] [INFO] | +- org.apache.httpcomponents.client5:httpclient5:jar:5.1.3:test
[2022-08-01T17:44:22.763Z] [INFO] | | +- org.apache.httpcomponents.core5:httpcore5:jar:5.1.3:test
[2022-08-01T17:44:22.763Z] [INFO] | | \- org.apache.httpcomponents.core5:httpcore5-h2:jar:5.1.3:test
[2022-08-01T17:44:22.763Z] [INFO] | +- org.xmlunit:xmlunit-core:jar:2.9.0:test
[2022-08-01T17:44:22.763Z] [INFO] | | \- jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.3:test
[2022-08-01T17:44:22.763Z] [INFO] | +- org.xmlunit:xmlunit-legacy:jar:2.9.0:test
[2022-08-01T17:44:22.763Z] [INFO] | +- org.xmlunit:xmlunit-placeholders:jar:2.9.0:test
[2022-08-01T17:44:22.763Z] [INFO] | +- net.javacrumbs.json-unit:json-unit-core:jar:2.33.0:test
[2022-08-01T17:44:22.763Z] [INFO] | | \- org.hamcrest:hamcrest-core:jar:2.2:test
[2022-08-01T17:44:22.763Z] [INFO] | +- com.jayway.jsonpath:json-path:jar:2.7.0:compile
[2022-08-01T17:44:22.763Z] [INFO] | | \- net.minidev:json-smart:jar:2.4.7:compile
[2022-08-01T17:44:22.763Z] [INFO] | | \- net.minidev:accessors-smart:jar:2.4.7:compile
[2022-08-01T17:44:22.763Z] [INFO] | +- org.ow2.asm:asm:jar:9.3:compile
[2022-08-01T17:44:22.763Z] [INFO] | +- org.slf4j:slf4j-api:jar:1.7.36:compile
[2022-08-01T17:44:22.763Z] [INFO] | +- net.sf.jopt-simple:jopt-simple:jar:5.0.4:test
[2022-08-01T17:44:22.763Z] [INFO] | +- com.github.jknack:handlebars:jar:4.3.0:test
[2022-08-01T17:44:22.763Z] [INFO] | +- com.github.jknack:handlebars-helpers:jar:4.3.0:test
[2022-08-01T17:44:22.763Z] [INFO] | +- commons-fileupload:commons-fileupload:jar:1.4:test
[2022-08-01T17:44:22.763Z] [INFO] | \- commons-io:commons-io:jar:2.11.0:compile
[2022-08-01T17:44:22.763Z] [INFO] +- org.kie.kogito.examples:serverless-workflow-newsletter-subscription-service:jar:2.0.0-SNAPSHOT:test
[2022-08-01T17:44:22.763Z] [INFO] | +- io.cloudevents:cloudevents-core:jar:2.3.0:compile
[2022-08-01T17:44:22.763Z] [INFO] | | \- io.cloudevents:cloudevents-api:jar:2.3.0:compile
[2022-08-01T17:44:22.763Z] [INFO] | +- io.cloudevents:cloudevents-json-jackson:jar:2.3.0:compile
[2022-08-01T17:44:22.763Z] [INFO] | \- io.quarkus:quarkus-reactive-pg-client:jar:2.11.1.Final:test
[2022-08-01T17:44:22.763Z] [INFO] | +- io.quarkus:quarkus-reactive-datasource:jar:2.11.1.Final:test
[2022-08-01T17:44:22.763Z] [INFO] | | \- io.vertx:vertx-sql-client:jar:4.3.2:test
[2022-08-01T17:44:22.763Z] [INFO] | +- io.vertx:vertx-pg-client:jar:4.3.2:test
[2022-08-01T17:44:22.763Z] [INFO] | +- com.ongres.scram:client:jar:2.1:test
[2022-08-01T17:44:22.763Z] [INFO] | | \- com.ongres.scram:common:jar:2.1:test
[2022-08-01T17:44:22.763Z] [INFO] | | \- com.ongres.stringprep:saslprep:jar:1.1:test
[2022-08-01T17:44:22.763Z] [INFO] | | \- com.ongres.stringprep:stringprep:jar:1.1:test
[2022-08-01T17:44:22.763Z] [INFO] | \- io.smallrye.reactive:smallrye-mutiny-vertx-pg-client:jar:2.24.1:test
[2022-08-01T17:44:22.763Z] [INFO] | \- io.smallrye.reactive:smallrye-mutiny-vertx-sql-client:jar:2.24.1:test
[2022-08-01T17:44:22.763Z] [INFO] +- org.awaitility:awaitility:jar:4.2.0:test
[2022-08-01T17:44:22.763Z] [INFO] +- org.kie.kogito:kogito-addons-quarkus-persistence-jdbc:jar:2.0.0-SNAPSHOT:compile
[2022-08-01T17:44:22.763Z] [INFO] | \- org.kie.kogito:kogito-addons-persistence-jdbc:jar:2.0.0-SNAPSHOT:compile
[2022-08-01T17:44:22.763Z] [INFO] +- io.quarkus:quarkus-jdbc-postgresql:jar:2.11.1.Final:compile
[2022-08-01T17:44:22.763Z] [INFO] | \- org.postgresql:postgresql:jar:42.4.0:compile
[2022-08-01T17:44:22.763Z] [INFO] \- io.quarkus:quarkus-agroal:jar:2.11.1.Final:compile
[2022-08-01T17:44:22.763Z] [INFO] +- io.quarkus:quarkus-datasource:jar:2.11.1.Final:compile
[2022-08-01T17:44:22.763Z] [INFO] | \- io.quarkus:quarkus-datasource-common:jar:2.11.1.Final:compile
[2022-08-01T17:44:22.763Z] [INFO] +- io.quarkus:quarkus-narayana-jta:jar:2.11.1.Final:compile
[2022-08-01T17:44:22.763Z] [INFO] | +- io.quarkus:quarkus-transaction-annotations:jar:2.11.1.Final:compile
[2022-08-01T17:44:22.763Z] [INFO] | +- io.smallrye:smallrye-context-propagation-jta:jar:1.2.2:compile
[2022-08-01T17:44:22.763Z] [INFO] | +- io.smallrye.reactive:smallrye-reactive-converter-api:jar:2.7.0:compile
[2022-08-01T17:44:22.763Z] [INFO] | +- io.smallrye.reactive:smallrye-reactive-converter-mutiny:jar:2.7.0:compile
[2022-08-01T17:44:22.763Z] [INFO] | +- org.jboss.narayana.jta:narayana-jta:jar:5.12.6.Final:compile
[2022-08-01T17:44:22.763Z] [INFO] | | \- org.jboss.spec.javax.resource:jboss-connector-api_1.7_spec:jar:1.0.0.Final:compile
[2022-08-01T17:44:22.763Z] [INFO] | \- org.jboss.narayana.jts:narayana-jts-integration:jar:5.12.6.Final:compile
[2022-08-01T17:44:22.763Z] [INFO] +- io.agroal:agroal-api:jar:1.16:compile
[2022-08-01T17:44:22.763Z] [INFO] +- io.agroal:agroal-narayana:jar:1.16:compile
[2022-08-01T17:44:22.763Z] [INFO] | \- org.jboss:jboss-transaction-spi:jar:7.6.0.Final:compile
[2022-08-01T17:44:22.763Z] [INFO] +- io.agroal:agroal-pool:jar:1.16:compile
[2022-08-01T17:44:22.763Z] [INFO] \- io.quarkus:quarkus-credentials:jar:2.11.1.Final:compile
[2022-08-01T17:44:22.763Z] [INFO]
[2022-08-01T17:44:22.763Z] [INFO] ----------------
[2022-08-01T17:44:22.763Z] [INFO] Building Kogito Example :: Serverless Workflow 2.0.0-SNAPSHOT [20/20]
[2022-08-01T17:44:22.763Z] [INFO] --------------------------------[ pom ]---------------------------------
[2022-08-01T17:44:22.763Z] [INFO]
[2022-08-01T17:44:22.763Z] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ serverless-workflow-examples ---
[2022-08-01T17:44:22.763Z] [INFO]
[2022-08-01T17:44:22.763Z] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-versions) @ serverless-workflow-examples ---
[2022-08-01T17:44:22.763Z] [INFO]
[2022-08-01T17:44:22.763Z] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-java-version) @ serverless-workflow-examples ---
[2022-08-01T17:44:22.763Z] [INFO]
[2022-08-01T17:44:22.763Z] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-maven-version) @ serverless-workflow-examples ---
[2022-08-01T17:44:22.763Z] [INFO]
[2022-08-01T17:44:22.763Z] [INFO] --- maven-checkstyle-plugin:3.1.1:check (default) @ serverless-workflow-examples ---
[2022-08-01T17:44:22.763Z] [INFO] You have 0 Checkstyle violations.
[2022-08-01T17:44:22.763Z] [INFO]
[2022-08-01T17:44:22.763Z] [INFO] --- buildnumber-maven-plugin:1.4:create (get-scm-revision) @ serverless-workflow-examples ---
[2022-08-01T17:44:22.763Z] [INFO]
[2022-08-01T17:44:22.763Z] [INFO] --- formatter-maven-plugin:2.13.0:format (default) @ serverless-workflow-examples ---
[2022-08-01T17:44:22.763Z] [INFO] Using 'UTF-8' encoding to format source files.
[2022-08-01T17:44:22.763Z] [INFO] Number of files to be formatted: 0
[2022-08-01T17:44:22.763Z] [INFO]
[2022-08-01T17:44:22.763Z] [INFO] --- impsort-maven-plugin:1.5.0:sort (default) @ serverless-workflow-examples ---
[2022-08-01T17:44:22.763Z] [INFO] Using compiler compliance level: JAVA_11
[2022-08-01T17:44:22.763Z] [INFO] Total Files Processed: 0 in 00:00.000
[2022-08-01T17:44:22.763Z] [INFO] Already Sorted: 0
[2022-08-01T17:44:22.763Z] [INFO] Needed Sorting: 0
[2022-08-01T17:44:22.763Z] [INFO]
[2022-08-01T17:44:22.763Z] [INFO] --- maven-jar-plugin:3.1.0:test-jar (test-jar) @ serverless-workflow-examples ---
[2022-08-01T17:44:22.763Z] [INFO] Skipping packaging of the test-jar
[2022-08-01T17:44:22.763Z] [INFO]
[2022-08-01T17:44:22.763Z] [INFO] --- maven-source-plugin:3.0.1:jar-no-fork (attach-sources) @ serverless-workflow-examples ---
[2022-08-01T17:44:22.763Z] [INFO]
[2022-08-01T17:44:22.763Z] [INFO] --- maven-source-plugin:3.0.1:test-jar-no-fork (attach-test-sources) @ serverless-workflow-examples ---
[2022-08-01T17:44:22.763Z] [INFO]
[2022-08-01T17:44:22.763Z] [INFO] --- maven-failsafe-plugin:3.0.0-M5:integration-test (integration-test) @ serverless-workflow-examples ---
[2022-08-01T17:44:22.763Z] [INFO] No tests to run.
[2022-08-01T17:44:22.763Z] [INFO]
[2022-08-01T17:44:22.763Z] [INFO] --- maven-failsafe-plugin:3.0.0-M5:integration-test (default) @ serverless-workflow-examples ---
[2022-08-01T17:44:22.763Z] [INFO] No tests to run.
[2022-08-01T17:44:22.763Z] [INFO] Skipping execution of surefire because it has already been run for this configuration
[2022-08-01T17:44:22.763Z] [INFO]
[2022-08-01T17:44:22.763Z] [INFO] --- maven-failsafe-plugin:3.0.0-M5:verify (integration-test) @ serverless-workflow-examples ---
[2022-08-01T17:44:22.763Z] [INFO] Failsafe report directory: /home/jenkins/workspace/KIE/kogito/main/pullrequest/drools.tests.downstream.kogito-examples/bc/kiegroup_kogito_examples/kogito-examples-persistence/serverless-workflow-examples/target/failsafe-reports
[2022-08-01T17:44:22.763Z] [INFO]
[2022-08-01T17:44:22.763Z] [INFO] --- maven-failsafe-plugin:3.0.0-M5:verify (default) @ serverless-workflow-examples ---
[2022-08-01T17:44:22.763Z] [INFO] Failsafe report directory: /home/jenkins/workspace/KIE/kogito/main/pullrequest/drools.tests.downstream.kogito-examples/bc/kiegroup_kogito_examples/kogito-examples-persistence/serverless-workflow-examples/target/failsafe-reports
[2022-08-01T17:44:22.763Z] [INFO]
[2022-08-01T17:44:22.763Z] [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ serverless-workflow-examples ---
[2022-08-01T17:44:22.763Z] [INFO] Installing /home/jenkins/workspace/KIE/kogito/main/pullrequest/drools.tests.downstream.kogito-examples/bc/kiegroup_kogito_examples/kogito-examples-persistence/serverless-workflow-examples/pom.xml to /home/jenkins/.m2/repository/org/kie/kogito/examples/serverless-workflow-examples/2.0.0-SNAPSHOT/serverless-workflow-examples-2.0.0-SNAPSHOT.pom
[2022-08-01T17:44:22.763Z] [INFO]
[2022-08-01T17:44:22.763Z] [INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ serverless-workflow-examples ---
[2022-08-01T17:44:22.763Z] [INFO] org.kie.kogito.examples:serverless-workflow-examples:pom:2.0.0-SNAPSHOT
[2022-08-01T17:44:22.763Z] [INFO] ------------------------------------------------------------------------
[2022-08-01T17:44:22.763Z] [INFO] Reactor Summary for Kogito Example 2.0.0-SNAPSHOT:
[2022-08-01T17:44:22.763Z] [INFO]
[2022-08-01T17:44:22.764Z] [INFO] Kogito Example ..................................... SUCCESS [ 2.484 s]
[2022-08-01T17:44:22.764Z] [INFO] Kogito Example :: Quarkus .......................... SUCCESS [ 0.068 s]
[2022-08-01T17:44:22.764Z] [INFO] Kogito Example :: Onboarding Example ............... SUCCESS [ 0.054 s]
[2022-08-01T17:44:22.764Z] [INFO] Kogito Example :: Onboarding Example :: HR with Drools SUCCESS [02:44 min]
[2022-08-01T17:44:22.764Z] [INFO] Kogito Example :: Onboarding Example :: Payroll with DMN SUCCESS [ 15.410 s]
[2022-08-01T17:44:22.764Z] [INFO] Kogito Example :: Onboarding Example :: Onboarding with Business Process Quarkus SUCCESS [ 48.934 s]
[2022-08-01T17:44:22.764Z] [INFO] Kogito Example :: Process PostgreSQL Persistence Quarkus SUCCESS [ 24.736 s]
[2022-08-01T17:44:22.764Z] [INFO] Kogito Example :: Process and Quarkus .............. SUCCESS [ 25.742 s]
[2022-08-01T17:44:22.764Z] [INFO] Kogito Example :: Spring Boot ...................... SUCCESS [ 0.032 s]
[2022-08-01T17:44:22.764Z] [INFO] Kogito Example :: Onboarding Example :: Onboarding with Business Process Spring Boot SUCCESS [ 27.993 s]
[2022-08-01T17:44:22.764Z] [INFO] Kogito Example :: Process PostgreSQL Persistence Spring Boot SUCCESS [ 16.601 s]
[2022-08-01T17:44:22.764Z] [INFO] Kogito Example :: Process and Spring Boot .......... SUCCESS [ 24.188 s]
[2022-08-01T17:44:22.764Z] [INFO] Kogito Example :: Serverless Workflow Compensation :: Quarkus SUCCESS [ 25.086 s]
[2022-08-01T17:44:22.764Z] [INFO] Kogito Example :: Serverless Workflow Query and Answer Showcase SUCCESS [ 0.003 s]
[2022-08-01T17:44:22.764Z] [INFO] Kogito Example :: Serverless Workflow Query and Answer :: Workflow Service FAILURE [02:27 min]
[2022-08-01T17:44:22.764Z] [INFO] Kogito Example :: Serverless Workflow Query and Answer :: Query Service SUCCESS [ 14.327 s]
[2022-08-01T17:44:22.764Z] [INFO] Kogito Example :: Serverless Workflow Newsletter Subscription Showcase SUCCESS [ 0.004 s]
[2022-08-01T17:44:22.764Z] [INFO] Kogito Example :: Serverless Workflow Newsletter Subscription :: Subscription Service SUCCESS [ 12.747 s]
[2022-08-01T17:44:22.764Z] [INFO] Kogito Example :: Serverless Workflow Newsletter Subscription :: Subscription Flow SUCCESS [ 22.769 s]
[2022-08-01T17:44:22.764Z] [INFO] Kogito Example :: Serverless Workflow .............. SUCCESS [ 0.027 s]
[2022-08-01T17:44:22.764Z] [INFO] ------------------------------------------------------------------------
[2022-08-01T17:44:22.764Z] [INFO] BUILD FAILURE
[2022-08-01T17:44:22.764Z] [INFO] ------------------------------------------------------------------------
[2022-08-01T17:44:22.764Z] [INFO] Total time: 09:35 min
[2022-08-01T17:44:22.764Z] [INFO] Finished at: 2022-08-01T13:44:22-04:00
[2022-08-01T17:44:22.764Z] [INFO] ------------------------------------------------------------------------
[2022-08-01T17:44:22.764Z] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:3.0.0-M7:verify (default) on project query-answer-service:
[2022-08-01T17:44:22.764Z] [ERROR]
[2022-08-01T17:44:22.764Z] [ERROR] Please refer to /home/jenkins/workspace/KIE/kogito/main/pullrequest/drools.tests.downstream.kogito-examples/bc/kiegroup_kogito_examples/kogito-examples-persistence/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/target/failsafe-reports for the individual test results.
[2022-08-01T17:44:22.764Z] [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[2022-08-01T17:44:22.764Z] [ERROR] -> [Help 1]
[2022-08-01T17:44:22.764Z] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:3.0.0-M7:verify (default) on project query-answer-service:
[2022-08-01T17:44:22.764Z]
[2022-08-01T17:44:22.764Z] Please refer to /home/jenkins/workspace/KIE/kogito/main/pullrequest/drools.tests.downstream.kogito-examples/bc/kiegroup_kogito_examples/kogito-examples-persistence/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/target/failsafe-reports for the individual test results.
[2022-08-01T17:44:22.764Z] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[2022-08-01T17:44:22.764Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:375)
[2022-08-01T17:44:22.764Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
[2022-08-01T17:44:22.764Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
[2022-08-01T17:44:22.764Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
[2022-08-01T17:44:22.764Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
[2022-08-01T17:44:22.764Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[2022-08-01T17:44:22.764Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
[2022-08-01T17:44:22.764Z] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
[2022-08-01T17:44:22.764Z] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
[2022-08-01T17:44:22.764Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294)
[2022-08-01T17:44:22.764Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
[2022-08-01T17:44:22.764Z] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
[2022-08-01T17:44:22.764Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
[2022-08-01T17:44:22.764Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
[2022-08-01T17:44:22.764Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
[2022-08-01T17:44:22.764Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2022-08-01T17:44:22.764Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2022-08-01T17:44:22.764Z] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2022-08-01T17:44:22.764Z] at java.lang.reflect.Method.invoke (Method.java:566)
[2022-08-01T17:44:22.764Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
[2022-08-01T17:44:22.764Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
[2022-08-01T17:44:22.764Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
[2022-08-01T17:44:22.764Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[2022-08-01T17:44:22.764Z] Caused by: org.apache.maven.plugin.MojoFailureException:
[2022-08-01T17:44:22.764Z]
[2022-08-01T17:44:22.764Z] Please refer to /home/jenkins/workspace/KIE/kogito/main/pullrequest/drools.tests.downstream.kogito-examples/bc/kiegroup_kogito_examples/kogito-examples-persistence/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/target/failsafe-reports for the individual test results.
[2022-08-01T17:44:22.764Z] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[2022-08-01T17:44:22.764Z] at org.apache.maven.plugin.surefire.SurefireHelper.throwException (SurefireHelper.java:283)
[2022-08-01T17:44:22.764Z] at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution (SurefireHelper.java:171)
[2022-08-01T17:44:22.764Z] at org.apache.maven.plugin.failsafe.VerifyMojo.execute (VerifyMojo.java:201)
[2022-08-01T17:44:22.764Z] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
[2022-08-01T17:44:22.764Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
[2022-08-01T17:44:22.764Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
[2022-08-01T17:44:22.764Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
[2022-08-01T17:44:22.764Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
[2022-08-01T17:44:22.764Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
[2022-08-01T17:44:22.764Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[2022-08-01T17:44:22.764Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
[2022-08-01T17:44:22.764Z] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
[2022-08-01T17:44:22.764Z] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
[2022-08-01T17:44:22.764Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294)
[2022-08-01T17:44:22.764Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
[2022-08-01T17:44:22.764Z] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
[2022-08-01T17:44:22.764Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
[2022-08-01T17:44:22.764Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
[2022-08-01T17:44:22.764Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
[2022-08-01T17:44:22.764Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2022-08-01T17:44:22.764Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2022-08-01T17:44:22.764Z] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2022-08-01T17:44:22.764Z] at java.lang.reflect.Method.invoke (Method.java:566)
[2022-08-01T17:44:22.764Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
[2022-08-01T17:44:22.764Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
[2022-08-01T17:44:22.764Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
[2022-08-01T17:44:22.764Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[2022-08-01T17:44:22.764Z] [ERROR]
[2022-08-01T17:44:22.764Z] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[2022-08-01T17:44:22.764Z] [ERROR]
[2022-08-01T17:44:22.764Z] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[2022-08-01T17:44:22.764Z] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[2022-08-01T17:44:22.764Z] [ERROR]
[2022-08-01T17:44:22.764Z] [ERROR] After correcting the problems, you can resume the build with the command
[2022-08-01T17:44:22.764Z] [ERROR] mvn -rf :query-answer-service
[2022-08-01T17:44:23.021Z] ::error title= [kiegroup/kogito-examples] [Execution ERROR]::bash -c "if [ '' != 'true' ]; then mvn -f kogito-examples-persistence/pom.xml clean install -Ppersistence -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false dependency:tree -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3 ; fi" -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B
[2022-08-01T17:44:23.021Z] [INFO] Archive artifact won't be executed
[2022-08-01T17:44:23.021Z] ::group::[Pull Request Flow] Execution Summary...
[2022-08-01T17:44:23.021Z] [INFO] ----------------------------------------------
[2022-08-01T17:44:23.021Z] [INFO] [kiegroup/drools]. Execution Result: ok. Time: 2m 52.5s (172560 ms)
[2022-08-01T17:44:23.021Z] [INFO] [kiegroup/kogito-runtimes]. Execution Result: ok. Time: 2m 56.6s (176618 ms)
[2022-08-01T17:44:23.021Z] [INFO] [kiegroup/kogito-apps]. Execution Result: ok. Time: 2m 31.9s (151969 ms)
[2022-08-01T17:44:23.021Z] [INFO] [kiegroup/kogito-examples]. Execution Result: error. Time: 56m 8.4s (3368478 ms)
[2022-08-01T17:44:23.021Z] [INFO] ----------------------------------------------
[2022-08-01T17:44:23.021Z] ::endgroup::
[2022-08-01T17:44:23.276Z] [ERROR] [kiegroup/kogito-examples] error executing command: 'bash -c "if [ '' != 'true' ]; then mvn -f kogito-examples-persistence/pom.xml clean install -Ppersistence -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false dependency:tree -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3 ; fi" -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B'. Message: Error: The process '/usr/bin/bash' failed with exit code 1
[2022-08-01T17:44:23.276Z] [ERROR] Command executions have failed, please review latest execution Error: [kiegroup/kogito-examples] error executing command: 'bash -c "if [ '' != 'true' ]; then mvn -f kogito-examples-persistence/pom.xml clean install -Ppersistence -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false dependency:tree -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3 ; fi" -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B'. Message: Error: The process '/usr/bin/bash' failed with exit code 1
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[2022-08-01T17:44:23.342Z] Deleting 1 temporary files
[Pipeline] // configFileProvider
[Pipeline] }
[Pipeline] // script
Post stage
[Pipeline] junit
[2022-08-01T17:44:23.429Z] Recording test results
[2022-08-01T17:44:30.572Z] [Checks API] No suitable checks publisher found.
[Pipeline] archiveArtifacts
[2022-08-01T17:44:30.598Z] Archiving artifacts
[Pipeline] script
[Pipeline] {
[Pipeline] sh
[2022-08-01T17:44:32.702Z] + rm -rf console.log
[Pipeline] sh
[2022-08-01T17:44:33.032Z] + 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/drools.tests.downstream.kogito-examples/313/consoleText
[2022-08-01T17:44:33.032Z] + tail -n 300

kie-ci3 avatar Aug 01 '22 17:08 kie-ci3

(tests) - drools job #436 was: UNSTABLE Possible explanation: This should be test failures

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/drools.tests.drools/436/display/redirect

Test results:

  • PASSED: 20572
  • FAILED: 2

Those are the test failures:

org.drools.compiler.integrationtests.JoinNodeRangeIndexingTest.testRangeBetaIndex[KieBase type=CLOUD_IDENTITY] expected: but was:
org.drools.compiler.integrationtests.JoinNodeRangeIndexingTest.testRangeBetaIndex[KieBase type=CLOUD_IDENTITY_MODEL_PATTERN] expected: but was:

kie-ci3 avatar Aug 18 '22 14:08 kie-ci3

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

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/drools.tests.downstream.kogito-apps/401/display/redirect

Test results:

  • PASSED: 1938
  • FAILED: 1

Those are the test failures:

org.kie.kogito.index.ProcessDataIndexOracleIT.testProcessInstanceEvents java.lang.AssertionError:
1 expectation failed.
JSON path data.UserTaskInstances[0].comments.size() doesn't match.
Expected: is
Actual:

kie-ci3 avatar Aug 18 '22 14:08 kie-ci3

@mariofusco is this still relevant please? If yes, could you please rebase this?

baldimir avatar Oct 04 '23 13:10 baldimir