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

org.infinispan.manager.CacheManagerTest.testCacheManagerRestartReusingConfigurations fails randomly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 5.2.10.Final, 7.0.0.Final
    • Test Suite

      org.infinispan.manager.CacheManagerTest.testCacheManagerRestartReusingConfigurations fails, so far, I've seen it on Windows (seems random there) and on RHEL7 (seems consistent - every JDK).

      Error Message

      Unable to invoke method public void org.infinispan.statetransfer.StateTransferManagerImpl.waitForInitialStateTransferToComplete() throws java.lang.InterruptedException on object of type StateTransferManagerImpl
      Stacktrace
      
            org.infinispan.CacheException: Unable to invoke method public void org.infinispan.statetransfer.StateTransferManagerImpl.waitForInitialStateTransferToComplete() throws java.lang.InterruptedException on object of type StateTransferManagerImpl
      	at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:205)
      	at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:886)
      	at org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:657)
      	at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:646)
      	at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:549)
      	at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:217)
      	at org.infinispan.CacheImpl.start(CacheImpl.java:582)
      	at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:686)
      	at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:649)
      	at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:545)
      	at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:518)
      	at org.infinispan.manager.CacheManagerTest$4$1.call(CacheManagerTest.java:374)
      	at org.infinispan.test.TestingUtil.withCacheManager(TestingUtil.java:1237)
      	at org.infinispan.manager.CacheManagerTest$4.call(CacheManagerTest.java:370)
      	at org.infinispan.test.TestingUtil.withCacheManagers(TestingUtil.java:1252)
      	at org.infinispan.manager.CacheManagerTest.testCacheManagerRestartReusingConfigurations(CacheManagerTest.java:356)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
      	at java.lang.Thread.run(Thread.java:662)
      Caused by: org.infinispan.CacheException: Initial state transfer timed out for cache ___defaultcache on CacheManagerTest-NodeA-49570
      	at org.infinispan.statetransfer.StateTransferManagerImpl.waitForInitialStateTransferToComplete(StateTransferManagerImpl.java:216)
      	at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:203)
      	... 36 more
      ... Removed 19 stack frames
      

      Unrelated to https://issues.jboss.org/browse/ISPN-3963.

      Jenkins job link:
      https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/eap-6x-manu-infinispan-win/36/jdk=java16_default,label=Win2k8_x86/testReport/org.infinispan.manager/CacheManagerTest/testCacheManagerRestartReusingConfigurations_3/

      Downstream BZ was: https://bugzilla.redhat.com/show_bug.cgi?id=1102058

              Unassigned Unassigned
              mvinkler1@redhat.com Michal Vinkler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: