Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue#1785]-Create Data Index(DI)/ Jobs Service(JS) Database(DB) migration image #1786

Closed
wants to merge 18 commits into from

Conversation

rhkp
Copy link

@rhkp rhkp commented Jul 22, 2024

This task is to create a Data Index(DI)/ Jobs Service(JS) Database(DB) migration image, which can be used by Kubernetes/OpenShift job to perform necessary database changes for DI/JS application, before they are started with SonataFlowPlatform. A detailed description can be found here.

  • [Yes ] Your feature/bug fix has a testcase that verifies it
  • [Yes] You've tested the new feature/bug fix in an actual OpenShift cluster
  • [Yes ] You've added a RELEASE_NOTES.md entry regarding this change

@kie-ci3
Copy link
Contributor

kie-ci3 commented Jul 22, 2024

PR job #23 was: FAILURE
Possible explanation: Pipeline failure or project build failure

Please look here: https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-images.build-and-test/23/display/redirect
See console log:

Console Logs Starting building: KIE » kogito » main » pullrequest » kogito-images.build-image #68
Starting building: KIE » kogito » main » pullrequest » kogito-images.build-image #66
Starting building: KIE » kogito » main » pullrequest » kogito-images.build-image #71
Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1786 - kogito-base-builder: https://github.com//pull/1786 completed: SUCCESS
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1786 - kogito-jit-runner: https://github.com//pull/1786 completed: SUCCESS
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1786 - kogito-jobs-service-ephemeral: https://github.com//pull/1786 completed: SUCCESS
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1786 - kogito-jobs-service-postgresql: https://github.com//pull/1786 completed: SUCCESS
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1786 - kogito-postgres-db-migration: https://github.com//pull/1786 completed: SUCCESS
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1786 - kogito-data-index-ephemeral: https://github.com//pull/1786 completed: SUCCESS
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1786 - kogito-jobs-service-allinone: https://github.com//pull/1786 completed: SUCCESS
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Failed in branch kogito-data-index-postgresql
[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/kogito/job/main/job/pullrequest/job/kogito-images.build-and-test/23/api/json?depth=0'
[Pipeline] readJSON
[Pipeline] sh

@rhkp
Copy link
Author

rhkp commented Jul 26, 2024

Hi @wmedvede,
Please see the latest updates which address your comments given above.
Please let me know further changes or please approve/merge.
Thanks.

@kie-ci3
Copy link
Contributor

kie-ci3 commented Jul 26, 2024

PR job #27 was: ABORTED
Possible explanation: Most probably a timeout, please review

Please look here: https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-images.build-and-test/27/display/redirect
See console log:

Console Logs Starting building: KIE » kogito » main » pullrequest » kogito-images.build-image #93
Starting building: KIE » kogito » main » pullrequest » kogito-images.build-image #91
Starting building: KIE » kogito » main » pullrequest » kogito-images.build-image #92
Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1786 - kogito-base-builder: https://github.com//pull/1786 completed: SUCCESS
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Failed in branch kogito-data-index-postgresql
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Failed in branch kogito-jobs-service-ephemeral
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Failed in branch kogito-jit-runner
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Failed in branch kogito-jobs-service-postgresql
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Failed in branch kogito-data-index-ephemeral
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Failed in branch kogito-jobs-service-allinone
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Failed in branch kogito-postgres-db-migration
[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/kogito/job/main/job/pullrequest/job/kogito-images.build-and-test/27/api/json?depth=0'
[Pipeline] readJSON
[Pipeline] sh

@kie-ci3
Copy link
Contributor

kie-ci3 commented Jul 26, 2024

PR job #28 was: UNSTABLE
Possible explanation: This should be test failures

Please look here: https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-images.build-and-test/28/display/redirect
See console log:

Console Logs [Pipeline] }
Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1786 - kogito-base-builder: https://github.com//pull/1786 completed: SUCCESS
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1786 - kogito-data-index-ephemeral: https://github.com//pull/1786 completed: SUCCESS
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1786 - kogito-data-index-postgresql: https://github.com//pull/1786 completed: SUCCESS
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1786 - kogito-jobs-service-ephemeral: https://github.com//pull/1786 completed: UNSTABLE
[Pipeline] unstable
WARNING: Tests on kogito-jobs-service-ephemeral seems to have failed
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1786 - kogito-jobs-service-postgresql: https://github.com//pull/1786 completed: SUCCESS
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1786 - kogito-postgres-db-migration: https://github.com//pull/1786 completed: SUCCESS
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1786 - kogito-jobs-service-allinone: https://github.com//pull/1786 completed: UNSTABLE
[Pipeline] unstable
WARNING: Tests on kogito-jobs-service-allinone 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/kogito/job/main/job/pullrequest/job/kogito-images.build-and-test/28/api/json?depth=0'
[Pipeline] readJSON
[Pipeline] sh
+ wget --no-check-certificate -qO - https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-images.build-and-test/28/consoleText
+ tail -n 50

@kie-ci3
Copy link
Contributor

kie-ci3 commented Jul 29, 2024

PR job #29 was: FAILURE
Possible explanation: Pipeline failure or project build failure

Please look here: https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-images.build-and-test/29/display/redirect
See console log:

Console Logs From https://github.com/rhkp/incubator-kie-kogito-images
* branch FLPATH-1492 -> FETCH_HEAD
hint: You have divergent branches and need to specify how to reconcile them.
hint: You can do so by running one of the following commands sometime before
hint: your next pull:
hint:
hint: git config pull.rebase false # merge (the default strategy)
hint: git config pull.rebase true # rebase
hint: git config pull.ff only # fast-forward only
hint:
hint: You can replace "git config" with "git config --global" to set a default
hint: preference for all repositories. You can also pass --rebase, --no-rebase,
hint: or --ff-only on the command line to override the configured default per
hint: invocation.
fatal: Need to specify how to reconcile divergent branches.
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] echo

