-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KOGITO-7900: GHA sonar integration #2474
Conversation
…jacoco.xml files in a given directory to sonar
Generate jacoco files for all modules in <root_dir>/target.jacoco/ | ||
--> | ||
<profile> | ||
<id>generate-jacoco</id> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not updating the sonarcloud-analysis
profile ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It will break the nightly. I can update the nightly to use generate-jacoco
and then upload-to-sonar
. Does that work?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay ...
I think we should go into steps:
- First separate the maven profiles into 2
- Update nightly pipelines to use those 2 new profiles
=> Check.ci/jenkins/Jenkinsfile.sonarcloud
) on the different Kogito project - Update urrent PR checks to use those 2 new profiles
=> see https://github.com/kiegroup/kogito-pipelines/blob/main/.ci/jenkins/Jenkinsfile.buildchain#L101
- Update nightly pipelines to use those 2 new profiles
- Move to GHA
wdyt ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't like having 2 profiles doing the same thing in the pom ... we should migrate by steps
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry just to make sure I understood what needs to be done could you confirm this:
-
Update Jenkinsfile.sonarcloud in the
kogito-runtimes
repository to usegenerate-jacoco
andupload-to-sonar
profiles -
Update the Jenkinsfile.buildchain file in
kogito-pipelines
repository to usegenerate-jacoco
andupload-to-sonar
profiles
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thinking again about it, this is a bit more complex.
- kogito-runtimes and kogito-apps are impacted by this. they both have a
.ci/jenkins/Jenkinsfile.sonarcloud
file to update - Yes. And we need to update the maven profiles also in Drools, Kogito Apps and Optaplanner
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, this seems easier to go by project and GHA directly ...
So if we want to merge this PR we have 2 changes to use the "new" profiles
- Jenkinsfile.sonarcloud
- Force this value to
true
as we don't want Jenkins anymore to perform the Sonar analysis
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gotcha I will make these changes for this project
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should I also remove the old profile sonarcloud-analysis
from this pom.xml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes that is the idea :)
…d the corrent env var for build chain
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see a 2.62GB sonarcloud report. Is that expected ?
@radtriste I believe so? The |
(tests) - kogito-examples job Please look here: https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-runtimes.tests.downstream.kogito-examples/1209/display/redirect Console LogsCommit message: "[BXMSPROD-1802] Ignore jiras not matching CVE template (#218)"> git rev-list --no-walk f6030bf2ac4e39a23094dad17d0057c20fe0fee5 # 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-451 in /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-examples [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: NONE using credential kie-ci Cloning the remote Git repository Avoid second fetch Checking out Revision b2f8da597d1e6fc72d36d7d76d60c8092d155a40 (origin/main) Cloning repository https://github.com/kiegroup/kogito-pipelines.git > git init /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-examples # 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 b2f8da597d1e6fc72d36d7d76d60c8092d155a40 # timeout=10 Commit message: "KOGITO-8010 Correct Quarkus checks pipelines (#627)" [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-29T08:19:25.001Z] Timeout set to expire in 3 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Tool Install) [Pipeline] tool [2022-09-29T08:19:25.173Z] Installing NodeJS from /var/jenkins_home/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-451 [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-09-29T08:19:28.401Z] + printenv [Pipeline] archiveArtifacts [2022-09-29T08:19:28.514Z] 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-09-29T08:19:29.487Z] Running in /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-examples [Pipeline] { [Pipeline] echo [2022-09-29T08:19:29.518Z] [INFO] space left on the machine [Pipeline] sh [2022-09-29T08:19:29.871Z] + df -h [2022-09-29T08:19:29.871Z] Filesystem Size Used Avail Use% Mounted on [2022-09-29T08:19:29.871Z] devtmpfs 7.8G 0 7.8G 0% /dev [2022-09-29T08:19:29.871Z] tmpfs 7.8G 0 7.8G 0% /dev/shm [2022-09-29T08:19:29.871Z] tmpfs 7.8G 17M 7.8G 1% /run [2022-09-29T08:19:29.871Z] tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup [2022-09-29T08:19:29.871Z] /dev/vda1 80G 20G 61G 24% / [2022-09-29T08:19:29.871Z] tmpfs 1.6G 0 1.6G 0% /run/user/1000 [Pipeline] echo [2022-09-29T08:19:29.892Z] [INFO] space of /home/jenkins [Pipeline] sh [2022-09-29T08:19:30.173Z] + du -h -d1 /home/jenkins [2022-09-29T08:19:30.174Z] 4.0K /home/jenkins/.ssh [2022-09-29T08:19:30.174Z] 0 /home/jenkins/go [2022-09-29T08:19:30.174Z] 8.0K /home/jenkins/.vnc [2022-09-29T08:19:30.174Z] 8.0K /home/jenkins/.m2 [2022-09-29T08:19:30.174Z] 2.1G /home/jenkins/git-repos [2022-09-29T08:19:30.174Z] 8.0K /home/jenkins/.config [2022-09-29T08:19:30.174Z] 4.0K /home/jenkins/.cekit [2022-09-29T08:19:30.174Z] 82M /home/jenkins/virtenvs [2022-09-29T08:19:30.174Z] 32M /home/jenkins/remoting [2022-09-29T08:19:30.174Z] 0 /home/jenkins/.cache [2022-09-29T08:19:30.174Z] 2.9M /home/jenkins/workspace [2022-09-29T08:19:30.174Z] 0 /home/jenkins/.pki [2022-09-29T08:19:30.174Z] 100M /home/jenkins/tools [2022-09-29T08:19:30.174Z] 0 /home/jenkins/caches [2022-09-29T08:19:30.174Z] 2.4G /home/jenkins [Pipeline] echo [2022-09-29T08:19:30.193Z] [INFO] space of workspace [Pipeline] sh [2022-09-29T08:19:30.474Z] + du -h -d3 /home/jenkins/workspace [2022-09-29T08:19:30.475Z] 2.9M /home/jenkins/workspace/KIE/kogito/main [2022-09-29T08:19:30.475Z] 2.9M /home/jenkins/workspace/KIE/kogito [2022-09-29T08:19:30.475Z] 2.9M /home/jenkins/workspace/KIE [2022-09-29T08:19:30.475Z] 2.9M /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-09-29T08:19:30.992Z] [INFO] Getting build-chain version from composite action file [Pipeline] readFile [Pipeline] echo [2022-09-29T08:19:31.173Z] [INFO] build-chain version recovered '2.3.34' [Pipeline] sh [2022-09-29T08:19:31.473Z] + npm install -g @kie/[email protected] -registry=https://repository.engineering.redhat.com/nexus/repository/registry.npmjs.org/ [2022-09-29T08:19:32.078Z] npm WARN ERESOLVE overriding peer dependency [2022-09-29T08:19:32.078Z] npm WARN Found: @octokit/[email protected] [2022-09-29T08:19:32.078Z] npm WARN node_modules/@kie/build-chain-action/node_modules/@octokit/core [2022-09-29T08:19:32.078Z] npm WARN @octokit/core@"^2.4.3" from @octokit/[email protected] [2022-09-29T08:19:32.078Z] npm WARN node_modules/@kie/build-chain-action/node_modules/@octokit/rest [2022-09-29T08:19:32.078Z] npm WARN @octokit/rest@"^17.6.0" from @kie/[email protected] [2022-09-29T08:19:32.078Z] npm WARN node_modules/@kie/build-chain-action [2022-09-29T08:19:32.078Z] npm WARN 1 more (@kie/build-chain-configuration-reader) [2022-09-29T08:19:32.078Z] npm WARN 1 more (@octokit/plugin-paginate-rest) [2022-09-29T08:19:32.078Z] npm WARN [2022-09-29T08:19:32.078Z] npm WARN Could not resolve dependency: [2022-09-29T08:19:32.078Z] npm WARN peer @octokit/core@">=3" from @octokit/[email protected] [2022-09-29T08:19:32.078Z] npm WARN node_modules/@kie/build-chain-action/node_modules/@octokit/plugin-request-log [2022-09-29T08:19:32.078Z] npm WARN @octokit/plugin-request-log@"^1.0.0" from @octokit/[email protected] [2022-09-29T08:19:32.078Z] npm WARN node_modules/@kie/build-chain-action/node_modules/@octokit/rest [2022-09-29T08:19:35.471Z] [2022-09-29T08:19:35.471Z] added 111 packages, and audited 112 packages in 3s [2022-09-29T08:19:35.471Z] [2022-09-29T08:19:35.471Z] 5 packages are looking for funding [2022-09-29T08:19:35.471Z] run `npm fund` for details [2022-09-29T08:19:35.471Z] [2022-09-29T08:19:35.471Z] 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-09-29T08:19:36.126Z] BUILD_MVN_OPTS_CURRENT = [Pipeline] configFileProvider [2022-09-29T08:19:36.183Z] provisioning config files... [2022-09-29T08:19:36.191Z] copy managed file [kogito_pr_settings] to file:/home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-examples@tmp/config4688768998802479030tmp [Pipeline] { [Pipeline] withCredentials [2022-09-29T08:19:36.225Z] Masking supported pattern matches of $GITHUB_TOKEN [Pipeline] { [Pipeline] sh [2022-09-29T08:19:36.304Z] Warning: A secret was passed to "sh" using Groovy String interpolation, which is insecure. [2022-09-29T08:19:36.304Z] Affected argument(s) used the following variable(s): [GITHUB_TOKEN] [2022-09-29T08:19:36.304Z] See https://jenkins.io/redirect/groovy-string-interpolation for details. [2022-09-29T08:19:36.671Z] + 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/kogito-runtimes/pull/2474 -sp=kiegroup/kogito-examples --skipParallelCheckout -cct '(^mvn .*)||$1 -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-examples@tmp/config4688768998802479030tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true' [2022-09-29T08:19:36.928Z] [INFO] Executing pull request flow for https://github.com/kiegroup/kogito-runtimes/pull/2474 in bc [2022-09-29T08:19:36.928Z] (node:8165) Warning: Accessing non-existent property 'ClientError' of module exports inside circular dependency [2022-09-29T08:19:36.928Z] (Use `node --trace-warnings ...` to show where the warning was created) [2022-09-29T08:19:37.184Z] [INFO] https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml exists, using it [2022-09-29T08:19:37.471Z] ::group::[PRE] Executing pre section for https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml [2022-09-29T08:19:37.471Z] [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/kogito-runtimes.tests.downstream.kogito-examples' [2022-09-29T08:19:37.471Z] [INFO] Treating export command since it's not possible to run it from the runner itself [2022-09-29T08:19:37.471Z] [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-09-29T08:19:37.471Z] ::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-09-29T08:19:37.471Z] [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/kogito-runtimes.tests.downstream.kogito-examples' [2022-09-29T08:19:37.471Z] [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-09-29T08:19:37.471Z] 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-09-29T08:19:37.471Z] ::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-09-29T08:19:37.471Z] [INFO] Execute command 'export BUILD_MVN_OPTS_CURRENT=""' in dir '/home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-examples' [2022-09-29T08:19:37.471Z] [INFO] Treating export command since it's not possible to run it from the runner itself [2022-09-29T08:19:37.471Z] [INFO] The variable BUILD_MVN_OPTS_CURRENT has been stored with '' value [2022-09-29T08:19:37.471Z] ::notice title= [PRE] [Execution OK]::export BUILD_MVN_OPTS_CURRENT="" [2022-09-29T08:19:37.471Z] [INFO] Execute command 'echo "BUILD_MVN_OPTS_CURRENT="' in dir '/home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-examples' [2022-09-29T08:19:37.471Z] [command]/usr/bin/echo BUILD_MVN_OPTS_CURRENT= [2022-09-29T08:19:37.471Z] BUILD_MVN_OPTS_CURRENT= [2022-09-29T08:19:37.471Z] ::notice title= [PRE] [Execution OK]::echo "BUILD_MVN_OPTS_CURRENT=" [2022-09-29T08:19:37.471Z] ::endgroup:: [2022-09-29T08:19:37.471Z] ::group::[Pull Request Flow] Execution Plan... [2022-09-29T08:19:37.471Z] [INFO] ---------------------------------------------- [2022-09-29T08:19:37.471Z] [INFO] [4] projects will be executed [2022-09-29T08:19:37.471Z] [2022-09-29T08:19:37.471Z] [INFO] [kiegroup/drools] [2022-09-29T08:19:37.471Z] [INFO] Level Type: [upstream]. [2022-09-29T08:19:37.471Z] [INFO] mvn clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.DROOLS_BUILD_MVN_OPTS_UPSTREAM }} [2022-09-29T08:19:37.471Z] [INFO] [ �[32m'docker system prune -f'�[39m ] [2022-09-29T08:19:37.471Z] [2022-09-29T08:19:37.471Z] [INFO] [kiegroup/kogito-runtimes] [2022-09-29T08:19:37.471Z] [INFO] Level Type: [upstream]. [2022-09-29T08:19:37.471Z] [INFO] mvn clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.KOGITO_RUNTIMES_BUILD_MVN_OPTS_UPSTREAM }} [2022-09-29T08:19:37.471Z] [INFO] [ �[32m'docker system prune -f'�[39m ] [2022-09-29T08:19:37.471Z] [2022-09-29T08:19:37.471Z] [INFO] [kiegroup/kogito-apps] [2022-09-29T08:19:37.471Z] [INFO] Level Type: [upstream]. [2022-09-29T08:19:37.471Z] [INFO] mvn clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.KOGITO_APPS_BUILD_MVN_OPTS_UPSTREAM }} [2022-09-29T08:19:37.471Z] [INFO] [ �[32m'docker system prune -f'�[39m ] [2022-09-29T08:19:37.471Z] [2022-09-29T08:19:37.471Z] [INFO] [kiegroup/kogito-examples] [2022-09-29T08:19:37.471Z] [INFO] Level Type: [current]. [2022-09-29T08:19:37.471Z] [INFO] [ [2022-09-29T08:19:37.471Z] �[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-09-29T08:19:37.471Z] �[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-09-29T08:19:37.471Z] �[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-09-29T08:19:37.471Z] ] [2022-09-29T08:19:37.471Z] [INFO] [ �[32m'docker system prune -f'�[39m ] [2022-09-29T08:19:37.471Z] [2022-09-29T08:19:37.471Z] [INFO] ---------------------------------------------- [2022-09-29T08:19:37.471Z] ::endgroup:: [2022-09-29T08:19:37.471Z] ::group::[Pull Request Flow] Checking out kiegroup/kogito-runtimes and its dependencies [2022-09-29T08:19:37.471Z] [INFO] Tree for project kiegroup/kogito-examples. Dependencies: [2022-09-29T08:19:37.471Z] kiegroup/drools, [2022-09-29T08:19:37.471Z] kiegroup/kogito-runtimes, [2022-09-29T08:19:37.471Z] kiegroup/kogito-apps, [2022-09-29T08:19:37.471Z] kiegroup/kogito-examples [2022-09-29T08:19:37.471Z] [INFO] [kiegroup/drools] Checking out project [2022-09-29T08:19:37.727Z] [WARN] shubhbapna/drools not found. Trying to get it by forked project list. [2022-09-29T08:20:04.379Z] [ERROR] You have exceeded a secondary rate limit. Please wait a few minutes before you try again. [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [2022-09-29T08:20:04.494Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // script Post stage [Pipeline] junit [2022-09-29T08:20:04.684Z] Recording test results [2022-09-29T08:20:04.822Z] 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-451 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1784) at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356) at hudson.remoting.Channel.call(Channel.java:1000) at hudson.FilePath.act(FilePath.java:1194) at hudson.FilePath.act(FilePath.java:1183) at hudson.tasks.junit.JUnitParser.parseResult(JUnitParser.java:118) at hudson.tasks.junit.JUnitResultArchiver.parse(JUnitResultArchiver.java:159) at hudson.tasks.junit.JUnitResultArchiver.parseAndSummarize(JUnitResultArchiver.java:253) 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.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) hudson.AbortException: No test report files were found. Configuration error? at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:184) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3502) 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-09-29T08:20:05.270Z] + rm -rf console.log [Pipeline] sh |
(tests) - kogito-apps job Please look here: https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-runtimes.tests.downstream.kogito-apps/1263/display/redirect Console Logsusing GIT_SSH to set credentials SSH: kie-ci service account with access to jboss-integration private github space[INFO] Currently running in a labeled security context > /usr/bin/chcon --type=ssh_home_t /var/jenkins_home/jobs/KIE/jobs/kogito/jobs/main/jobs/pullrequest/jobs/kogito-runtimes.tests.downstream.kogito-apps/workspace@libs/d03f8b53ef89e88ec2b15428a250a4b1fb7910bfcdd3e1c33e4e95c3adb758bb@tmp/jenkins-gitclient-ssh16244550907891874437.key Verifying host key using known hosts file, will automatically accept unseen keys > git fetch --no-tags --force --progress -- https://github.com/kiegroup/jenkins-pipeline-shared-libraries +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision f6030bf2ac4e39a23094dad17d0057c20fe0fee5 (main) > git config core.sparsecheckout # timeout=10 > git checkout -f f6030bf2ac4e39a23094dad17d0057c20fe0fee5 # timeout=10 Commit message: "[BXMSPROD-1802] Ignore jiras not matching CVE template (#218)" > git rev-list --no-walk f6030bf2ac4e39a23094dad17d0057c20fe0fee5 # 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-450 in /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-apps [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/kogito-runtimes.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 Avoid second fetch Checking out Revision b2f8da597d1e6fc72d36d7d76d60c8092d155a40 (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 b2f8da597d1e6fc72d36d7d76d60c8092d155a40 # timeout=10 Commit message: "KOGITO-8010 Correct Quarkus checks pipelines (#627)" [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-29T08:19:05.195Z] Timeout set to expire in 3 hr 30 min [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Tool Install) [Pipeline] tool [2022-09-29T08:19:05.384Z] Installing NodeJS from /var/jenkins_home/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-450 [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-09-29T08:19:09.093Z] + printenv [Pipeline] archiveArtifacts [2022-09-29T08:19:09.279Z] 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-09-29T08:19:10.204Z] Running in /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-apps [Pipeline] { [Pipeline] echo [2022-09-29T08:19:10.280Z] [INFO] space left on the machine [Pipeline] sh [2022-09-29T08:19:10.573Z] + df -h [2022-09-29T08:19:10.574Z] Filesystem Size Used Avail Use% Mounted on [2022-09-29T08:19:10.574Z] devtmpfs 7.8G 0 7.8G 0% /dev [2022-09-29T08:19:10.574Z] tmpfs 7.8G 0 7.8G 0% /dev/shm [2022-09-29T08:19:10.574Z] tmpfs 7.8G 17M 7.8G 1% /run [2022-09-29T08:19:10.574Z] tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup [2022-09-29T08:19:10.574Z] /dev/vda1 80G 20G 61G 24% / [2022-09-29T08:19:10.574Z] tmpfs 1.6G 0 1.6G 0% /run/user/1000 [Pipeline] echo [2022-09-29T08:19:10.598Z] [INFO] space of /home/jenkins [Pipeline] sh [2022-09-29T08:19:10.972Z] + du -h -d1 /home/jenkins [2022-09-29T08:19:10.972Z] 4.0K /home/jenkins/.ssh [2022-09-29T08:19:10.972Z] 0 /home/jenkins/go [2022-09-29T08:19:10.972Z] 8.0K /home/jenkins/.vnc [2022-09-29T08:19:10.972Z] 8.0K /home/jenkins/.m2 [2022-09-29T08:19:10.972Z] 2.1G /home/jenkins/git-repos [2022-09-29T08:19:10.972Z] 8.0K /home/jenkins/.config [2022-09-29T08:19:10.972Z] 4.0K /home/jenkins/.cekit [2022-09-29T08:19:10.972Z] 82M /home/jenkins/virtenvs [2022-09-29T08:19:10.972Z] 32M /home/jenkins/remoting [2022-09-29T08:19:10.972Z] 0 /home/jenkins/.cache [2022-09-29T08:19:10.972Z] 2.9M /home/jenkins/workspace [2022-09-29T08:19:10.972Z] 0 /home/jenkins/.pki [2022-09-29T08:19:10.972Z] 100M /home/jenkins/tools [2022-09-29T08:19:10.972Z] 0 /home/jenkins/caches [2022-09-29T08:19:10.972Z] 2.4G /home/jenkins [Pipeline] echo [2022-09-29T08:19:10.994Z] [INFO] space of workspace [Pipeline] sh [2022-09-29T08:19:11.276Z] + du -h -d3 /home/jenkins/workspace [2022-09-29T08:19:11.277Z] 2.9M /home/jenkins/workspace/KIE/kogito/main [2022-09-29T08:19:11.277Z] 2.9M /home/jenkins/workspace/KIE/kogito [2022-09-29T08:19:11.277Z] 2.9M /home/jenkins/workspace/KIE [2022-09-29T08:19:11.277Z] 2.9M /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-09-29T08:19:11.913Z] [INFO] Getting build-chain version from composite action file [Pipeline] readFile [Pipeline] echo [2022-09-29T08:19:12.280Z] [INFO] build-chain version recovered '2.3.34' [Pipeline] sh [2022-09-29T08:19:12.572Z] + npm install -g @kie/[email protected] -registry=https://repository.engineering.redhat.com/nexus/repository/registry.npmjs.org/ [2022-09-29T08:19:13.171Z] npm WARN ERESOLVE overriding peer dependency [2022-09-29T08:19:13.171Z] npm WARN Found: @octokit/[email protected] [2022-09-29T08:19:13.171Z] npm WARN node_modules/@kie/build-chain-action/node_modules/@octokit/core [2022-09-29T08:19:13.171Z] npm WARN @octokit/core@"^2.4.3" from @octokit/[email protected] [2022-09-29T08:19:13.171Z] npm WARN node_modules/@kie/build-chain-action/node_modules/@octokit/rest [2022-09-29T08:19:13.171Z] npm WARN @octokit/rest@"^17.6.0" from @kie/[email protected] [2022-09-29T08:19:13.171Z] npm WARN node_modules/@kie/build-chain-action [2022-09-29T08:19:13.171Z] npm WARN 1 more (@kie/build-chain-configuration-reader) [2022-09-29T08:19:13.171Z] npm WARN 1 more (@octokit/plugin-paginate-rest) [2022-09-29T08:19:13.171Z] npm WARN [2022-09-29T08:19:13.171Z] npm WARN Could not resolve dependency: [2022-09-29T08:19:13.171Z] npm WARN peer @octokit/core@">=3" from @octokit/[email protected] [2022-09-29T08:19:13.171Z] npm WARN node_modules/@kie/build-chain-action/node_modules/@octokit/plugin-request-log [2022-09-29T08:19:13.171Z] npm WARN @octokit/plugin-request-log@"^1.0.0" from @octokit/[email protected] [2022-09-29T08:19:13.171Z] npm WARN node_modules/@kie/build-chain-action/node_modules/@octokit/rest [2022-09-29T08:19:16.476Z] [2022-09-29T08:19:16.476Z] added 111 packages, and audited 112 packages in 3s [2022-09-29T08:19:16.476Z] [2022-09-29T08:19:16.476Z] 5 packages are looking for funding [2022-09-29T08:19:16.476Z] run `npm fund` for details [2022-09-29T08:19:16.476Z] [2022-09-29T08:19:16.476Z] 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-09-29T08:19:17.288Z] BUILD_MVN_OPTS_CURRENT = [Pipeline] configFileProvider [2022-09-29T08:19:17.302Z] provisioning config files... [2022-09-29T08:19:17.310Z] copy managed file [kogito_pr_settings] to file:/home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-apps@tmp/config7987594422686268674tmp [Pipeline] { [Pipeline] withCredentials [2022-09-29T08:19:17.395Z] Masking supported pattern matches of $GITHUB_TOKEN [Pipeline] { [Pipeline] sh [2022-09-29T08:19:17.481Z] Warning: A secret was passed to "sh" using Groovy String interpolation, which is insecure. [2022-09-29T08:19:17.481Z] Affected argument(s) used the following variable(s): [GITHUB_TOKEN] [2022-09-29T08:19:17.481Z] See https://jenkins.io/redirect/groovy-string-interpolation for details. [2022-09-29T08:19:17.873Z] + 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/kogito-runtimes/pull/2474 -sp=kiegroup/kogito-apps --skipParallelCheckout -cct '(^mvn .*)||$1 -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-apps@tmp/config7987594422686268674tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true' [2022-09-29T08:19:18.129Z] [INFO] Executing pull request flow for https://github.com/kiegroup/kogito-runtimes/pull/2474 in bc [2022-09-29T08:19:18.129Z] (node:8164) Warning: Accessing non-existent property 'ClientError' of module exports inside circular dependency [2022-09-29T08:19:18.129Z] (Use `node --trace-warnings ...` to show where the warning was created) [2022-09-29T08:19:18.386Z] [INFO] https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml exists, using it [2022-09-29T08:19:18.673Z] ::group::[PRE] Executing pre section for https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml [2022-09-29T08:19:18.673Z] [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/kogito-runtimes.tests.downstream.kogito-apps' [2022-09-29T08:19:18.673Z] [INFO] Treating export command since it's not possible to run it from the runner itself [2022-09-29T08:19:18.673Z] [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-09-29T08:19:18.673Z] ::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-09-29T08:19:18.673Z] [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/kogito-runtimes.tests.downstream.kogito-apps' [2022-09-29T08:19:18.673Z] [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-09-29T08:19:18.673Z] 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-09-29T08:19:18.673Z] ::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-09-29T08:19:18.673Z] [INFO] Execute command 'export BUILD_MVN_OPTS_CURRENT=""' in dir '/home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-apps' [2022-09-29T08:19:18.673Z] [INFO] Treating export command since it's not possible to run it from the runner itself [2022-09-29T08:19:18.673Z] [INFO] The variable BUILD_MVN_OPTS_CURRENT has been stored with '' value [2022-09-29T08:19:18.673Z] ::notice title= [PRE] [Execution OK]::export BUILD_MVN_OPTS_CURRENT="" [2022-09-29T08:19:18.673Z] [INFO] Execute command 'echo "BUILD_MVN_OPTS_CURRENT="' in dir '/home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-apps' [2022-09-29T08:19:18.673Z] [command]/usr/bin/echo BUILD_MVN_OPTS_CURRENT= [2022-09-29T08:19:18.673Z] BUILD_MVN_OPTS_CURRENT= [2022-09-29T08:19:18.673Z] ::notice title= [PRE] [Execution OK]::echo "BUILD_MVN_OPTS_CURRENT=" [2022-09-29T08:19:18.673Z] ::endgroup:: [2022-09-29T08:19:18.974Z] ::group::[Pull Request Flow] Execution Plan... [2022-09-29T08:19:18.974Z] [INFO] ---------------------------------------------- [2022-09-29T08:19:18.974Z] [INFO] [3] projects will be executed [2022-09-29T08:19:18.974Z] [2022-09-29T08:19:18.974Z] [INFO] [kiegroup/drools] [2022-09-29T08:19:18.974Z] [INFO] Level Type: [upstream]. [2022-09-29T08:19:18.974Z] [INFO] mvn clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.DROOLS_BUILD_MVN_OPTS_UPSTREAM }} [2022-09-29T08:19:18.974Z] [INFO] [ �[32m'docker system prune -f'�[39m ] [2022-09-29T08:19:18.974Z] [2022-09-29T08:19:18.974Z] [INFO] [kiegroup/kogito-runtimes] [2022-09-29T08:19:18.974Z] [INFO] Level Type: [upstream]. [2022-09-29T08:19:18.974Z] [INFO] mvn clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.KOGITO_RUNTIMES_BUILD_MVN_OPTS_UPSTREAM }} [2022-09-29T08:19:18.974Z] [INFO] [ �[32m'docker system prune -f'�[39m ] [2022-09-29T08:19:18.974Z] [2022-09-29T08:19:18.974Z] [INFO] [kiegroup/kogito-apps] [2022-09-29T08:19:18.974Z] [INFO] Level Type: [current]. [2022-09-29T08:19:18.974Z] [INFO] [ [2022-09-29T08:19:18.974Z] �[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-09-29T08:19:18.974Z] ] [2022-09-29T08:19:18.974Z] [INFO] [ �[32m'docker system prune -f'�[39m ] [2022-09-29T08:19:18.974Z] [2022-09-29T08:19:18.974Z] [INFO] ---------------------------------------------- [2022-09-29T08:19:18.974Z] ::endgroup:: [2022-09-29T08:19:18.974Z] ::group::[Pull Request Flow] Checking out kiegroup/kogito-runtimes and its dependencies [2022-09-29T08:19:18.974Z] [INFO] Tree for project kiegroup/kogito-apps. Dependencies: [2022-09-29T08:19:18.974Z] kiegroup/drools, [2022-09-29T08:19:18.974Z] kiegroup/kogito-runtimes, [2022-09-29T08:19:18.974Z] kiegroup/kogito-apps [2022-09-29T08:19:18.974Z] [INFO] [kiegroup/drools] Checking out project [2022-09-29T08:19:18.974Z] [WARN] shubhbapna/drools not found. Trying to get it by forked project list. [2022-09-29T08:20:05.872Z] [ERROR] You have exceeded a secondary rate limit. Please wait a few minutes before you try again. [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [2022-09-29T08:20:05.990Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // script Post stage [Pipeline] junit [2022-09-29T08:20:06.175Z] Recording test results [2022-09-29T08:20:06.287Z] 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-450 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1784) at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356) at hudson.remoting.Channel.call(Channel.java:1000) at hudson.FilePath.act(FilePath.java:1194) at hudson.FilePath.act(FilePath.java:1183) at hudson.tasks.junit.JUnitParser.parseResult(JUnitParser.java:118) at hudson.tasks.junit.JUnitResultArchiver.parse(JUnitResultArchiver.java:159) at hudson.tasks.junit.JUnitResultArchiver.parseAndSummarize(JUnitResultArchiver.java:253) 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.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) hudson.AbortException: No test report files were found. Configuration error? at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:184) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3502) 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-09-29T08:20:06.724Z] + rm -rf console.log [Pipeline] sh |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My only concern is about whether SONARCLOUD_TOKEN
could be printed out from PR 🤔
not sure why? shouldn't the token be secured? so not to be printed out at all? @Ginxo |
well you cannot update easily the |
@radtriste i asked because if leaked away, somebody can use it outside github and our CI, right? |
I do understand that. |
@shubhbapna Could you add this link to the |
Folks, we are working on a solution (#2517) to run the build in parallel. If we succeed, we will likely be able to drop GHA runs as it is now. So we can keep only Jenkins to run the entire build (unit + IT), which can impact this work. Additionally, we will refactor the GHA runs to perform quick checks such as unit testing ( I'd recommend putting this work on hold until we figure this out. Thanks, @radtriste, for bringing this to my attention. |
so i guess we can close this PR, right @shubhbapna ? |
(tests) - kogito-quarkus-examples job Please look here: https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-runtimes.tests.downstream.kogito-quarkus-examples/659/display/redirect Console Logs> git clean -fdx # timeout=10Fetching upstream changes from https://github.com/kiegroup/kogito-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.31.1' using GIT_ASKPASS to set credentials PSSWD: kie-ci3 account to access GitHub via token > git fetch --tags --force --progress -- https://github.com/kiegroup/kogito-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse origin/main^{commit} # timeout=10 Checking out Revision 79a42951307bba8f31190e47c6f6bbf4c94b2f5e (origin/main) > git config core.sparsecheckout # timeout=10 > git checkout -f 79a42951307bba8f31190e47c6f6bbf4c94b2f5e # timeout=10 Commit message: "Update quarkus version: remove kogito-images (#929)" > git rev-list --no-walk 79a42951307bba8f31190e47c6f6bbf4c94b2f5e # timeout=10 Loading library jenkins-pipeline-shared-libraries@main Attempting to resolve main from remote references... > git --version # timeout=10 > git --version # 'git version 2.31.1' using GIT_SSH to set credentials SSH: kie-ci service account with access to jboss-integration private github space [INFO] Currently running in a labeled security context > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8218656254876272775.key Verifying host key using manually-configured host key entries > git ls-remote -h -- https://github.com/kiegroup/jenkins-pipeline-shared-libraries # timeout=10 Found match: refs/heads/main revision 8607024ebc38bae724b2e5de608e4bbaf1f2b5c4 Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential kie-ci-user-key > git rev-parse --resolve-git-dir /var/jenkins_home/jobs/KIE/jobs/kogito/jobs/main/jobs/pullrequest/jobs/kogito-runtimes.tests.downstream.kogito-quarkus-examples/workspace@libs/d03f8b53ef89e88ec2b15428a250a4b1fb7910bfcdd3e1c33e4e95c3adb758bb/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/kiegroup/jenkins-pipeline-shared-libraries # timeout=10 Fetching without tags Fetching upstream changes from https://github.com/kiegroup/jenkins-pipeline-shared-libraries > git --version # timeout=10 > git --version # 'git version 2.31.1' using GIT_SSH to set credentials SSH: kie-ci service account with access to jboss-integration private github space [INFO] Currently running in a labeled security context > /usr/bin/chcon --type=ssh_home_t /var/jenkins_home/jobs/KIE/jobs/kogito/jobs/main/jobs/pullrequest/jobs/kogito-runtimes.tests.downstream.kogito-quarkus-examples/workspace@libs/d03f8b53ef89e88ec2b15428a250a4b1fb7910bfcdd3e1c33e4e95c3adb758bb@tmp/jenkins-gitclient-ssh16605653532370140854.key Verifying host key using manually-configured host key entries > git fetch --no-tags --force --progress -- https://github.com/kiegroup/jenkins-pipeline-shared-libraries +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 8607024ebc38bae724b2e5de608e4bbaf1f2b5c4 (main) > git config core.sparsecheckout # timeout=10 > git checkout -f 8607024ebc38bae724b2e5de608e4bbaf1f2b5c4 # timeout=10 Commit message: "mvnGetVersionProperty provide custom pom file (#269)" > git rev-list --no-walk 8607024ebc38bae724b2e5de608e4bbaf1f2b5c4 # timeout=10 [Pipeline] Start of Pipeline [Pipeline] node Running on rhos-01-kie-psi-rhel7-xlarge-1306 in /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-quarkus-examples [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: NONE using credential kie-ci3 Cloning the remote Git repository Avoid second fetch Checking out Revision 79a42951307bba8f31190e47c6f6bbf4c94b2f5e (origin/main) Commit message: "Update quarkus version: remove kogito-images (#929)" [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-05T17:29:38.411Z] Timeout set to expire in 3 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Tool Install) [Pipeline] tool [Pipeline] envVarsForTool Cloning repository https://github.com/kiegroup/kogito-pipelines.git > git init /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-quarkus-examples # timeout=10 Fetching upstream changes from https://github.com/kiegroup/kogito-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.39.2' using GIT_ASKPASS to set credentials PSSWD: kie-ci3 account to access GitHub via token > 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 79a42951307bba8f31190e47c6f6bbf4c94b2f5e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Initialize) [Pipeline] tool [Pipeline] envVarsForTool [Pipeline] withEnv [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-05T17:29:39.077Z] + printenv [Pipeline] archiveArtifacts [2023-04-05T17:29:39.111Z] 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 [2023-04-05T17:29:39.556Z] Running in /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-quarkus-examples [Pipeline] { [Pipeline] echo [2023-04-05T17:29:39.597Z] [INFO] space left on the machine [Pipeline] sh [2023-04-05T17:29:39.877Z] + df -h [2023-04-05T17:29:39.878Z] Filesystem Size Used Avail Use% Mounted on [2023-04-05T17:29:39.878Z] devtmpfs 7.8G 0 7.8G 0% /dev [2023-04-05T17:29:39.878Z] tmpfs 7.8G 0 7.8G 0% /dev/shm [2023-04-05T17:29:39.878Z] tmpfs 7.8G 17M 7.8G 1% /run [2023-04-05T17:29:39.878Z] tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup [2023-04-05T17:29:39.878Z] /dev/vda1 80G 20G 61G 25% / [2023-04-05T17:29:39.878Z] tmpfs 1.6G 0 1.6G 0% /run/user/1000 [Pipeline] echo [2023-04-05T17:29:39.904Z] [INFO] space of /home/jenkins [Pipeline] sh [2023-04-05T17:29:40.191Z] + du -h -d1 /home/jenkins [2023-04-05T17:29:40.191Z] 4.0K /home/jenkins/.ssh [2023-04-05T17:29:40.191Z] 0 /home/jenkins/go [2023-04-05T17:29:40.191Z] 8.0K /home/jenkins/.vnc [2023-04-05T17:29:40.191Z] 8.0K /home/jenkins/.m2 [2023-04-05T17:29:40.191Z] 2.2G /home/jenkins/git-repos [2023-04-05T17:29:40.191Z] 8.0K /home/jenkins/.config [2023-04-05T17:29:40.191Z] 131M /home/jenkins/virtenvs [2023-04-05T17:29:40.191Z] 4.0K /home/jenkins/.cekit [2023-04-05T17:29:40.191Z] 33M /home/jenkins/remoting [2023-04-05T17:29:40.191Z] 0 /home/jenkins/.cache [2023-04-05T17:29:40.191Z] 4.1M /home/jenkins/workspace [2023-04-05T17:29:40.191Z] 0 /home/jenkins/.pki [2023-04-05T17:29:40.191Z] 149M /home/jenkins/tools [2023-04-05T17:29:40.191Z] 0 /home/jenkins/caches [2023-04-05T17:29:40.191Z] 18M /home/jenkins/.npm [2023-04-05T17:29:40.191Z] 2.5G /home/jenkins [Pipeline] echo [2023-04-05T17:29:40.215Z] [INFO] space of workspace [Pipeline] sh [2023-04-05T17:29:40.498Z] + du -h -d3 /home/jenkins/workspace [2023-04-05T17:29:40.499Z] 4.1M /home/jenkins/workspace/KIE/kogito/main [2023-04-05T17:29:40.499Z] 4.1M /home/jenkins/workspace/KIE/kogito [2023-04-05T17:29:40.499Z] 4.1M /home/jenkins/workspace/KIE [2023-04-05T17:29:40.499Z] 4.1M /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-04-05T17:29:40.868Z] [INFO] Getting build-chain version from composite action file [Pipeline] readFile [Pipeline] echo [2023-04-05T17:29:40.949Z] [INFO] build-chain version recovered '^v3' [Pipeline] sh [2023-04-05T17:29:41.245Z] + npm install -g '@kie/build-chain-action@^v3' -registry=https://repository.engineering.redhat.com/nexus/repository/registry.npmjs.org/ [2023-04-05T17:29:43.126Z] [2023-04-05T17:29:43.126Z] changed 96 packages, and audited 97 packages in 2s [2023-04-05T17:29:43.126Z] [2023-04-05T17:29:43.126Z] 5 packages are looking for funding [2023-04-05T17:29:43.126Z] run `npm fund` for details [2023-04-05T17:29:43.126Z] [2023-04-05T17:29:43.126Z] found 0 vulnerabilities [Pipeline] sh [2023-04-05T17:29:43.428Z] + npm list -g [2023-04-05T17:29:43.429Z] + grep build-chain [2023-04-05T17:29:43.684Z] ├── @kie/[email protected] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build quarkus) Stage "Build quarkus" skipped due to when conditional [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-04-05T17:29:44.221Z] BUILD_MVN_OPTS_CURRENT = [Pipeline] configFileProvider [2023-04-05T17:29:44.237Z] provisioning config files... [2023-04-05T17:29:44.242Z] copy managed file [kogito_pr_settings] to file:/home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-quarkus-examples@tmp/config3888732412495726163tmp [Pipeline] { [Pipeline] withCredentials [2023-04-05T17:29:44.313Z] Masking supported pattern matches of $GITHUB_TOKEN [Pipeline] { [Pipeline] echo [2023-04-05T17:29:44.369Z] BUILD_MVN_OPTS = -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-quarkus-examples@tmp/config3888732412495726163tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true [Pipeline] sh [2023-04-05T17:29:44.396Z] Warning: A secret was passed to "sh" using Groovy String interpolation, which is insecure. [2023-04-05T17:29:44.397Z] Affected argument(s) used the following variable(s): [GITHUB_TOKEN] [2023-04-05T17:29:44.397Z] See https://jenkins.io/redirect/groovy-string-interpolation for details. [2023-04-05T17:29:44.664Z] + build-chain build cross_pr --token **** -f https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml -o bc -p kiegroup/kogito-examples -u https://github.com/kiegroup/kogito-runtimes/pull/2474 --skipParallelCheckout [2023-04-05T17:29:45.587Z] # Executing pre section [2023-04-05T17:29:45.587Z] [command]/usr/bin/echo BUILD_MVN_OPTS= -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-quarkus-examples@tmp/config3888732412495726163tmp -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-04-05T17:29:45.587Z] BUILD_MVN_OPTS= -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-quarkus-examples@tmp/config3888732412495726163tmp -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-04-05T17:29:45.587Z] [command]/usr/bin/echo BUILD_MVN_OPTS_CURRENT= dependency:tree [2023-04-05T17:29:45.587Z] BUILD_MVN_OPTS_CURRENT= dependency:tree [2023-04-05T17:29:45.587Z] [command]/usr/bin/echo QUARKUS_VERSION= [2023-04-05T17:29:45.587Z] QUARKUS_VERSION= [2023-04-05T17:29:45.587Z] [command]/usr/bin/echo ENABLE_DEPLOY= [2023-04-05T17:29:45.587Z] ENABLE_DEPLOY= [2023-04-05T17:29:45.587Z] [2023-04-05T17:29:45.587Z] # Execution Plan [2023-04-05T17:29:45.587Z] [INFO] 4 projects will be executed [2023-04-05T17:29:45.587Z] [INFO] [kiegroup/drools] [2023-04-05T17:29:45.587Z] [INFO] Level type: upstream [2023-04-05T17:29:45.587Z] [INFO] [before] [2023-04-05T17:29:45.587Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_UPSTREAM }} [2023-04-05T17:29:45.587Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh "${{ env.BUILD_ENVIRONMENT }}"; fi" [2023-04-05T17:29:45.587Z] [INFO] [commands] [2023-04-05T17:29:45.587Z] [INFO] mvn clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.DROOLS_BUILD_MVN_OPTS_UPSTREAM }} [2023-04-05T17:29:45.587Z] [INFO] [after] [2023-04-05T17:29:45.587Z] [INFO] docker system prune -f [2023-04-05T17:29:45.587Z] [INFO] [kiegroup/kogito-runtimes] [2023-04-05T17:29:45.587Z] [INFO] Level type: upstream [2023-04-05T17:29:45.587Z] [INFO] [before] [2023-04-05T17:29:45.587Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_UPSTREAM }} [2023-04-05T17:29:45.587Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh "${{ env.BUILD_ENVIRONMENT }}"; fi" [2023-04-05T17:29:45.587Z] [INFO] [commands] [2023-04-05T17:29:45.587Z] [INFO] mvn clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.KOGITO_RUNTIMES_BUILD_MVN_OPTS_UPSTREAM }} [2023-04-05T17:29:45.587Z] [INFO] [after] [2023-04-05T17:29:45.587Z] [INFO] docker system prune -f [2023-04-05T17:29:45.587Z] [INFO] [kiegroup/kogito-apps] [2023-04-05T17:29:45.587Z] [INFO] Level type: upstream [2023-04-05T17:29:45.587Z] [INFO] [before] [2023-04-05T17:29:45.587Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_UPSTREAM }} [2023-04-05T17:29:45.587Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh "${{ env.BUILD_ENVIRONMENT }}"; fi" [2023-04-05T17:29:45.587Z] [INFO] [commands] [2023-04-05T17:29:45.587Z] [INFO] mvn clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.KOGITO_APPS_BUILD_MVN_OPTS_UPSTREAM }} [2023-04-05T17:29:45.587Z] [INFO] [after] [2023-04-05T17:29:45.587Z] [INFO] docker system prune -f [2023-04-05T17:29:45.587Z] [INFO] [kiegroup/kogito-examples] [2023-04-05T17:29:45.587Z] [INFO] Level type: current [2023-04-05T17:29:45.587Z] [INFO] [before] [2023-04-05T17:29:45.587Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_CURRENT }} [2023-04-05T17:29:45.587Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh "${{ env.BUILD_ENVIRONMENT }}"; fi" [2023-04-05T17:29:45.587Z] [INFO] [commands] [2023-04-05T17:29:45.588Z] [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-04-05T17:29:45.588Z] mvn -pl :kogito-examples clean ${{ env.MVN_CMD }} ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_CURRENT }} ${{ env.KOGITO_EXAMPLES_BUILD_MVN_OPTS }} [2023-04-05T17:29:45.588Z] 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-04-05T17:29:45.588Z] [INFO] [after] [2023-04-05T17:29:45.588Z] [INFO] docker system prune -f [2023-04-05T17:29:45.588Z] [2023-04-05T17:29:45.588Z] # Checking out kiegroup/kogito-examples and its dependencies (4 projects in total). It can take some time. [2023-04-05T17:30:00.411Z] [INFO] kiegroup/drools checked out [2023-04-05T17:30:15.228Z] [ERROR] [kiegroup/kogito-runtimes] Error merging shubhbapna/kogito-runtimes:KOGITO-7900 [2023-04-05T17:30:15.228Z] into kiegroup/kogito-runtimes:main [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [2023-04-05T17:30:15.324Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // script Post stage [Pipeline] junit [2023-04-05T17:30:15.431Z] Recording test results [2023-04-05T17:30:15.786Z] [Checks API] No suitable checks publisher found. [Pipeline] archiveArtifacts [2023-04-05T17:30:15.822Z] Archiving artifacts [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-05T17:30:16.437Z] + rm -rf console.log [Pipeline] sh |
(tests) - serverless-workflow-examples job Please look here: https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-runtimes.tests.downstream.serverless-workflow-examples/644/display/redirect Console LogsFetching upstream changes from https://github.com/kiegroup/kogito-pipelines.git> git --version # timeout=10 > git --version # 'git version 2.31.1' using GIT_ASKPASS to set credentials PSSWD: kie-ci3 account to access GitHub via token > git fetch --tags --force --progress -- https://github.com/kiegroup/kogito-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse origin/main^{commit} # timeout=10 Checking out Revision 79a42951307bba8f31190e47c6f6bbf4c94b2f5e (origin/main) > git config core.sparsecheckout # timeout=10 > git checkout -f 79a42951307bba8f31190e47c6f6bbf4c94b2f5e # timeout=10 Commit message: "Update quarkus version: remove kogito-images (#929)" > git rev-list --no-walk 79a42951307bba8f31190e47c6f6bbf4c94b2f5e # timeout=10 Loading library jenkins-pipeline-shared-libraries@main Attempting to resolve main from remote references... > git --version # timeout=10 > git --version # 'git version 2.31.1' using GIT_SSH to set credentials SSH: kie-ci service account with access to jboss-integration private github space [INFO] Currently running in a labeled security context > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13345054488787068546.key Verifying host key using manually-configured host key entries > git ls-remote -h -- https://github.com/kiegroup/jenkins-pipeline-shared-libraries # timeout=10 Found match: refs/heads/main revision 8607024ebc38bae724b2e5de608e4bbaf1f2b5c4 Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential kie-ci-user-key > git rev-parse --resolve-git-dir /var/jenkins_home/jobs/KIE/jobs/kogito/jobs/main/jobs/pullrequest/jobs/kogito-runtimes.tests.downstream.serverless-workflow-examples/workspace@libs/d03f8b53ef89e88ec2b15428a250a4b1fb7910bfcdd3e1c33e4e95c3adb758bb/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/kiegroup/jenkins-pipeline-shared-libraries # timeout=10 Fetching without tags Fetching upstream changes from https://github.com/kiegroup/jenkins-pipeline-shared-libraries > git --version # timeout=10 > git --version # 'git version 2.31.1' using GIT_SSH to set credentials SSH: kie-ci service account with access to jboss-integration private github space [INFO] Currently running in a labeled security context > /usr/bin/chcon --type=ssh_home_t /var/jenkins_home/jobs/KIE/jobs/kogito/jobs/main/jobs/pullrequest/jobs/kogito-runtimes.tests.downstream.serverless-workflow-examples/workspace@libs/d03f8b53ef89e88ec2b15428a250a4b1fb7910bfcdd3e1c33e4e95c3adb758bb@tmp/jenkins-gitclient-ssh163274361965588846.key Verifying host key using manually-configured host key entries > git fetch --no-tags --force --progress -- https://github.com/kiegroup/jenkins-pipeline-shared-libraries +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 8607024ebc38bae724b2e5de608e4bbaf1f2b5c4 (main) > git config core.sparsecheckout # timeout=10 > git checkout -f 8607024ebc38bae724b2e5de608e4bbaf1f2b5c4 # timeout=10 Commit message: "mvnGetVersionProperty provide custom pom file (#269)" > git rev-list --no-walk 8607024ebc38bae724b2e5de608e4bbaf1f2b5c4 # timeout=10 [Pipeline] Start of Pipeline [Pipeline] node Running on rhos-01-kie-psi-rhel7-xlarge-1324 in /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.serverless-workflow-examples [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: NONE using credential kie-ci3 Cloning the remote Git repository Cloning repository https://github.com/kiegroup/kogito-pipelines.git Avoid second fetch Checking out Revision 79a42951307bba8f31190e47c6f6bbf4c94b2f5e (origin/main) > git init /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.serverless-workflow-examples # timeout=10 Fetching upstream changes from https://github.com/kiegroup/kogito-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.39.2' using GIT_ASKPASS to set credentials PSSWD: kie-ci3 account to access GitHub via token > 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 79a42951307bba8f31190e47c6f6bbf4c94b2f5e # timeout=10 Commit message: "Update quarkus version: remove kogito-images (#929)" [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-05T17:29:40.029Z] Timeout set to expire in 3 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Tool Install) [Pipeline] tool [2023-04-05T17:29:40.145Z] Installing NodeJS from /var/jenkins_home/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-1324 [Pipeline] envVarsForTool [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Initialize) [Pipeline] tool [Pipeline] envVarsForTool [Pipeline] withEnv [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-05T17:29:42.470Z] + printenv [Pipeline] archiveArtifacts [2023-04-05T17:29:42.555Z] 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 [2023-04-05T17:29:43.140Z] Running in /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.serverless-workflow-examples [Pipeline] { [Pipeline] echo [2023-04-05T17:29:43.175Z] [INFO] space left on the machine [Pipeline] sh [2023-04-05T17:29:43.462Z] + df -h [2023-04-05T17:29:43.462Z] Filesystem Size Used Avail Use% Mounted on [2023-04-05T17:29:43.462Z] devtmpfs 7.8G 0 7.8G 0% /dev [2023-04-05T17:29:43.462Z] tmpfs 7.8G 0 7.8G 0% /dev/shm [2023-04-05T17:29:43.462Z] tmpfs 7.8G 17M 7.8G 1% /run [2023-04-05T17:29:43.462Z] tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup [2023-04-05T17:29:43.462Z] /dev/vda1 80G 20G 61G 25% / [2023-04-05T17:29:43.462Z] tmpfs 1.6G 0 1.6G 0% /run/user/1000 [Pipeline] echo [2023-04-05T17:29:43.486Z] [INFO] space of /home/jenkins [Pipeline] sh [2023-04-05T17:29:43.769Z] + du -h -d1 /home/jenkins [2023-04-05T17:29:43.770Z] 4.0K /home/jenkins/.ssh [2023-04-05T17:29:43.770Z] 0 /home/jenkins/go [2023-04-05T17:29:43.770Z] 8.0K /home/jenkins/.vnc [2023-04-05T17:29:43.770Z] 8.0K /home/jenkins/.m2 [2023-04-05T17:29:43.770Z] 2.2G /home/jenkins/git-repos [2023-04-05T17:29:43.770Z] 8.0K /home/jenkins/.config [2023-04-05T17:29:43.770Z] 131M /home/jenkins/virtenvs [2023-04-05T17:29:43.770Z] 4.0K /home/jenkins/.cekit [2023-04-05T17:29:43.770Z] 32M /home/jenkins/remoting [2023-04-05T17:29:43.770Z] 0 /home/jenkins/.cache [2023-04-05T17:29:44.026Z] 4.1M /home/jenkins/workspace [2023-04-05T17:29:44.026Z] 0 /home/jenkins/.pki [2023-04-05T17:29:44.026Z] 100M /home/jenkins/tools [2023-04-05T17:29:44.026Z] 0 /home/jenkins/caches [2023-04-05T17:29:44.026Z] 2.4G /home/jenkins [Pipeline] echo [2023-04-05T17:29:44.053Z] [INFO] space of workspace [Pipeline] sh [2023-04-05T17:29:44.352Z] + du -h -d3 /home/jenkins/workspace [2023-04-05T17:29:44.353Z] 4.1M /home/jenkins/workspace/KIE/kogito/main [2023-04-05T17:29:44.353Z] 4.1M /home/jenkins/workspace/KIE/kogito [2023-04-05T17:29:44.353Z] 4.1M /home/jenkins/workspace/KIE [2023-04-05T17:29:44.353Z] 4.1M /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-04-05T17:29:44.790Z] [INFO] Getting build-chain version from composite action file [Pipeline] readFile [Pipeline] echo [2023-04-05T17:29:44.864Z] [INFO] build-chain version recovered '^v3' [Pipeline] sh [2023-04-05T17:29:45.156Z] + npm install -g '@kie/build-chain-action@^v3' -registry=https://repository.engineering.redhat.com/nexus/repository/registry.npmjs.org/ [2023-04-05T17:29:48.425Z] [2023-04-05T17:29:48.425Z] added 96 packages, and audited 97 packages in 3s [2023-04-05T17:29:48.425Z] [2023-04-05T17:29:48.425Z] 5 packages are looking for funding [2023-04-05T17:29:48.425Z] run `npm fund` for details [2023-04-05T17:29:48.425Z] [2023-04-05T17:29:48.425Z] found 0 vulnerabilities [Pipeline] sh [2023-04-05T17:29:48.722Z] + npm list -g [2023-04-05T17:29:48.723Z] + grep build-chain [2023-04-05T17:29:49.290Z] ├── @kie/[email protected] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build quarkus) Stage "Build quarkus" skipped due to when conditional [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-04-05T17:29:49.845Z] BUILD_MVN_OPTS_CURRENT = [Pipeline] configFileProvider [2023-04-05T17:29:49.861Z] provisioning config files... [2023-04-05T17:29:49.868Z] copy managed file [kogito_pr_settings] to file:/home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.serverless-workflow-examples@tmp/config16702745496370774381tmp [Pipeline] { [Pipeline] withCredentials [2023-04-05T17:29:49.915Z] Masking supported pattern matches of $GITHUB_TOKEN [Pipeline] { [Pipeline] echo [2023-04-05T17:29:49.969Z] BUILD_MVN_OPTS = -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.serverless-workflow-examples@tmp/config16702745496370774381tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true [Pipeline] sh [2023-04-05T17:29:49.996Z] Warning: A secret was passed to "sh" using Groovy String interpolation, which is insecure. [2023-04-05T17:29:49.997Z] Affected argument(s) used the following variable(s): [GITHUB_TOKEN] [2023-04-05T17:29:49.997Z] See https://jenkins.io/redirect/groovy-string-interpolation for details. [2023-04-05T17:29:50.308Z] + build-chain build cross_pr --token **** -f https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml -o bc -p kiegroup/kogito-examples -u https://github.com/kiegroup/kogito-runtimes/pull/2474 --skipParallelCheckout [2023-04-05T17:29:51.702Z] # Executing pre section [2023-04-05T17:29:51.702Z] [command]/usr/bin/echo BUILD_MVN_OPTS= -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.serverless-workflow-examples@tmp/config16702745496370774381tmp -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-04-05T17:29:51.702Z] BUILD_MVN_OPTS= -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.serverless-workflow-examples@tmp/config16702745496370774381tmp -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-04-05T17:29:51.702Z] [command]/usr/bin/echo BUILD_MVN_OPTS_CURRENT= dependency:tree [2023-04-05T17:29:51.702Z] BUILD_MVN_OPTS_CURRENT= dependency:tree [2023-04-05T17:29:51.702Z] [command]/usr/bin/echo QUARKUS_VERSION= [2023-04-05T17:29:51.702Z] QUARKUS_VERSION= [2023-04-05T17:29:51.702Z] [command]/usr/bin/echo ENABLE_DEPLOY= [2023-04-05T17:29:51.702Z] ENABLE_DEPLOY= [2023-04-05T17:29:51.702Z] [2023-04-05T17:29:51.702Z] # Execution Plan [2023-04-05T17:29:51.702Z] [INFO] 4 projects will be executed [2023-04-05T17:29:51.702Z] [INFO] [kiegroup/drools] [2023-04-05T17:29:51.702Z] [INFO] Level type: upstream [2023-04-05T17:29:51.702Z] [INFO] [before] [2023-04-05T17:29:51.702Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_UPSTREAM }} [2023-04-05T17:29:51.703Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh "${{ env.BUILD_ENVIRONMENT }}"; fi" [2023-04-05T17:29:51.703Z] [INFO] [commands] [2023-04-05T17:29:51.703Z] [INFO] mvn clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.DROOLS_BUILD_MVN_OPTS_UPSTREAM }} [2023-04-05T17:29:51.703Z] [INFO] [after] [2023-04-05T17:29:51.703Z] [INFO] docker system prune -f [2023-04-05T17:29:51.703Z] [INFO] [kiegroup/kogito-runtimes] [2023-04-05T17:29:51.703Z] [INFO] Level type: upstream [2023-04-05T17:29:51.703Z] [INFO] [before] [2023-04-05T17:29:51.703Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_UPSTREAM }} [2023-04-05T17:29:51.703Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh "${{ env.BUILD_ENVIRONMENT }}"; fi" [2023-04-05T17:29:51.703Z] [INFO] [commands] [2023-04-05T17:29:51.703Z] [INFO] mvn clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.KOGITO_RUNTIMES_BUILD_MVN_OPTS_UPSTREAM }} [2023-04-05T17:29:51.703Z] [INFO] [after] [2023-04-05T17:29:51.703Z] [INFO] docker system prune -f [2023-04-05T17:29:51.703Z] [INFO] [kiegroup/kogito-apps] [2023-04-05T17:29:51.703Z] [INFO] Level type: upstream [2023-04-05T17:29:51.703Z] [INFO] [before] [2023-04-05T17:29:51.703Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_UPSTREAM }} [2023-04-05T17:29:51.703Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh "${{ env.BUILD_ENVIRONMENT }}"; fi" [2023-04-05T17:29:51.703Z] [INFO] [commands] [2023-04-05T17:29:51.703Z] [INFO] mvn clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.KOGITO_APPS_BUILD_MVN_OPTS_UPSTREAM }} [2023-04-05T17:29:51.703Z] [INFO] [after] [2023-04-05T17:29:51.703Z] [INFO] docker system prune -f [2023-04-05T17:29:51.703Z] [INFO] [kiegroup/kogito-examples] [2023-04-05T17:29:51.703Z] [INFO] Level type: current [2023-04-05T17:29:51.703Z] [INFO] [before] [2023-04-05T17:29:51.703Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_CURRENT }} [2023-04-05T17:29:51.703Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh "${{ env.BUILD_ENVIRONMENT }}"; fi" [2023-04-05T17:29:51.703Z] [INFO] [commands] [2023-04-05T17:29:51.703Z] [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-04-05T17:29:51.703Z] mvn -pl :kogito-examples clean ${{ env.MVN_CMD }} ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_CURRENT }} ${{ env.KOGITO_EXAMPLES_BUILD_MVN_OPTS }} [2023-04-05T17:29:51.703Z] 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-04-05T17:29:51.703Z] [INFO] [after] [2023-04-05T17:29:51.703Z] [INFO] docker system prune -f [2023-04-05T17:29:51.703Z] [2023-04-05T17:29:51.703Z] # Checking out kiegroup/kogito-examples and its dependencies (4 projects in total). It can take some time. [2023-04-05T17:30:09.741Z] [INFO] kiegroup/drools checked out [2023-04-05T17:30:24.924Z] [ERROR] [kiegroup/kogito-runtimes] Error merging shubhbapna/kogito-runtimes:KOGITO-7900 [2023-04-05T17:30:24.924Z] into kiegroup/kogito-runtimes:main [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [2023-04-05T17:30:25.004Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // script Post stage [Pipeline] junit [2023-04-05T17:30:25.129Z] Recording test results [2023-04-05T17:30:25.729Z] [Checks API] No suitable checks publisher found. [Pipeline] archiveArtifacts [2023-04-05T17:30:25.747Z] Archiving artifacts [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-05T17:30:25.133Z] No test report files were found. Configuration error? [2023-04-05T17:30:26.437Z] + rm -rf console.log [Pipeline] sh |
(tests) - kogito-runtimes job Please look here: https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-runtimes.tests.kogito-runtimes/2227/display/redirect Console LogsGitHub pull request #2474 of commit 3e79c92, has merge conflicts.Setting status of 3e79c92 to PENDING with url https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-runtimes.tests.kogito-runtimes/2227/display/redirect and message: 'Build started.' Using context: (build) kogito-runtimes Checking out git https://github.com/kiegroup/kogito-pipelines.git into /var/jenkins_home/jobs/KIE/jobs/kogito/jobs/main/jobs/pullrequest/jobs/kogito-runtimes.tests.kogito-runtimes/workspace@script/ee10b829cbd0ac763d0be6f0356db3418b2d4469e9daa1842e842313521cde92 to read .ci/jenkins/Jenkinsfile.buildchain The recommended git tool is: NONE using credential kie-ci3 > git rev-parse --resolve-git-dir /var/jenkins_home/jobs/KIE/jobs/kogito/jobs/main/jobs/pullrequest/jobs/kogito-runtimes.tests.kogito-runtimes/workspace@script/ee10b829cbd0ac763d0be6f0356db3418b2d4469e9daa1842e842313521cde92/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/kiegroup/kogito-pipelines.git # timeout=10 Cleaning workspace > git rev-parse --verify HEAD # timeout=10 Resetting working tree > git reset --hard # timeout=10 > git clean -fdx # timeout=10 Fetching upstream changes from https://github.com/kiegroup/kogito-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.31.1' using GIT_ASKPASS to set credentials PSSWD: kie-ci3 account to access GitHub via token > git fetch --tags --force --progress -- https://github.com/kiegroup/kogito-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse origin/main^{commit} # timeout=10 Checking out Revision 79a42951307bba8f31190e47c6f6bbf4c94b2f5e (origin/main) > git config core.sparsecheckout # timeout=10 > git checkout -f 79a42951307bba8f31190e47c6f6bbf4c94b2f5e # timeout=10 Commit message: "Update quarkus version: remove kogito-images (#929)" > git rev-list --no-walk 79a42951307bba8f31190e47c6f6bbf4c94b2f5e # timeout=10 Loading library jenkins-pipeline-shared-libraries@main Attempting to resolve main from remote references... > git --version # timeout=10 > git --version # 'git version 2.31.1' using GIT_SSH to set credentials SSH: kie-ci service account with access to jboss-integration private github space [INFO] Currently running in a labeled security context > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh18343103556501903042.key Verifying host key using manually-configured host key entries > git ls-remote -h -- https://github.com/kiegroup/jenkins-pipeline-shared-libraries # timeout=10 Found match: refs/heads/main revision 8607024ebc38bae724b2e5de608e4bbaf1f2b5c4 Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential kie-ci-user-key > git rev-parse --resolve-git-dir /var/jenkins_home/jobs/KIE/jobs/kogito/jobs/main/jobs/pullrequest/jobs/kogito-runtimes.tests.kogito-runtimes/workspace@libs/d03f8b53ef89e88ec2b15428a250a4b1fb7910bfcdd3e1c33e4e95c3adb758bb/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/kiegroup/jenkins-pipeline-shared-libraries # timeout=10 Fetching without tags Fetching upstream changes from https://github.com/kiegroup/jenkins-pipeline-shared-libraries > git --version # timeout=10 > git --version # 'git version 2.31.1' using GIT_SSH to set credentials SSH: kie-ci service account with access to jboss-integration private github space [INFO] Currently running in a labeled security context > /usr/bin/chcon --type=ssh_home_t /var/jenkins_home/jobs/KIE/jobs/kogito/jobs/main/jobs/pullrequest/jobs/kogito-runtimes.tests.kogito-runtimes/workspace@libs/d03f8b53ef89e88ec2b15428a250a4b1fb7910bfcdd3e1c33e4e95c3adb758bb@tmp/jenkins-gitclient-ssh12241166173780338048.key Verifying host key using manually-configured host key entries > git fetch --no-tags --force --progress -- https://github.com/kiegroup/jenkins-pipeline-shared-libraries +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 8607024ebc38bae724b2e5de608e4bbaf1f2b5c4 (main) > git config core.sparsecheckout # timeout=10 > git checkout -f 8607024ebc38bae724b2e5de608e4bbaf1f2b5c4 # timeout=10 Commit message: "mvnGetVersionProperty provide custom pom file (#269)" > git rev-list --no-walk 8607024ebc38bae724b2e5de608e4bbaf1f2b5c4 # timeout=10 [Pipeline] Start of Pipeline [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘kie-rhel7&&kie-mem16g&&!built-in’ Running on rhos-01-kie-psi-rhel7-xlarge-1306 in /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.kogito-runtimes [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: NONE using credential kie-ci3 Cloning the remote Git repository Avoid second fetch Checking out Revision 79a42951307bba8f31190e47c6f6bbf4c94b2f5e (origin/main) Commit message: "Update quarkus version: remove kogito-images (#929)" [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-05T17:30:25.301Z] Timeout set to expire in 3 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Tool Install) [Pipeline] tool [Pipeline] envVarsForTool [Pipeline] } Cloning repository https://github.com/kiegroup/kogito-pipelines.git > git init /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.kogito-runtimes # timeout=10 Fetching upstream changes from https://github.com/kiegroup/kogito-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.39.2' using GIT_ASKPASS to set credentials PSSWD: kie-ci3 account to access GitHub via token > 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 79a42951307bba8f31190e47c6f6bbf4c94b2f5e # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Initialize) [Pipeline] tool [Pipeline] envVarsForTool [Pipeline] withEnv [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-05T17:30:25.966Z] + printenv [Pipeline] archiveArtifacts [2023-04-05T17:30:25.995Z] 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 [2023-04-05T17:30:26.420Z] Running in /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.kogito-runtimes [Pipeline] { [Pipeline] echo [2023-04-05T17:30:26.452Z] [INFO] space left on the machine [Pipeline] sh [2023-04-05T17:30:26.730Z] + df -h [2023-04-05T17:30:26.730Z] Filesystem Size Used Avail Use% Mounted on [2023-04-05T17:30:26.730Z] devtmpfs 7.8G 0 7.8G 0% /dev [2023-04-05T17:30:26.730Z] tmpfs 7.8G 0 7.8G 0% /dev/shm [2023-04-05T17:30:26.730Z] tmpfs 7.8G 17M 7.8G 1% /run [2023-04-05T17:30:26.730Z] tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup [2023-04-05T17:30:26.730Z] /dev/vda1 80G 20G 61G 25% / [2023-04-05T17:30:26.730Z] tmpfs 1.6G 0 1.6G 0% /run/user/1000 [Pipeline] echo [2023-04-05T17:30:26.752Z] [INFO] space of /home/jenkins [Pipeline] sh [2023-04-05T17:30:27.031Z] + du -h -d1 /home/jenkins [2023-04-05T17:30:27.032Z] 4.0K /home/jenkins/.ssh [2023-04-05T17:30:27.032Z] 0 /home/jenkins/go [2023-04-05T17:30:27.032Z] 8.0K /home/jenkins/.vnc [2023-04-05T17:30:27.032Z] 8.0K /home/jenkins/.m2 [2023-04-05T17:30:27.032Z] 2.2G /home/jenkins/git-repos [2023-04-05T17:30:27.032Z] 8.0K /home/jenkins/.config [2023-04-05T17:30:27.032Z] 131M /home/jenkins/virtenvs [2023-04-05T17:30:27.032Z] 4.0K /home/jenkins/.cekit [2023-04-05T17:30:27.032Z] 33M /home/jenkins/remoting [2023-04-05T17:30:27.032Z] 0 /home/jenkins/.cache [2023-04-05T17:30:27.032Z] 4.1M /home/jenkins/workspace [2023-04-05T17:30:27.032Z] 0 /home/jenkins/.pki [2023-04-05T17:30:27.032Z] 149M /home/jenkins/tools [2023-04-05T17:30:27.032Z] 0 /home/jenkins/caches [2023-04-05T17:30:27.032Z] 18M /home/jenkins/.npm [2023-04-05T17:30:27.032Z] 2.5G /home/jenkins [Pipeline] echo [2023-04-05T17:30:27.054Z] [INFO] space of workspace [Pipeline] sh [2023-04-05T17:30:27.338Z] + du -h -d3 /home/jenkins/workspace [2023-04-05T17:30:27.338Z] 4.1M /home/jenkins/workspace/KIE/kogito/main [2023-04-05T17:30:27.338Z] 4.1M /home/jenkins/workspace/KIE/kogito [2023-04-05T17:30:27.338Z] 4.1M /home/jenkins/workspace/KIE [2023-04-05T17:30:27.338Z] 4.1M /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-04-05T17:30:27.683Z] [INFO] Getting build-chain version from composite action file [Pipeline] readFile [Pipeline] echo [2023-04-05T17:30:27.749Z] [INFO] build-chain version recovered '^v3' [Pipeline] sh [2023-04-05T17:30:28.031Z] + npm install -g '@kie/build-chain-action@^v3' -registry=https://repository.engineering.redhat.com/nexus/repository/registry.npmjs.org/ [2023-04-05T17:30:30.539Z] [2023-04-05T17:30:30.539Z] changed 96 packages, and audited 97 packages in 2s [2023-04-05T17:30:30.539Z] [2023-04-05T17:30:30.539Z] 5 packages are looking for funding [2023-04-05T17:30:30.539Z] run `npm fund` for details [2023-04-05T17:30:30.539Z] [2023-04-05T17:30:30.539Z] found 0 vulnerabilities [Pipeline] sh [2023-04-05T17:30:30.856Z] + npm list -g [2023-04-05T17:30:30.857Z] + grep build-chain [2023-04-05T17:30:31.256Z] ├── @kie/[email protected] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build quarkus) Stage "Build quarkus" skipped due to when conditional [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-04-05T17:30:33.543Z] BUILD_MVN_OPTS_CURRENT = -T 1C -Dvalidate-formatting -Prun-code-coverage [Pipeline] configFileProvider [2023-04-05T17:30:33.559Z] provisioning config files... [2023-04-05T17:30:33.564Z] copy managed file [kogito_pr_settings] to file:/home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.kogito-runtimes@tmp/config10799052534850702923tmp [Pipeline] { [Pipeline] withCredentials [2023-04-05T17:30:33.607Z] Masking supported pattern matches of $GITHUB_TOKEN [Pipeline] { [Pipeline] echo [2023-04-05T17:30:33.654Z] BUILD_MVN_OPTS = -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.kogito-runtimes@tmp/config10799052534850702923tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true [Pipeline] sh [2023-04-05T17:30:33.677Z] Warning: A secret was passed to "sh" using Groovy String interpolation, which is insecure. [2023-04-05T17:30:33.678Z] Affected argument(s) used the following variable(s): [GITHUB_TOKEN] [2023-04-05T17:30:33.678Z] See https://jenkins.io/redirect/groovy-string-interpolation for details. [2023-04-05T17:30:33.946Z] + build-chain build cross_pr --token **** -f https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml -o bc -p kiegroup/kogito-runtimes -u https://github.com/kiegroup/kogito-runtimes/pull/2474 --skipParallelCheckout [2023-04-05T17:30:34.870Z] # Executing pre section [2023-04-05T17:30:34.871Z] [command]/usr/bin/echo BUILD_MVN_OPTS= -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.kogito-runtimes@tmp/config10799052534850702923tmp -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-04-05T17:30:34.871Z] BUILD_MVN_OPTS= -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.kogito-runtimes@tmp/config10799052534850702923tmp -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-04-05T17:30:34.871Z] [command]/usr/bin/echo BUILD_MVN_OPTS_CURRENT=-T 1C -Dvalidate-formatting -Prun-code-coverage dependency:tree [2023-04-05T17:30:34.871Z] BUILD_MVN_OPTS_CURRENT=-T 1C -Dvalidate-formatting -Prun-code-coverage dependency:tree [2023-04-05T17:30:34.871Z] [command]/usr/bin/echo QUARKUS_VERSION= [2023-04-05T17:30:34.871Z] QUARKUS_VERSION= [2023-04-05T17:30:34.871Z] [command]/usr/bin/echo ENABLE_DEPLOY= [2023-04-05T17:30:34.871Z] ENABLE_DEPLOY= [2023-04-05T17:30:35.129Z] [2023-04-05T17:30:35.129Z] # Execution Plan [2023-04-05T17:30:35.129Z] [INFO] 2 projects will be executed [2023-04-05T17:30:35.129Z] [INFO] [kiegroup/drools] [2023-04-05T17:30:35.129Z] [INFO] Level type: upstream [2023-04-05T17:30:35.129Z] [INFO] [before] [2023-04-05T17:30:35.129Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_UPSTREAM }} [2023-04-05T17:30:35.129Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh "${{ env.BUILD_ENVIRONMENT }}"; fi" [2023-04-05T17:30:35.129Z] [INFO] [commands] [2023-04-05T17:30:35.129Z] [INFO] mvn clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.DROOLS_BUILD_MVN_OPTS_UPSTREAM }} [2023-04-05T17:30:35.129Z] [INFO] [after] [2023-04-05T17:30:35.129Z] [INFO] docker system prune -f [2023-04-05T17:30:35.129Z] [INFO] [kiegroup/kogito-runtimes] [2023-04-05T17:30:35.129Z] [INFO] Level type: current [2023-04-05T17:30:35.129Z] [INFO] [before] [2023-04-05T17:30:35.129Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_CURRENT }} [2023-04-05T17:30:35.129Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh "${{ env.BUILD_ENVIRONMENT }}"; fi" [2023-04-05T17:30:35.129Z] [INFO] [commands] [2023-04-05T17:30:35.129Z] [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-04-05T17:30:35.129Z] mvn clean ${{ env.MVN_CMD }} ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_CURRENT }} ${{ env.KOGITO_RUNTIMES_BUILD_MVN_OPTS }} [2023-04-05T17:30:35.129Z] [INFO] [after] [2023-04-05T17:30:35.129Z] [INFO] docker system prune -f [2023-04-05T17:30:35.129Z] [2023-04-05T17:30:35.129Z] # Checking out kiegroup/kogito-runtimes and its dependencies (2 projects in total). It can take some time. [2023-04-05T17:30:49.955Z] [INFO] kiegroup/drools checked out [2023-04-05T17:31:11.835Z] [ERROR] [kiegroup/kogito-runtimes] Error merging shubhbapna/kogito-runtimes:KOGITO-7900 [2023-04-05T17:31:11.835Z] into kiegroup/kogito-runtimes:main [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [2023-04-05T17:31:11.907Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // script Post stage [Pipeline] junit [2023-04-05T17:31:12.011Z] Recording test results [2023-04-05T17:31:12.314Z] [Checks API] No suitable checks publisher found. [Pipeline] archiveArtifacts [2023-04-05T17:31:12.331Z] Archiving artifacts [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-05T17:31:12.959Z] + rm -rf console.log [Pipeline] sh [2023-04-05T17:31:12.125Z] No test report files were found. Configuration error? |
(tests) - kogito-apps job Please look here: https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-runtimes.tests.downstream.kogito-apps/2296/display/redirect Console Logs> git rev-parse --resolve-git-dir /var/jenkins_home/jobs/KIE/jobs/kogito/jobs/main/jobs/pullrequest/jobs/kogito-runtimes.tests.downstream.kogito-apps/workspace@script/ee10b829cbd0ac763d0be6f0356db3418b2d4469e9daa1842e842313521cde92/.git # timeout=10Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/kiegroup/kogito-pipelines.git # timeout=10 Cleaning workspace > git rev-parse --verify HEAD # timeout=10 Resetting working tree > git reset --hard # timeout=10 > git clean -fdx # timeout=10 Fetching upstream changes from https://github.com/kiegroup/kogito-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.31.1' using GIT_ASKPASS to set credentials PSSWD: kie-ci3 account to access GitHub via token > git fetch --tags --force --progress -- https://github.com/kiegroup/kogito-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse origin/main^{commit} # timeout=10 Checking out Revision 79a42951307bba8f31190e47c6f6bbf4c94b2f5e (origin/main) > git config core.sparsecheckout # timeout=10 > git checkout -f 79a42951307bba8f31190e47c6f6bbf4c94b2f5e # timeout=10 Commit message: "Update quarkus version: remove kogito-images (#929)" > git rev-list --no-walk 79a42951307bba8f31190e47c6f6bbf4c94b2f5e # timeout=10 Loading library jenkins-pipeline-shared-libraries@main Attempting to resolve main from remote references... > git --version # timeout=10 > git --version # 'git version 2.31.1' using GIT_SSH to set credentials SSH: kie-ci service account with access to jboss-integration private github space [INFO] Currently running in a labeled security context > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13264679561885813872.key Verifying host key using manually-configured host key entries > git ls-remote -h -- https://github.com/kiegroup/jenkins-pipeline-shared-libraries # timeout=10 Found match: refs/heads/main revision 8607024ebc38bae724b2e5de608e4bbaf1f2b5c4 Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential kie-ci-user-key > git rev-parse --resolve-git-dir /var/jenkins_home/jobs/KIE/jobs/kogito/jobs/main/jobs/pullrequest/jobs/kogito-runtimes.tests.downstream.kogito-apps/workspace@libs/d03f8b53ef89e88ec2b15428a250a4b1fb7910bfcdd3e1c33e4e95c3adb758bb/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/kiegroup/jenkins-pipeline-shared-libraries # timeout=10 Fetching without tags Fetching upstream changes from https://github.com/kiegroup/jenkins-pipeline-shared-libraries > git --version # timeout=10 > git --version # 'git version 2.31.1' using GIT_SSH to set credentials SSH: kie-ci service account with access to jboss-integration private github space [INFO] Currently running in a labeled security context > /usr/bin/chcon --type=ssh_home_t /var/jenkins_home/jobs/KIE/jobs/kogito/jobs/main/jobs/pullrequest/jobs/kogito-runtimes.tests.downstream.kogito-apps/workspace@libs/d03f8b53ef89e88ec2b15428a250a4b1fb7910bfcdd3e1c33e4e95c3adb758bb@tmp/jenkins-gitclient-ssh12083658668588119347.key Verifying host key using manually-configured host key entries > git fetch --no-tags --force --progress -- https://github.com/kiegroup/jenkins-pipeline-shared-libraries +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 8607024ebc38bae724b2e5de608e4bbaf1f2b5c4 (main) > git config core.sparsecheckout # timeout=10 > git checkout -f 8607024ebc38bae724b2e5de608e4bbaf1f2b5c4 # timeout=10 Commit message: "mvnGetVersionProperty provide custom pom file (#269)" > git rev-list --no-walk 8607024ebc38bae724b2e5de608e4bbaf1f2b5c4 # timeout=10 [Pipeline] Start of Pipeline [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘kie-rhel7&&kie-mem16g&&!built-in’ Running on rhos-01-kie-psi-rhel7-xlarge-1324 in /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-apps [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: NONE using credential kie-ci3 Cloning the remote Git repository Avoid second fetch Checking out Revision 79a42951307bba8f31190e47c6f6bbf4c94b2f5e (origin/main) Commit message: "Update quarkus version: remove kogito-images (#929)" [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-05T17:30:35.151Z] Timeout set to expire in 3 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Tool Install) [Pipeline] tool [Pipeline] envVarsForTool [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { Cloning repository https://github.com/kiegroup/kogito-pipelines.git > git init /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.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.39.2' using GIT_ASKPASS to set credentials PSSWD: kie-ci3 account to access GitHub via token > 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 79a42951307bba8f31190e47c6f6bbf4c94b2f5e # timeout=10 [Pipeline] stage [Pipeline] { (Initialize) [Pipeline] tool [Pipeline] envVarsForTool [Pipeline] withEnv [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-05T17:30:35.850Z] + printenv [Pipeline] archiveArtifacts [2023-04-05T17:30:35.878Z] 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 [2023-04-05T17:30:36.363Z] Running in /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-apps [Pipeline] { [Pipeline] echo [2023-04-05T17:30:36.396Z] [INFO] space left on the machine [Pipeline] sh [2023-04-05T17:30:36.682Z] + df -h [2023-04-05T17:30:36.682Z] Filesystem Size Used Avail Use% Mounted on [2023-04-05T17:30:36.682Z] devtmpfs 7.8G 0 7.8G 0% /dev [2023-04-05T17:30:36.682Z] tmpfs 7.8G 0 7.8G 0% /dev/shm [2023-04-05T17:30:36.682Z] tmpfs 7.8G 17M 7.8G 1% /run [2023-04-05T17:30:36.682Z] tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup [2023-04-05T17:30:36.682Z] /dev/vda1 80G 20G 61G 25% / [2023-04-05T17:30:36.682Z] tmpfs 1.6G 0 1.6G 0% /run/user/1000 [Pipeline] echo [2023-04-05T17:30:36.706Z] [INFO] space of /home/jenkins [Pipeline] sh [2023-04-05T17:30:36.987Z] + du -h -d1 /home/jenkins [2023-04-05T17:30:36.987Z] 4.0K /home/jenkins/.ssh [2023-04-05T17:30:36.987Z] 0 /home/jenkins/go [2023-04-05T17:30:36.987Z] 8.0K /home/jenkins/.vnc [2023-04-05T17:30:36.987Z] 8.0K /home/jenkins/.m2 [2023-04-05T17:30:36.987Z] 2.2G /home/jenkins/git-repos [2023-04-05T17:30:36.987Z] 8.0K /home/jenkins/.config [2023-04-05T17:30:36.987Z] 131M /home/jenkins/virtenvs [2023-04-05T17:30:36.987Z] 4.0K /home/jenkins/.cekit [2023-04-05T17:30:36.987Z] 33M /home/jenkins/remoting [2023-04-05T17:30:36.987Z] 0 /home/jenkins/.cache [2023-04-05T17:30:36.987Z] 4.1M /home/jenkins/workspace [2023-04-05T17:30:36.987Z] 0 /home/jenkins/.pki [2023-04-05T17:30:36.987Z] 149M /home/jenkins/tools [2023-04-05T17:30:36.987Z] 0 /home/jenkins/caches [2023-04-05T17:30:36.987Z] 18M /home/jenkins/.npm [2023-04-05T17:30:36.987Z] 2.5G /home/jenkins [Pipeline] echo [2023-04-05T17:30:37.009Z] [INFO] space of workspace [Pipeline] sh [2023-04-05T17:30:37.289Z] + du -h -d3 /home/jenkins/workspace [2023-04-05T17:30:37.290Z] 4.1M /home/jenkins/workspace/KIE/kogito/main [2023-04-05T17:30:37.290Z] 4.1M /home/jenkins/workspace/KIE/kogito [2023-04-05T17:30:37.290Z] 4.1M /home/jenkins/workspace/KIE [2023-04-05T17:30:37.290Z] 4.1M /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-04-05T17:30:37.652Z] [INFO] Getting build-chain version from composite action file [Pipeline] readFile [Pipeline] echo [2023-04-05T17:30:37.724Z] [INFO] build-chain version recovered '^v3' [Pipeline] sh [2023-04-05T17:30:38.011Z] + npm install -g '@kie/build-chain-action@^v3' -registry=https://repository.engineering.redhat.com/nexus/repository/registry.npmjs.org/ [2023-04-05T17:30:39.895Z] [2023-04-05T17:30:39.895Z] changed 96 packages, and audited 97 packages in 2s [2023-04-05T17:30:39.895Z] [2023-04-05T17:30:39.895Z] 5 packages are looking for funding [2023-04-05T17:30:39.895Z] run `npm fund` for details [2023-04-05T17:30:39.895Z] [2023-04-05T17:30:39.895Z] found 0 vulnerabilities [Pipeline] sh [2023-04-05T17:30:40.187Z] + npm list -g [2023-04-05T17:30:40.188Z] + grep build-chain [2023-04-05T17:30:40.748Z] ├── @kie/[email protected] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build quarkus) Stage "Build quarkus" skipped due to when conditional [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-04-05T17:30:41.884Z] BUILD_MVN_OPTS_CURRENT = [Pipeline] configFileProvider [2023-04-05T17:30:41.945Z] provisioning config files... [2023-04-05T17:30:41.967Z] copy managed file [kogito_pr_settings] to file:/home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-apps@tmp/config9422487110450780248tmp [Pipeline] { [Pipeline] withCredentials [2023-04-05T17:30:42.013Z] Masking supported pattern matches of $GITHUB_TOKEN [Pipeline] { [Pipeline] echo [2023-04-05T17:30:42.064Z] BUILD_MVN_OPTS = -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-apps@tmp/config9422487110450780248tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true [Pipeline] sh [2023-04-05T17:30:42.089Z] Warning: A secret was passed to "sh" using Groovy String interpolation, which is insecure. [2023-04-05T17:30:42.090Z] Affected argument(s) used the following variable(s): [GITHUB_TOKEN] [2023-04-05T17:30:42.090Z] See https://jenkins.io/redirect/groovy-string-interpolation for details. [2023-04-05T17:30:42.361Z] + build-chain build cross_pr --token **** -f https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml -o bc -p kiegroup/kogito-apps -u https://github.com/kiegroup/kogito-runtimes/pull/2474 --skipParallelCheckout [2023-04-05T17:30:43.287Z] # Executing pre section [2023-04-05T17:30:43.287Z] [command]/usr/bin/echo BUILD_MVN_OPTS= -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-apps@tmp/config9422487110450780248tmp -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-04-05T17:30:43.287Z] BUILD_MVN_OPTS= -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-apps@tmp/config9422487110450780248tmp -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-04-05T17:30:43.287Z] [command]/usr/bin/echo BUILD_MVN_OPTS_CURRENT= dependency:tree [2023-04-05T17:30:43.287Z] BUILD_MVN_OPTS_CURRENT= dependency:tree [2023-04-05T17:30:43.287Z] [command]/usr/bin/echo QUARKUS_VERSION= [2023-04-05T17:30:43.287Z] QUARKUS_VERSION= [2023-04-05T17:30:43.287Z] [command]/usr/bin/echo ENABLE_DEPLOY= [2023-04-05T17:30:43.287Z] ENABLE_DEPLOY= [2023-04-05T17:30:43.287Z] [2023-04-05T17:30:43.287Z] # Execution Plan [2023-04-05T17:30:43.287Z] [INFO] 3 projects will be executed [2023-04-05T17:30:43.287Z] [INFO] [kiegroup/drools] [2023-04-05T17:30:43.287Z] [INFO] Level type: upstream [2023-04-05T17:30:43.287Z] [INFO] [before] [2023-04-05T17:30:43.287Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_UPSTREAM }} [2023-04-05T17:30:43.287Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh "${{ env.BUILD_ENVIRONMENT }}"; fi" [2023-04-05T17:30:43.287Z] [INFO] [commands] [2023-04-05T17:30:43.287Z] [INFO] mvn clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.DROOLS_BUILD_MVN_OPTS_UPSTREAM }} [2023-04-05T17:30:43.287Z] [INFO] [after] [2023-04-05T17:30:43.287Z] [INFO] docker system prune -f [2023-04-05T17:30:43.287Z] [INFO] [kiegroup/kogito-runtimes] [2023-04-05T17:30:43.287Z] [INFO] Level type: upstream [2023-04-05T17:30:43.287Z] [INFO] [before] [2023-04-05T17:30:43.287Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_UPSTREAM }} [2023-04-05T17:30:43.287Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh "${{ env.BUILD_ENVIRONMENT }}"; fi" [2023-04-05T17:30:43.287Z] [INFO] [commands] [2023-04-05T17:30:43.287Z] [INFO] mvn clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.KOGITO_RUNTIMES_BUILD_MVN_OPTS_UPSTREAM }} [2023-04-05T17:30:43.287Z] [INFO] [after] [2023-04-05T17:30:43.287Z] [INFO] docker system prune -f [2023-04-05T17:30:43.287Z] [INFO] [kiegroup/kogito-apps] [2023-04-05T17:30:43.287Z] [INFO] Level type: current [2023-04-05T17:30:43.287Z] [INFO] [before] [2023-04-05T17:30:43.287Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_CURRENT }} [2023-04-05T17:30:43.287Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh "${{ env.BUILD_ENVIRONMENT }}"; fi" [2023-04-05T17:30:43.287Z] [INFO] [commands] [2023-04-05T17:30:43.287Z] [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-04-05T17:30:43.287Z] mvn clean ${{ env.MVN_CMD }} ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_CURRENT }} ${{ env.KOGITO_APPS_BUILD_MVN_OPTS }} [2023-04-05T17:30:43.287Z] [INFO] [after] [2023-04-05T17:30:43.287Z] [INFO] docker system prune -f [2023-04-05T17:30:43.287Z] [2023-04-05T17:30:43.287Z] # Checking out kiegroup/kogito-apps and its dependencies (3 projects in total). It can take some time. [2023-04-05T17:31:05.161Z] [INFO] kiegroup/drools checked out [2023-04-05T17:31:23.197Z] [ERROR] [kiegroup/kogito-runtimes] Error merging shubhbapna/kogito-runtimes:KOGITO-7900 [2023-04-05T17:31:23.197Z] into kiegroup/kogito-runtimes:main [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [2023-04-05T17:31:23.291Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // script Post stage [Pipeline] junit [2023-04-05T17:31:23.486Z] Recording test results [2023-04-05T17:31:23.860Z] [Checks API] No suitable checks publisher found. [Pipeline] archiveArtifacts [2023-04-05T17:31:23.880Z] Archiving artifacts [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-05T17:31:23.324Z] No test report files were found. Configuration error? [2023-04-05T17:31:24.569Z] + rm -rf console.log [Pipeline] sh |
(tests) - kogito-springboot-examples job Please look here: https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-runtimes.tests.downstream.kogito-springboot-examples/675/display/redirect Console Logs> git --version # 'git version 2.31.1'using GIT_ASKPASS to set credentials PSSWD: kie-ci3 account to access GitHub via token > git fetch --tags --force --progress -- https://github.com/kiegroup/kogito-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse origin/main^{commit} # timeout=10 Checking out Revision 79a42951307bba8f31190e47c6f6bbf4c94b2f5e (origin/main) > git config core.sparsecheckout # timeout=10 > git checkout -f 79a42951307bba8f31190e47c6f6bbf4c94b2f5e # timeout=10 Commit message: "Update quarkus version: remove kogito-images (#929)" > git rev-list --no-walk 79a42951307bba8f31190e47c6f6bbf4c94b2f5e # timeout=10 Loading library jenkins-pipeline-shared-libraries@main Attempting to resolve main from remote references... > git --version # timeout=10 > git --version # 'git version 2.31.1' using GIT_SSH to set credentials SSH: kie-ci service account with access to jboss-integration private github space [INFO] Currently running in a labeled security context > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6855777973475959870.key Verifying host key using manually-configured host key entries > git ls-remote -h -- https://github.com/kiegroup/jenkins-pipeline-shared-libraries # timeout=10 Found match: refs/heads/main revision 8607024ebc38bae724b2e5de608e4bbaf1f2b5c4 Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential kie-ci-user-key > git rev-parse --resolve-git-dir /var/jenkins_home/jobs/KIE/jobs/kogito/jobs/main/jobs/pullrequest/jobs/kogito-runtimes.tests.downstream.kogito-springboot-examples/workspace@libs/d03f8b53ef89e88ec2b15428a250a4b1fb7910bfcdd3e1c33e4e95c3adb758bb/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/kiegroup/jenkins-pipeline-shared-libraries # timeout=10 Fetching without tags Fetching upstream changes from https://github.com/kiegroup/jenkins-pipeline-shared-libraries > git --version # timeout=10 > git --version # 'git version 2.31.1' using GIT_SSH to set credentials SSH: kie-ci service account with access to jboss-integration private github space [INFO] Currently running in a labeled security context > /usr/bin/chcon --type=ssh_home_t /var/jenkins_home/jobs/KIE/jobs/kogito/jobs/main/jobs/pullrequest/jobs/kogito-runtimes.tests.downstream.kogito-springboot-examples/workspace@libs/d03f8b53ef89e88ec2b15428a250a4b1fb7910bfcdd3e1c33e4e95c3adb758bb@tmp/jenkins-gitclient-ssh4363998918290254989.key Verifying host key using manually-configured host key entries > git fetch --no-tags --force --progress -- https://github.com/kiegroup/jenkins-pipeline-shared-libraries +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 8607024ebc38bae724b2e5de608e4bbaf1f2b5c4 (main) > git config core.sparsecheckout # timeout=10 > git checkout -f 8607024ebc38bae724b2e5de608e4bbaf1f2b5c4 # timeout=10 Commit message: "mvnGetVersionProperty provide custom pom file (#269)" > git rev-list --no-walk 8607024ebc38bae724b2e5de608e4bbaf1f2b5c4 # timeout=10 [Pipeline] Start of Pipeline [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘kie-rhel7&&kie-mem16g&&!built-in’ Running on rhos-01-kie-psi-rhel7-xlarge-1306 in /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-springboot-examples [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: NONE using credential kie-ci3 Cloning the remote Git repository Avoid second fetch Checking out Revision 79a42951307bba8f31190e47c6f6bbf4c94b2f5e (origin/main) Commit message: "Update quarkus version: remove kogito-images (#929)" [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-05T17:31:22.004Z] Timeout set to expire in 3 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Tool Install) [Pipeline] tool [Pipeline] envVarsForTool [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Initialize) Cloning repository https://github.com/kiegroup/kogito-pipelines.git > git init /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-springboot-examples # timeout=10 Fetching upstream changes from https://github.com/kiegroup/kogito-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.39.2' using GIT_ASKPASS to set credentials PSSWD: kie-ci3 account to access GitHub via token > 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 79a42951307bba8f31190e47c6f6bbf4c94b2f5e # timeout=10 [Pipeline] tool [Pipeline] envVarsForTool [Pipeline] withEnv [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-05T17:31:22.723Z] + printenv [Pipeline] archiveArtifacts [2023-04-05T17:31:22.757Z] 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 [2023-04-05T17:31:23.364Z] Running in /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-springboot-examples [Pipeline] { [Pipeline] echo [2023-04-05T17:31:23.446Z] [INFO] space left on the machine [Pipeline] sh [2023-04-05T17:31:23.754Z] + df -h [2023-04-05T17:31:23.754Z] Filesystem Size Used Avail Use% Mounted on [2023-04-05T17:31:23.754Z] devtmpfs 7.8G 0 7.8G 0% /dev [2023-04-05T17:31:23.754Z] tmpfs 7.8G 0 7.8G 0% /dev/shm [2023-04-05T17:31:23.754Z] tmpfs 7.8G 17M 7.8G 1% /run [2023-04-05T17:31:23.754Z] tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup [2023-04-05T17:31:23.754Z] /dev/vda1 80G 20G 61G 25% / [2023-04-05T17:31:23.754Z] tmpfs 1.6G 0 1.6G 0% /run/user/1000 [Pipeline] echo [2023-04-05T17:31:23.779Z] [INFO] space of /home/jenkins [Pipeline] sh [2023-04-05T17:31:24.065Z] + du -h -d1 /home/jenkins [2023-04-05T17:31:24.066Z] 4.0K /home/jenkins/.ssh [2023-04-05T17:31:24.066Z] 0 /home/jenkins/go [2023-04-05T17:31:24.066Z] 8.0K /home/jenkins/.vnc [2023-04-05T17:31:24.066Z] 8.0K /home/jenkins/.m2 [2023-04-05T17:31:24.066Z] 2.2G /home/jenkins/git-repos [2023-04-05T17:31:24.066Z] 8.0K /home/jenkins/.config [2023-04-05T17:31:24.066Z] 131M /home/jenkins/virtenvs [2023-04-05T17:31:24.066Z] 4.0K /home/jenkins/.cekit [2023-04-05T17:31:24.066Z] 33M /home/jenkins/remoting [2023-04-05T17:31:24.066Z] 0 /home/jenkins/.cache [2023-04-05T17:31:24.066Z] 4.1M /home/jenkins/workspace [2023-04-05T17:31:24.066Z] 0 /home/jenkins/.pki [2023-04-05T17:31:24.066Z] 149M /home/jenkins/tools [2023-04-05T17:31:24.066Z] 0 /home/jenkins/caches [2023-04-05T17:31:24.066Z] 18M /home/jenkins/.npm [2023-04-05T17:31:24.066Z] 2.5G /home/jenkins [Pipeline] echo [2023-04-05T17:31:24.090Z] [INFO] space of workspace [Pipeline] sh [2023-04-05T17:31:24.374Z] + du -h -d3 /home/jenkins/workspace [2023-04-05T17:31:24.374Z] 4.1M /home/jenkins/workspace/KIE/kogito/main [2023-04-05T17:31:24.374Z] 4.1M /home/jenkins/workspace/KIE/kogito [2023-04-05T17:31:24.374Z] 4.1M /home/jenkins/workspace/KIE [2023-04-05T17:31:24.374Z] 4.1M /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-04-05T17:31:24.730Z] [INFO] Getting build-chain version from composite action file [Pipeline] readFile [Pipeline] echo [2023-04-05T17:31:24.800Z] [INFO] build-chain version recovered '^v3' [Pipeline] sh [2023-04-05T17:31:25.087Z] + npm install -g '@kie/build-chain-action@^v3' -registry=https://repository.engineering.redhat.com/nexus/repository/registry.npmjs.org/ [2023-04-05T17:31:26.972Z] [2023-04-05T17:31:26.972Z] changed 96 packages, and audited 97 packages in 2s [2023-04-05T17:31:26.972Z] [2023-04-05T17:31:26.972Z] 5 packages are looking for funding [2023-04-05T17:31:26.972Z] run `npm fund` for details [2023-04-05T17:31:26.972Z] [2023-04-05T17:31:26.972Z] found 0 vulnerabilities [Pipeline] sh [2023-04-05T17:31:27.266Z] + npm list -g [2023-04-05T17:31:27.267Z] + grep build-chain [2023-04-05T17:31:27.826Z] ├── @kie/[email protected] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build quarkus) Stage "Build quarkus" skipped due to when conditional [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-04-05T17:31:28.443Z] BUILD_MVN_OPTS_CURRENT = [Pipeline] configFileProvider [2023-04-05T17:31:28.466Z] provisioning config files... [2023-04-05T17:31:28.470Z] copy managed file [kogito_pr_settings] to file:/home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-springboot-examples@tmp/config7560907826143277723tmp [Pipeline] { [Pipeline] withCredentials [2023-04-05T17:31:28.515Z] Masking supported pattern matches of $GITHUB_TOKEN [Pipeline] { [Pipeline] echo [2023-04-05T17:31:28.562Z] BUILD_MVN_OPTS = -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-springboot-examples@tmp/config7560907826143277723tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true [Pipeline] sh [2023-04-05T17:31:28.586Z] Warning: A secret was passed to "sh" using Groovy String interpolation, which is insecure. [2023-04-05T17:31:28.586Z] Affected argument(s) used the following variable(s): [GITHUB_TOKEN] [2023-04-05T17:31:28.586Z] See https://jenkins.io/redirect/groovy-string-interpolation for details. [2023-04-05T17:31:28.951Z] + build-chain build cross_pr --token **** -f https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml -o bc -p kiegroup/kogito-examples -u https://github.com/kiegroup/kogito-runtimes/pull/2474 --skipParallelCheckout [2023-04-05T17:31:30.052Z] # Executing pre section [2023-04-05T17:31:30.052Z] [command]/usr/bin/echo BUILD_MVN_OPTS= -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-springboot-examples@tmp/config7560907826143277723tmp -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-04-05T17:31:30.052Z] BUILD_MVN_OPTS= -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-springboot-examples@tmp/config7560907826143277723tmp -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-04-05T17:31:30.052Z] [command]/usr/bin/echo BUILD_MVN_OPTS_CURRENT= dependency:tree [2023-04-05T17:31:30.052Z] BUILD_MVN_OPTS_CURRENT= dependency:tree [2023-04-05T17:31:30.052Z] [command]/usr/bin/echo QUARKUS_VERSION= [2023-04-05T17:31:30.052Z] QUARKUS_VERSION= [2023-04-05T17:31:30.052Z] [command]/usr/bin/echo ENABLE_DEPLOY= [2023-04-05T17:31:30.052Z] ENABLE_DEPLOY= [2023-04-05T17:31:30.052Z] [2023-04-05T17:31:30.052Z] # Execution Plan [2023-04-05T17:31:30.052Z] [INFO] 4 projects will be executed [2023-04-05T17:31:30.052Z] [INFO] [kiegroup/drools] [2023-04-05T17:31:30.052Z] [INFO] Level type: upstream [2023-04-05T17:31:30.052Z] [INFO] [before] [2023-04-05T17:31:30.052Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_UPSTREAM }} [2023-04-05T17:31:30.052Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh "${{ env.BUILD_ENVIRONMENT }}"; fi" [2023-04-05T17:31:30.052Z] [INFO] [commands] [2023-04-05T17:31:30.052Z] [INFO] mvn clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.DROOLS_BUILD_MVN_OPTS_UPSTREAM }} [2023-04-05T17:31:30.052Z] [INFO] [after] [2023-04-05T17:31:30.052Z] [INFO] docker system prune -f [2023-04-05T17:31:30.052Z] [INFO] [kiegroup/kogito-runtimes] [2023-04-05T17:31:30.052Z] [INFO] Level type: upstream [2023-04-05T17:31:30.052Z] [INFO] [before] [2023-04-05T17:31:30.052Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_UPSTREAM }} [2023-04-05T17:31:30.052Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh "${{ env.BUILD_ENVIRONMENT }}"; fi" [2023-04-05T17:31:30.052Z] [INFO] [commands] [2023-04-05T17:31:30.052Z] [INFO] mvn clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.KOGITO_RUNTIMES_BUILD_MVN_OPTS_UPSTREAM }} [2023-04-05T17:31:30.052Z] [INFO] [after] [2023-04-05T17:31:30.052Z] [INFO] docker system prune -f [2023-04-05T17:31:30.052Z] [INFO] [kiegroup/kogito-apps] [2023-04-05T17:31:30.052Z] [INFO] Level type: upstream [2023-04-05T17:31:30.052Z] [INFO] [before] [2023-04-05T17:31:30.052Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_UPSTREAM }} [2023-04-05T17:31:30.052Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh "${{ env.BUILD_ENVIRONMENT }}"; fi" [2023-04-05T17:31:30.052Z] [INFO] [commands] [2023-04-05T17:31:30.052Z] [INFO] mvn clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.KOGITO_APPS_BUILD_MVN_OPTS_UPSTREAM }} [2023-04-05T17:31:30.052Z] [INFO] [after] [2023-04-05T17:31:30.052Z] [INFO] docker system prune -f [2023-04-05T17:31:30.052Z] [INFO] [kiegroup/kogito-examples] [2023-04-05T17:31:30.052Z] [INFO] Level type: current [2023-04-05T17:31:30.052Z] [INFO] [before] [2023-04-05T17:31:30.052Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_CURRENT }} [2023-04-05T17:31:30.052Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh "${{ env.BUILD_ENVIRONMENT }}"; fi" [2023-04-05T17:31:30.052Z] [INFO] [commands] [2023-04-05T17:31:30.052Z] [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-04-05T17:31:30.052Z] mvn -pl :kogito-examples clean ${{ env.MVN_CMD }} ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_CURRENT }} ${{ env.KOGITO_EXAMPLES_BUILD_MVN_OPTS }} [2023-04-05T17:31:30.052Z] 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-04-05T17:31:30.052Z] [INFO] [after] [2023-04-05T17:31:30.052Z] [INFO] docker system prune -f [2023-04-05T17:31:30.052Z] [2023-04-05T17:31:30.052Z] # Checking out kiegroup/kogito-examples and its dependencies (4 projects in total). It can take some time. [2023-04-05T17:31:48.231Z] [INFO] kiegroup/drools checked out [2023-04-05T17:32:03.130Z] [ERROR] [kiegroup/kogito-runtimes] Error merging shubhbapna/kogito-runtimes:KOGITO-7900 [2023-04-05T17:32:03.130Z] into kiegroup/kogito-runtimes:main [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [2023-04-05T17:32:03.223Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // script Post stage [Pipeline] junit [2023-04-05T17:32:03.373Z] Recording test results [2023-04-05T17:32:03.717Z] [Checks API] No suitable checks publisher found. [Pipeline] archiveArtifacts [2023-04-05T17:32:03.798Z] Archiving artifacts [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-05T17:32:03.508Z] No test report files were found. Configuration error? [2023-04-05T17:32:04.413Z] + rm -rf console.log [Pipeline] sh |
@mareknovotny I guess we could since #2517 was merged? Although, it seems like we are still using sonarclound in jenkins? |
JIRA: https://issues.redhat.com/browse/KOGITO-7900
Currently, Jenkins CI is needed on PRs since Sonar couldn't be integrated with GH Actions on PR from forked repositories. This often requires restarting the job to get a green execution.
This PR integrate sonar analysis with github actions even on pull requests from fork. This is done by producing jacoco xml reports in the pull request workflow and uploading those reports as artifacts instead of trying to upload it to Sonar. Upon successful, completion another workflow is triggered using the
workflow_run
event. This workflow will then download the artifacts and upload them to sonar.(Ideally most if not all of the changes in
kogito-runtimes-pr.yml
can be shifted to build-chain configuration for this project)How to replicate CI configuration locally?
Build Chain tool does "simple" maven build(s), the builds are just Maven commands, but because the repositories relates and depends on each other and any change in API or class method could affect several of those repositories there is a need to use build-chain tool to handle cross repository builds and be sure that we always use latest version of the code for each repository.
build-chain tool is a build tool which can be used on command line locally or in Github Actions workflow(s), in case you need to change multiple repositories and send multiple dependent pull requests related with a change you can easily reproduce the same build by executing it on Github hosted environment or locally in your development environment. See local execution details to get more information about it.
How to retest this PR or trigger a specific build:
for pull request checks
Please add comment: Jenkins retest this
for a specific pull request check
Please add comment: Jenkins (re)run [kogito-runtimes|kogito-apps|kogito-examples] tests
for quarkus branch checks
Run checks against Quarkus current used branch
Please add comment: Jenkins run quarkus-branch
for a quarkus branch specific check
Run checks against Quarkus current used branch
Please add comment: Jenkins (re)run [kogito-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 [kogito-runtimes|kogito-apps|kogito-examples] quarkus-branch
for native checks
Run native checks
Please add comment: Jenkins run native
for a specific native check
Run native checks
Please add comment: Jenkins (re)run [kogito-runtimes|kogito-apps|kogito-examples] native
for mandrel checks
Run native checks against Mandrel image
Please add comment: Jenkins run mandrel
for a specific mandrel check
Run native checks against Mandrel image
Please add comment: Jenkins (re)run [kogito-runtimes|kogito-apps|kogito-examples] mandrel
Full Kogito testing (with cloud images and operator BDD testing)
Please add comment: Jenkins run BDD
This check should be used only if a big change is done as it takes time to run, need resources and one full BDD tests check can be done at a time ...