<div dir="ltr"><div><div><div>I tried our test suite on a slower machine (iMac from 2011). It passes consistently there.<br><br></div>On my laptop, I keep seeing this from time to time (in different tests):<br><br>2018-04-19T19:53:09.513 WARN [Context=org.infinispan.LOCKS]ISPN000320: After merge (or coordinator change), cache still hasn't recovered a majority of members and must stay in degraded mode. Current members are [sombrero-19385], lost members are [sombrero-42917], stable members are [sombrero-42917, sombrero-19385] <br><br></div>It happens when we shutdown nodes one after the other (even when waiting for cluster status to be "healthy" plus extra 2 seconds).<br><br></div>After that the nodes remains blocked in DefaultCacheManager.stop<br><br>2018-04-19T19:49:29.242 AVERTISSEMENT Thread Thread[vert.x-worker-thread-5,5,main] has been blocked for 60774 ms, time limit is 60000 <br>io.vertx.core.VertxException: Thread blocked<br> at sun.misc.Unsafe.park(Native Method)<br> at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)<br> at java.util.concurrent.CompletableFuture$Signaller.block(CompletableFuture.java:1693)<br> at java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3323)<br> at java.util.concurrent.CompletableFuture.waitingGet(CompletableFuture.java:1729)<br> at java.util.concurrent.CompletableFuture.join(CompletableFuture.java:1934)<br> at org.infinispan.manager.DefaultCacheManager.terminate(DefaultCacheManager.java:688)<br> at org.infinispan.manager.DefaultCacheManager.stopCaches(DefaultCacheManager.java:734)<br> at org.infinispan.manager.DefaultCacheManager.stop(DefaultCacheManager.java:711)<br> at io.vertx.ext.cluster.infinispan.InfinispanClusterManager.lambda$leave$5(InfinispanClusterManager.java:285)<br> at io.vertx.ext.cluster.infinispan.InfinispanClusterManager$$Lambda$421/578931659.handle(Unknown Source)<br> at io.vertx.core.impl.ContextImpl.lambda$executeBlocking$1(ContextImpl.java:265)<br> at io.vertx.core.impl.ContextImpl$$Lambda$27/1330754528.run(Unknown Source)<br> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)<br> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)<br> at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)<br> at java.lang.Thread.run(Thread.java:748)<br><br><div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-04-18 17:00 GMT+02:00 Thomas SEGISMONT <span dir="ltr"><<a href="mailto:tsegismont@gmail.com" target="_blank">tsegismont@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>So here's the Circular Referenced Suppressed Exception<br><br>[stateTransferExecutor-thread-<wbr>-p221-t33] 2018-04-18T16:15:06.662+02:00 WARN [org.infinispan.statetransfer.<wbr>InboundTransferTask] ISPN000210: Failed to request state of cache __vertx.subs from node sombrero-25286, segments {0}<br>org.infinispan.remoting.<wbr>transport.jgroups.<wbr>SuspectException: ISPN000400: Node sombrero-25286 was suspected<br> at org.infinispan.remoting.<wbr>transport.ResponseCollectors.<wbr>remoteNodeSuspected(<wbr>ResponseCollectors.java:33)<br> at org.infinispan.remoting.<wbr>transport.impl.<wbr>SingleResponseCollector.<wbr>targetNotFound(<wbr>SingleResponseCollector.java:<wbr>31)<br> at org.infinispan.remoting.<wbr>transport.impl.<wbr>SingleResponseCollector.<wbr>targetNotFound(<wbr>SingleResponseCollector.java:<wbr>17)<br> at org.infinispan.remoting.<wbr>transport.<wbr>ValidSingleResponseCollector.<wbr>addResponse(<wbr>ValidSingleResponseCollector.<wbr>java:23)<br> at org.infinispan.remoting.<wbr>transport.impl.<wbr>SingleTargetRequest.<wbr>receiveResponse(<wbr>SingleTargetRequest.java:51)<br> at org.infinispan.remoting.<wbr>transport.impl.<wbr>SingleTargetRequest.onNewView(<wbr>SingleTargetRequest.java:42)<br> at org.infinispan.remoting.<wbr>transport.jgroups.<wbr>JGroupsTransport.addRequest(<wbr>JGroupsTransport.java:921)<br> at org.infinispan.remoting.<wbr>transport.jgroups.<wbr>JGroupsTransport.<wbr>invokeCommand(<wbr>JGroupsTransport.java:815)<br> at org.infinispan.remoting.<wbr>transport.jgroups.<wbr>JGroupsTransport.<wbr>invokeCommand(<wbr>JGroupsTransport.java:123)<br> at org.infinispan.remoting.rpc.<wbr>RpcManagerImpl.invokeCommand(<wbr>RpcManagerImpl.java:138)<br> at org.infinispan.statetransfer.<wbr>InboundTransferTask.<wbr>startTransfer(<wbr>InboundTransferTask.java:134)<br> at org.infinispan.statetransfer.<wbr>InboundTransferTask.<wbr>requestSegments(<wbr>InboundTransferTask.java:113)<br> at org.infinispan.conflict.impl.<wbr>StateReceiverImpl$<wbr>SegmentRequest.lambda$<wbr>requestState$2(<wbr>StateReceiverImpl.java:164)<br> at org.infinispan.executors.<wbr>LimitedExecutor.lambda$<wbr>executeAsync$1(<wbr>LimitedExecutor.java:101)<br> at org.infinispan.executors.<wbr>LimitedExecutor.runTasks(<wbr>LimitedExecutor.java:144)<br> at org.infinispan.executors.<wbr>LimitedExecutor.access$100(<wbr>LimitedExecutor.java:33)<br> at org.infinispan.executors.<wbr>LimitedExecutor$Runner.run(<wbr>LimitedExecutor.java:174)<br> at java.util.concurrent.<wbr>ThreadPoolExecutor.runWorker(<wbr>ThreadPoolExecutor.java:1149)<br> at java.util.concurrent.<wbr>ThreadPoolExecutor$Worker.run(<wbr>ThreadPoolExecutor.java:624)<br> at java.lang.Thread.run(Thread.<wbr>java:748)<br> Suppressed: java.util.concurrent.<wbr>ExecutionException: org.infinispan.remoting.<wbr>transport.jgroups.<wbr>SuspectException: ISPN000400: Node sombrero-25286 was suspected<br> at java.util.concurrent.<wbr>CompletableFuture.reportGet(<wbr>CompletableFuture.java:357)<br> at java.util.concurrent.<wbr>CompletableFuture.get(<wbr>CompletableFuture.java:1915)<br> at org.infinispan.util.<wbr>concurrent.CompletableFutures.<wbr>await(CompletableFutures.java:<wbr>82)<br> at org.infinispan.remoting.rpc.<wbr>RpcManagerImpl.blocking(<wbr>RpcManagerImpl.java:260)<br> ... 10 more<br> [CIRCULAR REFERENCE:org.infinispan.<wbr>remoting.transport.jgroups.<wbr>SuspectException: ISPN000400: Node sombrero-25286 was suspected]<br><br></div>It does not happen with 9.2.0.Final and prevents from using ISPN embedded with logback. Do you want me to file an issue ?<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2018-04-18 11:45 GMT+02:00 Thomas SEGISMONT <span dir="ltr"><<a href="mailto:tsegismont@gmail.com" target="_blank">tsegismont@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi folks,<br><br></div>Sorry I've been busy on other things and couldn't get back to you earlier.<br><br></div>I tried running vertx-infinispan test suite with 9.2.1.Final today. There are some problems still but I can't say which ones yet because I hit: <a href="https://jira.qos.ch/browse/LOGBACK-1027" target="_blank">https://jira.qos.ch/browse/LOG<wbr>BACK-1027</a><br><br></div>We use logback for test logs and all I get is:<br><br>2018-04-18 11:37:46,678 [stateTransferExecutor-thread-<wbr>-p4453-t24] ERROR o.i.executors.LimitedExecutor - Exception in task<br>java.lang.StackOverflowError: null<br> at ch.qos.logback.classic.spi.Thr<wbr>owableProxy.<init>(ThrowablePr<wbr>oxy.java:54)<br> at ch.qos.logback.classic.spi.Thr<wbr>owableProxy.<init>(ThrowablePr<wbr>oxy.java:60)<br> at ch.qos.logback.classic.spi.Thr<wbr>owableProxy.<init>(ThrowablePr<wbr>oxy.java:72)<br> at ch.qos.logback.classic.spi.Thr<wbr>owableProxy.<init>(ThrowablePr<wbr>oxy.java:60)<br> at ch.qos.logback.classic.spi.Thr<wbr>owableProxy.<init>(ThrowablePr<wbr>oxy.java:72)<br> at ch.qos.logback.classic.spi.Thr<wbr>owableProxy.<init>(ThrowablePr<wbr>oxy.java:60)<br> at ch.qos.logback.classic.spi.Thr<wbr>owableProxy.<init>(ThrowablePr<wbr>oxy.java:72)<br> at ch.qos.logback.classic.spi.Thr<wbr>owableProxy.<init>(ThrowablePr<wbr>oxy.java:60)<br> at ch.qos.logback.classic.spi.Thr<wbr>owableProxy.<init>(ThrowablePr<wbr>oxy.java:72)<br> at ch.qos.logback.classic.spi.Thr<wbr>owableProxy.<init>(ThrowablePr<wbr>oxy.java:60)<br> at ch.qos.logback.classic.spi.Thr<wbr>owableProxy.<init>(ThrowablePr<wbr>oxy.java:72)<br></div><div>... so on so forth<br></div><div><br></div><div>I will run the suite again without logback and tell you what the actual problem is.<br><br></div><div>Regards,<br></div><div>Thomas<br></div></div><div class="m_4662884477622455721HOEnZb"><div class="m_4662884477622455721h5"><div class="gmail_extra"><br><div class="gmail_quote">2018-03-27 11:15 GMT+02:00 Pedro Ruivo <span dir="ltr"><<a href="mailto:pedro@infinispan.org" target="_blank">pedro@infinispan.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">JIRA: <a href="https://issues.jboss.org/browse/ISPN-8994" rel="noreferrer" target="_blank">https://issues.jboss.org/brows<wbr>e/ISPN-8994</a><br>
<span class="m_4662884477622455721m_-950152444521841971im m_4662884477622455721m_-950152444521841971HOEnZb"><br>
On 27-03-2018 10:08, Pedro Ruivo wrote:<br>
> <br>
> <br>
> On 27-03-2018 09:03, Sebastian Laskawiec wrote:<br>
>> At the moment, the cluster health status checker enumerates all caches <br>
>> in the cache manager [1] and checks whether those cashes are running <br>
>> and not in degraded more [2].<br>
>><br>
>> I'm not sure how counter caches have been implemented. One thing is <br>
>> for sure - they should be taken into account in this loop [3].<br>
> <br>
> The private caches aren't listed by CacheManager.getCacheNames(). We <br>
> have to check them via InternalCacheRegistry.getInter<wbr>nalCacheNames().<br>
> <br>
> I'll open a JIRA if you don't mind :)<br>
> <br>
>><br>
>> [1] <br>
>> <a href="https://github.com/infinispan/infinispan/blob/master/core/src/main/java/org/infinispan/health/impl/ClusterHealthImpl.java#L22" rel="noreferrer" target="_blank">https://github.com/infinispan/<wbr>infinispan/blob/master/core/sr<wbr>c/main/java/org/infinispan/hea<wbr>lth/impl/ClusterHealthImpl.jav<wbr>a#L22</a> <br>
>><br>
>> [2] <br>
>> <a href="https://github.com/infinispan/infinispan/blob/master/core/src/main/java/org/infinispan/health/impl/CacheHealthImpl.java#L25" rel="noreferrer" target="_blank">https://github.com/infinispan/<wbr>infinispan/blob/master/core/sr<wbr>c/main/java/org/infinispan/hea<wbr>lth/impl/CacheHealthImpl.java#<wbr>L25</a> <br>
>><br>
>> [3] <br>
>> <a href="https://github.com/infinispan/infinispan/blob/master/core/src/main/java/org/infinispan/health/impl/ClusterHealthImpl.java#L23-L24" rel="noreferrer" target="_blank">https://github.com/infinispan/<wbr>infinispan/blob/master/core/sr<wbr>c/main/java/org/infinispan/hea<wbr>lth/impl/ClusterHealthImpl.jav<wbr>a#L23-L24</a> <br>
</span><div class="m_4662884477622455721m_-950152444521841971HOEnZb"><div class="m_4662884477622455721m_-950152444521841971h5">______________________________<wbr>_________________<br>
infinispan-dev mailing list<br>
<a href="mailto:infinispan-dev@lists.jboss.org" target="_blank">infinispan-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailma<wbr>n/listinfo/infinispan-dev</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>