-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[DROOLS-7528] Avoid casting to unnecessary interfaces (Fix the secondary super cache problem in Drools) #5451
Conversation
80cdeb8
to
52bece7
Compare
52bece7
to
8708a6e
Compare
(tests) - drools job Reproducerexport BUILD_MVN_OPTS_CURRENT=-Dfull -Prun-code-coverage NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution Test results:
Those are the test failures: org.drools.kiesession.ReteTest.testRetractObjectclass org.drools.core.reteoo.MockObjectSink cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.MockObjectSink and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.model.codegen.execmodel.CepTest.testDeclaredSlidingWindowWithEntryPoint[STANDARD_FROM_DRL]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.model.codegen.execmodel.CepTest.testDeclaredSlidingWindow[STANDARD_FROM_DRL]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.model.codegen.execmodel.CepTest.testCollectWithDeclaredWindow[STANDARD_FROM_DRL]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.model.codegen.execmodel.CepTest.testDeclaredSlidingWindowWithEntryPoint[PATTERN_DSL]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.model.codegen.execmodel.CepTest.testDeclaredSlidingWindow[PATTERN_DSL]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.model.codegen.execmodel.CepTest.testCollectWithDeclaredWindow[PATTERN_DSL]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.serialization.protobuf.UnmarshallingTest.testMarshallWithTimerclass org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.AccumulateCepTest.testAccumulatesExpireVsCancel[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.AccumulateCepTest.testAccumulatesExpireVsCancel[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testPastEventExipration[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testEventExpiration4[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testModifyEventOverWindow[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testTimeWindowWithPastEvents[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testSlidingWindowExpire[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testWindowExpireActionDeserialization[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testIdleTimeAndTimeToNextJob[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testExpirationOnModification[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testDuplicateFiring1[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testSimpleTimeWindow[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testEventStreamWithEPsAndDefaultPseudo[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testEventExpirationInSlidingWindow[KieBase type=STREAM_IDENTITY]java.lang.ClassCastException: class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testExpiredEventWithPendingActivations[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testSerializationDeserliaizationWithRectractedExpireFact[KieBase type=STREAM_IDENTITY]Expecting actual not to be null org.drools.compiler.integrationtests.CepEspTest.testRetractFromWindow[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testPastEventExipration[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testEventExpiration4[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testModifyEventOverWindow[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testTimeWindowWithPastEvents[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testSlidingWindowExpire[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testWindowExpireActionDeserialization[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testIdleTimeAndTimeToNextJob[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testExpirationOnModification[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testDuplicateFiring1[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testSimpleTimeWindow[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testEventStreamWithEPsAndDefaultPseudo[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testEventExpirationInSlidingWindow[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]java.lang.ClassCastException: class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testExpiredEventWithPendingActivations[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testSerializationDeserliaizationWithRectractedExpireFact[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]Expecting actual not to be null org.drools.compiler.integrationtests.CepEspTest.testRetractFromWindow[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.NegativePatternsTest.testConstrainedAbsence[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.NegativePatternsTest.testMultipleEntryPoints[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.NegativePatternsTest.testMultipleEvents[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.NegativePatternsTest.testSingleEvent[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.NegativePatternsTest.testConstrainedAbsence[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.NegativePatternsTest.testMultipleEntryPoints[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.NegativePatternsTest.testMultipleEvents[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.NegativePatternsTest.testSingleEvent[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.TimerAndCalendarWithPseudoTimeTest.testExpiredPropagations[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.TimerAndCalendarWithPseudoTimeTest.testExpiredPropagations[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.incrementalcompilation.IncrementalCompilationCepTest.testIncrementalCompilationWithSlidingWindow[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.incrementalcompilation.IncrementalCompilationCepTest.testAddRuleWithSlidingWindows[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.incrementalcompilation.IncrementalCompilationCepTest.testChangeWindowTime[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.incrementalcompilation.IncrementalCompilationCepTest.testIncrementalCompilationWithSlidingWindow[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.incrementalcompilation.IncrementalCompilationCepTest.testChangeWindowTime[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.mvel.integrationtests.ExpirationTest.testSoftExpirationWithDeclaration[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.mvel.integrationtests.ExpirationTest.testSoftExpiration[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.mvel.integrationtests.ExpirationTest.testSoftExpirationWithDeclaration[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.mvel.integrationtests.ExpirationTest.testSoftExpiration[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.mvel.integrationtests.FirstOrderLogicTest.testForallWithSlidingWindow[KieBase type=CLOUD_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.mvel.integrationtests.LifecycleTest.testExpires[KieBase type=CLOUD_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.mvel.integrationtests.LifecycleTest.testExpires[KieBase type=CLOUD_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.mvel.integrationtests.PolymorphismTest.testModifySubclassOverWindow[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.mvel.integrationtests.PolymorphismTest.testModifySubclassOverWindow[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.mvel.integrationtests.concurrency.MultithreadTest.testSlidingTimeWindows[KieBase type=CLOUD_IDENTITY]Expecting empty but was: [java.lang.ClassCastException: class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app') at org.drools.core.reteoo.RightTupleImpl.getTupleSink(RightTupleImpl.java:56) at org.drools.core.reteoo.RightTupleImpl.setExpired(RightTupleImpl.java:273) at org.drools.core.impl.WorkingMemoryReteExpireAction.lambda$internalExecute$0(WorkingMemoryReteExpireAction.java:87) ...(18 remaining lines not displayed - this can be changed with Assertions.setMaxStackTraceElementsDisplayed)] org.drools.mvel.integrationtests.concurrency.MultithreadTest.testSlidingTimeWindows[KieBase type=CLOUD_IDENTITY_MODEL_PATTERN]Expecting empty but was: [java.lang.ClassCastException: class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app') at org.drools.core.reteoo.RightTupleImpl.getTupleSink(RightTupleImpl.java:56) at org.drools.core.reteoo.RightTupleImpl.setExpired(RightTupleImpl.java:273) at org.drools.core.impl.WorkingMemoryReteExpireAction.lambda$internalExecute$0(WorkingMemoryReteExpireAction.java:87) ...(18 remaining lines not displayed - this can be changed with Assertions.setMaxStackTraceElementsDisplayed)] org.drools.testcoverage.functional.oopath.OOPathCepTest.testDeclaredTimeWindowWithOOPathInRule[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.testcoverage.functional.oopath.OOPathCepTest.testTimeWindowWithOOPath[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.testcoverage.functional.oopath.OOPathCepTest.testDeclaredTimeWindowWithOOPathInRule[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.testcoverage.functional.oopath.OOPathCepTest.testTimeWindowWithOOPath[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app') |
8708a6e
to
79cdbd7
Compare
(tests) - kogito-runtimes job Reproducerexport BUILD_MVN_OPTS_CURRENT= NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution Test results:
Those are the test failures: org.kie.kogito.quarkus.serverless.workflow.deployment.livereload.LiveReloadProcessorTest.testGrpc1 expectation failed.Expected status code <201> but was <500>. |
(tests) - drools job Reproducerexport BUILD_MVN_OPTS_CURRENT=-Dfull -Prun-code-coverage NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution Test results:
Those are the test failures: org.drools.kiesession.ReteTest.testRetractObjectclass org.drools.core.reteoo.MockObjectSink cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.MockObjectSink and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.model.codegen.execmodel.CepTest.testDeclaredSlidingWindowWithEntryPoint[STANDARD_FROM_DRL]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.model.codegen.execmodel.CepTest.testDeclaredSlidingWindow[STANDARD_FROM_DRL]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.model.codegen.execmodel.CepTest.testCollectWithDeclaredWindow[STANDARD_FROM_DRL]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.model.codegen.execmodel.CepTest.testDeclaredSlidingWindowWithEntryPoint[PATTERN_DSL]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.model.codegen.execmodel.CepTest.testDeclaredSlidingWindow[PATTERN_DSL]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.model.codegen.execmodel.CepTest.testCollectWithDeclaredWindow[PATTERN_DSL]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.serialization.protobuf.UnmarshallingTest.testMarshallWithTimerclass org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.AccumulateCepTest.testAccumulatesExpireVsCancel[KieBase type=STREAM_IDENTITY]java.lang.ClassCastExceptionorg.drools.compiler.integrationtests.AccumulateCepTest.testAccumulatesExpireVsCancel[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]java.lang.ClassCastExceptionorg.drools.compiler.integrationtests.CepEspTest.testPastEventExipration[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testEventExpiration4[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testModifyEventOverWindow[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testTimeWindowWithPastEvents[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testSlidingWindowExpire[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testWindowExpireActionDeserialization[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testIdleTimeAndTimeToNextJob[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testExpirationOnModification[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testDuplicateFiring1[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testSimpleTimeWindow[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testEventStreamWithEPsAndDefaultPseudo[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testEventExpirationInSlidingWindow[KieBase type=STREAM_IDENTITY]java.lang.ClassCastException: class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testExpiredEventWithPendingActivations[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testSerializationDeserliaizationWithRectractedExpireFact[KieBase type=STREAM_IDENTITY]Expecting actual not to be null org.drools.compiler.integrationtests.CepEspTest.testRetractFromWindow[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testPastEventExipration[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testEventExpiration4[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testModifyEventOverWindow[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testTimeWindowWithPastEvents[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]java.lang.ClassCastExceptionorg.drools.compiler.integrationtests.CepEspTest.testSlidingWindowExpire[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]java.lang.ClassCastExceptionorg.drools.compiler.integrationtests.CepEspTest.testWindowExpireActionDeserialization[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testIdleTimeAndTimeToNextJob[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testExpirationOnModification[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testDuplicateFiring1[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testSimpleTimeWindow[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testEventStreamWithEPsAndDefaultPseudo[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testEventExpirationInSlidingWindow[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]java.lang.ClassCastException: class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testExpiredEventWithPendingActivations[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.CepEspTest.testSerializationDeserliaizationWithRectractedExpireFact[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]Expecting actual not to be null org.drools.compiler.integrationtests.CepEspTest.testRetractFromWindow[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.NegativePatternsTest.testConstrainedAbsence[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.NegativePatternsTest.testMultipleEntryPoints[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.NegativePatternsTest.testMultipleEvents[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.NegativePatternsTest.testSingleEvent[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.NegativePatternsTest.testConstrainedAbsence[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.NegativePatternsTest.testMultipleEntryPoints[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.NegativePatternsTest.testMultipleEvents[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.NegativePatternsTest.testSingleEvent[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.TimerAndCalendarWithPseudoTimeTest.testExpiredPropagations[KieBase type=STREAM_IDENTITY]java.lang.ClassCastExceptionorg.drools.compiler.integrationtests.TimerAndCalendarWithPseudoTimeTest.testExpiredPropagations[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]java.lang.ClassCastExceptionorg.drools.compiler.integrationtests.incrementalcompilation.IncrementalCompilationCepTest.testIncrementalCompilationWithSlidingWindow[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.incrementalcompilation.IncrementalCompilationCepTest.testAddRuleWithSlidingWindows[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.incrementalcompilation.IncrementalCompilationCepTest.testChangeWindowTime[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.incrementalcompilation.IncrementalCompilationCepTest.testIncrementalCompilationWithSlidingWindow[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.incrementalcompilation.IncrementalCompilationCepTest.testChangeWindowTime[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.mvel.integrationtests.ExpirationTest.testSoftExpirationWithDeclaration[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.mvel.integrationtests.ExpirationTest.testSoftExpiration[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.mvel.integrationtests.ExpirationTest.testSoftExpirationWithDeclaration[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.mvel.integrationtests.ExpirationTest.testSoftExpiration[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.mvel.integrationtests.FirstOrderLogicTest.testForallWithSlidingWindow[KieBase type=CLOUD_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.mvel.integrationtests.LifecycleTest.testExpires[KieBase type=CLOUD_IDENTITY]java.lang.ClassCastExceptionorg.drools.mvel.integrationtests.LifecycleTest.testExpires[KieBase type=CLOUD_IDENTITY_MODEL_PATTERN]java.lang.ClassCastExceptionorg.drools.mvel.integrationtests.PolymorphismTest.testModifySubclassOverWindow[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.mvel.integrationtests.PolymorphismTest.testModifySubclassOverWindow[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.mvel.integrationtests.concurrency.MultithreadTest.testSlidingTimeWindows[KieBase type=CLOUD_IDENTITY]Expecting empty but was: [java.lang.ClassCastException: class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app') at org.drools.core.reteoo.RightTupleImpl.getTupleSink(RightTupleImpl.java:56) at org.drools.core.reteoo.RightTupleImpl.setExpired(RightTupleImpl.java:273) at org.drools.core.impl.WorkingMemoryReteExpireAction.lambda$internalExecute$0(WorkingMemoryReteExpireAction.java:87) ...(22 remaining lines not displayed - this can be changed with Assertions.setMaxStackTraceElementsDisplayed)] org.drools.mvel.integrationtests.concurrency.MultithreadTest.testSlidingTimeWindows[KieBase type=CLOUD_IDENTITY_MODEL_PATTERN]Expecting empty but was: [java.lang.ClassCastException: class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app') at org.drools.core.reteoo.RightTupleImpl.getTupleSink(RightTupleImpl.java:56) at org.drools.core.reteoo.RightTupleImpl.setExpired(RightTupleImpl.java:273) at org.drools.core.impl.WorkingMemoryReteExpireAction.lambda$internalExecute$0(WorkingMemoryReteExpireAction.java:87) ...(18 remaining lines not displayed - this can be changed with Assertions.setMaxStackTraceElementsDisplayed)] org.drools.testcoverage.functional.oopath.OOPathCepTest.testDeclaredTimeWindowWithOOPathInRule[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.testcoverage.functional.oopath.OOPathCepTest.testTimeWindowWithOOPath[KieBase type=STREAM_IDENTITY]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.testcoverage.functional.oopath.OOPathCepTest.testDeclaredTimeWindowWithOOPathInRule[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app')org.drools.testcoverage.functional.oopath.OOPathCepTest.testTimeWindowWithOOPath[KieBase type=STREAM_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.WindowNode cannot be cast to class org.drools.core.reteoo.BetaNode (org.drools.core.reteoo.WindowNode and org.drools.core.reteoo.BetaNode are in unnamed module of loader 'app') |
…ary super cache problem in Drools)
79cdbd7
to
ae0c3a3
Compare
drools-core/src/main/java/org/drools/core/reteoo/LeftTuple.java
Outdated
Show resolved
Hide resolved
drools-core/src/main/java/org/drools/core/reteoo/SingleLeftTupleSinkAdapter.java
Show resolved
Hide resolved
Kudos, SonarCloud Quality Gate passed! |
(tests) - kogito-apps job Reproducerexport BUILD_MVN_OPTS_CURRENT= NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution Test results:
Those are the test failures: org.kie.kogito.index.ProcessDataIndexOracleIT.testProcessInstanceEventsFailed to load ApplicationContext |
…e secondary super cache problem in Drools) (apache#5451)" This reverts commit abbfa6f.
…ary super cache problem in Drools) (apache#5451) * [DROOLS-7528] Avoid casting to unnecessary interfaces (Fix the secondary super cache problem in Drools) * Reintroduce fix in LeftTuple * The TupleSink is not always a BetaNode * Removed leftover (cherry picked from commit abbfa6f)
Thank you for submitting this pull request
NOTE!: Double check the target branch for this PR.
The default is
main
so it will target Drools 8 / Kogito.If this PR is not strictly related to drools and kogito project in
drools.git
, it should probably target7.x
as a branchPorts If a forward-port or a backport is needed, paste the forward port PR here
link
JIRA: (please edit the JIRA link if it exists)
[DROOLS-7528] Avoid casting to unnecessary interfaces (Fix the secondary super cache problem in Drools)
referenced Pull Requests: (please edit the URLs of referenced pullrequests if they exist)
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 [drools|kogito-runtimes|kogito-apps|kogito-examples] tests
for a full downstream build
run_fdb
a compile downstream build please add comment: Jenkins run cdb
a full production downstream build please add comment: Jenkins execute product fdb
an upstream build please add comment: Jenkins run upstream
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 [drools|kogito-runtimes|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 [drools|kogito-runtimes|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 [drools|kogito-runtimes|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 [drools|kogito-runtimes|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 [drools|kogito-runtimes|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 the7.67.x
branch).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.