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

[DROOLS-5378] Alpha Node ordering #2954

Closed
wants to merge 7 commits into from
Closed

Conversation

tkobayas
Copy link
Contributor

Added Alpha Node Ordering. By default, alpha nodes are reordered based on usage count (AlphaNodeOrderingOption.COUNT). If you set AlphaNodeOrderingOption.NONE as KieBaseOption, alpha nodes will not be reordered (= The order will be the same as written in rules).

CountBasedOrderingStrategy.analyzeAlphaConstraints() : Counts usage count of alpha constraints in all rules
CountBasedOrderingStrategy.reorderAlphaConstraints() : Reorder alpha constraints right before creating AlphaNodes.

See kiegroup/droolsjbpm-knowledge#446

This is a draft implementation. I will need to do some more work in analyzeAlphaConstraints() and add more unit tests. But a basic use case (= alpha constraints inside Pattern) works fine.

@tkobayas
Copy link
Contributor Author

Jenkins test again

1 similar comment
@tkobayas
Copy link
Contributor Author

Jenkins test again

@tkobayas
Copy link
Contributor Author

@mdproctor @mariofusco @lucamolteni
I introduced AlphaNodeOrderingStrategy interface. Currently there are 2 implementations. CountBasedOrderingStrategy (= reorder based on usage count) and NoopOrderingStrategy (= keep the default order). Users can choose the strategy with AlphaNodeOrderingOption.COUNT or AlphaNodeOrderingOption.NONE.

