Re: update website for WAN, CQ and native client

2016-06-18 Thread theseusyang
I agree with Greg, "Multi-Cluster"  is accurated especially for
cluster-2-cluster replication in one DC site.



--
View this message in context: 
http://apache-geode-incubating-developers-forum.70738.x6.nabble.com/update-website-for-WAN-CQ-and-native-client-tp6659p6763.html
Sent from the Apache Geode (Incubating) Developers Forum mailing list archive 
at Nabble.com.


Re: Non-flaky test failures

2016-06-18 Thread Kirk Lund
I filed GEODE-1568 and disabled PreloadedRegionTestCase from being run as a
dunit test.

-Kirk


On Sat, Jun 18, 2016 at 6:17 PM, Kirk Lund  wrote:

> I took a closer look at PreloadedRegionTestCase...
>
> PreloadedRegionTestCase was only recently "enabled" to run as a test by
> the fix for GEODE-1374 (gradle changes for FlakyTests) and the fix
> for GEODE-837 (upgrading all dunit tests to JUnit4).
>
> Prior to that commit, it was not being executed as a DistributedTest. The
> python script we used for GEODE-837 auto-applied the
> "@Category(DistributedTest.class)" and then the gradle change for
> GEODE-1374 started executing classes categorized with DistributedTest even
> if the class name doesn't match *DUnitTest.
>
> PreloadedRegionTestCase was added for GemFire 3.0 but does not currently
> have any subclasses, so it may have been an unused class for an unknown
> period of time. I believe we should file a ticket to deal with this class
> (maybe turn it into a running/passing test) and annotate it with @Ignore
> until we have time to work on it.
>
> -Kirk
>
> On Fri, Jun 17, 2016 at 3:35 PM, Anthony Baker  wrote:
>
>> The most recent jenkins run [1]  had 3 failures from non-flaky tests.
>> The geode-core tests seem to reproduce pretty easily.  Have there been any
>> recent changes in this area?
>>
>>
>> :geode-core:distributedTest
>>
>> com.gemstone.gemfire.cache30.
>> PreloadedRegionTestCase
>>  > testTXNonblockingGetInitialImage FAILED
>> com.gemstone.gemfire.test.dunit.RMIException: While invoking
>> com.gemstone.gemfire.cache30.MultiVMRegionTestCase$205.runRepeatingIfNecessary
>> in VM 2 running on Host asf905.gq1.ygridcore.net with 4 VMs
>>
>> Caused by:
>> java.lang.AssertionError: expected:<1034> but was:<1198>
>>
>> com.gemstone.gemfire.cache30.PreloadedRegionTestCase >
>> testNonblockingGetInitialImage FAILED
>> com.gemstone.gemfire.test.dunit.RMIException: While invoking
>> com.gemstone.gemfire.cache30.MultiVMRegionTestCase$196.runRepeatingIfNecessary
>> in VM 2 running on Host asf905.gq1.ygridcore.net with 4 VMs
>>
>> Caused by:
>> java.lang.AssertionError: expected:<1034> but was:<1200>
>>
>> 7335 tests completed, 2 failed, 455 skipped
>>
>>
>> :geode-web:distributedTest
>>
>> com.gemstone.gemfire.management.internal.cli.commands.CommandOverHttpDUnitTest
>> >
>> com.gemstone.gemfire.management.internal.cli.commands.gemfiredatacommandsdunittest.testsimulateforentir...@com.gemstone.gemfire.management.internal.cli.commands.CommandOverHttpDUnitTest
>> FAILED
>> java.lang.AssertionError: expected: but was:
>> at org.junit.Assert.fail(Assert.java:88)
>> at org.junit.Assert.failNotEquals(Assert.java:834)
>> at org.junit.Assert.assertEquals(Assert.java:118)
>> at org.junit.Assert.assertEquals(Assert.java:144)
>> at
>> com.gemstone.gemfire.management.internal.cli.commands.GemfireDataCommandsDUnitTest.testSimulateForEntireDS(GemfireDataCommandsDUnitTest.java:1831)
>>
>> 115 tests completed, 1 failed, 3 skipped
>>
>>
>> Anthony
>>
>> [1] https://builds.apache.org/job/Geode-nightly/502/
>>
>>
>>
>


