You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Jianxia Chen (JIRA)" <ji...@apache.org> on 2016/05/11 21:46:12 UTC
[jira] [Commented] (GEODE-699)
PartitionedRegionSingleHopDUnitTest.test_MetadataServiceCallAccuracy
[ https://issues.apache.org/jira/browse/GEODE-699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15280879#comment-15280879 ]
Jianxia Chen commented on GEODE-699:
------------------------------------
When the fetch task threads are spawned in the client metadata service for single hop, It is possible that certain thread is still lingering during the second round of PUTs, which assumes all such fetch tasks should be completed at that time. The lingering thread causes the isMetadataRefreshed_TEST_ONLY flag to be set during second round of PUTs, which results in test failure.
> PartitionedRegionSingleHopDUnitTest.test_MetadataServiceCallAccuracy
> --------------------------------------------------------------------
>
> Key: GEODE-699
> URL: https://issues.apache.org/jira/browse/GEODE-699
> Project: Geode
> Issue Type: Bug
> Components: client/server
> Affects Versions: 1.0.0-incubating
> Reporter: Jens Deppe
> Assignee: Jianxia Chen
> Labels: CI, Flaky
>
> git rev 5d1f38ed3c2bcff5871630abbe92df032988b881 build #936
> {noformat}
> Error Message
> junit.framework.AssertionFailedError: Event never occurred after 60000 ms: expected no metadata to be refreshed
> Stacktrace
> junit.framework.AssertionFailedError: Event never occurred after 60000 ms: expected no metadata to be refreshed
> at junit.framework.Assert.fail(Assert.java:57)
> at junit.framework.TestCase.fail(TestCase.java:227)
> at dunit.DistributedTestCase.waitForCriterion(DistributedTestCase.java:1136)
> at com.gemstone.gemfire.internal.cache.PartitionedRegionSingleHopDUnitTest.test_MetadataServiceCallAccuracy(PartitionedRegionSingleHopDUnitTest.java:459)
> 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)
> Standard Output
> Previously run tests: [PartitionedRegionQueryDUnitTest, FixedPRSinglehopDUnitTest, BackupDUnitTest, PartitionedRegionInvalidateDUnitTest, PartitionedRegionSingleHopDUnitTest]
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)