With rules like this (https://github.com/tkobayas/kie-benchmarks/blob/DROOLS-5378-tmp/drools-benchmarks/src/main/java/org/drools/benchmarks/session/AlphaNodeOrderingBenchmark.java)

rule R0 when $a : A( value != 0, value != 1, value != 2, value != 3, value != 4, value != 5, value != 6, value != 7, value != 8, value != 9) then end
rule R1 when $a : A( value != 1, value != 2, value != 3, value != 4, value != 5, value != 6, value != 7, value != 8, value != 9) then end
...
rule R7 when $a : A( value != 7, value != 8, value != 9) then end
rule R8 when $a : A( value != 8, value != 9) then end
rule R9 when $a : A( value != 9) then end

Without reordering, the number of alphaNode is 55. With CountBasedOrderingStrategy, the number of alphaNode is 10. I also did benchmark with 10 rules and 30 rules. It's a great improvement.

Benchmark                        (enableAlphaNodeOdering)  (factsNr)  (rulesNr)  Mode   Cnt   Score   Error  Units
AlphaNodeOrderingBenchmark.test                      true       1000         10    ss  1000   1.348 ± 0.091  ms/op
AlphaNodeOrderingBenchmark.test                     false       1000         10    ss  1000   2.176 ± 0.098  ms/op

AlphaNodeOrderingBenchmark.test                      true       1000         30    ss  1000   4.382 ± 0.108  ms/op
AlphaNodeOrderingBenchmark.test                     false       1000         30    ss  1000  20.171 ± 0.313  ms/op

This draft implementation has some test failures at the moment but I'd like to hear your thoughts:

Failing tests are AlphaNodeOrderingTest.testNullCheck() and testInstanceof(). They are rules where constraints "order" is important. As you see in the test cases, these rules want to check null or class first. If constrains are reordered, rules hit an unexpected error. So,

  1. Default option is AlphaNodeOrderingOption.NONE (= don't reorder). Right?

Users don't want to hit rule behavior changes just by upgrading version. So reordering is opt-in. The above null-check and class-check are just an example and there could be other cases where "order" is important for users.

  1. Should CountBasedOrderingStrategy implement logic to avoid testNullCheck() and testInstanceof() errors?

For example, I can write like "Don't reorder if constraints expression contains 'null' or 'instanceof'" for standard-drl. However, it would be difficult for executable-model. If needed, I would enhance externalized lambda to have a new field to hold the original expression. Hmm, it may be too much enhancement?

Note that null-check and class-check don't become a problem very often because such checks are used frequently so its usage count is usually larger than or equals to other constraints (so placed earlier).

  1. Need to be able to plug a custom strategy class by users?

AlphaNodeOrderingStrategy is pluggable so we can add other strategy implementations. But it will require drools build so basically it's for core developers. Is it enough? Or do we want to allow users to plug a custom strategy class? I can implement it by adding an option like AlphaNodeOrderingOption.CUSTOM and a property to specify a FQCN. Please let me know your thoughts.

Thanks!

@@ -951,6 +961,13 @@ private void internalAddPackages(Collection<InternalKnowledgePackage> clonedPkgs
}
}

private Set<Rule> collectRules(Map<String, InternalKnowledgePackage> pkgs, Collection<InternalKnowledgePackage> newPkgs) {
Copy link
Contributor

Choose a reason for hiding this comment

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

In case of noop reorder we are calling this potentially expensive method for no reason. What about also moving the logic implemented by this method inside the strategy?

@sonarcloud
Copy link

sonarcloud bot commented Jul 7, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 2 Code Smells

83.1% 83.1% Coverage
0.0% 0.0% Duplication

warning The version of Java (1.8.0_202) you have used to run this analysis is deprecated and we will stop accepting it from October 2020. Please update to at least Java 11.
Read more here

@baldimir
Copy link
Contributor

Hi, this pull request is now more than two years old. Is it still relevant please?

@kie-ci3
Copy link

kie-ci3 commented Aug 19, 2022

(tests) - drools job #441 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.drools/441/display/redirect
See console log:

Console Logs Checking out Revision 206d8e531ba94ec816f3b94266a48e26c8cd0952 (main)
> git config core.sparsecheckout # timeout=10
> git checkout -f 206d8e531ba94ec816f3b94266a48e26c8cd0952 # timeout=10
Commit message: "Added util.calculateTargetReleaseBranch method (#217)"
> git rev-list --no-walk 206d8e531ba94ec816f3b94266a48e26c8cd0952 # timeout=10
[Pipeline] Start of Pipeline
[Pipeline] node
Still waiting to schedule task
Waiting for next available executor on ‘kie-rhel7&&kie-mem16g&&!master’
Running on rhos-01-kie-psi-rhel7-xlarge-301 in /home/jenkins/workspace/KIE/kogito/main/pullrequest/drools.tests.drools
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
The recommended git tool is: NONE
using credential kie-ci
Cloning the remote Git repository
Cloning repository https://github.com/kiegroup/kogito-pipelines.git
> git init /home/jenkins/workspace/KIE/kogito/main/pullrequest/drools.tests.drools # timeout=10
Fetching upstream changes from https://github.com/kiegroup/kogito-pipelines.git
> git --version # timeout=10
> git --version # 'git version 2.37.1'
using GIT_ASKPASS to set credentials PSSWD: kie-ci service account with access to jboss-integration private github space
> git fetch --tags --force --progress -- https://github.com/kiegroup/kogito-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
Checking out Revision cecaf90 (origin/main)
> git config remote.origin.url https://github.com/kiegroup/kogito-pipelines.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse origin/main^{commit} # timeout=10
> git config core.sparsecheckout # timeout=10
> git checkout -f cecaf90 # timeout=10
Commit message: "version.io.quarkus.quarkus-test-maven to version.io.quarkus.quarkus-test (#583)"
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] timestamps
[Pipeline] {
[Pipeline] timeout
[2022-08-19T07:45:43.834Z] Timeout set to expire in 3 hr 0 min
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Tool Install)
[Pipeline] tool
[2022-08-19T07:45:43.925Z] Installing NodeJS from /var/lib/jenkins/caches/nodejs/LINUX/amd64/16.2.0.tar.gz to /home/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/nodejs-16.2.0 on rhos-01-kie-psi-rhel7-xlarge-301
[Pipeline] envVarsForTool
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Initialize)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] sh
[2022-08-19T07:45:47.547Z] + printenv
[Pipeline] archiveArtifacts
[2022-08-19T07:45:47.657Z] Archiving artifacts
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (check space before build)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] dir
[2022-08-19T07:45:48.387Z] Running in /home/jenkins/workspace/KIE/kogito/main/pullrequest/drools.tests.drools
[Pipeline] {
[Pipeline] echo
[2022-08-19T07:45:48.414Z] [INFO] space left on the machine
[Pipeline] sh
[2022-08-19T07:45:48.700Z] + df -h
[2022-08-19T07:45:48.700Z] Filesystem Size Used Avail Use% Mounted on
[2022-08-19T07:45:48.700Z] devtmpfs 7.8G 0 7.8G 0% /dev
[2022-08-19T07:45:48.700Z] tmpfs 7.8G 0 7.8G 0% /dev/shm
[2022-08-19T07:45:48.700Z] tmpfs 7.8G 17M 7.8G 1% /run
[2022-08-19T07:45:48.700Z] tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
[2022-08-19T07:45:48.700Z] /dev/vda1 80G 19G 62G 24% /
[2022-08-19T07:45:48.700Z] tmpfs 1.6G 0 1.6G 0% /run/user/1000
[Pipeline] echo
[2022-08-19T07:45:48.717Z] [INFO] space of /home/jenkins
[Pipeline] sh
[2022-08-19T07:45:49.027Z] + du -h -d1 /home/jenkins
[2022-08-19T07:45:49.027Z] 4.0K /home/jenkins/.ssh
[2022-08-19T07:45:49.027Z] 0 /home/jenkins/go
[2022-08-19T07:45:49.027Z] 8.0K /home/jenkins/.vnc
[2022-08-19T07:45:49.027Z] 8.0K /home/jenkins/.m2
[2022-08-19T07:45:49.027Z] 2.1G /home/jenkins/git-repos
[2022-08-19T07:45:49.027Z] 8.0K /home/jenkins/.config
[2022-08-19T07:45:49.027Z] 4.0K /home/jenkins/.cekit
[2022-08-19T07:45:49.286Z] 82M /home/jenkins/virtenvs
[2022-08-19T07:45:49.286Z] 30M /home/jenkins/remoting
[2022-08-19T07:45:49.286Z] 0 /home/jenkins/.cache
[2022-08-19T07:45:49.286Z] 2.7M /home/jenkins/workspace
[2022-08-19T07:45:49.286Z] 0 /home/jenkins/.pki
[2022-08-19T07:45:49.286Z] 100M /home/jenkins/tools
[2022-08-19T07:45:49.286Z] 0 /home/jenkins/caches
[2022-08-19T07:45:49.286Z] 2.3G /home/jenkins
[Pipeline] echo
[2022-08-19T07:45:49.326Z] [INFO] space of workspace
[Pipeline] sh
[2022-08-19T07:45:49.661Z] + du -h -d3 /home/jenkins/workspace
[2022-08-19T07:45:49.661Z] 2.7M /home/jenkins/workspace/KIE/kogito/main
[2022-08-19T07:45:49.661Z] 2.7M /home/jenkins/workspace/KIE/kogito
[2022-08-19T07:45:49.661Z] 2.7M /home/jenkins/workspace/KIE
[2022-08-19T07:45:49.661Z] 2.7M /home/jenkins/workspace
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Install build-chain tool)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] echo
[2022-08-19T07:45:50.004Z] [INFO] Getting build-chain version from composite action file
[Pipeline] readFile
[Pipeline] echo
[2022-08-19T07:45:50.198Z] [INFO] build-chain version recovered '2.3.34'
[Pipeline] sh
[2022-08-19T07:45:50.511Z] + npm install -g @kie/[email protected] -registry=https://repository.engineering.redhat.com/nexus/repository/registry.npmjs.org/
[2022-08-19T07:45:51.896Z] npm WARN ERESOLVE overriding peer dependency
[2022-08-19T07:45:51.896Z] npm WARN Found: @octokit/[email protected]
[2022-08-19T07:45:51.896Z] npm WARN node_modules/@kie/build-chain-action/node_modules/@octokit/core
[2022-08-19T07:45:51.896Z] npm WARN @octokit/core@"^2.4.3" from @octokit/[email protected]
[2022-08-19T07:45:51.896Z] npm WARN node_modules/@kie/build-chain-action/node_modules/@octokit/rest
[2022-08-19T07:45:51.896Z] npm WARN @octokit/rest@"^17.6.0" from @kie/[email protected]
[2022-08-19T07:45:51.896Z] npm WARN node_modules/@kie/build-chain-action
[2022-08-19T07:45:51.896Z] npm WARN 1 more (@kie/build-chain-configuration-reader)
[2022-08-19T07:45:51.896Z] npm WARN 1 more (@octokit/plugin-paginate-rest)
[2022-08-19T07:45:51.896Z] npm WARN
[2022-08-19T07:45:51.896Z] npm WARN Could not resolve dependency:
[2022-08-19T07:45:51.896Z] npm WARN peer @octokit/core@">=3" from @octokit/[email protected]
[2022-08-19T07:45:51.896Z] npm WARN node_modules/@kie/build-chain-action/node_modules/@octokit/plugin-request-log
[2022-08-19T07:45:51.896Z] npm WARN @octokit/plugin-request-log@"^1.0.0" from @octokit/[email protected]
[2022-08-19T07:45:51.896Z] npm WARN node_modules/@kie/build-chain-action/node_modules/@octokit/rest
[2022-08-19T07:45:56.104Z]
[2022-08-19T07:45:56.104Z] added 111 packages, and audited 112 packages in 5s
[2022-08-19T07:45:56.104Z]
[2022-08-19T07:45:56.104Z] 5 packages are looking for funding
[2022-08-19T07:45:56.104Z] run `npm fund` for details
[2022-08-19T07:45:56.104Z]
[2022-08-19T07:45:56.104Z] found 0 vulnerabilities
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build projects)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] echo
[2022-08-19T07:45:56.490Z] BUILD_MVN_OPTS_CURRENT = -Prun-code-coverage
[Pipeline] configFileProvider
[2022-08-19T07:45:56.503Z] provisioning config files...
[2022-08-19T07:45:56.512Z] copy managed file [kogito_pr_settings] to file:/home/jenkins/workspace/KIE/kogito/main/pullrequest/drools.tests.drools@tmp/config6081120559811971607tmp
[Pipeline] {
[Pipeline] withCredentials
[2022-08-19T07:45:56.540Z] Masking supported pattern matches of $GITHUB_TOKEN
[Pipeline] {
[Pipeline] sh
[2022-08-19T07:45:56.570Z] Warning: A secret was passed to "sh" using Groovy String interpolation, which is insecure.
[2022-08-19T07:45:56.570Z] Affected argument(s) used the following variable(s): [GITHUB_TOKEN]
[2022-08-19T07:45:56.570Z] See https://jenkins.io/redirect/groovy-string-interpolation for details.
[2022-08-19T07:45:56.934Z] + build-chain-action -token=**** -df=https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml -folder=bc build pr -url=https://github.com/kiegroup/drools/pull/2954 -sp=kiegroup/drools --skipParallelCheckout -cct '(^mvn .*)||$1 -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/drools.tests.drools@tmp/config6081120559811971607tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true'
[2022-08-19T07:45:57.357Z] [INFO] Executing pull request flow for https://github.com/kiegroup/drools/pull/2954 in bc
[2022-08-19T07:45:57.357Z] (node:8216) Warning: Accessing non-existent property 'ClientError' of module exports inside circular dependency
[2022-08-19T07:45:57.357Z] (Use `node --trace-warnings ...` to show where the warning was created)
[2022-08-19T07:45:58.077Z] [INFO] https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml exists, using it
[2022-08-19T07:45:58.077Z] ::group::[PRE] Executing pre section for https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml
[2022-08-19T07:45:58.077Z] [INFO] Execute command 'export BUILD_MVN_OPTS=" -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"' in dir '/home/jenkins/workspace/KIE/kogito/main/pullrequest/drools.tests.drools'
[2022-08-19T07:45:58.077Z] [INFO] Treating export command since it's not possible to run it from the runner itself
[2022-08-19T07:45:58.077Z] [INFO] The variable BUILD_MVN_OPTS has been stored with ' -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' value
[2022-08-19T07:45:58.077Z] ::notice title= [PRE] [Execution OK]::export BUILD_MVN_OPTS=" -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"
[2022-08-19T07:45:58.077Z] [INFO] Execute command 'echo "BUILD_MVN_OPTS= -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"' in dir '/home/jenkins/workspace/KIE/kogito/main/pullrequest/drools.tests.drools'
[2022-08-19T07:45:58.077Z] [command]/usr/bin/echo BUILD_MVN_OPTS= -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
[2022-08-19T07:45:58.077Z] BUILD_MVN_OPTS= -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
[2022-08-19T07:45:58.077Z] ::notice title= [PRE] [Execution OK]::echo "BUILD_MVN_OPTS= -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"
[2022-08-19T07:45:58.078Z] [INFO] Execute command 'export BUILD_MVN_OPTS_CURRENT="-Prun-code-coverage"' in dir '/home/jenkins/workspace/KIE/kogito/main/pullrequest/drools.tests.drools'
[2022-08-19T07:45:58.078Z] [INFO] Treating export command since it's not possible to run it from the runner itself
[2022-08-19T07:45:58.078Z] [INFO] The variable BUILD_MVN_OPTS_CURRENT has been stored with '-Prun-code-coverage' value
[2022-08-19T07:45:58.078Z] ::notice title= [PRE] [Execution OK]::export BUILD_MVN_OPTS_CURRENT="-Prun-code-coverage"
[2022-08-19T07:45:58.078Z] [INFO] Execute command 'echo "BUILD_MVN_OPTS_CURRENT=-Prun-code-coverage"' in dir '/home/jenkins/workspace/KIE/kogito/main/pullrequest/drools.tests.drools'
[2022-08-19T07:45:58.078Z] [command]/usr/bin/echo BUILD_MVN_OPTS_CURRENT=-Prun-code-coverage
[2022-08-19T07:45:58.078Z] BUILD_MVN_OPTS_CURRENT=-Prun-code-coverage
[2022-08-19T07:45:58.078Z] ::notice title= [PRE] [Execution OK]::echo "BUILD_MVN_OPTS_CURRENT=-Prun-code-coverage"
[2022-08-19T07:45:58.078Z] ::endgroup::
[2022-08-19T07:45:58.078Z] ::group::[Pull Request Flow] Execution Plan...
[2022-08-19T07:45:58.078Z] [INFO] ----------------------------------------------
[2022-08-19T07:45:58.078Z] [INFO] [1] projects will be executed
[2022-08-19T07:45:58.078Z]
[2022-08-19T07:45:58.078Z] [INFO] [kiegroup/drools]
[2022-08-19T07:45:58.078Z] [INFO] Level Type: [current].
[2022-08-19T07:45:58.078Z] [INFO] mvn -f drools/pom.xml clean install -Dfull ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_CURRENT }} ${{ env.DROOLS_BUILD_MVN_OPTS }}
[2022-08-19T07:45:58.078Z] [INFO] [ �[32m'docker system prune -f'�[39m ]
[2022-08-19T07:45:58.078Z]
[2022-08-19T07:45:58.078Z] [INFO] ----------------------------------------------
[2022-08-19T07:45:58.078Z] ::endgroup::
[2022-08-19T07:45:58.078Z] ::group::[Pull Request Flow] Checking out kiegroup/drools and its dependencies
[2022-08-19T07:45:58.078Z] [INFO] Tree for project kiegroup/drools. Dependencies:
[2022-08-19T07:45:58.078Z] kiegroup/drools
[2022-08-19T07:45:58.078Z] [INFO] [kiegroup/drools] Checking out project
[2022-08-19T07:45:58.651Z] [INFO] [kiegroup/drools] Merging https://github.com/kiegroup/drools:main into https://github.com/tkobayas/drools:DROOLS-5378
[2022-08-19T07:46:20.618Z] [ERROR] command git pull --no-rebase https://****@github.com/tkobayas/drools DROOLS-5378 failed with code 1. Error Message: From https://github.com/tkobayas/drools
[2022-08-19T07:46:20.618Z] * branch DROOLS-5378 -> FETCH_HEAD
[2022-08-19T07:46:20.618Z] Auto-merging drools-compiler/src/main/java/org/drools/compiler/kie/builder/impl/AbstractKieModule.java
[2022-08-19T07:46:20.618Z] Auto-merging drools-compiler/src/main/java/org/drools/compiler/kproject/models/KieBaseModelImpl.java
[2022-08-19T07:46:20.618Z] CONFLICT (content): Merge conflict in drools-compiler/src/main/java/org/drools/compiler/kproject/models/KieBaseModelImpl.java
[2022-08-19T07:46:20.618Z] Auto-merging drools-core/src/main/java/org/drools/core/RuleBaseConfiguration.java
[2022-08-19T07:46:20.618Z] CONFLICT (content): Merge conflict in drools-core/src/main/java/org/drools/core/RuleBaseConfiguration.java
[2022-08-19T07:46:20.618Z] Auto-merging drools-core/src/main/java/org/drools/core/impl/KnowledgeBaseImpl.java
[2022-08-19T07:46:20.618Z] CONFLICT (content): Merge conflict in drools-core/src/main/java/org/drools/core/impl/KnowledgeBaseImpl.java
[2022-08-19T07:46:20.618Z] Auto-merging drools-core/src/main/java/org/drools/core/impl/RuleBase.java
[2022-08-19T07:46:20.618Z] CONFLICT (content): Merge conflict in drools-core/src/main/java/org/drools/core/impl/RuleBase.java
[2022-08-19T07:46:20.618Z] Auto-merging drools-core/src/main/java/org/drools/core/reteoo/builder/PatternBuilder.java
[2022-08-19T07:46:20.618Z] CONFLICT (content): Merge conflict in drools-core/src/main/java/org/drools/core/reteoo/builder/PatternBuilder.java
[2022-08-19T07:46:20.618Z] Auto-merging drools-core/src/main/java/org/drools/core/rule/Declaration.java
[2022-08-19T07:46:20.618Z] CONFLICT (content): Merge conflict in drools-core/src/main/java/org/drools/core/rule/Declaration.java
[2022-08-19T07:46:20.618Z] Auto-merging drools-core/src/main/java/org/drools/core/rule/PredicateConstraint.java
[2022-08-19T07:46:20.618Z] Auto-merging drools-model/drools-model-compiler/src/main/java/org/drools/modelcompiler/CanonicalKieModule.java
[2022-08-19T07:46:20.618Z] Auto-merging drools-test-coverage/test-compiler-integration/src/test/java/org/drools/mvel/compiler/conf/KnowledgeBaseConfigurationTest.java
[2022-08-19T07:46:20.618Z] CONFLICT (content): Merge conflict in drools-test-coverage/test-compiler-integration/src/test/java/org/drools/mvel/compiler/conf/KnowledgeBaseConfigurationTest.java
[2022-08-19T07:46:20.618Z] CONFLICT (file location): drools-core/src/main/java/org/drools/core/addon/AlphaNodeOrderingStrategy.java added in b22ec49 inside a directory that was renamed in HEAD, suggesting it should perhaps be moved to drools-util/src/main/java/org/drools/util/AlphaNodeOrderingStrategy.java.
[2022-08-19T07:46:20.618Z] CONFLICT (file location): drools-core/src/main/java/org/drools/core/addon/CountBasedOrderingStrategy.java added in b22ec49 inside a directory that was renamed in HEAD, suggesting it should perhaps be moved to drools-util/src/main/java/org/drools/util/CountBasedOrderingStrategy.java.
[2022-08-19T07:46:20.618Z] CONFLICT (file location): drools-core/src/main/java/org/drools/core/addon/NoopOrderingStrategy.java added in b22ec49 inside a directory that was renamed in HEAD, suggesting it should perhaps be moved to drools-util/src/main/java/org/drools/util/NoopOrderingStrategy.java.
[2022-08-19T07:46:20.618Z] Automatic merge failed; fix conflicts and then commit the result.
[2022-08-19T07:46:20.618Z]
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[2022-08-19T07:46:20.689Z] Deleting 1 temporary files
[Pipeline] // configFileProvider
[Pipeline] }
[Pipeline] // script
Post stage
[Pipeline] junit
[2022-08-19T07:46:20.776Z] Recording test results
[2022-08-19T07:46:21.303Z] No test report files were found. Configuration error?
Error when executing always post condition:
Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to rhos-01-kie-psi-rhel7-xlarge-301
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1797)
at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)
at hudson.remoting.Channel.call(Channel.java:1001)
at hudson.FilePath.act(FilePath.java:1166)
at hudson.FilePath.act(FilePath.java:1155)
at hudson.tasks.junit.JUnitParser.parseResult(JUnitParser.java:107)
at hudson.tasks.junit.JUnitResultArchiver.parse(JUnitResultArchiver.java:153)
at hudson.tasks.junit.JUnitResultArchiver.parseAndSummarize(JUnitResultArchiver.java:247)
at hudson.tasks.junit.pipeline.JUnitResultsStepExecution.run(JUnitResultsStepExecution.java:63)
at hudson.tasks.junit.pipeline.JUnitResultsStepExecution.run(JUnitResultsStepExecution.java:29)
at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
hudson.AbortException: No test report files were found. Configuration error?
at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:154)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3338)
at hudson.remoting.UserRequest.perform(UserRequest.java:211)
at hudson.remoting.UserRequest.perform(UserRequest.java:54)
at hudson.remoting.Request$2.run(Request.java:376)
at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)

