[infinispan-issues] [JBoss JIRA] (ISPN-8610) ClientListenerLeakTest.testNoLeaksAfterShutdown random failures

Dan Berindei (Jira) issues at jboss.org
Sat Jan 12 11:39:00 EST 2019


    [ https://issues.jboss.org/browse/ISPN-8610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13681193#comment-13681193 ] 

Dan Berindei commented on ISPN-8610:
------------------------------------

The {{ClientListenerNotifier}} executor that was causing this error was removed in 9.2.0 with the move to Netty.

However, the new {{ClientListenerNotifier}} now has a {{reconnectExecutor}}, which is used less often, but is not closed properly, and it is leaked in {{ClientListenerRemoveOnStopTest}}:

{noformat}
"pool-19-thread-1" #7 prio=5 tid=0x2c9 nid=NA timed_waiting
   java.lang.Thread.State: TIMED_WAITING
	sun.misc.Unsafe.park(Native Method)
	java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
	java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
	java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.poll(ScheduledThreadPoolExecutor.java:1134)
	java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.poll(ScheduledThreadPoolExecutor.java:809)
	java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1073)
	java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
	java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	java.lang.Thread.run(Thread.java:748)
{noformat}


> ClientListenerLeakTest.testNoLeaksAfterShutdown random failures
> ---------------------------------------------------------------
>
>                 Key: ISPN-8610
>                 URL: https://issues.jboss.org/browse/ISPN-8610
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Test Suite - Server
>    Affects Versions: 9.2.0.Beta1
>            Reporter: Dan Berindei
>            Priority: Critical
>              Labels: testsuite_stability
>             Fix For: 9.4.6.Final
>
>
> {noformat}
>       java.lang.AssertionError: Leaked threads: [Thread[Client-Listener-ClientListenerLeakTest-DC6560A287854ED7,5,main]]
> 	at org.infinispan.test.TestingUtil.detectThreadLeaks(TestingUtil.java:1765)
> 	at org.infinispan.client.hotrod.event.ClientListenerLeakTest.testNoLeaksAfterShutdown(ClientListenerLeakTest.java:41)
> {noformat}
> More examples at http://ci.infinispan.org/job/Infinispan/job/master/324/testReport/org.infinispan.client.hotrod.event/ClientListenerLeakTest/testNoLeaksAfterShutdown/history/



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the infinispan-issues mailing list