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

Random TimeoutExceptions on query suite

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 9.0.0.Final
    • None
    • Test Suite
    • None

      After the removal of DONT_BUNDLE, many tests started to fail randomly with TimeOutExceptions. Stack trace from AsyncBackendTest:

      [TestSuiteProgress] Test starting: org.infinispan.query.backend.AsyncBackendTest.testHierarchy
      Transport protocol stack used = tcp
      17:20:14,373 ERROR (timeout-thread-AsyncBackendTest-NodeA-p3-t1) [InvocationContextInterceptor] ISPN000136: Error executing command PutKeyValueCommand, writing keys [*|person.1|-1]
      org.infinispan.util.concurrent.TimeoutException: Replication timeout for AsyncBackendTest-NodeB-14311
      	at org.infinispan.remoting.transport.jgroups.JGroupsTransport.checkRsp(JGroupsTransport.java:907)
      	at org.infinispan.remoting.transport.jgroups.JGroupsTransport.lambda$invokeRemotelyAsync$1(JGroupsTransport.java:634)
      	at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)
      	at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577)
      	at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
      	at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962)
      	at org.infinispan.remoting.transport.jgroups.SingleResponseFuture.call(SingleResponseFuture.java:51)
      	at org.infinispan.remoting.transport.jgroups.SingleResponseFuture.call(SingleResponseFuture.java:16)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)17:20:14,373 ERROR (jgroups-8,AsyncBackendTest-NodeB-14311) [InvocationContextInterceptor] ISPN000136: Error executing command PutKeyValueCommand, writing keys [2]
      org.infinispan.util.concurrent.TimeoutException: Replication timeout for AsyncBackendTest-NodeA-36041
      	at org.infinispan.remoting.transport.jgroups.JGroupsTransport.checkRsp(JGroupsTransport.java:907)
      	at org.infinispan.remoting.transport.jgroups.JGroupsTransport.lambda$invokeRemotelyAsync$1(JGroupsTransport.java:634)
      	at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)
      	at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577)
      	at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
      	at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962)
      	at org.infinispan.remoting.transport.jgroups.SingleResponseFuture.call(SingleResponseFuture.java:51)
      	at org.infinispan.remoting.transport.jgroups.SingleResponseFuture.call(SingleResponseFuture.java:16)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)Exception in thread "Hibernate Search: async deletion of index segments-1" org.infinispan.util.concurrent.TimeoutException: Replication timeout for AsyncBackendTest-NodeB-14311
      	at org.infinispan.interceptors.impl.AsyncInterceptorChainImpl.invoke(AsyncInterceptorChainImpl.java:252)
      	at org.infinispan.cache.impl.CacheImpl.executeCommandAndCommitIfNeeded(CacheImpl.java:1517)
      	at org.infinispan.cache.impl.CacheImpl.putInternal(CacheImpl.java:1120)
      	at org.infinispan.cache.impl.CacheImpl.put(CacheImpl.java:1110)
      	at org.infinispan.cache.impl.DecoratedCache.put(DecoratedCache.java:418)
      	at org.infinispan.cache.impl.AbstractDelegatingCache.put(AbstractDelegatingCache.java:358)
      	at org.infinispan.cache.impl.TypeConverterDelegatingAdvancedCache.put(TypeConverterDelegatingAdvancedCache.java:166)
      	at org.infinispan.lucene.impl.FileListOperations.updateFileList(FileListOperations.java:159)
      	at org.infinispan.lucene.impl.FileListOperations.deleteFileName(FileListOperations.java:137)
      	at org.infinispan.lucene.impl.DirectoryImplementor.deleteFile(DirectoryImplementor.java:70)
      	at org.infinispan.lucene.impl.DirectoryLucene$DeleteTask.run(DirectoryLucene.java:202)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: org.infinispan.util.concurrent.TimeoutException: Replication timeout for AsyncBackendTest-NodeB-14311
      	at org.infinispan.remoting.transport.jgroups.JGroupsTransport.checkRsp(JGroupsTransport.java:907)
      	at org.infinispan.remoting.transport.jgroups.JGroupsTransport.lambda$invokeRemotelyAsync$1(JGroupsTransport.java:634)
      	at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)
      	at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577)
      	at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
      	at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962)
      	at org.infinispan.remoting.transport.jgroups.SingleResponseFuture.call(SingleResponseFuture.java:51)
      	at org.infinispan.remoting.transport.jgroups.SingleResponseFuture.call(SingleResponseFuture.java:16)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
      	... 3 more
      
      

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

                Created:
                Updated:
                Resolved: