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

Quarkus 3: Fix patches #1744

Merged
merged 1 commit into from
Jul 21, 2023
Merged

Quarkus 3: Fix patches #1744

merged 1 commit into from
Jul 21, 2023

Conversation

radtriste
Copy link
Contributor

Many thanks for submitting your Pull Request ❤️!

Please make sure that your PR meets the following requirements:

WARNING! Please make sure you are opening your PR against main branch!

  • You have read the contributors guide
  • Pull Request title is properly formatted: KOGITO-XYZ Subject
  • Pull Request title contains the target branch if not targeting main: [0.9.x] KOGITO-XYZ Subject
  • Pull Request contains link to the JIRA issue
  • Pull Request contains link to any dependent or related Pull Request
  • Pull Request contains description of the issue
  • Pull Request does not include fixes for issues other than the main ticket
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-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-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-examples] quarkus-main

  • for quarkus lts checks
    Run checks against Quarkus lts branch
    Please add comment: Jenkins run quarkus-lts

  • for a specific quarkus lts check
    Run checks against Quarkus lts branch
    Please add comment: Jenkins (re)run [kogito-examples] quarkus-lts

  • 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-examples] native

  • for native lts checks
    Run native checks against quarkus lts branch
    Please add comment: Jenkins run native-lts

  • for a specific native lts check
    Run native checks against quarkus lts branch
    Please add comment: Jenkins (re)run [kogito-examples] native-lts

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 the 7.67.x branch).

NOTE: backporting is an action aiming to move a change (usually a commit) from a branch (usually the main one) to another one, which is generally referring to a still maintained release branch. Keeping it simple: it is about to move a specific change or a set of them from one branch to another.

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.

NOTE: this automated backporting is triggered whenever a pull request on main branch is labeled or closed, but both conditions must be satisfied to get the new PR created.

@radtriste radtriste requested a review from pefernan July 21, 2023 18:16
@radtriste
Copy link
Contributor Author

jenkins run quarkus-3

@kie-ci3
Copy link
Contributor

kie-ci3 commented Jul 21, 2023

(quarkus-3) - serverless-workflow-examples job #1 was: UNSTABLE
Possible explanation: This should be test failures

Reproducer

export BUILD_MVN_OPTS_CURRENT=
build-chain build cross_pr -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-examples/pull/1744 --skipParallelCheckout

NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution

Please look here: https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest.quarkus-3/job/kogito-examples.quarkus-3.serverless-workflow-examples/1/display/redirect

Test results:

  • PASSED: 78
  • FAILED: 4

Those are the test failures:

org.acme.serverless.loanbroker.aggregator.QuotesAggregatorRouteTest.verifyOneMessageAggregated 1 expectation failed.
Expected status code <200> but was <500>.
org.acme.serverless.loanbroker.aggregator.QuotesAggregatorRouteTest.verifyManyQuotesManyInstancesMessageAggregated 1 expectation failed.
Expected status code <200> but was <500>.
org.acme.serverless.loanbroker.aggregator.QuotesAggregatorRouteTest.verifyManyQuotesSingleInstanceMessageAggregated 1 expectation failed.
Expected status code <200> but was <500>.
org.acme.loanbroker.AppResourceTest.testCloudEventNotifyNewQuote 1 expectation failed.
Expected status code <200> but was <400>.

@kie-ci3
Copy link
Contributor

kie-ci3 commented Jul 21, 2023

(quarkus-3) - kogito-springboot-examples job #1 was: UNSTABLE
Possible explanation: This should be test failures

Reproducer

export BUILD_MVN_OPTS_CURRENT=
build-chain build cross_pr -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-examples/pull/1744 --skipParallelCheckout

NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution

Please look here: https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest.quarkus-3/job/kogito-examples.quarkus-3.kogito-springboot-examples/1/display/redirect

Test results:

  • PASSED: 102
  • FAILED: 25

Those are the test failures:

org.kie.kogito.examples.springboot.GrafanaDockerComposeIT.(?) Container startup failed
org.kie.kogito.dmn.pmml.springboot.example.DMNRegressionTest.testEvaluateRegressionDMN 1 expectation failed.
Expected status code <200> but was <500>.
org.kie.kogito.dmn.pmml.springboot.example.DMNScoreCardTest.testEvaluateScoreCardDMN 1 expectation failed.
Expected status code <200> but was <500>.
org.kie.kogito.dmn.pmml.springboot.example.DMNTreeTest.testEvaluateTreeDMN 1 expectation failed.
Expected status code <200> but was <500>.
org.kie.kogito.flexible.example.springboot.ServiceDeskProcessTest.testSupportCaseExample 1 expectation failed.
JSON path $.size doesn't match.
Expected: is <1>
Actual: <[]>
org.kie.kogito.examples.onboarding.OnboardingEndpointIT.testOnboardingProcessNewUserUS Failed to load ApplicationContext for [WebMergedContextConfiguration@4738131e testClass = org.kie.kogito.examples.onboarding.OnboardingEndpointIT, locations = [], classes = [org.kie.kogito.examples.KogitoOnboardingApplication], contextInitializerClasses = [org.kie.kogito.testcontainers.springboot.InfinispanSpringBootTestResource.Conditional], activeProfiles = [], propertySourceLocations = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@3116c353, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@2e32ccc5, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@329dbdbf, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@9da1, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@29a5f4e7, org.springframework.boot.test.context.SpringBootTestAnnotation@f8e244b5], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
org.kie.kogito.examples.onboarding.OnboardingEndpointIT.testOnboardingProcessUserAlreadyExists Failed to load ApplicationContext for [WebMergedContextConfiguration@4738131e testClass = org.kie.kogito.examples.onboarding.OnboardingEndpointIT, locations = [], classes = [org.kie.kogito.examples.KogitoOnboardingApplication], contextInitializerClasses = [org.kie.kogito.testcontainers.springboot.InfinispanSpringBootTestResource.Conditional], activeProfiles = [], propertySourceLocations = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@3116c353, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@2e32ccc5, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@329dbdbf, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@9da1, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@29a5f4e7, org.springframework.boot.test.context.SpringBootTestAnnotation@f8e244b5], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
Build projects / org.acme.deals.DealsRestIT.testDealsRest Failed to load ApplicationContext for [WebMergedContextConfiguration@50a095cb testClass = org.acme.deals.DealsRestIT, locations = [], classes = [org.acme.deals.KogitoApplication], contextInitializerClasses = [org.kie.kogito.testcontainers.springboot.InfinispanSpringBootTestResource], activeProfiles = [], propertySourceLocations = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@42b3b079, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@6692b6c6, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@62833051, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@9da1, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@1e81f160, org.springframework.boot.test.context.SpringBootTestAnnotation@f6441eff], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
org.acme.deals.DealsRestIT.testProtobufListIsAvailable Failed to load ApplicationContext for [WebMergedContextConfiguration@50a095cb testClass = org.acme.deals.DealsRestIT, locations = [], classes = [org.acme.deals.KogitoApplication], contextInitializerClasses = [org.kie.kogito.testcontainers.springboot.InfinispanSpringBootTestResource], activeProfiles = [], propertySourceLocations = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@42b3b079, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@6692b6c6, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@62833051, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@9da1, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@1e81f160, org.springframework.boot.test.context.SpringBootTestAnnotation@f6441eff], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
Build projects / org.acme.deals.DealsRestIT.testDealsRest 1 expectation failed.
JSON path $.size doesn't match.
Expected: is <1>
Actual: <[]>
org.kie.kogito.springboot.outbox.OutboxIT.(?) org.testcontainers.containers.ContainerLaunchException: Timed out waiting for container port to open (localhost ports: [8080, 32787] should be listening)
org.kie.kogito.examples.demo.OrdersProcessIT.testOrderProcess
Expecting empty but was: [org.kie.kogito.examples.OrdersProcessInstance@f21d1c2c]
org.kie.kogito.examples.demo.OrdersProcessIT.testOrderProcessWithError
Expecting empty but was: [org.kie.kogito.examples.OrdersProcessInstance@f21d1c2c]
org.kie.kogito.examples.demo.OrdersRestIT.testOrdersWithOrderItemsAbortedRest 1 expectation failed.
JSON path $.size doesn't match.
Expected: is <1>
Actual: <[]>
org.kie.kogito.examples.demo.OrdersRestIT.testOrdersWithOrderItemsRest 1 expectation failed.
JSON path $.size doesn't match.
Expected: is <1>
Actual: <[]>
org.kie.kogito.examples.demo.PersonsRestIT.testChildPersonsRestWithSecurityPolicyAndLifeCycles 1 expectation failed.
JSON path $.size doesn't match.
Expected: is <1>
Actual: <[]>
org.kie.kogito.examples.demo.PersonsRestIT.testChildPersonsRestRetriggerNodeViaMgmtInterface 1 expectation failed.
JSON path $.size doesn't match.
Expected: is <1>
Actual: <[]>
org.kie.kogito.examples.demo.PersonsRestIT.testPersonsRestStartFromUserTask 1 expectation failed.
JSON path $.size doesn't match.
Expected: is <1>
Actual: <[]>
org.kie.kogito.examples.demo.PersonsRestIT.testChildPersonsRest 1 expectation failed.
JSON path $.size doesn't match.
Expected: is <1>
Actual: <[]>
org.kie.kogito.examples.demo.PersonsRestIT.testChildPersonsRestCancelAndTriggerNodeViaMgmtInterface 1 expectation failed.
JSON path $.size doesn't match.
Expected: is <1>
Actual: <[]>
org.kie.kogito.examples.demo.PersonsRestIT.testChildPersonsRestWithSecurityPolicyNotAuthorized 1 expectation failed.
JSON path $.size doesn't match.
Expected: is <0>
Actual: <[]>
org.kie.kogito.examples.demo.PersonsRestIT.testChildPersonsRestAbortViaMgmtInterface 1 expectation failed.
JSON path $.size doesn't match.
Expected: is <1>
Actual: <[]>
org.kie.kogito.examples.demo.PersonsRestIT.testChildPersonsRestWithSecurityPolicy 1 expectation failed.
JSON path $.size doesn't match.
Expected: is <1>
Actual: <[]>
org.acme.travels.ApprovalsTestIT.testApprovalProcess Failed to load ApplicationContext for [WebMergedContextConfiguration@4edd8a0a testClass = org.acme.travels.ApprovalsTestIT, locations = [], classes = [org.kie.kogito.tests.KogitoInfinispanSpringbootApplication], contextInitializerClasses = [org.kie.kogito.testcontainers.springboot.InfinispanSpringBootTestResource.Conditional], activeProfiles = [], propertySourceLocations = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@53251a66, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@282cb7c7, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@479ceda0, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@9da1, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@37e4d7bb, org.springframework.boot.test.context.SpringBootTestAnnotation@83ca359f], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
org.acme.travels.ApprovalsTestIT.testApprovalProcessViaPhases Failed to load ApplicationContext for [WebMergedContextConfiguration@4edd8a0a testClass = org.acme.travels.ApprovalsTestIT, locations = [], classes = [org.kie.kogito.tests.KogitoInfinispanSpringbootApplication], contextInitializerClasses = [org.kie.kogito.testcontainers.springboot.InfinispanSpringBootTestResource.Conditional], activeProfiles = [], propertySourceLocations = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@53251a66, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@282cb7c7, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@479ceda0, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@9da1, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@37e4d7bb, org.springframework.boot.test.context.SpringBootTestAnnotation@83ca359f], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]