Re: Non-flaky test failures

2016-06-18 Thread Kirk Lund
I took a closer look at PreloadedRegionTestCase...

PreloadedRegionTestCase was only recently "enabled" to run as a test by the
fix for GEODE-1374 (gradle changes for FlakyTests) and the fix
for GEODE-837 (upgrading all dunit tests to JUnit4).

Prior to that commit, it was not being executed as a DistributedTest. The
python script we used for GEODE-837 auto-applied the
"@Category(DistributedTest.class)" and then the gradle change for
GEODE-1374 started executing classes categorized with DistributedTest even
if the class name doesn't match *DUnitTest.

PreloadedRegionTestCase was added for GemFire 3.0 but does not currently
have any subclasses, so it may have been an unused class for an unknown
period of time. I believe we should file a ticket to deal with this class
(maybe turn it into a running/passing test) and annotate it with @Ignore
until we have time to work on it.

-Kirk

On Fri, Jun 17, 2016 at 3:35 PM, Anthony Baker  wrote:

> The most recent jenkins run [1]  had 3 failures from non-flaky tests.  The
> geode-core tests seem to reproduce pretty easily.  Have there been any
> recent changes in this area?
>
>
> :geode-core:distributedTest
>
> com.gemstone.gemfire.cache30.
> PreloadedRegionTestCase
>  > testTXNonblockingGetInitialImage FAILED
> com.gemstone.gemfire.test.dunit.RMIException: While invoking
> com.gemstone.gemfire.cache30.MultiVMRegionTestCase$205.runRepeatingIfNecessary
> in VM 2 running on Host asf905.gq1.ygridcore.net with 4 VMs
>
> Caused by:
> java.lang.AssertionError: expected:<1034> but was:<1198>
>
> com.gemstone.gemfire.cache30.PreloadedRegionTestCase >
> testNonblockingGetInitialImage FAILED
> com.gemstone.gemfire.test.dunit.RMIException: While invoking
> com.gemstone.gemfire.cache30.MultiVMRegionTestCase$196.runRepeatingIfNecessary
> in VM 2 running on Host asf905.gq1.ygridcore.net with 4 VMs
>
> Caused by:
> java.lang.AssertionError: expected:<1034> but was:<1200>
>
> 7335 tests completed, 2 failed, 455 skipped
>
>
> :geode-web:distributedTest
>
> com.gemstone.gemfire.management.internal.cli.commands.CommandOverHttpDUnitTest
> >
> com.gemstone.gemfire.management.internal.cli.commands.gemfiredatacommandsdunittest.testsimulateforentir...@com.gemstone.gemfire.management.internal.cli.commands.CommandOverHttpDUnitTest
> FAILED
> java.lang.AssertionError: expected: but was:
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:834)
> at org.junit.Assert.assertEquals(Assert.java:118)
> at org.junit.Assert.assertEquals(Assert.java:144)
> at
> com.gemstone.gemfire.management.internal.cli.commands.GemfireDataCommandsDUnitTest.testSimulateForEntireDS(GemfireDataCommandsDUnitTest.java:1831)
>
> 115 tests completed, 1 failed, 3 skipped
>
>
> Anthony
>
> [1] https://builds.apache.org/job/Geode-nightly/502/
>
>
>


[Spring CI] Spring Data GemFire > Nightly-ApacheGeode > #344 has FAILED

2016-06-18 Thread Spring CI

---
Spring Data GemFire > Nightly-ApacheGeode > #344 failed.
---
Scheduled
No failed tests found, a possible compilation error.

https://build.spring.io/browse/SGF-NAG-344/

-
Currently Responsible
-

No one is responsible for fixing this build.



--
Failing Jobs
--
  - Default Job (Default Stage): No tests found.




--
This message is automatically generated by Atlassian Bamboo

Re: Review Request 48889: GEODE-1493: config/gemfire.properties that is shipped with the geode distribution contains user specific info

2016-06-18 Thread Kirk Lund

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/48889/#review138428
---


Ship it!




Ship It!

- Kirk Lund


On June 17, 2016, 11:48 p.m., Sai Boorlagadda wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/48889/
> ---
> 
> (Updated June 17, 2016, 11:48 p.m.)
> 
> 
> Review request for geode and Dan Smith.
> 
> 
> Bugs: GEODE-1493
> https://issues.apache.org/jira/browse/GEODE-1493
> 
> 
> Repository: geode
> 
> 
> Description
> ---
> 
> * removed code to change default mcast address based on machine
> * Made default cluster config dir is empty
> 
> 
> Diffs
> -
> 
>   
> geode-core/src/main/java/com/gemstone/gemfire/distributed/internal/AbstractDistributionConfig.java
>  c7eca0fcc72c93a198c31133434d141c39922d44 
>   
> geode-core/src/main/java/com/gemstone/gemfire/distributed/internal/DistributionConfigImpl.java
>  b793e34ba656d1a05cb9f27d31e51c1109394698 
> 
> Diff: https://reviews.apache.org/r/48889/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Sai Boorlagadda
> 
>



Review Request 48916: GEODE-1567: fix HelpCommandsIntegrationTest failure

2016-06-18 Thread Kirk Lund

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/48916/
---

Review request for geode, Anthony Baker, Grace Meilen, Hitesh Khamesra, Jens 
Deppe, and Sai Boorlagadda.


Bugs: GEODE-1567
https://issues.apache.org/jira/browse/GEODE-1567


Repository: geode


Description
---

GEODE-1567: update golden-help-offline for HelpCommandsIntegrationTest

* update golden-help-offline.properties to match changes made for GEODE-985 and 
GEODE-1408
* restore geode.properties back to gemfire.properties in CliStrings until 
GEODE-1466 is completed
* restore GeodeRedisServer back to GemFireRedisServer in CliStrings until 
GEODE-1566 is completed
* fix typo for cacheLoader default in CreateAlterDestroyRegionCommands from 
"help" to "null"

This test is currently failing 100% in nightly build, precheckin and 
integrationTest. This change will restore it back to passing 100%.


Diffs
-

  
geode-core/src/main/java/com/gemstone/gemfire/management/internal/cli/commands/CreateAlterDestroyRegionCommands.java
 741da25 
  
geode-core/src/main/java/com/gemstone/gemfire/management/internal/cli/i18n/CliStrings.java
 d5ebe4c 
  
geode-core/src/test/java/com/gemstone/gemfire/management/internal/cli/commands/HelpCommandsIntegrationTest.java
 bbb11db 
  
geode-core/src/test/resources/com/gemstone/gemfire/management/internal/cli/commands/golden-help-offline.properties
 0cd7a07 

Diff: https://reviews.apache.org/r/48916/diff/


Testing
---

HelpCommandsIntegrationTest and precheckin (latter is still running)


Thanks,

Kirk Lund



Re: Review Request 48899: GEODE-1565: disable GemfireDataCommandsDUnitTest over HTTP

2016-06-18 Thread Kirk Lund


> On June 18, 2016, 6:11 p.m., Hitesh Khamesra wrote:
> > Ship It!

Thanks for the weekend review Hitesh!


- Kirk


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/48899/#review138422
---


On June 18, 2016, 3:03 a.m., Kirk Lund wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/48899/
> ---
> 
> (Updated June 18, 2016, 3:03 a.m.)
> 
> 
> Review request for geode, Anthony Baker, Grace Meilen, and Jinmei Liao.
> 
> 
> Bugs: GEODE-1565
> https://issues.apache.org/jira/browse/GEODE-1565
> 
> 
> Repository: geode
> 
> 
> Description
> ---
> 
> GEODE-1565: disable GemfireDataCommandsDUnitTest over HTTP
> 
> CommandOverHttpDUnitTest runs GemfireDataCommandsDUnitTest over HTTP and the 
> following tests fail:
> 
> * testRebalanceCommandForSimulateWithNoMember
> * testRebalanceCommandForSimulate
> * testRebalanceForExcludeRegionFunction
> * testRebalanceForIncludeRegionFunction
> * testSimulateForEntireDS
> 
> These tests will fail 100% in nightly build, precheckin and flakyTest until 
> GEODE-1565 is fixed.
> 
> They appear to fail due to fixing GEODE-835 (replacing geode-joptsimple with 
> jopt-simple dependency). Next step is to determine why the rebalance commands 
> fail after the change to jopt-simple and fix the problem.
> 
> 
> Diffs
> -
> 
>   
> geode-web/src/test/java/com/gemstone/gemfire/management/internal/cli/commands/CommandOverHttpDUnitTest.java
>  6cc475e 
> 
> Diff: https://reviews.apache.org/r/48899/diff/
> 
> 
> Testing
> ---
> 
> CommandOverHttpDUnitTest, CommandOverHttpDUnitTest
> 
> 
> Thanks,
> 
> Kirk Lund
> 
>



[GitHub] incubator-geode issue #161: GEODE-1549: Correct "Help" hyperlink in pulse

2016-06-18 Thread sboorlagadda
Github user sboorlagadda commented on the issue:

https://github.com/apache/incubator-geode/pull/161
  
+1


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: Review Request 48899: GEODE-1565: disable GemfireDataCommandsDUnitTest over HTTP

2016-06-18 Thread Hitesh Khamesra

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/48899/#review138422
---


Ship it!




Ship It!

- Hitesh Khamesra


On June 18, 2016, 3:03 a.m., Kirk Lund wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/48899/
> ---
> 
> (Updated June 18, 2016, 3:03 a.m.)
> 
> 
> Review request for geode, Anthony Baker, Grace Meilen, and Jinmei Liao.
> 
> 
> Bugs: GEODE-1565
> https://issues.apache.org/jira/browse/GEODE-1565
> 
> 
> Repository: geode
> 
> 
> Description
> ---
> 
> GEODE-1565: disable GemfireDataCommandsDUnitTest over HTTP
> 
> CommandOverHttpDUnitTest runs GemfireDataCommandsDUnitTest over HTTP and the 
> following tests fail:
> 
> * testRebalanceCommandForSimulateWithNoMember
> * testRebalanceCommandForSimulate
> * testRebalanceForExcludeRegionFunction
> * testRebalanceForIncludeRegionFunction
> * testSimulateForEntireDS
> 
> These tests will fail 100% in nightly build, precheckin and flakyTest until 
> GEODE-1565 is fixed.
> 
> They appear to fail due to fixing GEODE-835 (replacing geode-joptsimple with 
> jopt-simple dependency). Next step is to determine why the rebalance commands 
> fail after the change to jopt-simple and fix the problem.
> 
> 
> Diffs
> -
> 
>   
> geode-web/src/test/java/com/gemstone/gemfire/management/internal/cli/commands/CommandOverHttpDUnitTest.java
>  6cc475e 
> 
> Diff: https://reviews.apache.org/r/48899/diff/
> 
> 
> Testing
> ---
> 
> CommandOverHttpDUnitTest, CommandOverHttpDUnitTest
> 
> 
> Thanks,
> 
> Kirk Lund
> 
>



Build failed in Jenkins: Geode-nightly #503

2016-06-18 Thread Apache Jenkins Server
See 

Changes:

[agingade] GEODE-1209: Test changes, removing a sleep call which is not 
needed...

[klund] GEODE-1349: prevent 'java.lang.InternalError: MemoryPool not found'

[klund] GEODE-1559: add javadocs to OptionJFormatter

[klund] GEODE-835: remove developer name from comments

[klund] GEODE-1563: apply FlakyTest category to testExecuteFunctionOnGroups

[klund] GEODE-1551: apply FlakyTest category to testSimulateForEntireDS

[klund] GEODE-985: rebrand GFSH help for Apache Geode GEODE-1408: correct alter

[sboorlagadda] GEODE-1493: config/gemfire.properties that is shipped with the 
geode

--
[...truncated 829 lines...]
How long the region can remain in the cache without being accessed 
or updated. The default
is no expiration of this type.
Required: false
Default (if the parameter is specified without value): -1
region-time-to-live-expiration-action
Action to be taken on a region that has exceeded the TTL expiration.
Required: false
Default (if the parameter is specified without value): INVALIDATE
cache-listener
Fully qualified class name of a plug-in to be instantiated for 
receiving after-event
notification of changes to the region and its entries. Any number 
of cache listeners can be
configured.
Required: false
cache-loader
Fully qualified class name of a plug-in to be instantiated for 
receiving notification of
cache misses in the region. At most, one cache loader can be 
defined in each member for the
region. For distributed regions, a cache loader may be invoked 
remotely from other members
that have the region defined.
Required: false
Default (if the parameter is specified without value): help
cache-writer
Fully qualified class name of a plug-in to be instantiated for 
receiving before-event
notification of changes to the region and its entries. The plug-in 
may cancel the event. At
most, one cache writer can be defined in each member for the region.
Required: false
Default (if the parameter is specified without value): null]
async-event-que...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
at 
com.gemstone.gemfire.management.internal.cli.commands.HelpCommandsIntegrationTest.testOfflineHelp(HelpCommandsIntegrationTest.java:96)

3181 tests completed, 1 failed, 148 skipped
:geode-core:integrationTest FAILED
:geode-cq:assemble
:geode-cq:compileTestJavaNote: Some input files use or override a deprecated 
API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

:geode-cq:processTestResources
:geode-cq:testClasses
:geode-cq:checkMissedTests
:geode-cq:test
:geode-cq:check
:geode-cq:build
:geode-cq:distributedTest
:geode-cq:flakyTest
:geode-cq:integrationTest
:geode-json:assemble
:geode-json:compileTestJava UP-TO-DATE
:geode-json:processTestResources UP-TO-DATE
:geode-json:testClasses UP-TO-DATE
:geode-json:checkMissedTests UP-TO-DATE
:geode-json:test UP-TO-DATE
:geode-json:check
:geode-json:build
:geode-json:distributedTest UP-TO-DATE
:geode-json:flakyTest UP-TO-DATE
:geode-json:integrationTest UP-TO-DATE
:geode-junit:javadoc
:geode-junit:javadocJar
:geode-junit:sourcesJar
:geode-junit:signArchives SKIPPED
:geode-junit:assemble
:geode-junit:compileTestJava
:geode-junit:processTestResources UP-TO-DATE
:geode-junit:testClasses
:geode-junit:checkMissedTests
:geode-junit:test
:geode-junit:check
:geode-junit:build
:geode-junit:distributedTest
:geode-junit:flakyTest
:geode-junit:integrationTest
:geode-lucene:assemble
:geode-lucene:compileTestJavaNote: Some input files use or override a 
deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

:geode-lucene:processTestResources
:geode-lucene:testClasses
:geode-lucene:checkMissedTests
:geode-lucene:test
:geode-lucene:check
:geode-lucene:build
:geode-lucene:distributedTest
:geode-lucene:flakyTest
:geode-lucene:integrationTest
:geode-pulse:assemble
:geode-pulse:compileTestJavaNote: 

 uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

:geode-pulse:processTestResources
:geode-pulse:testClasses
:geode-pulse:checkMissedTests
:geode-pulse:test
:geode-pulse:check
:geode-pulse:build