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

Dan Smith commented on GEODE-153:
---------------------------------

This test failed again in 3676826a227ce0fe22a7d5cda184185a4c3c1c1e, build 1721.
{noformat}
com.gemstone.gemfire.test.dunit.RMIException: While invoking 
com.gemstone.gemfire.cache30.MultiVMRegionTestCase$52.run in VM 1 running on 
Host timor.gemstone.com with 4 VMs
        at com.gemstone.gemfire.test.dunit.VM.invoke(VM.java:379)
        at com.gemstone.gemfire.test.dunit.VM.invoke(VM.java:321)
        at com.gemstone.gemfire.test.dunit.VM.invoke(VM.java:272)
        at 
com.gemstone.gemfire.cache30.MultiVMRegionTestCase.testRemoteCacheListener(MultiVMRegionTestCase.java:1246)
        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.GeneratedMethodAccessor506.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.GeneratedMethodAccessor505.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)
Caused by: java.lang.AssertionError: Event never occurred after 3000 ms: 
listener was never invoked
        at org.junit.Assert.fail(Assert.java:88)
        at com.gemstone.gemfire.test.dunit.Wait.waitForCriterion(Wait.java:119)
        at 
com.gemstone.gemfire.cache30.TestCacheCallback.waitForInvocation(TestCacheCallback.java:72)
        at 
com.gemstone.gemfire.cache30.MultiVMRegionTestCase$52.run2(MultiVMRegionTestCase.java:1248)
        at 
com.gemstone.gemfire.cache30.CacheSerializableRunnable.run(CacheSerializableRunnable.java:57)
        at sun.reflect.GeneratedMethodAccessor235.invoke(Unknown Source)
        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:84)
        at sun.reflect.GeneratedMethodAccessor3.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: [CacheXml80DUnitTest, DistributedNoAckRegionDUnitTest, 
Bug35214DUnitTest, DiskDistributedNoAckAsyncOverflowRegionDUnitTest, 
Bug38741DUnitTest, RegionReliabilityDistNoAckDUnitTest, CacheMapTxnDUnitTest, 
PutAllMultiVmDUnitTest, Bug38013DUnitTest, GlobalLockingDUnitTest, 
DistributedAckRegionCCEDUnitTest, DistributedAckRegionCompressionDUnitTest, 
RegionReliabilityGlobalDUnitTest, DistributedNoAckRegionOffHeapDUnitTest, 
ClientRegisterInterestSelectorDUnitTest, DynamicRegionDUnitTest, 
RegionExpirationDUnitTest, DistributedAckRegionCCEOffHeapDUnitTest, 
QueueMsgDUnitTest, CacheXml41DUnitTest, 
DistributedNoAckRegionCCEOffHeapDUnitTest, 
DistributedAckOverflowRegionCCEDUnitTest, CacheXml30DUnitTest, 
ClientMembershipSelectorDUnitTest, 
DistributedAckPersistentRegionCCEOffHeapDUnitTest, 
GlobalRegionOffHeapDUnitTest, CacheXml60DUnitTest, 
DiskDistributedNoAckSyncOverflowRegionDUnitTest]
{noformat}

> testRemoteCacheListener fails assertion intermittently
> ------------------------------------------------------
>
>                 Key: GEODE-153
>                 URL: https://issues.apache.org/jira/browse/GEODE-153
>             Project: Geode
>          Issue Type: Bug
>            Reporter: Darrel Schneider
>            Assignee: Darrel Schneider
>            Priority: Minor
>              Labels: CI
>             Fix For: 1.0.0-incubating.M1
>
>
> See: 
> https://builds.apache.org/job/Geode-nightly/164/testReport/com.gemstone.gemfire.cache30/DistributedNoAckRegionCompressionDUnitTest/testRemoteCacheListener/
> dunit.RMIException: While invoking 
> com.gemstone.gemfire.cache30.MultiVMRegionTestCase$53.run in VM 1 running on 
> Host hemera.apache.org with 4 VMs
>       at dunit.VM.invoke(VM.java:359)
>       at dunit.VM.invoke(VM.java:303)
>       at dunit.VM.invoke(VM.java:257)
>       at 
> com.gemstone.gemfire.cache30.MultiVMRegionTestCase.testRemoteCacheListener(MultiVMRegionTestCase.java:1271)
> Caused by: junit.framework.AssertionFailedError
>       at junit.framework.Assert.fail(Assert.java:55)
>       at junit.framework.Assert.assertTrue(Assert.java:22)
>       at junit.framework.Assert.assertTrue(Assert.java:31)
>       at junit.framework.TestCase.assertTrue(TestCase.java:201)
>       at 
> com.gemstone.gemfire.cache30.MultiVMRegionTestCase$53.run2(MultiVMRegionTestCase.java:1273)
> This assertion is:    vm1.invoke(new CacheSerializableRunnable("Verify 
> Invalidate") {
>         public void run2() throws CacheException {
>           assertTrue(listener.wasInvoked());
> Given that the test right before this calls pause (which sleeps for 250ms) 
> I'd say this is probably a race condition which could be fixed with a 
> WaitCriterion.
> Failed in 
> DiskDistributedNoAckSyncOverflowRegionDUnitTest.testRemoteCacheListener



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

Reply via email to