Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-5212

org.infinispan.manager.CacheManagerTest.testCacheManagerRestartReusingConfigurations fails randomly

    XMLWordPrintable

Details

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jbilek@redhat.com Jiří Bílek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: