[ 
https://issues.apache.org/jira/browse/GEODE-2673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bruce Schuchardt resolved GEODE-2673.
-------------------------------------
    Resolution: Won't Fix

A ForcedDisconnectException in a distributed test indicates either a sick JVM, 
often doing GC and sometimes on the metaspace, or an environmental problem such 
as insufficient resources to run the host VM.  As this test hasn't failed in 
Geode Jenkins or any Pivotal-private concourse runs that I can find I have no 
way of checking on the environment or the logs of this particular run.

If this test, or any other for that matter, fails with a 
ForcedDisconnectException the machine hosting the run should be examined and 
the logs of the failed test should be examined for GC activity.

> PartitionedRegionMultipleDUnitTest.testPartitionedRegionDestroyAndContainsAPI 
> fails intermittently with ForcedDisconnectException
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-2673
>                 URL: https://issues.apache.org/jira/browse/GEODE-2673
>             Project: Geode
>          Issue Type: Bug
>          Components: membership, tests
>            Reporter: Kirk Lund
>              Labels: Flaky
>
> Test passes when run by itself:
> {noformat}
> ./gradlew -DdistributedTest.single=PartitionedRegionMultipleDUnitTest 
> geode-core:distributedTest
> {noformat}
> But fails intermittently in precheckin:
> {noformat}
> org.apache.geode.internal.cache.PartitionedRegionMultipleDUnitTest > 
> testPartitionedRegionDestroyAndContainsAPI FAILED
>     java.lang.AssertionError: exception during 0
>         at org.apache.geode.test.dunit.Assert.fail(Assert.java:60)
>         at 
> org.apache.geode.internal.cache.PartitionedRegionMultipleDUnitTest.testPartitionedRegionDestroyAndContainsAPI(PartitionedRegionMultipleDUnitTest.java:231)
>         Caused by:
>         java.lang.AssertionError: Validation failed for key = 
> 0testPartitionedRegionDestroyAndContainsAPI3Value got = null
>     java.lang.AssertionError: Suspicious strings were written to the log 
> during this run.
>     Fix the strings or use IgnoredException.addIgnoredException to ignore.
>     -----------------------------------------------------------------------
>     Found suspect string in log4j at line 1807
>     [fatal 2017/03/13 23:48:06.633 UTC <unicast receiver,903f9f67a095-10211> 
> tid=0xc5] Membership service failure: this member is no longer in the view 
> but is initiating connections
>     org.apache.geode.ForcedDisconnectException: this member is no longer in 
> the view but is initiating connections
>       at 
> org.apache.geode.distributed.internal.membership.gms.mgr.GMSMembershipManager.forceDisconnect(GMSMembershipManager.java:2517)
>       at 
> org.apache.geode.distributed.internal.membership.gms.membership.GMSJoinLeave.forceDisconnect(GMSJoinLeave.java:998)
>       at 
> org.apache.geode.distributed.internal.membership.gms.membership.GMSJoinLeave.processRemoveRequest(GMSJoinLeave.java:635)
>       at 
> org.apache.geode.distributed.internal.membership.gms.membership.GMSJoinLeave.processMessage(GMSJoinLeave.java:1702)
>       at 
> org.apache.geode.distributed.internal.membership.gms.messenger.JGroupsMessenger$JGroupsReceiver.receive(JGroupsMessenger.java:1286)
>       at org.jgroups.JChannel.invokeCallback(JChannel.java:816)
>       at org.jgroups.JChannel.up(JChannel.java:741)
>       at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:1030)
>       at org.jgroups.protocols.FRAG2.up(FRAG2.java:165)
>       at org.jgroups.protocols.FlowControl.up(FlowControl.java:390)
>       at org.jgroups.protocols.UNICAST3.deliverMessage(UNICAST3.java:1070)
>       at org.jgroups.protocols.UNICAST3.handleDataReceived(UNICAST3.java:785)
>       at org.jgroups.protocols.UNICAST3.up(UNICAST3.java:426)
>       at 
> org.apache.geode.distributed.internal.membership.gms.messenger.StatRecorder.up(StatRecorder.java:74)
>       at 
> org.apache.geode.distributed.internal.membership.gms.messenger.AddressManager.up(AddressManager.java:72)
>       at org.jgroups.protocols.TP.passMessageUp(TP.java:1601)
>       at org.jgroups.protocols.TP$SingleMessageHandler.run(TP.java:1817)
>       at org.jgroups.util.DirectExecutor.execute(DirectExecutor.java:10)
>       at org.jgroups.protocols.TP.handleSingleMessage(TP.java:1729)
>       at org.jgroups.protocols.TP.receive(TP.java:1654)
>       at 
> org.apache.geode.distributed.internal.membership.gms.messenger.Transport.receive(Transport.java:160)
>       at org.jgroups.protocols.UDP$PacketReceiver.run(UDP.java:701)
>       at java.lang.Thread.run(Thread.java:745)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to