Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-2673

PartitionedRegionMultipleDUnitTest.testPartitionedRegionDestroyAndContainsAPI fails intermittently with ForcedDisconnectException

    Details

      Description

      Test passes when run by itself:

      ./gradlew -DdistributedTest.single=PartitionedRegionMultipleDUnitTest geode-core:distributedTest
      

      But fails intermittently in precheckin:

      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)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                klund Kirk Lund
                Reporter:
                klund Kirk Lund
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h