[Pipeline] script
[Pipeline] {
[Pipeline] sh
[2022-08-19T07:46:21.625Z] + rm -rf console.log
[Pipeline] sh

@kie-ci3
Copy link

kie-ci3 commented Aug 19, 2022

(tests) - kogito-apps job #406 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-apps/406/display/redirect
See console log:

Console Logs The recommended git tool is: NONE
using credential kie-ci
Cloning the remote Git repository
Avoid second fetch
Checking out Revision cecaf90 (origin/main)
Cloning repository https://github.com/kiegroup/kogito-pipelines.git
> git init /home/jenkins/workspace/KIE/kogito/main/pullrequest/drools.tests.downstream.kogito-apps # timeout=10
Fetching upstream changes from https://github.com/kiegroup/kogito-pipelines.git
> git --version # timeout=10
> git --version # 'git version 2.37.1'
using GIT_ASKPASS to set credentials PSSWD: kie-ci service account with access to jboss-integration private github space
> git fetch --tags --force --progress -- https://github.com/kiegroup/kogito-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url https://github.com/kiegroup/kogito-pipelines.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse origin/main^{commit} # timeout=10
> git config core.sparsecheckout # timeout=10
> git checkout -f cecaf90 # timeout=10
Commit message: "version.io.quarkus.quarkus-test-maven to version.io.quarkus.quarkus-test (#583)"
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] timestamps
[Pipeline] {
[Pipeline] timeout
[2022-08-19T07:45:44.248Z] Timeout set to expire in 3 hr 30 min
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Tool Install)
[Pipeline] tool
[2022-08-19T07:45:44.351Z] Installing NodeJS from /var/lib/jenkins/caches/nodejs/LINUX/amd64/16.2.0.tar.gz to /home/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/nodejs-16.2.0 on rhos-01-kie-psi-rhel7-xlarge-303
[Pipeline] envVarsForTool
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Initialize)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] sh
[2022-08-19T07:45:48.233Z] + printenv
[Pipeline] archiveArtifacts
[2022-08-19T07:45:48.310Z] Archiving artifacts
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (check space before build)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] dir
[2022-08-19T07:45:48.955Z] Running in /home/jenkins/workspace/KIE/kogito/main/pullrequest/drools.tests.downstream.kogito-apps
[Pipeline] {
[Pipeline] echo
[2022-08-19T07:45:48.999Z] [INFO] space left on the machine
[Pipeline] sh
[2022-08-19T07:45:49.284Z] + df -h
[2022-08-19T07:45:49.284Z] Filesystem Size Used Avail Use% Mounted on
[2022-08-19T07:45:49.284Z] devtmpfs 7.8G 0 7.8G 0% /dev
[2022-08-19T07:45:49.284Z] tmpfs 7.8G 0 7.8G 0% /dev/shm
[2022-08-19T07:45:49.284Z] tmpfs 7.8G 17M 7.8G 1% /run
[2022-08-19T07:45:49.284Z] tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
[2022-08-19T07:45:49.284Z] /dev/vda1 80G 19G 62G 24% /
[2022-08-19T07:45:49.284Z] tmpfs 1.6G 0 1.6G 0% /run/user/1000
[Pipeline] echo
[2022-08-19T07:45:49.319Z] [INFO] space of /home/jenkins
[Pipeline] sh
[2022-08-19T07:45:49.604Z] + du -h -d1 /home/jenkins
[2022-08-19T07:45:49.605Z] 4.0K /home/jenkins/.ssh
[2022-08-19T07:45:49.605Z] 0 /home/jenkins/go
[2022-08-19T07:45:49.605Z] 8.0K /home/jenkins/.vnc
[2022-08-19T07:45:49.605Z] 8.0K /home/jenkins/.m2
[2022-08-19T07:45:49.605Z] 2.1G /home/jenkins/git-repos
[2022-08-19T07:45:49.605Z] 8.0K /home/jenkins/.config
[2022-08-19T07:45:49.605Z] 4.0K /home/jenkins/.cekit
[2022-08-19T07:45:49.865Z] 82M /home/jenkins/virtenvs
[2022-08-19T07:45:49.865Z] 30M /home/jenkins/remoting
[2022-08-19T07:45:49.865Z] 0 /home/jenkins/.cache
[2022-08-19T07:45:49.865Z] 2.7M /home/jenkins/workspace
[2022-08-19T07:45:49.865Z] 0 /home/jenkins/.pki
[2022-08-19T07:45:49.865Z] 100M /home/jenkins/tools
[2022-08-19T07:45:49.865Z] 0 /home/jenkins/caches
[2022-08-19T07:45:49.865Z] 2.3G /home/jenkins
[Pipeline] echo
[2022-08-19T07:45:49.898Z] [INFO] space of workspace
[Pipeline] sh
[2022-08-19T07:45:50.184Z] + du -h -d3 /home/jenkins/workspace
[2022-08-19T07:45:50.185Z] 2.7M /home/jenkins/workspace/KIE/kogito/main
[2022-08-19T07:45:50.185Z] 2.7M /home/jenkins/workspace/KIE/kogito
[2022-08-19T07:45:50.185Z] 2.7M /home/jenkins/workspace/KIE
[2022-08-19T07:45:50.185Z] 2.7M /home/jenkins/workspace
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Install build-chain tool)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] echo
[2022-08-19T07:45:50.516Z] [INFO] Getting build-chain version from composite action file
[Pipeline] readFile
[Pipeline] echo
[2022-08-19T07:45:50.591Z] [INFO] build-chain version recovered '2.3.34'
[Pipeline] sh
[2022-08-19T07:45:50.888Z] + npm install -g @kie/[email protected] -registry=https://repository.engineering.redhat.com/nexus/repository/registry.npmjs.org/
[2022-08-19T07:45:52.266Z] npm WARN ERESOLVE overriding peer dependency
[2022-08-19T07:45:52.266Z] npm WARN Found: @octokit/[email protected]
[2022-08-19T07:45:52.266Z] npm WARN node_modules/@kie/build-chain-action/node_modules/@octokit/core
[2022-08-19T07:45:52.266Z] npm WARN @octokit/core@"^2.4.3" from @octokit/[email protected]
[2022-08-19T07:45:52.266Z] npm WARN node_modules/@kie/build-chain-action/node_modules/@octokit/rest
[2022-08-19T07:45:52.266Z] npm WARN @octokit/rest@"^17.6.0" from @kie/[email protected]
[2022-08-19T07:45:52.266Z] npm WARN node_modules/@kie/build-chain-action
[2022-08-19T07:45:52.266Z] npm WARN 1 more (@kie/build-chain-configuration-reader)
[2022-08-19T07:45:52.266Z] npm WARN 1 more (@octokit/plugin-paginate-rest)
[2022-08-19T07:45:52.266Z] npm WARN
[2022-08-19T07:45:52.266Z] npm WARN Could not resolve dependency:
[2022-08-19T07:45:52.266Z] npm WARN peer @octokit/core@">=3" from @octokit/[email protected]
[2022-08-19T07:45:52.266Z] npm WARN node_modules/@kie/build-chain-action/node_modules/@octokit/plugin-request-log
[2022-08-19T07:45:52.266Z] npm WARN @octokit/plugin-request-log@"^1.0.0" from @octokit/[email protected]
[2022-08-19T07:45:52.266Z] npm WARN node_modules/@kie/build-chain-action/node_modules/@octokit/rest
[2022-08-19T07:45:57.575Z]
[2022-08-19T07:45:57.575Z] added 111 packages, and audited 112 packages in 6s
[2022-08-19T07:45:57.575Z]
[2022-08-19T07:45:57.575Z] 5 packages are looking for funding
[2022-08-19T07:45:57.575Z] run `npm fund` for details
[2022-08-19T07:45:57.575Z]
[2022-08-19T07:45:57.575Z] found 0 vulnerabilities
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build projects)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] echo
[2022-08-19T07:45:58.358Z] BUILD_MVN_OPTS_CURRENT =
[Pipeline] configFileProvider
[2022-08-19T07:45:58.371Z] provisioning config files...
[2022-08-19T07:45:58.378Z] copy managed file [kogito_pr_settings] to file:/home/jenkins/workspace/KIE/kogito/main/pullrequest/drools.tests.downstream.kogito-apps@tmp/config5621025119288179920tmp
[Pipeline] {
[Pipeline] withCredentials
[2022-08-19T07:45:58.405Z] Masking supported pattern matches of $GITHUB_TOKEN
[Pipeline] {
[Pipeline] sh
[2022-08-19T07:45:58.436Z] Warning: A secret was passed to "sh" using Groovy String interpolation, which is insecure.
[2022-08-19T07:45:58.436Z] Affected argument(s) used the following variable(s): [GITHUB_TOKEN]
[2022-08-19T07:45:58.436Z] See https://jenkins.io/redirect/groovy-string-interpolation for details.
[2022-08-19T07:45:58.783Z] + build-chain-action -token=**** -df=https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml -folder=bc build pr -url=https://github.com/kiegroup/drools/pull/2954 -sp=kiegroup/kogito-apps --skipParallelCheckout -cct '(^mvn .*)||$1 -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/drools.tests.downstream.kogito-apps@tmp/config5621025119288179920tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true'
[2022-08-19T07:45:59.349Z] [INFO] Executing pull request flow for https://github.com/kiegroup/drools/pull/2954 in bc
[2022-08-19T07:45:59.349Z] (node:8203) Warning: Accessing non-existent property 'ClientError' of module exports inside circular dependency
[2022-08-19T07:45:59.349Z] (Use `node --trace-warnings ...` to show where the warning was created)
[2022-08-19T07:45:59.622Z] [INFO] https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml exists, using it
[2022-08-19T07:45:59.622Z] ::group::[PRE] Executing pre section for https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml
[2022-08-19T07:45:59.622Z] [INFO] Execute command 'export BUILD_MVN_OPTS=" -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"' in dir '/home/jenkins/workspace/KIE/kogito/main/pullrequest/drools.tests.downstream.kogito-apps'
[2022-08-19T07:45:59.622Z] [INFO] Treating export command since it's not possible to run it from the runner itself
[2022-08-19T07:45:59.622Z] [INFO] The variable BUILD_MVN_OPTS has been stored with ' -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' value
[2022-08-19T07:45:59.622Z] ::notice title= [PRE] [Execution OK]::export BUILD_MVN_OPTS=" -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"
[2022-08-19T07:45:59.622Z] [INFO] Execute command 'echo "BUILD_MVN_OPTS= -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"' in dir '/home/jenkins/workspace/KIE/kogito/main/pullrequest/drools.tests.downstream.kogito-apps'
[2022-08-19T07:45:59.883Z] [command]/usr/bin/echo BUILD_MVN_OPTS= -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
[2022-08-19T07:45:59.883Z] BUILD_MVN_OPTS= -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
[2022-08-19T07:45:59.883Z] ::notice title= [PRE] [Execution OK]::echo "BUILD_MVN_OPTS= -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"
[2022-08-19T07:45:59.883Z] [INFO] Execute command 'export BUILD_MVN_OPTS_CURRENT=""' in dir '/home/jenkins/workspace/KIE/kogito/main/pullrequest/drools.tests.downstream.kogito-apps'
[2022-08-19T07:45:59.883Z] [INFO] Treating export command since it's not possible to run it from the runner itself
[2022-08-19T07:45:59.883Z] [INFO] The variable BUILD_MVN_OPTS_CURRENT has been stored with '' value
[2022-08-19T07:45:59.883Z] ::notice title= [PRE] [Execution OK]::export BUILD_MVN_OPTS_CURRENT=""
[2022-08-19T07:45:59.883Z] [INFO] Execute command 'echo "BUILD_MVN_OPTS_CURRENT="' in dir '/home/jenkins/workspace/KIE/kogito/main/pullrequest/drools.tests.downstream.kogito-apps'
[2022-08-19T07:45:59.883Z] [command]/usr/bin/echo BUILD_MVN_OPTS_CURRENT=
[2022-08-19T07:45:59.883Z] BUILD_MVN_OPTS_CURRENT=
[2022-08-19T07:45:59.883Z] ::notice title= [PRE] [Execution OK]::echo "BUILD_MVN_OPTS_CURRENT="
[2022-08-19T07:45:59.883Z] ::endgroup::
[2022-08-19T07:45:59.883Z] ::group::[Pull Request Flow] Execution Plan...
[2022-08-19T07:45:59.883Z] [INFO] ----------------------------------------------
[2022-08-19T07:45:59.883Z] [INFO] [3] projects will be executed
[2022-08-19T07:45:59.883Z]
[2022-08-19T07:45:59.883Z] [INFO] [kiegroup/drools]
[2022-08-19T07:45:59.883Z] [INFO] Level Type: [upstream].
[2022-08-19T07:45:59.883Z] [INFO] mvn clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.DROOLS_BUILD_MVN_OPTS_UPSTREAM }}
[2022-08-19T07:45:59.883Z] [INFO] [ �[32m'docker system prune -f'�[39m ]
[2022-08-19T07:45:59.883Z]
[2022-08-19T07:45:59.883Z] [INFO] [kiegroup/kogito-runtimes]
[2022-08-19T07:45:59.883Z] [INFO] Level Type: [upstream].
[2022-08-19T07:45:59.883Z] [INFO] mvn clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.KOGITO_RUNTIMES_BUILD_MVN_OPTS_UPSTREAM }}
[2022-08-19T07:45:59.883Z] [INFO] [ �[32m'docker system prune -f'�[39m ]
[2022-08-19T07:45:59.883Z]
[2022-08-19T07:45:59.883Z] [INFO] [kiegroup/kogito-apps]
[2022-08-19T07:45:59.883Z] [INFO] Level Type: [current].
[2022-08-19T07:45:59.883Z] [INFO] [
[2022-08-19T07:45:59.883Z] �[32m'mvn -f kogito-apps/pom.xml clean install -Dvalidate-formatting ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_CURRENT }} ${{ env.KOGITO_APPS_BUILD_MVN_OPTS }}'�[39m
[2022-08-19T07:45:59.883Z] ]
[2022-08-19T07:45:59.883Z] [INFO] [ �[32m'docker system prune -f'�[39m ]
[2022-08-19T07:45:59.883Z]
[2022-08-19T07:45:59.883Z] [INFO] ----------------------------------------------
[2022-08-19T07:45:59.883Z] ::endgroup::
[2022-08-19T07:45:59.883Z] ::group::[Pull Request Flow] Checking out kiegroup/drools and its dependencies
[2022-08-19T07:45:59.883Z] [INFO] Tree for project kiegroup/kogito-apps. Dependencies:
[2022-08-19T07:45:59.883Z] kiegroup/drools,
[2022-08-19T07:45:59.883Z] kiegroup/kogito-runtimes,
[2022-08-19T07:45:59.883Z] kiegroup/kogito-apps
[2022-08-19T07:45:59.883Z] [INFO] [kiegroup/drools] Checking out project
[2022-08-19T07:46:00.463Z] [INFO] [kiegroup/drools] Merging https://github.com/kiegroup/drools:main into https://github.com/tkobayas/drools:DROOLS-5378
[2022-08-19T07:46:22.384Z] [ERROR] command git pull --no-rebase https://****@github.com/tkobayas/drools DROOLS-5378 failed with code 1. Error Message: From https://github.com/tkobayas/drools
[2022-08-19T07:46:22.384Z] * branch DROOLS-5378 -> FETCH_HEAD
[2022-08-19T07:46:22.384Z] Auto-merging drools-compiler/src/main/java/org/drools/compiler/kie/builder/impl/AbstractKieModule.java
[2022-08-19T07:46:22.384Z] Auto-merging drools-compiler/src/main/java/org/drools/compiler/kproject/models/KieBaseModelImpl.java
[2022-08-19T07:46:22.384Z] CONFLICT (content): Merge conflict in drools-compiler/src/main/java/org/drools/compiler/kproject/models/KieBaseModelImpl.java
[2022-08-19T07:46:22.384Z] Auto-merging drools-core/src/main/java/org/drools/core/RuleBaseConfiguration.java
[2022-08-19T07:46:22.384Z] CONFLICT (content): Merge conflict in drools-core/src/main/java/org/drools/core/RuleBaseConfiguration.java
[2022-08-19T07:46:22.384Z] Auto-merging drools-core/src/main/java/org/drools/core/impl/KnowledgeBaseImpl.java
[2022-08-19T07:46:22.384Z] CONFLICT (content): Merge conflict in drools-core/src/main/java/org/drools/core/impl/KnowledgeBaseImpl.java
[2022-08-19T07:46:22.384Z] Auto-merging drools-core/src/main/java/org/drools/core/impl/RuleBase.java
[2022-08-19T07:46:22.384Z] CONFLICT (content): Merge conflict in drools-core/src/main/java/org/drools/core/impl/RuleBase.java
[2022-08-19T07:46:22.384Z] Auto-merging drools-core/src/main/java/org/drools/core/reteoo/builder/PatternBuilder.java
[2022-08-19T07:46:22.384Z] CONFLICT (content): Merge conflict in drools-core/src/main/java/org/drools/core/reteoo/builder/PatternBuilder.java
[2022-08-19T07:46:22.384Z] Auto-merging drools-core/src/main/java/org/drools/core/rule/Declaration.java
[2022-08-19T07:46:22.384Z] CONFLICT (content): Merge conflict in drools-core/src/main/java/org/drools/core/rule/Declaration.java
[2022-08-19T07:46:22.384Z] Auto-merging drools-core/src/main/java/org/drools/core/rule/PredicateConstraint.java
[2022-08-19T07:46:22.384Z] Auto-merging drools-model/drools-model-compiler/src/main/java/org/drools/modelcompiler/CanonicalKieModule.java
[2022-08-19T07:46:22.384Z] Auto-merging drools-test-coverage/test-compiler-integration/src/test/java/org/drools/mvel/compiler/conf/KnowledgeBaseConfigurationTest.java
[2022-08-19T07:46:22.384Z] CONFLICT (content): Merge conflict in drools-test-coverage/test-compiler-integration/src/test/java/org/drools/mvel/compiler/conf/KnowledgeBaseConfigurationTest.java
[2022-08-19T07:46:22.384Z] CONFLICT (file location): drools-core/src/main/java/org/drools/core/addon/AlphaNodeOrderingStrategy.java added in b22ec49 inside a directory that was renamed in HEAD, suggesting it should perhaps be moved to drools-util/src/main/java/org/drools/util/AlphaNodeOrderingStrategy.java.
[2022-08-19T07:46:22.384Z] CONFLICT (file location): drools-core/src/main/java/org/drools/core/addon/CountBasedOrderingStrategy.java added in b22ec49 inside a directory that was renamed in HEAD, suggesting it should perhaps be moved to drools-util/src/main/java/org/drools/util/CountBasedOrderingStrategy.java.
[2022-08-19T07:46:22.384Z] CONFLICT (file location): drools-core/src/main/java/org/drools/core/addon/NoopOrderingStrategy.java added in b22ec49 inside a directory that was renamed in HEAD, suggesting it should perhaps be moved to drools-util/src/main/java/org/drools/util/NoopOrderingStrategy.java.
[2022-08-19T07:46:22.384Z] Automatic merge failed; fix conflicts and then commit the result.
[2022-08-19T07:46:22.384Z]
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[2022-08-19T07:46:22.449Z] Deleting 1 temporary files
[Pipeline] // configFileProvider
[Pipeline] }
[Pipeline] // script
Post stage
[Pipeline] junit
[2022-08-19T07:46:22.551Z] Recording test results
[2022-08-19T07:46:22.949Z] No test report files were found. Configuration error?
Error when executing always post condition:
Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to rhos-01-kie-psi-rhel7-xlarge-303
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1797)
at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)
at hudson.remoting.Channel.call(Channel.java:1001)
at hudson.FilePath.act(FilePath.java:1166)
at hudson.FilePath.act(FilePath.java:1155)
at hudson.tasks.junit.JUnitParser.parseResult(JUnitParser.java:107)
at hudson.tasks.junit.JUnitResultArchiver.parse(JUnitResultArchiver.java:153)
at hudson.tasks.junit.JUnitResultArchiver.parseAndSummarize(JUnitResultArchiver.java:247)
at hudson.tasks.junit.pipeline.JUnitResultsStepExecution.run(JUnitResultsStepExecution.java:63)
at hudson.tasks.junit.pipeline.JUnitResultsStepExecution.run(JUnitResultsStepExecution.java:29)
at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
hudson.AbortException: No test report files were found. Configuration error?
at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:154)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3338)
at hudson.remoting.UserRequest.perform(UserRequest.java:211)
at hudson.remoting.UserRequest.perform(UserRequest.java:54)
at hudson.remoting.Request$2.run(Request.java:376)
at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)

