-
Notifications
You must be signed in to change notification settings - Fork 132
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
[kie-issues-249] Data Index Events changes for allowing historical data #1881
Conversation
cb382c5
to
fc00991
Compare
fc00991
to
28445d5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@elguardian great work! just left two minor comments here. Also you may need to look at kogito-examples, with this changes there might be some problems there (for example). Also there are some references to the kogito-variables-events
there.
...data-index-service-common/src/test/java/org/kie/kogito/index/AbstractProcessDataIndexIT.java
Outdated
Show resolved
Hide resolved
@@ -13,6 +13,12 @@ | |||
<name>Kogito Apps :: Data Index Service Common</name> | |||
|
|||
<dependencies> | |||
<dependency> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe this change is unwanted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it seems more like some IDE feature of re-sorting the dependencies?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this was related to a TestUtils class that is in two different jars colliding. so I changed the the order to avoid some problems.
build now |
9832227
to
385ea72
Compare
PR job Reproducerbuild-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 #1881 --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-1881/7/display/redirect Test results:
Those are the test failures: org.kie.kogito.index.service.InfinispanDomainIndexingServiceIT.testIndexingDomainParallelEventsCannot invoke method size() on null objectorg.kie.kogito.index.service.InfinispanDomainIndexingServiceIT.testAddProtoFileAssertion condition defined as a lambda expression in org.kie.kogito.index.service.AbstractIndexingServiceIT that uses java.lang.String, java.lang.Stringorg.kie.kogito.event.process.UserTaskInstanceDataEvent 1 expectation failed.JSON path data.UserTaskInstances[0].id doesn't match. Expected: is "8eb73251-c339-4391-8cf7-21d8f2c66234" Actual: null within 30 seconds. org.kie.kogito.index.service.InfinispanDomainIndexingServiceIT.testIndexingDomainUsingUserTaskEventFirst1 expectation failed.JSON path data.Travels[0].id doesn't match. Expected: is "8dc05e22-3acf-418d-a2d0-0319f815d995" Actual: null org.kie.kogito.index.service.InfinispanDomainIndexingServiceIT.testIndexingDomainUsingProcessEventFirst1 expectation failed.JSON path data.Travels[0].id doesn't match. Expected: is "c2b86c13-b210-4b14-80f6-daea5754088d" Actual: null org.kie.kogito.index.service.KeycloakInfinispanIndexingServiceIT.testUnauthorizedUserAccessjava.lang.reflect.InvocationTargetExceptionorg.kie.kogito.index.service.graphql.InfinispanWebSocketSubscriptionIT.testUserTaskInstanceSubscriptionjava.util.concurrent.TimeoutExceptionat java.base/java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1886) at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2021) at org.kie.kogito.index.service.graphql.AbstractWebSocketSubscriptionIT.assertUserTaskInstanceSubscription(AbstractWebSocketSubscriptionIT.java:193) at org.kie.kogito.index.service.graphql.AbstractWebSocketSubscriptionIT.testUserTaskInstanceSubscription(AbstractWebSocketSubscriptionIT.java:116) 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.test.junit.QuarkusTestExtension.runExtensionMethod(QuarkusTestExtension.java:999) at io.quarkus.test.junit.QuarkusTestExtension.interceptTestMethod(QuarkusTestExtension.java:813) at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103) at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93) at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156) at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147) at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86) at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103) at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93) at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92) at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:217) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:213) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:138) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:68) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35) at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:147) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:127) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:90) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:55) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:102) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:54) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86) at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86) at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:56) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:122) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495) org.kie.kogito.index.service.graphql.query.InfinispanGraphQLRuntimesQueriesIT.testGetTaskSchemaWanted but not invoked: kogitoRuntimeClient.getUserTaskSchema( "http://localhost:8080", , "jdoe", [managers, users, IT] ); -> at org.kie.kogito.index.service.graphql.query.AbstractGraphQLRuntimesQueriesIT.testGetTaskSchema(AbstractGraphQLRuntimesQueriesIT.java:244) Actually, there were zero interactions with this mock. org.kie.kogito.index.service.graphql.query.InfinispanGraphQLRuntimesQueriesIT.testUpdateUserTaskInstanceWanted but not invoked: kogitoRuntimeClient.updateUserTaskInstance( "http://localhost:8080", , "jdoe", [managers, users, IT], ); -> at org.kie.kogito.index.service.graphql.query.AbstractGraphQLRuntimesQueriesIT.testUpdateUserTaskInstance(AbstractGraphQLRuntimesQueriesIT.java:269) Actually, there were zero interactions with this mock. org.kie.kogito.index.service.graphql.query.InfinispanGraphQLRuntimesQueriesIT.testUpdateUserTaskInstanceAttachmentWanted but not invoked: kogitoRuntimeClient.updateUserTaskInstanceAttachment( "http://localhost:8080", , "jdoe", [managers, users, IT], "458fdd7d-a7b5-49c7-a197-beecdc450b3e", "attachmentName", "attachmentUri" ); -> at org.kie.kogito.index.service.graphql.query.AbstractGraphQLRuntimesQueriesIT.testUpdateUserTaskInstanceAttachment(AbstractGraphQLRuntimesQueriesIT.java:401) Actually, there were zero interactions with this mock. org.kie.kogito.index.service.graphql.query.InfinispanGraphQLRuntimesQueriesIT.testCreateTaskAttachmentWanted but not invoked: kogitoRuntimeClient.createUserTaskInstanceAttachment( "http://localhost:8080", , "jdoe", [managers, users, IT], "attachment name", "https://drive.google.com/file/d/1Z_Lipg2jzY9TNewTaskAttachmentUri" ); -> at org.kie.kogito.index.service.graphql.query.AbstractGraphQLRuntimesQueriesIT.testCreateTaskAttachment(AbstractGraphQLRuntimesQueriesIT.java:371) Actually, there were zero interactions with this mock. org.kie.kogito.index.service.graphql.query.InfinispanGraphQLRuntimesQueriesIT.testDeleteUserTaskInstanceCommentWanted but not invoked: kogitoRuntimeClient.deleteUserTaskInstanceComment( "http://localhost:8080", , "jdoe", [managers, users, IT], "72d535f8-4a48-4a04-8544-b3556dab66b6" ); -> at org.kie.kogito.index.service.graphql.query.AbstractGraphQLRuntimesQueriesIT.testDeleteUserTaskInstanceComment(AbstractGraphQLRuntimesQueriesIT.java:345) Actually, there were zero interactions with this mock. org.kie.kogito.index.service.graphql.query.InfinispanGraphQLRuntimesQueriesIT.testUpdateUserTaskInstanceCommentWanted but not invoked: kogitoRuntimeClient.updateUserTaskInstanceComment( "http://localhost:8080", , "jdoe", [managers, users, IT], "9744842b-4d12-4cff-ac0a-f9194ee960e8", "commentContent" ); -> at org.kie.kogito.index.service.graphql.query.AbstractGraphQLRuntimesQueriesIT.testUpdateUserTaskInstanceComment(AbstractGraphQLRuntimesQueriesIT.java:321) Actually, there were zero interactions with this mock. org.kie.kogito.index.service.graphql.query.InfinispanGraphQLRuntimesQueriesIT.testCreateTaskCommentWanted but not invoked: kogitoRuntimeClient.createUserTaskInstanceComment( "http://localhost:8080", , "jdoe", [managers, users, IT], "Comment to add" ); -> at org.kie.kogito.index.service.graphql.query.AbstractGraphQLRuntimesQueriesIT.testCreateTaskComment(AbstractGraphQLRuntimesQueriesIT.java:294) Actually, there were zero interactions with this mock. org.kie.kogito.index.service.graphql.query.InfinispanGraphQLRuntimesQueriesIT.testDeleteUserTaskInstanceAttachmentWanted but not invoked: kogitoRuntimeClient.deleteUserTaskInstanceAttachment( "http://localhost:8080", , "jdoe", [managers, users, IT], "0d991459-398b-4718-881d-29caf02e18cd" ); -> at org.kie.kogito.index.service.graphql.query.AbstractGraphQLRuntimesQueriesIT.testDeleteUserTaskInstanceAttachment(AbstractGraphQLRuntimesQueriesIT.java:425) Actually, there were zero interactions with this mock. org.kie.kogito.index.service.messaging.InfinispanDomainMessagingHttpConsumerIT.testUserTaskInstanceEventAssertion condition defined as a lambda expression in org.kie.kogito.index.service.messaging.AbstractDomainMessagingConsumerIT that uses java.lang.String 1 expectation failed.JSON path data.Travels[0].id doesn't match. Expected: is "2308e23d-9998-47e9-a772-a078cf5b891b" Actual: null within 30 seconds. org.kie.kogito.index.service.messaging.InfinispanMessagingHttpConsumerIT.testUserTaskInstanceEventAssertion condition defined as a lambda expression in org.kie.kogito.index.service.messaging.AbstractMessagingConsumerIT that uses java.lang.String 1 expectation failed.JSON path data.UserTaskInstances.size() doesn't match. Expected: is <1> Actual: <0> within 30 seconds. org.kie.kogito.index.service.KeycloakInmemoryPostgreSqlIndexingServiceIT.testUnauthorizedUserAccessjava.lang.reflect.InvocationTargetExceptionorg.kie.kogito.index.service.KeycloakMongoIndexingServiceIT.testUnauthorizedUserAccessjava.lang.reflect.InvocationTargetExceptionorg.kie.kogito.index.service.KeycloakPostgreSqlIndexingServiceIT.testUnauthorizedUserAccessjava.lang.reflect.InvocationTargetExceptionorg.kie.kogito.jobs.service.resource.KeycloakMongoDBJobServiceTest.(?)java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors[error]: Build step io.quarkus.kafka.client.deployment.DevServicesKafkaProcessor#startKafkaDevService threw an exception: java.lang.RuntimeException: org.testcontainers.containers.ContainerLaunchException: Container startup failed at io.quarkus.kafka.client.deployment.DevServicesKafkaProcessor.startKafkaDevService(DevServicesKafkaProcessor.java:105) 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: 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 io.quarkus.kafka.client.deployment.DevServicesKafkaProcessor.lambda$startKafka$5(DevServicesKafkaProcessor.java:236) at java.base/java.util.Optional.orElseGet(Optional.java:369) at io.quarkus.kafka.client.deployment.DevServicesKafkaProcessor.startKafka(DevServicesKafkaProcessor.java:282) at io.quarkus.kafka.client.deployment.DevServicesKafkaProcessor.startKafkaDevService(DevServicesKafkaProcessor.java:95) ... 11 more Caused by: org.rnorth.ducttape.RetryCountExceededException: Retry limit hit with exception at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88) at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:334) ... 16 more Caused by: org.testcontainers.containers.ContainerLaunchException: Could not create/start container at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:542) at org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:344) at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81) ... 17 more Caused by: org.testcontainers.containers.ContainerLaunchException: Timed out waiting for log output matching '.*Started Kafka API server.*' at org.testcontainers.containers.wait.strategy.LogMessageWaitStrategy.waitUntilReady(LogMessageWaitStrategy.java:47) at org.testcontainers.containers.wait.strategy.AbstractWaitStrategy.waitUntilReady(AbstractWaitStrategy.java:52) at org.testcontainers.containers.GenericContainer.waitUntilContainerStarted(GenericContainer.java:953) at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:485) ... 19 more |
fc84d97
to
73c27d9
Compare
PR job Reproducerbuild-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 #1881 --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-1881/31/display/redirect Test results:
Those are the test failures: org.kie.kogito.index.service.json.ProcessInstanceMetaMapperTest.testProcessInstanceMapperWithBusinessKeyJSON documents are different:Missing node in path "metadata.processInstances[0].start". org.kie.kogito.index.service.json.ProcessInstanceMetaMapperTest.testProcessInstanceMapperJSON documents are different:Missing node in path "metadata.processInstances[0].start". org.kie.kogito.index.service.InmemoryPostgreSqlIndexingServiceIT.testProcessInstanceIndexAssertion condition defined as a lambda expression in org.kie.kogito.index.service.AbstractIndexingServiceIT that uses java.lang.String, java.lang.Stringorg.kie.kogito.event.process.ProcessInstanceStateDataEvent, org.kie.kogito.event.process.ProcessInstanceStateDataEventjava.lang.String 1 expectation failed.JSON path data.ProcessInstances[0].id doesn't match. Expected: is "c730a3b0-b626-49b5-af6d-49abd7f8d8b9" Actual: null within 30 seconds. org.kie.kogito.index.service.MongoDomainIndexingServiceIT.testProcessInstanceIndexAssertion condition defined as a lambda expression in org.kie.kogito.index.service.AbstractIndexingServiceIT that uses java.lang.String, java.lang.Stringorg.kie.kogito.event.process.ProcessInstanceStateDataEvent, org.kie.kogito.event.process.ProcessInstanceStateDataEventjava.lang.String 1 expectation failed.JSON path data.ProcessInstances[0].id doesn't match. Expected: is "2e0d0798-6c07-4014-a225-f73e998f732d" Actual: null within 30 seconds. org.kie.kogito.index.service.OracleIndexingServiceIT.testProcessInstanceIndexAssertion condition defined as a lambda expression in org.kie.kogito.index.service.AbstractIndexingServiceIT that uses java.lang.String, java.lang.Stringorg.kie.kogito.event.process.ProcessInstanceStateDataEvent, org.kie.kogito.event.process.ProcessInstanceStateDataEventjava.lang.String 1 expectation failed.JSON path data.ProcessInstances[0].id doesn't match. Expected: is "07bb250a-95e9-4e6c-b85c-1e814f2f528c" Actual: null within 30 seconds. org.kie.kogito.index.service.messaging.OracleMessagingKafkaConsumerIT.testProcessInstanceEventAssertion condition defined as a lambda expression in org.kie.kogito.index.service.messaging.AbstractMessagingConsumerIT that uses java.lang.String 1 expectation failed.JSON path data.ProcessInstances.size() doesn't match. Expected: is <1> Actual: <0> within 30 seconds. org.kie.kogito.index.service.PostgreSqlIndexingServiceIT.testProcessInstanceIndexAssertion condition defined as a lambda expression in org.kie.kogito.index.service.AbstractIndexingServiceIT that uses java.lang.String, java.lang.Stringorg.kie.kogito.event.process.ProcessInstanceStateDataEvent, org.kie.kogito.event.process.ProcessInstanceStateDataEventjava.lang.String 1 expectation failed.JSON path data.ProcessInstances[0].id doesn't match. Expected: is "3066d55c-e9d4-4692-96bf-c23ee0f285fe" Actual: null within 30 seconds. org.kie.kogito.index.service.messaging.PostgreSqlMessagingKafkaConsumerIT.testProcessInstanceEventAssertion condition defined as a lambda expression in org.kie.kogito.index.service.messaging.AbstractMessagingConsumerIT that uses java.lang.String 1 expectation failed.JSON path data.ProcessInstances.size() doesn't match. Expected: is <1> Actual: <0> within 30 seconds. org.kie.kogito.jobs.service.messaging.InfinispanMessagingApiTest.cancelJobjava.lang.RuntimeException: Failed to start quarkusorg.kie.kogito.jobs.service.repository.infinispan.InfinispanJobRepositoryTest.testFindAlljava.lang.RuntimeException: Failed to start quarkusorg.kie.kogito.jobs.service.resource.KeycloakInfinispanJobServiceTest.(?)java.lang.RuntimeException: Failed to start quarkus |
73c27d9
to
c71d2ed
Compare
PR job Reproducerbuild-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 #1881 --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-1881/32/display/redirect Test results:
Those are the test failures: org.kie.kogito.index.service.InmemoryPostgreSqlIndexingServiceIT.testProcessInstanceIndexAssertion condition defined as a lambda expression in org.kie.kogito.index.service.AbstractIndexingServiceIT that uses java.lang.String, java.lang.Stringorg.kie.kogito.event.process.ProcessInstanceStateDataEvent, org.kie.kogito.event.process.ProcessInstanceStateDataEventjava.lang.String 1 expectation failed.JSON path data.ProcessInstances[0].id doesn't match. Expected: is "91ca6eb9-78b0-4988-a9b6-db2076f0df39" Actual: null within 30 seconds. org.kie.kogito.index.service.MongoDomainIndexingServiceIT.testProcessInstanceIndexAssertion condition defined as a lambda expression in org.kie.kogito.index.service.AbstractIndexingServiceIT that uses java.lang.String, java.lang.Stringorg.kie.kogito.event.process.ProcessInstanceStateDataEvent, org.kie.kogito.event.process.ProcessInstanceStateDataEventjava.lang.String 1 expectation failed.JSON path data.ProcessInstances[0].id doesn't match. Expected: is "65738031-b095-42a9-aeca-fe65a07e416f" Actual: null within 30 seconds. org.kie.kogito.index.service.OracleIndexingServiceIT.testProcessInstanceIndexAssertion condition defined as a lambda expression in org.kie.kogito.index.service.AbstractIndexingServiceIT that uses java.lang.String, java.lang.Stringorg.kie.kogito.event.process.ProcessInstanceStateDataEvent, org.kie.kogito.event.process.ProcessInstanceStateDataEventjava.lang.String 1 expectation failed.JSON path data.ProcessInstances[0].id doesn't match. Expected: is "97146c88-e59b-4377-b1a7-e0bb7bc00e79" Actual: null within 30 seconds. org.kie.kogito.index.service.PostgreSqlIndexingServiceIT.testProcessInstanceIndexAssertion condition defined as a lambda expression in org.kie.kogito.index.service.AbstractIndexingServiceIT that uses java.lang.String, java.lang.Stringorg.kie.kogito.event.process.ProcessInstanceStateDataEvent, org.kie.kogito.event.process.ProcessInstanceStateDataEventjava.lang.String 1 expectation failed.JSON path data.ProcessInstances[0].id doesn't match. Expected: is "3ef7428a-98f4-4867-aece-d2022cb4b7b0" Actual: null within 30 seconds. org.kie.kogito.jobs.service.messaging.InfinispanMessagingApiTest.cancelJobjava.lang.RuntimeException: Failed to start quarkusorg.kie.kogito.jobs.service.repository.infinispan.InfinispanJobRepositoryTest.testFindAlljava.lang.RuntimeException: Failed to start quarkusorg.kie.kogito.jobs.service.resource.KeycloakInfinispanJobServiceTest.(?)java.lang.RuntimeException: Failed to start quarkus |
PR job Reproducerbuild-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 #1881 --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-1881/54/display/redirect Test results:
Those are the test failures: org.kie.kogito.index.inmemory.ProcessDataIndexInMemoryIT.testProcessInstanceEventsjava.lang.IllegalStateException: Unable to determine the status of the running process. See the above logs for detailsorg.kie.kogito.index.oracle.ProcessDataIndexOracleHttpIT.testProcessInstanceEventsjava.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.http.DataIndexOracleHttpQuarkusTestResourceorg.kie.kogito.index.oracle.ProcessDataIndexOracleKafkaIT.testProcessInstanceEventsjava.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.kafka.DataIndexOracleQuarkusKafkaTestResourceorg.kie.kogito.index.ProcessDataIndexMongoDBIT.testProcessInstanceEvents1 expectation failed.JSON path data.UserTaskInstances[0].potentialGroups[0] doesn't match. Expected: managers Actual: null org.kie.kogito.security.KeycloakSecurityCommonsServiceIT.meTestjava.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors[error]: Build step io.quarkus.oidc.deployment.devservices.keycloak.KeycloakDevServicesProcessor#startKeycloakContainer threw an exception: java.lang.RuntimeException: org.testcontainers.containers.ContainerLaunchException: Container startup failed at io.quarkus.oidc.deployment.devservices.keycloak.KeycloakDevServicesProcessor.startKeycloakContainer(KeycloakDevServicesProcessor.java:247) 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: 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 io.quarkus.oidc.deployment.devservices.keycloak.KeycloakDevServicesProcessor.lambda$startContainer$4(KeycloakDevServicesProcessor.java:372) at java.base/java.util.Optional.orElseGet(Optional.java:369) at io.quarkus.oidc.deployment.devservices.keycloak.KeycloakDevServicesProcessor.startContainer(KeycloakDevServicesProcessor.java:397) at io.quarkus.oidc.deployment.devservices.keycloak.KeycloakDevServicesProcessor.startKeycloakContainer(KeycloakDevServicesProcessor.java:195) ... 11 more Caused by: org.rnorth.ducttape.RetryCountExceededException: Retry limit hit with exception at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88) at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:334) ... 16 more Caused by: org.testcontainers.containers.ContainerLaunchException: Could not create/start container at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:542) at org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:344) at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81) ... 17 more Caused by: org.testcontainers.containers.ContainerLaunchException: Timed out waiting for log output matching '.*Keycloak.*started.*' at org.testcontainers.containers.wait.strategy.LogMessageWaitStrategy.waitUntilReady(LogMessageWaitStrategy.java:47) at org.testcontainers.containers.wait.strategy.AbstractWaitStrategy.waitUntilReady(AbstractWaitStrategy.java:52) at org.testcontainers.containers.GenericContainer.waitUntilContainerStarted(GenericContainer.java:953) at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:485) ... 19 more org.kie.kogito.trusty.ui.KeycloakTrustyUIServiceIT.(?)java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors[error]: Build step io.quarkus.oidc.deployment.devservices.keycloak.KeycloakDevServicesProcessor#startKeycloakContainer threw an exception: java.lang.RuntimeException: org.testcontainers.containers.ContainerLaunchException: Container startup failed at io.quarkus.oidc.deployment.devservices.keycloak.KeycloakDevServicesProcessor.startKeycloakContainer(KeycloakDevServicesProcessor.java:247) 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: 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 io.quarkus.oidc.deployment.devservices.keycloak.KeycloakDevServicesProcessor.lambda$startContainer$4(KeycloakDevServicesProcessor.java:372) at java.base/java.util.Optional.orElseGet(Optional.java:369) at io.quarkus.oidc.deployment.devservices.keycloak.KeycloakDevServicesProcessor.startContainer(KeycloakDevServicesProcessor.java:397) at io.quarkus.oidc.deployment.devservices.keycloak.KeycloakDevServicesProcessor.startKeycloakContainer(KeycloakDevServicesProcessor.java:195) ... 11 more Caused by: org.rnorth.ducttape.RetryCountExceededException: Retry limit hit with exception at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88) at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:334) ... 16 more Caused by: org.testcontainers.containers.ContainerLaunchException: Could not create/start container at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:542) at org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:344) at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81) ... 17 more Caused by: org.testcontainers.containers.ContainerLaunchException: Timed out waiting for log output matching '.*Keycloak.*started.*' at org.testcontainers.containers.wait.strategy.LogMessageWaitStrategy.waitUntilReady(LogMessageWaitStrategy.java:47) at org.testcontainers.containers.wait.strategy.AbstractWaitStrategy.waitUntilReady(AbstractWaitStrategy.java:52) at org.testcontainers.containers.GenericContainer.waitUntilContainerStarted(GenericContainer.java:953) at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:485) ... 19 more org.kie.kogito.trusty.service.common.KeycloakTrustyServiceIT.(?)java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors[error]: Build step io.quarkus.oidc.deployment.devservices.keycloak.KeycloakDevServicesProcessor#startKeycloakContainer threw an exception: java.lang.RuntimeException: org.testcontainers.containers.ContainerLaunchException: Container startup failed at io.quarkus.oidc.deployment.devservices.keycloak.KeycloakDevServicesProcessor.startKeycloakContainer(KeycloakDevServicesProcessor.java:247) 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: 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 io.quarkus.oidc.deployment.devservices.keycloak.KeycloakDevServicesProcessor.lambda$startContainer$4(KeycloakDevServicesProcessor.java:372) at java.base/java.util.Optional.orElseGet(Optional.java:369) at io.quarkus.oidc.deployment.devservices.keycloak.KeycloakDevServicesProcessor.startContainer(KeycloakDevServicesProcessor.java:397) at io.quarkus.oidc.deployment.devservices.keycloak.KeycloakDevServicesProcessor.startKeycloakContainer(KeycloakDevServicesProcessor.java:195) ... 11 more Caused by: org.rnorth.ducttape.RetryCountExceededException: Retry limit hit with exception at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88) at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:334) ... 16 more Caused by: org.testcontainers.containers.ContainerLaunchException: Could not create/start container at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:542) at org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:344) at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81) ... 17 more Caused by: org.testcontainers.containers.ContainerLaunchException: Timed out waiting for log output matching '.*Keycloak.*started.*' at org.testcontainers.containers.wait.strategy.LogMessageWaitStrategy.waitUntilReady(LogMessageWaitStrategy.java:47) at org.testcontainers.containers.wait.strategy.AbstractWaitStrategy.waitUntilReady(AbstractWaitStrategy.java:52) at org.testcontainers.containers.GenericContainer.waitUntilContainerStarted(GenericContainer.java:953) at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:485) ... 19 more |
failed test are bogus due to environment. |
PR job Reproducerbuild-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 #1881 --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-1881/63/display/redirect Test results:
Those are the test failures: org.kie.kogito.index.inmemory.ProcessDataIndexInMemoryIT.testProcessInstanceEventsjava.lang.IllegalStateException: Unable to determine the status of the running process. See the above logs for detailsorg.kie.kogito.security.KeycloakSecurityCommonsServiceIT.meTestjava.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors[error]: Build step io.quarkus.oidc.deployment.devservices.keycloak.KeycloakDevServicesProcessor#startKeycloakContainer threw an exception: java.lang.RuntimeException: org.testcontainers.containers.ContainerLaunchException: Container startup failed at io.quarkus.oidc.deployment.devservices.keycloak.KeycloakDevServicesProcessor.startKeycloakContainer(KeycloakDevServicesProcessor.java:247) 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: 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 io.quarkus.oidc.deployment.devservices.keycloak.KeycloakDevServicesProcessor.lambda$startContainer$4(KeycloakDevServicesProcessor.java:372) at java.base/java.util.Optional.orElseGet(Optional.java:369) at io.quarkus.oidc.deployment.devservices.keycloak.KeycloakDevServicesProcessor.startContainer(KeycloakDevServicesProcessor.java:397) at io.quarkus.oidc.deployment.devservices.keycloak.KeycloakDevServicesProcessor.startKeycloakContainer(KeycloakDevServicesProcessor.java:195) ... 11 more Caused by: org.rnorth.ducttape.RetryCountExceededException: Retry limit hit with exception at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88) at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:334) ... 16 more Caused by: org.testcontainers.containers.ContainerLaunchException: Could not create/start container at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:542) at org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:344) at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81) ... 17 more Caused by: org.testcontainers.containers.ContainerLaunchException: Timed out waiting for log output matching '.*Keycloak.*started.*' at org.testcontainers.containers.wait.strategy.LogMessageWaitStrategy.waitUntilReady(LogMessageWaitStrategy.java:47) at org.testcontainers.containers.wait.strategy.AbstractWaitStrategy.waitUntilReady(AbstractWaitStrategy.java:52) at org.testcontainers.containers.GenericContainer.waitUntilContainerStarted(GenericContainer.java:953) at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:485) ... 19 more |
PR job Reproducerbuild-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 #1881 --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-1881/64/display/redirect Test results:
Those are the test failures: org.kie.kogito.index.ProcessDataIndexMongoDBIT.testProcessInstanceEvents1 expectation failed.JSON path data.UserTaskInstances[0].potentialGroups[0] doesn't match. Expected: managers Actual: null |
b45e5a9
to
fc501b4
Compare
…ta (apache#1881) * [kie-issues-249] data index improvements * fix for updated by field * fix for proto library * remove system out * test with jenkins
apache/incubator-kie-drools#5529
depends on
apache/incubator-kie-drools#5529
apache/incubator-kie-kogito-runtimes#3241