kie-ci3 commented on PR #3654: URL: https://github.com/apache/incubator-kie-kogito-runtimes/pull/3654#issuecomment-2357377667
**PR job** `#6` was: **UNSTABLE** Possible explanation: This should be test failures <details> <summary><b>Reproducer</b></summary> 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-runtimes -u https://github.com/apache/incubator-kie-kogito-runtimes/pull/3654 --skipParallelCheckout NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution </details> Please look here: https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3654/6/display/redirect **Test results:** - PASSED: 3349 - FAILED: 13 Those are the test failures: <details> <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3654/6/testReport/org.kie.kogito.events.process/GroupingMessagingEventPublisherTest/testNullEventInCollection/">org.kie.kogito.events.process.GroupingMessagingEventPublisherTest.testNullEventInCollection</a></summary> <br/>Mockito couldn't inject mock dependency on field 'private org.kie.kogito.events.process.AbstractMessagingEventPublisher$AbstractMessageEmitter org.kie.kogito.events.process.AbstractMessagingEventPublisher.processDefinitionConsumer' that is annotated with @InjectMocks in your test, <br/>because there were multiple matching mocks (i.e. fields annotated with @Mock and having matching type): processDefinitionEventsEmitter, decoratedMessage, processInstanceConsumer, userTasksEventsEmitter, userTaskConsumer, processInstancesEventsEmitter.<br/>If you have multiple fields of same type in your class under test then consider naming the @Mock fields identically to the respective class under test's fields, so Mockito can match them by name. </details> <details> <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3654/6/testReport/org.kie.kogito.events.process/GroupingMessagingEventPublisherTest/testPublishEmptyEventsCollection/">org.kie.kogito.events.process.GroupingMessagingEventPublisherTest.testPublishEmptyEventsCollection</a></summary> <br/>Mockito couldn't inject mock dependency on field 'private org.kie.kogito.events.process.AbstractMessagingEventPublisher$AbstractMessageEmitter org.kie.kogito.events.process.AbstractMessagingEventPublisher.processDefinitionConsumer' that is annotated with @InjectMocks in your test, <br/>because there were multiple matching mocks (i.e. fields annotated with @Mock and having matching type): processDefinitionEventsEmitter, userTaskConsumer, processInstanceConsumer, decoratedMessage, userTasksEventsEmitter, processInstancesEventsEmitter.<br/>If you have multiple fields of same type in your class under test then consider naming the @Mock fields identically to the respective class under test's fields, so Mockito can match them by name. </details> <details> <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3654/6/testReport/org.kie.kogito.events.process/GroupingMessagingEventPublisherTest/testReactiveMessagingEventPublisher_publish/">org.kie.kogito.events.process.GroupingMessagingEventPublisherTest.testReactiveMessagingEventPublisher_publish</a></summary> <br/>Mockito couldn't inject mock dependency on field 'private org.kie.kogito.events.process.AbstractMessagingEventPublisher$AbstractMessageEmitter org.kie.kogito.events.process.AbstractMessagingEventPublisher.processDefinitionConsumer' that is annotated with @InjectMocks in your test, <br/>because there were multiple matching mocks (i.e. fields annotated with @Mock and having matching type): processInstancesEventsEmitter, processDefinitionEventsEmitter, userTaskConsumer, processInstanceConsumer, decoratedMessage, userTasksEventsEmitter.<br/>If you have multiple fields of same type in your class under test then consider naming the @Mock fields identically to the respective class under test's fields, so Mockito can match them by name. </details> <details> <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3654/6/testReport/org.kie.kogito.events.process/GroupingMessagingEventPublisherTest/testGroupingMessagingEventPublisher_publish/">org.kie.kogito.events.process.GroupingMessagingEventPublisherTest.testGroupingMessagingEventPublisher_publish</a></summary> <br/>Mockito couldn't inject mock dependency on field 'private org.kie.kogito.events.process.AbstractMessagingEventPublisher$AbstractMessageEmitter org.kie.kogito.events.process.AbstractMessagingEventPublisher.processDefinitionConsumer' that is annotated with @InjectMocks in your test, <br/>because there were multiple matching mocks (i.e. fields annotated with @Mock and having matching type): processInstancesEventsEmitter, userTaskConsumer, userTasksEventsEmitter, processDefinitionEventsEmitter, decoratedMessage, processInstanceConsumer.<br/>If you have multiple fields of same type in your class under test then consider naming the @Mock fields identically to the respective class under test's fields, so Mockito can match them by name. </details> <details> <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3654/6/testReport/org.kie.kogito.events.process/GroupingMessagingEventPublisherTest/testPublishUnsupportedEventType/">org.kie.kogito.events.process.GroupingMessagingEventPublisherTest.testPublishUnsupportedEventType</a></summary> <br/>Mockito couldn't inject mock dependency on field 'private org.kie.kogito.events.process.AbstractMessagingEventPublisher$AbstractMessageEmitter org.kie.kogito.events.process.AbstractMessagingEventPublisher.processDefinitionConsumer' that is annotated with @InjectMocks in your test, <br/>because there were multiple matching mocks (i.e. fields annotated with @Mock and having matching type): processDefinitionEventsEmitter, userTasksEventsEmitter, decoratedMessage, processInstancesEventsEmitter, userTaskConsumer, processInstanceConsumer.<br/>If you have multiple fields of same type in your class under test then consider naming the @Mock fields identically to the respective class under test's fields, so Mockito can match them by name. </details> <details> <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3654/6/testReport/org.kie.kogito.events.process/GroupingMessagingEventPublisherTest/testPublishGroupingByChannel/">org.kie.kogito.events.process.GroupingMessagingEventPublisherTest.testPublishGroupingByChannel</a></summary> <br/>Mockito couldn't inject mock dependency on field 'private org.kie.kogito.events.process.AbstractMessagingEventPublisher$AbstractMessageEmitter org.kie.kogito.events.process.AbstractMessagingEventPublisher.processDefinitionConsumer' that is annotated with @InjectMocks in your test, <br/>because there were multiple matching mocks (i.e. fields annotated with @Mock and having matching type): processInstancesEventsEmitter, userTasksEventsEmitter, processInstanceConsumer, processDefinitionEventsEmitter, userTaskConsumer, decoratedMessage.<br/>If you have multiple fields of same type in your class under test then consider naming the @Mock fields identically to the respective class under test's fields, so Mockito can match them by name. </details> <details> <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3654/6/testReport/org.kie.kogito.events.process/GroupingMessagingEventPublisherTest/testPublishWithMultipleEventTypesSomeWithoutConsumers/">org.kie.kogito.events.process.GroupingMessagingEventPublisherTest.testPublishWithMultipleEventTypesSomeWithoutConsumers</a></summary> <br/>Mockito couldn't inject mock dependency on field 'private org.kie.kogito.events.process.AbstractMessagingEventPublisher$AbstractMessageEmitter org.kie.kogito.events.process.AbstractMessagingEventPublisher.processDefinitionConsumer' that is annotated with @InjectMocks in your test, <br/>because there were multiple matching mocks (i.e. fields annotated with @Mock and having matching type): userTaskConsumer, processInstanceConsumer, processInstancesEventsEmitter, processDefinitionEventsEmitter, userTasksEventsEmitter, decoratedMessage.<br/>If you have multiple fields of same type in your class under test then consider naming the @Mock fields identically to the respective class under test's fields, so Mockito can match them by name. </details> <details> <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3654/6/testReport/org.kie.kogito.events.process/GroupingMessagingEventPublisherTest/testPublishToTopic_ExceptionHandling/">org.kie.kogito.events.process.GroupingMessagingEventPublisherTest.testPublishToTopic_ExceptionHandling</a></summary> <br/>Mockito couldn't inject mock dependency on field 'private org.kie.kogito.events.process.AbstractMessagingEventPublisher$AbstractMessageEmitter org.kie.kogito.events.process.AbstractMessagingEventPublisher.processDefinitionConsumer' that is annotated with @InjectMocks in your test, <br/>because there were multiple matching mocks (i.e. fields annotated with @Mock and having matching type): processInstancesEventsEmitter, processDefinitionEventsEmitter, userTasksEventsEmitter, decoratedMessage, processInstanceConsumer, userTaskConsumer.<br/>If you have multiple fields of same type in your class under test then consider naming the @Mock fields identically to the respective class under test's fields, so Mockito can match them by name. </details> <details> <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3654/6/testReport/org.kie.kogito.events.process/GroupingMessagingEventPublisherTest/testPublishMultipleEventsGroupedByChannel/">org.kie.kogito.events.process.GroupingMessagingEventPublisherTest.testPublishMultipleEventsGroupedByChannel</a></summary> <br/>Mockito couldn't inject mock dependency on field 'private org.kie.kogito.events.process.AbstractMessagingEventPublisher$AbstractMessageEmitter org.kie.kogito.events.process.AbstractMessagingEventPublisher.processDefinitionConsumer' that is annotated with @InjectMocks in your test, <br/>because there were multiple matching mocks (i.e. fields annotated with @Mock and having matching type): processInstanceConsumer, decoratedMessage, processDefinitionEventsEmitter, processInstancesEventsEmitter, userTasksEventsEmitter, userTaskConsumer.<br/>If you have multiple fields of same type in your class under test then consider naming the @Mock fields identically to the respective class under test's fields, so Mockito can match them by name. </details> <details> <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3654/6/testReport/org.kie.kogito.events.process/GroupingMessagingEventPublisherTest/testPublishToTopicWithDecorator/">org.kie.kogito.events.process.GroupingMessagingEventPublisherTest.testPublishToTopicWithDecorator</a></summary> <br/>Mockito couldn't inject mock dependency on field 'private org.kie.kogito.events.process.AbstractMessagingEventPublisher$AbstractMessageEmitter org.kie.kogito.events.process.AbstractMessagingEventPublisher.processDefinitionConsumer' that is annotated with @InjectMocks in your test, <br/>because there were multiple matching mocks (i.e. fields annotated with @Mock and having matching type): processInstancesEventsEmitter, userTaskConsumer, userTasksEventsEmitter, decoratedMessage, processInstanceConsumer, processDefinitionEventsEmitter.<br/>If you have multiple fields of same type in your class under test then consider naming the @Mock fields identically to the respective class under test's fields, so Mockito can match them by name. </details> <details> <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3654/6/testReport/org.kie.kogito.events.process/GroupingMessagingEventPublisherTest/testDecorateMessage/">org.kie.kogito.events.process.GroupingMessagingEventPublisherTest.testDecorateMessage</a></summary> <br/>Mockito couldn't inject mock dependency on field 'private org.kie.kogito.events.process.AbstractMessagingEventPublisher$AbstractMessageEmitter org.kie.kogito.events.process.AbstractMessagingEventPublisher.processDefinitionConsumer' that is annotated with @InjectMocks in your test, <br/>because there were multiple matching mocks (i.e. fields annotated with @Mock and having matching type): processInstancesEventsEmitter, userTasksEventsEmitter, userTaskConsumer, processDefinitionEventsEmitter, processInstanceConsumer, decoratedMessage.<br/>If you have multiple fields of same type in your class under test then consider naming the @Mock fields identically to the respective class under test's fields, so Mockito can match them by name. </details> <details> <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3654/6/testReport/org.kie.kogito.events.process/GroupingMessagingEventPublisherTest/testEventsDisabledInConfig/">org.kie.kogito.events.process.GroupingMessagingEventPublisherTest.testEventsDisabledInConfig</a></summary> <br/>Mockito couldn't inject mock dependency on field 'private org.kie.kogito.events.process.AbstractMessagingEventPublisher$AbstractMessageEmitter org.kie.kogito.events.process.AbstractMessagingEventPublisher.processDefinitionConsumer' that is annotated with @InjectMocks in your test, <br/>because there were multiple matching mocks (i.e. fields annotated with @Mock and having matching type): userTasksEventsEmitter, processInstancesEventsEmitter, userTaskConsumer, processInstanceConsumer, decoratedMessage, processDefinitionEventsEmitter.<br/>If you have multiple fields of same type in your class under test then consider naming the @Mock fields identically to the respective class under test's fields, so Mockito can match them by name. </details> <details> <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3654/6/testReport/org.kie.kogito.events.process/GroupingMessagingEventPublisherTest/testNoConsumersFound/">org.kie.kogito.events.process.GroupingMessagingEventPublisherTest.testNoConsumersFound</a></summary> <br/>Mockito couldn't inject mock dependency on field 'private org.kie.kogito.events.process.AbstractMessagingEventPublisher$AbstractMessageEmitter org.kie.kogito.events.process.AbstractMessagingEventPublisher.processDefinitionConsumer' that is annotated with @InjectMocks in your test, <br/>because there were multiple matching mocks (i.e. fields annotated with @Mock and having matching type): processInstanceConsumer, processInstancesEventsEmitter, processDefinitionEventsEmitter, userTasksEventsEmitter, userTaskConsumer, decoratedMessage.<br/>If you have multiple fields of same type in your class under test then consider naming the @Mock fields identically to the respective class under test's fields, so Mockito can match them by name. </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
