tkobayas commented on PR #5605:
URL:
https://github.com/apache/incubator-kie-drools/pull/5605#issuecomment-1835270640
GHA: ubuntu java 11
```
2023-11-30T14:22:10.6884122Z [ERROR] Tests run: 56, Failures: 2, Errors: 0,
Skipped: 0, Time elapsed: 3.775 s <<< FAILURE! -- in
org.drools.mvel.integrationtests.ExpirationTest
2023-11-30T14:22:10.6886862Z [ERROR]
org.drools.mvel.integrationtests.ExpirationTest.testAvoidAlreadyExpiredFactsToForeverRemainInWM[KieBase
type=STREAM_IDENTITY] -- Time elapsed: 0.049 s <<< FAILURE!
2023-11-30T14:22:10.6888748Z org.junit.ComparisonFailure: expected:<[0]L>
but was:<[1]L>
...
2023-11-30T14:27:25.6638223Z [ERROR] Tests run: 6, Failures: 0, Errors: 1,
Skipped: 0, Time elapsed: 0.304 s <<< FAILURE! -- in
org.kie.pmml.evaluator.core.PMMLRuntimeContextImplTest
2023-11-30T14:27:25.6641123Z [ERROR]
org.kie.pmml.evaluator.core.PMMLRuntimeContextImplTest.getFixedProbabilityMap
-- Time elapsed: 0.005 s <<< ERROR!
2023-11-30T14:27:25.6642887Z java.lang.IllegalArgumentException: bound must
be positive
2023-11-30T14:27:25.6643782Z at
java.base/java.util.Random.nextInt(Random.java:388)
2023-11-30T14:27:25.6645267Z at
org.kie.pmml.evaluator.core.PMMLRuntimeContextImplTest.lambda$getFixedProbabilityMap$0(PMMLRuntimeContextImplTest.java:92)
2023-11-30T14:27:25.6646850Z at
java.base/java.util.stream.IntPipeline$6$1.accept(IntPipeline.java:286)
```
GHA: windows java 11
```
2023-11-30T14:24:08.2895423Z [ERROR] Tests run: 56, Failures: 2, Errors: 0,
Skipped: 0, Time elapsed: 4.204 s <<< FAILURE! -- in
org.drools.mvel.integrationtests.ExpirationTest
2023-11-30T14:24:08.2922698Z [ERROR]
org.drools.mvel.integrationtests.ExpirationTest.testAvoidAlreadyExpiredFactsToForeverRemainInWM[KieBase
type=STREAM_IDENTITY] -- Time elapsed: 0.062 s <<< FAILURE!
2023-11-30T14:24:08.2924517Z org.junit.ComparisonFailure: expected:<[0]L>
but was:<[1]L>
```
=> `ExpirationTest.testAvoidAlreadyExpiredFactsToForeverRemainInWM` may be
related to this PR? Sorry, I didn't dig deeper.
Jenkins:
```
[INFO] --- maven-compiler-plugin:3.11.0:compile (default-compile) @
drools-canonical-model ---
[INFO] Changes detected - recompiling the module! :dependency
[INFO] Compiling 298 source files with javac [debug release 11] to
target/classes
An exception has occurred in the compiler (17.0.8). Please file a bug
against the Java compiler via the Java bug reporting page
(https://bugreport.java.com) after checking the Bug Database
(https://bugs.java.com) for duplicates. Include your program, the following
diagnostic, and the parameters passed to the Java compiler in your report.
Thank you.
java.lang.NullPointerException: Cannot invoke
"com.sun.tools.javac.code.Type.getThrownTypes()" because "tree.meth.type" is
null
at
jdk.compiler/com.sun.tools.javac.comp.Flow$FlowAnalyzer.visitApply(Flow.java:1439)
at
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1797)
at
jdk.compiler/com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
at
jdk.compiler/com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(Flow.java:444)
```
=> Probably just Jenkins environment issue. Other PR doesn't raise the
error.
--
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]