-
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
[KOGITO-9729] SonataFlow builder image is not preserving resources path #1677
Conversation
0a86375
to
ef61f26
Compare
PR 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-images/1043/display/redirect Console Logs[Pipeline] }[Pipeline] // stage [Pipeline] } Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1677 - kogito-trusty-ui: https://github.com/kiegroup/kogito-images/pull/1677 completed: SUCCESS [Pipeline] } [Pipeline] // stage [Pipeline] } Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1677 - kogito-swf-devmode: https://github.com/kiegroup/kogito-images/pull/1677 completed: SUCCESS [Pipeline] } [Pipeline] // stage [Pipeline] } Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1677 - kogito-s2i-builder: https://github.com/kiegroup/kogito-images/pull/1677 completed: UNSTABLE [Pipeline] unstable WARNING: Tests on kogito-s2i-builder seems to have failed [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] script [Pipeline] { [Pipeline] echo [INFO] Clean workspace [Pipeline] cleanWs [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... [WS-CLEANUP] done [Pipeline] echo [INFO] Workspace cleaned [Pipeline] echo [INFO] Cleanup Maven artifacts [Pipeline] sh + rm -rf /home/jenkins/.m2/repository [Pipeline] echo [INFO] .m2/repository cleaned [Pipeline] } [Pipeline] // script [Pipeline] script [Pipeline] { [Pipeline] sh + wget --no-check-certificate -qO - https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-images/1043/api/json [Pipeline] readJSON [Pipeline] sh |
Can we verify this change with a unit test? |
PR 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-images/1047/display/redirect Console Logs------------------------------------------------------------- [ERROR] Can't merge source into Target. Please rebase PR branch. ------------------------------------------------------------- Source: git://github.com/davidesalerno/kogito-images KOGITO-9729 Target: 9c76571 [main] Bump Quarkus version to 2.16.10.Final (#1679) ------------------------------------------------------------- [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [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] echo [INFO] Clean workspace [Pipeline] cleanWs [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... [WS-CLEANUP] done [Pipeline] echo [INFO] Workspace cleaned [Pipeline] echo [INFO] Cleanup Maven artifacts [Pipeline] sh + rm -rf /home/jenkins/.m2/repository [Pipeline] echo [INFO] .m2/repository cleaned [Pipeline] } [Pipeline] // script [Pipeline] script [Pipeline] { [Pipeline] sh + wget --no-check-certificate -qO - https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-images/1047/api/json [Pipeline] readJSON [Pipeline] sh |
@davidesalerno can you also change this https://github.com/kiegroup/kogito-serverless-operator/blob/main/test/testdata/sonataflow.org_v1alpha08_sonataflow_greetings_datainput.yaml#L30 to |
PR 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-images/1048/display/redirect Console Logs------------------------------------------------------------- [ERROR] Can't merge source into Target. Please rebase PR branch. ------------------------------------------------------------- Source: git://github.com/davidesalerno/kogito-images KOGITO-9729 Target: 9c76571 [main] Bump Quarkus version to 2.16.10.Final (#1679) ------------------------------------------------------------- [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [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] echo [INFO] Clean workspace [Pipeline] cleanWs [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... [WS-CLEANUP] done [Pipeline] echo [INFO] Workspace cleaned [Pipeline] echo [INFO] Cleanup Maven artifacts [Pipeline] sh + rm -rf /home/jenkins/.m2/repository [Pipeline] echo [INFO] .m2/repository cleaned [Pipeline] } [Pipeline] // script [Pipeline] script [Pipeline] { [Pipeline] sh + wget --no-check-certificate -qO - https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-images/1048/api/json [Pipeline] readJSON [Pipeline] sh |
PR 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-images/1049/display/redirect Console Logs------------------------------------------------------------- [ERROR] Can't merge source into Target. Please rebase PR branch. ------------------------------------------------------------- Source: git://github.com/davidesalerno/kogito-images KOGITO-9729 Target: bb14cd2 [KOGITO-9749] - Add Events Process, Process Management, and Sources addon to builder image (#1678) ------------------------------------------------------------- [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [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] echo [INFO] Clean workspace [Pipeline] cleanWs [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... [WS-CLEANUP] done [Pipeline] echo [INFO] Workspace cleaned [Pipeline] echo [INFO] Cleanup Maven artifacts [Pipeline] sh + rm -rf /home/jenkins/.m2/repository [Pipeline] echo [INFO] .m2/repository cleaned [Pipeline] } [Pipeline] // script [Pipeline] script [Pipeline] { [Pipeline] sh + wget --no-check-certificate -qO - https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-images/1049/api/json [Pipeline] readJSON [Pipeline] sh |
dd95e45
to
154a7c5
Compare
PR 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-images/1050/display/redirect Console Logs------------------------------------------------------------- [ERROR] Can't merge source into Target. Please rebase PR branch. ------------------------------------------------------------- Source: git://github.com/davidesalerno/kogito-images KOGITO-9729 Target: bb14cd2 [KOGITO-9749] - Add Events Process, Process Management, and Sources addon to builder image (#1678) ------------------------------------------------------------- [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [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] echo [INFO] Clean workspace [Pipeline] cleanWs [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... [WS-CLEANUP] done [Pipeline] echo [INFO] Workspace cleaned [Pipeline] echo [INFO] Cleanup Maven artifacts [Pipeline] sh + rm -rf /home/jenkins/.m2/repository [Pipeline] echo [INFO] .m2/repository cleaned [Pipeline] } [Pipeline] // script [Pipeline] script [Pipeline] { [Pipeline] sh + wget --no-check-certificate -qO - https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-images/1050/api/json [Pipeline] readJSON [Pipeline] sh |
154a7c5
to
53db5c2
Compare
PR 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-images/1051/display/redirect Console Logs[Pipeline] }[Pipeline] // stage [Pipeline] } Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1677 - kogito-swf-builder: https://github.com/kiegroup/kogito-images/pull/1677 completed: UNSTABLE [Pipeline] unstable WARNING: Tests on kogito-swf-builder seems to have failed [Pipeline] } [Pipeline] // stage [Pipeline] } Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1677 - kogito-swf-devmode: https://github.com/kiegroup/kogito-images/pull/1677 completed: SUCCESS [Pipeline] } [Pipeline] // stage [Pipeline] } Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1677 - kogito-s2i-builder: https://github.com/kiegroup/kogito-images/pull/1677 completed: SUCCESS [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] script [Pipeline] { [Pipeline] echo [INFO] Clean workspace [Pipeline] cleanWs [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... [WS-CLEANUP] done [Pipeline] echo [INFO] Workspace cleaned [Pipeline] echo [INFO] Cleanup Maven artifacts [Pipeline] sh + rm -rf /home/jenkins/.m2/repository [Pipeline] echo [INFO] .m2/repository cleaned [Pipeline] } [Pipeline] // script [Pipeline] script [Pipeline] { [Pipeline] sh + wget --no-check-certificate -qO - https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-images/1051/api/json [Pipeline] readJSON [Pipeline] sh |
jenkins retest this |
PR 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-images/1053/display/redirect Console Logs[Pipeline] unstableWARNING: Tests on kogito-swf-builder seems to have failed [Pipeline] } [Pipeline] // stage [Pipeline] } Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1677 - kogito-task-console: https://github.com/kiegroup/kogito-images/pull/1677 completed: SUCCESS [Pipeline] } [Pipeline] // stage [Pipeline] } Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1677 - kogito-swf-devmode: https://github.com/kiegroup/kogito-images/pull/1677 completed: SUCCESS [Pipeline] } [Pipeline] // stage [Pipeline] } Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1677 - kogito-s2i-builder: https://github.com/kiegroup/kogito-images/pull/1677 completed: SUCCESS [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] script [Pipeline] { [Pipeline] echo [INFO] Clean workspace [Pipeline] cleanWs [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... [WS-CLEANUP] done [Pipeline] echo [INFO] Workspace cleaned [Pipeline] echo [INFO] Cleanup Maven artifacts [Pipeline] sh + rm -rf /home/jenkins/.m2/repository [Pipeline] echo [INFO] .m2/repository cleaned [Pipeline] } [Pipeline] // script [Pipeline] script [Pipeline] { [Pipeline] sh + wget --no-check-certificate -qO - https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-images/1053/api/json [Pipeline] readJSON [Pipeline] sh |
jenkins retest this |
PR 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-images/1055/display/redirect Console Logs------------------------------------------------------------- [ERROR] Can't merge source into Target. Please rebase PR branch. ------------------------------------------------------------- Source: git://github.com/davidesalerno/kogito-images KOGITO-9729 Target: ba0879e [SRVLOGIC-158] - Dynamic resources script is reading wrong container sys files on cgroupsv2 (#1676) ------------------------------------------------------------- [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [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] echo [INFO] Clean workspace [Pipeline] cleanWs [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... [WS-CLEANUP] done [Pipeline] echo [INFO] Workspace cleaned [Pipeline] echo [INFO] Cleanup Maven artifacts [Pipeline] sh + rm -rf /home/jenkins/.m2/repository [Pipeline] echo [INFO] .m2/repository cleaned [Pipeline] } [Pipeline] // script [Pipeline] script [Pipeline] { [Pipeline] sh + wget --no-check-certificate -qO - https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-images/1055/api/json [Pipeline] readJSON [Pipeline] sh |
Signed-off-by: Davide Salerno <[email protected]>
Signed-off-by: Davide Salerno <[email protected]>
Co-authored-by: Tristan Radisson <[email protected]>
Signed-off-by: Davide Salerno <[email protected]>
53db5c2
to
dc9ecd2
Compare
PR 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-images/1056/display/redirect Console Logs[Pipeline] }[Pipeline] // stage [Pipeline] } Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1677 - kogito-task-console: https://github.com/kiegroup/kogito-images/pull/1677 completed: SUCCESS [Pipeline] } [Pipeline] // stage [Pipeline] } Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1677 - kogito-swf-devmode: https://github.com/kiegroup/kogito-images/pull/1677 completed: SUCCESS [Pipeline] } [Pipeline] // stage [Pipeline] } Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1677 - kogito-s2i-builder: https://github.com/kiegroup/kogito-images/pull/1677 completed: UNSTABLE [Pipeline] unstable WARNING: Tests on kogito-s2i-builder seems to have failed [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] script [Pipeline] { [Pipeline] echo [INFO] Clean workspace [Pipeline] cleanWs [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... [WS-CLEANUP] done [Pipeline] echo [INFO] Workspace cleaned [Pipeline] echo [INFO] Cleanup Maven artifacts [Pipeline] sh + rm -rf /home/jenkins/.m2/repository [Pipeline] echo [INFO] .m2/repository cleaned [Pipeline] } [Pipeline] // script [Pipeline] script [Pipeline] { [Pipeline] sh + wget --no-check-certificate -qO - https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-images/1056/api/json [Pipeline] readJSON [Pipeline] sh |
@davidesalerno does this PR still valid? |
@ricardozanini maybe we can merge it? |
…th (apache#1677) * [KOGITO-9729] SonataFlow builder image is not preserving resources path Signed-off-by: Davide Salerno <[email protected]> * [KOGITO-9729] Added shell test Signed-off-by: Davide Salerno <[email protected]> * Update modules/kogito-swf/common/scripts/added/build-app.sh Co-authored-by: Tristan Radisson <[email protected]> * [KOGITO-9729] Stopping containers into the same shell test Signed-off-by: Davide Salerno <[email protected]> --------- Signed-off-by: Davide Salerno <[email protected]> Co-authored-by: Tristan Radisson <[email protected]>
See KOGITO-9729
Many thanks for submitting your Pull Request ❤️!
Please make sure your PR meets the following requirements:
[KOGITO|RHPAM-XYZ] Subject
How to retest this PR or trigger a specific build:
(Re)run Jenkins tests
Please add comment: Jenkins [test|retest] this
Prod tests
Please add comment: Jenkins (re)run [prod|Prod|PROD]
How to backport a pull request to a different branch?
In order to automatically create a backporting pull request please add one or more labels having the following format
backport-<branch-name>
, where<branch-name>
is the name of the branch where the pull request must be backported to (e.g.,backport-7.67.x
to backport the original PR to the7.67.x
branch).Once the original pull request is successfully merged, the automated action will create one backporting pull request per each label (with the previous format) that has been added.
If something goes wrong, the author will be notified and at this point a manual backporting is needed.