[Pipeline] script
[Pipeline] {
[Pipeline] sh
[2022-08-19T07:46:23.279Z] + rm -rf console.log
[Pipeline] sh

@kie-ci3
Copy link

kie-ci3 commented Aug 19, 2022

(tests) - kogito-runtimes job #411 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-runtimes/411/display/redirect
See console log:

Console Logs Waiting for next available executor on ‘kie-rhel7&&kie-mem16g&&!master’
Running on rhos-01-kie-psi-rhel7-xlarge-302 in /home/jenkins/workspace/KIE/kogito/main/pullrequest/drools.tests.downstream.kogito-runtimes
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
The recommended git tool is: NONE
using credential kie-ci
Cloning the remote Git repository
Cloning repository https://github.com/kiegroup/kogito-pipelines.git
> git init /home/jenkins/workspace/KIE/kogito/main/pullrequest/drools.tests.downstream.kogito-runtimes # timeout=10
Avoid second fetch
Checking out Revision cecaf90 (origin/main)
Fetching upstream changes from https://github.com/kiegroup/kogito-pipelines.git
> git --version # timeout=10
> git --version # 'git version 2.37.1'
using GIT_ASKPASS to set credentials PSSWD: kie-ci service account with access to jboss-integration private github space
> git fetch --tags --force --progress -- https://github.com/kiegroup/kogito-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url https://github.com/kiegroup/kogito-pipelines.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse origin/main^{commit} # timeout=10
> git config core.sparsecheckout # timeout=10
> git checkout -f cecaf90 # timeout=10
Commit message: "version.io.quarkus.quarkus-test-maven to version.io.quarkus.quarkus-test (#583)"
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] timestamps
[Pipeline] {
[Pipeline] timeout
[2022-08-19T07:45:44.889Z] Timeout set to expire in 3 hr 0 min
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Tool Install)
[Pipeline] tool
[2022-08-19T07:45:44.989Z] Installing NodeJS from /var/lib/jenkins/caches/nodejs/LINUX/amd64/16.2.0.tar.gz to /home/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/nodejs-16.2.0 on rhos-01-kie-psi-rhel7-xlarge-302
[Pipeline] envVarsForTool
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Initialize)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] sh
[2022-08-19T07:45:48.643Z] + printenv
[Pipeline] archiveArtifacts
[2022-08-19T07:45:48.754Z] Archiving artifacts
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (check space before build)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] dir
[2022-08-19T07:45:49.421Z] Running in /home/jenkins/workspace/KIE/kogito/main/pullrequest/drools.tests.downstream.kogito-runtimes
[Pipeline] {
[Pipeline] echo
[2022-08-19T07:45:49.446Z] [INFO] space left on the machine
[Pipeline] sh
[2022-08-19T07:45:49.769Z] + df -h
[2022-08-19T07:45:49.769Z] Filesystem Size Used Avail Use% Mounted on
[2022-08-19T07:45:49.769Z] devtmpfs 7.8G 0 7.8G 0% /dev
[2022-08-19T07:45:49.769Z] tmpfs 7.8G 0 7.8G 0% /dev/shm
[2022-08-19T07:45:49.769Z] tmpfs 7.8G 17M 7.8G 1% /run
[2022-08-19T07:45:49.769Z] tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
[2022-08-19T07:45:49.769Z] /dev/vda1 80G 19G 62G 24% /
[2022-08-19T07:45:49.769Z] tmpfs 1.6G 0 1.6G 0% /run/user/1000
[Pipeline] echo
[2022-08-19T07:45:49.788Z] [INFO] space of /home/jenkins
[Pipeline] sh
[2022-08-19T07:45:50.093Z] + du -h -d1 /home/jenkins
[2022-08-19T07:45:50.093Z] 4.0K /home/jenkins/.ssh
[2022-08-19T07:45:50.093Z] 0 /home/jenkins/go
[2022-08-19T07:45:50.093Z] 8.0K /home/jenkins/.vnc
[2022-08-19T07:45:50.093Z] 8.0K /home/jenkins/.m2
[2022-08-19T07:45:50.093Z] 2.1G /home/jenkins/git-repos
[2022-08-19T07:45:50.093Z] 8.0K /home/jenkins/.config
[2022-08-19T07:45:50.093Z] 4.0K /home/jenkins/.cekit
[2022-08-19T07:45:50.665Z] 82M /home/jenkins/virtenvs
[2022-08-19T07:45:50.665Z] 30M /home/jenkins/remoting
[2022-08-19T07:45:50.665Z] 0 /home/jenkins/.cache
[2022-08-19T07:45:50.665Z] 2.7M /home/jenkins/workspace
[2022-08-19T07:45:50.665Z] 0 /home/jenkins/.pki
[2022-08-19T07:45:50.665Z] 100M /home/jenkins/tools
[2022-08-19T07:45:50.665Z] 0 /home/jenkins/caches
[2022-08-19T07:45:50.665Z] 2.3G /home/jenkins
[Pipeline] echo
[2022-08-19T07:45:50.684Z] [INFO] space of workspace
[Pipeline] sh
[2022-08-19T07:45:51.019Z] + du -h -d3 /home/jenkins/workspace
[2022-08-19T07:45:51.019Z] 2.7M /home/jenkins/workspace/KIE/kogito/main
[2022-08-19T07:45:51.019Z] 2.7M /home/jenkins/workspace/KIE/kogito
[2022-08-19T07:45:51.019Z] 2.7M /home/jenkins/workspace/KIE
[2022-08-19T07:45:51.019Z] 2.7M /home/jenkins/workspace
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Install build-chain tool)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] echo
[2022-08-19T07:45:51.417Z] [INFO] Getting build-chain version from composite action file
[Pipeline] readFile
[Pipeline] echo
[2022-08-19T07:45:51.485Z] [INFO] build-chain version recovered '2.3.34'
[Pipeline] sh
[2022-08-19T07:45:51.819Z] + npm install -g @kie/[email protected] -registry=https://repository.engineering.redhat.com/nexus/repository/registry.npmjs.org/
[2022-08-19T07:45:53.235Z] npm WARN ERESOLVE overriding peer dependency
[2022-08-19T07:45:53.235Z] npm WARN Found: @octokit/[email protected]
[2022-08-19T07:45:53.235Z] npm WARN node_modules/@kie/build-chain-action/node_modules/@octokit/core
[2022-08-19T07:45:53.235Z] npm WARN @octokit/core@"^2.4.3" from @octokit/[email protected]
[2022-08-19T07:45:53.235Z] npm WARN node_modules/@kie/build-chain-action/node_modules/@octokit/rest
[2022-08-19T07:45:53.235Z] npm WARN @octokit/rest@"^17.6.0" from @kie/[email protected]
[2022-08-19T07:45:53.235Z] npm WARN node_modules/@kie/build-chain-action
[2022-08-19T07:45:53.235Z] npm WARN 1 more (@kie/build-chain-configuration-reader)
[2022-08-19T07:45:53.235Z] npm WARN 1 more (@octokit/plugin-paginate-rest)
[2022-08-19T07:45:53.235Z] npm WARN
[2022-08-19T07:45:53.235Z] npm WARN Could not resolve dependency:
[2022-08-19T07:45:53.235Z] npm WARN peer @octokit/core@">=3" from @octokit/[email protected]
[2022-08-19T07:45:53.235Z] npm WARN node_modules/@kie/build-chain-action/node_modules/@octokit/plugin-request-log
[2022-08-19T07:45:53.235Z] npm WARN @octokit/plugin-request-log@"^1.0.0" from @octokit/[email protected]
[2022-08-19T07:45:53.235Z] npm WARN node_modules/@kie/build-chain-action/node_modules/@octokit/rest
[2022-08-19T07:45:58.543Z]
[2022-08-19T07:45:58.543Z] added 111 packages, and audited 112 packages in 6s
[2022-08-19T07:45:58.543Z]
[2022-08-19T07:45:58.543Z] 5 packages are looking for funding
[2022-08-19T07:45:58.543Z] run `npm fund` for details
[2022-08-19T07:45:58.543Z]
[2022-08-19T07:45:58.543Z] found 0 vulnerabilities
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build projects)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] echo
[2022-08-19T07:45:58.928Z] BUILD_MVN_OPTS_CURRENT =
[Pipeline] configFileProvider
[2022-08-19T07:45:58.940Z] provisioning config files...
[2022-08-19T07:45:58.951Z] copy managed file [kogito_pr_settings] to file:/home/jenkins/workspace/KIE/kogito/main/pullrequest/drools.tests.downstream.kogito-runtimes@tmp/config160916348671752111tmp
[Pipeline] {
[Pipeline] withCredentials
[2022-08-19T07:45:58.981Z] Masking supported pattern matches of $GITHUB_TOKEN
[Pipeline] {
[Pipeline] sh
[2022-08-19T07:45:59.012Z] Warning: A secret was passed to "sh" using Groovy String interpolation, which is insecure.
[2022-08-19T07:45:59.013Z] Affected argument(s) used the following variable(s): [GITHUB_TOKEN]
[2022-08-19T07:45:59.013Z] See https://jenkins.io/redirect/groovy-string-interpolation for details.
[2022-08-19T07:45:59.383Z] + build-chain-action -token=**** -df=https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml -folder=bc build pr -url=https://github.com/kiegroup/drools/pull/2954 -sp=kiegroup/kogito-runtimes --skipParallelCheckout -cct '(^mvn .*)||$1 -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/drools.tests.downstream.kogito-runtimes@tmp/config160916348671752111tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true'
[2022-08-19T07:45:59.949Z] [INFO] Executing pull request flow for https://github.com/kiegroup/drools/pull/2954 in bc
[2022-08-19T07:45:59.949Z] (node:8218) Warning: Accessing non-existent property 'ClientError' of module exports inside circular dependency
[2022-08-19T07:45:59.949Z] (Use `node --trace-warnings ...` to show where the warning was created)
[2022-08-19T07:46:00.207Z] [INFO] https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml exists, using it
[2022-08-19T07:46:00.207Z] ::group::[PRE] Executing pre section for https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml
[2022-08-19T07:46:00.207Z] [INFO] Execute command 'export BUILD_MVN_OPTS=" -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"' in dir '/home/jenkins/workspace/KIE/kogito/main/pullrequest/drools.tests.downstream.kogito-runtimes'
[2022-08-19T07:46:00.207Z] [INFO] Treating export command since it's not possible to run it from the runner itself
[2022-08-19T07:46:00.207Z] [INFO] The variable BUILD_MVN_OPTS has been stored with ' -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' value
[2022-08-19T07:46:00.207Z] ::notice title= [PRE] [Execution OK]::export BUILD_MVN_OPTS=" -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"
[2022-08-19T07:46:00.207Z] [INFO] Execute command 'echo "BUILD_MVN_OPTS= -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"' in dir '/home/jenkins/workspace/KIE/kogito/main/pullrequest/drools.tests.downstream.kogito-runtimes'
[2022-08-19T07:46:00.207Z] [command]/usr/bin/echo BUILD_MVN_OPTS= -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
[2022-08-19T07:46:00.207Z] BUILD_MVN_OPTS= -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
[2022-08-19T07:46:00.207Z] ::notice title= [PRE] [Execution OK]::echo "BUILD_MVN_OPTS= -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"
[2022-08-19T07:46:00.207Z] [INFO] Execute command 'export BUILD_MVN_OPTS_CURRENT=""' in dir '/home/jenkins/workspace/KIE/kogito/main/pullrequest/drools.tests.downstream.kogito-runtimes'
[2022-08-19T07:46:00.208Z] [INFO] Treating export command since it's not possible to run it from the runner itself
[2022-08-19T07:46:00.208Z] [INFO] The variable BUILD_MVN_OPTS_CURRENT has been stored with '' value
[2022-08-19T07:46:00.208Z] ::notice title= [PRE] [Execution OK]::export BUILD_MVN_OPTS_CURRENT=""
[2022-08-19T07:46:00.208Z] [INFO] Execute command 'echo "BUILD_MVN_OPTS_CURRENT="' in dir '/home/jenkins/workspace/KIE/kogito/main/pullrequest/drools.tests.downstream.kogito-runtimes'
[2022-08-19T07:46:00.208Z] [command]/usr/bin/echo BUILD_MVN_OPTS_CURRENT=
[2022-08-19T07:46:00.208Z] BUILD_MVN_OPTS_CURRENT=
[2022-08-19T07:46:00.208Z] ::notice title= [PRE] [Execution OK]::echo "BUILD_MVN_OPTS_CURRENT="
[2022-08-19T07:46:00.208Z] ::endgroup::
[2022-08-19T07:46:00.466Z] ::group::[Pull Request Flow] Execution Plan...
[2022-08-19T07:46:00.466Z] [INFO] ----------------------------------------------
[2022-08-19T07:46:00.466Z] [INFO] [2] projects will be executed
[2022-08-19T07:46:00.466Z]
[2022-08-19T07:46:00.466Z] [INFO] [kiegroup/drools]
[2022-08-19T07:46:00.466Z] [INFO] Level Type: [upstream].
[2022-08-19T07:46:00.466Z] [INFO] mvn clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.DROOLS_BUILD_MVN_OPTS_UPSTREAM }}
[2022-08-19T07:46:00.466Z] [INFO] [ �[32m'docker system prune -f'�[39m ]
[2022-08-19T07:46:00.466Z]
[2022-08-19T07:46:00.466Z] [INFO] [kiegroup/kogito-runtimes]
[2022-08-19T07:46:00.466Z] [INFO] Level Type: [current].
[2022-08-19T07:46:00.466Z] [INFO] [
[2022-08-19T07:46:00.466Z] �[32m'mvn -f kogito-runtimes/pom.xml clean install -Dvalidate-formatting ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_CURRENT }} ${{ env.KOGITO_RUNTIMES_BUILD_MVN_OPTS }}'�[39m
[2022-08-19T07:46:00.466Z] ]
[2022-08-19T07:46:00.466Z] [INFO] [ �[32m'docker system prune -f'�[39m ]
[2022-08-19T07:46:00.466Z]
[2022-08-19T07:46:00.466Z] [INFO] ----------------------------------------------
[2022-08-19T07:46:00.466Z] ::endgroup::
[2022-08-19T07:46:00.466Z] ::group::[Pull Request Flow] Checking out kiegroup/drools and its dependencies
[2022-08-19T07:46:00.466Z] [INFO] Tree for project kiegroup/kogito-runtimes. Dependencies:
[2022-08-19T07:46:00.466Z] kiegroup/drools,
[2022-08-19T07:46:00.466Z] kiegroup/kogito-runtimes
[2022-08-19T07:46:00.466Z] [INFO] [kiegroup/drools] Checking out project
[2022-08-19T07:46:01.032Z] [INFO] [kiegroup/drools] Merging https://github.com/kiegroup/drools:main into https://github.com/tkobayas/drools:DROOLS-5378
[2022-08-19T07:46:22.994Z] [ERROR] command git pull --no-rebase https://****@github.com/tkobayas/drools DROOLS-5378 failed with code 1. Error Message: From https://github.com/tkobayas/drools
[2022-08-19T07:46:22.994Z] * branch DROOLS-5378 -> FETCH_HEAD
[2022-08-19T07:46:22.994Z] Auto-merging drools-compiler/src/main/java/org/drools/compiler/kie/builder/impl/AbstractKieModule.java
[2022-08-19T07:46:22.994Z] Auto-merging drools-compiler/src/main/java/org/drools/compiler/kproject/models/KieBaseModelImpl.java
[2022-08-19T07:46:22.994Z] CONFLICT (content): Merge conflict in drools-compiler/src/main/java/org/drools/compiler/kproject/models/KieBaseModelImpl.java
[2022-08-19T07:46:22.994Z] Auto-merging drools-core/src/main/java/org/drools/core/RuleBaseConfiguration.java
[2022-08-19T07:46:22.994Z] CONFLICT (content): Merge conflict in drools-core/src/main/java/org/drools/core/RuleBaseConfiguration.java
[2022-08-19T07:46:22.994Z] Auto-merging drools-core/src/main/java/org/drools/core/impl/KnowledgeBaseImpl.java
[2022-08-19T07:46:22.994Z] CONFLICT (content): Merge conflict in drools-core/src/main/java/org/drools/core/impl/KnowledgeBaseImpl.java
[2022-08-19T07:46:22.994Z] Auto-merging drools-core/src/main/java/org/drools/core/impl/RuleBase.java
[2022-08-19T07:46:22.994Z] CONFLICT (content): Merge conflict in drools-core/src/main/java/org/drools/core/impl/RuleBase.java
[2022-08-19T07:46:22.994Z] Auto-merging drools-core/src/main/java/org/drools/core/reteoo/builder/PatternBuilder.java
[2022-08-19T07:46:22.994Z] CONFLICT (content): Merge conflict in drools-core/src/main/java/org/drools/core/reteoo/builder/PatternBuilder.java
[2022-08-19T07:46:22.994Z] Auto-merging drools-core/src/main/java/org/drools/core/rule/Declaration.java
[2022-08-19T07:46:22.994Z] CONFLICT (content): Merge conflict in drools-core/src/main/java/org/drools/core/rule/Declaration.java
[2022-08-19T07:46:22.994Z] Auto-merging drools-core/src/main/java/org/drools/core/rule/PredicateConstraint.java
[2022-08-19T07:46:22.994Z] Auto-merging drools-model/drools-model-compiler/src/main/java/org/drools/modelcompiler/CanonicalKieModule.java
[2022-08-19T07:46:22.994Z] Auto-merging drools-test-coverage/test-compiler-integration/src/test/java/org/drools/mvel/compiler/conf/KnowledgeBaseConfigurationTest.java
[2022-08-19T07:46:22.994Z] CONFLICT (content): Merge conflict in drools-test-coverage/test-compiler-integration/src/test/java/org/drools/mvel/compiler/conf/KnowledgeBaseConfigurationTest.java
[2022-08-19T07:46:22.994Z] CONFLICT (file location): drools-core/src/main/java/org/drools/core/addon/AlphaNodeOrderingStrategy.java added in b22ec49 inside a directory that was renamed in HEAD, suggesting it should perhaps be moved to drools-util/src/main/java/org/drools/util/AlphaNodeOrderingStrategy.java.
[2022-08-19T07:46:22.994Z] CONFLICT (file location): drools-core/src/main/java/org/drools/core/addon/CountBasedOrderingStrategy.java added in b22ec49 inside a directory that was renamed in HEAD, suggesting it should perhaps be moved to drools-util/src/main/java/org/drools/util/CountBasedOrderingStrategy.java.
[2022-08-19T07:46:22.994Z] CONFLICT (file location): drools-core/src/main/java/org/drools/core/addon/NoopOrderingStrategy.java added in b22ec49 inside a directory that was renamed in HEAD, suggesting it should perhaps be moved to drools-util/src/main/java/org/drools/util/NoopOrderingStrategy.java.
[2022-08-19T07:46:22.994Z] Automatic merge failed; fix conflicts and then commit the result.
[2022-08-19T07:46:22.994Z]
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[2022-08-19T07:46:23.058Z] Deleting 1 temporary files
[Pipeline] // configFileProvider
[Pipeline] }
[Pipeline] // script
Post stage
[Pipeline] junit
[2022-08-19T07:46:23.142Z] Recording test results
[2022-08-19T07:46:23.552Z] No test report files were found. Configuration error?
Error when executing always post condition:
Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to rhos-01-kie-psi-rhel7-xlarge-302
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1797)
at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)
at hudson.remoting.Channel.call(Channel.java:1001)
at hudson.FilePath.act(FilePath.java:1166)
at hudson.FilePath.act(FilePath.java:1155)
at hudson.tasks.junit.JUnitParser.parseResult(JUnitParser.java:107)
at hudson.tasks.junit.JUnitResultArchiver.parse(JUnitResultArchiver.java:153)
at hudson.tasks.junit.JUnitResultArchiver.parseAndSummarize(JUnitResultArchiver.java:247)
at hudson.tasks.junit.pipeline.JUnitResultsStepExecution.run(JUnitResultsStepExecution.java:63)
at hudson.tasks.junit.pipeline.JUnitResultsStepExecution.run(JUnitResultsStepExecution.java:29)
at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
hudson.AbortException: No test report files were found. Configuration error?
at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:154)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3338)
at hudson.remoting.UserRequest.perform(UserRequest.java:211)
at hudson.remoting.UserRequest.perform(UserRequest.java:54)
at hudson.remoting.Request$2.run(Request.java:376)
at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)

[Pipeline] script
[Pipeline] {
[Pipeline] sh
[2022-08-19T07:46:23.887Z] + rm -rf console.log
[Pipeline] sh

@kie-ci3
Copy link

kie-ci3 commented Aug 19, 2022

(tests) - kogito-examples job #408 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/408/display/redirect
See console log:

Console Logs using GIT_ASKPASS to set credentials PSSWD: kie-ci service account with access to jboss-integration private github space
> git fetch --tags --force --progress -- https://github.com/kiegroup/kogito-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
Checking out Revision cecaf90 (origin/main)
> git config remote.origin.url https://github.com/kiegroup/kogito-pipelines.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse origin/main^{commit} # timeout=10
> git config core.sparsecheckout # timeout=10
> git checkout -f cecaf90 # timeout=10
Commit message: "version.io.quarkus.quarkus-test-maven to version.io.quarkus.quarkus-test (#583)"
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] timestamps
[Pipeline] {
[Pipeline] timeout
[2022-08-19T07:45:44.972Z] Timeout set to expire in 3 hr 0 min
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Tool Install)
[Pipeline] tool
[2022-08-19T07:45:45.088Z] Installing NodeJS from /var/lib/jenkins/caches/nodejs/LINUX/amd64/16.2.0.tar.gz to /home/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/nodejs-16.2.0 on rhos-01-kie-psi-rhel7-xlarge-304
[Pipeline] envVarsForTool
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Initialize)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] sh
[2022-08-19T07:45:50.407Z] + printenv
[Pipeline] archiveArtifacts
[2022-08-19T07:45:50.508Z] Archiving artifacts
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (check space before build)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] dir
[2022-08-19T07:45:51.183Z] Running in /home/jenkins/workspace/KIE/kogito/main/pullrequest/drools.tests.downstream.kogito-examples
[Pipeline] {
[Pipeline] echo
[2022-08-19T07:45:51.228Z] [INFO] space left on the machine
[Pipeline] sh
[2022-08-19T07:45:51.521Z] + df -h
[2022-08-19T07:45:51.521Z] Filesystem Size Used Avail Use% Mounted on
[2022-08-19T07:45:51.521Z] devtmpfs 7.8G 0 7.8G 0% /dev
[2022-08-19T07:45:51.522Z] tmpfs 7.8G 0 7.8G 0% /dev/shm
[2022-08-19T07:45:51.522Z] tmpfs 7.8G 17M 7.8G 1% /run
[2022-08-19T07:45:51.522Z] tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
[2022-08-19T07:45:51.522Z] /dev/vda1 80G 19G 62G 24% /
[2022-08-19T07:45:51.522Z] tmpfs 1.6G 0 1.6G 0% /run/user/1000
[Pipeline] echo
[2022-08-19T07:45:51.539Z] [INFO] space of /home/jenkins
[Pipeline] sh
[2022-08-19T07:45:51.847Z] + du -h -d1 /home/jenkins
[2022-08-19T07:45:51.847Z] 4.0K /home/jenkins/.ssh
[2022-08-19T07:45:51.847Z] 0 /home/jenkins/go
[2022-08-19T07:45:51.847Z] 8.0K /home/jenkins/.vnc
[2022-08-19T07:45:51.847Z] 8.0K /home/jenkins/.m2
[2022-08-19T07:45:51.847Z] 2.1G /home/jenkins/git-repos
[2022-08-19T07:45:51.847Z] 8.0K /home/jenkins/.config
[2022-08-19T07:45:51.847Z] 4.0K /home/jenkins/.cekit
[2022-08-19T07:45:52.106Z] 82M /home/jenkins/virtenvs
[2022-08-19T07:45:52.106Z] 30M /home/jenkins/remoting
[2022-08-19T07:45:52.106Z] 0 /home/jenkins/.cache
[2022-08-19T07:45:52.106Z] 2.7M /home/jenkins/workspace
[2022-08-19T07:45:52.106Z] 0 /home/jenkins/.pki
[2022-08-19T07:45:52.106Z] 100M /home/jenkins/tools
[2022-08-19T07:45:52.106Z] 0 /home/jenkins/caches
[2022-08-19T07:45:52.106Z] 2.3G /home/jenkins
[Pipeline] echo
[2022-08-19T07:45:52.126Z] [INFO] space of workspace
[Pipeline] sh
[2022-08-19T07:45:52.421Z] + du -h -d3 /home/jenkins/workspace
[2022-08-19T07:45:52.422Z] 2.7M /home/jenkins/workspace/KIE/kogito/main
[2022-08-19T07:45:52.422Z] 2.7M /home/jenkins/workspace/KIE/kogito
[2022-08-19T07:45:52.422Z] 2.7M /home/jenkins/workspace/KIE
[2022-08-19T07:45:52.422Z] 2.7M /home/jenkins/workspace
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Install build-chain tool)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] echo
[2022-08-19T07:45:52.744Z] [INFO] Getting build-chain version from composite action file
[Pipeline] readFile
[Pipeline] echo
[2022-08-19T07:45:52.815Z] [INFO] build-chain version recovered '2.3.34'
[Pipeline] sh
[2022-08-19T07:45:53.110Z] + npm install -g @kie/[email protected] -registry=https://repository.engineering.redhat.com/nexus/repository/registry.npmjs.org/
[2022-08-19T07:45:54.491Z] npm WARN ERESOLVE overriding peer dependency
[2022-08-19T07:45:54.491Z] npm WARN Found: @octokit/[email protected]
[2022-08-19T07:45:54.491Z] npm WARN node_modules/@kie/build-chain-action/node_modules/@octokit/core
[2022-08-19T07:45:54.491Z] npm WARN @octokit/core@"^2.4.3" from @octokit/[email protected]
[2022-08-19T07:45:54.491Z] npm WARN node_modules/@kie/build-chain-action/node_modules/@octokit/rest
[2022-08-19T07:45:54.491Z] npm WARN @octokit/rest@"^17.6.0" from @kie/[email protected]
[2022-08-19T07:45:54.491Z] npm WARN node_modules/@kie/build-chain-action
[2022-08-19T07:45:54.491Z] npm WARN 1 more (@kie/build-chain-configuration-reader)
[2022-08-19T07:45:54.491Z] npm WARN 1 more (@octokit/plugin-paginate-rest)
[2022-08-19T07:45:54.491Z] npm WARN
[2022-08-19T07:45:54.491Z] npm WARN Could not resolve dependency:
[2022-08-19T07:45:54.491Z] npm WARN peer @octokit/core@">=3" from @octokit/[email protected]
[2022-08-19T07:45:54.491Z] npm WARN node_modules/@kie/build-chain-action/node_modules/@octokit/plugin-request-log
[2022-08-19T07:45:54.491Z] npm WARN @octokit/plugin-request-log@"^1.0.0" from @octokit/[email protected]
[2022-08-19T07:45:54.491Z] npm WARN node_modules/@kie/build-chain-action/node_modules/@octokit/rest
[2022-08-19T07:45:58.978Z]
[2022-08-19T07:45:58.978Z] added 111 packages, and audited 112 packages in 6s
[2022-08-19T07:45:58.978Z]
[2022-08-19T07:45:58.978Z] 5 packages are looking for funding
[2022-08-19T07:45:58.978Z] run `npm fund` for details
[2022-08-19T07:45:58.978Z]
[2022-08-19T07:45:58.978Z] found 0 vulnerabilities
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build projects)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] echo
[2022-08-19T07:45:59.481Z] BUILD_MVN_OPTS_CURRENT =
[Pipeline] configFileProvider
[2022-08-19T07:45:59.495Z] provisioning config files...
[2022-08-19T07:45:59.505Z] copy managed file [kogito_pr_settings] to file:/home/jenkins/workspace/KIE/kogito/main/pullrequest/drools.tests.downstream.kogito-examples@tmp/config5108391720964811602tmp
[Pipeline] {
[Pipeline] withCredentials
[2022-08-19T07:45:59.549Z] Masking supported pattern matches of $GITHUB_TOKEN
[Pipeline] {
[Pipeline] sh
[2022-08-19T07:45:59.602Z] Warning: A secret was passed to "sh" using Groovy String interpolation, which is insecure.
[2022-08-19T07:45:59.602Z] Affected argument(s) used the following variable(s): [GITHUB_TOKEN]
[2022-08-19T07:45:59.602Z] See https://jenkins.io/redirect/groovy-string-interpolation for details.
[2022-08-19T07:45:59.964Z] + build-chain-action -token=**** -df=https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml -folder=bc build pr -url=https://github.com/kiegroup/drools/pull/2954 -sp=kiegroup/kogito-examples --skipParallelCheckout -cct '(^mvn .*)||$1 -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/drools.tests.downstream.kogito-examples@tmp/config5108391720964811602tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true'
[2022-08-19T07:46:00.534Z] [INFO] Executing pull request flow for https://github.com/kiegroup/drools/pull/2954 in bc
[2022-08-19T07:46:00.534Z] (node:8215) Warning: Accessing non-existent property 'ClientError' of module exports inside circular dependency
[2022-08-19T07:46:00.534Z] (Use `node --trace-warnings ...` to show where the warning was created)
[2022-08-19T07:46:00.821Z] [INFO] https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml exists, using it
[2022-08-19T07:46:00.821Z] ::group::[PRE] Executing pre section for https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml
[2022-08-19T07:46:00.821Z] [INFO] Execute command 'export BUILD_MVN_OPTS=" -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"' in dir '/home/jenkins/workspace/KIE/kogito/main/pullrequest/drools.tests.downstream.kogito-examples'
[2022-08-19T07:46:00.821Z] [INFO] Treating export command since it's not possible to run it from the runner itself
[2022-08-19T07:46:00.821Z] [INFO] The variable BUILD_MVN_OPTS has been stored with ' -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' value
[2022-08-19T07:46:00.821Z] ::notice title= [PRE] [Execution OK]::export BUILD_MVN_OPTS=" -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"
[2022-08-19T07:46:00.821Z] [INFO] Execute command 'echo "BUILD_MVN_OPTS= -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"' in dir '/home/jenkins/workspace/KIE/kogito/main/pullrequest/drools.tests.downstream.kogito-examples'
[2022-08-19T07:46:00.821Z] [command]/usr/bin/echo BUILD_MVN_OPTS= -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
[2022-08-19T07:46:00.821Z] BUILD_MVN_OPTS= -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
[2022-08-19T07:46:00.821Z] ::notice title= [PRE] [Execution OK]::echo "BUILD_MVN_OPTS= -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"
[2022-08-19T07:46:00.821Z] [INFO] Execute command 'export BUILD_MVN_OPTS_CURRENT=""' in dir '/home/jenkins/workspace/KIE/kogito/main/pullrequest/drools.tests.downstream.kogito-examples'
[2022-08-19T07:46:00.821Z] [INFO] Treating export command since it's not possible to run it from the runner itself
[2022-08-19T07:46:00.821Z] [INFO] The variable BUILD_MVN_OPTS_CURRENT has been stored with '' value
[2022-08-19T07:46:00.821Z] ::notice title= [PRE] [Execution OK]::export BUILD_MVN_OPTS_CURRENT=""
[2022-08-19T07:46:00.822Z] [INFO] Execute command 'echo "BUILD_MVN_OPTS_CURRENT="' in dir '/home/jenkins/workspace/KIE/kogito/main/pullrequest/drools.tests.downstream.kogito-examples'
[2022-08-19T07:46:00.822Z] [command]/usr/bin/echo BUILD_MVN_OPTS_CURRENT=
[2022-08-19T07:46:00.822Z] BUILD_MVN_OPTS_CURRENT=
[2022-08-19T07:46:00.822Z] ::notice title= [PRE] [Execution OK]::echo "BUILD_MVN_OPTS_CURRENT="
[2022-08-19T07:46:00.822Z] ::endgroup::
[2022-08-19T07:46:00.822Z] ::group::[Pull Request Flow] Execution Plan...
[2022-08-19T07:46:00.822Z] [INFO] ----------------------------------------------
[2022-08-19T07:46:00.822Z] [INFO] [4] projects will be executed
[2022-08-19T07:46:00.822Z]
[2022-08-19T07:46:00.822Z] [INFO] [kiegroup/drools]
[2022-08-19T07:46:00.822Z] [INFO] Level Type: [upstream].
[2022-08-19T07:46:00.822Z] [INFO] mvn clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.DROOLS_BUILD_MVN_OPTS_UPSTREAM }}
[2022-08-19T07:46:00.822Z] [INFO] [ �[32m'docker system prune -f'�[39m ]
[2022-08-19T07:46:00.822Z]
[2022-08-19T07:46:00.822Z] [INFO] [kiegroup/kogito-runtimes]
[2022-08-19T07:46:00.822Z] [INFO] Level Type: [upstream].
[2022-08-19T07:46:00.822Z] [INFO] mvn clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.KOGITO_RUNTIMES_BUILD_MVN_OPTS_UPSTREAM }}
[2022-08-19T07:46:00.822Z] [INFO] [ �[32m'docker system prune -f'�[39m ]
[2022-08-19T07:46:00.822Z]
[2022-08-19T07:46:00.822Z] [INFO] [kiegroup/kogito-apps]
[2022-08-19T07:46:00.822Z] [INFO] Level Type: [upstream].
[2022-08-19T07:46:00.822Z] [INFO] mvn clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.KOGITO_APPS_BUILD_MVN_OPTS_UPSTREAM }}
[2022-08-19T07:46:00.822Z] [INFO] [ �[32m'docker system prune -f'�[39m ]
[2022-08-19T07:46:00.822Z]
[2022-08-19T07:46:00.822Z] [INFO] [kiegroup/kogito-examples]
[2022-08-19T07:46:00.822Z] [INFO] Level Type: [current].
[2022-08-19T07:46:00.822Z] [INFO] [
[2022-08-19T07:46:00.822Z] �[32m'mvn -f kogito-examples/pom.xml clean install -Dvalidate-formatting ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_CURRENT }} ${{ env.KOGITO_EXAMPLES_BUILD_MVN_OPTS }}'�[39m,
[2022-08-19T07:46:00.822Z] �[32m'bash -c "if [ \'${{ env.DISABLE_PERSISTENCE }}\' != \'true\' ]; then mvn -f kogito-examples-persistence/pom.xml clean install -Ppersistence ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_CURRENT }} ${{ env.KOGITO_EXAMPLES_BUILD_MVN_OPTS }}; fi"'�[39m,
[2022-08-19T07:46:00.822Z] �[32m'bash -c "if [ \'${{ env.DISABLE_EVENTS }}\' != \'true\' ]; then mvn -f kogito-examples-events/pom.xml clean install -Pevents ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_CURRENT }} ${{ env.KOGITO_EXAMPLES_BUILD_MVN_OPTS }}; fi"'�[39m
[2022-08-19T07:46:00.822Z] ]
[2022-08-19T07:46:00.822Z] [INFO] [ �[32m'docker system prune -f'�[39m ]
[2022-08-19T07:46:00.822Z]
[2022-08-19T07:46:00.822Z] [INFO] ----------------------------------------------
[2022-08-19T07:46:00.822Z] ::endgroup::
[2022-08-19T07:46:00.822Z] ::group::[Pull Request Flow] Checking out kiegroup/drools and its dependencies
[2022-08-19T07:46:00.822Z] [INFO] Tree for project kiegroup/kogito-examples. Dependencies:
[2022-08-19T07:46:00.822Z] kiegroup/drools,
[2022-08-19T07:46:00.822Z] kiegroup/kogito-runtimes,
[2022-08-19T07:46:00.822Z] kiegroup/kogito-apps,
[2022-08-19T07:46:00.822Z] kiegroup/kogito-examples
[2022-08-19T07:46:00.822Z] [INFO] [kiegroup/drools] Checking out project
[2022-08-19T07:46:01.394Z] [INFO] [kiegroup/drools] Merging https://github.com/kiegroup/drools:main into https://github.com/tkobayas/drools:DROOLS-5378
[2022-08-19T07:46:23.456Z] [ERROR] command git pull --no-rebase https://****@github.com/tkobayas/drools DROOLS-5378 failed with code 1. Error Message: From https://github.com/tkobayas/drools
[2022-08-19T07:46:23.456Z] * branch DROOLS-5378 -> FETCH_HEAD
[2022-08-19T07:46:23.456Z] Auto-merging drools-compiler/src/main/java/org/drools/compiler/kie/builder/impl/AbstractKieModule.java
[2022-08-19T07:46:23.456Z] Auto-merging drools-compiler/src/main/java/org/drools/compiler/kproject/models/KieBaseModelImpl.java
[2022-08-19T07:46:23.456Z] CONFLICT (content): Merge conflict in drools-compiler/src/main/java/org/drools/compiler/kproject/models/KieBaseModelImpl.java
[2022-08-19T07:46:23.456Z] Auto-merging drools-core/src/main/java/org/drools/core/RuleBaseConfiguration.java
[2022-08-19T07:46:23.456Z] CONFLICT (content): Merge conflict in drools-core/src/main/java/org/drools/core/RuleBaseConfiguration.java
[2022-08-19T07:46:23.456Z] Auto-merging drools-core/src/main/java/org/drools/core/impl/KnowledgeBaseImpl.java
[2022-08-19T07:46:23.456Z] CONFLICT (content): Merge conflict in drools-core/src/main/java/org/drools/core/impl/KnowledgeBaseImpl.java
[2022-08-19T07:46:23.456Z] Auto-merging drools-core/src/main/java/org/drools/core/impl/RuleBase.java
[2022-08-19T07:46:23.456Z] CONFLICT (content): Merge conflict in drools-core/src/main/java/org/drools/core/impl/RuleBase.java
[2022-08-19T07:46:23.456Z] Auto-merging drools-core/src/main/java/org/drools/core/reteoo/builder/PatternBuilder.java
[2022-08-19T07:46:23.456Z] CONFLICT (content): Merge conflict in drools-core/src/main/java/org/drools/core/reteoo/builder/PatternBuilder.java
[2022-08-19T07:46:23.456Z] Auto-merging drools-core/src/main/java/org/drools/core/rule/Declaration.java
[2022-08-19T07:46:23.456Z] CONFLICT (content): Merge conflict in drools-core/src/main/java/org/drools/core/rule/Declaration.java
[2022-08-19T07:46:23.456Z] Auto-merging drools-core/src/main/java/org/drools/core/rule/PredicateConstraint.java
[2022-08-19T07:46:23.456Z] Auto-merging drools-model/drools-model-compiler/src/main/java/org/drools/modelcompiler/CanonicalKieModule.java
[2022-08-19T07:46:23.456Z] Auto-merging drools-test-coverage/test-compiler-integration/src/test/java/org/drools/mvel/compiler/conf/KnowledgeBaseConfigurationTest.java
[2022-08-19T07:46:23.456Z] CONFLICT (content): Merge conflict in drools-test-coverage/test-compiler-integration/src/test/java/org/drools/mvel/compiler/conf/KnowledgeBaseConfigurationTest.java
[2022-08-19T07:46:23.456Z] CONFLICT (file location): drools-core/src/main/java/org/drools/core/addon/AlphaNodeOrderingStrategy.java added in b22ec49 inside a directory that was renamed in HEAD, suggesting it should perhaps be moved to drools-util/src/main/java/org/drools/util/AlphaNodeOrderingStrategy.java.
[2022-08-19T07:46:23.456Z] CONFLICT (file location): drools-core/src/main/java/org/drools/core/addon/CountBasedOrderingStrategy.java added in b22ec49 inside a directory that was renamed in HEAD, suggesting it should perhaps be moved to drools-util/src/main/java/org/drools/util/CountBasedOrderingStrategy.java.
[2022-08-19T07:46:23.456Z] CONFLICT (file location): drools-core/src/main/java/org/drools/core/addon/NoopOrderingStrategy.java added in b22ec49 inside a directory that was renamed in HEAD, suggesting it should perhaps be moved to drools-util/src/main/java/org/drools/util/NoopOrderingStrategy.java.
[2022-08-19T07:46:23.456Z] Automatic merge failed; fix conflicts and then commit the result.
[2022-08-19T07:46:23.456Z]
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[2022-08-19T07:46:23.563Z] Deleting 1 temporary files
[Pipeline] // configFileProvider
[Pipeline] }
[Pipeline] // script
Post stage
[Pipeline] junit
[2022-08-19T07:46:23.650Z] Recording test results
[2022-08-19T07:46:24.069Z] No test report files were found. Configuration error?
Error when executing always post condition:
Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to rhos-01-kie-psi-rhel7-xlarge-304
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1797)
at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)
at hudson.remoting.Channel.call(Channel.java:1001)
at hudson.FilePath.act(FilePath.java:1166)
at hudson.FilePath.act(FilePath.java:1155)
at hudson.tasks.junit.JUnitParser.parseResult(JUnitParser.java:107)
at hudson.tasks.junit.JUnitResultArchiver.parse(JUnitResultArchiver.java:153)
at hudson.tasks.junit.JUnitResultArchiver.parseAndSummarize(JUnitResultArchiver.java:247)
at hudson.tasks.junit.pipeline.JUnitResultsStepExecution.run(JUnitResultsStepExecution.java:63)
at hudson.tasks.junit.pipeline.JUnitResultsStepExecution.run(JUnitResultsStepExecution.java:29)
at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
hudson.AbortException: No test report files were found. Configuration error?
at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:154)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3338)
at hudson.remoting.UserRequest.perform(UserRequest.java:211)
at hudson.remoting.UserRequest.perform(UserRequest.java:54)
at hudson.remoting.Request$2.run(Request.java:376)
at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)

[Pipeline] script
[Pipeline] {
[Pipeline] sh
[2022-08-19T07:46:24.409Z] + rm -rf console.log
[Pipeline] sh

@tkobayas
Copy link
Contributor Author

This is still on my backlog. But closing this PR at the moment. https://issues.redhat.com/browse/DROOLS-5378

@tkobayas tkobayas closed this Aug 22, 2022
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