You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/07/19 16:36:00 UTC
[jira] [Commented] (GEODE-567) SUPERFLAKY:
FixedPartitioningDUnitTest.testBug43283
[ https://issues.apache.org/jira/browse/GEODE-567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16549500#comment-16549500 ]
ASF subversion and git services commented on GEODE-567:
-------------------------------------------------------
Commit 4edacb13854c35e73dc1b8b27b39c9bf9bb24179 in geode's branch refs/heads/develop from Dan Smith
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=4edacb1 ]
GEODE-567: Wait for async datastore creation to reach appropriate point (#2143)
GEODE-567: Wait for async datastore creation to reach appropriate point
This test appears like it was trying to test what happens if a put
happens when data store creation is at a particular point.
Unfortunately, it failed to do so correctly because it just spun off the
data store creation in separate threads and then did the put. The wait
criterion used was also completely wrong, so the test would always wait
for 1 minute.
Finally, there were some race conditions caused by passing the same
array list to multiple async tasks.
Changed the code to wait until the data stores are at the given point in
region creation and then do the put.
> SUPERFLAKY: FixedPartitioningDUnitTest.testBug43283
> ---------------------------------------------------
>
> Key: GEODE-567
> URL: https://issues.apache.org/jira/browse/GEODE-567
> Project: Geode
> Issue Type: Bug
> Components: regions
> Reporter: Barry Oglesby
> Assignee: Dan Smith
> Priority: Major
> Labels: CI, Flaky, pull-request-available, swat
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> Geode_develop_DistributedTests
> Private Build #571 (Nov 14, 2015 7:09:09 AM)
> Revision: 88da702593157d8a0c014295cab16149fc088dfc
> {noformat}
> junit.framework.AssertionFailedError: exception thrown is not PartitionNotAvailableException
> at junit.framework.Assert.fail(Assert.java:57)
> at junit.framework.TestCase.fail(TestCase.java:227)
> at com.gemstone.gemfire.internal.cache.partitioned.fixed.FixedPartitioningDUnitTest.testBug43283(FixedPartitioningDUnitTest.java:545)
> {noformat}
> Standard Output shows:
> {noformat}
> Previously run tests: [ReliableMessagingDUnitTest, CacheServerTransactionsDUnitTest, ForceInvalidateOffHeapEvictionDUnitTest, UnregisterInterestDUnitTest, InterestRegrListenerDUnitTest, EventIDVerificationDUnitTest, DataSerializerPropogationDUnitTest, CacheServerTransactionsSelectorDUnitTest, Bug36805DUnitTest, PersistentColocatedPartitionedRegionDUnitTest, Bug51400DUnitTest, PersistPRKRFDUnitTest, StreamingPartitionOperationOneDUnitTest, Bug47388DUnitTest, PartitionedRegionMetaDataCleanupDUnitTest, PersistentPartitionedRegionOldConfigDUnitTest, PartitionedRegionLoaderWriterDUnitTest, ElidedPutAllDUnitTest, ShutdownAllDUnitTest, Bug39356DUnitTest, PartitionResolverDUnitTest, Bug43684DUnitTest, StreamingPartitionOperationManyDUnitTest, PersistentPartitionedRegionWithTransactionDUnitTest, PersistentPartitionedRegionDUnitTest, FixedPartitioningWithColocationAndPersistenceDUnitTest, FixedPartitioningDUnitTest]
> {noformat}
> Standard Error shows:
> {noformat}
> dunit.RMIException: While invoking com.gemstone.gemfire.internal.cache.partitioned.fixed.FixedPartitioningTestBase.putThorughAccessor_Immediate in VM 3 running on Host cc4-rh6.gemstone.com with 4 VMs
> at dunit.VM.invoke(VM.java:170)
> at com.gemstone.gemfire.internal.cache.partitioned.fixed.FixedPartitioningDUnitTest.testBug43283(FixedPartitioningDUnitTest.java:539)
> 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.GeneratedMethodAccessor169.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.GeneratedMethodAccessor168.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: com.gemstone.gemfire.cache.PartitionedRegionStorageException: Unable to find any members to host a bucket in the partitioned region. Advise you to start enough data store nodes.
> Partitioned Region name = /Quarter
> Redundancy level set to 0
> . Number of available data stores: 0
> . Number successfully allocated = 0
> . Data stores: []
> . Data stores successfully allocated: []
> . Equivalent members: [cc4-rh6(24894)<v1209>:31348, cc4-rh6(24899)<v1212>:30837, cc4-rh6(24889:locator)<v0>:8305, cc4-rh6(24908)<v1218>:25486, cc4-rh6(24904)<v1215>:26670]
> at com.gemstone.gemfire.internal.cache.PRHARedundancyProvider.insufficientStores(PRHARedundancyProvider.java:311)
> at com.gemstone.gemfire.internal.cache.PRHARedundancyProvider.createBucketOnDataStore(PRHARedundancyProvider.java:484)
> at com.gemstone.gemfire.internal.cache.PartitionedRegion.createBucket(PartitionedRegion.java:3596)
> at com.gemstone.gemfire.internal.cache.PartitionedRegion.virtualPut(PartitionedRegion.java:2135)
> at com.gemstone.gemfire.internal.cache.LocalRegionDataView.putEntry(LocalRegionDataView.java:127)
> at com.gemstone.gemfire.internal.cache.LocalRegion.basicPut(LocalRegion.java:5483)
> at com.gemstone.gemfire.internal.cache.LocalRegion.validatedPut(LocalRegion.java:1751)
> at com.gemstone.gemfire.internal.cache.LocalRegion.put(LocalRegion.java:1731)
> at com.gemstone.gemfire.internal.cache.AbstractRegion.put(AbstractRegion.java:343)
> at com.gemstone.gemfire.internal.cache.partitioned.fixed.FixedPartitioningTestBase.putThorughAccessor_Immediate(FixedPartitioningTestBase.java:235)
> 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.execute(MethExecutor.java:198)
> at dunit.standalone.RemoteDUnitVM.executeMethodOnClass(RemoteDUnitVM.java:117)
> at sun.reflect.GeneratedMethodAccessor5.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$241(TCPTransport.java:683)
> at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$1/1242147135.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
> ... 3 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)