Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-9189

ExceptionEvictionTest test failure causes testng to panic

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 9.3.0.CR1
    • 9.3.0.CR1
    • Test Suite
    • None

      A single test failure is apparently causing 300+ cascade failures due to cleanup issues on testng. The first logged failure is:

      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)
      

      Followed by 300+ occcurences of:

      [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)
      

      The related build is https://ci.infinispan.org/job/Infinispan/job/master/625/

            dberinde@redhat.com Dan Berindei (Inactive)
            gfernand@redhat.com Gustavo Fernandes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: