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

KOGITO-9825:Data index flyway postgresql migration scripts doesn't al… #1884

Merged
merged 1 commit into from
Oct 30, 2023

Conversation

nmirasch
Copy link
Contributor

@nmirasch nmirasch commented Sep 21, 2023

…low multiple executions

jira: https://issues.redhat.com/browse/KOGITO-9825

Update flyway postgresql migration scripts to just ensure the database changes are applied, avoid them failing when they are executed many times.
This fixes the issue to start an standalone Data index service over the same db as the one the runtime uses with the dataindex persistence addon, allowing to coexists two flyway migrations over the same datasource, just keeping the baseline in different tables.

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-apps|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-apps|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-apps|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-apps|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-apps|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-apps|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.

Quarkus-3 PR check is failing ... what to do ? The Quarkus 3 check is applying patches from the `.ci/environments/quarkus-3/patches`.

The first patch, called 0001_before_sh.patch, is generated from Openrewrite .ci/environments/quarkus-3/quarkus3.yml recipe. The patch is created to speed up the check. But it may be that some changes in the PR broke this patch.
No panic, there is an easy way to regenerate it. You just need to comment on the PR:

jenkins rewrite quarkus-3

and it should, after some minutes (~20/30min) apply a commit on the PR with the patch regenerated.

Other patches were generated manually. If any of it fails, you will need to manually update it... and push your changes.

@nmirasch
Copy link
Contributor Author

@wmedvede Could you take a look?

@nmirasch
Copy link
Contributor Author

@fjtirado Could you take a look?

@kie-ci3
Copy link
Contributor

kie-ci3 commented Oct 2, 2023

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

Reproducer

build-chain build full_downstream -f 'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/pull-request-config.yaml' -o 'bc' -p apache/incubator-kie-kogito-apps -u #1884 --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://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1884/6/display/redirect

Test results:

  • PASSED: 2715
  • FAILED: 52

Those are the test failures:

org.kie.kogito.index.inmemory.KogitoDevServiceTest.testDataIndexDevService io.quarkus.builder.BuildException: Build failure: Build failed due to errors
[error]: Build step org.kie.kogito.quarkus.serverless.workflow.deployment.ServerlessWorkflowDevServicesProcessor#startDataIndexDevService threw an exception: java.lang.RuntimeException: Failed to start Kogito Data Index Dev Services
at org.kie.kogito.quarkus.workflow.deployment.AbstractDevServicesProcessor.startDataIndexDevService(AbstractDevServicesProcessor.java:123)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:909)
at io.quarkus.builder.BuildContext.run(BuildContext.java:281)
at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478)
at java.base/java.lang.Thread.run(Thread.java:829)
at org.jboss.threads.JBossThread.run(JBossThread.java:501)
Caused by: java.lang.RuntimeException: org.testcontainers.containers.ContainerLaunchException: Container startup failed
at org.kie.kogito.quarkus.workflow.deployment.AbstractDevServicesProcessor.lambda$startDataIndex$1(AbstractDevServicesProcessor.java:197)
at java.base/java.util.Optional.orElseGet(Optional.java:369)
at org.kie.kogito.quarkus.workflow.deployment.AbstractDevServicesProcessor.startDataIndex(AbstractDevServicesProcessor.java:202)
at org.kie.kogito.quarkus.workflow.deployment.AbstractDevServicesProcessor.startDataIndexDevService(AbstractDevServicesProcessor.java:113)
... 11 more
Caused by: org.testcontainers.containers.ContainerLaunchException: Container startup failed
at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:349)
at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:322)
at org.kie.kogito.quarkus.workflow.deployment.AbstractDevServicesProcessor.lambda$startDataIndex$1(AbstractDevServicesProcessor.java:193)
... 14 more
Caused by: org.testcontainers.containers.ContainerFetchException: Can't get Docker image: RemoteDockerImage(imageName=org.kie.kogito/data-index-service-inmemory:2.0.0-SNAPSHOT, imagePullPolicy=DefaultPullPolicy(), imageNameSubstitutor=org.testcontainers.utility.ImageNameSubstitutor$ChainedImageNameSubstitutor@5b8d141a)
at org.testcontainers.containers.GenericContainer.getDockerImageName(GenericContainer.java:1371)
at org.testcontainers.containers.GenericContainer.logger(GenericContainer.java:651)
at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:331)
... 16 more
Caused by: org.testcontainers.containers.ContainerFetchException: Failed to pull image: org.kie.kogito/data-index-service-inmemory:2.0.0-SNAPSHOT
at org.testcontainers.images.RemoteDockerImage.resolve(RemoteDockerImage.java:119)
at org.testcontainers.images.RemoteDockerImage.resolve(RemoteDockerImage.java:28)
at org.testcontainers.utility.LazyFuture.getResolvedValue(LazyFuture.java:17)
at org.testcontainers.utility.LazyFuture.get(LazyFuture.java:39)
at org.testcontainers.containers.GenericContainer.getDockerImageName(GenericContainer.java:1369)
... 18 more
Caused by: com.github.dockerjava.api.exception.InternalServerErrorException: Status 500: {"message":"Get \"https://org.kie.kogito/v2/\": dial tcp: lookup org.kie.kogito on 8.8.8.8:53: no such host"}

at org.testcontainers.shaded.com.github.dockerjava.core.DefaultInvocationBuilder.execute(DefaultInvocationBuilder.java:247)
at org.testcontainers.shaded.com.github.dockerjava.core.DefaultInvocationBuilder.lambda$executeAndStream$1(DefaultInvocationBuilder.java:269)
at java.base/java.lang.Thread.run(Thread.java:829)
org.kie.kogito.index.infinispan.ProcessDataIndexInfinispanHttpIT.testProcessInstanceEvents java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.http.DataIndexInfinispanHttpQuarkusTestResource
org.kie.kogito.index.infinispan.ProcessDataIndexInfinispanKafkaIT.testProcessInstanceEvents java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.kafka.DataIndexInfinispanQuarkusKafkaTestResource
org.kie.kogito.index.inmemory.ProcessDataIndexInMemoryIT.testProcessInstanceEvents java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.DataIndexInMemoryQuarkusTestResource
org.kie.kogito.index.mongodb.ProcessDataIndexMongoDBHttpIT.testProcessInstanceEvents java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.http.DataIndexMongoDBHttpQuarkusTestResource
org.kie.kogito.index.mongodb.ProcessDataIndexMongoDBKafkaIT.testProcessInstanceEvents java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.kafka.DataIndexMongoDBQuarkusKafkaTestResource
org.kie.kogito.index.oracle.ProcessDataIndexOracleHttpIT.testProcessInstanceEvents java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.http.DataIndexOracleHttpQuarkusTestResource
org.kie.kogito.index.oracle.ProcessDataIndexOracleKafkaIT.testProcessInstanceEvents java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.kafka.DataIndexOracleQuarkusKafkaTestResource
org.kie.kogito.index.postgresql.ProcessDataIndexPostgreSqlHttpIT.testProcessInstanceEvents java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.http.DataIndexPostgreSqlHttpQuarkusTestResource
org.kie.kogito.index.postgresql.ProcessDataIndexPostgreSqlKafkaIT.testProcessInstanceEvents java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.kafka.DataIndexPostgreSqlQuarkusKafkaTestResource
org.kie.kogito.index.ProcessDataIndexInfinispanIT.testProcessInstanceEvents Failed to load ApplicationContext
org.kie.kogito.index.ProcessDataIndexMongoDBIT.testProcessInstanceEvents Failed to load ApplicationContext
org.kie.kogito.index.ProcessDataIndexOracleIT.testProcessInstanceEvents Failed to load ApplicationContext
org.kie.kogito.index.ProcessDataIndexPostgreSqlIT.testProcessInstanceEvents Failed to load ApplicationContext
org.kie.kogito.it.jobs.JobServiceLeaderIT.(?) Container startup failed
PR check / Build projects / org.kie.kogito.it.jobs.CallbackStateTimeoutsIT.callbackStateTimeoutsExceeded java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
PR check / Build projects / org.kie.kogito.it.jobs.CallbackStateTimeoutsIT.callbackStateTimeoutsExceeded java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
PR check / Build projects / org.kie.kogito.it.jobs.CallbackStateTimeoutsIT.callbackStateTimeoutsExceeded java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
PR check / Build projects / org.kie.kogito.it.jobs.MultipleTimerInstancesIT.boundaryTimerEvent java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
PR check / Build projects / org.kie.kogito.it.jobs.MultipleTimerInstancesIT.boundaryTimerEvent java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
PR check / Build projects / org.kie.kogito.it.jobs.MultipleTimerInstancesIT.boundaryTimerEvent java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
PR check / Build projects / org.kie.kogito.it.jobs.MultipleTimerInstancesIT.boundaryTimerEvent Failed to load ApplicationContext
PR check / Build projects / org.kie.kogito.it.jobs.MultipleTimerInstancesIT.timerEvent Failed to load ApplicationContext
PR check / Build projects / org.kie.kogito.it.jobs.ProcessAsyncIT.testAsync java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
PR check / Build projects / org.kie.kogito.it.jobs.ProcessAsyncIT.testAsync java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
PR check / Build projects / org.kie.kogito.it.jobs.ProcessAsyncIT.testAsync java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
PR check / Build projects / org.kie.kogito.it.jobs.ProcessAsyncIT.testAsync Failed to load ApplicationContext
PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testDeleteTimerCycle java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testDeleteTimerCycle java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testDeleteTimerCycle java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testDeleteTimerCycle Failed to load ApplicationContext
PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testBoundaryTimersOnTask Failed to load ApplicationContext
PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testTimerCycle Failed to load ApplicationContext
PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testTimers Failed to load ApplicationContext
PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testDeleteBoundaryTimersOnTask Failed to load ApplicationContext
PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testCancelTimer Failed to load ApplicationContext
PR check / Build projects / org.kie.kogito.it.jobs.SwitchStateTimeoutsIT.switchStateEventConditionTimeoutsTransitionTimeoutsExceeded java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
PR check / Build projects / org.kie.kogito.it.jobs.SwitchStateTimeoutsIT.switchStateEventConditionTimeoutsTransitionTimeoutsExceeded java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
PR check / Build projects / org.kie.kogito.it.jobs.SwitchStateTimeoutsIT.switchStateEventConditionTimeoutsTransitionTimeoutsExceeded java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
PR check / Build projects / org.kie.kogito.it.jobs.WorkflowTimeoutsIT.workflowTimeoutExceeded java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
PR check / Build projects / org.kie.kogito.it.jobs.WorkflowTimeoutsIT.workflowTimeoutExceeded java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
PR check / Build projects / org.kie.kogito.it.jobs.WorkflowTimeoutsIT.workflowTimeoutExceeded java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
org.kie.kogito.it.trusty.QuarkusTrustyExplainabilityEnd2EndIT.doTest Container startup failed
org.kie.kogito.it.trusty.SpringBootTrustyExplainabilityEnd2EndIT.doTest Container startup failed
org.kie.kogito.index.service.KeycloakMongoIndexingServiceIT.testUnauthorizedUserAccess java.lang.reflect.InvocationTargetException
org.kie.kogito.explainability.rest.KeycloakExplainabilityServiceIT.shouldReturnUnauthorized java.lang.reflect.InvocationTargetException
org.kie.kogito.jobs.service.resource.KeycloakJobServiceTest.(?) java.lang.reflect.InvocationTargetException
org.kie.kogito.jobs.service.resource.KeycloakInmemoryPostgreSqlJobResourceTest.(?) java.lang.reflect.InvocationTargetException
org.kie.kogito.jobs.service.resource.KeycloakMongoDBJobServiceTest.(?) java.lang.reflect.InvocationTargetException
org.kie.kogito.jobs.service.resource.KeycloakPostgreSqlJobResourceTest.(?) java.lang.reflect.InvocationTargetException
org.kie.kogito.trusty.ui.KeycloakTrustyUIServiceIT.(?) java.lang.reflect.InvocationTargetException
org.kie.kogito.trusty.ui.StaticContentTest.testIndexHtml java.lang.reflect.InvocationTargetException

@elguardian
Copy link
Contributor

@nmirasch those test are failing in other pr. careful with this merge

@nmirasch
Copy link
Contributor Author

nmirasch commented Oct 4, 2023

I don't see the relationship between this tests and this specific PR code, but sure, we need to get the green to get this merged. Anyway, thanks @elguardian!

@kie-ci3
Copy link
Contributor

kie-ci3 commented Oct 4, 2023

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

Reproducer

build-chain build full_downstream -f 'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml' -o 'bc' -p apache/incubator-kie-kogito-apps -u #1884 --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://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1884/7/display/redirect

Test results:

  • PASSED: 2759
  • FAILED: 11

Those are the test failures:

PR check / Build projects / org.kie.kogito.it.jobs.WorkflowTimeoutsIT.workflowTimeoutExceeded java.lang.IllegalStateException: Unable to determine the status of the running process. See the above logs for details
org.kie.kogito.it.trusty.QuarkusTrustyExplainabilityEnd2EndIT.doTest Container startup failed
org.kie.kogito.index.service.KeycloakInmemoryPostgreSqlIndexingServiceIT.testUnauthorizedUserAccess java.lang.reflect.InvocationTargetException
org.kie.kogito.index.service.KeycloakOracleIndexingServiceIT.testUnauthorizedUserAccess java.lang.reflect.InvocationTargetException
org.kie.kogito.index.service.KeycloakPostgreSqlIndexingServiceIT.testUnauthorizedUserAccess java.lang.reflect.InvocationTargetException
org.kie.kogito.explainability.rest.KeycloakExplainabilityServiceIT.shouldReturnUnauthorized java.lang.reflect.InvocationTargetException
org.kie.kogito.security.KeycloakSecurityCommonsServiceIT.meTest java.lang.reflect.InvocationTargetException
org.kie.kogito.trusty.ui.KeycloakTrustyUIServiceIT.(?) java.lang.reflect.InvocationTargetException
org.kie.kogito.trusty.ui.StaticContentTest.testIndexHtml java.lang.reflect.InvocationTargetException
org.kie.kogito.trusty.service.common.KeycloakTrustyServiceIT.(?) java.lang.reflect.InvocationTargetException
org.kie.kogito.trusty.service.common.api.DecisionsApiV1IT.testGetExecutionById java.lang.reflect.InvocationTargetException

@kie-ci3
Copy link
Contributor

kie-ci3 commented Oct 5, 2023

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

Reproducer

build-chain build full_downstream -f 'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml' -o 'bc' -p apache/incubator-kie-kogito-apps -u #1884 --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://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1884/8/display/redirect

Test results:

  • PASSED: 2744
  • FAILED: 7

Those are the test failures:

org.kie.kogito.index.service.KeycloakInfinispanIndexingServiceIT.testUnauthorizedUserAccess java.lang.reflect.InvocationTargetException
org.kie.kogito.jobs.service.messaging.InfinispanMessagingApiTest.cancelJob java.lang.RuntimeException: Failed to start quarkus
org.kie.kogito.jobs.service.repository.infinispan.InfinispanJobRepositoryTest.testFindAll java.lang.RuntimeException: Failed to start quarkus
org.kie.kogito.jobs.service.resource.KeycloakInfinispanJobServiceTest.(?) java.lang.RuntimeException: Failed to start quarkus
org.kie.kogito.security.KeycloakSecurityCommonsServiceIT.meTest java.lang.reflect.InvocationTargetException
org.kie.kogito.trusty.ui.KeycloakTrustyUIServiceIT.(?) java.lang.reflect.InvocationTargetException
org.kie.kogito.trusty.service.common.api.DecisionsApiV1IT.testGetExecutionById java.lang.reflect.InvocationTargetException

@kie-ci3
Copy link
Contributor

kie-ci3 commented Oct 9, 2023

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

Reproducer

build-chain build full_downstream -f 'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml' -o 'bc' -p apache/incubator-kie-kogito-apps -u #1884 --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://ci-builds.apache.org/job/KIE/job/test/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1884/1/display/redirect

Test results:

  • PASSED: 2760
  • FAILED: 4

Those are the test failures:

org.kie.kogito.index.oracle.mapper.JobEntityMapperIT.testMapToModel java.lang.reflect.InvocationTargetException
org.kie.kogito.jobs.service.messaging.InfinispanMessagingApiTest.cancelJob java.lang.RuntimeException: Failed to start quarkus
org.kie.kogito.jobs.service.repository.infinispan.InfinispanJobRepositoryTest.testFindAll java.lang.RuntimeException: Failed to start quarkus
org.kie.kogito.jobs.service.resource.KeycloakInfinispanJobServiceTest.(?) java.lang.RuntimeException: Failed to start quarkus

@kie-ci3
Copy link
Contributor

kie-ci3 commented Oct 17, 2023

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

Reproducer

build-chain build full_downstream -f 'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml' -o 'bc' -p apache/incubator-kie-kogito-apps -u #1884 --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://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1884/11/display/redirect

Test results:

  • PASSED: 2776
  • FAILED: 3

Those are the test failures:

org.kie.kogito.jobs.service.messaging.InfinispanMessagingApiTest.cancelJob java.lang.RuntimeException: Failed to start quarkus
org.kie.kogito.jobs.service.repository.infinispan.InfinispanJobRepositoryTest.testFindAll java.lang.RuntimeException: Failed to start quarkus
org.kie.kogito.jobs.service.resource.KeycloakInfinispanJobServiceTest.(?) java.lang.RuntimeException: Failed to start quarkus

@elguardian
Copy link
Contributor

rerun. It should work

@kie-ci3
Copy link
Contributor

kie-ci3 commented Oct 19, 2023

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

Reproducer

build-chain build full_downstream -f 'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml' -o 'bc' -p apache/incubator-kie-kogito-apps -u #1884 --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://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1884/12/display/redirect

Test results:

  • PASSED: 1653
  • FAILED: 11

Those are the test failures:

PR check / Build projects / org.kie.kogito.it.jobs.CallbackStateTimeoutsIT.callbackStateTimeoutsExceeded Assertion condition defined as a lambda expression in org.kie.kogito.test.utils.ProcessInstancesRESTTestUtils that uses java.lang.String, java.lang.Stringjava.lang.String 1 expectation failed.
Expected status code <404> but was <200>.
within 10 seconds.
PR check / Build projects / org.kie.kogito.it.jobs.CallbackStateTimeoutsIT.callbackStateTimeoutsExceeded 1 expectation failed.
Expected status code <200> but was <404>.
PR check / Build projects / org.kie.kogito.it.jobs.MultipleTimerInstancesIT.boundaryTimerEvent Assertion condition defined as a lambda expression in org.kie.kogito.test.utils.ProcessInstancesRESTTestUtils that uses java.lang.String, java.lang.Stringjava.lang.String 1 expectation failed.
Expected status code <404> but was <200>.
within 2 minutes.
PR check / Build projects / org.kie.kogito.it.jobs.MultipleTimerInstancesIT.timerEvent Assertion condition defined as a lambda expression in org.kie.kogito.test.utils.ProcessInstancesRESTTestUtils that uses java.lang.String, java.lang.Stringjava.lang.String 1 expectation failed.
Expected status code <404> but was <200>.
within 2 minutes.
PR check / Build projects / org.kie.kogito.it.jobs.MultipleTimerInstancesIT.eventStateTimeouts Assertion condition defined as a lambda expression in org.kie.kogito.test.utils.ProcessInstancesRESTTestUtils that uses java.lang.String, java.lang.Stringjava.lang.String 1 expectation failed.
Expected status code <404> but was <200>.
within 2 minutes.
PR check / Build projects / org.kie.kogito.it.jobs.ProcessAsyncIT.testAsync Assertion condition defined as a lambda expression in org.kie.kogito.it.jobs.BaseProcessAsyncIT 1 expectation failed.
JSON path hello doesn't match.
Expected: Hello Tiago
Actual: null
within 5 minutes.
PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testBoundaryTimersOnTask Assertion condition defined as a lambda expression in org.kie.kogito.it.jobs.BaseProcessTimerIT 1 expectation failed.
Expected status code <404> but was <200>.
within 10 seconds.
PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testTimerCycle Assertion condition defined as a lambda expression in org.kie.kogito.it.jobs.BaseProcessTimerIT 1 expectation failed.
Expected status code <404> but was <200>.
within 10 seconds.
PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testTimers Assertion condition defined as a lambda expression in org.kie.kogito.it.jobs.BaseProcessTimerIT 1 expectation failed.
Expected status code <404> but was <200>.
within 10 seconds.
PR check / Build projects / org.kie.kogito.it.jobs.SwitchStateTimeoutsIT.switchStateEventConditionTimeoutsTransitionTimeoutsExceeded Assertion condition defined as a lambda expression in org.kie.kogito.test.utils.ProcessInstancesRESTTestUtils that uses java.lang.String, java.lang.Stringjava.lang.String 1 expectation failed.
Expected status code <404> but was <200>.
within 3 minutes.
PR check / Build projects / org.kie.kogito.it.jobs.WorkflowTimeoutsIT.workflowTimeoutExceeded Assertion condition defined as a lambda expression in org.kie.kogito.test.utils.ProcessInstancesRESTTestUtils that uses java.lang.String, java.lang.Stringjava.lang.String 1 expectation failed.
Expected status code <404> but was <200>.
within 3 minutes.

@pefernan
Copy link
Contributor

@nmirasch don't force push please.. I'm trying to follow the changes hehe

@kie-ci3
Copy link
Contributor

kie-ci3 commented Oct 19, 2023

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

Reproducer

build-chain build full_downstream -f 'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml' -o 'bc' -p apache/incubator-kie-kogito-apps -u #1884 --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://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1884/13/display/redirect

Test results:

  • PASSED: 1611
  • FAILED: 31

Those are the test failures:

org.kie.kogito.it.jobs.JobServiceLeaderIT.(?) Container startup failed
PR check / Build projects / org.kie.kogito.it.jobs.CallbackStateTimeoutsIT.callbackStateTimeoutsExceeded java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
PR check / Build projects / org.kie.kogito.it.jobs.CallbackStateTimeoutsIT.callbackStateTimeoutsExceeded java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
PR check / Build projects / org.kie.kogito.it.jobs.CallbackStateTimeoutsIT.callbackStateTimeoutsExceeded java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
PR check / Build projects / org.kie.kogito.it.jobs.MultipleTimerInstancesIT.boundaryTimerEvent java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
PR check / Build projects / org.kie.kogito.it.jobs.MultipleTimerInstancesIT.boundaryTimerEvent java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
PR check / Build projects / org.kie.kogito.it.jobs.MultipleTimerInstancesIT.boundaryTimerEvent java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
PR check / Build projects / org.kie.kogito.it.jobs.MultipleTimerInstancesIT.boundaryTimerEvent Failed to load ApplicationContext
PR check / Build projects / org.kie.kogito.it.jobs.MultipleTimerInstancesIT.timerEvent Failed to load ApplicationContext
PR check / Build projects / org.kie.kogito.it.jobs.ProcessAsyncIT.testAsync java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
PR check / Build projects / org.kie.kogito.it.jobs.ProcessAsyncIT.testAsync java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
PR check / Build projects / org.kie.kogito.it.jobs.ProcessAsyncIT.testAsync java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
PR check / Build projects / org.kie.kogito.it.jobs.ProcessAsyncIT.testAsync Failed to load ApplicationContext
PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testDeleteTimerCycle java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testDeleteTimerCycle java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testDeleteTimerCycle java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testDeleteTimerCycle Failed to load ApplicationContext
PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testBoundaryTimersOnTask Failed to load ApplicationContext
PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testTimerCycle Failed to load ApplicationContext
PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testTimers Failed to load ApplicationContext
PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testDeleteBoundaryTimersOnTask Failed to load ApplicationContext
PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testCancelTimer Failed to load ApplicationContext
PR check / Build projects / org.kie.kogito.it.jobs.SwitchStateTimeoutsIT.switchStateEventConditionTimeoutsTransitionTimeoutsExceeded java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
PR check / Build projects / org.kie.kogito.it.jobs.SwitchStateTimeoutsIT.switchStateEventConditionTimeoutsTransitionTimeoutsExceeded java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
PR check / Build projects / org.kie.kogito.it.jobs.SwitchStateTimeoutsIT.switchStateEventConditionTimeoutsTransitionTimeoutsExceeded java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
PR check / Build projects / org.kie.kogito.it.jobs.WorkflowTimeoutsIT.workflowTimeoutExceeded java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
PR check / Build projects / org.kie.kogito.it.jobs.WorkflowTimeoutsIT.workflowTimeoutExceeded java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
PR check / Build projects / org.kie.kogito.it.jobs.WorkflowTimeoutsIT.workflowTimeoutExceeded java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
org.kie.kogito.it.trusty.QuarkusTrustyExplainabilityEnd2EndIT.doTest Container startup failed
org.kie.kogito.it.trusty.SpringBootTrustyExplainabilityEnd2EndIT.doTest Container startup failed
org.kie.kogito.index.oracle.query.JobEntityQueryIT.testJobQuery Error invoking subclass method

@elguardian
Copy link
Contributor

@nmirasch have you rebased ?

@nmirasch
Copy link
Contributor Author

@elguardian yes, that was the last force push, before @pefernan comment

@kie-ci3
Copy link
Contributor

kie-ci3 commented Oct 20, 2023

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

Reproducer

build-chain build full_downstream -f 'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml' -o 'bc' -p apache/incubator-kie-kogito-apps -u #1884 --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://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1884/14/display/redirect

Test results:

  • PASSED: 2725
  • FAILED: 6

Those are the test failures:

org.kie.kogito.index.service.messaging.InfinispanDomainMessagingKafkaConsumerIT.testProcessInstanceEvent java.lang.RuntimeException: Failed to start quarkus
org.kie.kogito.jitexecutor.bpmn.api.BPMNValidatorResourceTest.validateModel_MultipleValidBPMN2 java.lang.RuntimeException: Failed to start quarkus
org.kie.kogito.jobs.service.resource.JobResourceTest.cancelRunningNonPeriodicJobTest java.lang.RuntimeException: Failed to start quarkus
org.kie.kogito.jobs.service.resource.KeycloakInfinispanJobServiceTest.(?) java.lang.RuntimeException: Failed to start quarkus
org.kie.kogito.jobs.service.repository.mongodb.MongoDBJobRepositoryTest.testFindAll java.lang.RuntimeException: Failed to start quarkus
org.kie.kogito.trusty.ui.StaticContentTest.testIndexHtml java.lang.RuntimeException: Failed to start quarkus

@nmirasch nmirasch requested a review from krisv October 27, 2023 14:35
@ricardozanini ricardozanini merged commit f0399a3 into apache:main Oct 30, 2023
nmirasch added a commit to nmirasch/kogito-apps that referenced this pull request Nov 7, 2023
rgdoliveira pushed a commit to kiegroup/kogito-apps that referenced this pull request Dec 13, 2023
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.

8 participants