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

ASF subversion and git services commented on GEODE-687:
-------------------------------------------------------

Commit 2a21b70477123e679cbb76c8ffa07e44b6e45e6c in incubator-geode's branch 
refs/heads/develop from [~bschuchardt]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=2a21b70 ]

Fix for suspect string causing a number of CI failures

During shutdown it's possible for the DirectChannel communication service
to throw a ConnectExceptions containing a ShunnedMemberException for one
or more members.  These indicate that the message couldn't be sent, but this
is expected behavior and the ShunnedMemberExceptions can be ignored.
This fixes GEODE-355, GEODE-682, GEODE-683, GEODE-684, GEODE-685, GEODE-687,
GEODE-689, GEODE-691, GEODE-702 and GEODE-703.


> CI failure: 
> FixedPartitioningDUnitTest.testPut_ValidateDataOnMember_PrimarySecondary_Accessor_CacheClosed
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-687
>                 URL: https://issues.apache.org/jira/browse/GEODE-687
>             Project: Geode
>          Issue Type: Bug
>    Affects Versions: 1.0.0-incubating
>            Reporter: Jens Deppe
>            Assignee: Bruce Schuchardt
>              Labels: CI
>
> git rev fdec70bcd46c568637f0dad976f3778625858608 build #923
> {noformat}
> 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 5032
> [fatal 2015/12/16 18:33:51.792 PST <Pooled Message Processor 1> tid=0x46f] 
> Failed to send message <DLockRecoverGrantorReplyMessage (processorId=61941; 
> replyCode=0=OK; heldLocks=[]; sender=cc1-rh6(16008)<ec><v1250>:1025)> to 
> member <cc1-rh6(16056)<ec><v1256>:1027> view = 
> View[cc1-rh6(16043:locator)<ec><v0>:1024|1263] members: 
> [cc1-rh6(16043:locator)<ec><v0>:1024, cc1-rh6(16008)<ec><v1250>:1025{lead}, 
> cc1-rh6(16048)<ec><v1253>:1026, cc1-rh6(16056)<ec><v1256>:1027, 
> cc1-rh6(16062)<ec><v1259>:1028]  shutdown: [cc1-rh6(16068)<ec><v1262>:1029]
> com.gemstone.gemfire.distributed.internal.direct.ShunnedMemberException: 
> Member is being shunned: {0}
>       at 
> com.gemstone.gemfire.distributed.internal.direct.DirectChannel.getConnections(DirectChannel.java:599)
>       at 
> com.gemstone.gemfire.distributed.internal.direct.DirectChannel.sendToMany(DirectChannel.java:374)
>       at 
> com.gemstone.gemfire.distributed.internal.direct.DirectChannel.sendToOne(DirectChannel.java:288)
>       at 
> com.gemstone.gemfire.distributed.internal.direct.DirectChannel.send(DirectChannel.java:665)
>       at 
> com.gemstone.gemfire.distributed.internal.membership.gms.mgr.GMSMembershipManager.directChannelSend(GMSMembershipManager.java:1730)
>       at 
> com.gemstone.gemfire.distributed.internal.membership.gms.mgr.GMSMembershipManager.send(GMSMembershipManager.java:1924)
>       at 
> com.gemstone.gemfire.distributed.internal.DistributionChannel.send(DistributionChannel.java:88)
>       at 
> com.gemstone.gemfire.distributed.internal.DistributionManager.sendOutgoing(DistributionManager.java:3474)
>       at 
> com.gemstone.gemfire.distributed.internal.DistributionManager.sendMessage(DistributionManager.java:3515)
>       at 
> com.gemstone.gemfire.distributed.internal.DistributionManager.putOutgoing(DistributionManager.java:1874)
>       at 
> com.gemstone.gemfire.distributed.internal.locks.DLockRecoverGrantorProcessor$DefaultMessageProcessor.process(DLockRecoverGrantorProcessor.java:454)
>       at 
> com.gemstone.gemfire.distributed.internal.locks.DLockRecoverGrantorProcessor$DLockRecoverGrantorMessage.processMessage(DLockRecoverGrantorProcessor.java:265)
>       at 
> com.gemstone.gemfire.distributed.internal.locks.DLockRecoverGrantorProcessor$DLockRecoverGrantorMessage.process(DLockRecoverGrantorProcessor.java:250)
>       at 
> com.gemstone.gemfire.distributed.internal.DistributionMessage.scheduleAction(DistributionMessage.java:380)
>       at 
> com.gemstone.gemfire.distributed.internal.DistributionMessage$1.run(DistributionMessage.java:451)
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>       at 
> com.gemstone.gemfire.distributed.internal.DistributionManager.runUntilShutdown(DistributionManager.java:657)
>       at 
> com.gemstone.gemfire.distributed.internal.DistributionManager$4$1.run(DistributionManager.java:931)
>       at java.lang.Thread.run(Thread.java:745)
> 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 5032
> [fatal 2015/12/16 18:33:51.792 PST <Pooled Message Processor 1> tid=0x46f] 
> Failed to send message <DLockRecoverGrantorReplyMessage (processorId=61941; 
> replyCode=0=OK; heldLocks=[]; sender=cc1-rh6(16008)<ec><v1250>:1025)> to 
> member <cc1-rh6(16056)<ec><v1256>:1027> view = 
> View[cc1-rh6(16043:locator)<ec><v0>:1024|1263] members: 
> [cc1-rh6(16043:locator)<ec><v0>:1024, cc1-rh6(16008)<ec><v1250>:1025{lead}, 
> cc1-rh6(16048)<ec><v1253>:1026, cc1-rh6(16056)<ec><v1256>:1027, 
> cc1-rh6(16062)<ec><v1259>:1028]  shutdown: [cc1-rh6(16068)<ec><v1262>:1029]
> com.gemstone.gemfire.distributed.internal.direct.ShunnedMemberException: 
> Member is being shunned: {0}
>       at 
> com.gemstone.gemfire.distributed.internal.direct.DirectChannel.getConnections(DirectChannel.java:599)
>       at 
> com.gemstone.gemfire.distributed.internal.direct.DirectChannel.sendToMany(DirectChannel.java:374)
>       at 
> com.gemstone.gemfire.distributed.internal.direct.DirectChannel.sendToOne(DirectChannel.java:288)
>       at 
> com.gemstone.gemfire.distributed.internal.direct.DirectChannel.send(DirectChannel.java:665)
>       at 
> com.gemstone.gemfire.distributed.internal.membership.gms.mgr.GMSMembershipManager.directChannelSend(GMSMembershipManager.java:1730)
>       at 
> com.gemstone.gemfire.distributed.internal.membership.gms.mgr.GMSMembershipManager.send(GMSMembershipManager.java:1924)
>       at 
> com.gemstone.gemfire.distributed.internal.DistributionChannel.send(DistributionChannel.java:88)
>       at 
> com.gemstone.gemfire.distributed.internal.DistributionManager.sendOutgoing(DistributionManager.java:3474)
>       at 
> com.gemstone.gemfire.distributed.internal.DistributionManager.sendMessage(DistributionManager.java:3515)
>       at 
> com.gemstone.gemfire.distributed.internal.DistributionManager.putOutgoing(DistributionManager.java:1874)
>       at 
> com.gemstone.gemfire.distributed.internal.locks.DLockRecoverGrantorProcessor$DefaultMessageProcessor.process(DLockRecoverGrantorProcessor.java:454)
>       at 
> com.gemstone.gemfire.distributed.internal.locks.DLockRecoverGrantorProcessor$DLockRecoverGrantorMessage.processMessage(DLockRecoverGrantorProcessor.java:265)
>       at 
> com.gemstone.gemfire.distributed.internal.locks.DLockRecoverGrantorProcessor$DLockRecoverGrantorMessage.process(DLockRecoverGrantorProcessor.java:250)
>       at 
> com.gemstone.gemfire.distributed.internal.DistributionMessage.scheduleAction(DistributionMessage.java:380)
>       at 
> com.gemstone.gemfire.distributed.internal.DistributionMessage$1.run(DistributionMessage.java:451)
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>       at 
> com.gemstone.gemfire.distributed.internal.DistributionManager.runUntilShutdown(DistributionManager.java:657)
>       at 
> com.gemstone.gemfire.distributed.internal.DistributionManager$4$1.run(DistributionManager.java:931)
>       at java.lang.Thread.run(Thread.java:745)
>       at org.junit.Assert.fail(Assert.java:88)
>       at 
> dunit.standalone.DUnitLauncher.closeAndCheckForSuspects(DUnitLauncher.java:354)
>       at dunit.DistributedTestCase.cleanupAllVms(DistributedTestCase.java:753)
>       at dunit.DistributedTestCase.realTearDown(DistributedTestCase.java:728)
>       at dunit.DistributedTestCase.tearDown(DistributedTestCase.java:706)
>       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:105)
>       at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:56)
>       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.GeneratedMethodAccessor128.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.GeneratedMethodAccessor127.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.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
>       at 
> org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
>       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: [PersistentColocatedPartitionedRegionDUnitTest, 
> Bug51400DUnitTest, PersistPRKRFDUnitTest, 
> StreamingPartitionOperationOneDUnitTest, Bug47388DUnitTest, 
> PartitionedRegionMetaDataCleanupDUnitTest, 
> PersistentPartitionedRegionOldConfigDUnitTest, 
> PartitionedRegionLoaderWriterDUnitTest, ElidedPutAllDUnitTest, 
> ShutdownAllDUnitTest, Bug39356DUnitTest, PartitionResolverDUnitTest, 
> Bug43684DUnitTest, StreamingPartitionOperationManyDUnitTest, 
> PersistentPartitionedRegionWithTransactionDUnitTest, 
> PersistentPartitionedRegionDUnitTest, 
> FixedPartitioningWithColocationAndPersistenceDUnitTest, 
> FixedPartitioningDUnitTest]
> {noformat}



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

Reply via email to