@kie-ci3
Copy link
Contributor

kie-ci3 commented Jul 21, 2023

(quarkus-3) - kogito-quarkus-examples job #1 was: UNSTABLE
Possible explanation: This should be test failures

Reproducer

export BUILD_MVN_OPTS_CURRENT=
build-chain build cross_pr -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-examples/pull/1744 --skipParallelCheckout

NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution

Please look here: https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest.quarkus-3/job/kogito-examples.quarkus-3.kogito-quarkus-examples/1/display/redirect

Test results:

  • PASSED: 150
  • FAILED: 17

Those are the test failures:

org.kie.kogito.flexible.example.quarkus.ServiceDeskProcessTest.testSupportCaseExample 1 expectation failed.
JSON path $.size doesn't match.
Expected: is <1>
Actual: <[]>
Build projects / org.acme.deals.DealsRestIT.testDealsRest 1 expectation failed.
JSON path $.size doesn't match.
Expected: is <1>
Actual: <[]>
Build projects / org.acme.deals.DealsRestIT.testDealsRest 1 expectation failed.
JSON path $.size doesn't match.
Expected: is <1>
Actual: <[]>
Build projects / org.acme.deals.DealsRestIT.testDealsRest 1 expectation failed.
JSON path $.size doesn't match.
Expected: is <1>
Actual: <[]>
org.kie.kogito.examples.OrdersRestIT.testOrdersWithOrderItemsAbortedRest 1 expectation failed.
JSON path $.size doesn't match.
Expected: is <1>
Actual: <[]>
org.kie.kogito.examples.OrdersRestIT.testOrdersWithOrderItemsRest 1 expectation failed.
JSON path $.size doesn't match.
Expected: is <1>
Actual: <[]>
org.kie.kogito.examples.PersonsRestIT.testChildPersonsRestWithSecurityPolicyAndLifeCycles 1 expectation failed.
JSON path $.size doesn't match.
Expected: is <1>
Actual: <[]>
org.kie.kogito.examples.PersonsRestIT.testChildPersonsRestRetriggerNodeViaMgmtInterface 1 expectation failed.
JSON path $.size doesn't match.
Expected: is <1>
Actual: <[]>
org.kie.kogito.examples.PersonsRestIT.testPersonsRestStartFromUserTask 1 expectation failed.
JSON path $.size doesn't match.
Expected: is <1>
Actual: <[]>
org.kie.kogito.examples.PersonsRestIT.testChildPersonsRest 1 expectation failed.
JSON path $.size doesn't match.
Expected: is <1>
Actual: <[]>
org.kie.kogito.examples.PersonsRestIT.testChildPersonsRestCancelAndTriggerNodeViaMgmtInterface 1 expectation failed.
JSON path $.size doesn't match.
Expected: is <1>
Actual: <[]>
org.kie.kogito.examples.PersonsRestIT.testChildPersonsRestWithSecurityPolicyNotAuthorized 1 expectation failed.
JSON path $.size doesn't match.
Expected: is <0>
Actual: <[]>
org.kie.kogito.examples.PersonsRestIT.testChildPersonsRestAbortViaMgmtInterface 1 expectation failed.
JSON path $.size doesn't match.
Expected: is <1>
Actual: <[]>
org.kie.kogito.examples.PersonsRestIT.testChildPersonsRestWithSecurityPolicy 1 expectation failed.
JSON path $.size doesn't match.
Expected: is <1>
Actual: <[]>
Build projects / org.acme.travels.ApprovalsRestIT.testStartApprovalAuthorized 1 expectation failed.
JSON path $.size doesn't match.
Expected: is <1>
Actual: <[]>
Build projects / org.acme.travels.ApprovalsRestIT.testStartApprovalAuthorized 1 expectation failed.
JSON path $.size doesn't match.
Expected: is <1>
Actual: <[]>
org.acme.travels.security.quarkus.ApprovalsRestTest.testStartApprovalAuthorized 1 expectation failed.
JSON path $.size doesn't match.
Expected: is <1>
Actual: <[]>

@radtriste
Copy link
Contributor Author

Test failures will be corrected in another PR

@radtriste radtriste merged commit 1b796f5 into apache:main Jul 21, 2023
3 checks passed
@radtriste radtriste deleted the quarkus-3-fixes branch July 24, 2023 07:01
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.

2 participants