-------------------------------------------------------------
[ERROR] Can't merge source into Target. Please rebase PR branch.
-------------------------------------------------------------
Source: git://github.com/rhkp/incubator-kie-kogito-images FLPATH-1492
Target: 0a97197 NO-ISSUE: fix env.DISABLE_IMAGES_DEPLOY evaluation
-------------------------------------------------------------

[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/kogito/job/main/job/pullrequest/job/kogito-images.build-and-test/29/api/json?depth=0'
[Pipeline] readJSON
[Pipeline] sh

@kie-ci3
Copy link
Contributor

kie-ci3 commented Jul 29, 2024

PR job #30 was: FAILURE
Possible explanation: Pipeline failure or project build failure

Please look here: https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-images.build-and-test/30/display/redirect
See console log:

Console Logs From https://github.com/rhkp/incubator-kie-kogito-images
* branch FLPATH-1492 -> FETCH_HEAD
hint: You have divergent branches and need to specify how to reconcile them.
hint: You can do so by running one of the following commands sometime before
hint: your next pull:
hint:
hint: git config pull.rebase false # merge (the default strategy)
hint: git config pull.rebase true # rebase
hint: git config pull.ff only # fast-forward only
hint:
hint: You can replace "git config" with "git config --global" to set a default
hint: preference for all repositories. You can also pass --rebase, --no-rebase,
hint: or --ff-only on the command line to override the configured default per
hint: invocation.
fatal: Need to specify how to reconcile divergent branches.
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] echo

-------------------------------------------------------------
[ERROR] Can't merge source into Target. Please rebase PR branch.
-------------------------------------------------------------
Source: git://github.com/rhkp/incubator-kie-kogito-images FLPATH-1492
Target: 0a97197 NO-ISSUE: fix env.DISABLE_IMAGES_DEPLOY evaluation
-------------------------------------------------------------

[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/kogito/job/main/job/pullrequest/job/kogito-images.build-and-test/30/api/json?depth=0'
[Pipeline] readJSON
[Pipeline] sh

@kie-ci3
Copy link
Contributor

kie-ci3 commented Jul 29, 2024

PR job #31 was: FAILURE
Possible explanation: Pipeline failure or project build failure

Please look here: https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-images.build-and-test/31/display/redirect
See console log:

Console Logs Starting building: KIE » kogito » main » pullrequest » kogito-images.build-image #106
Starting building: KIE » kogito » main » pullrequest » kogito-images.build-image #108
Starting building: KIE » kogito » main » pullrequest » kogito-images.build-image #107
Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1786 - kogito-base-builder: https://github.com//pull/1786 completed: SUCCESS
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Failed in branch kogito-jit-runner
Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1786 - kogito-jobs-service-postgresql: https://github.com//pull/1786 completed: SUCCESS
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1786 - kogito-data-index-postgresql: https://github.com//pull/1786 completed: SUCCESS
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1786 - kogito-data-index-ephemeral: https://github.com//pull/1786 completed: SUCCESS
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1786 - kogito-jobs-service-allinone: https://github.com//pull/1786 completed: SUCCESS
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1786 - kogito-jobs-service-ephemeral: https://github.com//pull/1786 completed: SUCCESS
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1786 - kogito-postgres-db-migration: https://github.com//pull/1786 completed: SUCCESS
[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/kogito/job/main/job/pullrequest/job/kogito-images.build-and-test/31/api/json?depth=0'
[Pipeline] readJSON
[Pipeline] sh

@rhkp
Copy link
Author

rhkp commented Jul 29, 2024

Closing this PR for now and raise a new one.

@rhkp rhkp closed this Jul 29, 2024
@rhkp
Copy link
Author

rhkp commented Jul 29, 2024

Please see the new PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants