droolsjbpm-build-bootstrap icon indicating copy to clipboard operation
droolsjbpm-build-bootstrap copied to clipboard

[7.67.x] [BXMSPROD-1798] Added new lienzo version property

Open lampajr opened this issue 2 years ago • 2 comments

Thank you for submitting this pull request

JIRA:

  • https://issues.redhat.com/browse/BXMSPROD-1798

referenced Pull Requests:

  • https://github.com/kiegroup/droolsjbpm-build-bootstrap/pull/2051
  • https://github.com/kiegroup/appformer/pull/1301
  • https://github.com/kiegroup/droolsjbpm-build-bootstrap/pull/2064
  • https://github.com/kiegroup/appformer/pull/1302
  • https://github.com/kiegroup/droolsjbpm-build-bootstrap/pull/2065
  • https://github.com/kiegroup/appformer/pull/1303

Backport for newer Lienzo version property.

You can check Kiegroup organization repositories CI status from Chain Status webpage

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 locally on command line 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.

A general local execution could be the following one, where the tool clones all dependent projects starting from the -sp one and it locally applies the pull request (if it exists) in order to reproduce a complete build scenario for the provided Pull Request.

Note: the tool considers multiple Pull Requests related to each other if their branches (generally in the forked repositories) have the same name.

$ build-chain-action -df 'https://raw.githubusercontent.com/${GROUP:kiegroup}/droolsjbpm-build-bootstrap/${BRANCH:main}/.ci/pull-request-config.yaml' build pr -url <pull-request-url> -sp kiegroup/kie-wb-distributions [--skipExecution]

Consider changing kiegroup/kie-wb-distributions with the correct starting project.

How to retest this PR or trigger a specific build:
  • a pull request please add comment: Jenkins retest (using this e.g. Jenkins retest this optional but no longer required)

  • for a full downstream build

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

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

  • an upstream build please add comment: Jenkins run upstream

lampajr avatar Aug 31 '22 12:08 lampajr

jenkins do fdb

mareknovotny avatar Oct 12 '22 08:10 mareknovotny

FDB Unstable due to this test:

[2022-10-12T10:53:57.922Z] [ERROR] Tests run: 8, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 13.213 s <<< FAILURE! - in org.kie.server.client.LoadBalancerClientTest
[2022-10-12T10:53:57.922Z] [ERROR] testDefaultLoadBalancerNoServersAvailable(org.kie.server.client.LoadBalancerClientTest)  Time elapsed: 5.383 s  <<< ERROR!
[2022-10-12T10:53:57.923Z] org.kie.server.common.rest.NoEndpointFoundException: No available endpoints found
[2022-10-12T10:53:57.923Z] 	at org.kie.server.client.balancer.impl.AbstractBalancerStrategy.checkEmpty(AbstractBalancerStrategy.java:27)
[2022-10-12T10:53:57.923Z] 	at org.kie.server.client.balancer.impl.RoundRobinBalancerStrategy.next(RoundRobinBalancerStrategy.java:37)

Which seems not related to the fix.

lampajr avatar Oct 14 '22 13:10 lampajr