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

LimitedExecutor.tryExecute blocking call causing random test failures

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 11.0.0.Final
    • 11.0.0.Final
    • Core, Test Suite
    • None

      Causing random failures in ClusterTopologyManagerTest

            java.lang.AssertionError: Blocking call! jdk.internal.misc.Unsafe#park on thread Thread[non-blocking-thread-ClusterTopologyManagerTest-NodeD-p15671-t5,5,ISPN-non-blocking-thread-group]
      	at org.infinispan.util.CoreTestBlockHoundIntegration.lambda$applyTo$0(CoreTestBlockHoundIntegration.java:44)
      	at reactor.blockhound.BlockHound$Builder.lambda$install$8(BlockHound.java:383)
      	at reactor.blockhound.BlockHoundRuntime.checkBlocking(BlockHoundRuntime.java:89)
      	at java.base/jdk.internal.misc.Unsafe.park(Unsafe.java)
      	at java.base/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
      	at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:885)
      	at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(AbstractQueuedSynchronizer.java:917)
      	at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:1240)
      	at java.base/java.util.concurrent.locks.ReentrantLock.lock(ReentrantLock.java:267)
      	at org.infinispan.executors.LimitedExecutor.tryExecute(LimitedExecutor.java:142)
      	at org.infinispan.executors.LimitedExecutor.access$300(LimitedExecutor.java:38)
      	at org.infinispan.executors.LimitedExecutor$Runner.accept(LimitedExecutor.java:243)
      	at org.infinispan.executors.LimitedExecutor$Runner.accept(LimitedExecutor.java:234)
      	at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859)
      	at java.base/java.util.concurrent.CompletableFuture.uniWhenCompleteStage(CompletableFuture.java:883)
      	at java.base/java.util.concurrent.CompletableFuture.whenComplete(CompletableFuture.java:2251)
      	at java.base/java.util.concurrent.CompletableFuture.whenComplete(CompletableFuture.java:143)
      	at org.infinispan.executors.LimitedExecutor.lambda$executeAsync$1(LimitedExecutor.java:136)
      	at org.infinispan.executors.LimitedExecutor.actualRun(LimitedExecutor.java:192)
      	at org.infinispan.executors.LimitedExecutor.runTasks(LimitedExecutor.java:176)
      	at org.infinispan.executors.LimitedExecutor.access$100(LimitedExecutor.java:38)
      	at org.infinispan.executors.LimitedExecutor$Runner.run(LimitedExecutor.java:237)
      	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      	at java.base/java.lang.Thread.run(Thread.java:834)
      

            wburns@redhat.com Will Burns
            dberinde@redhat.com Dan Berindei (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: