[jira] [Created] (GEODE-1728) SessionCachingFilter can create multiple sessions when requests are forwarded

2016-08-04 Thread Dan Smith (JIRA)
Dan Smith created GEODE-1728:


 Summary: SessionCachingFilter can create multiple sessions when 
requests are forwarded
 Key: GEODE-1728
 URL: https://issues.apache.org/jira/browse/GEODE-1728
 Project: Geode
  Issue Type: Bug
  Components: http session
Reporter: Dan Smith


Our installer adds this configuration to the users web.xml file for the session 
state replication:

{code}

gemfire-session-filter
/*
FORWARD
INCLUDE
REQUEST
ERROR

{code}

This means that our filter will be applied to all incoming requests, and it 
will be applied *again* if the request is forwarded to or includes another 
servlet.

We wrap the HttpServletRequest in our own RequestWrapper class. We have some 
code that tries to prevent wrapping a request multiple times:
{code}
/**
 * Early out if this isn't the right kind of request. We might see a
 * RequestWrapper instance during a forward or include request.
 */
if (request instanceof RequestWrapper ||
!(request instanceof HttpServletRequest)) {
  LOG.debug("Handling already-wrapped request");
  chain.doFilter(request, response);
  return;
}
{code}

Unfortunately, this check will not work if there are *other* filters in the 
chain that also wrap the HttpServletRequest. That can result in us wrapping the 
forwarded request in a new RequestWrapper that will create another session.

We should not add these  elements to the web.xml; it should  be 
sufficient for our filter to intercept all requests initially. In addition, we 
might want to enhance our check to see if we have already wrapped a request to 
follow the chain of wrapped requests deeper. As long as other filters wrap the 
request in a subclass of HttpServletRequestWrapper we should be able to unwrap 
the request if needed.



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


[jira] [Reopened] (GEODE-1671) CI failure: LuceneQueriesPeerPRRedundancyDUnitTest.returnCorrectResultsWhenCloseCacheHappensOnPartialIndexWrite

2016-08-01 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith reopened GEODE-1671:
--

William - I think you resolved this by accident? I don't see any commits on 
develop that related to fixing this issue. If this is actually fixed go ahead 
and resolve this again and provide the commit hash.

> CI failure: 
> LuceneQueriesPeerPRRedundancyDUnitTest.returnCorrectResultsWhenCloseCacheHappensOnPartialIndexWrite
> ---
>
> Key: GEODE-1671
> URL: https://issues.apache.org/jira/browse/GEODE-1671
> Project: Geode
>  Issue Type: Bug
>  Components: lucene
>Reporter: Bruce Schuchardt
>  Labels: ci
> Fix For: 1.0.0-incubating
>
>
> java.lang.AssertionError
>   at org.junit.Assert.fail(Assert.java:86)
>   at org.junit.Assert.assertTrue(Assert.java:41)
>   at org.junit.Assert.assertTrue(Assert.java:52)
>   at 
> com.gemstone.gemfire.cache.lucene.LuceneQueriesPeerPRRedundancyDUnitTest.putEntriesAndValidateResultsWithRedundancy(LuceneQueriesPeerPRRedundancyDUnitTest.java:109)
>   at 
> com.gemstone.gemfire.cache.lucene.LuceneQueriesPeerPRRedundancyDUnitTest.returnCorrectResultsWhenCloseCacheHappensOnPartialIndexWrite(LuceneQueriesPeerPRRedundancyDUnitTest.java:87)
>   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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
>   at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>   at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
>   at 
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
>   at 
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
>   at 
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
>   at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
>   at org.junit.rules.RunRules.evaluate(RunRules.java:20)
>   at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
>   at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>   at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
>   at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
>   at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
>   at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
>   at 
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
>   at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:112)
>   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:66)
>   at 
> org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
>   at sun.reflect.GeneratedMethodAccessor4.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:109)
>   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 
> 

[jira] [Commented] (GEODE-1583) CI failure: DurableClientSimpleDUnitTest.testSimpleDurableClient2

2016-07-25 Thread Dan Smith (JIRA)

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

Dan Smith commented on GEODE-1583:
--

I was able to track this down with some debug logging. It looks like what is 
happening is that as soon as the cache starts closing the cache client updater 
can exit and forceably close it's connection to the server. That triggers an 
EOF on the server which causes it to close the cache.

Here's the client side
{noformat}
---This will set a flag on the cache that causes the cancelCriterion to 
indicate that it is closing.
[vm_2][info 2016/07/25 15:36:12.496 PDT  
tid=0x12] GemFireCache[id = 735527950; isClosing = true; isShutDownAll = false; 
created = Mon Jul 25 15:36:12 PDT 2016; server = false; copyOnRead = false; 
lockLease = 120; lockTimeout = 60]: Now closing.

[vm_2][info 2016/07/25 15:36:12.497 PDT  
tid=0x12] Destroying connection pool CacheServerTestUtil

[vm_2][debug 2016/07/25 15:36:12.497 PDT :1025 port 20999> tid=0xab] Received marker 
message of length (53 bytes)

[vm_2][debug 2016/07/25 15:36:12.497 PDT :1025 port 20999> tid=0xab] Processed marker 
message

---CacheClientUpdater.quitting checks the cache cancelCriterion and decides it 
should exit
[vm_2][debug 2016/07/25 15:36:12.497 PDT :1025 port 20999> tid=0xab] termination detected

[vm_2][debug 2016/07/25 15:36:12.497 PDT :1025 port 20999> tid=0xab] has stopped and 
cleaning the helper ..

[vm_2][warn 2016/07/25 15:36:12.502 PDT :1025 port 20999> tid=0xab] DAN DEBUG - closing 
socket
[vm_2]java.lang.Exception
[vm_2]  at 
com.gemstone.gemfire.internal.cache.tier.sockets.CacheClientUpdater.close(CacheClientUpdater.java:586)
[vm_2]  at 
com.gemstone.gemfire.internal.cache.tier.sockets.CacheClientUpdater.processMessages(CacheClientUpdater.java:1808)
[vm_2]  at 
com.gemstone.gemfire.internal.cache.tier.sockets.CacheClientUpdater.run(CacheClientUpdater.java:462)

---This destroys the connection without sending a close message, and will cause 
an EOF on the server side
[vm_2][warn 2016/07/25 15:36:12.503 PDT :1025 port 20999> tid=0xab] DAN DEBUG - closing 
socket
[vm_2]java.lang.Exception
[vm_2]  at 
com.gemstone.gemfire.cache.client.internal.ConnectionImpl.destroy(ConnectionImpl.java:187)
[vm_2]  at 
com.gemstone.gemfire.cache.client.internal.QueueConnectionImpl.internalDestroy(QueueConnectionImpl.java:98)
[vm_2]  at 
com.gemstone.gemfire.cache.client.internal.QueueManagerImpl.checkEndpoint(QueueManagerImpl.java:420)
[vm_2]  at 
com.gemstone.gemfire.internal.cache.tier.sockets.CacheClientUpdater.processMessages(CacheClientUpdater.java:1812)
[vm_2]  at 
com.gemstone.gemfire.internal.cache.tier.sockets.CacheClientUpdater.run(CacheClientUpdater.java:462)
{noformat}

On the server side
{noformat}
[vm_0][debug 2016/07/25 15:36:12.504 PDT  tid=0x18b] EOF exception
[vm_0]java.io.EOFException: The connection has been reset while reading the 
header
[vm_0]  at 
com.gemstone.gemfire.internal.cache.tier.sockets.Message.fetchHeader(Message.java:660)
[vm_0]  at 
com.gemstone.gemfire.internal.cache.tier.sockets.Message.readHeaderAndPayload(Message.java:676)
[vm_0]  at 
com.gemstone.gemfire.internal.cache.tier.sockets.Message.read(Message.java:619)
[vm_0]  at 
com.gemstone.gemfire.internal.cache.tier.sockets.Message.recv(Message.java:1085)
[vm_0]  at 
com.gemstone.gemfire.internal.cache.tier.sockets.Message.recv(Message.java:1098)
[vm_0]  at 
com.gemstone.gemfire.internal.cache.tier.sockets.BaseCommand.readRequest(BaseCommand.java:890)
[vm_0]  at 
com.gemstone.gemfire.internal.cache.tier.sockets.ServerConnection.doNormalMsg(ServerConnection.java:726)
[vm_0]  at 
com.gemstone.gemfire.internal.cache.tier.sockets.ServerConnection.doOneMessage(ServerConnection.java:913)
[vm_0]  at 
com.gemstone.gemfire.internal.cache.tier.sockets.ServerConnection.run(ServerConnection.java:1180)
[vm_0]  at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[vm_0]  at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[vm_0]  at 
com.gemstone.gemfire.internal.cache.tier.sockets.AcceptorImpl$1$1.run(AcceptorImpl.java:555)
[vm_0]  at java.lang.Thread.run(Thread.java:745)

[vm_0][info 2016/07/25 15:36:12.506 PDT  tid=0x18b] Server connection from 
[identity(172.16.115.240(33853:loner):48666:0b893324,connection=1,durableAttributes=DurableClientAttributes[id=testSimpleDurableClient2_client_gem_CacheServerTestUtil;
 timeout=300]); port=48668]: connection disconnect detected by EOF.

[vm_0][debug 2016/07/25 15:36:12.509 PDT  tid=0x18b] CacheClientNotifier: Closing dead client: 
CacheClientProxy[identity(172.16.115.240(33853:loner):48666:0b893324,connection=1,durableAttributes=DurableClientAttributes[id=testSimpleDurableClient2_client_gem_CacheServerTestUtil;
 timeout=300]); port=48670; primary=true; version=GFE 9.0]

[vm_0][debug 2016/07/25 15:36:12.509 PDT  tid=0x18b] 

[jira] [Commented] (GEODE-1671) CI failure: LuceneQueriesPeerPRRedundancyDUnitTest.returnCorrectResultsWhenCloseCacheHappensOnPartialIndexWrite

2016-07-25 Thread Dan Smith (JIRA)

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

Dan Smith commented on GEODE-1671:
--

Slightly different failure seen from the same test case:

{noformat}
com.gemstone.gemfire.cache.lucene.LuceneQueriesPeerPRRedundancyDUnitTest > 
returnCorrectResultsWhenCloseCacheHappensOnPartialIndexWrite FAILED
com.gemstone.gemfire.test.dunit.RMIException: While invoking 
com.gemstone.gemfire.cache.lucene.LuceneQueriesPeerPRRedundancyDUnitTest$$Lambda$132/1484746177.run
 in VM 0 running on Host 81256b6f-b7a5-4b03-40ea-84156bc57f84 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:293)
at 
com.gemstone.gemfire.cache.lucene.LuceneQueriesPeerPRRedundancyDUnitTest.putEntriesAndValidateResultsWithRedundancy(LuceneQueriesPeerPRRedundancyDUnitTest.java:106)
at 
com.gemstone.gemfire.cache.lucene.LuceneQueriesPeerPRRedundancyDUnitTest.returnCorrectResultsWhenCloseCacheHappensOnPartialIndexWrite(LuceneQueriesPeerPRRedundancyDUnitTest.java:87)

Caused by:
java.lang.NullPointerException
at 
com.gemstone.gemfire.cache.lucene.test.LuceneTestUtilities.resumeSender(LuceneTestUtilities.java:123)
at 
com.gemstone.gemfire.cache.lucene.LuceneQueriesPeerPRRedundancyDUnitTest.lambda$putEntriesAndValidateResultsWithRedundancy$84651174$3(LuceneQueriesPeerPRRedundancyDUnitTest.java:106)

{noformat}

> CI failure: 
> LuceneQueriesPeerPRRedundancyDUnitTest.returnCorrectResultsWhenCloseCacheHappensOnPartialIndexWrite
> ---
>
> Key: GEODE-1671
> URL: https://issues.apache.org/jira/browse/GEODE-1671
> Project: Geode
>  Issue Type: Bug
>  Components: lucene
>Reporter: Bruce Schuchardt
>  Labels: ci
>
> java.lang.AssertionError
>   at org.junit.Assert.fail(Assert.java:86)
>   at org.junit.Assert.assertTrue(Assert.java:41)
>   at org.junit.Assert.assertTrue(Assert.java:52)
>   at 
> com.gemstone.gemfire.cache.lucene.LuceneQueriesPeerPRRedundancyDUnitTest.putEntriesAndValidateResultsWithRedundancy(LuceneQueriesPeerPRRedundancyDUnitTest.java:109)
>   at 
> com.gemstone.gemfire.cache.lucene.LuceneQueriesPeerPRRedundancyDUnitTest.returnCorrectResultsWhenCloseCacheHappensOnPartialIndexWrite(LuceneQueriesPeerPRRedundancyDUnitTest.java:87)
>   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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
>   at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>   at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
>   at 
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
>   at 
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
>   at 
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
>   at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
>   at org.junit.rules.RunRules.evaluate(RunRules.java:20)
>   at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
>   at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>   at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
>   at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
>   at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
>   at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
>   at 
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
>   at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:112)
>   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:66)
>   at 
> 

[jira] [Resolved] (GEODE-1589) LuceneEventListener can create duplicate index entries during a rebalance

2016-07-07 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith resolved GEODE-1589.
--
   Resolution: Fixed
Fix Version/s: 1.0.0-incubating.M3

> LuceneEventListener can create duplicate index entries during a rebalance
> -
>
> Key: GEODE-1589
> URL: https://issues.apache.org/jira/browse/GEODE-1589
> Project: Geode
>  Issue Type: Bug
>  Components: lucene
>Reporter: Dan Smith
> Fix For: 1.0.0-incubating.M3
>
>
> LuceneQueriesPeerPRDUnitTest.returnCorrectResultsAfterRebalance occasionally 
> fails with an extra entry in the results.
> Looking at the code, it looks like there may be a problem with how we handle 
> duplicate events. The listener calls IndexRepository.create, which will add a 
> duplicate entry if the entry already exists in the index. Because of the way 
> the async event queue works, we can invoke duplicate create events on the old 
> primary and new primary when a bucket is rebalanced or a member crashes.



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


[jira] [Resolved] (GEODE-1558) LuceneQueriesPeerPRDUnitTest.returnCorrectResultsAfterRebalance failed on flushing the queue

2016-07-07 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith resolved GEODE-1558.
--
   Resolution: Fixed
 Assignee: Dan Smith
Fix Version/s: 1.0.0-incubating.M3

> LuceneQueriesPeerPRDUnitTest.returnCorrectResultsAfterRebalance failed on 
> flushing the queue
> 
>
> Key: GEODE-1558
> URL: https://issues.apache.org/jira/browse/GEODE-1558
> Project: Geode
>  Issue Type: Bug
>  Components: lucene
>Reporter: Aparna Dharmakkan
>Assignee: Dan Smith
> Fix For: 1.0.0-incubating.M3
>
>
> The error was:
> {noformat}
> java.lang.AssertionError
>   at org.junit.Assert.fail(Assert.java:86)
>   at org.junit.Assert.assertTrue(Assert.java:41)
>   at org.junit.Assert.assertTrue(Assert.java:52)
>   at 
> com.gemstone.gemfire.cache.lucene.LuceneQueriesPRBase.returnCorrectResultsAfterRebalance(LuceneQueriesPRBase.java:64)
>   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:498)
>   at 
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
>   at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>   at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
>   at 
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
>   at 
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
>   at 
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
>   at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
>   at org.junit.rules.RunRules.evaluate(RunRules.java:20)
>   at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
>   at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>   at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
>   at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
>   at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
>   at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
>   at 
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
>   at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:112)
>   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:66)
>   at 
> org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
>   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:498)
>   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:109)
>   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:498)
>   at 
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
>   at 
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
>   at 
> 

[jira] [Resolved] (GEODE-1631) geode-assembly testRuntime refers to hardcoded apache-geode directory in dependencies

2016-07-06 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith resolved GEODE-1631.
--
Resolution: Fixed

> geode-assembly testRuntime refers to hardcoded apache-geode directory in 
> dependencies
> -
>
> Key: GEODE-1631
> URL: https://issues.apache.org/jira/browse/GEODE-1631
> Project: Geode
>  Issue Type: Bug
>  Components: build
>Reporter: Dan Smith
>Assignee: Dan Smith
>
> The dependencies for geode-assembly include this line 
> testRuntime 
> files("$buildDir/install/${distributions.main.baseName}/lib/geode-dependencies.jar")
> That's a hardcoded path to a file, the location of that generated file should 
> be resolved dynamically.



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


[jira] [Assigned] (GEODE-1631) geode-assembly testRuntime refers to hardcoded apache-geode directory in dependencies

2016-07-05 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith reassigned GEODE-1631:


Assignee: Dan Smith

> geode-assembly testRuntime refers to hardcoded apache-geode directory in 
> dependencies
> -
>
> Key: GEODE-1631
> URL: https://issues.apache.org/jira/browse/GEODE-1631
> Project: Geode
>  Issue Type: Bug
>  Components: build
>Reporter: Dan Smith
>Assignee: Dan Smith
>
> The dependencies for geode-assembly include this line 
> testRuntime 
> files("$buildDir/install/${distributions.main.baseName}/lib/geode-dependencies.jar")
> That's a hardcoded path to a file, the location of that generated file should 
> be resolved dynamically.



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


[jira] [Created] (GEODE-1631) geode-assembly testRuntime refers to hardcoded apache-geode directory in dependencies

2016-07-05 Thread Dan Smith (JIRA)
Dan Smith created GEODE-1631:


 Summary: geode-assembly testRuntime refers to hardcoded 
apache-geode directory in dependencies
 Key: GEODE-1631
 URL: https://issues.apache.org/jira/browse/GEODE-1631
 Project: Geode
  Issue Type: Bug
  Components: build
Reporter: Dan Smith


The dependencies for geode-assembly include this line 

testRuntime 
files("$buildDir/install/${distributions.main.baseName}/lib/geode-dependencies.jar")

That's a hardcoded path to a file, the location of that generated file should 
be resolved dynamically.



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


[jira] [Updated] (GEODE-527) CI failure: OplogJUnitTest.testStatsSizeReductionOnRolling (IntegrationTest)

2016-07-01 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith updated GEODE-527:

Assignee: Darrel Schneider  (was: Jens Deppe)

> CI failure: OplogJUnitTest.testStatsSizeReductionOnRolling (IntegrationTest)
> 
>
> Key: GEODE-527
> URL: https://issues.apache.org/jira/browse/GEODE-527
> Project: Geode
>  Issue Type: Bug
>  Components: persistence
>Reporter: Kirk Lund
>Assignee: Darrel Schneider
>  Labels: CI, Flaky
> Attachments: sysout.txt
>
>
> {noformat}
> java.lang.AssertionError
>   at org.junit.Assert.fail(Assert.java:86)
>   at org.junit.Assert.assertTrue(Assert.java:41)
>   at org.junit.Assert.assertFalse(Assert.java:64)
>   at org.junit.Assert.assertFalse(Assert.java:74)
>   at 
> com.gemstone.gemfire.internal.cache.OplogJUnitTest.testStatsSizeReductionOnRolling(OplogJUnitTest.java:3564)
>   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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
>   at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>   at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
>   at 
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
>   at 
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
>   at 
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
>   at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
>   at org.junit.rules.RunRules.evaluate(RunRules.java:20)
>   at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
>   at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>   at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
>   at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
>   at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
>   at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
>   at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>   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 
> 

[jira] [Updated] (GEODE-527) CI failure: OplogJUnitTest.testStatsSizeReductionOnRolling (IntegrationTest)

2016-07-01 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith updated GEODE-527:

Component/s: persistence

> CI failure: OplogJUnitTest.testStatsSizeReductionOnRolling (IntegrationTest)
> 
>
> Key: GEODE-527
> URL: https://issues.apache.org/jira/browse/GEODE-527
> Project: Geode
>  Issue Type: Bug
>  Components: persistence
>Reporter: Kirk Lund
>Assignee: Jens Deppe
>  Labels: CI, Flaky
> Attachments: sysout.txt
>
>
> {noformat}
> java.lang.AssertionError
>   at org.junit.Assert.fail(Assert.java:86)
>   at org.junit.Assert.assertTrue(Assert.java:41)
>   at org.junit.Assert.assertFalse(Assert.java:64)
>   at org.junit.Assert.assertFalse(Assert.java:74)
>   at 
> com.gemstone.gemfire.internal.cache.OplogJUnitTest.testStatsSizeReductionOnRolling(OplogJUnitTest.java:3564)
>   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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
>   at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>   at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
>   at 
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
>   at 
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
>   at 
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
>   at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
>   at org.junit.rules.RunRules.evaluate(RunRules.java:20)
>   at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
>   at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>   at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
>   at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
>   at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
>   at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
>   at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>   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 
> 

[jira] [Created] (GEODE-1619) PartitionedRegionSingleHopWithServerGroupDUnitTest.test_SingleHopWithServerGroupTwoClientServerGroup

2016-07-01 Thread Dan Smith (JIRA)
Dan Smith created GEODE-1619:


 Summary: 
PartitionedRegionSingleHopWithServerGroupDUnitTest.test_SingleHopWithServerGroupTwoClientServerGroup
 Key: GEODE-1619
 URL: https://issues.apache.org/jira/browse/GEODE-1619
 Project: Geode
  Issue Type: Bug
  Components: client/server
Reporter: Dan Smith


{noformat}
com.gemstone.gemfire.test.dunit.RMIException: While invoking 
com.gemstone.gemfire.internal.cache.PartitionedRegionSingleHopWithServerGroupDUnitTest$$Lambda$103/472208708.run
 in VM 2 running on Host rooktwo.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:293)
at 
com.gemstone.gemfire.internal.cache.PartitionedRegionSingleHopWithServerGroupDUnitTest.test_SingleHopWithServerGroupTwoClientServerGroup(PartitionedRegionSingleHopWithServerGroupDUnitTest.java:398)
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at 
org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:112)
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:66)
at 
org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
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:109)
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 

[jira] [Updated] (GEODE-1619) PartitionedRegionSingleHopWithServerGroupDUnitTest.test_SingleHopWithServerGroupTwoClientServerGroup

2016-07-01 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith updated GEODE-1619:
-
Labels: ci  (was: )

> PartitionedRegionSingleHopWithServerGroupDUnitTest.test_SingleHopWithServerGroupTwoClientServerGroup
> 
>
> Key: GEODE-1619
> URL: https://issues.apache.org/jira/browse/GEODE-1619
> Project: Geode
>  Issue Type: Bug
>  Components: client/server
>Reporter: Dan Smith
>  Labels: ci
>
> {noformat}
> com.gemstone.gemfire.test.dunit.RMIException: While invoking 
> com.gemstone.gemfire.internal.cache.PartitionedRegionSingleHopWithServerGroupDUnitTest$$Lambda$103/472208708.run
>  in VM 2 running on Host rooktwo.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:293)
>   at 
> com.gemstone.gemfire.internal.cache.PartitionedRegionSingleHopWithServerGroupDUnitTest.test_SingleHopWithServerGroupTwoClientServerGroup(PartitionedRegionSingleHopWithServerGroupDUnitTest.java:398)
>   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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
>   at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>   at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
>   at 
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
>   at 
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
>   at 
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
>   at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
>   at org.junit.rules.RunRules.evaluate(RunRules.java:20)
>   at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
>   at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>   at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
>   at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
>   at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
>   at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
>   at 
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
>   at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:112)
>   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:66)
>   at 
> org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
>   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:109)
>   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 
> 

[jira] [Updated] (GEODE-1618) CI failure: DurableClientSimpleDUnitTest.testMultipleBridgeClientsInSingleDurableVM

2016-07-01 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1618?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith updated GEODE-1618:
-
Labels: ci  (was: )

> CI failure: 
> DurableClientSimpleDUnitTest.testMultipleBridgeClientsInSingleDurableVM
> ---
>
> Key: GEODE-1618
> URL: https://issues.apache.org/jira/browse/GEODE-1618
> Project: Geode
>  Issue Type: Bug
>  Components: client queues
>Reporter: Dan Smith
>  Labels: ci
>
> {noformat}
> com.gemstone.gemfire.test.dunit.RMIException: While invoking 
> com.gemstone.gemfire.internal.cache.tier.sockets.DurableClientSimpleDUnitTest$7.run
>  in VM 0 running on Host cc1-co.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:293)
>   at 
> com.gemstone.gemfire.internal.cache.tier.sockets.DurableClientSimpleDUnitTest.testMultipleBridgeClientsInSingleDurableVM(DurableClientSimpleDUnitTest.java:201)
>   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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
>   at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>   at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
>   at 
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
>   at 
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
>   at 
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
>   at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
>   at org.junit.rules.RunRules.evaluate(RunRules.java:20)
>   at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
>   at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>   at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
>   at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
>   at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
>   at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
>   at 
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
>   at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:112)
>   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:66)
>   at 
> org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
>   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:109)
>   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 
> 

[jira] [Created] (GEODE-1618) CI failure: DurableClientSimpleDUnitTest.testMultipleBridgeClientsInSingleDurableVM

2016-07-01 Thread Dan Smith (JIRA)
Dan Smith created GEODE-1618:


 Summary: CI failure: 
DurableClientSimpleDUnitTest.testMultipleBridgeClientsInSingleDurableVM
 Key: GEODE-1618
 URL: https://issues.apache.org/jira/browse/GEODE-1618
 Project: Geode
  Issue Type: Bug
  Components: client queues
Reporter: Dan Smith


{noformat}
com.gemstone.gemfire.test.dunit.RMIException: While invoking 
com.gemstone.gemfire.internal.cache.tier.sockets.DurableClientSimpleDUnitTest$7.run
 in VM 0 running on Host cc1-co.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:293)
at 
com.gemstone.gemfire.internal.cache.tier.sockets.DurableClientSimpleDUnitTest.testMultipleBridgeClientsInSingleDurableVM(DurableClientSimpleDUnitTest.java:201)
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at 
org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:112)
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:66)
at 
org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
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:109)
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 

[jira] [Updated] (GEODE-1614) CI failure: LuceneQueriesClientDUnitTest.entriesFlushedToIndexAfterWaitForFlushCalled

2016-06-29 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith updated GEODE-1614:
-
Labels: ci  (was: )

> CI failure: 
> LuceneQueriesClientDUnitTest.entriesFlushedToIndexAfterWaitForFlushCalled
> -
>
> Key: GEODE-1614
> URL: https://issues.apache.org/jira/browse/GEODE-1614
> Project: Geode
>  Issue Type: Bug
>  Components: lucene
>Reporter: Dan Smith
>  Labels: ci
>
> Revision: 49d144bb2cf731d4c62fc86715fd8c9e0a680d45 
> {noformat}
> java.lang.AssertionError
>   at org.junit.Assert.fail(Assert.java:86)
>   at org.junit.Assert.assertTrue(Assert.java:41)
>   at org.junit.Assert.assertFalse(Assert.java:64)
>   at org.junit.Assert.assertFalse(Assert.java:74)
>   at 
> com.gemstone.gemfire.cache.lucene.LuceneQueriesBase.entriesFlushedToIndexAfterWaitForFlushCalled(LuceneQueriesBase.java:127)
>   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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
>   at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>   at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
>   at 
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
>   at 
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
>   at 
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
>   at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
>   at org.junit.rules.RunRules.evaluate(RunRules.java:20)
>   at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
>   at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>   at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
>   at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
>   at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
>   at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
>   at 
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
>   at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:112)
>   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:66)
>   at 
> org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
>   at sun.reflect.GeneratedMethodAccessor10.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:109)
>   at sun.reflect.GeneratedMethodAccessor9.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 
> 

[jira] [Created] (GEODE-1614) CI failure: LuceneQueriesClientDUnitTest.entriesFlushedToIndexAfterWaitForFlushCalled

2016-06-29 Thread Dan Smith (JIRA)
Dan Smith created GEODE-1614:


 Summary: CI failure: 
LuceneQueriesClientDUnitTest.entriesFlushedToIndexAfterWaitForFlushCalled
 Key: GEODE-1614
 URL: https://issues.apache.org/jira/browse/GEODE-1614
 Project: Geode
  Issue Type: Bug
  Components: lucene
Reporter: Dan Smith


Revision: 49d144bb2cf731d4c62fc86715fd8c9e0a680d45 

{noformat}
java.lang.AssertionError
at org.junit.Assert.fail(Assert.java:86)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.junit.Assert.assertFalse(Assert.java:64)
at org.junit.Assert.assertFalse(Assert.java:74)
at 
com.gemstone.gemfire.cache.lucene.LuceneQueriesBase.entriesFlushedToIndexAfterWaitForFlushCalled(LuceneQueriesBase.java:127)
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at 
org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:112)
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:66)
at 
org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
at sun.reflect.GeneratedMethodAccessor10.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:109)
at sun.reflect.GeneratedMethodAccessor9.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)

Previously run tests: 

[jira] [Updated] (GEODE-1613) CI failure: ConnectionPoolDUnitTest.test021ClientGetOfInvalidServerEntry

2016-06-29 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith updated GEODE-1613:
-
Labels: ci  (was: )

> CI failure: ConnectionPoolDUnitTest.test021ClientGetOfInvalidServerEntry
> 
>
> Key: GEODE-1613
> URL: https://issues.apache.org/jira/browse/GEODE-1613
> Project: Geode
>  Issue Type: Bug
>  Components: client/server
>Reporter: Dan Smith
>  Labels: ci
>
> Revision: 49d144bb2cf731d4c62fc86715fd8c9e0a680d45 
> Previously run tests: [CacheServerSSLConnectionDUnitTest, 
> AutoConnectionSourceDUnitTest, SSLNoClientAuthDUnitTest, 
> ClientServerRegisterInterestsDUnitTest, SnapshotByteArrayDUnitTest, 
> SnapshotPerformanceDUnitTest, SnapshotDUnitTest, ParallelSnapshotDUnitTest, 
> ConnectionPoolDUnitTest]
> {noformat}
> 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 1302
> [error 2016/06/28 03:35:22.793 PDT  tid=0x9e5] 
> Unexpected error in pool task 
> 
> java.util.concurrent.RejectedExecutionException: Task 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@7d3a6dfa 
> rejected from 
> com.gemstone.gemfire.internal.ScheduledThreadPoolExecutorWithKeepAlive$1@3838ec39[Terminated,
>  pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 4]
>   at 
> java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2047)
>   at 
> java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:823)
>   at 
> java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:326)
>   at 
> java.util.concurrent.ScheduledThreadPoolExecutor.schedule(ScheduledThreadPoolExecutor.java:533)
>   at 
> com.gemstone.gemfire.internal.ScheduledThreadPoolExecutorWithKeepAlive.schedule(ScheduledThreadPoolExecutorWithKeepAlive.java:102)
>   at 
> com.gemstone.gemfire.internal.ScheduledThreadPoolExecutorWithKeepAlive.schedule(ScheduledThreadPoolExecutorWithKeepAlive.java:97)
>   at 
> com.gemstone.gemfire.cache.client.internal.DataSerializerRecoveryListener$RecoveryTask.run2(DataSerializerRecoveryListener.java:144)
>   at 
> com.gemstone.gemfire.cache.client.internal.PoolImpl$PoolTask.run(PoolImpl.java:1247)
>   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)
> {noformat}



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


[jira] [Created] (GEODE-1613) CI failure: ConnectionPoolDUnitTest.test021ClientGetOfInvalidServerEntry

2016-06-29 Thread Dan Smith (JIRA)
Dan Smith created GEODE-1613:


 Summary: CI failure: 
ConnectionPoolDUnitTest.test021ClientGetOfInvalidServerEntry
 Key: GEODE-1613
 URL: https://issues.apache.org/jira/browse/GEODE-1613
 Project: Geode
  Issue Type: Bug
  Components: client/server
Reporter: Dan Smith


Revision: 49d144bb2cf731d4c62fc86715fd8c9e0a680d45 

Previously run tests: [CacheServerSSLConnectionDUnitTest, 
AutoConnectionSourceDUnitTest, SSLNoClientAuthDUnitTest, 
ClientServerRegisterInterestsDUnitTest, SnapshotByteArrayDUnitTest, 
SnapshotPerformanceDUnitTest, SnapshotDUnitTest, ParallelSnapshotDUnitTest, 
ConnectionPoolDUnitTest]

{noformat}
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 1302

[error 2016/06/28 03:35:22.793 PDT  tid=0x9e5] Unexpected 
error in pool task 

java.util.concurrent.RejectedExecutionException: Task 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@7d3a6dfa 
rejected from 
com.gemstone.gemfire.internal.ScheduledThreadPoolExecutorWithKeepAlive$1@3838ec39[Terminated,
 pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 4]
at 
java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2047)
at 
java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:823)
at 
java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:326)
at 
java.util.concurrent.ScheduledThreadPoolExecutor.schedule(ScheduledThreadPoolExecutor.java:533)
at 
com.gemstone.gemfire.internal.ScheduledThreadPoolExecutorWithKeepAlive.schedule(ScheduledThreadPoolExecutorWithKeepAlive.java:102)
at 
com.gemstone.gemfire.internal.ScheduledThreadPoolExecutorWithKeepAlive.schedule(ScheduledThreadPoolExecutorWithKeepAlive.java:97)
at 
com.gemstone.gemfire.cache.client.internal.DataSerializerRecoveryListener$RecoveryTask.run2(DataSerializerRecoveryListener.java:144)
at 
com.gemstone.gemfire.cache.client.internal.PoolImpl$PoolTask.run(PoolImpl.java:1247)
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)
{noformat}



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


[jira] [Updated] (GEODE-1612) CI failure: WanAutoDiscoveryDUnitTest.test_RingTopology

2016-06-29 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith updated GEODE-1612:
-
Labels: ci  (was: )

> CI failure: WanAutoDiscoveryDUnitTest.test_RingTopology
> ---
>
> Key: GEODE-1612
> URL: https://issues.apache.org/jira/browse/GEODE-1612
> Project: Geode
>  Issue Type: Bug
>  Components: wan
>Reporter: Dan Smith
>  Labels: ci
>
> Revision: 7ad9cc9451212f1c8a0acba3ec78a9eb562d3780 
> {noformat}
> com.gemstone.gemfire.test.dunit.RMIException: While invoking 
> com.gemstone.gemfire.internal.cache.wan.misc.WanAutoDiscoveryDUnitTest$$Lambda$2185/1936764995.call
>  in VM 0 running on Host doomtwo.gemstone.com with 8 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.wan.misc.WanAutoDiscoveryDUnitTest.test_RingTopology(WanAutoDiscoveryDUnitTest.java:339)
>   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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
>   at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>   at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
>   at 
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
>   at 
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
>   at 
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
>   at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
>   at org.junit.rules.RunRules.evaluate(RunRules.java:20)
>   at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
>   at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>   at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
>   at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
>   at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
>   at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
>   at 
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
>   at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:112)
>   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:66)
>   at 
> org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
>   at sun.reflect.GeneratedMethodAccessor158.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:109)
>   at sun.reflect.GeneratedMethodAccessor157.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 
> 

[jira] [Created] (GEODE-1612) CI failure: WanAutoDiscoveryDUnitTest.test_RingTopology

2016-06-29 Thread Dan Smith (JIRA)
Dan Smith created GEODE-1612:


 Summary: CI failure: WanAutoDiscoveryDUnitTest.test_RingTopology
 Key: GEODE-1612
 URL: https://issues.apache.org/jira/browse/GEODE-1612
 Project: Geode
  Issue Type: Bug
  Components: wan
Reporter: Dan Smith


Revision: 7ad9cc9451212f1c8a0acba3ec78a9eb562d3780 

{noformat}
com.gemstone.gemfire.test.dunit.RMIException: While invoking 
com.gemstone.gemfire.internal.cache.wan.misc.WanAutoDiscoveryDUnitTest$$Lambda$2185/1936764995.call
 in VM 0 running on Host doomtwo.gemstone.com with 8 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.wan.misc.WanAutoDiscoveryDUnitTest.test_RingTopology(WanAutoDiscoveryDUnitTest.java:339)
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at 
org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:112)
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:66)
at 
org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
at sun.reflect.GeneratedMethodAccessor158.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:109)
at sun.reflect.GeneratedMethodAccessor157.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 

[jira] [Created] (GEODE-1609) Events missing from Lucene index when a bucket moves and is moved back during dispatching

2016-06-28 Thread Dan Smith (JIRA)
Dan Smith created GEODE-1609:


 Summary: Events missing from Lucene index when a bucket moves and 
is moved back during dispatching
 Key: GEODE-1609
 URL: https://issues.apache.org/jira/browse/GEODE-1609
 Project: Geode
  Issue Type: Bug
  Components: lucene
Reporter: Dan Smith


While working on GEODE-1558, we added a test of moving a bucket during 
dispatching, and then having the new dispatcher move the bucket back when it 
tries to dispatch.

In this case the entry that is in that bucket never makes it to the lucene 
index.

The test is sitting on this feature branch:
https://github.com/aparnard/incubator-geode/tree/feature/GEODE-1558

To see the failure, remove the "@Ignored" annotation from 
LuceneQueriesPRBase.returnCorrectResultsWhenBucketIsMovedAndMovedBackOnIndexUpdate
 and run the test.



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


[jira] [Commented] (GEODE-1605) CI failure: MiscellaneousCommandsDUnitTest.testChangeLogLevelForMembers

2016-06-27 Thread Dan Smith (JIRA)

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

Dan Smith commented on GEODE-1605:
--

Same failure also seen in 
GemfireDataCommandsDUnitTest.testRebalanceCommandForTimeOut

Revision: 7ad9cc9451212f1c8a0acba3ec78a9eb562d3780 
{noformat}
java.lang.AssertionError: Connect command failed to connect to manager 
kuwait[26114] result=Could not connect to : [host=kuwait, port=26114]. Failed 
to retrieve RMIServer stub: javax.naming.CommunicationException [Root exception 
is java.rmi.NoSuchObjectException: no such object in table]

at 
com.gemstone.gemfire.management.internal.cli.commands.CliCommandTestBase.connect(CliCommandTestBase.java:248)
at 
com.gemstone.gemfire.management.internal.cli.commands.CliCommandTestBase.connect(CliCommandTestBase.java:221)
at 
com.gemstone.gemfire.management.internal.cli.commands.CliCommandTestBase.setUpJmxManagerOnVm0ThenConnect(CliCommandTestBase.java:109)
at 
com.gemstone.gemfire.management.internal.cli.commands.GemfireDataCommandsDUnitTest.setupTestRebalanceForEntireDS(GemfireDataCommandsDUnitTest.java:1905)
at 
com.gemstone.gemfire.management.internal.cli.commands.GemfireDataCommandsDUnitTest.testRebalanceCommandForTimeOut(GemfireDataCommandsDUnitTest.java:1727)
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at 
org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:112)
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:66)
at 
org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
at sun.reflect.GeneratedMethodAccessor24.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:109)
at sun.reflect.GeneratedMethodAccessor23.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 

[jira] [Updated] (GEODE-1605) CI failure: MiscellaneousCommandsDUnitTest.testChangeLogLevelForMembers

2016-06-27 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith updated GEODE-1605:
-
Description: 
Revision: 7ad9cc9451212f1c8a0acba3ec78a9eb562d3780 

{noformat}
java.lang.AssertionError: Connect command failed to connect to manager 
japan[29850] result=Could not connect to : [host=japan, port=29850]. Failed to 
retrieve RMIServer stub: javax.naming.CommunicationException [Root exception is 
java.rmi.NoSuchObjectException: no such object in table]

at 
com.gemstone.gemfire.management.internal.cli.commands.CliCommandTestBase.connect(CliCommandTestBase.java:248)
at 
com.gemstone.gemfire.management.internal.cli.commands.CliCommandTestBase.connect(CliCommandTestBase.java:221)
at 
com.gemstone.gemfire.management.internal.cli.commands.CliCommandTestBase.setUpJmxManagerOnVm0ThenConnect(CliCommandTestBase.java:109)
at 
com.gemstone.gemfire.management.internal.cli.commands.MiscellaneousCommandsDUnitTest.setupForChangeLogLelvel(MiscellaneousCommandsDUnitTest.java:325)
at 
com.gemstone.gemfire.management.internal.cli.commands.MiscellaneousCommandsDUnitTest.testChangeLogLevelForMembers(MiscellaneousCommandsDUnitTest.java:400)
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at 
org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:112)
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:66)
at 
org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
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.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:109)
at sun.reflect.GeneratedMethodAccessor167.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 

[jira] [Commented] (GEODE-1604) Suspect String in RestAPIOnRegionFunctionExecutionDUnitTest.testOnRegionExecutionWithPartitionRegion

2016-06-27 Thread Dan Smith (JIRA)

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

Dan Smith commented on GEODE-1604:
--

This was likely related to GEODE-1606. It failed in the same build, and it 
looks like the suspect string from GEODE-1606 is showing up in the log for this 
test, which is pretty weird.

> Suspect String in 
> RestAPIOnRegionFunctionExecutionDUnitTest.testOnRegionExecutionWithPartitionRegion
> 
>
> Key: GEODE-1604
> URL: https://issues.apache.org/jira/browse/GEODE-1604
> Project: Geode
>  Issue Type: Bug
>  Components: rest (dev)
>Reporter: Dan Smith
>  Labels: ci
>
> Revision: 7ad9cc9451212f1c8a0acba3ec78a9eb562d3780 
> {noformat}
> 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 438
> [error 2016/06/25 09:14:11.141 PDT  
> tid=0x1c] Jmx manager could not be started because HTTP service failed to 
> start
> com.gemstone.gemfire.management.ManagementException: HTTP service failed to 
> start
>   at 
> com.gemstone.gemfire.management.internal.ManagementAgent.startHttpService(ManagementAgent.java:285)
>   at 
> com.gemstone.gemfire.management.internal.ManagementAgent.startAgent(ManagementAgent.java:128)
>   at 
> com.gemstone.gemfire.management.internal.SystemManagementService.startManager(SystemManagementService.java:479)
>   at 
> com.gemstone.gemfire.management.internal.beans.ManagementAdapter.handleCacheCreation(ManagementAdapter.java:195)
>   at 
> com.gemstone.gemfire.management.internal.beans.ManagementListener.handleEvent(ManagementListener.java:118)
>   at 
> com.gemstone.gemfire.distributed.internal.InternalDistributedSystem.notifyResourceEventListeners(InternalDistributedSystem.java:2085)
>   at 
> com.gemstone.gemfire.distributed.internal.InternalDistributedSystem.handleResourceEvent(InternalDistributedSystem.java:478)
>   at 
> com.gemstone.gemfire.internal.cache.GemFireCacheImpl.initialize(GemFireCacheImpl.java:1053)
>   at 
> com.gemstone.gemfire.internal.cache.GemFireCacheImpl.basicCreate(GemFireCacheImpl.java:706)
>   at 
> com.gemstone.gemfire.internal.cache.GemFireCacheImpl.create(GemFireCacheImpl.java:694)
>   at com.gemstone.gemfire.cache.CacheFactory.create(CacheFactory.java:181)
>   at com.gemstone.gemfire.cache.CacheFactory.create(CacheFactory.java:231)
>   at 
> com.gemstone.gemfire.distributed.internal.InternalLocator.startCache(InternalLocator.java:795)
>   at 
> com.gemstone.gemfire.distributed.internal.InternalLocator.startDistributedSystem(InternalLocator.java:781)
>   at 
> com.gemstone.gemfire.distributed.internal.InternalLocator.startLocator(InternalLocator.java:390)
>   at 
> com.gemstone.gemfire.distributed.internal.InternalLocator.startLocator(InternalLocator.java:317)
>   at 
> com.gemstone.gemfire.distributed.Locator.startLocator(Locator.java:334)
>   at 
> com.gemstone.gemfire.distributed.Locator.startLocatorAndDS(Locator.java:253)
>   at 
> com.gemstone.gemfire.management.internal.configuration.SharedConfigurationEndToEndDUnitTest$1.call(SharedConfigurationEndToEndDUnitTest.java:357)
>   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.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 

[jira] [Updated] (GEODE-1606) CI Failure: SharedConfigurationEndToEndDUnitTest.testStartServerAndExecuteCommands

2016-06-27 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith updated GEODE-1606:
-
Labels: ci  (was: )

> CI Failure: 
> SharedConfigurationEndToEndDUnitTest.testStartServerAndExecuteCommands
> --
>
> Key: GEODE-1606
> URL: https://issues.apache.org/jira/browse/GEODE-1606
> Project: Geode
>  Issue Type: Bug
>  Components: management
>Reporter: Dan Smith
>  Labels: ci
>
> Revision: 7ad9cc9451212f1c8a0acba3ec78a9eb562d3780 
> {noformat}
> com.gemstone.gemfire.test.dunit.RMIException: While invoking 
> com.gemstone.gemfire.management.internal.configuration.SharedConfigurationEndToEndDUnitTest$1.call
>  in VM 3 running on Host latvia.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.management.internal.configuration.SharedConfigurationEndToEndDUnitTest.setup(SharedConfigurationEndToEndDUnitTest.java:325)
>   at 
> com.gemstone.gemfire.management.internal.configuration.SharedConfigurationEndToEndDUnitTest.postSetUpCliCommandTestBase(SharedConfigurationEndToEndDUnitTest.java:95)
>   at 
> com.gemstone.gemfire.management.internal.cli.commands.CliCommandTestBase.postSetUp(CliCommandTestBase.java:73)
>   at 
> com.gemstone.gemfire.test.dunit.internal.JUnit4DistributedTestCase.setUp(JUnit4DistributedTestCase.java:346)
>   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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
>   at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>   at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
>   at 
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
>   at 
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
>   at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
>   at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
>   at org.junit.rules.RunRules.evaluate(RunRules.java:20)
>   at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
>   at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>   at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
>   at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
>   at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
>   at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
>   at 
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
>   at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:112)
>   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:66)
>   at 
> org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
>   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:109)
>   at 

[jira] [Created] (GEODE-1606) CI Failure: SharedConfigurationEndToEndDUnitTest.testStartServerAndExecuteCommands

2016-06-27 Thread Dan Smith (JIRA)
Dan Smith created GEODE-1606:


 Summary: CI Failure: 
SharedConfigurationEndToEndDUnitTest.testStartServerAndExecuteCommands
 Key: GEODE-1606
 URL: https://issues.apache.org/jira/browse/GEODE-1606
 Project: Geode
  Issue Type: Bug
  Components: management
Reporter: Dan Smith


Revision: 7ad9cc9451212f1c8a0acba3ec78a9eb562d3780 

{noformat}
com.gemstone.gemfire.test.dunit.RMIException: While invoking 
com.gemstone.gemfire.management.internal.configuration.SharedConfigurationEndToEndDUnitTest$1.call
 in VM 3 running on Host latvia.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.management.internal.configuration.SharedConfigurationEndToEndDUnitTest.setup(SharedConfigurationEndToEndDUnitTest.java:325)
at 
com.gemstone.gemfire.management.internal.configuration.SharedConfigurationEndToEndDUnitTest.postSetUpCliCommandTestBase(SharedConfigurationEndToEndDUnitTest.java:95)
at 
com.gemstone.gemfire.management.internal.cli.commands.CliCommandTestBase.postSetUp(CliCommandTestBase.java:73)
at 
com.gemstone.gemfire.test.dunit.internal.JUnit4DistributedTestCase.setUp(JUnit4DistributedTestCase.java:346)
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at 
org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:112)
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:66)
at 
org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
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:109)
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)
 

[jira] [Updated] (GEODE-1605) CI failure: MiscellaneousCommandsDUnitTest.testChangeLogLevelForMembers

2016-06-27 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith updated GEODE-1605:
-
Labels: ci  (was: )

> CI failure: MiscellaneousCommandsDUnitTest.testChangeLogLevelForMembers
> ---
>
> Key: GEODE-1605
> URL: https://issues.apache.org/jira/browse/GEODE-1605
> Project: Geode
>  Issue Type: Bug
>  Components: management
>Reporter: Dan Smith
>  Labels: ci
>
> Revision: 7ad9cc9451212f1c8a0acba3ec78a9eb562d3780 
> {noformat}
> java.lang.AssertionError: Connect command failed to connect to manager 
> japan[29850] result=Could not connect to : [host=japan, port=29850]. Failed 
> to retrieve RMIServer stub: javax.naming.CommunicationException [Root 
> exception is java.rmi.NoSuchObjectException: no such object in table]
>   at 
> com.gemstone.gemfire.management.internal.cli.commands.CliCommandTestBase.connect(CliCommandTestBase.java:248)
>   at 
> com.gemstone.gemfire.management.internal.cli.commands.CliCommandTestBase.connect(CliCommandTestBase.java:221)
>   at 
> com.gemstone.gemfire.management.internal.cli.commands.CliCommandTestBase.setUpJmxManagerOnVm0ThenConnect(CliCommandTestBase.java:109)
>   at 
> com.gemstone.gemfire.management.internal.cli.commands.MiscellaneousCommandsDUnitTest.setupForChangeLogLelvel(MiscellaneousCommandsDUnitTest.java:325)
>   at 
> com.gemstone.gemfire.management.internal.cli.commands.MiscellaneousCommandsDUnitTest.testChangeLogLevelForMembers(MiscellaneousCommandsDUnitTest.java:400)
>   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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
>   at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>   at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
>   at 
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
>   at 
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
>   at 
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
>   at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
>   at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
>   at org.junit.rules.RunRules.evaluate(RunRules.java:20)
>   at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
>   at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>   at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
>   at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
>   at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
>   at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
>   at 
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
>   at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:112)
>   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:66)
>   at 
> org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
>   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.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:109)
>   at 

[jira] [Updated] (GEODE-1604) Suspect String in RestAPIOnRegionFunctionExecutionDUnitTest.testOnRegionExecutionWithPartitionRegion

2016-06-27 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith updated GEODE-1604:
-
Labels: ci  (was: )

> Suspect String in 
> RestAPIOnRegionFunctionExecutionDUnitTest.testOnRegionExecutionWithPartitionRegion
> 
>
> Key: GEODE-1604
> URL: https://issues.apache.org/jira/browse/GEODE-1604
> Project: Geode
>  Issue Type: Bug
>  Components: rest (dev)
>Reporter: Dan Smith
>  Labels: ci
>
> Revision: 7ad9cc9451212f1c8a0acba3ec78a9eb562d3780 
> {noformat}
> 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 438
> [error 2016/06/25 09:14:11.141 PDT  
> tid=0x1c] Jmx manager could not be started because HTTP service failed to 
> start
> com.gemstone.gemfire.management.ManagementException: HTTP service failed to 
> start
>   at 
> com.gemstone.gemfire.management.internal.ManagementAgent.startHttpService(ManagementAgent.java:285)
>   at 
> com.gemstone.gemfire.management.internal.ManagementAgent.startAgent(ManagementAgent.java:128)
>   at 
> com.gemstone.gemfire.management.internal.SystemManagementService.startManager(SystemManagementService.java:479)
>   at 
> com.gemstone.gemfire.management.internal.beans.ManagementAdapter.handleCacheCreation(ManagementAdapter.java:195)
>   at 
> com.gemstone.gemfire.management.internal.beans.ManagementListener.handleEvent(ManagementListener.java:118)
>   at 
> com.gemstone.gemfire.distributed.internal.InternalDistributedSystem.notifyResourceEventListeners(InternalDistributedSystem.java:2085)
>   at 
> com.gemstone.gemfire.distributed.internal.InternalDistributedSystem.handleResourceEvent(InternalDistributedSystem.java:478)
>   at 
> com.gemstone.gemfire.internal.cache.GemFireCacheImpl.initialize(GemFireCacheImpl.java:1053)
>   at 
> com.gemstone.gemfire.internal.cache.GemFireCacheImpl.basicCreate(GemFireCacheImpl.java:706)
>   at 
> com.gemstone.gemfire.internal.cache.GemFireCacheImpl.create(GemFireCacheImpl.java:694)
>   at com.gemstone.gemfire.cache.CacheFactory.create(CacheFactory.java:181)
>   at com.gemstone.gemfire.cache.CacheFactory.create(CacheFactory.java:231)
>   at 
> com.gemstone.gemfire.distributed.internal.InternalLocator.startCache(InternalLocator.java:795)
>   at 
> com.gemstone.gemfire.distributed.internal.InternalLocator.startDistributedSystem(InternalLocator.java:781)
>   at 
> com.gemstone.gemfire.distributed.internal.InternalLocator.startLocator(InternalLocator.java:390)
>   at 
> com.gemstone.gemfire.distributed.internal.InternalLocator.startLocator(InternalLocator.java:317)
>   at 
> com.gemstone.gemfire.distributed.Locator.startLocator(Locator.java:334)
>   at 
> com.gemstone.gemfire.distributed.Locator.startLocatorAndDS(Locator.java:253)
>   at 
> com.gemstone.gemfire.management.internal.configuration.SharedConfigurationEndToEndDUnitTest$1.call(SharedConfigurationEndToEndDUnitTest.java:357)
>   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.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)
>   at 
> 

[jira] [Updated] (GEODE-1603) CI Failure: WANManagementDUnitTest.testReceiverMBean

2016-06-27 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith updated GEODE-1603:
-
Labels: ci  (was: )

> CI Failure: WANManagementDUnitTest.testReceiverMBean
> 
>
> Key: GEODE-1603
> URL: https://issues.apache.org/jira/browse/GEODE-1603
> Project: Geode
>  Issue Type: Bug
>  Components: management
>Reporter: Dan Smith
>  Labels: ci
>
> Revision: 7ad9cc9451212f1c8a0acba3ec78a9eb562d3780 
> {noformat}
> com.gemstone.gemfire.test.dunit.RMIException: While invoking 
> com.gemstone.gemfire.management.WANManagementDUnitTest$2.run in VM 0 running 
> on Host cc3-rh6.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:293)
>   at 
> com.gemstone.gemfire.management.WANManagementDUnitTest.checkReceiverNavigationAPIS(WANManagementDUnitTest.java:271)
>   at 
> com.gemstone.gemfire.management.WANManagementDUnitTest.testReceiverMBean(WANManagementDUnitTest.java:162)
>   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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
>   at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>   at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
>   at 
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
>   at 
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
>   at 
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
>   at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
>   at org.junit.rules.RunRules.evaluate(RunRules.java:20)
>   at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
>   at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>   at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
>   at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
>   at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
>   at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
>   at 
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
>   at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:112)
>   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:66)
>   at 
> org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
>   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:109)
>   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 
> 

[jira] [Created] (GEODE-1603) CI Failure: WANManagementDUnitTest.testReceiverMBean

2016-06-27 Thread Dan Smith (JIRA)
Dan Smith created GEODE-1603:


 Summary: CI Failure: WANManagementDUnitTest.testReceiverMBean
 Key: GEODE-1603
 URL: https://issues.apache.org/jira/browse/GEODE-1603
 Project: Geode
  Issue Type: Bug
  Components: management
Reporter: Dan Smith


Revision: 7ad9cc9451212f1c8a0acba3ec78a9eb562d3780 

{noformat}
com.gemstone.gemfire.test.dunit.RMIException: While invoking 
com.gemstone.gemfire.management.WANManagementDUnitTest$2.run in VM 0 running on 
Host cc3-rh6.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:293)
at 
com.gemstone.gemfire.management.WANManagementDUnitTest.checkReceiverNavigationAPIS(WANManagementDUnitTest.java:271)
at 
com.gemstone.gemfire.management.WANManagementDUnitTest.testReceiverMBean(WANManagementDUnitTest.java:162)
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at 
org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:112)
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:66)
at 
org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
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:109)
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 

[jira] [Created] (GEODE-1601) CI Failure - PutAllCSDUnitTest.testPartialKeyInPR

2016-06-27 Thread Dan Smith (JIRA)
Dan Smith created GEODE-1601:


 Summary: CI Failure - PutAllCSDUnitTest.testPartialKeyInPR
 Key: GEODE-1601
 URL: https://issues.apache.org/jira/browse/GEODE-1601
 Project: Geode
  Issue Type: Bug
  Components: client/server
Reporter: Dan Smith


{noformat}
com.gemstone.gemfire.internal.cache.PutAllCSDUnitTest > testPartialKeyInPR 
FAILED
java.lang.AssertionError: Aync1 get exceptions:
at com.gemstone.gemfire.test.dunit.Assert.fail(Assert.java:64)
at 
com.gemstone.gemfire.internal.cache.PutAllCSDUnitTest.testPartialKeyInPR(PutAllCSDUnitTest.java:2299)

Caused by:
com.gemstone.gemfire.cache.client.ServerConnectivityException: Pool unexpected 
socket timed out on client connection=Pooled Connection to 
5c598280-91d5-4ac8-5f33-f494d811235b:35442: 
Connection[5c598280-91d5-4ac8-5f33-f494d811235b:35442]@1333925199 attempt=2). 
Server unreachable: could not connect after 2 attempts
at 
com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.handleException(OpExecutorImpl.java:819)
at 
com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.handleException(OpExecutorImpl.java:603)
at 
com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.execute(OpExecutorImpl.java:173)
at 
com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.execute(OpExecutorImpl.java:110)
at 
com.gemstone.gemfire.cache.client.internal.PoolImpl.execute(PoolImpl.java:700)
at 
com.gemstone.gemfire.cache.client.internal.PutAllOp.execute(PutAllOp.java:110)
at 
com.gemstone.gemfire.cache.client.internal.ServerRegionProxy.putAll(ServerRegionProxy.java:643)
at 
com.gemstone.gemfire.internal.cache.LocalRegion.basicPutAll(LocalRegion.java:10024)
at com.gemstone.gemfire.internal.cache.LocalRegion.putAll(LocalRegion.java:9959)
at 
com.gemstone.gemfire.internal.cache.PutAllCSDUnitTest.doPutAll(PutAllCSDUnitTest.java:4050)
{noformat}



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


[jira] [Updated] (GEODE-1601) CI Failure - PutAllCSDUnitTest.testPartialKeyInPR

2016-06-27 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith updated GEODE-1601:
-
Labels: ci  (was: )

> CI Failure - PutAllCSDUnitTest.testPartialKeyInPR
> -
>
> Key: GEODE-1601
> URL: https://issues.apache.org/jira/browse/GEODE-1601
> Project: Geode
>  Issue Type: Bug
>  Components: client/server
>Reporter: Dan Smith
>  Labels: ci
>
> {noformat}
> com.gemstone.gemfire.internal.cache.PutAllCSDUnitTest > testPartialKeyInPR 
> FAILED
> java.lang.AssertionError: Aync1 get exceptions:
> at com.gemstone.gemfire.test.dunit.Assert.fail(Assert.java:64)
> at 
> com.gemstone.gemfire.internal.cache.PutAllCSDUnitTest.testPartialKeyInPR(PutAllCSDUnitTest.java:2299)
> Caused by:
> com.gemstone.gemfire.cache.client.ServerConnectivityException: Pool 
> unexpected socket timed out on client connection=Pooled Connection to 
> 5c598280-91d5-4ac8-5f33-f494d811235b:35442: 
> Connection[5c598280-91d5-4ac8-5f33-f494d811235b:35442]@1333925199 attempt=2). 
> Server unreachable: could not connect after 2 attempts
> at 
> com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.handleException(OpExecutorImpl.java:819)
> at 
> com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.handleException(OpExecutorImpl.java:603)
> at 
> com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.execute(OpExecutorImpl.java:173)
> at 
> com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.execute(OpExecutorImpl.java:110)
> at 
> com.gemstone.gemfire.cache.client.internal.PoolImpl.execute(PoolImpl.java:700)
> at 
> com.gemstone.gemfire.cache.client.internal.PutAllOp.execute(PutAllOp.java:110)
> at 
> com.gemstone.gemfire.cache.client.internal.ServerRegionProxy.putAll(ServerRegionProxy.java:643)
> at 
> com.gemstone.gemfire.internal.cache.LocalRegion.basicPutAll(LocalRegion.java:10024)
> at 
> com.gemstone.gemfire.internal.cache.LocalRegion.putAll(LocalRegion.java:9959)
> at 
> com.gemstone.gemfire.internal.cache.PutAllCSDUnitTest.doPutAll(PutAllCSDUnitTest.java:4050)
> {noformat}



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


[jira] [Created] (GEODE-1600) DUnitLauncher should not use AvailablePort to pick the locator port

2016-06-27 Thread Dan Smith (JIRA)
Dan Smith created GEODE-1600:


 Summary: DUnitLauncher should not use AvailablePort to pick the 
locator port
 Key: GEODE-1600
 URL: https://issues.apache.org/jira/browse/GEODE-1600
 Project: Geode
  Issue Type: Bug
  Components: tests
Reporter: Dan Smith


In a recent dunit precheckin run, I saw a number of tests fail with the below 
errors

{noformat}
11:38:15 com.gemstone.gemfire.disttx.DistTXDebugDUnitTest > classMethod FAILED
11:38:15 java.lang.RuntimeException: Unable to launch dunit VMS
11:38:15 
11:38:15 Caused by:
11:38:15 java.lang.RuntimeException: Failed to start locator
11:38:15 
11:38:15 Caused by:
11:38:15 java.net.BindException: Failed to create server socket on  
null[29,649]
11:38:15 
11:38:15 Caused by:
11:38:15 java.net.BindException: Address already in use
11:38:17 
11:38:17 com.gemstone.gemfire.disttx.DistTXRestrictionsDUnitTest > 
testPersistentRestriction FAILED
11:38:17 com.gemstone.gemfire.GemFireConfigException: Unable to join the 
distributed system.  Operation either timed out, was stopped or Locator does 
not exist.
11:38:18 
11:38:18 com.gemstone.gemfire.disttx.PRDistTXDUnitTest > 
testColocationPartitionedRegion FAILED
11:38:18 com.gemstone.gemfire.test.dunit.RMIException: While invoking 
com.gemstone.gemfire.internal.cache.execute.PRTransactionDUnitTest$12.call in 
VM 0 running on Host zambia.gemstone.com with 4 VMs
11:38:18 
11:38:18 Caused by:
11:38:18 com.gemstone.gemfire.GemFireConfigException: Unable to join 
the distributed system.  Operation either timed out, was stopped or Locator 
does not exist.
{noformat}

It looks like the issue is that the locator failed to start because the port it 
was starting on was already used.

We should refactor the launcher code to call Locator.startLocatorAndDS with a 
port of 0 and let it pick an open port. That way we should no longer have a 
chance of port conflicts when launching dunit.



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


[jira] [Assigned] (GEODE-1600) DUnitLauncher should not use AvailablePort to pick the locator port

2016-06-27 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith reassigned GEODE-1600:


Assignee: Dan Smith

> DUnitLauncher should not use AvailablePort to pick the locator port
> ---
>
> Key: GEODE-1600
> URL: https://issues.apache.org/jira/browse/GEODE-1600
> Project: Geode
>  Issue Type: Bug
>  Components: tests
>Reporter: Dan Smith
>Assignee: Dan Smith
>
> In a recent dunit precheckin run, I saw a number of tests fail with the below 
> errors
> {noformat}
> 11:38:15 com.gemstone.gemfire.disttx.DistTXDebugDUnitTest > classMethod FAILED
> 11:38:15 java.lang.RuntimeException: Unable to launch dunit VMS
> 11:38:15 
> 11:38:15 Caused by:
> 11:38:15 java.lang.RuntimeException: Failed to start locator
> 11:38:15 
> 11:38:15 Caused by:
> 11:38:15 java.net.BindException: Failed to create server socket 
> on  null[29,649]
> 11:38:15 
> 11:38:15 Caused by:
> 11:38:15 java.net.BindException: Address already in use
> 11:38:17 
> 11:38:17 com.gemstone.gemfire.disttx.DistTXRestrictionsDUnitTest > 
> testPersistentRestriction FAILED
> 11:38:17 com.gemstone.gemfire.GemFireConfigException: Unable to join the 
> distributed system.  Operation either timed out, was stopped or Locator does 
> not exist.
> 11:38:18 
> 11:38:18 com.gemstone.gemfire.disttx.PRDistTXDUnitTest > 
> testColocationPartitionedRegion FAILED
> 11:38:18 com.gemstone.gemfire.test.dunit.RMIException: While invoking 
> com.gemstone.gemfire.internal.cache.execute.PRTransactionDUnitTest$12.call in 
> VM 0 running on Host zambia.gemstone.com with 4 VMs
> 11:38:18 
> 11:38:18 Caused by:
> 11:38:18 com.gemstone.gemfire.GemFireConfigException: Unable to join 
> the distributed system.  Operation either timed out, was stopped or Locator 
> does not exist.
> {noformat}
> It looks like the issue is that the locator failed to start because the port 
> it was starting on was already used.
> We should refactor the launcher code to call Locator.startLocatorAndDS with a 
> port of 0 and let it pick an open port. That way we should no longer have a 
> chance of port conflicts when launching dunit.



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


[jira] [Commented] (GEODE-1583) CI failure: DurableClientSimpleDUnitTest.testSimpleDurableClient2

2016-06-24 Thread Dan Smith (JIRA)

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

Dan Smith commented on GEODE-1583:
--

Looking at the stack, and the logs for this issue, it looks like maybe the 
client is disconnecting by sending the wrong flag or something. The test closes 
the cache on the client with keepAlive=false, which is supposed to cause the 
server to clean up the clients queue. However, the test fails because there is 
still a CacheClientProxy present on the server.

In the logs, we can see that the client health monitor stops watching this 
client, but the CacheClientProxy remains. It even logs a message saying 
"Keeping proxy for durable client named test39630_client for 60 seconds" which 
makes me think it got a close connection request from the client, but decided 
to keep the proxy anyway.

{noformat}
[vm_0][info 2016/06/24 08:52:23.867 PDT  
tid=0x5d] Before CCP states:  
[CacheClientProxy[identity(cc2-rh6(28071:loner):51817:28b21c83,connection=1,durableAttributes=DurableClientAttributes[id=test39630_client;
 timeout=60]); port=51819; primary=true; version=GFE 9.0; paused=true; 
alive=false; connected=true; isMarkedForRemoval=false] ]

[vm_0][info 2016/06/24 08:52:23.867 PDT  
tid=0x5d] Before CHM states: size = 1 {cc2-rh6(28071:loner):51817:28b21c83, 
{[host name=/10.118.33.92 host ip=10.118.33.92 client port=51817 client member 
id=cc2-rh6(28071:loner):51817:28b21c83, 2]}}

[vm_0][info 2016/06/24 08:52:23.867 PDT  
tid=0x5d] Got result: null
[vm_0] from 
com.gemstone.gemfire.internal.cache.tier.sockets.DurableClientTestCase$5.run 
with 0 args on object: "Loggiog CCCP and ServerConnetcion state" (took 0 ms)

[vm_2][info 2016/06/24 08:52:23.868 PDT  
tid=0x8e7] Received method: 
com.gemstone.gemfire.internal.cache.tier.sockets.DurableClientTestCase$$Lambda$70/529615275.run
 with 0 args on object: 
com.gemstone.gemfire.internal.cache.tier.sockets.DurableClientTestCase$$Lambda$70/529615275@2e083615

[vm_2][info 2016/06/24 08:52:23.868 PDT  
tid=0x8e7] GemFireCache[id = 800029409; isClosing = true; isShutDownAll = 
false; created = Fri Jun 24 08:52:23 PDT 2016; server = false; copyOnRead = 
false; lockLease = 120; lockTimeout = 60]: Now closing.

[vm_2][info 2016/06/24 08:52:23.869 PDT  
tid=0x8e7] Destroying connection pool CacheServerTestUtil

[vm_0][info 2016/06/24 08:52:23.873 PDT  tid=0x1dcb] CacheClientNotifier: Keeping proxy for durable client named 
test39630_client for 60 seconds 
CacheClientProxy[identity(cc2-rh6(28071:loner):51817:28b21c83,connection=1,durableAttributes=DurableClientAttributes[id=test39630_client;
 timeout=60]); port=51819; primary=true; version=GFE 9.0].

[vm_2][info 2016/06/24 08:52:23.876 PDT  
tid=0x8e7] Got result: null
[vm_2] from 
com.gemstone.gemfire.internal.cache.tier.sockets.DurableClientTestCase$$Lambda$70/529615275.run
 with 0 args on object: 
com.gemstone.gemfire.internal.cache.tier.sockets.DurableClientTestCase$$Lambda$70/529615275@2e083615
 (took 8 ms)

[info 2016/06/24 08:52:23.877 PDT  tid=0xa] Pausing for 1000 ms...

[vm_0][info 2016/06/24 08:52:24.878 PDT  
tid=0x5d] Received method: 
com.gemstone.gemfire.internal.cache.tier.sockets.DurableClientTestCase$5.run 
with 0 args on object: "Loggiog CCCP and ServerConnetcion state"

[vm_0][info 2016/06/24 08:52:24.878 PDT  
tid=0x5d] after CCP states:  
[CacheClientProxy[identity(cc2-rh6(28071:loner):51817:28b21c83,connection=1,durableAttributes=DurableClientAttributes[id=test39630_client;
 timeout=60]); port=51819; primary=true; version=GFE 9.0; paused=true; 
alive=false; connected=false; isMarkedForRemoval=false] ]

[vm_0][info 2016/06/24 08:52:24.878 PDT  
tid=0x5d] after CHM states: size = 0 

[vm_0][info 2016/06/24 08:52:24.878 PDT  
tid=0x5d] Got result: null
[vm_0] from 
com.gemstone.gemfire.internal.cache.tier.sockets.DurableClientTestCase$5.run 
with 0 args on object: "Loggiog CCCP and ServerConnetcion state" (took 0 ms)

{noformat}

> CI failure: DurableClientSimpleDUnitTest.testSimpleDurableClient2
> -
>
> Key: GEODE-1583
> URL: https://issues.apache.org/jira/browse/GEODE-1583
> Project: Geode
>  Issue Type: Bug
>  Components: client queues
>Reporter: Hitesh Khamesra
>  Labels: CI
>
> https://brazil.gemstone.com:8080/job/Geode_develop_DistributedTests/2986/testReport/com.gemstone.gemfire.internal.cache.tier.sockets/DurableClientSimpleDUnitTest/testSimpleDurableClient2/
> com.gemstone.gemfire.test.dunit.RMIException: While invoking 
> com.gemstone.gemfire.internal.cache.tier.sockets.DurableClientTestCase$6.run 
> in VM 0 running on Host timor.gemstone.com with 4 VMs
> Stacktrace
> com.gemstone.gemfire.test.dunit.RMIException: While invoking 
> com.gemstone.gemfire.internal.cache.tier.sockets.DurableClientTestCase$6.run 
> in VM 0 running 

[jira] [Created] (GEODE-1577) Unhelpful generic types on Execution.execute

2016-06-21 Thread Dan Smith (JIRA)
Dan Smith created GEODE-1577:


 Summary: Unhelpful generic types on Execution.execute
 Key: GEODE-1577
 URL: https://issues.apache.org/jira/browse/GEODE-1577
 Project: Geode
  Issue Type: Bug
  Components: functions
Reporter: Dan Smith


The execute methods of the function service Execution class returns a 
ResultCollector with wildcards for the type.

{code}  
public ResultCollector execute(
  Function function) throws FunctionException;
{code}

Wildcards are supposed to be used in APIs where the type doesn't matter, for 
example counting the elements in a list. By returning a ResultCollector with 
wildcards, we're essentially forcing the user to cast the result collector.

At a minimum they should be able to pick the type of result collector
{code}
  public  ResultCollector execute(
  Function function) throws FunctionException;
{code}

But maybe it would make more sense to parameterize Execution itself. Then the 
compiler could ensure that the types used by withCollector and the types used 
by execute match.



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


[jira] [Resolved] (GEODE-1522) Lucene WiKi page issues

2016-06-15 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith resolved GEODE-1522.
--
Resolution: Fixed

1. Added Not yet implemented to the gfsh section
2. Updated the example
3. Update the Key Points section
4. Updated the example xml. I think it might be because we changed the xsd 
location of cache.xsd since this document was written.

> Lucene WiKi page issues
> ---
>
> Key: GEODE-1522
> URL: https://issues.apache.org/jira/browse/GEODE-1522
> Project: Geode
>  Issue Type: Bug
>  Components: querying
>Reporter: Jinmei Liao
>  Labels: bug-hunt
>
> 1. The Gfsh support isn't implemented yet. Maybe mention that in the doc, say 
> "to be coming later".
> 2. The LuceneService.createIndex returns null instead of a lucene index, but 
> the code sample indicates otherwise.
> 3. In section "Key Points" #4, the index should be created before the region 
> is created, not before inserting data.
> 4. The xml sample provided in the wiki doesn't work out of the box. I think 
> it's missing a quote and an ending cache for it to be a valid xml, but even 
> if we added those, it's still complaining something about "Cannot find the 
> declaration of element 'cache'.".



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


[jira] [Updated] (GEODE-1312) CI failure: ParallelWANPropagationDUnitTest.testParallelPropagationWithOverflow

2016-06-13 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith updated GEODE-1312:
-
Assignee: Bruce Schuchardt

> CI failure: 
> ParallelWANPropagationDUnitTest.testParallelPropagationWithOverflow
> ---
>
> Key: GEODE-1312
> URL: https://issues.apache.org/jira/browse/GEODE-1312
> Project: Geode
>  Issue Type: Bug
>  Components: membership
>Reporter: Eric Shu
>Assignee: Bruce Schuchardt
>  Labels: ci
>
> {noformat}
> Error Message
> com.gemstone.gemfire.test.dunit.RMIException: While invoking 
> com.gemstone.gemfire.internal.cache.wan.parallel.ParallelWANPropagationDUnitTest$$Lambda$1734/1063976571.run
>  in VM 5 running on Host cc8-rh64.gemstone.com with 8 VMs
> Stacktrace
> com.gemstone.gemfire.test.dunit.RMIException: While invoking 
> com.gemstone.gemfire.internal.cache.wan.parallel.ParallelWANPropagationDUnitTest$$Lambda$1734/1063976571.run
>  in VM 5 running on Host cc8-rh64.gemstone.com with 8 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:293)
>   at 
> com.gemstone.gemfire.internal.cache.wan.parallel.ParallelWANPropagationDUnitTest.testParallelPropagationWithOverflow(ParallelWANPropagationDUnitTest.java:525)
>   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 

[jira] [Commented] (GEODE-1312) CI failure: ParallelWANPropagationDUnitTest.testParallelPropagationWithOverflow

2016-06-13 Thread Dan Smith (JIRA)

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

Dan Smith commented on GEODE-1312:
--

This looks like a membership issue. In more recent runs, the test fails with 
this error, but even in the above run it looks like this error is present in 
the logs:

{noformat}
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 6050

[fatal 2016/06/10 22:03:42.696 PDT  tid=0xfb8] 
Membership service failure: Member isn't responding to heartbeat requests
com.gemstone.gemfire.ForcedDisconnectException: Member isn't responding to 
heartbeat requests
at 
com.gemstone.gemfire.distributed.internal.membership.gms.mgr.GMSMembershipManager.forceDisconnect(GMSMembershipManager.java:2551)
at 
com.gemstone.gemfire.distributed.internal.membership.gms.membership.GMSJoinLeave.forceDisconnect(GMSJoinLeave.java:918)
at 
com.gemstone.gemfire.distributed.internal.membership.gms.membership.GMSJoinLeave.processRemoveRequest(GMSJoinLeave.java:593)
at 
com.gemstone.gemfire.distributed.internal.membership.gms.membership.GMSJoinLeave.processMessage(GMSJoinLeave.java:1555)
at 
com.gemstone.gemfire.distributed.internal.membership.gms.messenger.JGroupsMessenger$JGroupsReceiver.receive(JGroupsMessenger.java:1065)
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:392)
at org.jgroups.protocols.UNICAST3.deliverMessage(UNICAST3.java:1064)
at org.jgroups.protocols.UNICAST3.handleDataReceived(UNICAST3.java:779)
at org.jgroups.protocols.UNICAST3.up(UNICAST3.java:426)
at 
com.gemstone.gemfire.distributed.internal.membership.gms.messenger.StatRecorder.up(StatRecorder.java:75)
at 
com.gemstone.gemfire.distributed.internal.membership.gms.messenger.AddressManager.up(AddressManager.java:75)
at org.jgroups.protocols.TP.passMessageUp(TP.java:1567)
at org.jgroups.protocols.TP$SingleMessageHandler.run(TP.java:1783)
at org.jgroups.util.DirectExecutor.execute(DirectExecutor.java:10)
at org.jgroups.protocols.TP.handleSingleMessage(TP.java:1695)
at org.jgroups.protocols.TP.receive(TP.java:1620)
at 
com.gemstone.gemfire.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)
{noformat}

> CI failure: 
> ParallelWANPropagationDUnitTest.testParallelPropagationWithOverflow
> ---
>
> Key: GEODE-1312
> URL: https://issues.apache.org/jira/browse/GEODE-1312
> Project: Geode
>  Issue Type: Bug
>  Components: membership
>Reporter: Eric Shu
>  Labels: ci
>
> {noformat}
> Error Message
> com.gemstone.gemfire.test.dunit.RMIException: While invoking 
> com.gemstone.gemfire.internal.cache.wan.parallel.ParallelWANPropagationDUnitTest$$Lambda$1734/1063976571.run
>  in VM 5 running on Host cc8-rh64.gemstone.com with 8 VMs
> Stacktrace
> com.gemstone.gemfire.test.dunit.RMIException: While invoking 
> com.gemstone.gemfire.internal.cache.wan.parallel.ParallelWANPropagationDUnitTest$$Lambda$1734/1063976571.run
>  in VM 5 running on Host cc8-rh64.gemstone.com with 8 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:293)
>   at 
> com.gemstone.gemfire.internal.cache.wan.parallel.ParallelWANPropagationDUnitTest.testParallelPropagationWithOverflow(ParallelWANPropagationDUnitTest.java:525)
>   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 

[jira] [Updated] (GEODE-1539) QueryDataDUnitTest.testMemberWise

2016-06-13 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith updated GEODE-1539:
-
Component/s: (was: querying)
 management

> QueryDataDUnitTest.testMemberWise
> -
>
> Key: GEODE-1539
> URL: https://issues.apache.org/jira/browse/GEODE-1539
> Project: Geode
>  Issue Type: Bug
>  Components: management
>Reporter: Jinmei Liao
>  Labels: CI
>
> Geode_develop_DistributedTests/2886
> Error Message
> 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 633
> [fatal 2016/06/12 00:22:24.537 PDT  tid=0x11a] 
> (tid=282 msgId=75) No longer connected to cc2-ub[20251].
> Stacktrace
> 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 633
> [fatal 2016/06/12 00:22:24.537 PDT  tid=0x11a] 
> (tid=282 msgId=75) No longer connected to cc2-ub[20251].
>   at org.junit.Assert.fail(Assert.java:88)
>   at 
> com.gemstone.gemfire.test.dunit.standalone.DUnitLauncher.closeAndCheckForSuspects(DUnitLauncher.java:345)
>   at 
> com.gemstone.gemfire.test.dunit.internal.JUnit4DistributedTestCase.cleanupAllVms(JUnit4DistributedTestCase.java:532)
>   at 
> com.gemstone.gemfire.test.dunit.internal.JUnit4DistributedTestCase.tearDownDistributedTestCase(JUnit4DistributedTestCase.java:481)
>   at 
> com.gemstone.gemfire.test.dunit.internal.JUnit4DistributedTestCase.tearDown(JUnit4DistributedTestCase.java:470)
>   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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
>   at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>   at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
>   at 
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
>   at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
>   at org.junit.rules.RunRules.evaluate(RunRules.java:20)
>   at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
>   at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>   at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
>   at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
>   at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
>   at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
>   at 
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
>   at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:112)
>   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:66)
>   at 
> org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
>   at sun.reflect.GeneratedMethodAccessor7.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 
> 

[jira] [Updated] (GEODE-1522) Lucene WiKi page issues

2016-06-13 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith updated GEODE-1522:
-
Component/s: querying

> Lucene WiKi page issues
> ---
>
> Key: GEODE-1522
> URL: https://issues.apache.org/jira/browse/GEODE-1522
> Project: Geode
>  Issue Type: Bug
>  Components: querying
>Reporter: Jinmei Liao
>  Labels: bug-hunt
>
> 1. The Gfsh support isn't implemented yet. Maybe mention that in the doc, say 
> "to be coming later".
> 2. The LuceneService.createIndex returns null instead of a lucene index, but 
> the code sample indicates otherwise.
> 3. In section "Key Points" #4, the index should be created before the region 
> is created, not before inserting data.
> 4. The xml sample provided in the wiki doesn't work out of the box. I think 
> it's missing a quote and an ending cache for it to be a valid xml, but even 
> if we added those, it's still complaining something about "Cannot find the 
> declaration of element 'cache'.".



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


[jira] [Updated] (GEODE-1413) ParallelGatewaySenderOperationsDUnitTest.testParallelPropagationSenderStartAfterStop_Scenario2

2016-06-13 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith updated GEODE-1413:
-
Fix Version/s: 1.0.0-incubating.M3

> ParallelGatewaySenderOperationsDUnitTest.testParallelPropagationSenderStartAfterStop_Scenario2
> --
>
> Key: GEODE-1413
> URL: https://issues.apache.org/jira/browse/GEODE-1413
> Project: Geode
>  Issue Type: Bug
>  Components: wan
>Reporter: Sai Boorlagadda
>Assignee: nabarun
>  Labels: CI
> Fix For: 1.0.0-incubating.M3
>
>
> {noformat}
> Error Message
> com.gemstone.gemfire.test.dunit.RMIException: While invoking 
> com.gemstone.gemfire.internal.cache.wan.parallel.ParallelGatewaySenderOperationsDUnitTest$$Lambda$1041/2063794856.run
>  in VM 4 running on Host zambia.gemstone.com with 8 VMs
> Stacktrace
> com.gemstone.gemfire.test.dunit.RMIException: While invoking 
> com.gemstone.gemfire.internal.cache.wan.parallel.ParallelGatewaySenderOperationsDUnitTest$$Lambda$1041/2063794856.run
>  in VM 4 running on Host zambia.gemstone.com with 8 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:293)
>   at 
> com.gemstone.gemfire.internal.cache.wan.parallel.ParallelGatewaySenderOperationsDUnitTest.testParallelPropagationSenderStartAfterStop_Scenario2(ParallelGatewaySenderOperationsDUnitTest.java:358)
>   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:112)
>   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:66)
>   at 
> org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
>   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:109)
>   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 
> 

[jira] [Resolved] (GEODE-1413) ParallelGatewaySenderOperationsDUnitTest.testParallelPropagationSenderStartAfterStop_Scenario2

2016-06-13 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith resolved GEODE-1413.
--
Resolution: Fixed

> ParallelGatewaySenderOperationsDUnitTest.testParallelPropagationSenderStartAfterStop_Scenario2
> --
>
> Key: GEODE-1413
> URL: https://issues.apache.org/jira/browse/GEODE-1413
> Project: Geode
>  Issue Type: Bug
>  Components: wan
>Reporter: Sai Boorlagadda
>Assignee: nabarun
>  Labels: CI
>
> {noformat}
> Error Message
> com.gemstone.gemfire.test.dunit.RMIException: While invoking 
> com.gemstone.gemfire.internal.cache.wan.parallel.ParallelGatewaySenderOperationsDUnitTest$$Lambda$1041/2063794856.run
>  in VM 4 running on Host zambia.gemstone.com with 8 VMs
> Stacktrace
> com.gemstone.gemfire.test.dunit.RMIException: While invoking 
> com.gemstone.gemfire.internal.cache.wan.parallel.ParallelGatewaySenderOperationsDUnitTest$$Lambda$1041/2063794856.run
>  in VM 4 running on Host zambia.gemstone.com with 8 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:293)
>   at 
> com.gemstone.gemfire.internal.cache.wan.parallel.ParallelGatewaySenderOperationsDUnitTest.testParallelPropagationSenderStartAfterStop_Scenario2(ParallelGatewaySenderOperationsDUnitTest.java:358)
>   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:112)
>   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:66)
>   at 
> org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
>   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:109)
>   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 
> 

[jira] [Resolved] (GEODE-1422) CI Failure: ParallelGatewaySenderOperationsOffHeapDUnitTest.testParallelPropagationSenderStartAfterStop_Scenario2

2016-06-13 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith resolved GEODE-1422.
--
   Resolution: Fixed
Fix Version/s: 1.0.0-incubating.M3

> CI Failure: 
> ParallelGatewaySenderOperationsOffHeapDUnitTest.testParallelPropagationSenderStartAfterStop_Scenario2
> -
>
> Key: GEODE-1422
> URL: https://issues.apache.org/jira/browse/GEODE-1422
> Project: Geode
>  Issue Type: Bug
>  Components: wan
>Reporter: Sai Boorlagadda
>  Labels: CI
> Fix For: 1.0.0-incubating.M3
>
>
> {noformat}
> Error Message
> com.gemstone.gemfire.test.dunit.RMIException: While invoking 
> com.gemstone.gemfire.internal.cache.wan.parallel.ParallelGatewaySenderOperationsDUnitTest$$Lambda$998/238210599.run
>  in VM 4 running on Host kuwait.gemstone.com with 8 VMs
> Stacktrace
> com.gemstone.gemfire.test.dunit.RMIException: While invoking 
> com.gemstone.gemfire.internal.cache.wan.parallel.ParallelGatewaySenderOperationsDUnitTest$$Lambda$998/238210599.run
>  in VM 4 running on Host kuwait.gemstone.com with 8 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:293)
>   at 
> com.gemstone.gemfire.internal.cache.wan.parallel.ParallelGatewaySenderOperationsDUnitTest.testParallelPropagationSenderStartAfterStop_Scenario2(ParallelGatewaySenderOperationsDUnitTest.java:358)
>   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:112)
>   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:66)
>   at 
> org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
>   at sun.reflect.GeneratedMethodAccessor197.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:109)
>   at sun.reflect.GeneratedMethodAccessor196.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 

[jira] [Resolved] (GEODE-1494) Allow users to provide callbacks to sample statistics

2016-06-13 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith resolved GEODE-1494.
--
   Resolution: Fixed
Fix Version/s: 1.0.0-incubating.M3

> Allow users to provide callbacks to sample statistics
> -
>
> Key: GEODE-1494
> URL: https://issues.apache.org/jira/browse/GEODE-1494
> Project: Geode
>  Issue Type: Improvement
>Reporter: Dan Smith
>Assignee: Dan Smith
> Fix For: 1.0.0-incubating.M3
>
>
> The Statistics interface has methods to increment, set, and get the value of 
> various statistics. The statistics are sampled at the sample-rate by the stat 
> sampling thread.
> We should add a way to provide a callback that computes the value of the 
> statistic. The callback can be called by the stat sampling thread to compute 
> the value at the sample time.
> This is useful because some statistics are hard to update correctly using 
> using increment operations. For example, tracking the total number of entries 
> in a parallel async event queue is tricky, because buckets may move on and 
> off of a node while concurrent operations are also adding entries. But 
> measuring the current size of the queue is easy by just calling size on the 
> underlying regions.
> Here are the proposed new methods on the statistics interface:
> {code}
>/**
>* Provide a callback to compute the value of this statistic
>* every sample interval and use that as the value of the stat.
>* 
>* The callback should return quickly because it is invoked on a shared 
> thread.
>* It should not do any expensive computations, network calls, or access 
> any resources
>* under locks that may be locked by long running processes.
>* 
>* This callback will only be invoked if the distributed system property
>* statistic-sampling-enabled is set to true, and it will be invoked at 
> intervals
>* determined by the statistic-sampling-rate.
>* 
>* Get methods are not guaranteed to recompute a new value, they may return
>* the last sampled value
>* @param id a statistic id obtained with {@link #nameToId}
>* or {@link StatisticsType#nameToId}.
>* @param supplier a callback that will return the value of the stat. This
>* replaces any previously registered supplier. If the passed in suppplier 
> is null, it
>* will remove any existing supplier
>* @return the previously registered supplier, or null if there was no 
> previously registered supplier
>* @throws ArrayIndexOutOfBoundsException If the id is invalid.
>* @throws IllegalArgumentException if the type of this
>* stat is not int
>*/
>   public IntSupplier setIntSupplier(int id, IntSupplier supplier);
>   public LongSupplier setLongSupplier(int id, LongSupplier supplier);
>   public DoubleSupplier setDoubleSupplier(int id, DoubleSupplier supplier);
>   public IntSupplier setIntSupplier(String name, IntSupplier supplier);
>   public LongSupplier setLongSupplier(String name, LongSupplier supplier);
>   public DoubleSupplier setDoubleSupplier(String name, DoubleSupplier 
> supplier);
>   public IntSupplier setIntSupplier(StatisticDescriptor descriptor, 
> IntSupplier supplier);
>   public LongSupplier setLongSupplier(StatisticDescriptor descriptor, 
> LongSupplier supplier);
>   public DoubleSupplier setDoubleSupplier(StatisticDescriptor descriptor, 
> DoubleSupplier supplier);
> {code}



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


[jira] [Updated] (GEODE-1539) QueryDataDUnitTest.testMemberWise

2016-06-13 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith updated GEODE-1539:
-
Component/s: querying

> QueryDataDUnitTest.testMemberWise
> -
>
> Key: GEODE-1539
> URL: https://issues.apache.org/jira/browse/GEODE-1539
> Project: Geode
>  Issue Type: Bug
>  Components: querying
>Reporter: Jinmei Liao
>  Labels: CI
>
> Geode_develop_DistributedTests/2886
> Error Message
> 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 633
> [fatal 2016/06/12 00:22:24.537 PDT  tid=0x11a] 
> (tid=282 msgId=75) No longer connected to cc2-ub[20251].
> Stacktrace
> 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 633
> [fatal 2016/06/12 00:22:24.537 PDT  tid=0x11a] 
> (tid=282 msgId=75) No longer connected to cc2-ub[20251].
>   at org.junit.Assert.fail(Assert.java:88)
>   at 
> com.gemstone.gemfire.test.dunit.standalone.DUnitLauncher.closeAndCheckForSuspects(DUnitLauncher.java:345)
>   at 
> com.gemstone.gemfire.test.dunit.internal.JUnit4DistributedTestCase.cleanupAllVms(JUnit4DistributedTestCase.java:532)
>   at 
> com.gemstone.gemfire.test.dunit.internal.JUnit4DistributedTestCase.tearDownDistributedTestCase(JUnit4DistributedTestCase.java:481)
>   at 
> com.gemstone.gemfire.test.dunit.internal.JUnit4DistributedTestCase.tearDown(JUnit4DistributedTestCase.java:470)
>   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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
>   at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>   at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
>   at 
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
>   at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
>   at org.junit.rules.RunRules.evaluate(RunRules.java:20)
>   at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
>   at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>   at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
>   at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
>   at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
>   at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
>   at 
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
>   at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:112)
>   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:66)
>   at 
> org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
>   at sun.reflect.GeneratedMethodAccessor7.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:109)
>   at 

[jira] [Updated] (GEODE-1537) DurableRegistrationDUnitTest.testDurableClientWithRegistrationHA

2016-06-13 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith updated GEODE-1537:
-
Component/s: client queues

> DurableRegistrationDUnitTest.testDurableClientWithRegistrationHA
> 
>
> Key: GEODE-1537
> URL: https://issues.apache.org/jira/browse/GEODE-1537
> Project: Geode
>  Issue Type: Bug
>  Components: client queues
>Reporter: Jinmei Liao
>  Labels: CI
>
> Geode_develop_DistributedTests/2883
> Error Message
> com.gemstone.gemfire.test.dunit.RMIException: While invoking 
> com.gemstone.gemfire.internal.cache.tier.sockets.DurableRegistrationDUnitTest$$Lambda$373/449639279.run
>  in VM 1 running on Host timor.gemstone.com with 4 VMs
> Stacktrace
> com.gemstone.gemfire.test.dunit.RMIException: While invoking 
> com.gemstone.gemfire.internal.cache.tier.sockets.DurableRegistrationDUnitTest$$Lambda$373/449639279.run
>  in VM 1 running on Host timor.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:293)
>   at 
> com.gemstone.gemfire.internal.cache.tier.sockets.DurableRegistrationDUnitTest.testDurableClientWithRegistrationHA(DurableRegistrationDUnitTest.java:421)
>   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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
>   at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>   at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
>   at 
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
>   at 
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
>   at 
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
>   at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
>   at org.junit.rules.RunRules.evaluate(RunRules.java:20)
>   at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
>   at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>   at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
>   at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
>   at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
>   at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
>   at 
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
>   at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:112)
>   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:66)
>   at 
> org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
>   at sun.reflect.GeneratedMethodAccessor426.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:109)
>   at sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:497)
>   at 
> 

[jira] [Updated] (GEODE-1536) Poor documentation and misleading error messages with multi user security

2016-06-10 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith updated GEODE-1536:
-
Component/s: security

> Poor documentation and misleading error messages with multi user security
> -
>
> Key: GEODE-1536
> URL: https://issues.apache.org/jira/browse/GEODE-1536
> Project: Geode
>  Issue Type: Bug
>  Components: security
>Reporter: Dan Smith
>  Labels: bug-hunt
>
> I'm trying to connect a client using multi user security authentication.
> I couldn't find any description of how to use this feature in the manuals. 
> The javadocs for ClientCacheFactory.setPoolMultiuserAuthentication basically 
> provide no information. If you just set that, you get this misleading error 
> message:
> {code}
> java.lang.UnsupportedOperationException: Use Pool APIs for doing operations 
> when multiuser-secure-mode-enabled is set to true.
> {code}
> What you actually need to do is call cache.createAuthenticatedView. However, 
> if you just do that, you get this error message
> {code}
> com.gemstone.gemfire.cache.client.ServerOperationException: remote server on 
> 172.16.115.238(73827:loner):60898:2126f43c: 
> com.gemstone.gemfire.security.AuthenticationRequiredException: No security-* 
> properties are provided
>   at 
> com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.handleException(OpExecutorImpl.java:671)
>   at 
> com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.handleException(OpExecutorImpl.java:772)
>   at 
> com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.handleException(OpExecutorImpl.java:603)
>   at 
> com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.execute(OpExecutorImpl.java:165)
>   at 
> com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.execute(OpExecutorImpl.java:110)
>   at 
> com.gemstone.gemfire.cache.client.internal.PoolImpl.execute(PoolImpl.java:700)
>   at 
> com.gemstone.gemfire.cache.client.internal.PutOp.execute(PutOp.java:102)
>   at 
> com.gemstone.gemfire.cache.client.internal.ServerRegionProxy.put(ServerRegionProxy.java:175)
>   at 
> com.gemstone.gemfire.internal.cache.LocalRegion.serverPut(LocalRegion.java:3061)
>   at 
> com.gemstone.gemfire.internal.cache.LocalRegion.cacheWriteBeforePut(LocalRegion.java:3188)
>   at 
> com.gemstone.gemfire.internal.cache.ProxyRegionMap.basicPut(ProxyRegionMap.java:230)
>   at 
> com.gemstone.gemfire.internal.cache.LocalRegion.virtualPut(LocalRegion.java:5845)
>   at 
> com.gemstone.gemfire.internal.cache.LocalRegionDataView.putEntry(LocalRegionDataView.java:132)
>   at 
> com.gemstone.gemfire.internal.cache.LocalRegion.basicPut(LocalRegion.java:5240)
>   at 
> com.gemstone.gemfire.internal.cache.LocalRegion.validatedPut(LocalRegion.java:1557)
>   at 
> com.gemstone.gemfire.internal.cache.LocalRegion.put(LocalRegion.java:1544)
>   at 
> com.gemstone.gemfire.internal.cache.AbstractRegion.put(AbstractRegion.java:288)
>   at 
> com.gemstone.gemfire.cache.client.internal.ProxyRegion.put(ProxyRegion.java:459)
>   at TestClient.test(TestClient.java:29)
>   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:498)
>   at 
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
>   at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>   at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
>   at 
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
>   at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
>   at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>   at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
>   at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
>   at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
>   at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
>   at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>   at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
>   at 
> com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:119)
>   at 
> 

[jira] [Updated] (GEODE-1536) Poor documentation and misleading error messages with multi user security

2016-06-10 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith updated GEODE-1536:
-
Labels: bug-hunt  (was: )

> Poor documentation and misleading error messages with multi user security
> -
>
> Key: GEODE-1536
> URL: https://issues.apache.org/jira/browse/GEODE-1536
> Project: Geode
>  Issue Type: Bug
>  Components: security
>Reporter: Dan Smith
>  Labels: bug-hunt
>
> I'm trying to connect a client using multi user security authentication.
> I couldn't find any description of how to use this feature in the manuals. 
> The javadocs for ClientCacheFactory.setPoolMultiuserAuthentication basically 
> provide no information. If you just set that, you get this misleading error 
> message:
> {code}
> java.lang.UnsupportedOperationException: Use Pool APIs for doing operations 
> when multiuser-secure-mode-enabled is set to true.
> {code}
> What you actually need to do is call cache.createAuthenticatedView. However, 
> if you just do that, you get this error message
> {code}
> com.gemstone.gemfire.cache.client.ServerOperationException: remote server on 
> 172.16.115.238(73827:loner):60898:2126f43c: 
> com.gemstone.gemfire.security.AuthenticationRequiredException: No security-* 
> properties are provided
>   at 
> com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.handleException(OpExecutorImpl.java:671)
>   at 
> com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.handleException(OpExecutorImpl.java:772)
>   at 
> com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.handleException(OpExecutorImpl.java:603)
>   at 
> com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.execute(OpExecutorImpl.java:165)
>   at 
> com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.execute(OpExecutorImpl.java:110)
>   at 
> com.gemstone.gemfire.cache.client.internal.PoolImpl.execute(PoolImpl.java:700)
>   at 
> com.gemstone.gemfire.cache.client.internal.PutOp.execute(PutOp.java:102)
>   at 
> com.gemstone.gemfire.cache.client.internal.ServerRegionProxy.put(ServerRegionProxy.java:175)
>   at 
> com.gemstone.gemfire.internal.cache.LocalRegion.serverPut(LocalRegion.java:3061)
>   at 
> com.gemstone.gemfire.internal.cache.LocalRegion.cacheWriteBeforePut(LocalRegion.java:3188)
>   at 
> com.gemstone.gemfire.internal.cache.ProxyRegionMap.basicPut(ProxyRegionMap.java:230)
>   at 
> com.gemstone.gemfire.internal.cache.LocalRegion.virtualPut(LocalRegion.java:5845)
>   at 
> com.gemstone.gemfire.internal.cache.LocalRegionDataView.putEntry(LocalRegionDataView.java:132)
>   at 
> com.gemstone.gemfire.internal.cache.LocalRegion.basicPut(LocalRegion.java:5240)
>   at 
> com.gemstone.gemfire.internal.cache.LocalRegion.validatedPut(LocalRegion.java:1557)
>   at 
> com.gemstone.gemfire.internal.cache.LocalRegion.put(LocalRegion.java:1544)
>   at 
> com.gemstone.gemfire.internal.cache.AbstractRegion.put(AbstractRegion.java:288)
>   at 
> com.gemstone.gemfire.cache.client.internal.ProxyRegion.put(ProxyRegion.java:459)
>   at TestClient.test(TestClient.java:29)
>   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:498)
>   at 
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
>   at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>   at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
>   at 
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
>   at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
>   at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>   at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
>   at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
>   at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
>   at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
>   at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>   at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
>   at 
> com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:119)
>   at 
> 

[jira] [Created] (GEODE-1536) Poor documentation and misleading error messages with multi user security

2016-06-10 Thread Dan Smith (JIRA)
Dan Smith created GEODE-1536:


 Summary: Poor documentation and misleading error messages with 
multi user security
 Key: GEODE-1536
 URL: https://issues.apache.org/jira/browse/GEODE-1536
 Project: Geode
  Issue Type: Bug
Reporter: Dan Smith


I'm trying to connect a client using multi user security authentication.

I couldn't find any description of how to use this feature in the manuals. The 
javadocs for ClientCacheFactory.setPoolMultiuserAuthentication basically 
provide no information. If you just set that, you get this misleading error 
message:

{code}
java.lang.UnsupportedOperationException: Use Pool APIs for doing operations 
when multiuser-secure-mode-enabled is set to true.
{code}

What you actually need to do is call cache.createAuthenticatedView. However, if 
you just do that, you get this error message
{code}
com.gemstone.gemfire.cache.client.ServerOperationException: remote server on 
172.16.115.238(73827:loner):60898:2126f43c: 
com.gemstone.gemfire.security.AuthenticationRequiredException: No security-* 
properties are provided

at 
com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.handleException(OpExecutorImpl.java:671)
at 
com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.handleException(OpExecutorImpl.java:772)
at 
com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.handleException(OpExecutorImpl.java:603)
at 
com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.execute(OpExecutorImpl.java:165)
at 
com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.execute(OpExecutorImpl.java:110)
at 
com.gemstone.gemfire.cache.client.internal.PoolImpl.execute(PoolImpl.java:700)
at 
com.gemstone.gemfire.cache.client.internal.PutOp.execute(PutOp.java:102)
at 
com.gemstone.gemfire.cache.client.internal.ServerRegionProxy.put(ServerRegionProxy.java:175)
at 
com.gemstone.gemfire.internal.cache.LocalRegion.serverPut(LocalRegion.java:3061)
at 
com.gemstone.gemfire.internal.cache.LocalRegion.cacheWriteBeforePut(LocalRegion.java:3188)
at 
com.gemstone.gemfire.internal.cache.ProxyRegionMap.basicPut(ProxyRegionMap.java:230)
at 
com.gemstone.gemfire.internal.cache.LocalRegion.virtualPut(LocalRegion.java:5845)
at 
com.gemstone.gemfire.internal.cache.LocalRegionDataView.putEntry(LocalRegionDataView.java:132)
at 
com.gemstone.gemfire.internal.cache.LocalRegion.basicPut(LocalRegion.java:5240)
at 
com.gemstone.gemfire.internal.cache.LocalRegion.validatedPut(LocalRegion.java:1557)
at 
com.gemstone.gemfire.internal.cache.LocalRegion.put(LocalRegion.java:1544)
at 
com.gemstone.gemfire.internal.cache.AbstractRegion.put(AbstractRegion.java:288)
at 
com.gemstone.gemfire.cache.client.internal.ProxyRegion.put(ProxyRegion.java:459)
at TestClient.test(TestClient.java:29)
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:498)
at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at 
com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:119)
at 
com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:42)
at 
com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)
at 
com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 

[jira] [Updated] (GEODE-1535) NullPointerException from SampleJsonAuthorization with valid credentials

2016-06-10 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith updated GEODE-1535:
-
Labels: bug-hunt  (was: )

> NullPointerException from SampleJsonAuthorization with valid credentials
> 
>
> Key: GEODE-1535
> URL: https://issues.apache.org/jira/browse/GEODE-1535
> Project: Geode
>  Issue Type: Bug
>  Components: security
>Reporter: Dan Smith
>  Labels: bug-hunt
>
> I'm trying to configure a client to connect with authorization using the 
> SampleJsonAuthorization class. I got the below NPE when trying to connect.
> {code}
> com.gemstone.gemfire.cache.client.ServerOperationException: remote server on 
> 172.16.115.238(72978:loner):60610:2e0de43c: : While performing a remote put
>   at 
> com.gemstone.gemfire.cache.client.internal.PutOp$PutOpImpl.processAck(PutOp.java:445)
>   at 
> com.gemstone.gemfire.cache.client.internal.PutOp$PutOpImpl.processResponse(PutOp.java:355)
>   at 
> com.gemstone.gemfire.cache.client.internal.PutOp$PutOpImpl.attemptReadResponse(PutOp.java:540)
>   at 
> com.gemstone.gemfire.cache.client.internal.AbstractOp.attempt(AbstractOp.java:378)
>   at 
> com.gemstone.gemfire.cache.client.internal.ConnectionImpl.execute(ConnectionImpl.java:274)
>   at 
> com.gemstone.gemfire.cache.client.internal.pooling.PooledConnection.execute(PooledConnection.java:328)
>   at 
> com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.executeWithPossibleReAuthentication(OpExecutorImpl.java:937)
>   at 
> com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.execute(OpExecutorImpl.java:155)
>   at 
> com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.execute(OpExecutorImpl.java:110)
>   at 
> com.gemstone.gemfire.cache.client.internal.PoolImpl.execute(PoolImpl.java:700)
>   at 
> com.gemstone.gemfire.cache.client.internal.PutOp.execute(PutOp.java:102)
>   at 
> com.gemstone.gemfire.cache.client.internal.ServerRegionProxy.put(ServerRegionProxy.java:175)
>   at 
> com.gemstone.gemfire.internal.cache.LocalRegion.serverPut(LocalRegion.java:3061)
>   at 
> com.gemstone.gemfire.internal.cache.LocalRegion.cacheWriteBeforePut(LocalRegion.java:3188)
>   at 
> com.gemstone.gemfire.internal.cache.ProxyRegionMap.basicPut(ProxyRegionMap.java:230)
>   at 
> com.gemstone.gemfire.internal.cache.LocalRegion.virtualPut(LocalRegion.java:5845)
>   at 
> com.gemstone.gemfire.internal.cache.LocalRegionDataView.putEntry(LocalRegionDataView.java:132)
>   at 
> com.gemstone.gemfire.internal.cache.LocalRegion.basicPut(LocalRegion.java:5240)
>   at 
> com.gemstone.gemfire.internal.cache.LocalRegion.validatedPut(LocalRegion.java:1557)
>   at 
> com.gemstone.gemfire.internal.cache.LocalRegion.put(LocalRegion.java:1544)
>   at 
> com.gemstone.gemfire.internal.cache.AbstractRegion.put(AbstractRegion.java:288)
>   at TestClient.test(TestClient.java:20)
>   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:498)
>   at 
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
>   at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>   at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
>   at 
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
>   at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
>   at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>   at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
>   at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
>   at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
>   at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
>   at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>   at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
>   at 
> com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:119)
>   at 
> com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:42)
>   at 
> com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)
>   at 
> 

[jira] [Created] (GEODE-1535) NullPointerException from SampleJsonAuthorization with valid credentials

2016-06-10 Thread Dan Smith (JIRA)
Dan Smith created GEODE-1535:


 Summary: NullPointerException from SampleJsonAuthorization with 
valid credentials
 Key: GEODE-1535
 URL: https://issues.apache.org/jira/browse/GEODE-1535
 Project: Geode
  Issue Type: Bug
  Components: security
Reporter: Dan Smith


I'm trying to configure a client to connect with authorization using the 
SampleJsonAuthorization class. I got the below NPE when trying to connect.

{code}
com.gemstone.gemfire.cache.client.ServerOperationException: remote server on 
172.16.115.238(72978:loner):60610:2e0de43c: : While performing a remote put

at 
com.gemstone.gemfire.cache.client.internal.PutOp$PutOpImpl.processAck(PutOp.java:445)
at 
com.gemstone.gemfire.cache.client.internal.PutOp$PutOpImpl.processResponse(PutOp.java:355)
at 
com.gemstone.gemfire.cache.client.internal.PutOp$PutOpImpl.attemptReadResponse(PutOp.java:540)
at 
com.gemstone.gemfire.cache.client.internal.AbstractOp.attempt(AbstractOp.java:378)
at 
com.gemstone.gemfire.cache.client.internal.ConnectionImpl.execute(ConnectionImpl.java:274)
at 
com.gemstone.gemfire.cache.client.internal.pooling.PooledConnection.execute(PooledConnection.java:328)
at 
com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.executeWithPossibleReAuthentication(OpExecutorImpl.java:937)
at 
com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.execute(OpExecutorImpl.java:155)
at 
com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.execute(OpExecutorImpl.java:110)
at 
com.gemstone.gemfire.cache.client.internal.PoolImpl.execute(PoolImpl.java:700)
at 
com.gemstone.gemfire.cache.client.internal.PutOp.execute(PutOp.java:102)
at 
com.gemstone.gemfire.cache.client.internal.ServerRegionProxy.put(ServerRegionProxy.java:175)
at 
com.gemstone.gemfire.internal.cache.LocalRegion.serverPut(LocalRegion.java:3061)
at 
com.gemstone.gemfire.internal.cache.LocalRegion.cacheWriteBeforePut(LocalRegion.java:3188)
at 
com.gemstone.gemfire.internal.cache.ProxyRegionMap.basicPut(ProxyRegionMap.java:230)
at 
com.gemstone.gemfire.internal.cache.LocalRegion.virtualPut(LocalRegion.java:5845)
at 
com.gemstone.gemfire.internal.cache.LocalRegionDataView.putEntry(LocalRegionDataView.java:132)
at 
com.gemstone.gemfire.internal.cache.LocalRegion.basicPut(LocalRegion.java:5240)
at 
com.gemstone.gemfire.internal.cache.LocalRegion.validatedPut(LocalRegion.java:1557)
at 
com.gemstone.gemfire.internal.cache.LocalRegion.put(LocalRegion.java:1544)
at 
com.gemstone.gemfire.internal.cache.AbstractRegion.put(AbstractRegion.java:288)
at TestClient.test(TestClient.java:20)
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:498)
at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at 
com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:119)
at 
com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:42)
at 
com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)
at 
com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at 

[jira] [Created] (GEODE-1534) security-username, security-password should be in ConfigurationProperties

2016-06-10 Thread Dan Smith (JIRA)
Dan Smith created GEODE-1534:


 Summary: security-username, security-password should be in 
ConfigurationProperties
 Key: GEODE-1534
 URL: https://issues.apache.org/jira/browse/GEODE-1534
 Project: Geode
  Issue Type: Improvement
Reporter: Dan Smith


These two special properties are passed to the users Authorization callback 
when someone logs in through gfsh. They should probably be documented in the 
Authenticator javadocs and provided as public constants in 
ConfigurationProperties.



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


[jira] [Updated] (GEODE-1534) security-username, security-password should be in ConfigurationProperties

2016-06-10 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith updated GEODE-1534:
-
Labels: bug-hunt  (was: )

> security-username, security-password should be in ConfigurationProperties
> -
>
> Key: GEODE-1534
> URL: https://issues.apache.org/jira/browse/GEODE-1534
> Project: Geode
>  Issue Type: Improvement
>  Components: security
>Reporter: Dan Smith
>  Labels: bug-hunt
>
> These two special properties are passed to the users Authorization callback 
> when someone logs in through gfsh. They should probably be documented in the 
> Authenticator javadocs and provided as public constants in 
> ConfigurationProperties.



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


[jira] [Updated] (GEODE-1534) security-username, security-password should be in ConfigurationProperties

2016-06-10 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith updated GEODE-1534:
-
Component/s: security

> security-username, security-password should be in ConfigurationProperties
> -
>
> Key: GEODE-1534
> URL: https://issues.apache.org/jira/browse/GEODE-1534
> Project: Geode
>  Issue Type: Improvement
>  Components: security
>Reporter: Dan Smith
>  Labels: bug-hunt
>
> These two special properties are passed to the users Authorization callback 
> when someone logs in through gfsh. They should probably be documented in the 
> Authenticator javadocs and provided as public constants in 
> ConfigurationProperties.



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


[jira] [Updated] (GEODE-1533) After gfsh times out a session, user can no longer reconnect for a period of time

2016-06-10 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith updated GEODE-1533:
-
Component/s: (was: h)

> After gfsh times out a session, user can no longer reconnect for a period of 
> time
> -
>
> Key: GEODE-1533
> URL: https://issues.apache.org/jira/browse/GEODE-1533
> Project: Geode
>  Issue Type: Bug
>  Components: gfsh
>Reporter: Dan Smith
>  Labels: bug-hunt
>
> I hit this will following the instructions on 
> https://cwiki.apache.org/confluence/display/GEODE/Quickstart+guide+to+securing+JMX%2C+GFSH+and+Pulse
> I launched a locator with a security-client-authorization callback. Then I 
> connected gfsh using the super-user account specified in the json file.
> I then walked away for a while. It looks like my session timed out, I see 
> this in the console
> {noformat}
> gfsh>stop server --name=server1
> An error occurred while attempting to stop a Cache Server: There is no 
> session with id [1358bd30-b44d-45df-acb1-7c30e4b956a4]
> {noformat}
> That's fine, maybe my session timed out. The issue is that even if I 
> disconnect and reconnect again, or even exit out of gfsh and try to 
> reconnect, I get an authentication error.
> After some more time has elapsed, then I can connect again. Below is my log.
> {noformat}
> gfsh>stop server --name=server1
> An error occurred while attempting to stop a Cache Server: There is no 
> session with id [1358bd30-b44d-45df-acb1-7c30e4b956a4]
> gfsh>disconnect
> Disconnecting from: 172.16.115.238[1099]
> Disconnected from : 172.16.115.238[1099]
> gfsh>connect --user=root --password=123
> Connecting to Locator at [host=localhost, port=10334] ..
> Connecting to Manager at [host=172.16.115.238, port=1099] ..
> Could not connect to : [host=172.16.115.238, port=1099]. Authentication 
> error. Please check your username/password.
> gfsh>
> Exiting... 
> scripts> gfsh 
> Picked up JAVA_TOOL_OPTIONS: 
> _ __
>/ _/ __/ __/ // /
>   / /  __/ /___  /_  / _  / 
>  / /__/ / /  _/ / // /  
> /__/_/  /__/_//_/1.0.0-incubating.M3-SNAPSHOT
> Monitor and Manage Apache Geode (incubating)
> gfsh>connect --user=root --password=123
> Connecting to Locator at [host=localhost, port=10334] ..
> Connecting to Manager at [host=172.16.115.238, port=1099] ..
> Could not connect to : [host=172.16.115.238, port=1099]. Authentication 
> error. Please check your username/password.
> ***Nothing has changed except some time has gone by in this time ***
> gfsh>connect --user=root --password=123
> Connecting to Locator at [host=localhost, port=10334] ..
> Connecting to Manager at [host=172.16.115.238, port=1099] ..
> Successfully connected to: [host=172.16.115.238, port=1099]
> gfsh>
> {noformat}



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


[jira] [Updated] (GEODE-1533) After gfsh times out a session, user can no longer reconnect for a period of time

2016-06-10 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith updated GEODE-1533:
-
Labels: bug-hunt  (was: )

> After gfsh times out a session, user can no longer reconnect for a period of 
> time
> -
>
> Key: GEODE-1533
> URL: https://issues.apache.org/jira/browse/GEODE-1533
> Project: Geode
>  Issue Type: Bug
>  Components: gfsh
>Reporter: Dan Smith
>  Labels: bug-hunt
>
> I hit this will following the instructions on 
> https://cwiki.apache.org/confluence/display/GEODE/Quickstart+guide+to+securing+JMX%2C+GFSH+and+Pulse
> I launched a locator with a security-client-authorization callback. Then I 
> connected gfsh using the super-user account specified in the json file.
> I then walked away for a while. It looks like my session timed out, I see 
> this in the console
> {noformat}
> gfsh>stop server --name=server1
> An error occurred while attempting to stop a Cache Server: There is no 
> session with id [1358bd30-b44d-45df-acb1-7c30e4b956a4]
> {noformat}
> That's fine, maybe my session timed out. The issue is that even if I 
> disconnect and reconnect again, or even exit out of gfsh and try to 
> reconnect, I get an authentication error.
> After some more time has elapsed, then I can connect again. Below is my log.
> {noformat}
> gfsh>stop server --name=server1
> An error occurred while attempting to stop a Cache Server: There is no 
> session with id [1358bd30-b44d-45df-acb1-7c30e4b956a4]
> gfsh>disconnect
> Disconnecting from: 172.16.115.238[1099]
> Disconnected from : 172.16.115.238[1099]
> gfsh>connect --user=root --password=123
> Connecting to Locator at [host=localhost, port=10334] ..
> Connecting to Manager at [host=172.16.115.238, port=1099] ..
> Could not connect to : [host=172.16.115.238, port=1099]. Authentication 
> error. Please check your username/password.
> gfsh>
> Exiting... 
> scripts> gfsh 
> Picked up JAVA_TOOL_OPTIONS: 
> _ __
>/ _/ __/ __/ // /
>   / /  __/ /___  /_  / _  / 
>  / /__/ / /  _/ / // /  
> /__/_/  /__/_//_/1.0.0-incubating.M3-SNAPSHOT
> Monitor and Manage Apache Geode (incubating)
> gfsh>connect --user=root --password=123
> Connecting to Locator at [host=localhost, port=10334] ..
> Connecting to Manager at [host=172.16.115.238, port=1099] ..
> Could not connect to : [host=172.16.115.238, port=1099]. Authentication 
> error. Please check your username/password.
> ***Nothing has changed except some time has gone by in this time ***
> gfsh>connect --user=root --password=123
> Connecting to Locator at [host=localhost, port=10334] ..
> Connecting to Manager at [host=172.16.115.238, port=1099] ..
> Successfully connected to: [host=172.16.115.238, port=1099]
> gfsh>
> {noformat}



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


[jira] [Commented] (GEODE-1422) CI Failure: ParallelGatewaySenderOperationsOffHeapDUnitTest.testParallelPropagationSenderStartAfterStop_Scenario2

2016-06-08 Thread Dan Smith (JIRA)

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

Dan Smith commented on GEODE-1422:
--

I did a little digging into this failure. When I look at the state with a 
debugger, it looks like this extra event is sitting in 
AbstractGatewaySender.tmpQueuedEvents data structure. The size of that 
structure is added on to the size of the queue.

It looks like the tmpQueuedEvents is only added to while the queue is stopped - 
once it is started, this map is drained. There is some synchronization between 
adding events a draining the queue. But I see this code in 
ParallelAsyncEventQueueImpl.start, which appears to check the tmpQueuedEvents 
size outside of the synchronization:

{code}
  if (!tmpQueuedEvents.isEmpty()) {
enqueueTempEvents();
  }
{code}

> CI Failure: 
> ParallelGatewaySenderOperationsOffHeapDUnitTest.testParallelPropagationSenderStartAfterStop_Scenario2
> -
>
> Key: GEODE-1422
> URL: https://issues.apache.org/jira/browse/GEODE-1422
> Project: Geode
>  Issue Type: Bug
>  Components: wan
>Reporter: Sai Boorlagadda
>  Labels: CI
>
> {noformat}
> Error Message
> com.gemstone.gemfire.test.dunit.RMIException: While invoking 
> com.gemstone.gemfire.internal.cache.wan.parallel.ParallelGatewaySenderOperationsDUnitTest$$Lambda$998/238210599.run
>  in VM 4 running on Host kuwait.gemstone.com with 8 VMs
> Stacktrace
> com.gemstone.gemfire.test.dunit.RMIException: While invoking 
> com.gemstone.gemfire.internal.cache.wan.parallel.ParallelGatewaySenderOperationsDUnitTest$$Lambda$998/238210599.run
>  in VM 4 running on Host kuwait.gemstone.com with 8 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:293)
>   at 
> com.gemstone.gemfire.internal.cache.wan.parallel.ParallelGatewaySenderOperationsDUnitTest.testParallelPropagationSenderStartAfterStop_Scenario2(ParallelGatewaySenderOperationsDUnitTest.java:358)
>   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:112)
>   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:66)
>   at 
> org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
>   at sun.reflect.GeneratedMethodAccessor197.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:109)
>   at sun.reflect.GeneratedMethodAccessor196.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 
> 

[jira] [Updated] (GEODE-1510) Inaccurate size constants in GatewaySenderEventImpl.getSizeInBytes

2016-06-06 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith updated GEODE-1510:
-
Component/s: wan

> Inaccurate size constants in GatewaySenderEventImpl.getSizeInBytes
> --
>
> Key: GEODE-1510
> URL: https://issues.apache.org/jira/browse/GEODE-1510
> Project: Geode
>  Issue Type: Bug
>  Components: wan
>Reporter: Dan Smith
>
> This method adds together a lot of magic numbers to produce a size for the 
> entry. The size is important because it is used for LRU eviction 
> calculations; if the size is under reported the queue may end up consuming 
> more memory than expected.
> The magic numbers used in this class do no appear to be correct for 64 bit 
> VMs, based on the comments. 
> This size method should be refactored to return an accurate size, preferably 
> one that is measured rather than relying on these constants. 



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


[jira] [Created] (GEODE-1510) Inaccurate size constants in GatewaySenderEventImpl.getSizeInBytes

2016-06-06 Thread Dan Smith (JIRA)
Dan Smith created GEODE-1510:


 Summary: Inaccurate size constants in 
GatewaySenderEventImpl.getSizeInBytes
 Key: GEODE-1510
 URL: https://issues.apache.org/jira/browse/GEODE-1510
 Project: Geode
  Issue Type: Bug
Reporter: Dan Smith


This method adds together a lot of magic numbers to produce a size for the 
entry. The size is important because it is used for LRU eviction calculations; 
if the size is under reported the queue may end up consuming more memory than 
expected.

The magic numbers used in this class do no appear to be correct for 64 bit VMs, 
based on the comments. 

This size method should be refactored to return an accurate size, preferably 
one that is measured rather than relying on these constants. 



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


[jira] [Created] (GEODE-1509) Reduce the memory usage of GatewayEventCallbackArgument

2016-06-06 Thread Dan Smith (JIRA)
Dan Smith created GEODE-1509:


 Summary: Reduce the memory usage of GatewayEventCallbackArgument
 Key: GEODE-1509
 URL: https://issues.apache.org/jira/browse/GEODE-1509
 Project: Geode
  Issue Type: Improvement
Reporter: Dan Smith


GatewayEventCallbackArgument has a HashSet of recipient gateways. 
Because we create a ton of these things, these sets end up consuming a lot of 
memory.

It should probably use IntOpenHashSet initialized with a small size, eg new 
IntOpenHashSet(2).



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


[jira] [Updated] (GEODE-1509) Reduce the memory usage of GatewayEventCallbackArgument

2016-06-06 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith updated GEODE-1509:
-
Component/s: wan

> Reduce the memory usage of GatewayEventCallbackArgument
> ---
>
> Key: GEODE-1509
> URL: https://issues.apache.org/jira/browse/GEODE-1509
> Project: Geode
>  Issue Type: Improvement
>  Components: wan
>Reporter: Dan Smith
>
> GatewayEventCallbackArgument has a HashSet of recipient gateways. 
> Because we create a ton of these things, these sets end up consuming a lot of 
> memory.
> It should probably use IntOpenHashSet initialized with a small size, eg new 
> IntOpenHashSet(2).



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


[jira] [Updated] (GEODE-1494) Allow users to provide callbacks to sample statistics

2016-06-02 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith updated GEODE-1494:
-
Description: 
The Statistics interface has methods to increment, set, and get the value of 
various statistics. The statistics are sampled at the sample-rate by the stat 
sampling thread.

We should add a way to provide a callback that computes the value of the 
statistic. The callback can be called by the stat sampling thread to compute 
the value at the sample time.

This is useful because some statistics are hard to update correctly using using 
increment operations. For example, tracking the total number of entries in a 
parallel async event queue is tricky, because buckets may move on and off of a 
node while concurrent operations are also adding entries. But measuring the 
current size of the queue is easy by just calling size on the underlying 
regions.

Here are the proposed new methods on the statistics interface:

{code}
   /**
   * Provide a callback to compute the value of this statistic
   * every sample interval and use that as the value of the stat.
   * 
   * The callback should return quickly because it is invoked on a shared 
thread.
   * It should not do any expensive computations, network calls, or access any 
resources
   * under locks that may be locked by long running processes.
   * 
   * This callback will only be invoked if the distributed system property
   * statistic-sampling-enabled is set to true, and it will be invoked at 
intervals
   * determined by the statistic-sampling-rate.
   * 
   * Get methods are not guaranteed to recompute a new value, they may return
   * the last sampled value
   * @param id a statistic id obtained with {@link #nameToId}
   * or {@link StatisticsType#nameToId}.
   * @param supplier a callback that will return the value of the stat. This
   * replaces any previously registered supplier. If the passed in suppplier is 
null, it
   * will remove any existing supplier
   * @return the previously registered supplier, or null if there was no 
previously registered supplier
   * @throws ArrayIndexOutOfBoundsException If the id is invalid.
   * @throws IllegalArgumentException if the type of this
   * stat is not int
   */
  public IntSupplier setIntSupplier(int id, IntSupplier supplier);
  public LongSupplier setLongSupplier(int id, LongSupplier supplier);
  public DoubleSupplier setDoubleSupplier(int id, DoubleSupplier supplier);
  public IntSupplier setIntSupplier(String name, IntSupplier supplier);
  public LongSupplier setLongSupplier(String name, LongSupplier supplier);
  public DoubleSupplier setDoubleSupplier(String name, DoubleSupplier supplier);
  public IntSupplier setIntSupplier(StatisticDescriptor descriptor, IntSupplier 
supplier);
  public LongSupplier setLongSupplier(StatisticDescriptor descriptor, 
LongSupplier supplier);
  public DoubleSupplier setDoubleSupplier(StatisticDescriptor descriptor, 
DoubleSupplier supplier);
{code}

  was:
The Statistics interface has methods to increment, set, and get the value of 
various statistics. The statistics are sampled at the sample-rate by the stat 
sampling thread.

We should add a way to provide a callback that computes the value of the 
statistic. The callback can be called by the stat sampling thread to compute 
the value at the sample time.

This is useful because some statistics are hard to update correctly using using 
increment operations. For example, tracking the total number of entries in a 
parallel async event queue is tricky, because buckets may move on and off of a 
node while concurrent operations are also adding entries. But measuring the 
current size of the queue is easy by just calling size on the underlying 
regions.

Here are the proposed new methods on the statistics interface:

{code}
  /**
   * Provide a callback to compute the value of this statistic
   * every sample interval and use that as the value of the stat.
   *
   */
  public void sampleInt(int id, IntSupplier supplier);
  public void sampleLong(int id, LongSupplier supplier);
  public void sampleDouble(int id, DoubleSupplier supplier);
  public void sampleInt(String name, IntSupplier supplier);
  public void sampleLong(String name, LongSupplier supplier);
  public void sampleDouble(String name, DoubleSupplier supplier);
  public void sampleInt(StatisticDescriptor descriptor, IntSupplier supplier);
  public void sampleLong(StatisticDescriptor descriptor, LongSupplier supplier);
  public void sampleDouble(StatisticDescriptor descriptor, DoubleSupplier 
supplier);
{code}


> Allow users to provide callbacks to sample statistics
> -
>
> Key: GEODE-1494
> URL: https://issues.apache.org/jira/browse/GEODE-1494
> Project: Geode
>  Issue Type: Improvement
>Reporter: Dan Smith
>Assignee: Dan Smith
>
> The 

[jira] [Updated] (GEODE-1377) Move DistributionConfig constants to a public package

2016-06-02 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith updated GEODE-1377:
-
Assignee: Udo Kohlmeyer

> Move DistributionConfig constants to a public package
> -
>
> Key: GEODE-1377
> URL: https://issues.apache.org/jira/browse/GEODE-1377
> Project: Geode
>  Issue Type: Bug
>  Components: membership
>Reporter: Bruce Schuchardt
>Assignee: Udo Kohlmeyer
>
> DistributionConfig contains the names of all distributed-system properties 
> and their default values.  The configuration constants in this class should 
> be moved to a public interface so that applications can reference the 
> property names and so not have to spell them out.  For instance, 
> DistributionConfig.LOCATORS_NAME instead of "locators".



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


[jira] [Updated] (GEODE-1494) Allow users to provide callbacks to sample statistics

2016-06-01 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith updated GEODE-1494:
-
Description: 
The Statistics interface has methods to increment, set, and get the value of 
various statistics. The statistics are sampled at the sample-rate by the stat 
sampling thread.

We should add a way to provide a callback that computes the value of the 
statistic. The callback can be called by the stat sampling thread to compute 
the value at the sample time.

This is useful because some statistics are hard to update correctly using using 
increment operations. For example, tracking the total number of entries in a 
parallel async event queue is tricky, because buckets may move on and off of a 
node while concurrent operations are also adding entries. But measuring the 
current size of the queue is easy by just calling size on the underlying 
regions.

Here are the proposed new methods on the statistics interface:

{code}
  /**
   * Provide a callback to compute the value of this statistic
   * every sample interval and use that as the value of the stat.
   *
   */
  public void sampleInt(int id, IntSupplier supplier);
  public void sampleLong(int id, LongSupplier supplier);
  public void sampleDouble(int id, DoubleSupplier supplier);
  public void sampleInt(String name, IntSupplier supplier);
  public void sampleLong(String name, LongSupplier supplier);
  public void sampleDouble(String name, DoubleSupplier supplier);
  public void sampleInt(StatisticDescriptor descriptor, IntSupplier supplier);
  public void sampleLong(StatisticDescriptor descriptor, LongSupplier supplier);
  public void sampleDouble(StatisticDescriptor descriptor, DoubleSupplier 
supplier);
{code}

  was:
The Statistics interface has methods to increment, set, and get the value of 
various statistics. The statistics are sampled at the sample-rate by the stat 
sampling thread.

We should add a way to provide a callback that computes the value of the 
statistic. The callback can be called by the stat sampling thread to compute 
the value at the sample time.

This is useful because some statistics are hard to update correctly using using 
increment operations. For example, tracking the total number of entries in a 
parallel async event queue is tricky, because buckets may move on and off of a 
node while concurrent operations are also adding entries. But measuring the 
current size of the queue is easy by just calling size on the underlying 
regions.

Here are the proposed new methods on the statistics interface:

{code}
  /**
   * Provide a callback to compute the value of this statistic
   * every sample interval and use that as the value of the stat.
   *
   */
  public void sampleInt(int id, IntSupplier sampler);
  public void sampleLong(int id, LongSupplier supplier);
  public void sampleDouble(int id, DoubleSupplier supplier);
  public void sampleInt(String name, IntSupplier sampler);
  public void sampleLong(String name, LongSupplier supplier);
  public void sampleDouble(String name, DoubleSupplier supplier);
  public void sampleInt(StatisticDescriptor descriptor, IntSupplier sampler);
  public void sampleLong(StatisticDescriptor descriptor, LongSupplier supplier);
  public void sampleDouble(StatisticDescriptor descriptor, DoubleSupplier 
supplier);
{code}


> Allow users to provide callbacks to sample statistics
> -
>
> Key: GEODE-1494
> URL: https://issues.apache.org/jira/browse/GEODE-1494
> Project: Geode
>  Issue Type: Improvement
>Reporter: Dan Smith
>Assignee: Dan Smith
>
> The Statistics interface has methods to increment, set, and get the value of 
> various statistics. The statistics are sampled at the sample-rate by the stat 
> sampling thread.
> We should add a way to provide a callback that computes the value of the 
> statistic. The callback can be called by the stat sampling thread to compute 
> the value at the sample time.
> This is useful because some statistics are hard to update correctly using 
> using increment operations. For example, tracking the total number of entries 
> in a parallel async event queue is tricky, because buckets may move on and 
> off of a node while concurrent operations are also adding entries. But 
> measuring the current size of the queue is easy by just calling size on the 
> underlying regions.
> Here are the proposed new methods on the statistics interface:
> {code}
>   /**
>* Provide a callback to compute the value of this statistic
>* every sample interval and use that as the value of the stat.
>*
>*/
>   public void sampleInt(int id, IntSupplier supplier);
>   public void sampleLong(int id, LongSupplier supplier);
>   public void sampleDouble(int id, DoubleSupplier supplier);
>   public void sampleInt(String name, IntSupplier supplier);
>   

[jira] [Assigned] (GEODE-1494) Allow users to provide callbacks to sample statistics

2016-06-01 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith reassigned GEODE-1494:


Assignee: Dan Smith

> Allow users to provide callbacks to sample statistics
> -
>
> Key: GEODE-1494
> URL: https://issues.apache.org/jira/browse/GEODE-1494
> Project: Geode
>  Issue Type: Improvement
>Reporter: Dan Smith
>Assignee: Dan Smith
>
> The Statistics interface has methods to increment, set, and get the value of 
> various statistics. The statistics are sampled at the sample-rate by the stat 
> sampling thread.
> We should add a way to provide a callback that computes the value of the 
> statistic. The callback can be called by the stat sampling thread to compute 
> the value at the sample time.
> This is useful because some statistics are hard to update correctly using 
> using increment operations. For example, tracking the total number of entries 
> in a parallel async event queue is tricky, because buckets may move on and 
> off of a node while concurrent operations are also adding entries. But 
> measuring the current size of the queue is easy by just calling size on the 
> underlying regions.
> Here are the proposed new methods on the statistics interface:
> {code}
>   /**
>* Provide a callback to compute the value of this statistic
>* every sample interval and use that as the value of the stat.
>*
>*/
>   public void sampleInt(int id, IntSupplier sampler);
>   public void sampleLong(int id, LongSupplier supplier);
>   public void sampleDouble(int id, DoubleSupplier supplier);
>   public void sampleInt(String name, IntSupplier sampler);
>   public void sampleLong(String name, LongSupplier supplier);
>   public void sampleDouble(String name, DoubleSupplier supplier);
>   public void sampleInt(StatisticDescriptor descriptor, IntSupplier sampler);
>   public void sampleLong(StatisticDescriptor descriptor, LongSupplier 
> supplier);
>   public void sampleDouble(StatisticDescriptor descriptor, DoubleSupplier 
> supplier);
> {code}



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


[jira] [Created] (GEODE-1494) Allow users to provide callbacks to sample statistics

2016-06-01 Thread Dan Smith (JIRA)
Dan Smith created GEODE-1494:


 Summary: Allow users to provide callbacks to sample statistics
 Key: GEODE-1494
 URL: https://issues.apache.org/jira/browse/GEODE-1494
 Project: Geode
  Issue Type: Improvement
Reporter: Dan Smith


The Statistics interface has methods to increment, set, and get the value of 
various statistics. The statistics are sampled at the sample-rate by the stat 
sampling thread.

We should add a way to provide a callback that computes the value of the 
statistic. The callback can be called by the stat sampling thread to compute 
the value at the sample time.

This is useful because some statistics are hard to update correctly using using 
increment operations. For example, tracking the total number of entries in a 
parallel async event queue is tricky, because buckets may move on and off of a 
node while concurrent operations are also adding entries. But measuring the 
current size of the queue is easy by just calling size on the underlying 
regions.

Here are the proposed new methods on the statistics interface:

{code}
  /**
   * Provide a callback to compute the value of this statistic
   * every sample interval and use that as the value of the stat.
   *
   */
  public void sampleInt(int id, IntSupplier sampler);
  public void sampleLong(int id, LongSupplier supplier);
  public void sampleDouble(int id, DoubleSupplier supplier);
  public void sampleInt(String name, IntSupplier sampler);
  public void sampleLong(String name, LongSupplier supplier);
  public void sampleDouble(String name, DoubleSupplier supplier);
  public void sampleInt(StatisticDescriptor descriptor, IntSupplier sampler);
  public void sampleLong(StatisticDescriptor descriptor, LongSupplier supplier);
  public void sampleDouble(StatisticDescriptor descriptor, DoubleSupplier 
supplier);
{code}



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


[jira] [Created] (GEODE-1493) config/gemfire.properties that is shipped with the geode distribution contains user specific info

2016-06-01 Thread Dan Smith (JIRA)
Dan Smith created GEODE-1493:


 Summary: config/gemfire.properties that is shipped with the geode 
distribution contains user specific info
 Key: GEODE-1493
 URL: https://issues.apache.org/jira/browse/GEODE-1493
 Project: Geode
  Issue Type: Bug
  Components: build
Reporter: Dan Smith


The geode-assembly/build.gradle file generates a default gemfire.properties and 
cache.xml that get included in the config directory in the binary distribution. 
See the defaultDistributionConfig target.

However, the generated gemfire.properties file has a bad value for 
cluster-configuration-dir. This is the value that shipped with M2:

{noformat}
cluster-configuration-dir=/home/dsmith/data/work/gemfire5/open/geode-assembly/build
{noformat}

The mcast-address is also suspect, because the default mcast address depends on 
whether the build system system prefers IPv6 or IPv4 addresses.







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


[jira] [Updated] (GEODE-1493) config/gemfire.properties that is shipped with the geode distribution contains user specific info

2016-06-01 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith updated GEODE-1493:
-
Fix Version/s: 1.0.0-incubating.M3

> config/gemfire.properties that is shipped with the geode distribution 
> contains user specific info
> -
>
> Key: GEODE-1493
> URL: https://issues.apache.org/jira/browse/GEODE-1493
> Project: Geode
>  Issue Type: Bug
>  Components: build
>Reporter: Dan Smith
> Fix For: 1.0.0-incubating.M3
>
>
> The geode-assembly/build.gradle file generates a default gemfire.properties 
> and cache.xml that get included in the config directory in the binary 
> distribution. See the defaultDistributionConfig target.
> However, the generated gemfire.properties file has a bad value for 
> cluster-configuration-dir. This is the value that shipped with M2:
> {noformat}
> cluster-configuration-dir=/home/dsmith/data/work/gemfire5/open/geode-assembly/build
> {noformat}
> The mcast-address is also suspect, because the default mcast address depends 
> on whether the build system system prefers IPv6 or IPv4 addresses.



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


[jira] [Updated] (GEODE-1458) Sequence logger thread can die on startup and should not be enabled by default

2016-05-25 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith updated GEODE-1458:
-
Fix Version/s: 1.0.0-incubating.M3

> Sequence logger thread can die on startup and should not be enabled by default
> --
>
> Key: GEODE-1458
> URL: https://issues.apache.org/jira/browse/GEODE-1458
> Project: Geode
>  Issue Type: Bug
>Reporter: Dan Smith
>Assignee: Dan Smith
> Fix For: 1.0.0-incubating.M3
>
>
> The SequenceLoggerImpl class always creates a thread in the static block.
> However, if the logger class is loaded before the cache, the thread dies 
> immediately.
> Since sequence logging is usually not enabled, we shouldn't even start this 
> thread unless it is enabled and in that case it should not die if a cache is 
> not present.



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


[jira] [Assigned] (GEODE-1458) Sequence logger thread can die on startup and should not be enabled by default

2016-05-25 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith reassigned GEODE-1458:


Assignee: Dan Smith

> Sequence logger thread can die on startup and should not be enabled by default
> --
>
> Key: GEODE-1458
> URL: https://issues.apache.org/jira/browse/GEODE-1458
> Project: Geode
>  Issue Type: Bug
>Reporter: Dan Smith
>Assignee: Dan Smith
> Fix For: 1.0.0-incubating.M3
>
>
> The SequenceLoggerImpl class always creates a thread in the static block.
> However, if the logger class is loaded before the cache, the thread dies 
> immediately.
> Since sequence logging is usually not enabled, we shouldn't even start this 
> thread unless it is enabled and in that case it should not die if a cache is 
> not present.



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


[jira] [Resolved] (GEODE-1458) Sequence logger thread can die on startup and should not be enabled by default

2016-05-25 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith resolved GEODE-1458.
--
Resolution: Fixed

> Sequence logger thread can die on startup and should not be enabled by default
> --
>
> Key: GEODE-1458
> URL: https://issues.apache.org/jira/browse/GEODE-1458
> Project: Geode
>  Issue Type: Bug
>Reporter: Dan Smith
>Assignee: Dan Smith
>
> The SequenceLoggerImpl class always creates a thread in the static block.
> However, if the logger class is loaded before the cache, the thread dies 
> immediately.
> Since sequence logging is usually not enabled, we shouldn't even start this 
> thread unless it is enabled and in that case it should not die if a cache is 
> not present.



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


[jira] [Created] (GEODE-1458) Sequence logger thread can die on startup and should not be enabled by default

2016-05-25 Thread Dan Smith (JIRA)
Dan Smith created GEODE-1458:


 Summary: Sequence logger thread can die on startup and should not 
be enabled by default
 Key: GEODE-1458
 URL: https://issues.apache.org/jira/browse/GEODE-1458
 Project: Geode
  Issue Type: Bug
Reporter: Dan Smith


The SequenceLoggerImpl class always creates a thread in the static block.

However, if the logger class is loaded before the cache, the thread dies 
immediately.

Since sequence logging is usually not enabled, we shouldn't even start this 
thread unless it is enabled and in that case it should not die if a cache is 
not present.



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


[jira] [Updated] (GEODE-1413) ParallelGatewaySenderOperationsDUnitTest.testParallelPropagationSenderStartAfterStop_Scenario2

2016-05-25 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith updated GEODE-1413:
-
Assignee: nabarun

> ParallelGatewaySenderOperationsDUnitTest.testParallelPropagationSenderStartAfterStop_Scenario2
> --
>
> Key: GEODE-1413
> URL: https://issues.apache.org/jira/browse/GEODE-1413
> Project: Geode
>  Issue Type: Bug
>  Components: wan
>Reporter: Sai Boorlagadda
>Assignee: nabarun
>  Labels: CI
>
> {noformat}
> Error Message
> com.gemstone.gemfire.test.dunit.RMIException: While invoking 
> com.gemstone.gemfire.internal.cache.wan.parallel.ParallelGatewaySenderOperationsDUnitTest$$Lambda$1041/2063794856.run
>  in VM 4 running on Host zambia.gemstone.com with 8 VMs
> Stacktrace
> com.gemstone.gemfire.test.dunit.RMIException: While invoking 
> com.gemstone.gemfire.internal.cache.wan.parallel.ParallelGatewaySenderOperationsDUnitTest$$Lambda$1041/2063794856.run
>  in VM 4 running on Host zambia.gemstone.com with 8 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:293)
>   at 
> com.gemstone.gemfire.internal.cache.wan.parallel.ParallelGatewaySenderOperationsDUnitTest.testParallelPropagationSenderStartAfterStop_Scenario2(ParallelGatewaySenderOperationsDUnitTest.java:358)
>   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:112)
>   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:66)
>   at 
> org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
>   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:109)
>   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 
> 

[jira] [Resolved] (GEODE-1389) CI Failure: LuceneIndexRecoveryHAIntegrationTest.overflowRegionIndex

2016-05-24 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith resolved GEODE-1389.
--
Resolution: Fixed

> CI Failure: LuceneIndexRecoveryHAIntegrationTest.overflowRegionIndex
> 
>
> Key: GEODE-1389
> URL: https://issues.apache.org/jira/browse/GEODE-1389
> Project: Geode
>  Issue Type: Bug
>  Components: lucene
>Reporter: Barry Oglesby
>
> CI Failure: LuceneIndexRecoveryHAIntegrationTest.overflowRegionIndex
> Geode_develop_IntegrationTests
> Private Build #2701 (May 10, 2016 11:09:00 AM)
> Revision: f93c87f13b4bf1bda67d994587d1299163694772
> Error Message
> {noformat}
> java.lang.IllegalStateException: The region "/__PR/_B__indexedRegion_69" has 
> been persisted to disk so it can not be recreated on the same disk store 
> without persistence. Either destroy the persistent region, recreate it as 
> overflow and persistent, or create the overflow only region on a different 
> disk store.
> {noformat}
> Stacktrace
> {noformat}
> java.lang.IllegalStateException: The region "/__PR/_B__indexedRegion_69" has 
> been persisted to disk so it can not be recreated on the same disk store 
> without persistence. Either destroy the persistent region, recreate it as 
> overflow and persistent, or create the overflow only region on a different 
> disk store.
>   at 
> com.gemstone.gemfire.internal.cache.DiskRegion.(DiskRegion.java:103)
>   at 
> com.gemstone.gemfire.internal.cache.DiskInitFile.createDiskRegion(DiskInitFile.java:971)
>   at 
> com.gemstone.gemfire.internal.cache.DiskRegion.create(DiskRegion.java:202)
>   at 
> com.gemstone.gemfire.internal.cache.LocalRegion.createDiskRegion(LocalRegion.java:8244)
>   at 
> com.gemstone.gemfire.internal.cache.LocalRegion.(LocalRegion.java:636)
>   at 
> com.gemstone.gemfire.internal.cache.DistributedRegion.(DistributedRegion.java:202)
>   at 
> com.gemstone.gemfire.internal.cache.BucketRegion.(BucketRegion.java:231)
>   at 
> com.gemstone.gemfire.internal.cache.LocalRegion.createSubregion(LocalRegion.java:968)
>   at 
> com.gemstone.gemfire.internal.cache.PartitionedRegionDataStore.createBucketRegion(PartitionedRegionDataStore.java:816)
>   at 
> com.gemstone.gemfire.internal.cache.PartitionedRegionDataStore.grabFreeBucket(PartitionedRegionDataStore.java:492)
>   at 
> com.gemstone.gemfire.internal.cache.PartitionedRegionDataStore.grabBucket(PartitionedRegionDataStore.java:3033)
>   at 
> com.gemstone.gemfire.internal.cache.PartitionedRegionDataStore.handleManageBucketRequest(PartitionedRegionDataStore.java:1084)
>   at 
> com.gemstone.gemfire.internal.cache.PRHARedundancyProvider.createBucketOnMember(PRHARedundancyProvider.java:1266)
>   at 
> com.gemstone.gemfire.internal.cache.PRHARedundancyProvider.createBucketInstance(PRHARedundancyProvider.java:422)
>   at 
> com.gemstone.gemfire.internal.cache.PRHARedundancyProvider.createBucketAtomically(PRHARedundancyProvider.java:614)
>   at 
> com.gemstone.gemfire.internal.cache.PartitionedRegion.createBucket(PartitionedRegion.java:3464)
>   at 
> com.gemstone.gemfire.internal.cache.PartitionedRegion.virtualPut(PartitionedRegion.java:2074)
>   at 
> com.gemstone.gemfire.internal.cache.LocalRegionDataView.putEntry(LocalRegionDataView.java:132)
>   at 
> com.gemstone.gemfire.internal.cache.LocalRegion.basicPut(LocalRegion.java:5409)
>   at 
> com.gemstone.gemfire.internal.cache.LocalRegion.validatedPut(LocalRegion.java:1702)
>   at 
> com.gemstone.gemfire.internal.cache.LocalRegion.put(LocalRegion.java:1682)
>   at 
> com.gemstone.gemfire.internal.cache.AbstractRegion.put(AbstractRegion.java:332)
>   at 
> com.gemstone.gemfire.cache.lucene.internal.LuceneIndexRecoveryHAIntegrationTest.overflowRegionIndex(LuceneIndexRecoveryHAIntegrationTest.java:187)
>   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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
>   at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>   at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
>   at 
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
>   at 
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
>   at 
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
>   at 

[jira] [Resolved] (GEODE-1388) CI Failure: LuceneIndexRecoveryHAIntegrationTest.recoverPersistentIndex

2016-05-24 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith resolved GEODE-1388.
--
Resolution: Fixed

> CI Failure: LuceneIndexRecoveryHAIntegrationTest.recoverPersistentIndex
> ---
>
> Key: GEODE-1388
> URL: https://issues.apache.org/jira/browse/GEODE-1388
> Project: Geode
>  Issue Type: Bug
>  Components: lucene
>Reporter: Barry Oglesby
>
> Geode_develop_IntegrationTests
> Private Build #2701 (May 10, 2016 11:09:00 AM)
> Revision: f93c87f13b4bf1bda67d994587d1299163694772
> Error Message
> {noformat}
> com.jayway.awaitility.core.ConditionTimeoutException: Condition defined as a 
> lambda expression in 
> com.gemstone.gemfire.cache.lucene.internal.LuceneIndexRecoveryHAIntegrationTest
>  that uses com.gemstone.gemfire.cache.asyncqueue.AsyncEventQueue expected:<0> 
> but was:<2> within 1000 milliseconds.
> {noformat}
> Stacktrace
> {noformat}
> com.jayway.awaitility.core.ConditionTimeoutException: Condition defined as a 
> lambda expression in 
> com.gemstone.gemfire.cache.lucene.internal.LuceneIndexRecoveryHAIntegrationTest
>  that uses com.gemstone.gemfire.cache.asyncqueue.AsyncEventQueue expected:<0> 
> but was:<2> within 1000 milliseconds.
>   at 
> com.jayway.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:122)
>   at 
> com.jayway.awaitility.core.AssertionCondition.await(AssertionCondition.java:117)
>   at 
> com.jayway.awaitility.core.AssertionCondition.await(AssertionCondition.java:32)
>   at 
> com.jayway.awaitility.core.ConditionFactory.until(ConditionFactory.java:764)
>   at 
> com.jayway.awaitility.core.ConditionFactory.until(ConditionFactory.java:603)
>   at 
> com.gemstone.gemfire.cache.lucene.internal.LuceneIndexRecoveryHAIntegrationTest.waitUntilQueueEmpty(LuceneIndexRecoveryHAIntegrationTest.java:209)
>   at 
> com.gemstone.gemfire.cache.lucene.internal.LuceneIndexRecoveryHAIntegrationTest.recoverPersistentIndex(LuceneIndexRecoveryHAIntegrationTest.java:142)
>   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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
>   at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>   at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
>   at 
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
>   at 
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
>   at 
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
>   at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
>   at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>   at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
>   at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
>   at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
>   at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
>   at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:112)
>   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:66)
>   at 
> org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
>   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 
> 

[jira] [Resolved] (GEODE-1352) CI failure: LuceneQueryImplJUnitTest.test

2016-05-19 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith resolved GEODE-1352.
--
Resolution: Fixed

> CI failure: LuceneQueryImplJUnitTest.test
> -
>
> Key: GEODE-1352
> URL: https://issues.apache.org/jira/browse/GEODE-1352
> Project: Geode
>  Issue Type: Bug
>  Components: lucene
>Reporter: Hitesh Khamesra
>  Labels: ci
>
> https://brazil.gemstone.com:8080//job/Geode_develop_IntegrationTests/2618/testReport/com.gemstone.gemfire.cache.lucene.internal/LuceneQueryImplJUnitTest/test
> Error Message
> com.gemstone.gemfire.cache.RegionExistsException: /region
> Stacktrace
> com.gemstone.gemfire.cache.RegionExistsException: /region
>   at 
> com.gemstone.gemfire.internal.cache.GemFireCacheImpl.createVMRegion(GemFireCacheImpl.java:3105)
>   at 
> com.gemstone.gemfire.internal.cache.GemFireCacheImpl.basicCreateRegion(GemFireCacheImpl.java:3057)
>   at 
> com.gemstone.gemfire.internal.cache.GemFireCacheImpl.createRegion(GemFireCacheImpl.java:3046)
>   at 
> com.gemstone.gemfire.cache.RegionFactory.create(RegionFactory.java:823)
>   at 
> com.gemstone.gemfire.cache.lucene.internal.LuceneQueryImplJUnitTest.createCache(LuceneQueryImplJUnitTest.java:57)
>   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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
>   at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>   at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
>   at 
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
>   at 
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
>   at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
>   at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>   at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
>   at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
>   at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
>   at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
>   at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:112)
>   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:66)
>   at 
> org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
>   at sun.reflect.GeneratedMethodAccessor49.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:109)
>   at sun.reflect.GeneratedMethodAccessor48.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 
> 

[jira] [Resolved] (GEODE-1012) CI Failure: LuceneIndexRecoveryHAJUnitTest.recoverPersistentIndex

2016-05-18 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith resolved GEODE-1012.
--
Resolution: Fixed

> CI Failure: LuceneIndexRecoveryHAJUnitTest.recoverPersistentIndex
> -
>
> Key: GEODE-1012
> URL: https://issues.apache.org/jira/browse/GEODE-1012
> Project: Geode
>  Issue Type: Bug
>Reporter: Dan Smith
>Assignee: Dan Smith
>  Labels: CI, Flaky
>
> {noformat}
> java.lang.AssertionError: expected:<3> but was:<0>
>   at org.junit.Assert.fail(Assert.java:88)
>   at org.junit.Assert.failNotEquals(Assert.java:834)
>   at org.junit.Assert.assertEquals(Assert.java:645)
>   at org.junit.Assert.assertEquals(Assert.java:631)
>   at 
> com.gemstone.gemfire.cache.lucene.internal.LuceneIndexRecoveryHAJUnitTest.recoverPersistentIndex(LuceneIndexRecoveryHAJUnitTest.java:141)
>   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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
>   at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>   at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
>   at 
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
>   at 
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
>   at 
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
>   at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
>   at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>   at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
>   at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
>   at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
>   at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
>   at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>   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 
> 

[jira] [Commented] (GEODE-1410) Fix artifacts published for modules

2016-05-18 Thread Dan Smith (JIRA)

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

Dan Smith commented on GEODE-1410:
--

Is the intention with the two jars to split this into a public API jar and an 
implementation jar? It seems like it might make sense for that to be two 
separate submodules.

> Fix artifacts published for modules
> ---
>
> Key: GEODE-1410
> URL: https://issues.apache.org/jira/browse/GEODE-1410
> Project: Geode
>  Issue Type: Bug
>  Components: http session
>Reporter: Jens Deppe
>
> Currently, the :extensions/geode-modules-session subproject produces 2 jars, 
> one of which is classified as 'internal'. This is because maven poms can only 
> have a single artifact (implicitly) classified as 'jar'. 
> We should try and produce a separate pom for the 'internal' jar - preferrably 
> without having to break up the submodule into 2 submodules.



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


[jira] [Commented] (GEODE-1410) Fix artifacts published for modules

2016-05-18 Thread Dan Smith (JIRA)

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

Dan Smith commented on GEODE-1410:
--

Is the intention with the two jars to split this into a public API jar and an 
implementation jar? It seems like it might make sense for that to be two 
separate submodules.

> Fix artifacts published for modules
> ---
>
> Key: GEODE-1410
> URL: https://issues.apache.org/jira/browse/GEODE-1410
> Project: Geode
>  Issue Type: Bug
>  Components: http session
>Reporter: Jens Deppe
>
> Currently, the :extensions/geode-modules-session subproject produces 2 jars, 
> one of which is classified as 'internal'. This is because maven poms can only 
> have a single artifact (implicitly) classified as 'jar'. 
> We should try and produce a separate pom for the 'internal' jar - preferrably 
> without having to break up the submodule into 2 submodules.



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


[jira] [Updated] (GEODE-1378) checkMissedTests launches dunit VMs, takes time

2016-05-18 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith updated GEODE-1378:
-
Fix Version/s: 1.0.0-incubating.M3

> checkMissedTests launches dunit VMs, takes time
> ---
>
> Key: GEODE-1378
> URL: https://issues.apache.org/jira/browse/GEODE-1378
> Project: Geode
>  Issue Type: Bug
>  Components: build, tests
>Reporter: Dan Smith
>Assignee: Dan Smith
> Fix For: 1.0.0-incubating.M3
>
>
> The checkMissedTests target actually triggers the launch of dunit VMs, even 
> though no tests are run (normally).
> I think this has to do with how the dunit framework is written and how we are 
> using categories.
> For junit 4 tests, we are launching the dunit framework from a BeforeClass in 
> JUnit4DistributedTest method. For unit 3 tests, we launch the dunit framework 
> from with the constructor of Junt3DistributedTests.
> I think junit is calling one of these things (probably the junit 3 
> contructor) when it is determining the categories of the tests. That's 
> causing the checkMissedTests target to launch all of the dunit VMs even 
> though it doesn't run the tests.



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


[jira] [Updated] (GEODE-357) CI Failure: HAStartupAndFailoverDUnitTest.testInitiateFailoverByCacheOperationThreads_Secondary fails intermittently

2016-05-18 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith updated GEODE-357:

Fix Version/s: 1.0.0-incubating.M3

> CI Failure: 
> HAStartupAndFailoverDUnitTest.testInitiateFailoverByCacheOperationThreads_Secondary
>  fails intermittently
> 
>
> Key: GEODE-357
> URL: https://issues.apache.org/jira/browse/GEODE-357
> Project: Geode
>  Issue Type: Bug
>Reporter: Darrel Schneider
>Assignee: Anilkumar Gingade
>Priority: Minor
>  Labels: CI, Flaky
> Fix For: 1.0.0-incubating.M3
>
>
> Failed on a private build.
> git rev: 4708d4e182f89c6a391fcad8bac854f929717685
> {code}
> junit.framework.AssertionFailedError: Event never occurred after 6 ms: 
> null
>   at junit.framework.Assert.fail(Assert.java:57)
>   at junit.framework.TestCase.fail(TestCase.java:227)
>   at 
> dunit.DistributedTestCase.waitForCriterion(DistributedTestCase.java:1162)
>   at 
> com.gemstone.gemfire.internal.cache.tier.sockets.HAStartupAndFailoverDUnitTest.verifyDeadAndLiveServers(HAStartupAndFailoverDUnitTest.java:341)
>   at 
> com.gemstone.gemfire.internal.cache.tier.sockets.HAStartupAndFailoverDUnitTest.testInitiateFailoverByCacheOperationThreads_Secondary(HAStartupAndFailoverDUnitTest.java:288)
> {code}



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


[jira] [Resolved] (GEODE-1378) checkMissedTests launches dunit VMs, takes time

2016-05-18 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith resolved GEODE-1378.
--
Resolution: Fixed

> checkMissedTests launches dunit VMs, takes time
> ---
>
> Key: GEODE-1378
> URL: https://issues.apache.org/jira/browse/GEODE-1378
> Project: Geode
>  Issue Type: Bug
>  Components: build, tests
>Reporter: Dan Smith
>Assignee: Dan Smith
>
> The checkMissedTests target actually triggers the launch of dunit VMs, even 
> though no tests are run (normally).
> I think this has to do with how the dunit framework is written and how we are 
> using categories.
> For junit 4 tests, we are launching the dunit framework from a BeforeClass in 
> JUnit4DistributedTest method. For unit 3 tests, we launch the dunit framework 
> from with the constructor of Junt3DistributedTests.
> I think junit is calling one of these things (probably the junit 3 
> contructor) when it is determining the categories of the tests. That's 
> causing the checkMissedTests target to launch all of the dunit VMs even 
> though it doesn't run the tests.



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


[jira] [Resolved] (GEODE-357) CI Failure: HAStartupAndFailoverDUnitTest.testInitiateFailoverByCacheOperationThreads_Secondary fails intermittently

2016-05-18 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith resolved GEODE-357.
-

> CI Failure: 
> HAStartupAndFailoverDUnitTest.testInitiateFailoverByCacheOperationThreads_Secondary
>  fails intermittently
> 
>
> Key: GEODE-357
> URL: https://issues.apache.org/jira/browse/GEODE-357
> Project: Geode
>  Issue Type: Bug
>Reporter: Darrel Schneider
>Assignee: Anilkumar Gingade
>Priority: Minor
>  Labels: CI, Flaky
>
> Failed on a private build.
> git rev: 4708d4e182f89c6a391fcad8bac854f929717685
> {code}
> junit.framework.AssertionFailedError: Event never occurred after 6 ms: 
> null
>   at junit.framework.Assert.fail(Assert.java:57)
>   at junit.framework.TestCase.fail(TestCase.java:227)
>   at 
> dunit.DistributedTestCase.waitForCriterion(DistributedTestCase.java:1162)
>   at 
> com.gemstone.gemfire.internal.cache.tier.sockets.HAStartupAndFailoverDUnitTest.verifyDeadAndLiveServers(HAStartupAndFailoverDUnitTest.java:341)
>   at 
> com.gemstone.gemfire.internal.cache.tier.sockets.HAStartupAndFailoverDUnitTest.testInitiateFailoverByCacheOperationThreads_Secondary(HAStartupAndFailoverDUnitTest.java:288)
> {code}



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


[jira] [Commented] (GEODE-1378) checkMissedTests launches dunit VMs, takes time

2016-05-17 Thread Dan Smith (JIRA)

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

Dan Smith commented on GEODE-1378:
--

I have some changes to fix this, but I'm still seeing checkMissedTests take 
some time on the core. I dumped some stacks, and it looks like now it's 
spending time redefining classes with powermock. I'm not sure if there is much 
we can go about this, other than stop using powermock.

{noformat}
"Test worker" #10 prio=5 os_prio=0 tid=0x7f6904da5000 nid=0x1fd3d runnable 
[0x7f68ebbab000]
   java.lang.Thread.State: RUNNABLE
at 
javassist.compiler.MemberResolver.lookupClass(MemberResolver.java:397)
at 
javassist.compiler.MemberResolver.lookupField(MemberResolver.java:306)
at javassist.compiler.MemberCodeGen.fieldAccess(MemberCodeGen.java:1053)
at javassist.compiler.MemberCodeGen.atFieldRead(MemberCodeGen.java:867)
at javassist.compiler.CodeGen.atExpr(CodeGen.java:1495)
at javassist.compiler.ast.Expr.accept(Expr.java:68)
at javassist.compiler.CodeGen.compileOprands(CodeGen.java:1201)
at javassist.compiler.CodeGen.booleanExpr(CodeGen.java:1125)
at javassist.compiler.CodeGen.compileBooleanExpr(CodeGen.java:237)
at javassist.compiler.CodeGen.atIfStmnt(CodeGen.java:384)
at javassist.compiler.CodeGen.atStmnt(CodeGen.java:355)
at javassist.compiler.ast.Stmnt.accept(Stmnt.java:50)
at javassist.compiler.CodeGen.atStmnt(CodeGen.java:351)
at javassist.compiler.ast.Stmnt.accept(Stmnt.java:50)
at javassist.compiler.Javac.compileStmnt(Javac.java:569)
at javassist.expr.FieldAccess.replace(FieldAccess.java:212)
at 
org.powermock.core.transformers.impl.MainMockTransformer$PowerMockExpressionEditor.edit(MainMockTransformer.java:265)
at javassist.expr.ExprEditor.loopBody(ExprEditor.java:198)
at javassist.expr.ExprEditor.doit(ExprEditor.java:91)
at javassist.CtClassType.instrument(CtClassType.java:1437)
at 
org.powermock.core.transformers.impl.MainMockTransformer.transform(MainMockTransformer.java:74)
at 
org.powermock.core.classloader.MockClassLoader.loadMockClass(MockClassLoader.java:252)
at 
org.powermock.core.classloader.MockClassLoader.loadModifiedClass(MockClassLoader.java:180)
at 
org.powermock.core.classloader.DeferSupportingClassLoader.loadClass(DeferSupportingClassLoader.java:70)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at 
sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:114)
at 
sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:125)
at 
sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:49)
at 
sun.reflect.annotation.AnnotationParser.parseSig(AnnotationParser.java:439)
at 
sun.reflect.annotation.AnnotationParser.parseClassValue(AnnotationParser.java:420)
at 
sun.reflect.annotation.AnnotationParser.parseClassArray(AnnotationParser.java:724)
at 
sun.reflect.annotation.AnnotationParser.parseArray(AnnotationParser.java:531)
at 
sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:355)
at 
sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:286)
at 
sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:120)
at 
sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:72)
at java.lang.Class.createAnnotationData(Class.java:3521)
at java.lang.Class.annotationData(Class.java:3510)
at java.lang.Class.getAnnotation(Class.java:3415)
at 
org.junit.internal.MethodSorter.getDeclaredMethods(MethodSorter.java:52)
at 
org.junit.internal.runners.TestClass.getAnnotatedMethods(TestClass.java:45)
at 
org.junit.internal.runners.MethodValidator.validateTestMethods(MethodValidator.java:71)
at 
org.junit.internal.runners.MethodValidator.validateStaticMethods(MethodValidator.java:44)
at 
org.junit.internal.runners.MethodValidator.validateMethodsForDefaultRunner(MethodValidator.java:50)
at 
org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.validate(PowerMockJUnit44RunnerDelegateImpl.java:108)
at 
org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.(PowerMockJUnit44RunnerDelegateImpl.java:70)
at 
org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl.(PowerMockJUnit47RunnerDelegateImpl.java:42)
at 
org.powermock.modules.junit4.internal.impl.PowerMockJUnit49RunnerDelegateImpl.(PowerMockJUnit49RunnerDelegateImpl.java:25)
at 

[jira] [Resolved] (GEODE-1405) CI Failure: LuceneIndexCreationIntegrationTest.shouldRecoverPersistentIndexWhenDataStillInQueue

2016-05-17 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith resolved GEODE-1405.
--
Resolution: Fixed

> CI Failure: 
> LuceneIndexCreationIntegrationTest.shouldRecoverPersistentIndexWhenDataStillInQueue
> ---
>
> Key: GEODE-1405
> URL: https://issues.apache.org/jira/browse/GEODE-1405
> Project: Geode
>  Issue Type: Bug
>  Components: lucene
>Reporter: Sai Boorlagadda
>  Labels: ci
>
> {noformat}
> Error Message
> java.lang.NullPointerException
> Stacktrace
> java.lang.NullPointerException
>   at 
> com.gemstone.gemfire.cache.lucene.LuceneIndexCreationIntegrationTest.verifyIndexFinishFlushing(LuceneIndexCreationIntegrationTest.java:199)
>   at 
> com.gemstone.gemfire.cache.lucene.LuceneIndexCreationIntegrationTest.shouldRecoverPersistentIndexWhenDataStillInQueue(LuceneIndexCreationIntegrationTest.java:188)
>   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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
>   at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>   at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
>   at 
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
>   at 
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
>   at 
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
>   at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
>   at org.junit.rules.RunRules.evaluate(RunRules.java:20)
>   at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
>   at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>   at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
>   at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
>   at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
>   at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
>   at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:112)
>   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:66)
>   at 
> org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
>   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:109)
>   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 
> 

[jira] [Commented] (GEODE-919) Remove checksums from .asc files (asc.md5, asc.sha1)

2016-05-17 Thread Dan Smith (JIRA)

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

Dan Smith commented on GEODE-919:
-

There is some more detail on the uploadArchives task on this page:

https://cwiki.apache.org/confluence/display/GEODE/Release+Steps

In order to write to a local dir your need to modify the repositoryUrl 
gradle/publish.gradle to file:///tmp/your_repo and remove SNAPSHOT from the 
version in gradle.properties.

> Remove checksums from .asc files (asc.md5, asc.sha1)
> 
>
> Key: GEODE-919
> URL: https://issues.apache.org/jira/browse/GEODE-919
> Project: Geode
>  Issue Type: Sub-task
>  Components: build
>Reporter: Dan Smith
>Assignee: Bruce Schuchardt
> Fix For: 1.0.0-incubating.M3
>
>




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


[jira] [Comment Edited] (GEODE-430) CI failure: UpdatePropagationDUnitTest.testVerifyUpdatesReceivedByOtherClients

2016-05-13 Thread Dan Smith (JIRA)

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

Dan Smith edited comment on GEODE-430 at 5/13/16 11:02 PM:
---

Hmm, no apache email. This was fixed in 
884cf13b0ccace80d15ca11bcc3162f5169bdf73.


was (Author: upthewaterspout):
Hmm, not apache email. This was fixed in 
884cf13b0ccace80d15ca11bcc3162f5169bdf73.

> CI failure: UpdatePropagationDUnitTest.testVerifyUpdatesReceivedByOtherClients
> --
>
> Key: GEODE-430
> URL: https://issues.apache.org/jira/browse/GEODE-430
> Project: Geode
>  Issue Type: Bug
>  Components: client queues
>Reporter: Kirk Lund
>Assignee: Dan Smith
>  Labels: CI, Flaky
> Fix For: 1.0.0-incubating.M3
>
>
> {noformat}
> dunit.RMIException: While invoking 
> com.gemstone.gemfire.internal.cache.tier.sockets.UpdatePropagationDUnitTest.acquireConnectionsAndPutonK1andK2
>  in VM 2 running on Host angola.gemstone.com with 4 VMs
>   at dunit.VM.invoke(VM.java:161)
>   at 
> com.gemstone.gemfire.internal.cache.tier.sockets.UpdatePropagationDUnitTest.testVerifyUpdatesReceivedByOtherClients(UpdatePropagationDUnitTest.java:369)
>   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:86)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:49)
>   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.GeneratedMethodAccessor170.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.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.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:360)
>   at 
> org.gradle.internal.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:64)
>   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: junit.framework.AssertionFailedError: while setting 
> acquireConnections  
> com.gemstone.gemfire.cache.client.ServerConnectivityException: Pool 
> unexpected closed socket on server connection=Pooled Connection to 
> angola.gemstone.com:24028: Connection[DESTROYED]). Server unreachable: could 
> not connect after 1 attempts
>   at junit.framework.Assert.fail(Assert.java:57)
>   at junit.framework.TestCase.fail(TestCase.java:227)
>   at 
> 

[jira] [Commented] (GEODE-430) CI failure: UpdatePropagationDUnitTest.testVerifyUpdatesReceivedByOtherClients

2016-05-13 Thread Dan Smith (JIRA)

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

Dan Smith commented on GEODE-430:
-

Hmm, not apache email. This was fixed in 
884cf13b0ccace80d15ca11bcc3162f5169bdf73.

> CI failure: UpdatePropagationDUnitTest.testVerifyUpdatesReceivedByOtherClients
> --
>
> Key: GEODE-430
> URL: https://issues.apache.org/jira/browse/GEODE-430
> Project: Geode
>  Issue Type: Bug
>  Components: client queues
>Reporter: Kirk Lund
>Assignee: Dan Smith
>  Labels: CI, Flaky
> Fix For: 1.0.0-incubating.M3
>
>
> {noformat}
> dunit.RMIException: While invoking 
> com.gemstone.gemfire.internal.cache.tier.sockets.UpdatePropagationDUnitTest.acquireConnectionsAndPutonK1andK2
>  in VM 2 running on Host angola.gemstone.com with 4 VMs
>   at dunit.VM.invoke(VM.java:161)
>   at 
> com.gemstone.gemfire.internal.cache.tier.sockets.UpdatePropagationDUnitTest.testVerifyUpdatesReceivedByOtherClients(UpdatePropagationDUnitTest.java:369)
>   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:86)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:49)
>   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.GeneratedMethodAccessor170.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.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.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:360)
>   at 
> org.gradle.internal.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:64)
>   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: junit.framework.AssertionFailedError: while setting 
> acquireConnections  
> com.gemstone.gemfire.cache.client.ServerConnectivityException: Pool 
> unexpected closed socket on server connection=Pooled Connection to 
> angola.gemstone.com:24028: Connection[DESTROYED]). Server unreachable: could 
> not connect after 1 attempts
>   at junit.framework.Assert.fail(Assert.java:57)
>   at junit.framework.TestCase.fail(TestCase.java:227)
>   at 
> com.gemstone.gemfire.internal.cache.tier.sockets.UpdatePropagationDUnitTest.acquireConnectionsAndPutonK1andK2(UpdatePropagationDUnitTest.java:398)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> 

[jira] [Updated] (GEODE-430) CI failure: UpdatePropagationDUnitTest.testVerifyUpdatesReceivedByOtherClients

2016-05-13 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith updated GEODE-430:

Fix Version/s: (was: 1.0.0-incubating.M1)
   1.0.0-incubating.M3

> CI failure: UpdatePropagationDUnitTest.testVerifyUpdatesReceivedByOtherClients
> --
>
> Key: GEODE-430
> URL: https://issues.apache.org/jira/browse/GEODE-430
> Project: Geode
>  Issue Type: Bug
>  Components: client queues
>Reporter: Kirk Lund
>Assignee: Dan Smith
>  Labels: CI, Flaky
> Fix For: 1.0.0-incubating.M3
>
>
> {noformat}
> dunit.RMIException: While invoking 
> com.gemstone.gemfire.internal.cache.tier.sockets.UpdatePropagationDUnitTest.acquireConnectionsAndPutonK1andK2
>  in VM 2 running on Host angola.gemstone.com with 4 VMs
>   at dunit.VM.invoke(VM.java:161)
>   at 
> com.gemstone.gemfire.internal.cache.tier.sockets.UpdatePropagationDUnitTest.testVerifyUpdatesReceivedByOtherClients(UpdatePropagationDUnitTest.java:369)
>   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:86)
>   at 
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:49)
>   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.GeneratedMethodAccessor170.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.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.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:360)
>   at 
> org.gradle.internal.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:64)
>   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: junit.framework.AssertionFailedError: while setting 
> acquireConnections  
> com.gemstone.gemfire.cache.client.ServerConnectivityException: Pool 
> unexpected closed socket on server connection=Pooled Connection to 
> angola.gemstone.com:24028: Connection[DESTROYED]). Server unreachable: could 
> not connect after 1 attempts
>   at junit.framework.Assert.fail(Assert.java:57)
>   at junit.framework.TestCase.fail(TestCase.java:227)
>   at 
> com.gemstone.gemfire.internal.cache.tier.sockets.UpdatePropagationDUnitTest.acquireConnectionsAndPutonK1andK2(UpdatePropagationDUnitTest.java:398)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> 

[jira] [Created] (GEODE-1381) Support creating analyzers per field

2016-05-11 Thread Dan Smith (JIRA)
Dan Smith created GEODE-1381:


 Summary: Support creating analyzers per field
 Key: GEODE-1381
 URL: https://issues.apache.org/jira/browse/GEODE-1381
 Project: Geode
  Issue Type: Sub-task
Reporter: Dan Smith






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


[jira] [Commented] (GEODE-117) gfsh put ignores --skip-if-exists flag

2016-05-10 Thread Dan Smith (JIRA)

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

Dan Smith commented on GEODE-117:
-

[~manvsri] We just needed to add you as a contributor. You're now a contributor 
and I assigned the ticket to you, so have at it.

> gfsh put ignores --skip-if-exists flag
> --
>
> Key: GEODE-117
> URL: https://issues.apache.org/jira/browse/GEODE-117
> Project: Geode
>  Issue Type: Bug
>  Components: gfsh
>Reporter: Dan Smith
>Assignee: Srikanth Manvi
>  Labels: gfsh, starter
>
> Someone hit this on a forum post:
> https://support.pivotal.io/hc/communities/public/questions/204414098-put-in-gfsh-doesn-t-honor-skip-if-exists-true-flag-?flash_digest=f2441b8a96ac363d6da205c6f90a62035b1a3c21
> I looked into the code, and it looks like the flag gets lost somewhere along 
> the way. If you look at DataCommandFunction.put, it has a putIfAbsent flag, 
> but that flag is not used; the function just does a normal put.



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


[jira] [Updated] (GEODE-117) gfsh put ignores --skip-if-exists flag

2016-05-10 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith updated GEODE-117:

Assignee: Srikanth Manvi

> gfsh put ignores --skip-if-exists flag
> --
>
> Key: GEODE-117
> URL: https://issues.apache.org/jira/browse/GEODE-117
> Project: Geode
>  Issue Type: Bug
>  Components: gfsh
>Reporter: Dan Smith
>Assignee: Srikanth Manvi
>  Labels: gfsh, starter
>
> Someone hit this on a forum post:
> https://support.pivotal.io/hc/communities/public/questions/204414098-put-in-gfsh-doesn-t-honor-skip-if-exists-true-flag-?flash_digest=f2441b8a96ac363d6da205c6f90a62035b1a3c21
> I looked into the code, and it looks like the flag gets lost somewhere along 
> the way. If you look at DataCommandFunction.put, it has a putIfAbsent flag, 
> but that flag is not used; the function just does a normal put.



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


[jira] [Assigned] (GEODE-1378) checkMissedTests launches dunit VMs, takes time

2016-05-10 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith reassigned GEODE-1378:


Assignee: Dan Smith

> checkMissedTests launches dunit VMs, takes time
> ---
>
> Key: GEODE-1378
> URL: https://issues.apache.org/jira/browse/GEODE-1378
> Project: Geode
>  Issue Type: Bug
>  Components: build, tests
>Reporter: Dan Smith
>Assignee: Dan Smith
>
> The checkMissedTests target actually triggers the launch of dunit VMs, even 
> though no tests are run (normally).
> I think this has to do with how the dunit framework is written and how we are 
> using categories.
> For junit 4 tests, we are launching the dunit framework from a BeforeClass in 
> JUnit4DistributedTest method. For unit 3 tests, we launch the dunit framework 
> from with the constructor of Junt3DistributedTests.
> I think junit is calling one of these things (probably the junit 3 
> contructor) when it is determining the categories of the tests. That's 
> causing the checkMissedTests target to launch all of the dunit VMs even 
> though it doesn't run the tests.



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


[jira] [Commented] (GEODE-117) gfsh put ignores --skip-if-exists flag

2016-05-10 Thread Dan Smith (JIRA)

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

Dan Smith commented on GEODE-117:
-

Hi [~manvsri],

I don't think anyone is working on this issue. I unassigned Tushar, I think he 
was probably just automatically assigned. If you'd like to work on it, please 
do! 

-Dan

> gfsh put ignores --skip-if-exists flag
> --
>
> Key: GEODE-117
> URL: https://issues.apache.org/jira/browse/GEODE-117
> Project: Geode
>  Issue Type: Bug
>  Components: gfsh
>Reporter: Dan Smith
>  Labels: gfsh, starter
>
> Someone hit this on a forum post:
> https://support.pivotal.io/hc/communities/public/questions/204414098-put-in-gfsh-doesn-t-honor-skip-if-exists-true-flag-?flash_digest=f2441b8a96ac363d6da205c6f90a62035b1a3c21
> I looked into the code, and it looks like the flag gets lost somewhere along 
> the way. If you look at DataCommandFunction.put, it has a putIfAbsent flag, 
> but that flag is not used; the function just does a normal put.



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


[jira] [Updated] (GEODE-117) gfsh put ignores --skip-if-exists flag

2016-05-10 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith updated GEODE-117:

Assignee: (was: Tushar Khairnar)

> gfsh put ignores --skip-if-exists flag
> --
>
> Key: GEODE-117
> URL: https://issues.apache.org/jira/browse/GEODE-117
> Project: Geode
>  Issue Type: Bug
>  Components: gfsh
>Reporter: Dan Smith
>  Labels: gfsh, starter
>
> Someone hit this on a forum post:
> https://support.pivotal.io/hc/communities/public/questions/204414098-put-in-gfsh-doesn-t-honor-skip-if-exists-true-flag-?flash_digest=f2441b8a96ac363d6da205c6f90a62035b1a3c21
> I looked into the code, and it looks like the flag gets lost somewhere along 
> the way. If you look at DataCommandFunction.put, it has a putIfAbsent flag, 
> but that flag is not used; the function just does a normal put.



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


[jira] [Created] (GEODE-1378) checkMissedTests launches dunit VMs, takes time

2016-05-10 Thread Dan Smith (JIRA)
Dan Smith created GEODE-1378:


 Summary: checkMissedTests launches dunit VMs, takes time
 Key: GEODE-1378
 URL: https://issues.apache.org/jira/browse/GEODE-1378
 Project: Geode
  Issue Type: Bug
  Components: build, tests
Reporter: Dan Smith


The checkMissedTests target actually triggers the launch of dunit VMs, even 
though no tests are run (normally).

I think this has to do with how the dunit framework is written and how we are 
using categories.

For junit 4 tests, we are launching the dunit framework from a BeforeClass in 
JUnit4DistributedTest method. For unit 3 tests, we launch the dunit framework 
from with the constructor of Junt3DistributedTests.

I think junit is calling one of these things (probably the junit 3 contructor) 
when it is determining the categories of the tests. That's causing the 
checkMissedTests target to launch all of the dunit VMs even though it doesn't 
run the tests.



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


[jira] [Created] (GEODE-1348) Exceptions thrown from Functions are inconsistently wrapped with FunctionException

2016-05-04 Thread Dan Smith (JIRA)
Dan Smith created GEODE-1348:


 Summary: Exceptions thrown from Functions are inconsistently 
wrapped with FunctionException
 Key: GEODE-1348
 URL: https://issues.apache.org/jira/browse/GEODE-1348
 Project: Geode
  Issue Type: Bug
  Components: functions
Reporter: Dan Smith


I wrote some tests for how exceptions throw within a function are returned to 
the executor of the function.

What I'm seeing is that how the function is returned varies based on the 
topology and region type used. Specifically, in almost all cases an exception 
thrown from within a Function is wrapped in a FunctionException. But when using 
onRegion with a partitioned region from an accessor, the exception is not 
wrapped in a FunctionException but is instead thrown directly.

Exceptions should be handled consistently. Since most cases seem to wrap the 
exception in a FunctionException, the PR accessor case probably should too.



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


[jira] [Updated] (GEODE-1191) Remove some remaining hdfs references

2016-05-03 Thread Dan Smith (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-1191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith updated GEODE-1191:
-
Fix Version/s: 1.0.0-incubating.M3

> Remove some remaining hdfs references
> -
>
> Key: GEODE-1191
> URL: https://issues.apache.org/jira/browse/GEODE-1191
> Project: Geode
>  Issue Type: Task
>  Components: configuration, gfsh, jmx
>Reporter: Jens Deppe
> Fix For: 1.0.0-incubating.M3
>
>
> Remove {{hdfs-store}} element from cache-1.0.xsd
> Remove references to hdfs in CLI commands and JMX MBeans.
> This includes removing DescribeHDFSStoreFunction and HDFSRegionBridge.
> References in MemberMBeanBridge.



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


<    1   2   3   4   5   6   7   8   >