[ https://issues.apache.org/jira/browse/GEODE-1252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15280569#comment-15280569 ]
Darrel Schneider commented on GEODE-1252: ----------------------------------------- If a concurrent thread is also setting the bits field then it can cause the recorded bit to not have been set by the caller if "setRecorded" which will cause the assert to fail. But the code continues on to actually record the version and then in the future may redundantly record it again since the bit was not set. So as long as assertions are not enabled this bug should not cause any problem for a customer. > CI failure: ClientToServerDeltaDUnitTest.testClientsConnectedToEmptyServer > -------------------------------------------------------------------------- > > Key: GEODE-1252 > URL: https://issues.apache.org/jira/browse/GEODE-1252 > Project: Geode > Issue Type: Bug > Components: regions > Reporter: Jens Deppe > Assignee: Darrel Schneider > Labels: CI > > Build # 2299 > {noformat} > Error Message > com.gemstone.gemfire.test.dunit.RMIException: While invoking > com.gemstone.gemfire.internal.cache.tier.sockets.ClientToServerDeltaDUnitTest$$Lambda$462/36078231.call > in VM 1 running on Host japan.gemstone.com with 4 VMs > Stacktrace > com.gemstone.gemfire.test.dunit.RMIException: While invoking > com.gemstone.gemfire.internal.cache.tier.sockets.ClientToServerDeltaDUnitTest$$Lambda$462/36078231.call > in VM 1 running on Host japan.gemstone.com with 4 VMs > at com.gemstone.gemfire.test.dunit.VM.invoke(VM.java:389) > at com.gemstone.gemfire.test.dunit.VM.invoke(VM.java:355) > at com.gemstone.gemfire.test.dunit.VM.invoke(VM.java:320) > at > com.gemstone.gemfire.internal.cache.tier.sockets.ClientToServerDeltaDUnitTest.testClientsConnectedToEmptyServer(ClientToServerDeltaDUnitTest.java:747) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:497) > at junit.framework.TestCase.runTest(TestCase.java:176) > at junit.framework.TestCase.runBare(TestCase.java:141) > 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.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > 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.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > 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) > Caused by: java.lang.AssertionError > at Remote Member 'japan(29633)<ec><v367>:1025' in > com.gemstone.gemfire.internal.cache.versions.RegionVersionVector.recordVersion(RegionVersionVector.java:579) > at Remote Member 'japan(29633)<ec><v367>:1025' in > com.gemstone.gemfire.internal.cache.AbstractUpdateOperation.doPutOrCreate(AbstractUpdateOperation.java:225) > at Remote Member 'japan(29633)<ec><v367>:1025' in > com.gemstone.gemfire.internal.cache.AbstractUpdateOperation$AbstractUpdateMessage.basicOperateOnRegion(AbstractUpdateOperation.java:286) > at Remote Member 'japan(29633)<ec><v367>:1025' in > com.gemstone.gemfire.internal.cache.AbstractUpdateOperation$AbstractUpdateMessage.operateOnRegion(AbstractUpdateOperation.java:255) > at Remote Member 'japan(29633)<ec><v367>:1025' in > com.gemstone.gemfire.internal.cache.DistributedCacheOperation$CacheOperationMessage.basicProcess(DistributedCacheOperation.java:1165) > at Remote Member 'japan(29633)<ec><v367>:1025' in > com.gemstone.gemfire.internal.cache.DistributedCacheOperation$CacheOperationMessage.process(DistributedCacheOperation.java:1065) > at Remote Member 'japan(29633)<ec><v367>:1025' in > com.gemstone.gemfire.distributed.internal.DistributionMessage.scheduleAction(DistributionMessage.java:379) > at Remote Member 'japan(29633)<ec><v367>:1025' in > com.gemstone.gemfire.distributed.internal.DistributionMessage.schedule(DistributionMessage.java:442) > at Remote Member 'japan(29633)<ec><v367>:1025' in > com.gemstone.gemfire.distributed.internal.DistributionManager.scheduleIncomingMessage(DistributionManager.java:3563) > at Remote Member 'japan(29633)<ec><v367>:1025' in > com.gemstone.gemfire.distributed.internal.DistributionManager.handleIncomingDMsg(DistributionManager.java:3186) > at Remote Member 'japan(29633)<ec><v367>:1025' in > com.gemstone.gemfire.distributed.internal.DistributionManager$MyListener.messageReceived(DistributionManager.java:4385) > at Remote Member 'japan(29633)<ec><v367>:1025' in > com.gemstone.gemfire.distributed.internal.membership.gms.mgr.GMSMembershipManager.dispatchMessage(GMSMembershipManager.java:1135) > at Remote Member 'japan(29633)<ec><v367>:1025' in > com.gemstone.gemfire.distributed.internal.membership.gms.mgr.GMSMembershipManager.handleOrDeferMessage(GMSMembershipManager.java:1063) > at Remote Member 'japan(29633)<ec><v367>:1025' in > com.gemstone.gemfire.distributed.internal.membership.gms.mgr.GMSMembershipManager$MyDCReceiver.messageReceived(GMSMembershipManager.java:417) > at Remote Member 'japan(29633)<ec><v367>:1025' in > com.gemstone.gemfire.distributed.internal.direct.DirectChannel.receive(DirectChannel.java:751) > at Remote Member 'japan(29633)<ec><v367>:1025' in > com.gemstone.gemfire.internal.tcp.TCPConduit.messageReceived(TCPConduit.java:833) > at Remote Member 'japan(29633)<ec><v367>:1025' in > com.gemstone.gemfire.internal.tcp.Connection.dispatchMessage(Connection.java:3993) > at Remote Member 'japan(29633)<ec><v367>:1025' in > com.gemstone.gemfire.internal.tcp.Connection.processNIOBuffer(Connection.java:3577) > at Remote Member 'japan(29633)<ec><v367>:1025' in > com.gemstone.gemfire.internal.tcp.Connection.runNioReader(Connection.java:1869) > at Remote Member 'japan(29633)<ec><v367>:1025' in > com.gemstone.gemfire.internal.tcp.Connection.run(Connection.java:1738) > at Remote Member 'japan(29633)<ec><v367>:1025' in > java.lang.Thread.run(Thread.java:745) > at > com.gemstone.gemfire.distributed.internal.ReplyException.handleAsUnexpected(ReplyException.java:87) > at > com.gemstone.gemfire.internal.cache.DistributedCacheOperation.waitForAckIfNeeded(DistributedCacheOperation.java:719) > at > com.gemstone.gemfire.internal.cache.DistributedCacheOperation.distribute(DistributedCacheOperation.java:640) > at > com.gemstone.gemfire.internal.cache.AbstractUpdateOperation.distribute(AbstractUpdateOperation.java:71) > at > com.gemstone.gemfire.internal.cache.DistributedRegion.distributeUpdate(DistributedRegion.java:529) > at > com.gemstone.gemfire.internal.cache.DistributedRegion.basicPutPart3(DistributedRegion.java:510) > at > com.gemstone.gemfire.internal.cache.AbstractRegionMap.basicPut(AbstractRegionMap.java:3055) > at > com.gemstone.gemfire.internal.cache.LocalRegion.virtualPut(LocalRegion.java:6105) > at > com.gemstone.gemfire.internal.cache.DistributedRegion.virtualPut(DistributedRegion.java:398) > at > com.gemstone.gemfire.internal.cache.LocalRegionDataView.putEntry(LocalRegionDataView.java:126) > at > com.gemstone.gemfire.internal.cache.LocalRegion.basicPut(LocalRegion.java:5482) > at > com.gemstone.gemfire.internal.cache.LocalRegion.validatedPut(LocalRegion.java:1757) > at > com.gemstone.gemfire.internal.cache.LocalRegion.put(LocalRegion.java:1737) > at > com.gemstone.gemfire.internal.cache.AbstractRegion.put(AbstractRegion.java:342) > at > com.gemstone.gemfire.internal.cache.tier.sockets.ClientToServerDeltaDUnitTest.putsWhichReturnsDeltaSent(ClientToServerDeltaDUnitTest.java:923) > at > com.gemstone.gemfire.internal.cache.tier.sockets.ClientToServerDeltaDUnitTest.lambda$testClientsConnectedToEmptyServer$497ef863$1(ClientToServerDeltaDUnitTest.java:747) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:497) > at hydra.MethExecutor.executeObject(MethExecutor.java:268) > at > com.gemstone.gemfire.test.dunit.standalone.RemoteDUnitVM.executeMethodOnObject(RemoteDUnitVM.java:82) > at sun.reflect.GeneratedMethodAccessor139.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:497) > at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:323) > at sun.rmi.transport.Transport$1.run(Transport.java:200) > at sun.rmi.transport.Transport$1.run(Transport.java:197) > at java.security.AccessController.doPrivileged(Native Method) > at sun.rmi.transport.Transport.serviceCall(Transport.java:196) > at > sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568) > at > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826) > at > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$95(TCPTransport.java:683) > at java.security.AccessController.doPrivileged(Native Method) > at > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682) > ... 3 more > Standard Output > Previously run tests: [PRDeltaPropagationDUnitTest, > RemoteCQTransactionDUnitTest, PutAllCSDUnitTest, HADispatcherDUnitTest, > CQListGIIDUnitTest, DurableClientSimpleDUnitTest, > DeltaToRegionRelationCQRegistrationDUnitTest, > DeltaPropagationWithCQDUnitTest, DurableClientNetDownDUnitTest, > ClientToServerDeltaDUnitTest] > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)