[ 
https://issues.apache.org/jira/browse/GEODE-477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14983203#comment-14983203
 ] 

Eric Shu commented on GEODE-477:
--------------------------------

The exception is caused by SubscriptionManagerImpl trying to recoverPrimary, in 
which SocketUtils.connect will be called. If at the time, PoolImpl is destroyed 
during closing cache, the exception could be seen from the server. As the 
client is being closed, the suspect string is fine. 

> CI failure: ClientServerMiscDUnitTest.testBug35380
> --------------------------------------------------
>
>                 Key: GEODE-477
>                 URL: https://issues.apache.org/jira/browse/GEODE-477
>             Project: Geode
>          Issue Type: Bug
>            Reporter: Jens Deppe
>            Assignee: Eric Shu
>              Labels: CI
>
> {noformat}
> Error Message
> java.lang.AssertionError: Suspicious strings were written to the log during 
> this run.
> Fix the strings or use DistributedTestCase.addExpectedException to ignore.
> -----------------------------------------------------------------------
> Found suspect string in log4j at line 1075
> [warn 2015/10/22 08:06:13.526 PDT <ServerConnection on port 29555 Thread 0> 
> tid=0x1d83] Server connection from 
> [identity(cc4-rh6(12797:loner):53851:fd011690,connection=1; port=53851]: 
> Unexpected IOException: 
> -----------------------------------------------------------------------
> Found suspect string in log4j at line 1076
> java.net.SocketException: Connection reset
> Stacktrace
> java.lang.AssertionError: Suspicious strings were written to the log during 
> this run.
> Fix the strings or use DistributedTestCase.addExpectedException to ignore.
> -----------------------------------------------------------------------
> Found suspect string in log4j at line 1075
> [warn 2015/10/22 08:06:13.526 PDT <ServerConnection on port 29555 Thread 0> 
> tid=0x1d83] Server connection from 
> [identity(cc4-rh6(12797:loner):53851:fd011690,connection=1; port=53851]: 
> Unexpected IOException: 
> -----------------------------------------------------------------------
> Found suspect string in log4j at line 1076
> java.net.SocketException: Connection reset
>       at org.junit.Assert.fail(Assert.java:88)
>       at 
> dunit.standalone.DUnitLauncher.closeAndCheckForSuspects(DUnitLauncher.java:307)
>       at dunit.DistributedTestCase.cleanupAllVms(DistributedTestCase.java:784)
>       at dunit.DistributedTestCase.realTearDown(DistributedTestCase.java:759)
>       at dunit.DistributedTestCase.tearDown(DistributedTestCase.java:737)
>       at junit.framework.TestCase.runBare(TestCase.java:146)
>       at junit.framework.TestResult$1.protect(TestResult.java:122)
>       at junit.framework.TestResult.runProtected(TestResult.java:142)
>       at junit.framework.TestResult.run(TestResult.java:125)
>       at junit.framework.TestCase.run(TestCase.java:129)
>       at junit.framework.TestSuite.runTest(TestSuite.java:252)
>       at junit.framework.TestSuite.run(TestSuite.java:247)
>       at 
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
>       at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:86)
>       at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:49)
>       at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:64)
>       at 
> org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:50)
>       at sun.reflect.GeneratedMethodAccessor175.invoke(Unknown Source)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:497)
>       at 
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
>       at 
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
>       at 
> org.gradle.messaging.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
>       at 
> org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
>       at com.sun.proxy.$Proxy2.processTestClass(Unknown Source)
>       at 
> org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:106)
>       at sun.reflect.GeneratedMethodAccessor174.invoke(Unknown Source)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:497)
>       at 
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
>       at 
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
>       at 
> org.gradle.messaging.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:360)
>       at 
> org.gradle.internal.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:64)
>       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)
> Standard Output
> Previously run tests: [DeltaPropagationStatsDUnitTest, 
> DiskRegByteArrayDUnitTest, GIIFlowControlDUnitTest, 
> InterruptClientServerDUnitTest, RemoveGlobalDUnitTest, 
> PartitionedRegionSingleHopWithServerGroupDUnitTest, PutAllGlobalDUnitTest, 
> PartitionListenerDUnitTest, Bug45164DUnitTest, OffHeapEvictionDUnitTest, 
> PersistentRecoveryOrderOldConfigDUnitTest, PersistentRVVRecoveryDUnitTest, 
> PersistentRecoveryOrderDUnitTest, Bug40396DUnitTest, 
> NewRegionAttributesDUnitTest, RegisterInterestKeysPRDUnitTest, 
> RegisterInterestKeysDUnitTest, ClientServerMiscSelectorDUnitTest, 
> HAInterestPart2DUnitTest, BackwardCompatibilityHigherVersionClientDUnitTest, 
> DurableClientBug39997DUnitTest, ClientServerMiscDUnitTest]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to