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

Intermittent test failure: ClusterTopologyManagerTest.testClusterRecoveryAfterSplitAndCoordLeave

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Done
    • 7.1.0.Alpha1
    • 8.2.0.Beta1
    • Test Suite
    • None

    Description

      ~~~~~~~~~~~~~~~~~~~~~~~~~ ENVIRONMENT INFO ~~~~~~~~~~~~~~~~~~~~~~~~~~
      jgroups.bind_addr = 127.0.0.1
      java.runtime.version = 1.7.0_71-mockbuild_2014_10_03_09_36-b00
      java.runtime.name =OpenJDK Runtime Environment
      java.vm.version = 24.65-b04
      java.vm.vendor = Oracle Corporation
      os.name = Linux
      os.version = 3.10.0-123.9.3.el7.x86_64
      sun.arch.data.model = 64
      sun.cpu.endian = little
      protocol.stack = null
      infinispan.test.jgroups.protocol = tcp
      infinispan.unsafe.allow_jdk8_chm = true
      java.net.preferIPv4Stack = true
      java.net.preferIPv6Stack = null
      log4.configuration = file:/opt/infinispan-log4j.xml
      MAVEN_OPTS = null
      ~~~~~~~~~~~~~~~~~~~~~~~~~ ENVIRONMENT INFO ~~~~~~~~~~~~~~~~~~~~~~~~~~
      Tests run: 5625, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 546.54 sec <<< FAILURE! - in TestSuite
      testClusterRecoveryAfterSplitAndCoordLeave(org.infinispan.statetransfer.ClusterTopologyManagerTest)  Time elapsed: 0.3 sec  <<< FAILURE!
      org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.statetransfer.StateTransferManagerImpl.waitForInitialStateTransferToComplete() throws java.lang.InterruptedException on object of type StateTransferManagerImpl
      	at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:170)
      	at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:869)
      	at org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:638)
      	at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:627)
      	at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:530)
      	at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:217)
      	at org.infinispan.cache.impl.CacheImpl.start(CacheImpl.java:813)
      	at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:584)
      	at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:539)
      	at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:416)
      	at org.infinispan.test.MultipleCacheManagersTest.cache(MultipleCacheManagersTest.java:365)
      	at org.infinispan.statetransfer.ClusterTopologyManagerTest.testClusterRecoveryAfterSplitAndCoordLeave(ClusterTopologyManagerTest.java:208)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
      	at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
      	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
      	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
      	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
      	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
      	at org.testng.TestRunner.privateRun(TestRunner.java:767)
      	at org.testng.TestRunner.run(TestRunner.java:617)
      	at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
      	at org.testng.SuiteRunner.access$000(SuiteRunner.java:38)
      	at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:382)
      	at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: org.infinispan.commons.CacheException: Initial state transfer timed out for cache testCache on ClusterTopologyManagerTest-NodeN-5046
      	at org.infinispan.statetransfer.StateTransferManagerImpl.waitForInitialStateTransferToComplete(StateTransferManagerImpl.java:218)
      	at sun.reflect.GeneratedMethodAccessor159.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:168)
      	... 31 more
      
      
      Results :
      
      Failed tests: 
        ClusterTopologyManagerTest.testClusterRecoveryAfterSplitAndCoordLeave:208->MultipleCacheManagersTest.cache:365 ยป Cache
      
      Tests run: 5625, Failures: 1, Errors: 0, Skipped: 0
      

      Also the execution of ClusterTopologyManagerTest is extremely slow, it takes more than 2 minutes here. Is that really necessary?

      Attachments

        Issue Links

          Activity

            People

              dberinde@redhat.com Dan Berindei
              sgrinove Sanne Grinovero
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: