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-7522] Alyways use AbstractLeftTuple instead of LeftTuple (Fix the secondary super cache problem in Drools) #5443

Merged
merged 6 commits into from
Aug 9, 2023

Conversation

lucamolteni
Copy link
Contributor

Thank you for submitting this pull request

NOTE!: Double check the target branch for this PR.
The default is main so it will target Drools 8 / Kogito.
If this PR is not strictly related to drools and kogito project in drools.git, it should probably target 7.xas a branch

Ports If a forward-port or a backport is needed, paste the forward port PR here

link

JIRA: (please edit the JIRA link if it exists)

Alyways use AbstractLeftTuple instead of LeftTuple (Fix the secondary super cache problem in Drools)

referenced Pull Requests: (please edit the URLs of referenced pullrequests if they exist)

  • paste the link(s) from GitHub here
  • link 2
  • link 3 etc.
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 [drools|kogito-runtimes|kogito-apps|kogito-examples] tests

  • for a full downstream build

    • for jenkins job: please add comment: Jenkins run fdb
    • for github actions job: add the label run_fdb
  • a compile downstream build please add comment: Jenkins run cdb

  • a full production downstream build please add comment: Jenkins execute product fdb

  • an upstream build please add comment: Jenkins run upstream

  • 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 [drools|kogito-runtimes|kogito-apps|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 [drools|kogito-runtimes|kogito-apps|kogito-examples] quarkus-main

  • for quarkus lts checks
    Run checks against Quarkus lts branch
    Please add comment: Jenkins run quarkus-lts

  • for a specific quarkus lts check
    Run checks against Quarkus lts branch
    Please add comment: Jenkins (re)run [drools|kogito-runtimes|kogito-apps|kogito-examples] quarkus-lts

  • 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 [drools|kogito-runtimes|kogito-apps|kogito-examples] native

  • for native lts checks
    Run native checks against quarkus lts branch
    Please add comment: Jenkins run native-lts

  • for a specific native lts check
    Run native checks against quarkus lts branch
    Please add comment: Jenkins (re)run [drools|kogito-runtimes|kogito-apps|kogito-examples] native-lts

How to backport a pull request to a different branch?

In order to automatically create a backporting pull request please add one or more labels having the following format backport-<branch-name>, where <branch-name> is the name of the branch where the pull request must be backported to (e.g., backport-7.67.x to backport the original PR to the 7.67.x branch).

NOTE: backporting is an action aiming to move a change (usually a commit) from a branch (usually the main one) to another one, which is generally referring to a still maintained release branch. Keeping it simple: it is about to move a specific change or a set of them from one branch to another.

Once the original pull request is successfully merged, the automated action will create one backporting pull request per each label (with the previous format) that has been added.

If something goes wrong, the author will be notified and at this point a manual backporting is needed.

NOTE: this automated backporting is triggered whenever a pull request on main branch is labeled or closed, but both conditions must be satisfied to get the new PR created.

@kie-ci4
Copy link
Contributor

kie-ci4 commented Aug 3, 2023

(tests) - drools job #1587 was: FAILURE
Possible explanation: Pipeline failure or project build failure

Reproducer

export BUILD_MVN_OPTS_CURRENT=-Dfull -Prun-code-coverage
build-chain build cross_pr -f 'https://raw.githubusercontent.com/kiegroup/drools/main/.ci/buildchain-config.yaml' -o 'bc' -p kiegroup/drools -u https://github.com/kiegroup/drools/pull/5443 --skipParallelCheckout

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

Please look here: https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/drools/job/main/job/pullrequest/job/drools.tests.drools/1587/display/redirect
See console log:

Console Logs [2023-08-03T14:53:05.545Z] + du -h -d3 /home/jenkins/workspace
[2023-08-03T14:53:05.546Z] 13M /home/jenkins/workspace/KIE/drools/main
[2023-08-03T14:53:05.546Z] 13M /home/jenkins/workspace/KIE/drools
[2023-08-03T14:53:05.546Z] 0 /home/jenkins/workspace/KIE/kogito/main
[2023-08-03T14:53:05.546Z] 0 /home/jenkins/workspace/KIE/kogito
[2023-08-03T14:53:05.546Z] 13M /home/jenkins/workspace/KIE
[2023-08-03T14:53:05.546Z] 13M /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
[2023-08-03T14:53:07.308Z] [INFO] Getting build-chain version from composite action file
[Pipeline] readFile
[Pipeline] echo
[2023-08-03T14:53:07.792Z] [INFO] build-chain version recovered '^v3'
[Pipeline] sh
[2023-08-03T14:53:08.190Z] + npm install -g '@kie/build-chain-action@^v3' -registry=https://repository.engineering.redhat.com/nexus/repository/registry.npmjs.org/
[2023-08-03T14:53:10.391Z]
[2023-08-03T14:53:10.391Z] changed 95 packages, and audited 96 packages in 2s
[2023-08-03T14:53:10.391Z]
[2023-08-03T14:53:10.391Z] 5 packages are looking for funding
[2023-08-03T14:53:10.391Z] run `npm fund` for details
[2023-08-03T14:53:10.391Z]
[2023-08-03T14:53:10.391Z] found 0 vulnerabilities
[Pipeline] sh
[2023-08-03T14:53:10.790Z] + npm list -g
[2023-08-03T14:53:10.791Z] + grep build-chain
[2023-08-03T14:53:11.045Z] ├── @kie/[email protected]
[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
[2023-08-03T14:53:12.614Z] LD_LIBRARY_PATH = /opt/tools/graalvm/lib/server
[Pipeline] echo
[2023-08-03T14:53:12.792Z] BUILD_MVN_OPTS_CURRENT = -Dfull -Prun-code-coverage
[Pipeline] configFileProvider
[2023-08-03T14:53:12.889Z] provisioning config files...
[2023-08-03T14:53:12.893Z] copy managed file [kogito_pr_settings] to file:/home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.drools@tmp/config6837326454650128944tmp
[Pipeline] {
[Pipeline] withCredentials
[2023-08-03T14:53:13.096Z] Masking supported pattern matches of $GITHUB_TOKEN
[Pipeline] {
[Pipeline] echo
[2023-08-03T14:53:13.312Z] BUILD_MVN_OPTS = -s /home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.drools@tmp/config6837326454650128944tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true
[Pipeline] sh
[2023-08-03T14:53:13.410Z] Warning: A secret was passed to "sh" using Groovy String interpolation, which is insecure.
[2023-08-03T14:53:13.410Z] Affected argument(s) used the following variable(s): [GITHUB_TOKEN]
[2023-08-03T14:53:13.410Z] See https://jenkins.io/redirect/groovy-string-interpolation for details.
[2023-08-03T14:53:13.788Z] + source /home/jenkins/virtenvs/swf/bin/activate
[2023-08-03T14:53:13.788Z] ++ '[' /home/jenkins/virtenvs/swf/bin/activate = /home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.drools@tmp/durable-3ccbdc08/script.sh ']'
[2023-08-03T14:53:13.788Z] ++ deactivate nondestructive
[2023-08-03T14:53:13.788Z] ++ unset -f pydoc
[2023-08-03T14:53:13.788Z] ++ '[' -z '' ']'
[2023-08-03T14:53:13.788Z] ++ '[' -z '' ']'
[2023-08-03T14:53:13.788Z] ++ hash -r
[2023-08-03T14:53:13.788Z] ++ '[' -z '' ']'
[2023-08-03T14:53:13.788Z] ++ unset VIRTUAL_ENV
[2023-08-03T14:53:13.788Z] ++ '[' '!' nondestructive = nondestructive ']'
[2023-08-03T14:53:13.788Z] ++ VIRTUAL_ENV=/home/jenkins/virtenvs/swf
[2023-08-03T14:53:13.788Z] ++ '[' linux-gnu = cygwin ']'
[2023-08-03T14:53:13.788Z] ++ '[' linux-gnu = msys ']'
[2023-08-03T14:53:13.788Z] ++ export VIRTUAL_ENV
[2023-08-03T14:53:13.788Z] ++ _OLD_VIRTUAL_PATH=/opt/tools/jdk11/bin:/opt/tools/apache-maven-3.8.7/bin:/home/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/nodejs-16.2.0/bin:/home/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/nodejs-16.2.0/bin:/home/jenkins/go/bin:/opt/tools/golang/1.19/go/bin:/opt/tools/jdk11/bin:/opt/tools/apache-maven-3.9.1/bin:/opt/tools/apache-ant-1.10.9/bin:/opt/tools/mercurial/:/opt/tools/extras/:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/tools/graalvm/bin
[2023-08-03T14:53:13.788Z] ++ PATH=/home/jenkins/virtenvs/swf/bin:/opt/tools/jdk11/bin:/opt/tools/apache-maven-3.8.7/bin:/home/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/nodejs-16.2.0/bin:/home/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/nodejs-16.2.0/bin:/home/jenkins/go/bin:/opt/tools/golang/1.19/go/bin:/opt/tools/jdk11/bin:/opt/tools/apache-maven-3.9.1/bin:/opt/tools/apache-ant-1.10.9/bin:/opt/tools/mercurial/:/opt/tools/extras/:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/tools/graalvm/bin
[2023-08-03T14:53:13.788Z] ++ export PATH
[2023-08-03T14:53:13.788Z] ++ '[' -z '' ']'
[2023-08-03T14:53:13.788Z] ++ '[' -z '' ']'
[2023-08-03T14:53:13.788Z] ++ _OLD_VIRTUAL_PS1=
[2023-08-03T14:53:13.788Z] ++ '[' x '!=' x ']'
[2023-08-03T14:53:13.788Z] +++ basename /home/jenkins/virtenvs/swf
[2023-08-03T14:53:13.788Z] ++ PS1='(swf) '
[2023-08-03T14:53:13.788Z] ++ export PS1
[2023-08-03T14:53:13.788Z] ++ alias pydoc
[2023-08-03T14:53:13.788Z] ++ true
[2023-08-03T14:53:13.788Z] ++ hash -r
[2023-08-03T14:53:13.788Z] + build-chain build cross_pr --token **** -f https://raw.githubusercontent.com/kiegroup/drools/main/.ci/buildchain-config.yaml -o bc -p kiegroup/drools -u https://github.com/kiegroup/drools/pull/5443 --skipParallelCheckout
[2023-08-03T14:53:15.288Z] # Executing pre section
[2023-08-03T14:53:15.288Z] [command]/usr/bin/echo BUILD_MVN_OPTS= -s /home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.drools@tmp/config6837326454650128944tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3
[2023-08-03T14:53:15.288Z] BUILD_MVN_OPTS= -s /home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.drools@tmp/config6837326454650128944tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3
[2023-08-03T14:53:15.288Z] [command]/usr/bin/echo BUILD_MVN_OPTS_CURRENT=-Dfull -Prun-code-coverage dependency:tree
[2023-08-03T14:53:15.288Z] BUILD_MVN_OPTS_CURRENT=-Dfull -Prun-code-coverage dependency:tree
[2023-08-03T14:53:15.288Z] [command]/usr/bin/echo QUARKUS_VERSION=
[2023-08-03T14:53:15.288Z] QUARKUS_VERSION=
[2023-08-03T14:53:15.288Z] [command]/usr/bin/echo ENABLE_DEPLOY=
[2023-08-03T14:53:15.288Z] ENABLE_DEPLOY=
[2023-08-03T14:53:15.288Z]
[2023-08-03T14:53:15.288Z] # Execution Plan
[2023-08-03T14:53:15.288Z] [INFO] 1 projects will be executed
[2023-08-03T14:53:15.288Z] [INFO] [kiegroup/drools]
[2023-08-03T14:53:15.288Z] [INFO] Level type: current
[2023-08-03T14:53:15.288Z] [INFO] [before]
[2023-08-03T14:53:15.288Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_CURRENT }}
[2023-08-03T14:53:15.288Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ${{ env.BUILD_ENVIRONMENT }} ${{ env.BUILD_ENVIRONMENT_OPTIONS_CURRENT }}; fi"
[2023-08-03T14:53:15.288Z] [INFO] [commands]
[2023-08-03T14:53:15.288Z] [INFO] export MVN_CMD=`bash -c "if [ '${{ env.ENABLE_DEPLOY }}' = 'true' ]; then printf 'deploy ${{ env.DEPLOY_MVN_OPTS }} ${{ env.DROOLS_DEPLOY_MVN_OPTS }}'; else printf 'install'; fi"`
[2023-08-03T14:53:15.288Z] mvn clean ${{ env.MVN_CMD }} ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_CURRENT }} ${{ env.DROOLS_BUILD_MVN_OPTS }}
[2023-08-03T14:53:15.288Z] [INFO] [after]
[2023-08-03T14:53:15.288Z] [INFO] docker system prune -f
[2023-08-03T14:53:15.288Z]
[2023-08-03T14:53:15.288Z] # Checking out kiegroup/drools and its dependencies (1 projects in total). It can take some time.
[2023-08-03T14:53:30.690Z] [INFO] kiegroup/drools checked out
[2023-08-03T14:53:30.690Z]
[2023-08-03T14:53:30.690Z] # Checkout summary
[2023-08-03T14:53:30.690Z] [INFO] [kiegroup/drools]
[2023-08-03T14:53:30.690Z] [INFO] Project taken from kiegroup/drools:main
[2023-08-03T14:53:30.690Z] [INFO] Merged lucamolteni/drools:DROOLS-7522 into branch main
[2023-08-03T14:53:30.690Z]
[2023-08-03T14:53:30.690Z] # Executing kiegroup/drools
[2023-08-03T14:53:30.690Z] [command]/usr/bin/bash -c if [ ! -z '' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ; fi
[2023-08-03T14:53:30.690Z] [command]/usr/bin/bash -c if [ '' = 'true' ]; then printf 'deploy '; else printf 'install'; fi
[2023-08-03T14:53:30.690Z] install[command]/opt/tools/apache-maven-3.8.7/bin/mvn clean install -s /home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.drools@tmp/config6837326454650128944tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3 -Dfull -Prun-code-coverage dependency:tree -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B
[2023-08-03T14:53:30.690Z] [INFO] Error stacktraces are turned on.
[2023-08-03T14:53:30.690Z] [INFO] Scanning for projects...
[2023-08-03T14:53:32.788Z] [ERROR] [ERROR] Some problems were encountered while processing the POMs:
[2023-08-03T14:53:32.788Z] [FATAL] Non-parseable POM /home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.drools/bc/kiegroup_drools/kie-dmn/kie-dmn-xls2dmn-cli/pom.xml: in comment after two dashes (--) next character must be > not (position: START_TAG seen ...\n

@kie-ci4
Copy link
Contributor

kie-ci4 commented Aug 3, 2023

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

Reproducer

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

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

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

Console Logs [2023-08-03T14:53:08.691Z] 13M /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
[2023-08-03T14:53:10.408Z] [INFO] Getting build-chain version from composite action file
[Pipeline] readFile
[Pipeline] echo
[2023-08-03T14:53:10.716Z] [INFO] build-chain version recovered '^v3'
[Pipeline] sh
[2023-08-03T14:53:11.189Z] + npm install -g '@kie/build-chain-action@^v3' -registry=https://repository.engineering.redhat.com/nexus/repository/registry.npmjs.org/
[2023-08-03T14:53:14.690Z]
[2023-08-03T14:53:14.690Z] added 95 packages, and audited 96 packages in 3s
[2023-08-03T14:53:14.690Z]
[2023-08-03T14:53:14.690Z] 5 packages are looking for funding
[2023-08-03T14:53:14.690Z] run `npm fund` for details
[2023-08-03T14:53:14.690Z]
[2023-08-03T14:53:14.690Z] found 0 vulnerabilities
[Pipeline] sh
[2023-08-03T14:53:15.089Z] + npm list -g
[2023-08-03T14:53:15.090Z] + grep build-chain
[2023-08-03T14:53:15.390Z] ├── @kie/[email protected]
[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
[2023-08-03T14:53:17.593Z] LD_LIBRARY_PATH = /opt/tools/graalvm/lib/server
[Pipeline] echo
[2023-08-03T14:53:17.789Z] BUILD_MVN_OPTS_CURRENT =
[Pipeline] configFileProvider
[2023-08-03T14:53:17.807Z] provisioning config files...
[2023-08-03T14:53:17.892Z] copy managed file [kogito_pr_settings] to file:/home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.downstream.kogito-runtimes@tmp/config10977988473813014531tmp
[Pipeline] {
[Pipeline] withCredentials
[2023-08-03T14:53:18.019Z] Masking supported pattern matches of $GITHUB_TOKEN
[Pipeline] {
[Pipeline] echo
[2023-08-03T14:53:18.294Z] BUILD_MVN_OPTS = -s /home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.downstream.kogito-runtimes@tmp/config10977988473813014531tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true
[Pipeline] sh
[2023-08-03T14:53:18.394Z] Warning: A secret was passed to "sh" using Groovy String interpolation, which is insecure.
[2023-08-03T14:53:18.394Z] Affected argument(s) used the following variable(s): [GITHUB_TOKEN]
[2023-08-03T14:53:18.394Z] See https://jenkins.io/redirect/groovy-string-interpolation for details.
[2023-08-03T14:53:18.689Z] + source /home/jenkins/virtenvs/swf/bin/activate
[2023-08-03T14:53:18.689Z] ++ '[' /home/jenkins/virtenvs/swf/bin/activate = /home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.downstream.kogito-runtimes@tmp/durable-2e4c985c/script.sh ']'
[2023-08-03T14:53:18.689Z] ++ deactivate nondestructive
[2023-08-03T14:53:18.689Z] ++ unset -f pydoc
[2023-08-03T14:53:18.689Z] ++ '[' -z '' ']'
[2023-08-03T14:53:18.689Z] ++ '[' -z '' ']'
[2023-08-03T14:53:18.689Z] ++ hash -r
[2023-08-03T14:53:18.689Z] ++ '[' -z '' ']'
[2023-08-03T14:53:18.689Z] ++ unset VIRTUAL_ENV
[2023-08-03T14:53:18.689Z] ++ '[' '!' nondestructive = nondestructive ']'
[2023-08-03T14:53:18.689Z] ++ VIRTUAL_ENV=/home/jenkins/virtenvs/swf
[2023-08-03T14:53:18.689Z] ++ '[' linux-gnu = cygwin ']'
[2023-08-03T14:53:18.689Z] ++ '[' linux-gnu = msys ']'
[2023-08-03T14:53:18.689Z] ++ export VIRTUAL_ENV
[2023-08-03T14:53:18.689Z] ++ _OLD_VIRTUAL_PATH=/opt/tools/jdk11/bin:/opt/tools/apache-maven-3.8.7/bin:/home/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/nodejs-16.2.0/bin:/home/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/nodejs-16.2.0/bin:/home/jenkins/go/bin:/opt/tools/golang/1.19/go/bin:/opt/tools/jdk11/bin:/opt/tools/apache-maven-3.9.1/bin:/opt/tools/apache-ant-1.10.9/bin:/opt/tools/mercurial/:/opt/tools/extras/:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/tools/graalvm/bin
[2023-08-03T14:53:18.689Z] ++ PATH=/home/jenkins/virtenvs/swf/bin:/opt/tools/jdk11/bin:/opt/tools/apache-maven-3.8.7/bin:/home/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/nodejs-16.2.0/bin:/home/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/nodejs-16.2.0/bin:/home/jenkins/go/bin:/opt/tools/golang/1.19/go/bin:/opt/tools/jdk11/bin:/opt/tools/apache-maven-3.9.1/bin:/opt/tools/apache-ant-1.10.9/bin:/opt/tools/mercurial/:/opt/tools/extras/:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/tools/graalvm/bin
[2023-08-03T14:53:18.689Z] ++ export PATH
[2023-08-03T14:53:18.689Z] ++ '[' -z '' ']'
[2023-08-03T14:53:18.689Z] ++ '[' -z '' ']'
[2023-08-03T14:53:18.689Z] ++ _OLD_VIRTUAL_PS1=
[2023-08-03T14:53:18.689Z] ++ '[' x '!=' x ']'
[2023-08-03T14:53:18.689Z] +++ basename /home/jenkins/virtenvs/swf
[2023-08-03T14:53:18.689Z] ++ PS1='(swf) '
[2023-08-03T14:53:18.689Z] ++ export PS1
[2023-08-03T14:53:18.689Z] ++ alias pydoc
[2023-08-03T14:53:18.689Z] ++ true
[2023-08-03T14:53:18.689Z] ++ hash -r
[2023-08-03T14:53:18.689Z] + build-chain build cross_pr --token **** -f https://raw.githubusercontent.com/kiegroup/drools/main/.ci/buildchain-config.yaml -o bc -p kiegroup/kogito-runtimes -u https://github.com/kiegroup/drools/pull/5443 --skipParallelCheckout
[2023-08-03T14:53:19.690Z] # Executing pre section
[2023-08-03T14:53:19.690Z] [command]/usr/bin/echo BUILD_MVN_OPTS= -s /home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.downstream.kogito-runtimes@tmp/config10977988473813014531tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3
[2023-08-03T14:53:19.690Z] BUILD_MVN_OPTS= -s /home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.downstream.kogito-runtimes@tmp/config10977988473813014531tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3
[2023-08-03T14:53:19.690Z] [command]/usr/bin/echo BUILD_MVN_OPTS_CURRENT= dependency:tree
[2023-08-03T14:53:19.690Z] BUILD_MVN_OPTS_CURRENT= dependency:tree
[2023-08-03T14:53:19.690Z] [command]/usr/bin/echo QUARKUS_VERSION=
[2023-08-03T14:53:19.690Z] QUARKUS_VERSION=
[2023-08-03T14:53:19.690Z] [command]/usr/bin/echo ENABLE_DEPLOY=
[2023-08-03T14:53:19.690Z] ENABLE_DEPLOY=
[2023-08-03T14:53:19.690Z]
[2023-08-03T14:53:19.690Z] # Execution Plan
[2023-08-03T14:53:19.690Z] [INFO] 2 projects will be executed
[2023-08-03T14:53:19.690Z] [INFO] [kiegroup/drools]
[2023-08-03T14:53:19.690Z] [INFO] Level type: upstream
[2023-08-03T14:53:19.690Z] [INFO] [before]
[2023-08-03T14:53:19.690Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_UPSTREAM }}
[2023-08-03T14:53:19.690Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ${{ env.BUILD_ENVIRONMENT }} ${{ env.BUILD_ENVIRONMENT_OPTIONS_UPSTREAM }}; fi"
[2023-08-03T14:53:19.690Z] [INFO] [commands]
[2023-08-03T14:53:19.691Z] [INFO] mvn clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.DROOLS_BUILD_MVN_OPTS_UPSTREAM }}
[2023-08-03T14:53:19.691Z] [INFO] [after]
[2023-08-03T14:53:19.691Z] [INFO] docker system prune -f
[2023-08-03T14:53:19.691Z] [INFO] [kiegroup/kogito-runtimes]
[2023-08-03T14:53:19.691Z] [INFO] Level type: current
[2023-08-03T14:53:19.691Z] [INFO] [before]
[2023-08-03T14:53:19.691Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_CURRENT }}
[2023-08-03T14:53:19.691Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ${{ env.BUILD_ENVIRONMENT }} ${{ env.BUILD_ENVIRONMENT_OPTIONS_CURRENT }}; fi"
[2023-08-03T14:53:19.691Z] [INFO] [commands]
[2023-08-03T14:53:19.691Z] [INFO] export MVN_CMD=`bash -c "if [ '${{ env.ENABLE_DEPLOY }}' = 'true' ]; then printf 'deploy ${{ env.DEPLOY_MVN_OPTS }} ${{ env.KOGITO_RUNTIMES_DEPLOY_MVN_OPTS }}'; else printf 'install'; fi"`
[2023-08-03T14:53:19.691Z] mvn clean ${{ env.MVN_CMD }} -Dfull ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_CURRENT }} ${{ env.KOGITO_RUNTIMES_BUILD_MVN_OPTS }}
[2023-08-03T14:53:19.691Z] [INFO] [after]
[2023-08-03T14:53:19.691Z] [INFO] docker system prune -f
[2023-08-03T14:53:19.691Z]
[2023-08-03T14:53:19.691Z] # Checking out kiegroup/kogito-runtimes and its dependencies (2 projects in total). It can take some time.
[2023-08-03T14:53:42.190Z] [INFO] kiegroup/drools checked out
[2023-08-03T14:53:53.792Z] [INFO] kiegroup/kogito-runtimes checked out
[2023-08-03T14:53:53.792Z]
[2023-08-03T14:53:53.792Z] # Checkout summary
[2023-08-03T14:53:53.792Z] [INFO] [kiegroup/drools]
[2023-08-03T14:53:53.792Z] [INFO] Project taken from kiegroup/drools:main
[2023-08-03T14:53:53.792Z] [INFO] Merged lucamolteni/drools:DROOLS-7522 into branch main
[2023-08-03T14:53:53.792Z] [INFO] [kiegroup/kogito-runtimes]
[2023-08-03T14:53:53.792Z] [INFO] Project taken from kiegroup/kogito-runtimes:main
[2023-08-03T14:53:53.792Z]
[2023-08-03T14:53:53.792Z] # Executing kiegroup/drools
[2023-08-03T14:53:53.792Z] [command]/usr/bin/bash -c if [ ! -z '' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ; fi
[2023-08-03T14:53:53.792Z] [command]/opt/tools/apache-maven-3.8.7/bin/mvn clean install -Dquickly -s /home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.downstream.kogito-runtimes@tmp/config10977988473813014531tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B
[2023-08-03T14:53:54.096Z] [INFO] Error stacktraces are turned on.
[2023-08-03T14:53:54.096Z] [INFO] Scanning for projects...
[2023-08-03T14:53:56.990Z] [ERROR] [ERROR] Some problems were encountered while processing the POMs:
[2023-08-03T14:53:56.990Z] [FATAL] Non-parseable POM /home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.downstream.kogito-runtimes/bc/kiegroup_drools/kie-dmn/kie-dmn-xls2dmn-cli/pom.xml: in comment after two dashes (--) next character must be > not (position: START_TAG seen ...\n

@kie-ci4
Copy link
Contributor

kie-ci4 commented Aug 3, 2023

(tests) - serverless-workflow-examples job #810 was: FAILURE
Possible explanation: Pipeline failure or project build failure

Reproducer

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

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

Please look here: https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/drools/job/main/job/pullrequest/job/drools.tests.downstream.serverless-workflow-examples/810/display/redirect
See console log:

Console Logs [2023-08-03T14:53:14.012Z] added 95 packages, and audited 96 packages in 3s
[2023-08-03T14:53:14.012Z]
[2023-08-03T14:53:14.012Z] 5 packages are looking for funding
[2023-08-03T14:53:14.012Z] run `npm fund` for details
[2023-08-03T14:53:14.012Z]
[2023-08-03T14:53:14.012Z] found 0 vulnerabilities
[Pipeline] sh
[2023-08-03T14:53:14.494Z] + npm list -g
[2023-08-03T14:53:14.495Z] + grep build-chain
[2023-08-03T14:53:14.791Z] ├── @kie/[email protected]
[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
[2023-08-03T14:53:16.991Z] LD_LIBRARY_PATH = /opt/tools/graalvm/lib/server
[Pipeline] echo
[2023-08-03T14:53:17.101Z] BUILD_MVN_OPTS_CURRENT =
[Pipeline] configFileProvider
[2023-08-03T14:53:17.197Z] provisioning config files...
[2023-08-03T14:53:17.203Z] copy managed file [kogito_pr_settings] to file:/home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.downstream.serverless-workflow-examples@tmp/config2893141154511959479tmp
[Pipeline] {
[Pipeline] withCredentials
[2023-08-03T14:53:17.406Z] Masking supported pattern matches of $GITHUB_TOKEN
[Pipeline] {
[Pipeline] echo
[2023-08-03T14:53:17.695Z] BUILD_MVN_OPTS = -s /home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.downstream.serverless-workflow-examples@tmp/config2893141154511959479tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true
[Pipeline] sh
[2023-08-03T14:53:17.799Z] Warning: A secret was passed to "sh" using Groovy String interpolation, which is insecure.
[2023-08-03T14:53:17.800Z] Affected argument(s) used the following variable(s): [GITHUB_TOKEN]
[2023-08-03T14:53:17.800Z] See https://jenkins.io/redirect/groovy-string-interpolation for details.
[2023-08-03T14:53:18.187Z] + source /home/jenkins/virtenvs/swf/bin/activate
[2023-08-03T14:53:18.187Z] ++ '[' /home/jenkins/virtenvs/swf/bin/activate = /home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.downstream.serverless-workflow-examples@tmp/durable-bdaab12f/script.sh ']'
[2023-08-03T14:53:18.187Z] ++ deactivate nondestructive
[2023-08-03T14:53:18.187Z] ++ unset -f pydoc
[2023-08-03T14:53:18.187Z] ++ '[' -z '' ']'
[2023-08-03T14:53:18.187Z] ++ '[' -z '' ']'
[2023-08-03T14:53:18.187Z] ++ hash -r
[2023-08-03T14:53:18.187Z] ++ '[' -z '' ']'
[2023-08-03T14:53:18.187Z] ++ unset VIRTUAL_ENV
[2023-08-03T14:53:18.187Z] ++ '[' '!' nondestructive = nondestructive ']'
[2023-08-03T14:53:18.187Z] ++ VIRTUAL_ENV=/home/jenkins/virtenvs/swf
[2023-08-03T14:53:18.187Z] ++ '[' linux-gnu = cygwin ']'
[2023-08-03T14:53:18.187Z] ++ '[' linux-gnu = msys ']'
[2023-08-03T14:53:18.187Z] ++ export VIRTUAL_ENV
[2023-08-03T14:53:18.187Z] ++ _OLD_VIRTUAL_PATH=/opt/tools/jdk11/bin:/opt/tools/apache-maven-3.8.7/bin:/home/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/nodejs-16.2.0/bin:/home/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/nodejs-16.2.0/bin:/home/jenkins/go/bin:/opt/tools/golang/1.19/go/bin:/opt/tools/jdk11/bin:/opt/tools/apache-maven-3.9.1/bin:/opt/tools/apache-ant-1.10.9/bin:/opt/tools/mercurial/:/opt/tools/extras/:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/tools/graalvm/bin
[2023-08-03T14:53:18.187Z] ++ PATH=/home/jenkins/virtenvs/swf/bin:/opt/tools/jdk11/bin:/opt/tools/apache-maven-3.8.7/bin:/home/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/nodejs-16.2.0/bin:/home/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/nodejs-16.2.0/bin:/home/jenkins/go/bin:/opt/tools/golang/1.19/go/bin:/opt/tools/jdk11/bin:/opt/tools/apache-maven-3.9.1/bin:/opt/tools/apache-ant-1.10.9/bin:/opt/tools/mercurial/:/opt/tools/extras/:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/tools/graalvm/bin
[2023-08-03T14:53:18.187Z] ++ export PATH
[2023-08-03T14:53:18.187Z] ++ '[' -z '' ']'
[2023-08-03T14:53:18.187Z] ++ '[' -z '' ']'
[2023-08-03T14:53:18.187Z] ++ _OLD_VIRTUAL_PS1=
[2023-08-03T14:53:18.187Z] ++ '[' x '!=' x ']'
[2023-08-03T14:53:18.187Z] +++ basename /home/jenkins/virtenvs/swf
[2023-08-03T14:53:18.187Z] ++ PS1='(swf) '
[2023-08-03T14:53:18.187Z] ++ export PS1
[2023-08-03T14:53:18.187Z] ++ alias pydoc
[2023-08-03T14:53:18.187Z] ++ true
[2023-08-03T14:53:18.187Z] ++ hash -r
[2023-08-03T14:53:18.187Z] + build-chain build cross_pr --token **** -f https://raw.githubusercontent.com/kiegroup/drools/main/.ci/buildchain-config.yaml -o bc -p kiegroup/kogito-examples -u https://github.com/kiegroup/drools/pull/5443 --skipParallelCheckout
[2023-08-03T14:53:19.290Z] # Executing pre section
[2023-08-03T14:53:19.290Z] [command]/usr/bin/echo BUILD_MVN_OPTS= -s /home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.downstream.serverless-workflow-examples@tmp/config2893141154511959479tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3
[2023-08-03T14:53:19.290Z] BUILD_MVN_OPTS= -s /home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.downstream.serverless-workflow-examples@tmp/config2893141154511959479tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3
[2023-08-03T14:53:19.290Z] [command]/usr/bin/echo BUILD_MVN_OPTS_CURRENT= dependency:tree
[2023-08-03T14:53:19.290Z] BUILD_MVN_OPTS_CURRENT= dependency:tree
[2023-08-03T14:53:19.290Z] [command]/usr/bin/echo QUARKUS_VERSION=
[2023-08-03T14:53:19.290Z] QUARKUS_VERSION=
[2023-08-03T14:53:19.290Z] [command]/usr/bin/echo ENABLE_DEPLOY=
[2023-08-03T14:53:19.290Z] ENABLE_DEPLOY=
[2023-08-03T14:53:19.290Z]
[2023-08-03T14:53:19.290Z] # Execution Plan
[2023-08-03T14:53:19.290Z] [INFO] 4 projects will be executed
[2023-08-03T14:53:19.290Z] [INFO] [kiegroup/drools]
[2023-08-03T14:53:19.290Z] [INFO] Level type: upstream
[2023-08-03T14:53:19.290Z] [INFO] [before]
[2023-08-03T14:53:19.290Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_UPSTREAM }}
[2023-08-03T14:53:19.290Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ${{ env.BUILD_ENVIRONMENT }} ${{ env.BUILD_ENVIRONMENT_OPTIONS_UPSTREAM }}; fi"
[2023-08-03T14:53:19.290Z] [INFO] [commands]
[2023-08-03T14:53:19.290Z] [INFO] mvn clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.DROOLS_BUILD_MVN_OPTS_UPSTREAM }}
[2023-08-03T14:53:19.290Z] [INFO] [after]
[2023-08-03T14:53:19.290Z] [INFO] docker system prune -f
[2023-08-03T14:53:19.290Z] [INFO] [kiegroup/kogito-runtimes]
[2023-08-03T14:53:19.290Z] [INFO] Level type: upstream
[2023-08-03T14:53:19.290Z] [INFO] [before]
[2023-08-03T14:53:19.290Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_UPSTREAM }}
[2023-08-03T14:53:19.290Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ${{ env.BUILD_ENVIRONMENT }} ${{ env.BUILD_ENVIRONMENT_OPTIONS_UPSTREAM }}; fi"
[2023-08-03T14:53:19.290Z] [INFO] [commands]
[2023-08-03T14:53:19.290Z] [INFO] mvn clean install -Dquickly -Dfull ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.KOGITO_RUNTIMES_BUILD_MVN_OPTS_UPSTREAM }}
[2023-08-03T14:53:19.290Z] [INFO] [after]
[2023-08-03T14:53:19.290Z] [INFO] docker system prune -f
[2023-08-03T14:53:19.290Z] [INFO] [kiegroup/kogito-apps]
[2023-08-03T14:53:19.290Z] [INFO] Level type: upstream
[2023-08-03T14:53:19.290Z] [INFO] [before]
[2023-08-03T14:53:19.290Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_UPSTREAM }}
[2023-08-03T14:53:19.290Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ${{ env.BUILD_ENVIRONMENT }} ${{ env.BUILD_ENVIRONMENT_OPTIONS_UPSTREAM }}; fi"
[2023-08-03T14:53:19.290Z] [INFO] [commands]
[2023-08-03T14:53:19.290Z] [INFO] mvn clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.KOGITO_APPS_BUILD_MVN_OPTS_UPSTREAM }}
[2023-08-03T14:53:19.290Z] [INFO] [after]
[2023-08-03T14:53:19.290Z] [INFO] docker system prune -f
[2023-08-03T14:53:19.290Z] [INFO] [kiegroup/kogito-examples]
[2023-08-03T14:53:19.290Z] [INFO] Level type: current
[2023-08-03T14:53:19.290Z] [INFO] [before]
[2023-08-03T14:53:19.290Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_CURRENT }}
[2023-08-03T14:53:19.290Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ${{ env.BUILD_ENVIRONMENT }} ${{ env.BUILD_ENVIRONMENT_OPTIONS_CURRENT }}; fi"
[2023-08-03T14:53:19.290Z] [INFO] [commands]
[2023-08-03T14:53:19.290Z] [INFO] export MVN_CMD=`bash -c "if [ '${{ env.ENABLE_DEPLOY }}' = 'true' ]; then printf 'deploy ${{ env.DEPLOY_MVN_OPTS }} ${{ env.KOGITO_EXAMPLES_DEPLOY_MVN_OPTS }}'; else printf 'install'; fi"`
[2023-08-03T14:53:19.290Z] mvn -pl :kogito-examples clean ${{ env.MVN_CMD }} ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_CURRENT }} ${{ env.KOGITO_EXAMPLES_BUILD_MVN_OPTS }}
[2023-08-03T14:53:19.290Z] mvn -f ${{ env.KOGITO_EXAMPLES_SUBFOLDER_POM }}pom.xml clean ${{ env.MVN_CMD }} ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_CURRENT }} ${{ env.KOGITO_EXAMPLES_BUILD_MVN_OPTS }}
[2023-08-03T14:53:19.290Z] [INFO] [after]
[2023-08-03T14:53:19.290Z] [INFO] docker system prune -f
[2023-08-03T14:53:19.290Z]
[2023-08-03T14:53:19.290Z] # Checking out kiegroup/kogito-examples and its dependencies (4 projects in total). It can take some time.
[2023-08-03T14:53:34.556Z] [INFO] kiegroup/drools checked out
[2023-08-03T14:53:47.588Z] [INFO] kiegroup/kogito-runtimes checked out
[2023-08-03T14:53:51.191Z] [INFO] kiegroup/kogito-apps checked out
[2023-08-03T14:53:53.987Z] [INFO] kiegroup/kogito-examples checked out
[2023-08-03T14:53:53.987Z]
[2023-08-03T14:53:53.987Z] # Checkout summary
[2023-08-03T14:53:53.987Z] [INFO] [kiegroup/drools]
[2023-08-03T14:53:53.987Z] [INFO] Project taken from kiegroup/drools:main
[2023-08-03T14:53:53.987Z] [INFO] Merged lucamolteni/drools:DROOLS-7522 into branch main
[2023-08-03T14:53:53.987Z] [INFO] [kiegroup/kogito-runtimes]
[2023-08-03T14:53:53.987Z] [INFO] Project taken from kiegroup/kogito-runtimes:main
[2023-08-03T14:53:53.987Z] [INFO] [kiegroup/kogito-apps]
[2023-08-03T14:53:53.987Z] [INFO] Project taken from kiegroup/kogito-apps:main
[2023-08-03T14:53:53.987Z] [INFO] [kiegroup/kogito-examples]
[2023-08-03T14:53:53.987Z] [INFO] Project taken from kiegroup/kogito-examples:main
[2023-08-03T14:53:53.987Z]
[2023-08-03T14:53:53.987Z] # Executing kiegroup/drools
[2023-08-03T14:53:53.987Z] [command]/usr/bin/bash -c if [ ! -z '' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ; fi
[2023-08-03T14:53:53.987Z] [command]/opt/tools/apache-maven-3.8.7/bin/mvn clean install -Dquickly -s /home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.downstream.serverless-workflow-examples@tmp/config2893141154511959479tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B
[2023-08-03T14:53:54.288Z] [INFO] Error stacktraces are turned on.
[2023-08-03T14:53:54.591Z] [INFO] Scanning for projects...
[2023-08-03T14:53:57.387Z] [ERROR] [ERROR] Some problems were encountered while processing the POMs:
[2023-08-03T14:53:57.387Z] [FATAL] Non-parseable POM /home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.downstream.serverless-workflow-examples/bc/kiegroup_drools/kie-dmn/kie-dmn-xls2dmn-cli/pom.xml: in comment after two dashes (--) next character must be > not (position: START_TAG seen ...\n

@kie-ci4
Copy link
Contributor

kie-ci4 commented Aug 3, 2023

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

Reproducer

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

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

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

Console Logs [2023-08-03T14:53:14.290Z] added 95 packages, and audited 96 packages in 3s
[2023-08-03T14:53:14.290Z]
[2023-08-03T14:53:14.290Z] 5 packages are looking for funding
[2023-08-03T14:53:14.290Z] run `npm fund` for details
[2023-08-03T14:53:14.290Z]
[2023-08-03T14:53:14.290Z] found 0 vulnerabilities
[Pipeline] sh
[2023-08-03T14:53:14.803Z] + npm list -g
[2023-08-03T14:53:14.805Z] + grep build-chain
[2023-08-03T14:53:15.089Z] ├── @kie/[email protected]
[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
[2023-08-03T14:53:17.291Z] LD_LIBRARY_PATH = /opt/tools/graalvm/lib/server
[Pipeline] echo
[2023-08-03T14:53:17.407Z] BUILD_MVN_OPTS_CURRENT =
[Pipeline] configFileProvider
[2023-08-03T14:53:17.589Z] provisioning config files...
[2023-08-03T14:53:17.595Z] copy managed file [kogito_pr_settings] to file:/home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.downstream.kogito-springboot-examples@tmp/config2301556554604807481tmp
[Pipeline] {
[Pipeline] withCredentials
[2023-08-03T14:53:17.791Z] Masking supported pattern matches of $GITHUB_TOKEN
[Pipeline] {
[Pipeline] echo
[2023-08-03T14:53:17.991Z] BUILD_MVN_OPTS = -s /home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.downstream.kogito-springboot-examples@tmp/config2301556554604807481tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true
[Pipeline] sh
[2023-08-03T14:53:18.093Z] Warning: A secret was passed to "sh" using Groovy String interpolation, which is insecure.
[2023-08-03T14:53:18.093Z] Affected argument(s) used the following variable(s): [GITHUB_TOKEN]
[2023-08-03T14:53:18.093Z] See https://jenkins.io/redirect/groovy-string-interpolation for details.
[2023-08-03T14:53:18.390Z] + source /home/jenkins/virtenvs/swf/bin/activate
[2023-08-03T14:53:18.390Z] ++ '[' /home/jenkins/virtenvs/swf/bin/activate = /home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.downstream.kogito-springboot-examples@tmp/durable-6149be86/script.sh ']'
[2023-08-03T14:53:18.390Z] ++ deactivate nondestructive
[2023-08-03T14:53:18.390Z] ++ unset -f pydoc
[2023-08-03T14:53:18.390Z] ++ '[' -z '' ']'
[2023-08-03T14:53:18.390Z] ++ '[' -z '' ']'
[2023-08-03T14:53:18.390Z] ++ hash -r
[2023-08-03T14:53:18.390Z] ++ '[' -z '' ']'
[2023-08-03T14:53:18.390Z] ++ unset VIRTUAL_ENV
[2023-08-03T14:53:18.390Z] ++ '[' '!' nondestructive = nondestructive ']'
[2023-08-03T14:53:18.390Z] ++ VIRTUAL_ENV=/home/jenkins/virtenvs/swf
[2023-08-03T14:53:18.390Z] ++ '[' linux-gnu = cygwin ']'
[2023-08-03T14:53:18.390Z] ++ '[' linux-gnu = msys ']'
[2023-08-03T14:53:18.390Z] ++ export VIRTUAL_ENV
[2023-08-03T14:53:18.390Z] ++ _OLD_VIRTUAL_PATH=/opt/tools/jdk11/bin:/opt/tools/apache-maven-3.8.7/bin:/home/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/nodejs-16.2.0/bin:/home/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/nodejs-16.2.0/bin:/home/jenkins/go/bin:/opt/tools/golang/1.19/go/bin:/opt/tools/jdk11/bin:/opt/tools/apache-maven-3.9.1/bin:/opt/tools/apache-ant-1.10.9/bin:/opt/tools/mercurial/:/opt/tools/extras/:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/tools/graalvm/bin
[2023-08-03T14:53:18.390Z] ++ PATH=/home/jenkins/virtenvs/swf/bin:/opt/tools/jdk11/bin:/opt/tools/apache-maven-3.8.7/bin:/home/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/nodejs-16.2.0/bin:/home/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/nodejs-16.2.0/bin:/home/jenkins/go/bin:/opt/tools/golang/1.19/go/bin:/opt/tools/jdk11/bin:/opt/tools/apache-maven-3.9.1/bin:/opt/tools/apache-ant-1.10.9/bin:/opt/tools/mercurial/:/opt/tools/extras/:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/tools/graalvm/bin
[2023-08-03T14:53:18.390Z] ++ export PATH
[2023-08-03T14:53:18.390Z] ++ '[' -z '' ']'
[2023-08-03T14:53:18.390Z] ++ '[' -z '' ']'
[2023-08-03T14:53:18.390Z] ++ _OLD_VIRTUAL_PS1=
[2023-08-03T14:53:18.390Z] ++ '[' x '!=' x ']'
[2023-08-03T14:53:18.390Z] +++ basename /home/jenkins/virtenvs/swf
[2023-08-03T14:53:18.390Z] ++ PS1='(swf) '
[2023-08-03T14:53:18.390Z] ++ export PS1
[2023-08-03T14:53:18.390Z] ++ alias pydoc
[2023-08-03T14:53:18.390Z] ++ true
[2023-08-03T14:53:18.390Z] ++ hash -r
[2023-08-03T14:53:18.390Z] + build-chain build cross_pr --token **** -f https://raw.githubusercontent.com/kiegroup/drools/main/.ci/buildchain-config.yaml -o bc -p kiegroup/kogito-examples -u https://github.com/kiegroup/drools/pull/5443 --skipParallelCheckout
[2023-08-03T14:53:19.407Z] # Executing pre section
[2023-08-03T14:53:19.407Z] [command]/usr/bin/echo BUILD_MVN_OPTS= -s /home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.downstream.kogito-springboot-examples@tmp/config2301556554604807481tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3
[2023-08-03T14:53:19.407Z] BUILD_MVN_OPTS= -s /home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.downstream.kogito-springboot-examples@tmp/config2301556554604807481tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3
[2023-08-03T14:53:19.407Z] [command]/usr/bin/echo BUILD_MVN_OPTS_CURRENT= dependency:tree
[2023-08-03T14:53:19.407Z] BUILD_MVN_OPTS_CURRENT= dependency:tree
[2023-08-03T14:53:19.407Z] [command]/usr/bin/echo QUARKUS_VERSION=
[2023-08-03T14:53:19.745Z] QUARKUS_VERSION=
[2023-08-03T14:53:19.745Z] [command]/usr/bin/echo ENABLE_DEPLOY=
[2023-08-03T14:53:19.745Z] ENABLE_DEPLOY=
[2023-08-03T14:53:19.745Z]
[2023-08-03T14:53:19.745Z] # Execution Plan
[2023-08-03T14:53:19.745Z] [INFO] 4 projects will be executed
[2023-08-03T14:53:19.745Z] [INFO] [kiegroup/drools]
[2023-08-03T14:53:19.745Z] [INFO] Level type: upstream
[2023-08-03T14:53:19.745Z] [INFO] [before]
[2023-08-03T14:53:19.745Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_UPSTREAM }}
[2023-08-03T14:53:19.745Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ${{ env.BUILD_ENVIRONMENT }} ${{ env.BUILD_ENVIRONMENT_OPTIONS_UPSTREAM }}; fi"
[2023-08-03T14:53:19.745Z] [INFO] [commands]
[2023-08-03T14:53:19.745Z] [INFO] mvn clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.DROOLS_BUILD_MVN_OPTS_UPSTREAM }}
[2023-08-03T14:53:19.745Z] [INFO] [after]
[2023-08-03T14:53:19.745Z] [INFO] docker system prune -f
[2023-08-03T14:53:19.745Z] [INFO] [kiegroup/kogito-runtimes]
[2023-08-03T14:53:19.745Z] [INFO] Level type: upstream
[2023-08-03T14:53:19.745Z] [INFO] [before]
[2023-08-03T14:53:19.745Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_UPSTREAM }}
[2023-08-03T14:53:19.745Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ${{ env.BUILD_ENVIRONMENT }} ${{ env.BUILD_ENVIRONMENT_OPTIONS_UPSTREAM }}; fi"
[2023-08-03T14:53:19.745Z] [INFO] [commands]
[2023-08-03T14:53:19.745Z] [INFO] mvn clean install -Dquickly -Dfull ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.KOGITO_RUNTIMES_BUILD_MVN_OPTS_UPSTREAM }}
[2023-08-03T14:53:19.745Z] [INFO] [after]
[2023-08-03T14:53:19.745Z] [INFO] docker system prune -f
[2023-08-03T14:53:19.745Z] [INFO] [kiegroup/kogito-apps]
[2023-08-03T14:53:19.745Z] [INFO] Level type: upstream
[2023-08-03T14:53:19.745Z] [INFO] [before]
[2023-08-03T14:53:19.745Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_UPSTREAM }}
[2023-08-03T14:53:19.745Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ${{ env.BUILD_ENVIRONMENT }} ${{ env.BUILD_ENVIRONMENT_OPTIONS_UPSTREAM }}; fi"
[2023-08-03T14:53:19.745Z] [INFO] [commands]
[2023-08-03T14:53:19.745Z] [INFO] mvn clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.KOGITO_APPS_BUILD_MVN_OPTS_UPSTREAM }}
[2023-08-03T14:53:19.745Z] [INFO] [after]
[2023-08-03T14:53:19.745Z] [INFO] docker system prune -f
[2023-08-03T14:53:19.745Z] [INFO] [kiegroup/kogito-examples]
[2023-08-03T14:53:19.745Z] [INFO] Level type: current
[2023-08-03T14:53:19.745Z] [INFO] [before]
[2023-08-03T14:53:19.745Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_CURRENT }}
[2023-08-03T14:53:19.745Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ${{ env.BUILD_ENVIRONMENT }} ${{ env.BUILD_ENVIRONMENT_OPTIONS_CURRENT }}; fi"
[2023-08-03T14:53:19.745Z] [INFO] [commands]
[2023-08-03T14:53:19.745Z] [INFO] export MVN_CMD=`bash -c "if [ '${{ env.ENABLE_DEPLOY }}' = 'true' ]; then printf 'deploy ${{ env.DEPLOY_MVN_OPTS }} ${{ env.KOGITO_EXAMPLES_DEPLOY_MVN_OPTS }}'; else printf 'install'; fi"`
[2023-08-03T14:53:19.745Z] mvn -pl :kogito-examples clean ${{ env.MVN_CMD }} ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_CURRENT }} ${{ env.KOGITO_EXAMPLES_BUILD_MVN_OPTS }}
[2023-08-03T14:53:19.745Z] mvn -f ${{ env.KOGITO_EXAMPLES_SUBFOLDER_POM }}pom.xml clean ${{ env.MVN_CMD }} ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_CURRENT }} ${{ env.KOGITO_EXAMPLES_BUILD_MVN_OPTS }}
[2023-08-03T14:53:19.745Z] [INFO] [after]
[2023-08-03T14:53:19.745Z] [INFO] docker system prune -f
[2023-08-03T14:53:19.745Z]
[2023-08-03T14:53:19.745Z] # Checking out kiegroup/kogito-examples and its dependencies (4 projects in total). It can take some time.
[2023-08-03T14:53:35.290Z] [INFO] kiegroup/drools checked out
[2023-08-03T14:53:48.487Z] [INFO] kiegroup/kogito-runtimes checked out
[2023-08-03T14:53:52.489Z] [INFO] kiegroup/kogito-apps checked out
[2023-08-03T14:53:54.612Z] [INFO] kiegroup/kogito-examples checked out
[2023-08-03T14:53:54.612Z]
[2023-08-03T14:53:54.612Z] # Checkout summary
[2023-08-03T14:53:54.612Z] [INFO] [kiegroup/drools]
[2023-08-03T14:53:54.612Z] [INFO] Project taken from kiegroup/drools:main
[2023-08-03T14:53:54.612Z] [INFO] Merged lucamolteni/drools:DROOLS-7522 into branch main
[2023-08-03T14:53:54.612Z] [INFO] [kiegroup/kogito-runtimes]
[2023-08-03T14:53:54.612Z] [INFO] Project taken from kiegroup/kogito-runtimes:main
[2023-08-03T14:53:54.612Z] [INFO] [kiegroup/kogito-apps]
[2023-08-03T14:53:54.612Z] [INFO] Project taken from kiegroup/kogito-apps:main
[2023-08-03T14:53:54.612Z] [INFO] [kiegroup/kogito-examples]
[2023-08-03T14:53:54.612Z] [INFO] Project taken from kiegroup/kogito-examples:main
[2023-08-03T14:53:54.612Z]
[2023-08-03T14:53:54.612Z] # Executing kiegroup/drools
[2023-08-03T14:53:54.612Z] [command]/usr/bin/bash -c if [ ! -z '' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ; fi
[2023-08-03T14:53:54.612Z] [command]/opt/tools/apache-maven-3.8.7/bin/mvn clean install -Dquickly -s /home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.downstream.kogito-springboot-examples@tmp/config2301556554604807481tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B
[2023-08-03T14:53:55.295Z] [INFO] Error stacktraces are turned on.
[2023-08-03T14:53:55.295Z] [INFO] Scanning for projects...
[2023-08-03T14:53:58.090Z] [ERROR] [ERROR] Some problems were encountered while processing the POMs:
[2023-08-03T14:53:58.090Z] [FATAL] Non-parseable POM /home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.downstream.kogito-springboot-examples/bc/kiegroup_drools/kie-dmn/kie-dmn-xls2dmn-cli/pom.xml: in comment after two dashes (--) next character must be > not (position: START_TAG seen ...\n

@kie-ci4
Copy link
Contributor

kie-ci4 commented Aug 3, 2023

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

Reproducer

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

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

Please look here: https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/drools/job/main/job/pullrequest/job/drools.tests.downstream.kogito-quarkus-examples/806/display/redirect
See console log:

Console Logs [2023-08-03T14:53:11.689Z] added 95 packages, and audited 96 packages in 3s
[2023-08-03T14:53:11.689Z]
[2023-08-03T14:53:11.689Z] 5 packages are looking for funding
[2023-08-03T14:53:11.689Z] run `npm fund` for details
[2023-08-03T14:53:11.689Z]
[2023-08-03T14:53:11.689Z] found 0 vulnerabilities
[Pipeline] sh
[2023-08-03T14:53:12.089Z] + npm list -g
[2023-08-03T14:53:12.089Z] + grep build-chain
[2023-08-03T14:53:12.390Z] ├── @kie/[email protected]
[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
[2023-08-03T14:53:14.292Z] LD_LIBRARY_PATH = /opt/tools/graalvm/lib/server
[Pipeline] echo
[2023-08-03T14:53:14.490Z] BUILD_MVN_OPTS_CURRENT =
[Pipeline] configFileProvider
[2023-08-03T14:53:14.589Z] provisioning config files...
[2023-08-03T14:53:14.595Z] copy managed file [kogito_pr_settings] to file:/home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.downstream.kogito-quarkus-examples@tmp/config313132833799793904tmp
[Pipeline] {
[Pipeline] withCredentials
[2023-08-03T14:53:14.793Z] Masking supported pattern matches of $GITHUB_TOKEN
[Pipeline] {
[Pipeline] echo
[2023-08-03T14:53:15.007Z] BUILD_MVN_OPTS = -s /home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.downstream.kogito-quarkus-examples@tmp/config313132833799793904tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true
[Pipeline] sh
[2023-08-03T14:53:15.188Z] Warning: A secret was passed to "sh" using Groovy String interpolation, which is insecure.
[2023-08-03T14:53:15.188Z] Affected argument(s) used the following variable(s): [GITHUB_TOKEN]
[2023-08-03T14:53:15.188Z] See https://jenkins.io/redirect/groovy-string-interpolation for details.
[2023-08-03T14:53:15.488Z] + source /home/jenkins/virtenvs/swf/bin/activate
[2023-08-03T14:53:15.488Z] ++ '[' /home/jenkins/virtenvs/swf/bin/activate = /home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.downstream.kogito-quarkus-examples@tmp/durable-79c5f80e/script.sh ']'
[2023-08-03T14:53:15.488Z] ++ deactivate nondestructive
[2023-08-03T14:53:15.488Z] ++ unset -f pydoc
[2023-08-03T14:53:15.488Z] ++ '[' -z '' ']'
[2023-08-03T14:53:15.488Z] ++ '[' -z '' ']'
[2023-08-03T14:53:15.488Z] ++ hash -r
[2023-08-03T14:53:15.488Z] ++ '[' -z '' ']'
[2023-08-03T14:53:15.488Z] ++ unset VIRTUAL_ENV
[2023-08-03T14:53:15.488Z] ++ '[' '!' nondestructive = nondestructive ']'
[2023-08-03T14:53:15.488Z] ++ VIRTUAL_ENV=/home/jenkins/virtenvs/swf
[2023-08-03T14:53:15.488Z] ++ '[' linux-gnu = cygwin ']'
[2023-08-03T14:53:15.488Z] ++ '[' linux-gnu = msys ']'
[2023-08-03T14:53:15.488Z] ++ export VIRTUAL_ENV
[2023-08-03T14:53:15.488Z] ++ _OLD_VIRTUAL_PATH=/opt/tools/jdk11/bin:/opt/tools/apache-maven-3.8.7/bin:/home/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/nodejs-16.2.0/bin:/home/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/nodejs-16.2.0/bin:/home/jenkins/go/bin:/opt/tools/golang/1.19/go/bin:/opt/tools/jdk11/bin:/opt/tools/apache-maven-3.9.1/bin:/opt/tools/apache-ant-1.10.9/bin:/opt/tools/mercurial/:/opt/tools/extras/:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/tools/graalvm/bin
[2023-08-03T14:53:15.488Z] ++ PATH=/home/jenkins/virtenvs/swf/bin:/opt/tools/jdk11/bin:/opt/tools/apache-maven-3.8.7/bin:/home/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/nodejs-16.2.0/bin:/home/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/nodejs-16.2.0/bin:/home/jenkins/go/bin:/opt/tools/golang/1.19/go/bin:/opt/tools/jdk11/bin:/opt/tools/apache-maven-3.9.1/bin:/opt/tools/apache-ant-1.10.9/bin:/opt/tools/mercurial/:/opt/tools/extras/:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/tools/graalvm/bin
[2023-08-03T14:53:15.488Z] ++ export PATH
[2023-08-03T14:53:15.488Z] ++ '[' -z '' ']'
[2023-08-03T14:53:15.488Z] ++ '[' -z '' ']'
[2023-08-03T14:53:15.488Z] ++ _OLD_VIRTUAL_PS1=
[2023-08-03T14:53:15.488Z] ++ '[' x '!=' x ']'
[2023-08-03T14:53:15.488Z] +++ basename /home/jenkins/virtenvs/swf
[2023-08-03T14:53:15.488Z] ++ PS1='(swf) '
[2023-08-03T14:53:15.488Z] ++ export PS1
[2023-08-03T14:53:15.488Z] ++ alias pydoc
[2023-08-03T14:53:15.488Z] ++ true
[2023-08-03T14:53:15.488Z] ++ hash -r
[2023-08-03T14:53:15.488Z] + build-chain build cross_pr --token **** -f https://raw.githubusercontent.com/kiegroup/drools/main/.ci/buildchain-config.yaml -o bc -p kiegroup/kogito-examples -u https://github.com/kiegroup/drools/pull/5443 --skipParallelCheckout
[2023-08-03T14:53:16.466Z] # Executing pre section
[2023-08-03T14:53:16.466Z] [command]/usr/bin/echo BUILD_MVN_OPTS= -s /home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.downstream.kogito-quarkus-examples@tmp/config313132833799793904tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3
[2023-08-03T14:53:16.466Z] BUILD_MVN_OPTS= -s /home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.downstream.kogito-quarkus-examples@tmp/config313132833799793904tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3
[2023-08-03T14:53:16.466Z] [command]/usr/bin/echo BUILD_MVN_OPTS_CURRENT= dependency:tree
[2023-08-03T14:53:16.466Z] BUILD_MVN_OPTS_CURRENT= dependency:tree
[2023-08-03T14:53:16.466Z] [command]/usr/bin/echo QUARKUS_VERSION=
[2023-08-03T14:53:16.466Z] QUARKUS_VERSION=
[2023-08-03T14:53:16.466Z] [command]/usr/bin/echo ENABLE_DEPLOY=
[2023-08-03T14:53:16.466Z] ENABLE_DEPLOY=
[2023-08-03T14:53:16.466Z]
[2023-08-03T14:53:16.466Z] # Execution Plan
[2023-08-03T14:53:16.466Z] [INFO] 4 projects will be executed
[2023-08-03T14:53:16.466Z] [INFO] [kiegroup/drools]
[2023-08-03T14:53:16.466Z] [INFO] Level type: upstream
[2023-08-03T14:53:16.466Z] [INFO] [before]
[2023-08-03T14:53:16.466Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_UPSTREAM }}
[2023-08-03T14:53:16.466Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ${{ env.BUILD_ENVIRONMENT }} ${{ env.BUILD_ENVIRONMENT_OPTIONS_UPSTREAM }}; fi"
[2023-08-03T14:53:16.466Z] [INFO] [commands]
[2023-08-03T14:53:16.466Z] [INFO] mvn clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.DROOLS_BUILD_MVN_OPTS_UPSTREAM }}
[2023-08-03T14:53:16.466Z] [INFO] [after]
[2023-08-03T14:53:16.466Z] [INFO] docker system prune -f
[2023-08-03T14:53:16.466Z] [INFO] [kiegroup/kogito-runtimes]
[2023-08-03T14:53:16.466Z] [INFO] Level type: upstream
[2023-08-03T14:53:16.466Z] [INFO] [before]
[2023-08-03T14:53:16.466Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_UPSTREAM }}
[2023-08-03T14:53:16.466Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ${{ env.BUILD_ENVIRONMENT }} ${{ env.BUILD_ENVIRONMENT_OPTIONS_UPSTREAM }}; fi"
[2023-08-03T14:53:16.466Z] [INFO] [commands]
[2023-08-03T14:53:16.466Z] [INFO] mvn clean install -Dquickly -Dfull ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.KOGITO_RUNTIMES_BUILD_MVN_OPTS_UPSTREAM }}
[2023-08-03T14:53:16.466Z] [INFO] [after]
[2023-08-03T14:53:16.466Z] [INFO] docker system prune -f
[2023-08-03T14:53:16.466Z] [INFO] [kiegroup/kogito-apps]
[2023-08-03T14:53:16.466Z] [INFO] Level type: upstream
[2023-08-03T14:53:16.466Z] [INFO] [before]
[2023-08-03T14:53:16.466Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_UPSTREAM }}
[2023-08-03T14:53:16.466Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ${{ env.BUILD_ENVIRONMENT }} ${{ env.BUILD_ENVIRONMENT_OPTIONS_UPSTREAM }}; fi"
[2023-08-03T14:53:16.466Z] [INFO] [commands]
[2023-08-03T14:53:16.466Z] [INFO] mvn clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.KOGITO_APPS_BUILD_MVN_OPTS_UPSTREAM }}
[2023-08-03T14:53:16.466Z] [INFO] [after]
[2023-08-03T14:53:16.466Z] [INFO] docker system prune -f
[2023-08-03T14:53:16.466Z] [INFO] [kiegroup/kogito-examples]
[2023-08-03T14:53:16.466Z] [INFO] Level type: current
[2023-08-03T14:53:16.466Z] [INFO] [before]
[2023-08-03T14:53:16.466Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_CURRENT }}
[2023-08-03T14:53:16.466Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ${{ env.BUILD_ENVIRONMENT }} ${{ env.BUILD_ENVIRONMENT_OPTIONS_CURRENT }}; fi"
[2023-08-03T14:53:16.466Z] [INFO] [commands]
[2023-08-03T14:53:16.466Z] [INFO] export MVN_CMD=`bash -c "if [ '${{ env.ENABLE_DEPLOY }}' = 'true' ]; then printf 'deploy ${{ env.DEPLOY_MVN_OPTS }} ${{ env.KOGITO_EXAMPLES_DEPLOY_MVN_OPTS }}'; else printf 'install'; fi"`
[2023-08-03T14:53:16.466Z] mvn -pl :kogito-examples clean ${{ env.MVN_CMD }} ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_CURRENT }} ${{ env.KOGITO_EXAMPLES_BUILD_MVN_OPTS }}
[2023-08-03T14:53:16.466Z] mvn -f ${{ env.KOGITO_EXAMPLES_SUBFOLDER_POM }}pom.xml clean ${{ env.MVN_CMD }} ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_CURRENT }} ${{ env.KOGITO_EXAMPLES_BUILD_MVN_OPTS }}
[2023-08-03T14:53:16.466Z] [INFO] [after]
[2023-08-03T14:53:16.466Z] [INFO] docker system prune -f
[2023-08-03T14:53:16.466Z]
[2023-08-03T14:53:16.466Z] # Checking out kiegroup/kogito-examples and its dependencies (4 projects in total). It can take some time.
[2023-08-03T14:53:38.890Z] [INFO] kiegroup/drools checked out
[2023-08-03T14:53:52.189Z] [INFO] kiegroup/kogito-runtimes checked out
[2023-08-03T14:53:55.890Z] [INFO] kiegroup/kogito-apps checked out
[2023-08-03T14:53:58.691Z] [INFO] kiegroup/kogito-examples checked out
[2023-08-03T14:53:58.691Z]
[2023-08-03T14:53:58.691Z] # Checkout summary
[2023-08-03T14:53:58.691Z] [INFO] [kiegroup/drools]
[2023-08-03T14:53:58.691Z] [INFO] Project taken from kiegroup/drools:main
[2023-08-03T14:53:58.691Z] [INFO] Merged lucamolteni/drools:DROOLS-7522 into branch main
[2023-08-03T14:53:58.691Z] [INFO] [kiegroup/kogito-runtimes]
[2023-08-03T14:53:58.691Z] [INFO] Project taken from kiegroup/kogito-runtimes:main
[2023-08-03T14:53:58.691Z] [INFO] [kiegroup/kogito-apps]
[2023-08-03T14:53:58.691Z] [INFO] Project taken from kiegroup/kogito-apps:main
[2023-08-03T14:53:58.691Z] [INFO] [kiegroup/kogito-examples]
[2023-08-03T14:53:58.691Z] [INFO] Project taken from kiegroup/kogito-examples:main
[2023-08-03T14:53:58.691Z]
[2023-08-03T14:53:58.691Z] # Executing kiegroup/drools
[2023-08-03T14:53:58.691Z] [command]/usr/bin/bash -c if [ ! -z '' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ; fi
[2023-08-03T14:53:58.691Z] [command]/opt/tools/apache-maven-3.8.7/bin/mvn clean install -Dquickly -s /home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.downstream.kogito-quarkus-examples@tmp/config313132833799793904tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B
[2023-08-03T14:53:59.295Z] [INFO] Error stacktraces are turned on.
[2023-08-03T14:53:59.295Z] [INFO] Scanning for projects...
[2023-08-03T14:54:01.490Z] [ERROR] [ERROR] Some problems were encountered while processing the POMs:
[2023-08-03T14:54:01.490Z] [FATAL] Non-parseable POM /home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.downstream.kogito-quarkus-examples/bc/kiegroup_drools/kie-dmn/kie-dmn-xls2dmn-cli/pom.xml: in comment after two dashes (--) next character must be > not (position: START_TAG seen ...\n

@kie-ci4
Copy link
Contributor

kie-ci4 commented Aug 3, 2023

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

Reproducer

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

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

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

Console Logs [Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] echo
[2023-08-03T14:53:10.004Z] [INFO] Getting build-chain version from composite action file
[Pipeline] readFile
[Pipeline] echo
[2023-08-03T14:53:10.399Z] [INFO] build-chain version recovered '^v3'
[Pipeline] sh
[2023-08-03T14:53:10.790Z] + npm install -g '@kie/build-chain-action@^v3' -registry=https://repository.engineering.redhat.com/nexus/repository/registry.npmjs.org/
[2023-08-03T14:53:14.338Z]
[2023-08-03T14:53:14.338Z] added 95 packages, and audited 96 packages in 3s
[2023-08-03T14:53:14.338Z]
[2023-08-03T14:53:14.338Z] 5 packages are looking for funding
[2023-08-03T14:53:14.338Z] run `npm fund` for details
[2023-08-03T14:53:14.338Z]
[2023-08-03T14:53:14.338Z] found 0 vulnerabilities
[Pipeline] sh
[2023-08-03T14:53:14.792Z] + npm list -g
[2023-08-03T14:53:14.793Z] + grep build-chain
[2023-08-03T14:53:15.090Z] ├── @kie/[email protected]
[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
[2023-08-03T14:53:17.387Z] LD_LIBRARY_PATH = /opt/tools/graalvm/lib/server
[Pipeline] echo
[2023-08-03T14:53:17.509Z] BUILD_MVN_OPTS_CURRENT =
[Pipeline] configFileProvider
[2023-08-03T14:53:17.604Z] provisioning config files...
[2023-08-03T14:53:17.705Z] copy managed file [kogito_pr_settings] to file:/home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.downstream.kogito-apps@tmp/config9633554178897131249tmp
[Pipeline] {
[Pipeline] withCredentials
[2023-08-03T14:53:17.892Z] Masking supported pattern matches of $GITHUB_TOKEN
[Pipeline] {
[Pipeline] echo
[2023-08-03T14:53:18.101Z] BUILD_MVN_OPTS = -s /home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.downstream.kogito-apps@tmp/config9633554178897131249tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true
[Pipeline] sh
[2023-08-03T14:53:18.209Z] Warning: A secret was passed to "sh" using Groovy String interpolation, which is insecure.
[2023-08-03T14:53:18.210Z] Affected argument(s) used the following variable(s): [GITHUB_TOKEN]
[2023-08-03T14:53:18.210Z] See https://jenkins.io/redirect/groovy-string-interpolation for details.
[2023-08-03T14:53:18.590Z] + source /home/jenkins/virtenvs/swf/bin/activate
[2023-08-03T14:53:18.590Z] ++ '[' /home/jenkins/virtenvs/swf/bin/activate = /home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.downstream.kogito-apps@tmp/durable-9d184bc6/script.sh ']'
[2023-08-03T14:53:18.590Z] ++ deactivate nondestructive
[2023-08-03T14:53:18.590Z] ++ unset -f pydoc
[2023-08-03T14:53:18.590Z] ++ '[' -z '' ']'
[2023-08-03T14:53:18.590Z] ++ '[' -z '' ']'
[2023-08-03T14:53:18.590Z] ++ hash -r
[2023-08-03T14:53:18.590Z] ++ '[' -z '' ']'
[2023-08-03T14:53:18.590Z] ++ unset VIRTUAL_ENV
[2023-08-03T14:53:18.590Z] ++ '[' '!' nondestructive = nondestructive ']'
[2023-08-03T14:53:18.590Z] ++ VIRTUAL_ENV=/home/jenkins/virtenvs/swf
[2023-08-03T14:53:18.590Z] ++ '[' linux-gnu = cygwin ']'
[2023-08-03T14:53:18.590Z] ++ '[' linux-gnu = msys ']'
[2023-08-03T14:53:18.590Z] ++ export VIRTUAL_ENV
[2023-08-03T14:53:18.591Z] ++ _OLD_VIRTUAL_PATH=/opt/tools/jdk11/bin:/opt/tools/apache-maven-3.8.7/bin:/home/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/nodejs-16.2.0/bin:/home/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/nodejs-16.2.0/bin:/home/jenkins/go/bin:/opt/tools/golang/1.19/go/bin:/opt/tools/jdk11/bin:/opt/tools/apache-maven-3.9.1/bin:/opt/tools/apache-ant-1.10.9/bin:/opt/tools/mercurial/:/opt/tools/extras/:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/tools/graalvm/bin
[2023-08-03T14:53:18.591Z] ++ PATH=/home/jenkins/virtenvs/swf/bin:/opt/tools/jdk11/bin:/opt/tools/apache-maven-3.8.7/bin:/home/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/nodejs-16.2.0/bin:/home/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/nodejs-16.2.0/bin:/home/jenkins/go/bin:/opt/tools/golang/1.19/go/bin:/opt/tools/jdk11/bin:/opt/tools/apache-maven-3.9.1/bin:/opt/tools/apache-ant-1.10.9/bin:/opt/tools/mercurial/:/opt/tools/extras/:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/tools/graalvm/bin
[2023-08-03T14:53:18.591Z] ++ export PATH
[2023-08-03T14:53:18.591Z] ++ '[' -z '' ']'
[2023-08-03T14:53:18.591Z] ++ '[' -z '' ']'
[2023-08-03T14:53:18.591Z] ++ _OLD_VIRTUAL_PS1=
[2023-08-03T14:53:18.591Z] ++ '[' x '!=' x ']'
[2023-08-03T14:53:18.591Z] +++ basename /home/jenkins/virtenvs/swf
[2023-08-03T14:53:18.591Z] ++ PS1='(swf) '
[2023-08-03T14:53:18.591Z] ++ export PS1
[2023-08-03T14:53:18.591Z] ++ alias pydoc
[2023-08-03T14:53:18.591Z] ++ true
[2023-08-03T14:53:18.591Z] ++ hash -r
[2023-08-03T14:53:18.591Z] + build-chain build cross_pr --token **** -f https://raw.githubusercontent.com/kiegroup/drools/main/.ci/buildchain-config.yaml -o bc -p kiegroup/kogito-apps -u https://github.com/kiegroup/drools/pull/5443 --skipParallelCheckout
[2023-08-03T14:53:19.588Z] # Executing pre section
[2023-08-03T14:53:19.589Z] [command]/usr/bin/echo BUILD_MVN_OPTS= -s /home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.downstream.kogito-apps@tmp/config9633554178897131249tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3
[2023-08-03T14:53:19.589Z] BUILD_MVN_OPTS= -s /home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.downstream.kogito-apps@tmp/config9633554178897131249tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3
[2023-08-03T14:53:19.589Z] [command]/usr/bin/echo BUILD_MVN_OPTS_CURRENT= dependency:tree
[2023-08-03T14:53:19.589Z] BUILD_MVN_OPTS_CURRENT= dependency:tree
[2023-08-03T14:53:19.589Z] [command]/usr/bin/echo QUARKUS_VERSION=
[2023-08-03T14:53:19.589Z] QUARKUS_VERSION=
[2023-08-03T14:53:19.589Z] [command]/usr/bin/echo ENABLE_DEPLOY=
[2023-08-03T14:53:19.589Z] ENABLE_DEPLOY=
[2023-08-03T14:53:19.589Z]
[2023-08-03T14:53:19.589Z] # Execution Plan
[2023-08-03T14:53:19.589Z] [INFO] 3 projects will be executed
[2023-08-03T14:53:19.589Z] [INFO] [kiegroup/drools]
[2023-08-03T14:53:19.589Z] [INFO] Level type: upstream
[2023-08-03T14:53:19.589Z] [INFO] [before]
[2023-08-03T14:53:19.589Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_UPSTREAM }}
[2023-08-03T14:53:19.589Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ${{ env.BUILD_ENVIRONMENT }} ${{ env.BUILD_ENVIRONMENT_OPTIONS_UPSTREAM }}; fi"
[2023-08-03T14:53:19.589Z] [INFO] [commands]
[2023-08-03T14:53:19.589Z] [INFO] mvn clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.DROOLS_BUILD_MVN_OPTS_UPSTREAM }}
[2023-08-03T14:53:19.589Z] [INFO] [after]
[2023-08-03T14:53:19.589Z] [INFO] docker system prune -f
[2023-08-03T14:53:19.589Z] [INFO] [kiegroup/kogito-runtimes]
[2023-08-03T14:53:19.589Z] [INFO] Level type: upstream
[2023-08-03T14:53:19.589Z] [INFO] [before]
[2023-08-03T14:53:19.589Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_UPSTREAM }}
[2023-08-03T14:53:19.589Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ${{ env.BUILD_ENVIRONMENT }} ${{ env.BUILD_ENVIRONMENT_OPTIONS_UPSTREAM }}; fi"
[2023-08-03T14:53:19.589Z] [INFO] [commands]
[2023-08-03T14:53:19.589Z] [INFO] mvn clean install -Dquickly -Dfull ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.KOGITO_RUNTIMES_BUILD_MVN_OPTS_UPSTREAM }}
[2023-08-03T14:53:19.589Z] [INFO] [after]
[2023-08-03T14:53:19.589Z] [INFO] docker system prune -f
[2023-08-03T14:53:19.589Z] [INFO] [kiegroup/kogito-apps]
[2023-08-03T14:53:19.589Z] [INFO] Level type: current
[2023-08-03T14:53:19.589Z] [INFO] [before]
[2023-08-03T14:53:19.589Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_CURRENT }}
[2023-08-03T14:53:19.589Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ${{ env.BUILD_ENVIRONMENT }} ${{ env.BUILD_ENVIRONMENT_OPTIONS_CURRENT }}; fi"
[2023-08-03T14:53:19.589Z] [INFO] [commands]
[2023-08-03T14:53:19.589Z] [INFO] export MVN_CMD=`bash -c "if [ '${{ env.ENABLE_DEPLOY }}' = 'true' ]; then printf 'deploy ${{ env.DEPLOY_MVN_OPTS }} ${{ env.KOGITO_APPS_DEPLOY_MVN_OPTS }}'; else printf 'install'; fi"`
[2023-08-03T14:53:19.589Z] mvn clean ${{ env.MVN_CMD }} ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_CURRENT }} ${{ env.KOGITO_APPS_BUILD_MVN_OPTS }}
[2023-08-03T14:53:19.589Z] [INFO] [after]
[2023-08-03T14:53:19.589Z] [INFO] docker system prune -f
[2023-08-03T14:53:19.589Z]
[2023-08-03T14:53:19.589Z] # Checking out kiegroup/kogito-apps and its dependencies (3 projects in total). It can take some time.
[2023-08-03T14:53:46.987Z] [INFO] kiegroup/drools checked out
[2023-08-03T14:53:56.690Z] [INFO] kiegroup/kogito-runtimes checked out
[2023-08-03T14:54:00.295Z] [INFO] kiegroup/kogito-apps checked out
[2023-08-03T14:54:00.295Z]
[2023-08-03T14:54:00.295Z] # Checkout summary
[2023-08-03T14:54:00.295Z] [INFO] [kiegroup/drools]
[2023-08-03T14:54:00.295Z] [INFO] Project taken from kiegroup/drools:main
[2023-08-03T14:54:00.295Z] [INFO] Merged lucamolteni/drools:DROOLS-7522 into branch main
[2023-08-03T14:54:00.295Z] [INFO] [kiegroup/kogito-runtimes]
[2023-08-03T14:54:00.295Z] [INFO] Project taken from kiegroup/kogito-runtimes:main
[2023-08-03T14:54:00.295Z] [INFO] [kiegroup/kogito-apps]
[2023-08-03T14:54:00.295Z] [INFO] Project taken from kiegroup/kogito-apps:main
[2023-08-03T14:54:00.295Z]
[2023-08-03T14:54:00.295Z] # Executing kiegroup/drools
[2023-08-03T14:54:00.295Z] [command]/usr/bin/bash -c if [ ! -z '' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ; fi
[2023-08-03T14:54:00.295Z] [command]/opt/tools/apache-maven-3.8.7/bin/mvn clean install -Dquickly -s /home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.downstream.kogito-apps@tmp/config9633554178897131249tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B
[2023-08-03T14:54:01.294Z] [INFO] Error stacktraces are turned on.
[2023-08-03T14:54:01.294Z] [INFO] Scanning for projects...
[2023-08-03T14:54:04.189Z] [ERROR] [ERROR] Some problems were encountered while processing the POMs:
[2023-08-03T14:54:04.189Z] [FATAL] Non-parseable POM /home/jenkins/workspace/KIE/drools/main/pullrequest/drools.tests.downstream.kogito-apps/bc/kiegroup_drools/kie-dmn/kie-dmn-xls2dmn-cli/pom.xml: in comment after two dashes (--) next character must be > not (position: START_TAG seen ...\n

@lucamolteni
Copy link
Contributor Author

Sonarcloud reports duplicated code on already existing, as this change is mostly changing one type to the other, therefore doesn't add any additional complexity

Copy link
Contributor

@mariofusco mariofusco left a comment

Choose a reason for hiding this comment

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

At this point we could simply rename AbstractLeftTuple into LeftTuple, keeping it an abstract class as it is, but this could be done in a subsequent commit as well.

@lucamolteni
Copy link
Contributor Author

At this point we could simply rename AbstractLeftTuple into LeftTuple, keeping it an abstract class as it is, but this could be done in a subsequent commit as well.

Good idea, done.

@kie-ci4
Copy link
Contributor

kie-ci4 commented Aug 8, 2023

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

Reproducer

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

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

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

Test results:

  • PASSED: 129
  • FAILED: 1

Those are the test failures:

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

@kie-ci4
Copy link
Contributor

kie-ci4 commented Aug 8, 2023

(tests) - serverless-workflow-examples job #830 was: UNSTABLE
Possible explanation: This should be test failures

Reproducer

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

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

Please look here: https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/drools/job/main/job/pullrequest/job/drools.tests.downstream.serverless-workflow-examples/830/display/redirect

Test results:

  • PASSED: 81
  • FAILED: 1

Those are the test failures:

org.kie.kogito.examples.OpenVinoRestIT.testOpenvino 1 expectation failed.
JSON path workflowdata.group doesn't match.
Expected: a string containing "flat-coated retriever"
Actual: <[]>

@lucamolteni lucamolteni changed the title Alyways use AbstractLeftTuple instead of LeftTuple (Fix the secondary super cache problem in Drools) [DROOLS-7522] Alyways use AbstractLeftTuple instead of LeftTuple (Fix the secondary super cache problem in Drools) Aug 8, 2023
@sonarcloud
Copy link

sonarcloud bot commented Aug 9, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

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

90.0% 90.0% Coverage
1.1% 1.1% Duplication

warning The version of Java (11.0.20) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17.
Read more here

@mariofusco mariofusco merged commit fb7e4da into apache:main Aug 9, 2023
10 of 11 checks passed
lucamolteni added a commit to lucamolteni/drools that referenced this pull request Sep 14, 2023
…ple (Fix the secondary super cache problem in Drools) (apache#5443)"

This reverts commit fb7e4da
lucamolteni added a commit to lucamolteni/drools that referenced this pull request Oct 11, 2023
… secondary super cache problem in Drools) (apache#5443)

* Remove LeftTuple class altogether

* Fix ASM in eval invoker generation

* AbstractTuple => Tuple for better diff

* Fix comment

* Fix comment 2

(cherry picked from commit fb7e4da)
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.

4 participants