incubator-kie-kogito-examples
incubator-kie-kogito-examples copied to clipboard
KOGITO-7303 Added solution for guide: "Basic Integration Test with REST Assured"
JIRA: https://issues.redhat.com/browse/KOGITO-7303
This PR adds the solution for the Basic Integration Test with REST Assured guide
After https://github.com/kiegroup/kogito-examples/pull/1292 being merged, I'll rebase this and move the solution to the new location.
- [x] You have read the contributors guide
- [x] Pull Request title is properly formatted:
KOGITO-XYZ Subject
- [x] Pull Request title contains the target branch if not targeting main:
[0.9.x] KOGITO-XYZ Subject
- [x] Pull Request contains link to the JIRA issue
- [x] Pull Request contains link to any dependent or related Pull Request
- [x] Pull Request contains description of the issue
- [x] Pull Request does not include fixes for issues other than the main ticket
How to replicate CI configuration locally?
Build Chain tool does "simple" maven build(s), the builds are just Maven commands, but because the repositories relates and depends on each other and any change in API or class method could affect several of those repositories there is a need to use build-chain tool to handle cross repository builds and be sure that we always use latest version of the code for each repository.
build-chain tool is a build tool which can be used on command line locally or in Github Actions workflow(s), in case you need to change multiple repositories and send multiple dependent pull requests related with a change you can easily reproduce the same build by executing it on Github hosted environment or locally in your development environment. See local execution details to get more information about it.
How to retest this PR or trigger a specific build:
-
for pull request checks
Please add comment: Jenkins retest this -
for a specific pull request check
Please add comment: Jenkins (re)run [kogito-examples] tests -
for quarkus branch checks
Run checks against Quarkus current used branch
Please add comment: Jenkins run quarkus-branch -
for a quarkus branch specific check
Run checks against Quarkus current used branch
Please add comment: Jenkins (re)run [kogito-examples] quarkus-branch -
for quarkus main checks
Run checks against Quarkus main branch
Please add comment: Jenkins run quarkus-main -
for a specific quarkus main check
Run checks against Quarkus main branch
Please add comment: Jenkins (re)run [kogito-examples] quarkus-branch -
for native checks
Run native checks
Please add comment: Jenkins run native -
for a specific native check
Run native checks Please add comment: Jenkins (re)run [kogito-examples] native -
for mandrel checks
Run native checks against Mandrel image Please add comment: Jenkins run mandrel -
for a specific mandrel check
Run native checks against Mandrel image
Please add comment: Jenkins (re)run [kogito-examples] mandrel
@ricardozanini @jstastny-cz I'm reverting this to draft. After https://github.com/kiegroup/kogito-examples/pull/1292 being merged, I'll rebase this and move the solution to the new location.
Thanks for the review @MarianMacik. I pushed the suggested changes.
@jstastny-cz are you going to review this PR?
@ricardozanini pom.xml updated to match the changes from https://github.com/kiegroup/kogito-examples/pull/1315
(tests) - kogito-examples job #180
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/kogito-examples.tests.kogito-examples/180/display/redirect
Test results:
- PASSED: 541
- FAILED: 8
Those are the test failures:
Build projects / org.kie.kogito.examples.GreetRestIT.testClientStreamGetMultipleLanguagesAtOnce
1 expectation failed.Expected status code but was .
Build projects / org.kie.kogito.examples.GreetRestIT.testServerStreamAllLanguages
1 expectation failed.Expected status code but was .
Build projects / org.kie.kogito.examples.GreetRestIT.testBiDiStreamGetMultipleLanguagesError
1 expectation failed.JSON path message doesn't match.
Expected: (a string containing "io.grpc.StatusRuntimeException" and a string containing "OUT_OF_RANGE")
Actual: com.google.protobuf.InvalidProtocolBufferException - Cannot find field: ContentData in message HelloRequest
Build projects / org.kie.kogito.examples.GreetRestIT.testBiDiStreamGetMultipleLanguages
1 expectation failed.Expected status code but was .
Build projects / org.kie.kogito.examples.GreetRestIT.testClientStreamGetMultipleLanguagesAtOnce
1 expectation failed.Expected status code but was .
Build projects / org.kie.kogito.examples.GreetRestIT.testServerStreamAllLanguages
1 expectation failed.Expected status code but was .
Build projects / org.kie.kogito.examples.GreetRestIT.testBiDiStreamGetMultipleLanguagesError
1 expectation failed.JSON path message doesn't match.
Expected: (a string containing "io.grpc.StatusRuntimeException" and a string containing "OUT_OF_RANGE")
Actual: com.google.protobuf.InvalidProtocolBufferException - Cannot find field: ContentData in message HelloRequest
Build projects / org.kie.kogito.examples.GreetRestIT.testBiDiStreamGetMultipleLanguages
1 expectation failed.Expected status code but was .
See console log:
Console Logs
[2022-07-26T19:13:15.251Z] [INFO] | | | | \- joda-time:joda-time:jar:2.10.2:compile[2022-07-26T19:13:15.251Z] [INFO] | | | \- com.google.re2j:re2j:jar:1.6:compile
[2022-07-26T19:13:15.251Z] [INFO] | | +- org.kie.kogito:kogito-serverless-workflow-utils:jar:2.0.0-SNAPSHOT:compile
[2022-07-26T19:13:15.251Z] [INFO] | | | \- io.serverlessworkflow:serverlessworkflow-api:jar:4.0.3.Final:compile
[2022-07-26T19:13:15.251Z] [INFO] | | | +- org.slf4j:jcl-over-slf4j:jar:1.7.25:compile
[2022-07-26T19:13:15.251Z] [INFO] | | | \- javax.validation:validation-api:jar:2.0.1.Final:compile
[2022-07-26T19:13:15.251Z] [INFO] | | +- org.kie.kogito:kogito-rest-workitem:jar:2.0.0-SNAPSHOT:compile
[2022-07-26T19:13:15.251Z] [INFO] | | | \- io.smallrye.reactive:smallrye-mutiny-vertx-auth-oauth2:jar:2.24.1:compile
[2022-07-26T19:13:15.251Z] [INFO] | | | \- io.vertx:vertx-auth-oauth2:jar:4.3.2:compile
[2022-07-26T19:13:15.251Z] [INFO] | | +- io.grpc:grpc-protobuf:jar:1.47.0:compile
[2022-07-26T19:13:15.251Z] [INFO] | | | +- com.google.api.grpc:proto-google-common-protos:jar:2.9.1:compile
[2022-07-26T19:13:15.251Z] [INFO] | | | \- io.grpc:grpc-protobuf-lite:jar:1.47.0:compile
[2022-07-26T19:13:15.251Z] [INFO] | | \- com.google.protobuf:protobuf-java-util:jar:3.19.3:compile
[2022-07-26T19:13:15.251Z] [INFO] | | +- com.google.j2objc:j2objc-annotations:jar:1.3:compile
[2022-07-26T19:13:15.251Z] [INFO] | | \- com.google.code.gson:gson:jar:2.9.0:compile
[2022-07-26T19:13:15.251Z] [INFO] | +- org.kie.kogito:kogito-jsonpath-expression:jar:2.0.0-SNAPSHOT:compile
[2022-07-26T19:13:15.251Z] [INFO] | +- org.kie.kogito:kogito-jq-expression:jar:2.0.0-SNAPSHOT:compile
[2022-07-26T19:13:15.251Z] [INFO] | | \- net.thisptr:jackson-jq:jar:1.0.0-preview.20210928:compile
[2022-07-26T19:13:15.251Z] [INFO] | | \- org.jruby.joni:joni:jar:2.1.41:compile
[2022-07-26T19:13:15.251Z] [INFO] | | \- org.jruby.jcodings:jcodings:jar:1.0.55:compile
[2022-07-26T19:13:15.251Z] [INFO] | +- io.quarkiverse.jackson-jq:quarkus-jackson-jq:jar:1.0.1:compile
[2022-07-26T19:13:15.251Z] [INFO] | \- io.quarkiverse.openapi.generator:quarkus-openapi-generator:jar:0.9.0:compile
[2022-07-26T19:13:15.251Z] [INFO] | \- io.quarkus:quarkus-qute:jar:2.11.0.Final:compile
[2022-07-26T19:13:15.251Z] [INFO] | \- io.quarkus.qute:qute-core:jar:2.11.0.Final:compile
[2022-07-26T19:13:15.251Z] [INFO] \- io.quarkus:quarkus-junit5:jar:2.11.0.Final:test
[2022-07-26T19:13:15.251Z] [INFO] +- io.quarkus:quarkus-bootstrap-core:jar:2.11.0.Final:test
[2022-07-26T19:13:15.251Z] [INFO] | +- io.quarkus:quarkus-bootstrap-app-model:jar:2.11.0.Final:test
[2022-07-26T19:13:15.251Z] [INFO] | +- io.quarkus:quarkus-bootstrap-maven-resolver:jar:2.11.0.Final:test
[2022-07-26T19:13:15.251Z] [INFO] | | +- org.apache.maven:maven-embedder:jar:3.8.6:test
[2022-07-26T19:13:15.251Z] [INFO] | | | +- org.apache.maven:maven-settings:jar:3.8.6:test
[2022-07-26T19:13:15.251Z] [INFO] | | | +- org.apache.maven:maven-core:jar:3.8.6:test
[2022-07-26T19:13:15.251Z] [INFO] | | | | +- org.apache.maven:maven-artifact:jar:3.8.6:test
[2022-07-26T19:13:15.251Z] [INFO] | | | | \- org.codehaus.plexus:plexus-component-annotations:jar:2.1.0:test
[2022-07-26T19:13:15.251Z] [INFO] | | | +- org.apache.maven:maven-plugin-api:jar:3.8.6:test
[2022-07-26T19:13:15.251Z] [INFO] | | | +- org.apache.maven:maven-model:jar:3.8.6:test
[2022-07-26T19:13:15.251Z] [INFO] | | | +- org.apache.maven:maven-model-builder:jar:3.8.6:test
[2022-07-26T19:13:15.251Z] [INFO] | | | +- org.apache.maven:maven-builder-support:jar:3.8.6:test
[2022-07-26T19:13:15.251Z] [INFO] | | | +- org.apache.maven.resolver:maven-resolver-api:jar:1.6.3:test
[2022-07-26T19:13:15.251Z] [INFO] | | | +- org.apache.maven.resolver:maven-resolver-util:jar:1.6.3:test
[2022-07-26T19:13:15.251Z] [INFO] | | | +- org.apache.maven.shared:maven-shared-utils:jar:3.3.4:test
[2022-07-26T19:13:15.251Z] [INFO] | | | +- com.google.inject:guice:jar:no_aop:4.2.2:test
[2022-07-26T19:13:15.251Z] [INFO] | | | +- org.codehaus.plexus:plexus-classworlds:jar:2.6.0:test
[2022-07-26T19:13:15.251Z] [INFO] | | | +- org.codehaus.plexus:plexus-sec-dispatcher:jar:2.0:test
[2022-07-26T19:13:15.251Z] [INFO] | | | +- org.codehaus.plexus:plexus-cipher:jar:2.0:test
[2022-07-26T19:13:15.251Z] [INFO] | | | \- commons-cli:commons-cli:jar:1.4:test
[2022-07-26T19:13:15.251Z] [INFO] | | +- org.eclipse.sisu:org.eclipse.sisu.plexus:jar:0.3.5:test
[2022-07-26T19:13:15.251Z] [INFO] | | +- org.apache.maven:maven-settings-builder:jar:3.8.6:test
[2022-07-26T19:13:15.251Z] [INFO] | | | \- org.codehaus.plexus:plexus-interpolation:jar:1.26:test
[2022-07-26T19:13:15.251Z] [INFO] | | +- org.apache.maven:maven-resolver-provider:jar:3.8.6:test
[2022-07-26T19:13:15.251Z] [INFO] | | | +- org.apache.maven:maven-repository-metadata:jar:3.8.6:test
[2022-07-26T19:13:15.251Z] [INFO] | | | +- org.apache.maven.resolver:maven-resolver-spi:jar:1.6.3:test
[2022-07-26T19:13:15.251Z] [INFO] | | | +- org.apache.maven.resolver:maven-resolver-impl:jar:1.6.3:test
[2022-07-26T19:13:15.251Z] [INFO] | | | \- org.codehaus.plexus:plexus-utils:jar:3.3.0:test
[2022-07-26T19:13:15.251Z] [INFO] | | +- org.apache.maven.resolver:maven-resolver-connector-basic:jar:1.6.3:test
[2022-07-26T19:13:15.251Z] [INFO] | | +- org.apache.maven.resolver:maven-resolver-transport-wagon:jar:1.6.3:test
[2022-07-26T19:13:15.251Z] [INFO] | | +- org.apache.maven.wagon:wagon-http:jar:3.5.1:test
[2022-07-26T19:13:15.251Z] [INFO] | | | +- org.apache.maven.wagon:wagon-http-shared:jar:3.5.1:test
[2022-07-26T19:13:15.251Z] [INFO] | | | \- org.apache.maven.wagon:wagon-provider-api:jar:3.5.1:test
[2022-07-26T19:13:15.251Z] [INFO] | | \- org.apache.maven.wagon:wagon-file:jar:3.5.1:test
[2022-07-26T19:13:15.251Z] [INFO] | +- io.quarkus:quarkus-bootstrap-gradle-resolver:jar:2.11.0.Final:test
[2022-07-26T19:13:15.251Z] [INFO] | \- io.smallrye.common:smallrye-common-io:jar:1.13.0:compile
[2022-07-26T19:13:15.251Z] [INFO] +- org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.3.5:test
[2022-07-26T19:13:15.251Z] [INFO] +- io.quarkus:quarkus-test-common:jar:2.11.0.Final:test
[2022-07-26T19:13:15.251Z] [INFO] | \- io.quarkus:quarkus-core-deployment:jar:2.11.0.Final:test
[2022-07-26T19:13:15.251Z] [INFO] | +- org.aesh:readline:jar:2.2:test
[2022-07-26T19:13:15.251Z] [INFO] | | \- org.fusesource.jansi:jansi:jar:1.18:test
[2022-07-26T19:13:15.251Z] [INFO] | +- org.aesh:aesh:jar:2.6:test
[2022-07-26T19:13:15.251Z] [INFO] | +- org.apache.commons:commons-lang3:jar:3.12.0:compile
[2022-07-26T19:13:15.251Z] [INFO] | +- org.ow2.asm:asm:jar:9.3:compile
[2022-07-26T19:13:15.251Z] [INFO] | +- org.ow2.asm:asm-commons:jar:9.3:test
[2022-07-26T19:13:15.251Z] [INFO] | | +- org.ow2.asm:asm-tree:jar:9.3:compile
[2022-07-26T19:13:15.251Z] [INFO] | | \- org.ow2.asm:asm-analysis:jar:9.3:compile
[2022-07-26T19:13:15.251Z] [INFO] | +- io.quarkus:quarkus-class-change-agent:jar:2.11.0.Final:test
[2022-07-26T19:13:15.251Z] [INFO] | +- io.quarkus:quarkus-devtools-utilities:jar:2.11.0.Final:test
[2022-07-26T19:13:15.251Z] [INFO] | +- io.quarkus:quarkus-builder:jar:2.11.0.Final:test
[2022-07-26T19:13:15.251Z] [INFO] | \- org.junit.platform:junit-platform-launcher:jar:1.8.2:test
[2022-07-26T19:13:15.251Z] [INFO] +- io.quarkus:quarkus-junit5-properties:jar:2.11.0.Final:test
[2022-07-26T19:13:15.251Z] [INFO] +- org.junit.jupiter:junit-jupiter:jar:5.8.2:test
[2022-07-26T19:13:15.251Z] [INFO] | +- org.junit.jupiter:junit-jupiter-api:jar:5.8.2:test
[2022-07-26T19:13:15.251Z] [INFO] | | +- org.opentest4j:opentest4j:jar:1.2.0:test
[2022-07-26T19:13:15.251Z] [INFO] | | +- org.junit.platform:junit-platform-commons:jar:1.8.2:test
[2022-07-26T19:13:15.251Z] [INFO] | | \- org.apiguardian:apiguardian-api:jar:1.1.2:test
[2022-07-26T19:13:15.251Z] [INFO] | +- org.junit.jupiter:junit-jupiter-params:jar:5.8.2:test
[2022-07-26T19:13:15.251Z] [INFO] | \- org.junit.jupiter:junit-jupiter-engine:jar:5.8.2:test
[2022-07-26T19:13:15.251Z] [INFO] | \- org.junit.platform:junit-platform-engine:jar:1.8.2:test
[2022-07-26T19:13:15.251Z] [INFO] \- com.thoughtworks.xstream:xstream:jar:1.4.19:compile
[2022-07-26T19:13:15.251Z] [INFO] \- io.github.x-stream:mxparser:jar:1.2.2:compile
[2022-07-26T19:13:15.251Z] [INFO] \- xmlpull:xmlpull:jar:1.1.3.1:compile
[2022-07-26T19:13:15.251Z] [INFO]
[2022-07-26T19:13:15.251Z] [INFO] ----------------
[2022-07-26T19:13:15.251Z] [INFO] Building Kogito Example :: Serverless Workflow 2.0.0-SNAPSHOT [47/47]
[2022-07-26T19:13:15.251Z] [INFO] --------------------------------[ pom ]---------------------------------
[2022-07-26T19:13:15.251Z] [INFO]
[2022-07-26T19:13:15.251Z] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ serverless-workflow-examples ---
[2022-07-26T19:13:15.251Z] [INFO]
[2022-07-26T19:13:15.251Z] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-versions) @ serverless-workflow-examples ---
[2022-07-26T19:13:15.251Z] [INFO]
[2022-07-26T19:13:15.251Z] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-java-version) @ serverless-workflow-examples ---
[2022-07-26T19:13:15.251Z] [INFO]
[2022-07-26T19:13:15.251Z] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-maven-version) @ serverless-workflow-examples ---
[2022-07-26T19:13:15.251Z] [INFO]
[2022-07-26T19:13:15.251Z] [INFO] --- maven-checkstyle-plugin:3.1.1:check (default) @ serverless-workflow-examples ---
[2022-07-26T19:13:15.251Z] [INFO] You have 0 Checkstyle violations.
[2022-07-26T19:13:15.251Z] [INFO]
[2022-07-26T19:13:15.251Z] [INFO] --- buildnumber-maven-plugin:1.4:create (get-scm-revision) @ serverless-workflow-examples ---
[2022-07-26T19:13:15.251Z] [INFO]
[2022-07-26T19:13:15.251Z] [INFO] --- formatter-maven-plugin:2.13.0:format (default) @ serverless-workflow-examples ---
[2022-07-26T19:13:15.251Z] [INFO] Using 'UTF-8' encoding to format source files.
[2022-07-26T19:13:15.251Z] [INFO] Number of files to be formatted: 0
[2022-07-26T19:13:15.251Z] [INFO]
[2022-07-26T19:13:15.251Z] [INFO] --- impsort-maven-plugin:1.5.0:sort (default) @ serverless-workflow-examples ---
[2022-07-26T19:13:15.251Z] [INFO] Using compiler compliance level: JAVA_11
[2022-07-26T19:13:15.251Z] [INFO] Total Files Processed: 0 in 00:00.000
[2022-07-26T19:13:15.252Z] [INFO] Already Sorted: 0
[2022-07-26T19:13:15.252Z] [INFO] Needed Sorting: 0
[2022-07-26T19:13:15.252Z] [INFO]
[2022-07-26T19:13:15.252Z] [INFO] --- maven-jar-plugin:3.1.0:test-jar (test-jar) @ serverless-workflow-examples ---
[2022-07-26T19:13:15.252Z] [INFO] Skipping packaging of the test-jar
[2022-07-26T19:13:15.252Z] [INFO]
[2022-07-26T19:13:15.252Z] [INFO] --- maven-source-plugin:3.0.1:jar-no-fork (attach-sources) @ serverless-workflow-examples ---
[2022-07-26T19:13:15.252Z] [INFO]
[2022-07-26T19:13:15.252Z] [INFO] --- maven-source-plugin:3.0.1:test-jar-no-fork (attach-test-sources) @ serverless-workflow-examples ---
[2022-07-26T19:13:15.252Z] [INFO]
[2022-07-26T19:13:15.252Z] [INFO] --- maven-failsafe-plugin:3.0.0-M5:integration-test (integration-test) @ serverless-workflow-examples ---
[2022-07-26T19:13:15.252Z] [INFO] No tests to run.
[2022-07-26T19:13:15.252Z] [INFO]
[2022-07-26T19:13:15.252Z] [INFO] --- maven-failsafe-plugin:3.0.0-M5:integration-test (default) @ serverless-workflow-examples ---
[2022-07-26T19:13:15.252Z] [INFO] No tests to run.
[2022-07-26T19:13:15.252Z] [INFO] Skipping execution of surefire because it has already been run for this configuration
[2022-07-26T19:13:15.252Z] [INFO]
[2022-07-26T19:13:15.252Z] [INFO] --- maven-failsafe-plugin:3.0.0-M5:verify (integration-test) @ serverless-workflow-examples ---
[2022-07-26T19:13:15.252Z] [INFO] Failsafe report directory: /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-examples.tests.kogito-examples/bc/kiegroup_kogito_examples/kogito-examples-events/serverless-workflow-examples/target/failsafe-reports
[2022-07-26T19:13:15.252Z] [INFO]
[2022-07-26T19:13:15.252Z] [INFO] --- maven-failsafe-plugin:3.0.0-M5:verify (default) @ serverless-workflow-examples ---
[2022-07-26T19:13:15.252Z] [INFO] Failsafe report directory: /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-examples.tests.kogito-examples/bc/kiegroup_kogito_examples/kogito-examples-events/serverless-workflow-examples/target/failsafe-reports
[2022-07-26T19:13:15.252Z] [INFO]
[2022-07-26T19:13:15.252Z] [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ serverless-workflow-examples ---
[2022-07-26T19:13:15.252Z] [INFO] Installing /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-examples.tests.kogito-examples/bc/kiegroup_kogito_examples/kogito-examples-events/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-07-26T19:13:15.252Z] [INFO]
[2022-07-26T19:13:15.252Z] [INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ serverless-workflow-examples ---
[2022-07-26T19:13:15.252Z] [INFO] org.kie.kogito.examples:serverless-workflow-examples:pom:2.0.0-SNAPSHOT
[2022-07-26T19:13:15.252Z] [INFO] ------------------------------------------------------------------------
[2022-07-26T19:13:15.252Z] [INFO] Reactor Summary for Kogito Example 2.0.0-SNAPSHOT:
[2022-07-26T19:13:15.252Z] [INFO]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example ..................................... SUCCESS [ 1.394 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Quarkus .......................... SUCCESS [ 0.064 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Process and Quarkus .............. SUCCESS [ 26.968 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Spring Boot ...................... SUCCESS [ 0.037 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Process and Spring Boot .......... SUCCESS [ 23.434 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Serverless Workflow Annotations and Description:: Quarkus SUCCESS [ 14.257 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Serverless Workflow Callback :: Quarkus SUCCESS [ 19.948 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Serverless Workflow Compensation :: Quarkus SUCCESS [ 11.993 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Serverless Workflow Consuming Events Over HTTP :: Quarkus SUCCESS [ 13.346 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Serverless Workflow Correlation :: Quarkus SUCCESS [ 23.308 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Serverless Workflow Error :: Quarkus SUCCESS [ 12.075 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Serverless Workflow Events :: Quarkus SUCCESS [ 17.904 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Serverless Workflow Expression :: Quarkus SUCCESS [ 12.599 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Serverless Workflow For Each :: Quarkus SUCCESS [ 11.569 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Serverless Workflow Functions And Events :: Quarkus SUCCESS [ 24.739 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Serverless Workflow Functions :: Quarkus SUCCESS [ 13.255 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Serverless Workflow :: Funqy ..... SUCCESS [ 0.004 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Serverless Workflow :: Funqy :: Services SUCCESS [ 8.152 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Serverless Workflow :: Funqy :: Workflow SUCCESS [ 15.730 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Serverless Workflow Github Showcase SUCCESS [ 0.005 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Serverless Workflow Github Showcase :: PR Checker Workflow SUCCESS [ 20.083 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Serverless Workflow Github Showcase :: GitHub Service SUCCESS [ 9.599 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Serverless Workflow Github Showcase :: Notification Service SUCCESS [ 2.515 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Serverless Workflow Greeting :: Quarkus SUCCESS [ 12.624 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Serverless Workflow grpc example . SUCCESS [ 0.004 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Serverless Workflow Greeting :: gRPC Server:: Quarkus SUCCESS [ 2.986 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Serverless Workflow Greeting :: gRPC Client:: Quarkus FAILURE [ 16.873 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Serverless Workflow Order Processing SUCCESS [ 17.251 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Serverless Workflow Order Saga :: Quarkus SUCCESS [ 13.288 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Serverless Workflow Service Calls :: Quarkus SUCCESS [ 18.068 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Serverless Workflow Temperature Conversion SUCCESS [ 0.004 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Serverless Workflow Temperature Conversion :: Subtraction Service SUCCESS [ 9.668 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Serverless Workflow Temperature Conversion :: Multiplication Service SUCCESS [ 9.039 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Serverless Workflow Temperature Conversion :: Conversion Service SUCCESS [ 16.867 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Serverless Workflow Temperature Conversion :: Conversion Full Service SUCCESS [ 16.845 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Serverless Workflow Temperature Conversion :: Conversion Function Service SUCCESS [ 16.783 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Serverless Workflow Temperature Conversion :: Conversion Spec Service SUCCESS [ 16.717 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Serverless Workflow Query and Answer Showcase SUCCESS [ 0.004 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Serverless Workflow Query and Answer :: Workflow Service SUCCESS [ 21.368 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Serverless Workflow Query and Answer :: Query Service SUCCESS [ 13.358 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Serverless Workflow Newsletter Subscription Showcase SUCCESS [ 0.004 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Serverless Workflow Newsletter Subscription :: Subscription Service SUCCESS [ 12.173 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Serverless Workflow Newsletter Subscription :: Subscription Flow SUCCESS [ 21.191 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Serverless Workflow Oauth2 Orchestration Example SUCCESS [ 0.005 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Serverless Workflow Oauth2 Orchestration Example :: ACME Financial Service SUCCESS [ 25.603 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Serverless Workflow Oauth2 Orchestration Example :: Currency Exchange SUCCESS [ 7.556 s]
[2022-07-26T19:13:15.252Z] [INFO] Kogito Example :: Serverless Workflow .............. SUCCESS [ 0.034 s]
[2022-07-26T19:13:15.252Z] [INFO] ------------------------------------------------------------------------
[2022-07-26T19:13:15.252Z] [INFO] BUILD FAILURE
[2022-07-26T19:13:15.252Z] [INFO] ------------------------------------------------------------------------
[2022-07-26T19:13:15.252Z] [INFO] Total time: 09:13 min
[2022-07-26T19:13:15.252Z] [INFO] Finished at: 2022-07-26T15:13:13-04:00
[2022-07-26T19:13:15.252Z] [INFO] ------------------------------------------------------------------------
[2022-07-26T19:13:15.252Z] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:3.0.0-M7:verify (default) on project serverless-workflow-greeting-client-rpc-quarkus: There are test failures.
[2022-07-26T19:13:15.252Z] [ERROR]
[2022-07-26T19:13:15.252Z] [ERROR] Please refer to /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-examples.tests.kogito-examples/bc/kiegroup_kogito_examples/kogito-examples-events/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-client-rpc-quarkus/target/failsafe-reports for the individual test results.
[2022-07-26T19:13:15.252Z] [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[2022-07-26T19:13:15.252Z] [ERROR] -> [Help 1]
[2022-07-26T19:13:15.252Z] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:3.0.0-M7:verify (default) on project serverless-workflow-greeting-client-rpc-quarkus: There are test failures.
[2022-07-26T19:13:15.252Z]
[2022-07-26T19:13:15.252Z] Please refer to /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-examples.tests.kogito-examples/bc/kiegroup_kogito_examples/kogito-examples-events/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-client-rpc-quarkus/target/failsafe-reports for the individual test results.
[2022-07-26T19:13:15.252Z] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[2022-07-26T19:13:15.252Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:375)
[2022-07-26T19:13:15.252Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
[2022-07-26T19:13:15.252Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
[2022-07-26T19:13:15.252Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
[2022-07-26T19:13:15.252Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
[2022-07-26T19:13:15.252Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[2022-07-26T19:13:15.252Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
[2022-07-26T19:13:15.252Z] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
[2022-07-26T19:13:15.252Z] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
[2022-07-26T19:13:15.252Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294)
[2022-07-26T19:13:15.252Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
[2022-07-26T19:13:15.252Z] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
[2022-07-26T19:13:15.252Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
[2022-07-26T19:13:15.252Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
[2022-07-26T19:13:15.252Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
[2022-07-26T19:13:15.252Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2022-07-26T19:13:15.252Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2022-07-26T19:13:15.252Z] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2022-07-26T19:13:15.252Z] at java.lang.reflect.Method.invoke (Method.java:566)
[2022-07-26T19:13:15.252Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
[2022-07-26T19:13:15.252Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
[2022-07-26T19:13:15.252Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
[2022-07-26T19:13:15.252Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[2022-07-26T19:13:15.252Z] Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.
[2022-07-26T19:13:15.252Z]
[2022-07-26T19:13:15.252Z] Please refer to /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-examples.tests.kogito-examples/bc/kiegroup_kogito_examples/kogito-examples-events/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-client-rpc-quarkus/target/failsafe-reports for the individual test results.
[2022-07-26T19:13:15.252Z] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[2022-07-26T19:13:15.252Z] at org.apache.maven.plugin.surefire.SurefireHelper.throwException (SurefireHelper.java:283)
[2022-07-26T19:13:15.252Z] at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution (SurefireHelper.java:171)
[2022-07-26T19:13:15.252Z] at org.apache.maven.plugin.failsafe.VerifyMojo.execute (VerifyMojo.java:201)
[2022-07-26T19:13:15.252Z] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
[2022-07-26T19:13:15.252Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
[2022-07-26T19:13:15.252Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
[2022-07-26T19:13:15.252Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
[2022-07-26T19:13:15.252Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
[2022-07-26T19:13:15.253Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
[2022-07-26T19:13:15.253Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[2022-07-26T19:13:15.253Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
[2022-07-26T19:13:15.253Z] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
[2022-07-26T19:13:15.253Z] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
[2022-07-26T19:13:15.253Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294)
[2022-07-26T19:13:15.253Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
[2022-07-26T19:13:15.253Z] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
[2022-07-26T19:13:15.253Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
[2022-07-26T19:13:15.253Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
[2022-07-26T19:13:15.253Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
[2022-07-26T19:13:15.253Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2022-07-26T19:13:15.253Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2022-07-26T19:13:15.253Z] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2022-07-26T19:13:15.253Z] at java.lang.reflect.Method.invoke (Method.java:566)
[2022-07-26T19:13:15.253Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
[2022-07-26T19:13:15.253Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
[2022-07-26T19:13:15.253Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
[2022-07-26T19:13:15.253Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[2022-07-26T19:13:15.253Z] [ERROR]
[2022-07-26T19:13:15.253Z] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[2022-07-26T19:13:15.253Z] [ERROR]
[2022-07-26T19:13:15.253Z] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[2022-07-26T19:13:15.253Z] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[2022-07-26T19:13:15.253Z] [ERROR]
[2022-07-26T19:13:15.253Z] [ERROR] After correcting the problems, you can resume the build with the command
[2022-07-26T19:13:15.253Z] [ERROR] mvn
[2022-07-26T19:13:15.521Z] ::error title= [kiegroup/kogito-examples] [Execution ERROR]::bash -c "if [ '' != 'true' ]; then mvn -f kogito-examples-events/pom.xml clean install -Pevents -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-07-26T19:13:15.521Z] [INFO] Archive artifact won't be executed
[2022-07-26T19:13:15.521Z] ::group::[Pull Request Flow] Execution Summary...
[2022-07-26T19:13:15.521Z] [INFO] ----------------------------------------------
[2022-07-26T19:13:15.521Z] [INFO] [kiegroup/drools]. Execution Result: ok. Time: 2m 37.7s (157772 ms)
[2022-07-26T19:13:15.521Z] [INFO] [kiegroup/kogito-runtimes]. Execution Result: ok. Time: 2m 39.6s (159629 ms)
[2022-07-26T19:13:15.521Z] [INFO] [kiegroup/kogito-apps]. Execution Result: ok. Time: 2m 28.8s (148839 ms)
[2022-07-26T19:13:15.521Z] [INFO] [kiegroup/kogito-examples]. Execution Result: error. Time: 1h 4m 3.1s (3843126 ms)
[2022-07-26T19:13:15.521Z] [INFO] ----------------------------------------------
[2022-07-26T19:13:15.521Z] ::endgroup::
[2022-07-26T19:13:15.775Z] [ERROR] [kiegroup/kogito-examples] error executing command: 'bash -c "if [ '' != 'true' ]; then mvn -f kogito-examples-events/pom.xml clean install -Pevents -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-07-26T19:13:15.775Z] [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-events/pom.xml clean install -Pevents -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-07-26T19:13:15.881Z] Deleting 1 temporary files
[Pipeline] // configFileProvider
[Pipeline] }
[Pipeline] // script
Post stage
[Pipeline] junit
[2022-07-26T19:13:16.008Z] Recording test results
[2022-07-26T19:13:20.851Z] [Checks API] No suitable checks publisher found.
[Pipeline] archiveArtifacts
[2022-07-26T19:13:20.875Z] Archiving artifacts
[Pipeline] script
[Pipeline] {
[Pipeline] sh
[2022-07-26T19:13:23.342Z] + rm -rf console.log
[Pipeline] sh
[2022-07-26T19:13:23.651Z] + 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-examples.tests.kogito-examples/180/consoleText
[2022-07-26T19:13:23.651Z] + tail -n 300