]
Dan Berindei reassigned ISPN-9189:
----------------------------------
Assignee: Dan Berindei
ExceptionEvictionTest test failure causes testng to panic
---------------------------------------------------------
Key: ISPN-9189
URL:
https://issues.jboss.org/browse/ISPN-9189
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Core
Affects Versions: 9.3.0.CR1
Reporter: Gustavo Fernandes
Assignee: Dan Berindei
A single test failure is apparently causing 300+ cascade failures due to cleanup issues
on testng. The first logged failure is:
{noformat}
ERROR] clearContent(org.infinispan.eviction.impl.ExceptionEvictionTest) Time elapsed:
0.022 s <<< FAILURE!
java.lang.AssertionError: expected:<0> but was:<1>
at org.testng.AssertJUnit.fail(AssertJUnit.java:59)
at org.testng.AssertJUnit.failNotEquals(AssertJUnit.java:364)
at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:80)
at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:170)
at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:177)
at
org.infinispan.eviction.impl.ExceptionEvictionTest.clearContent(ExceptionEvictionTest.java:197)
{noformat}
Followed by 300+ occcurences of:
{noformat}
[ERROR] testExceptionOnInsert[REPL_SYNC, nodeCount=3, storageType=OBJECT,
optimisticTransaction=false](org.infinispan.eviction.impl.ExceptionEvictionTest) Time
elapsed: 0.001 s <<< FAILURE!
java.lang.NullPointerException
at
org.infinispan.commons.test.RunningTestsRegistry.unregisterThreadWithTest(RunningTestsRegistry.java:39)
at
org.infinispan.commons.test.TestNGTestListener.onConfigurationFailure(TestNGTestListener.java:142)
at org.testng.internal.Invoker.runConfigurationListeners(Invoker.java:1659)
at org.testng.internal.Invoker.handleConfigurationFailure(Invoker.java:299)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:237)
{noformat}
The related build is
https://ci.infinispan.org/job/Infinispan/job/master/625/