-
Notifications
You must be signed in to change notification settings - Fork 80
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
kie-issues#632: Fix pipelines for Apache Incubator migration #1709
Conversation
@baldimir we are using this repo: https://github.com/kiegroup/jenkins-pipeline-shared-libraries/tree/main/src/org/kie/jenkins in the Looks like we need to set the following ENVs:
Do you know which envs are these? |
@ricardozanini shared library is in place for KIE folder in Jenkins. And the env is coming from .ci/jenkins/config/branch.yaml , this case from kogito-pipelines repo, yaml props translated to env by concatenated with underscore, all caps. Tomorrow I'll try to bring up testing pipeline with the changes here. |
807f2d0
to
2741ef9
Compare
PR job Please look here: https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/3/display/redirect Console LogsThe recommended git tool is: NONEusing credential kie-ci Warning: JENKINS-30600: special launcher org.jenkinsci.plugins.docker.workflow.WithContainerStep$Decorator$1@46deb308; decorates RemoteLauncher[hudson.remoting.Channel@27faefc1:builds60] will be ignored (a typical symptom is the Git executable not being run inside a designated container) Cloning the remote Git repository Cloning repository https://github.com/apache/incubator-kie-kogito-images.git > git init /tmp/tmp.BmrqtwsC75 # timeout=10 Fetching upstream changes from https://github.com/apache/incubator-kie-kogito-images.git > git --version # timeout=10 > git --version # 'git version 2.34.1' using GIT_ASKPASS to set credentials > git fetch --tags --force --progress -- https://github.com/apache/incubator-kie-kogito-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git config remote.origin.url https://github.com/apache/incubator-kie-kogito-images.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision c912b28 (origin/radtriste-fix-pipelines) Commit message: "pass PR source repository name" First time build. Skipping changelog. > git rev-parse origin/radtriste-fix-pipelines^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c912b28 # timeout=10 [Pipeline] } [Pipeline] // dir [Pipeline] withCredentials [Pipeline] // withCredentials [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Validate CeKit Image and Modules descriptors) Stage "Validate CeKit Image and Modules descriptors" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build & Test Images) Stage "Build & Test Images" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] script [Pipeline] { [Pipeline] sh + wget --no-check-certificate -qO - 'https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/3/api/json?depth=0' [Pipeline] readJSON [Pipeline] sh + wget --no-check-certificate -qO - https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/3/consoleText + tail -n 50 |
PR job Please look here: https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/4/display/redirect Console LogsDISPLAY_NAME=PR #1709: https://github.com//pull/1709MAVEN_OPTS= NODE_LABELS=builds27 ubuntu STAGE_NAME=Initialization SOURCE_AUTHOR=apache WORKSPACE_TMP=/home/jenkins/jenkins-agent/workspace/KIE/test/fixing-kogito-images/radtriste-fix-pipelines/pullrequest/kogito-images.build-and-test@tmp BUILD_TIMESTAMP=2023-11-09 07:46:22 UTC PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CI=true RUN_ARTIFACTS_DISPLAY_URL=https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/4/display/redirect?page=artifacts GRADLE_ENTERPRISE_ACCESS_KEY=ge.apache.org=etlwjhwel56ybdijfxymbj5bb6fwydcy3sj2oe6rlwjzotgalrea MAVEN_ARTIFACTS_REPOSITORY= JOB_ENVIRONMENT= JENKINSGRADLEPLUGIN_MAVEN_PLUGIN_CONFIG_EXT_CLASSPATH= JENKINSGRADLEPLUGIN_GRADLE_ENTERPRISE_ENFORCE_URL=true DEPLOY_IMAGE=false AUTHOR_TOKEN_CREDS_ID=ci-builds BUILD_ID=4 GOPATH=/home/nonrootuser/go TESTS_KOGITO_EXAMPLES_URI= [Pipeline] dir Running in /home/jenkins/jenkins-agent/workspace/KIE/test/fixing-kogito-images/radtriste-fix-pipelines/pullrequest/kogito-images.build-and-test/incubator-kie-kogito-images [Pipeline] { [Pipeline] deleteDir [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Validate CeKit Image and Modules descriptors) Stage "Validate CeKit Image and Modules descriptors" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build & Test Images) Stage "Build & Test Images" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] script [Pipeline] { [Pipeline] sh + wget --no-check-certificate -qO - 'https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/4/api/json?depth=0' [Pipeline] readJSON [Pipeline] sh + wget --no-check-certificate -qO - https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/4/consoleText + tail -n 50 |
PR job Please look here: https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/5/display/redirect Console LogsAfter 20s process did not stop[Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-data-index-oracle After 20s process did not stop [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-data-index-mongodb After 20s process did not stop [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-data-index-infinispan After 20s process did not stop [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-data-index-ephemeral After 20s process did not stop [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-base-builder [Pipeline] // parallel [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] script [Pipeline] { [Pipeline] sh + wget --no-check-certificate -qO - 'https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/5/api/json?depth=0' [Pipeline] readJSON [Pipeline] sh |
PR job Please look here: https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/6/display/redirect Console LogsAfter 20s process did not stop[Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-data-index-oracle After 20s process did not stop [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-data-index-mongodb After 20s process did not stop [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-data-index-infinispan After 20s process did not stop [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-data-index-ephemeral After 20s process did not stop [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-base-builder [Pipeline] // parallel [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] script [Pipeline] { [Pipeline] sh + wget --no-check-certificate -qO - 'https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/6/api/json?depth=0' [Pipeline] readJSON [Pipeline] sh |
PR job Please look here: https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/7/display/redirect Console LogsAfter 20s process did not stop[Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-data-index-oracle After 20s process did not stop [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-data-index-mongodb After 20s process did not stop [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-data-index-infinispan After 20s process did not stop [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-data-index-ephemeral After 20s process did not stop [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-base-builder [Pipeline] // parallel [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] script [Pipeline] { [Pipeline] sh + wget --no-check-certificate -qO - 'https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/7/api/json?depth=0' [Pipeline] readJSON [Pipeline] sh |
PR job Please look here: https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/8/display/redirect Console LogsFailed in branch kogito-data-index-oracle[Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-trusty-redis [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-s2i-builder [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-runtime-native [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-management-console [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-trusty-infinispan [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-jit-runner [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-base-builder [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-jobs-service-mongodb [Pipeline] // parallel [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] script [Pipeline] { [Pipeline] sh + wget --no-check-certificate -qO - 'https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/8/api/json?depth=0' [Pipeline] readJSON [Pipeline] sh + wget --no-check-certificate -qO - https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/8/consoleText + tail -n 50 |
PR job Please look here: https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/9/display/redirect Console LogsFailed in branch kogito-jit-runner[Pipeline] error [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-data-index-mongodb [Pipeline] error [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-jobs-service-postgresql [Pipeline] error [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-jobs-service-ephemeral [Pipeline] error [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-trusty-redis Aborted by Jan Šťastný Click here to forcibly terminate running steps [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-explainability [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-trusty-ui [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-management-console [Pipeline] // parallel [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] script [Pipeline] { [Pipeline] sh + wget --no-check-certificate -qO - 'https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/9/api/json?depth=0' [Pipeline] readJSON [Pipeline] sh |
PR job Please look here: https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/10/display/redirect Console Logs[Pipeline] error[Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-runtime-jvm [Pipeline] error [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-data-index-postgresql [Pipeline] error [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-jobs-service-infinispan [Pipeline] error [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-trusty-redis [Pipeline] error [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-trusty-infinispan [Pipeline] error [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-explainability [Pipeline] error [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-task-console [Pipeline] // parallel [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] script [Pipeline] { [Pipeline] sh + wget --no-check-certificate -qO - 'https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/10/api/json?depth=0' [Pipeline] readJSON [Pipeline] sh |
PR job Please look here: https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/11/display/redirect Console LogsFailed in branch kogito-trusty-infinispan[Pipeline] error [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-jobs-service-postgresql [Pipeline] error [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-runtime-native Calling Pipeline was cancelled [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-swf-builder [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-swf-devmode [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-base-builder Click here to forcibly terminate running steps [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-runtime-jvm Calling Pipeline was cancelled [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-task-console [Pipeline] // parallel [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] script [Pipeline] { [Pipeline] sh + wget --no-check-certificate -qO - 'https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/11/api/json?depth=0' [Pipeline] readJSON [Pipeline] sh Click here to forcibly terminate running steps |
PR job Please look here: https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/12/display/redirect Console Logs[Set GitHub commit status (universal)] PENDING on repos [GHRepository@50d54006[nodeId=MDEwOlJlcG9zaXRvcnkxNzc2NTY2MTE=,description=Images for Kogito,homepage=http://kogito.kie.org,name=incubator-kie-kogito-images,fork=false,archived=false,visibility=public,size=3787,milestones={},language=Shell,commits={},source=,parent=,isTemplate=false,compareUsePaginatedCommits=false,url=https://api.github.com/repos/apache/incubator-kie-kogito-images,id=177656611,nodeId=,createdAt=2019-03-25T20:08:34Z,updatedAt=2023-10-06T21:05:49Z]] (sha:a47e553) with context:kogito-jobs-service-mongodbSetting commit status on GitHub for https://github.com/apache/incubator-kie-kogito-images/commit/a47e5534a23dcadd63eece634d2f60a5f3397bdd [Pipeline] echo Error updating commit status: org.jenkinsci.plugins.github.common.CombineErrorHandler$ErrorHandlingException: org.kohsuke.github.GHFileNotFoundException: https://api.github.com/repos/apache/incubator-kie-kogito-images/statuses/a47e5534a23dcadd63eece634d2f60a5f3397bdd {"message":"Not Found","documentation_url":"https://docs.github.com/rest/commits/statuses#create-a-commit-status"} [Pipeline] build Scheduling project: KIE » test » fixing-kogito-images » radtriste-fix-pipelines » pullrequest » kogito-images.build-image [Pipeline] } [Pipeline] // dir [Pipeline] echo [INFO] Update commit status for check kogito-trusty-infinispan: state = PENDING and message = Queued [Pipeline] echo [DEBUG] repository name = incubator-kie-kogito-images [Pipeline] echo [DEBUG] repo url = https://github.com/apache/incubator-kie-kogito-images [Pipeline] echo [DEBUG] commit sha = a47e553 [Pipeline] step [Set GitHub commit status (universal)] PENDING on repos [GHRepository@4c89c41c[nodeId=MDEwOlJlcG9zaXRvcnkxNzc2NTY2MTE=,description=Images for Kogito,homepage=http://kogito.kie.org,name=incubator-kie-kogito-images,fork=false,archived=false,visibility=public,size=3787,milestones={},language=Shell,commits={},source=,parent=,isTemplate=false,compareUsePaginatedCommits=false,url=https://api.github.com/repos/apache/incubator-kie-kogito-images,id=177656611,nodeId=,createdAt=2019-03-25T20:08:34Z,updatedAt=2023-10-06T21:05:49Z]] (sha:a47e553) with context:kogito-trusty-infinispan Setting commit status on GitHub for https://github.com/apache/incubator-kie-kogito-images/commit/a47e5534a23dcadd63eece634d2f60a5f3397bdd [Pipeline] echo Error updating commit status: org.jenkinsci.plugins.github.common.CombineErrorHandler$ErrorHandlingException: org.kohsuke.github.GHFileNotFoundException: https://api.github.com/repos/apache/incubator-kie-kogito-images/statuses/a47e5534a23dcadd63eece634d2f60a5f3397bdd {"message":"Not Found","documentation_url":"https://docs.github.com/rest/commits/statuses#create-a-commit-status"} [Pipeline] build Scheduling project: KIE » test » fixing-kogito-images » radtriste-fix-pipelines » pullrequest » kogito-images.build-image Starting building: KIE » test » fixing-kogito-images » radtriste-fix-pipelines » pullrequest » kogito-images.build-image #79 Starting building: KIE » test » fixing-kogito-images » radtriste-fix-pipelines » pullrequest » kogito-images.build-image #80 Calling Pipeline was cancelled [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-trusty-infinispan [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-jobs-service-mongodb [Pipeline] // parallel [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] script [Pipeline] { [Pipeline] sh Click here to forcibly terminate running steps + wget --no-check-certificate -qO - 'https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/12/api/json?depth=0' [Pipeline] readJSON [Pipeline] sh |
PR job Please look here: https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/13/display/redirect Console Logs[Pipeline] }[Pipeline] // stage [Pipeline] } [Pipeline] error [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-task-console [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] unstable WARNING: Tests on kogito-swf-builder seems to have failed [Pipeline] } [Pipeline] // stage [Pipeline] } Calling Pipeline was cancelled Click here to forcibly terminate running steps [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-trusty-infinispan [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-swf-devmode [Pipeline] // parallel [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] script [Pipeline] { [Pipeline] sh + wget --no-check-certificate -qO - 'https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/13/api/json?depth=0' [Pipeline] readJSON [Pipeline] sh |
PR job Please look here: https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/14/display/redirect Console Logs[Pipeline] }[Pipeline] // stage [Pipeline] } Calling Pipeline was cancelled [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-swf-builder Click here to forcibly terminate running steps [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-jobs-service-ephemeral [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-swf-devmode [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-jobs-service-allinone [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-explainability [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-management-console [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-task-console [Pipeline] // parallel [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] script [Pipeline] { [Pipeline] sh + wget --no-check-certificate -qO - 'https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/14/api/json?depth=0' [Pipeline] readJSON [Pipeline] sh + wget --no-check-certificate -qO - https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/14/consoleText + tail -n 50 |
PR job Please look here: https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/15/display/redirect Console Logs[Pipeline] // stage[Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] script [Pipeline] { [Pipeline] sh + wget --no-check-certificate -qO - 'https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/15/api/json?depth=0' [Pipeline] readJSON [Pipeline] sh |
PR job Please look here: https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/16/display/redirect Console Logs16:25:11 INFO Trying to validate file modules/kogito-data-index-oracle/module.yaml as org.kie.cekit.image.descriptors.module.Module16:25:11 INFO File module [modules/kogito-data-index-oracle/module.yaml] loaded and validated 16:25:11 INFO Trying to validate file modules/kogito-launch-scripts/module.yaml as org.kie.cekit.image.descriptors.module.Module 16:25:11 INFO File module [modules/kogito-launch-scripts/module.yaml] loaded and validated 16:25:11 INFO Trying to validate file modules/kogito-kubernetes-client/module.yaml as org.kie.cekit.image.descriptors.module.Module 16:25:11 INFO File module [modules/kogito-kubernetes-client/module.yaml] loaded and validated 16:25:11 INFO Trying to validate file modules/kogito-trusty-redis/module.yaml as org.kie.cekit.image.descriptors.module.Module 16:25:11 INFO File module [modules/kogito-trusty-redis/module.yaml] loaded and validated [Pipeline] sh + + make list tr \n , Traceback (most recent call last): File "/home/jenkins/workspace/KIE/test/fixing-kogito-images/radtriste-fix-pipelines/pullrequest/kogito-images.build-and-test/incubator-kie-kogito-images/scripts/retrieve_version.py", line 9, in import common File "/home/jenkins/workspace/KIE/test/fixing-kogito-images/radtriste-fix-pipelines/pullrequest/kogito-images.build-and-test/incubator-kie-kogito-images/scripts/common.py", line 8, in from ruamel.yaml import YAML ModuleNotFoundError: No module named 'ruamel' Traceback (most recent call last): File "/home/jenkins/workspace/KIE/test/fixing-kogito-images/radtriste-fix-pipelines/pullrequest/kogito-images.build-and-test/incubator-kie-kogito-images/scripts/list-images.py", line 9, in import common File "/home/jenkins/workspace/KIE/test/fixing-kogito-images/radtriste-fix-pipelines/pullrequest/kogito-images.build-and-test/incubator-kie-kogito-images/scripts/common.py", line 8, in from ruamel.yaml import YAML ModuleNotFoundError: No module named 'ruamel' make: *** [Makefile:22: list] Error 1 [Pipeline] sh + ./cekit-image-validator-runner -image.yaml __ ____ __ _____ ___ __ ____ ______ --/ __ \/ / / / _ | / _ \/ //_/ / / / __/ -/ /_/ / /_/ / __ |/ , _/ ,< / /_/ /\ \ --\___\_\____/_/ |_/_/|_/_/|_|\____/___/ 16:25:18 SEVERE File not found: -image.yaml [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build & Test Images) Stage "Build & Test Images" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] script [Pipeline] { [Pipeline] sh + wget --no-check-certificate -qO - https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/16/api/json?depth=0 [Pipeline] readJSON [Pipeline] sh |
Hah, no worries, I already had a clue, nothing more, 'make list' CMD lists the images if not provided by the job. |
PR job Please look here: https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/17/display/redirect Console Logs[Pipeline] }[Pipeline] unstable WARNING: Tests on kogito-trusty-infinispan seems to have failed [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] unstable WARNING: Tests on kogito-jobs-service-infinispan seems to have failed [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] unstable WARNING: Tests on kogito-jobs-service-postgresql seems to have failed [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] unstable WARNING: Tests on kogito-management-console seems to have failed [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] error [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-trusty-ui [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] script [Pipeline] { [Pipeline] sh + wget --no-check-certificate -qO - https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/17/api/json?depth=0 [Pipeline] readJSON [Pipeline] sh |
PR job Please look here: https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/18/display/redirect Console Logs[Pipeline] // stage[Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] unstable WARNING: Tests on kogito-swf-builder seems to have failed [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] unstable WARNING: Tests on kogito-jobs-service-ephemeral seems to have failed [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] unstable WARNING: Tests on kogito-swf-devmode seems to have failed [Pipeline] } [Pipeline] // stage [Pipeline] } Cancelling nested steps due to timeout [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-trusty-postgresql Body did not finish within grace period; terminating with extreme prejudice [Pipeline] // parallel [Pipeline] } [Pipeline] } [Pipeline] // dir [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] script [Pipeline] { [Pipeline] sh + wget --no-check-certificate -qO - https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/18/api/json?depth=0 [Pipeline] readJSON [Pipeline] sh |
PR job Please look here: https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/19/display/redirect Console Logs16:00:01 INFO Trying to validate file modules/kogito-graalvm-scripts/module.yaml as org.kie.cekit.image.descriptors.module.Module16:00:01 INFO File module [modules/kogito-graalvm-scripts/module.yaml] loaded and validated 16:00:01 INFO Trying to validate file modules/kogito-data-index-infinispan/module.yaml as org.kie.cekit.image.descriptors.module.Module 16:00:01 INFO File module [modules/kogito-data-index-infinispan/module.yaml] loaded and validated 16:00:01 INFO Trying to validate file modules/kogito-trusty-redis/module.yaml as org.kie.cekit.image.descriptors.module.Module 16:00:01 INFO File module [modules/kogito-trusty-redis/module.yaml] loaded and validated 16:00:01 INFO Trying to validate file modules/kogito-launch-scripts/module.yaml as org.kie.cekit.image.descriptors.module.Module 16:00:01 INFO File module [modules/kogito-launch-scripts/module.yaml] loaded and validated [Pipeline] sh + make list + tr \n , Traceback (most recent call last): File "/home/jenkins/jenkins-agent/workspace/KIE/test/fixing-kogito-images/radtriste-fix-pipelines/pullrequest/kogito-images.build-and-test/incubator-kie-kogito-images/scripts/retrieve_version.py", line 9, in import common File "/home/jenkins/jenkins-agent/workspace/KIE/test/fixing-kogito-images/radtriste-fix-pipelines/pullrequest/kogito-images.build-and-test/incubator-kie-kogito-images/scripts/common.py", line 8, in from ruamel.yaml import YAML ModuleNotFoundError: No module named 'ruamel' Traceback (most recent call last): File "/home/jenkins/jenkins-agent/workspace/KIE/test/fixing-kogito-images/radtriste-fix-pipelines/pullrequest/kogito-images.build-and-test/incubator-kie-kogito-images/scripts/list-images.py", line 9, in import common File "/home/jenkins/jenkins-agent/workspace/KIE/test/fixing-kogito-images/radtriste-fix-pipelines/pullrequest/kogito-images.build-and-test/incubator-kie-kogito-images/scripts/common.py", line 8, in from ruamel.yaml import YAML ModuleNotFoundError: No module named 'ruamel' make: *** [Makefile:22: list] Error 1 [Pipeline] sh + ./cekit-image-validator-runner -image.yaml __ ____ __ _____ ___ __ ____ ______ --/ __ \/ / / / _ | / _ \/ //_/ / / / __/ -/ /_/ / /_/ / __ |/ , _/ ,< / /_/ /\ \ --\___\_\____/_/ |_/_/|_/_/|_|\____/___/ 16:00:08 SEVERE File not found: -image.yaml [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build & Test Images) Stage "Build & Test Images" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] script [Pipeline] { [Pipeline] sh + wget --no-check-certificate -qO - https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/19/api/json?depth=0 [Pipeline] readJSON [Pipeline] sh |
PR job Please look here: https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/20/display/redirect Console LogsFailed in branch kogito-explainability[Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-data-index-postgresql [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-s2i-builder [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-data-index-ephemeral [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-base-builder [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-jobs-service-postgresql [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-data-index-mongodb [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-management-console Aborted by Jan Šťastný Click here to forcibly terminate running steps [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-data-index-oracle [Pipeline] // parallel [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] script [Pipeline] { [Pipeline] sh + wget --no-check-certificate -qO - https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/20/api/json?depth=0 [Pipeline] readJSON [Pipeline] sh |
PR job Please look here: https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/21/display/redirect Console LogsFailed in branch kogito-jobs-service-mongodb[Pipeline] } [Pipeline] // stage Click here to forcibly terminate running steps [Pipeline] } Failed in branch kogito-jobs-service-infinispan [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-data-index-postgresql Terminating build (Building KIE » test » fixing-kogito-images » radtriste-fix-pipelines » pullrequest » kogito-images.build-image) Terminating build (Building KIE » test » fixing-kogito-images » radtriste-fix-pipelines » pullrequest » kogito-images.build-image) Terminating build (Building KIE » test » fixing-kogito-images » radtriste-fix-pipelines » pullrequest » kogito-images.build-image) Terminating build (Building KIE » test » fixing-kogito-images » radtriste-fix-pipelines » pullrequest » kogito-images.build-image) Terminating build (Building KIE » test » fixing-kogito-images » radtriste-fix-pipelines » pullrequest » kogito-images.build-image) [Pipeline] } [Pipeline] } [Pipeline] } [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] // stage [Pipeline] // stage [Pipeline] // stage [Pipeline] } Failed in branch kogito-base-builder [Pipeline] } Failed in branch kogito-data-index-infinispan [Pipeline] } Failed in branch kogito-swf-builder [Pipeline] } Failed in branch kogito-trusty-redis [Pipeline] } Failed in branch kogito-trusty-ui [Pipeline] // parallel [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] script [Pipeline] { [Pipeline] sh + wget --no-check-certificate -qO - https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/21/api/json?depth=0 [Pipeline] readJSON [Pipeline] sh |
Signed-off-by: Ricardo Zanini <[email protected]>
…s in builder image Signed-off-by: Ricardo Zanini <[email protected]>
8826cff
to
da9e309
Compare
PR job Please look here: https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/55/display/redirect Console Logs[Pipeline] }[Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] unstable WARNING: Tests on kogito-swf-builder seems to have failed [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] error [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-jobs-service-infinispan [Pipeline] error [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-jobs-service-ephemeral [Pipeline] error [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch kogito-trusty-ui [Pipeline] // parallel [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] script [Pipeline] { [Pipeline] sh + wget --no-check-certificate -qO - https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/55/api/json?depth=0 [Pipeline] readJSON [Pipeline] sh |
PR job Please look here: https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/56/display/redirect Console Logs[Pipeline] }[Pipeline] // stage [Pipeline] } Failed in branch kogito-trusty-ui [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] unstable WARNING: Tests on kogito-swf-devmode seems to have failed [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] unstable WARNING: Tests on kogito-data-index-postgresql seems to have failed [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] script [Pipeline] { [Pipeline] sh + wget --no-check-certificate -qO - https://ci-builds.apache.org/job/KIE/job/test/job/fixing-kogito-images/job/radtriste-fix-pipelines/job/pullrequest/job/kogito-images.build-and-test/56/api/json?depth=0 [Pipeline] readJSON [Pipeline] sh |
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.
If checks are green (except of Jenkins), it's good to merge finally.
Please squash and refer apache/incubator-kie-issues#632 in the commit.
…1709) * Update kogito-images job to follow apache config Signed-off-by: Ricardo Zanini <[email protected]> * generate also build-image job * use plain ubuntu in Jenkinsfile * refactor Jenkinsfile to a dummy trigger * pass PR source repository name * use open ports * hold localRegistryUrl after startup * adjust repository URLs after transfer * adjust KOGITO_APPS_REPO_NAME * prevent repeated checkout * remove jboss repository references * fix settings.xml * invoke bash explicitly to process bash directives * set git config * set global config * replace mailing lists * collect logs from all containers * try log everything * add initial sleep into startup command in feature files * use skopeo installed in image * Tidying the PR up #1 * Fix problem with builder script copying files for swf-builder-image Signed-off-by: Ricardo Zanini <[email protected]> * fix cleanup in build-image * increase pipeline timeouts * solve deferred wipeout issues * increase timeout * skip docker cleanup * [KOGITO-9729] - (fix) Preserve directory structure while copying files in builder image Signed-off-by: Ricardo Zanini <[email protected]> * handle GitHub push credentials --------- Signed-off-by: Ricardo Zanini <[email protected]> Co-authored-by: radtriste <[email protected]> Co-authored-by: jstastny-cz <[email protected]>
Continue the work done here in #1707
PR ensemble:
Adjust library to be compatible with ASF Jenkins kiegroup/jenkins-pipeline-shared-libraries#306