[continuum] BUILD FAILURE: Commons JCS - Apache Commons (Group (shared) Maven 3 Build Definition (Java 1.6))

2014-04-02 Thread Apache Continuum
Online report : 
https://continuum-ci.apache.org/continuum/buildResult.action?buildId=28555&projectId=286

Build statistics:
  State: Failed
  Previous State: Failed
  Started at: Wed 2 Apr 2014 09:21:02 +
  Finished at: Wed 2 Apr 2014 09:24:24 +
  Total time: 3m 22s
  Build Trigger: Schedule
  Build Number: 1
  Exit code: 1
  Building machine hostname: continuum-vm
  Operating system : Linux(unknown)
  Java Home version : 
  java version "1.6.0_27"
  OpenJDK Runtime Environment (IcedTea6 1.12.6) 
(6b27-1.12.6-1ubuntu0.12.04.4)
  OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

  Builder version :
  Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 
2013-02-19 13:51:28+)
  Maven home: /opt/apache-maven-3.0.5
  Java version: 1.6.0_27, vendor: Sun Microsystems Inc.
  Java home: /usr/lib/jvm/java-6-openjdk-amd64/jre
  Default locale: en_US, platform encoding: UTF-8
  OS name: "linux", version: "3.2.0-53-generic", arch: "amd64", family: 
"unix"


SCM Changes:

Changed: tv @ Wed 2 Apr 2014 08:42:29 +
Comment: Fix some more PMD complaints
Files changed:
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/lateral/socket/tcp/LateralTCPCacheFactory.java
 ( 1583929 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/remote/http/client/RemoteHttpCacheDispatcher.java
 ( 1583929 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/remote/server/TimeoutConfigurableRMIScoketFactory.java
 ( 1583929 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/remote/server/TimeoutConfigurableRMISocketFactory.java
 (from 
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/remote/server/TimeoutConfigurableRMIScoketFactory.java:1583899)
 ( 1583929 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/engine/AbstractCacheEventQueue.java
 ( 1583929 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/engine/ElementAttributes.java
 ( 1583929 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/engine/control/CompositeCache.java
 ( 1583929 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/engine/control/CompositeCacheConfigurator.java
 ( 1583929 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/engine/control/event/ElementEventQueue.java
 ( 1583929 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/engine/memory/AbstractDoubleLinkedListMemoryCache.java
 ( 1583929 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/engine/memory/shrinking/ShrinkerThread.java
 ( 1583929 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/utils/discovery/UDPDiscoveryManager.java
 ( 1583929 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/utils/discovery/UDPDiscoveryReceiver.java
 ( 1583929 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/utils/discovery/UDPDiscoveryService.java
 ( 1583929 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/utils/props/PropertyLoader.java
 ( 1583929 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/utils/struct/SortedPreferentialArray.java
 ( 1583929 )
  
/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/remote/server/RemoteCacheServerFactoryUnitTest.java
 ( 1583929 )
  
/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/remote/server/TimeoutConfigurableRMIScoketFactoryUnitTest.java
 ( 1583929 )
  
/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/discovery/UDPDiscoveryServiceUnitTest.java
 ( 1583929 )
  
/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/discovery/UDPDiscoveryUnitTest.java
 ( 1583929 )

Changed: tv @ Wed 2 Apr 2014 08:54:16 +
Comment: Fixed a few doc issues and references to old MySQL drivers. Thanks to 
Al Forbes for the hints.
Files changed:
  /commons/proper/jcs/trunk/src/conf/remote.tomcat.xml ( 1583933 )
  /commons/proper/jcs/trunk/src/conf/tomcat.xml ( 1583933 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/jdbc/JDBCDiskCachePoolAccessFactory.java
 ( 1583933 )
  
/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/disk/jdbc/mysql/MySQLDiskCacheUnitTest.java
 ( 1583933 )
  
/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/disk/jdbc/mysql/MySQLTableOptimizerManualTester.java
 ( 1583933 )
  /commons/proper/jcs/trunk/xdocs/JDBCDiskCache.xml ( 1583933 )
  /commons/proper/jcs/trunk/xdocs/RemoteAuxCache.xml ( 1583933 )

Changed: tv @ Wed 2 Apr 2014 09:20:05 +
Comment: Fix test javadoc warnings
Files changed:
  
/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/MockCacheEventLogger.java
 ( 1583941 )
  
/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/

Re: [jcs] Attempt a 2.0 release

2014-04-02 Thread sebb
On 2 April 2014 07:42, Thomas Vandahl  wrote:
> On 01.04.14 00:06, sebb wrote:
>> Just been looking at the dependencies.
>> Some of these are obsolete, for example commons-httpclient 3.0.1
>
> What do you mean by "obsolete"?

No longer supported.

> Use 4.x? Or remove the dependency
> completely?

Depends on what the dependency is needed for.
Does it provide essential functionality?
Is it worth maintaining it going forward?

> Bye, Thomas.
>
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [jcs] Attempt a 2.0 release

2014-04-02 Thread sebb
On 2 April 2014 07:49, Thomas Vandahl  wrote:
> On 01.04.14 00:25, sebb wrote:
>> Also, there is a source tree called auxiliary-builds/jdk14.
>> Since the code now targets 1.6, I assume this is no longer needed?
>
> No. The source tree contains features (such as the JGroups cache) that
> have not made it (yet) into the main code base. I had a hard time to
> clean up the code as it was.
>
>> Note that the Maven coordinates have changed and the package names
>> have changed since 1.3.
>>
>> Effectively 2.0 is a new product, so we should be careful to ensure
>> that the API is sensible.
>> For example, no non-private mutable fields (use getter/setter instead).
>> Prefer immutable classes.
>
> Quite a few of these are performance related.

Getters are unlikely to cause much if any performance hit compared
with direct access as a decent compiler will inline them.
But even if marginally slower they offer major benefits such as
encapsulation and the possibility to improve thread-safety.

I doubt there is ever a genuine need to expose a mutable field.

> Please feel free to add
> some comments to the code where you see fit. I'll check the code and see
> what I can do.

OK, will add some TODO comments.

> Bye, Thomas.
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [jcs] Attempt a 2.0 release

2014-04-02 Thread sebb
On 2 April 2014 07:41, Thomas Vandahl  wrote:
> On 31.03.14 23:56, sebb wrote:
>> The Continuum build reports lots of test failures.
>>
>> For example:
>>
>> https://continuum-ci.apache.org/continuum/buildResult.action?buildId=28476&projectId=286
>>
>> The tests are very "noisy" when run interactively.
>> This makes it difficult to pick out the test failures.
>> Ideally tests should produce no output except on failure.
>>
>> I think the test failures need to be fixed before a release can be 
>> considered.
>
> Absolutely agree. Problem is, however, that the tests run fine here (Mac
> OS Snow Leopard) and it is difficult for me to reproduce the Continuum
> environment. Does the build run successful when you run it locally?

No, I have the same issues on WinXP.

However I assume the tests are still "noisy" on MacOS.
Once the unnecessary output is removed, can look at adding temporary
additional debug for the failing test cases in Continuum.

> Bye, Thomas.
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [jcs] Attempt a 2.0 release

2014-04-02 Thread Benedikt Ritter


Send from my mobile device

> Am 02.04.2014 um 12:19 schrieb sebb :
> 
>> On 2 April 2014 07:49, Thomas Vandahl  wrote:
>>> On 01.04.14 00:25, sebb wrote:
>>> Also, there is a source tree called auxiliary-builds/jdk14.
>>> Since the code now targets 1.6, I assume this is no longer needed?
>> 
>> No. The source tree contains features (such as the JGroups cache) that
>> have not made it (yet) into the main code base. I had a hard time to
>> clean up the code as it was.
>> 
>>> Note that the Maven coordinates have changed and the package names
>>> have changed since 1.3.
>>> 
>>> Effectively 2.0 is a new product, so we should be careful to ensure
>>> that the API is sensible.
>>> For example, no non-private mutable fields (use getter/setter instead).
>>> Prefer immutable classes.
>> 
>> Quite a few of these are performance related.
> 
> Getters are unlikely to cause much if any performance hit compared
> with direct access as a decent compiler will inline them.
> But even if marginally slower they offer major benefits such as
> encapsulation and the possibility to improve thread-safety.
> 
> I doubt there is ever a genuine need to expose a mutable field.

I agree.

> 
>> Please feel free to add
>> some comments to the code where you see fit. I'll check the code and see
>> what I can do.
> 
> OK, will add some TODO comments.
> 
>> Bye, Thomas.
>> 
>> 
>> -
>> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
>> For additional commands, e-mail: dev-h...@commons.apache.org
> 
> -
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
> 

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [jcs] Attempt a 2.0 release

2014-04-02 Thread Thomas Vandahl
On 02.04.14 12:13, sebb wrote:
> On 2 April 2014 07:42, Thomas Vandahl  wrote:
>> On 01.04.14 00:06, sebb wrote:
>>> Just been looking at the dependencies.
>>> Some of these are obsolete, for example commons-httpclient 3.0.1
>>
>> What do you mean by "obsolete"?
> 
> No longer supported.
> 
>> Use 4.x? Or remove the dependency
>> completely?
> 
> Depends on what the dependency is needed for.
> Does it provide essential functionality?
> Is it worth maintaining it going forward?
>
Well, it's used in the RemoteHttpCaches, see
org.apache.commons.jcs.auxiliary.remote.http.client.AbstractHttpClient
for example. So I understand this needs updating?

Bye, Thomas.


-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [jcs] Attempt a 2.0 release

2014-04-02 Thread Thomas Vandahl
On 02.04.14 12:23, sebb wrote:
> However I assume the tests are still "noisy" on MacOS.
> Once the unnecessary output is removed, can look at adding temporary
> additional debug for the failing test cases in Continuum.

Yes, I directed logging to a log file and removed some of the chatter.
We'll see if that helps.

Bye, Thomas.



-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



[continuum] BUILD FAILURE: Commons JCS - Apache Commons (Group (shared) Maven 3 Build Definition (Java 1.6))

2014-04-02 Thread Apache Continuum
Online report : 
https://continuum-ci.apache.org/continuum/buildResult.action?buildId=28560&projectId=286

Build statistics:
  State: Failed
  Previous State: Failed
  Started at: Wed 2 Apr 2014 11:21:06 +
  Finished at: Wed 2 Apr 2014 11:24:27 +
  Total time: 3m 21s
  Build Trigger: Schedule
  Build Number: 1
  Exit code: 1
  Building machine hostname: continuum-vm
  Operating system : Linux(unknown)
  Java Home version : 
  java version "1.6.0_27"
  OpenJDK Runtime Environment (IcedTea6 1.12.6) 
(6b27-1.12.6-1ubuntu0.12.04.4)
  OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

  Builder version :
  Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 
2013-02-19 13:51:28+)
  Maven home: /opt/apache-maven-3.0.5
  Java version: 1.6.0_27, vendor: Sun Microsystems Inc.
  Java home: /usr/lib/jvm/java-6-openjdk-amd64/jre
  Default locale: en_US, platform encoding: UTF-8
  OS name: "linux", version: "3.2.0-53-generic", arch: "amd64", family: 
"unix"


SCM Changes:

Changed: tv @ Wed 2 Apr 2014 10:35:27 +
Comment: Made tests less chatty
Files changed:
  
/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/JCSConcurrentCacheAccessUnitTest.java
 ( 1583955 )
  
/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/disk/block/BlockDiskCacheUnitTest.java
 ( 1583955 )
  
/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/disk/block/BlockDiskUnitTest.java
 ( 1583955 )
  
/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/disk/indexed/IndexDiskCacheUnitTest.java
 ( 1583955 )
  
/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/lateral/socket/tcp/LateralTCPIssueRemoveOnPutUnitTest.java
 ( 1583955 )
  
/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/remote/server/RemoteCacheServerFactoryUnitTest.java
 ( 1583955 )
  
/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/struct/SortedPrefArrayUnitTest.java
 ( 1583955 )
  /commons/proper/jcs/trunk/src/test-conf/log4j.properties ( 1583955 )

Changed: tv @ Wed 2 Apr 2014 10:36:05 +
Comment: Fix property setter
Files changed:
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/AbstractDiskCacheAttributes.java
 ( 1583957 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/utils/config/PropertySetter.java
 ( 1583957 )


Dependencies Changes:

No dependencies changed



Build Definition:

POM filename: pom.xml
Goals: clean deploy   
Arguments: --batch-mode -Pjava-1.6 -Dgpg.skip -Prelease
Build Fresh: false
Always Build: false
Default Build Definition: true
Schedule: COMMONS_SCHEDULE
Profile Name: Maven 3.0.5
Description: Group (shared) Maven 3 Build Definition (Java 1.6)


Test Summary:

Tests: 396
Failures: 6
Errors: 0
Success Rate: 98
Total time: 148.33603


Test Failures:


BasicRemoteCacheClientServerUnitTest
testSinglePut :
  junit.framework.AssertionFailedError
  junit.framework.AssertionFailedError: Wrong number of puts expected:<1> but 
was:<0>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:282)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:201)
at 
org.apache.commons.jcs.auxiliary.remote.server.BasicRemoteCacheClientServerUnitTest.testSinglePut(BasicRemoteCacheClientServerUnitTest.java:94)


testPutRemove :
  junit.framework.AssertionFailedError
  junit.framework.AssertionFailedError: Wrong number of puts expected:<1> but 
was:<0>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:282)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:201)
at 
org.apache.commons.jcs.auxiliary.remote.server.BasicRemoteCacheClientServerUnitTest.testPutRemove(BasicRemoteCacheClientServerUnitTest.java:133)


testPutAndListen :
  junit.framework.AssertionFailedError
  junit.framework.AssertionFailedError: Wrong number of puts expected:<1> but 
was:<0>
at junit.framework.Assert.fail(Asser

Re: [jcs] Attempt a 2.0 release

2014-04-02 Thread Johannes Weberhofer

Am 02.04.2014 08:41, schrieb Thomas Vandahl:

On 31.03.14 23:56, sebb wrote:

The Continuum build reports lots of test failures.

For example:

https://continuum-ci.apache.org/continuum/buildResult.action?buildId=28476&projectId=286

The tests are very "noisy" when run interactively.
This makes it difficult to pick out the test failures.
Ideally tests should produce no output except on failure.

I think the test failures need to be fixed before a release can be considered.


Absolutely agree. Problem is, however, that the tests run fine here (Mac
OS Snow Leopard) and it is difficult for me to reproduce the Continuum
environment. Does the build run successful when you run it locally?

Bye, Thomas.


On Linux I see one stacktrace but all tests pass without errors; 
https://issues.apache.org/jira/browse/JCS-110 seems to be solved for me.

Johannes

---Memory Cache
List Size = 0
Map Size = 0
Put Count = 1
Hit Count = 1
Miss Count = 1
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.461 sec - in 
org.apache.commons.jcs.auxiliary.remote.server.BasicRemoteCacheClientServerUnitTest
Running 
org.apache.commons.jcs.auxiliary.remote.server.TimeoutConfigurableRMIScoketFactoryUnitTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.024 sec - in 
org.apache.commons.jcs.auxiliary.remote.server.TimeoutConfigurableRMIScoketFactoryUnitTest
Running 
org.apache.commons.jcs.auxiliary.remote.util.RemoteCacheRequestFactoryUnitTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.124 sec - in 
org.apache.commons.jcs.auxiliary.remote.util.RemoteCacheRequestFactoryUnitTest
Running org.apache.commons.jcs.auxiliary.remote.RemoteUtilsUnitTest
java.rmi.server.ExportException: internal error: ObjID already in use
at sun.rmi.transport.ObjectTable.putTarget(ObjectTable.java:169)
at sun.rmi.transport.Transport.exportObject(Transport.java:74)
at 
sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:229)
at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:393)
at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:129)
at 
sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:188)
at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:100)
at sun.rmi.registry.RegistryImpl.(RegistryImpl.java:86)
at 
java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:186)
at 
org.apache.commons.jcs.auxiliary.remote.RemoteUtils.createRegistry(RemoteUtils.java:81)
at 
org.apache.commons.jcs.auxiliary.remote.RemoteUtilsUnitTest.testCreateRegistryTwice(RemoteUtilsUnitTest.java:53)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:95)
at 
org.apache.maven.surefire.junit.JUnit3Provider.executeTestSet(JUnit3Provider.java:131)
at 
org.apache.maven.surefire.junit.JUnit3Provider.invoke(JUnit3Provider.java:108)
at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.157 sec - in 
org.apache.commons.jcs.auxiliary.remote.RemoteUtilsUnitTest
Running org.apache.commons.jcs.auxiliary.remote.RemoteCacheNoWaitUnitTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.252 sec - in 
org.apache.commons.jcs.auxiliary.remote.RemoteCacheNoWaitUnitTest
Running org.apache.commons.jcs.auxiliary.remote.RemoteCacheListenerUnitTest
Creating mock cache
Creating mock cache
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.22 sec - in 
org.apache.commons.jcs.

[continuum] BUILD FAILURE: Commons JCS - Apache Commons (Group (shared) Maven 3 Build Definition (Java 1.6))

2014-04-02 Thread Apache Continuum
Online report : 
https://continuum-ci.apache.org/continuum/buildResult.action?buildId=28565&projectId=286

Build statistics:
  State: Failed
  Previous State: Failed
  Started at: Wed 2 Apr 2014 13:21:07 +
  Finished at: Wed 2 Apr 2014 13:24:22 +
  Total time: 3m 14s
  Build Trigger: Schedule
  Build Number: 1
  Exit code: 1
  Building machine hostname: continuum-vm
  Operating system : Linux(unknown)
  Java Home version : 
  java version "1.6.0_27"
  OpenJDK Runtime Environment (IcedTea6 1.12.6) 
(6b27-1.12.6-1ubuntu0.12.04.4)
  OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

  Builder version :
  Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 
2013-02-19 13:51:28+)
  Maven home: /opt/apache-maven-3.0.5
  Java version: 1.6.0_27, vendor: Sun Microsystems Inc.
  Java home: /usr/lib/jvm/java-6-openjdk-amd64/jre
  Default locale: en_US, platform encoding: UTF-8
  OS name: "linux", version: "3.2.0-53-generic", arch: "amd64", family: 
"unix"


SCM Changes:

Changed: tv @ Wed 2 Apr 2014 12:26:57 +
Comment: Made tests less chatty
Files changed:
  
/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/lateral/socket/tcp/LateralTCPIssueRemoveOnPutUnitTest.java
 ( 1583995 )
  
/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/remote/RemoteUtilsUnitTest.java
 ( 1583995 )

Changed: tv @ Wed 2 Apr 2014 12:27:50 +
Comment: Typo
Files changed:
  
/commons/proper/jcs/trunk/src/experimental/org/apache/commons/jcs/auxiliary/lateral/socket/udp/LateralUDPReceiver.java
 ( 1583996 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/lateral/socket/tcp/LateralTCPListener.java
 ( 1583996 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/lateral/socket/tcp/LateralTCPSender.java
 ( 1583996 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/utils/discovery/UDPDiscoveryReceiver.java
 ( 1583996 )

Changed: tv @ Wed 2 Apr 2014 12:38:14 +
Comment: Give the Windows file system some time to remove the file
Files changed:
  
/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/disk/file/FileDiskCacheUnitTest.java
 ( 1584003 )


Dependencies Changes:

No dependencies changed



Build Definition:

POM filename: pom.xml
Goals: clean deploy   
Arguments: --batch-mode -Pjava-1.6 -Dgpg.skip -Prelease
Build Fresh: false
Always Build: false
Default Build Definition: true
Schedule: COMMONS_SCHEDULE
Profile Name: Maven 3.0.5
Description: Group (shared) Maven 3 Build Definition (Java 1.6)


Test Summary:

Tests: 396
Failures: 6
Errors: 0
Success Rate: 98
Total time: 140.75601


Test Failures:


BasicRemoteCacheClientServerUnitTest
testSinglePut :
  junit.framework.AssertionFailedError
  junit.framework.AssertionFailedError: Wrong number of puts expected:<1> but 
was:<0>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:282)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:201)
at 
org.apache.commons.jcs.auxiliary.remote.server.BasicRemoteCacheClientServerUnitTest.testSinglePut(BasicRemoteCacheClientServerUnitTest.java:94)


testPutRemove :
  junit.framework.AssertionFailedError
  junit.framework.AssertionFailedError: Wrong number of puts expected:<1> but 
was:<0>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:282)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:201)
at 
org.apache.commons.jcs.auxiliary.remote.server.BasicRemoteCacheClientServerUnitTest.testPutRemove(BasicRemoteCacheClientServerUnitTest.java:133)


testPutAndListen :
  junit.framework.AssertionFailedError
  junit.framework.AssertionFailedError: Wrong number of puts expected:<1> but 
was:<0>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:282)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.asser

Re: [jcs] Attempt a 2.0 release

2014-04-02 Thread Johannes Weberhofer

After your latest changes the output looks much better now.

java version "1.7.0_51"
OpenJDK Runtime Environment (IcedTea 2.4.4) (suse-24.13.5-x86_64)
OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode)


Results :
Tests run: 396, Failures: 0, Errors: 0, Skipped: 0

[INFO] 
[INFO] BUILD SUCCESS
[INFO] 
[INFO] Total time: 14:10.204s
[INFO] Finished at: Wed Apr 02 16:12:23 CEST 2014
[INFO] Final Memory: 20M/174M
[INFO] 



Am 02.04.2014 13:57, schrieb Johannes Weberhofer:

Am 02.04.2014 08:41, schrieb Thomas Vandahl:

On 31.03.14 23:56, sebb wrote:

The Continuum build reports lots of test failures.

For example:

https://continuum-ci.apache.org/continuum/buildResult.action?buildId=28476&projectId=286

The tests are very "noisy" when run interactively.
This makes it difficult to pick out the test failures.
Ideally tests should produce no output except on failure.

I think the test failures need to be fixed before a release can be considered.


Absolutely agree. Problem is, however, that the tests run fine here (Mac
OS Snow Leopard) and it is difficult for me to reproduce the Continuum
environment. Does the build run successful when you run it locally?

Bye, Thomas.


On Linux I see one stacktrace but all tests pass without errors; 
https://issues.apache.org/jira/browse/JCS-110 seems to be solved for me.

Johannes

---Memory Cache
List Size = 0
Map Size = 0
Put Count = 1
Hit Count = 1
Miss Count = 1
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.461 sec - in 
org.apache.commons.jcs.auxiliary.remote.server.BasicRemoteCacheClientServerUnitTest
Running 
org.apache.commons.jcs.auxiliary.remote.server.TimeoutConfigurableRMIScoketFactoryUnitTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.024 sec - in 
org.apache.commons.jcs.auxiliary.remote.server.TimeoutConfigurableRMIScoketFactoryUnitTest
Running 
org.apache.commons.jcs.auxiliary.remote.util.RemoteCacheRequestFactoryUnitTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.124 sec - in 
org.apache.commons.jcs.auxiliary.remote.util.RemoteCacheRequestFactoryUnitTest
Running org.apache.commons.jcs.auxiliary.remote.RemoteUtilsUnitTest
java.rmi.server.ExportException: internal error: ObjID already in use
 at sun.rmi.transport.ObjectTable.putTarget(ObjectTable.java:169)
 at sun.rmi.transport.Transport.exportObject(Transport.java:74)
 at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:229)
 at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:393)
 at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:129)
 at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:188)
 at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:100)
 at sun.rmi.registry.RegistryImpl.(RegistryImpl.java:86)
 at java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:186)
 at 
org.apache.commons.jcs.auxiliary.remote.RemoteUtils.createRegistry(RemoteUtils.java:81)
 at 
org.apache.commons.jcs.auxiliary.remote.RemoteUtilsUnitTest.testCreateRegistryTwice(RemoteUtilsUnitTest.java:53)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at junit.framework.TestCase.runTest(TestCase.java:154)
 at junit.framework.TestCase.runBare(TestCase.java:127)
 at junit.framework.TestResult$1.protect(TestResult.java:106)
 at junit.framework.TestResult.runProtected(TestResult.java:124)
 at junit.framework.TestResult.run(TestResult.java:109)
 at junit.framework.TestCase.run(TestCase.java:118)
 at junit.framework.TestSuite.runTest(TestSuite.java:208)
 at junit.framework.TestSuite.run(TestSuite.java:203)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at 
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:95)
 at 
org.apache.maven.surefire.junit.JUnit3Provider.executeTestSet(JUnit3Provider.java:131)
 at 
org.apache.maven.surefire.junit.JUnit3Provider.invoke(JUnit3Provider.java:108)
 at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
 at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
 at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBo

[continuum] BUILD FAILURE: Commons JCS - Apache Commons (Group (shared) Maven 3 Build Definition (Java 1.6))

2014-04-02 Thread Apache Continuum
Online report : 
https://continuum-ci.apache.org/continuum/buildResult.action?buildId=28571&projectId=286

Build statistics:
  State: Failed
  Previous State: Failed
  Started at: Wed 2 Apr 2014 15:27:46 +
  Finished at: Wed 2 Apr 2014 15:31:08 +
  Total time: 3m 22s
  Build Trigger: Forced
  Build Number: 1
  Exit code: 1
  Building machine hostname: continuum-vm
  Operating system : Linux(unknown)
  Java Home version : 
  java version "1.6.0_27"
  OpenJDK Runtime Environment (IcedTea6 1.12.6) 
(6b27-1.12.6-1ubuntu0.12.04.4)
  OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

  Builder version :
  Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 
2013-02-19 13:51:28+)
  Maven home: /opt/apache-maven-3.0.5
  Java version: 1.6.0_27, vendor: Sun Microsystems Inc.
  Java home: /usr/lib/jvm/java-6-openjdk-amd64/jre
  Default locale: en_US, platform encoding: UTF-8
  OS name: "linux", version: "3.2.0-53-generic", arch: "amd64", family: 
"unix"


SCM Changes:

Changed: sebb @ Wed 2 Apr 2014 15:22:56 +
Comment: Flag or fix some more test noise
Files changed:
  
/commons/proper/jcs/trunk/src/experimental/org/apache/commons/jcs/auxiliary/lateral/http/remove/DeleteLateralCacheUnicaster.java
 ( 1584070 )
  
/commons/proper/jcs/trunk/src/experimental/org/apache/commons/jcs/engine/memory/arc/ARCMemoryCacheUnitTest.java
 ( 1584070 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/remote/server/RemoteCacheServerFactory.java
 ( 1584070 )
  
/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/admin/AdminBeanUnitTest.java
 ( 1584070 )
  
/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/remote/http/client/RemoteHttpCacheManualTester.java
 ( 1584070 )
  
/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/struct/LRUMapConcurrentUnitTest.java
 ( 1584070 )


Dependencies Changes:

No dependencies changed



Build Definition:

POM filename: pom.xml
Goals: clean deploy   
Arguments: --batch-mode -Pjava-1.6 -Dgpg.skip -Prelease
Build Fresh: false
Always Build: false
Default Build Definition: true
Schedule: COMMONS_SCHEDULE
Profile Name: Maven 3.0.5
Description: Group (shared) Maven 3 Build Definition (Java 1.6)


Test Summary:

Tests: 396
Failures: 6
Errors: 0
Success Rate: 98
Total time: 139.70099


Test Failures:


BasicRemoteCacheClientServerUnitTest
testSinglePut :
  junit.framework.AssertionFailedError
  junit.framework.AssertionFailedError: Wrong number of puts expected:<1> but 
was:<0>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:282)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:201)
at 
org.apache.commons.jcs.auxiliary.remote.server.BasicRemoteCacheClientServerUnitTest.testSinglePut(BasicRemoteCacheClientServerUnitTest.java:94)


testPutRemove :
  junit.framework.AssertionFailedError
  junit.framework.AssertionFailedError: Wrong number of puts expected:<1> but 
was:<0>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:282)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:201)
at 
org.apache.commons.jcs.auxiliary.remote.server.BasicRemoteCacheClientServerUnitTest.testPutRemove(BasicRemoteCacheClientServerUnitTest.java:133)


testPutAndListen :
  junit.framework.AssertionFailedError
  junit.framework.AssertionFailedError: Wrong number of puts expected:<1> but 
was:<0>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:282)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:201)
at 
org.apache.commons.jcs.auxiliary.remote.server.BasicRemoteCacheClientServerUnitTest.testPutAndListen(BasicRemoteCacheClientServerUnitTest.java:182)


testPutaMultipleAndListen :
  junit.framework.AssertionFailedError
  junit.framework.AssertionFailedError: Wrong number of put

[continuum] BUILD FAILURE: Commons JCS - Apache Commons (Group (shared) Maven 3 Build Definition (Java 1.6))

2014-04-02 Thread Apache Continuum
Online report : 
https://continuum-ci.apache.org/continuum/buildResult.action?buildId=28574&projectId=286

Build statistics:
  State: Failed
  Previous State: Failed
  Started at: Wed 2 Apr 2014 16:21:11 +
  Finished at: Wed 2 Apr 2014 16:24:32 +
  Total time: 3m 20s
  Build Trigger: Schedule
  Build Number: 1
  Exit code: 1
  Building machine hostname: continuum-vm
  Operating system : Linux(unknown)
  Java Home version : 
  java version "1.6.0_27"
  OpenJDK Runtime Environment (IcedTea6 1.12.6) 
(6b27-1.12.6-1ubuntu0.12.04.4)
  OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

  Builder version :
  Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 
2013-02-19 13:51:28+)
  Maven home: /opt/apache-maven-3.0.5
  Java version: 1.6.0_27, vendor: Sun Microsystems Inc.
  Java home: /usr/lib/jvm/java-6-openjdk-amd64/jre
  Default locale: en_US, platform encoding: UTF-8
  OS name: "linux", version: "3.2.0-53-generic", arch: "amd64", family: 
"unix"


SCM Changes:

Changed: sebb @ Wed 2 Apr 2014 15:41:00 +
Comment: Flag or fix some more test noise
Files changed:
  
/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/JCSRemovalSimpleConcurrentTest.java
 ( 1584072 )
  
/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/RemovalTestUtil.java 
( 1584072 )
  
/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/ZeroSizeCacheUnitTest.java
 ( 1584072 )
  
/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/disk/block/BlockDiskCacheConcurrentUnitTest.java
 ( 1584072 )
  
/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/disk/block/BlockDiskCacheKeyStoreUnitTest.java
 ( 1584072 )
  
/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/disk/block/BlockDiskCacheSteadyLoadTest.java
 ( 1584072 )
  
/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/threadpool/ThreadPoolManagerUnitTest.java
 ( 1584072 )


Dependencies Changes:

No dependencies changed



Build Definition:

POM filename: pom.xml
Goals: clean deploy   
Arguments: --batch-mode -Pjava-1.6 -Dgpg.skip -Prelease
Build Fresh: false
Always Build: false
Default Build Definition: true
Schedule: COMMONS_SCHEDULE
Profile Name: Maven 3.0.5
Description: Group (shared) Maven 3 Build Definition (Java 1.6)


Test Summary:

Tests: 396
Failures: 6
Errors: 0
Success Rate: 98
Total time: 140.498


Test Failures:


BasicRemoteCacheClientServerUnitTest
testSinglePut :
  junit.framework.AssertionFailedError
  junit.framework.AssertionFailedError: Wrong number of puts expected:<1> but 
was:<0>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:282)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:201)
at 
org.apache.commons.jcs.auxiliary.remote.server.BasicRemoteCacheClientServerUnitTest.testSinglePut(BasicRemoteCacheClientServerUnitTest.java:94)


testPutRemove :
  junit.framework.AssertionFailedError
  junit.framework.AssertionFailedError: Wrong number of puts expected:<1> but 
was:<0>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:282)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:201)
at 
org.apache.commons.jcs.auxiliary.remote.server.BasicRemoteCacheClientServerUnitTest.testPutRemove(BasicRemoteCacheClientServerUnitTest.java:133)


testPutAndListen :
  junit.framework.AssertionFailedError
  junit.framework.AssertionFailedError: Wrong number of puts expected:<1> but 
was:<0>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:282)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:201)
at 
org.apache.commons.jcs.auxiliary.remote.server.BasicRemoteCacheClientServerUnitTest.testPutAndListen(BasicRemoteCacheClientServerUnitTest.java:182)


testPutaMultipleAndListen :
  junit.framework.AssertionFailedE

[poo] fairness

2014-04-02 Thread Phil Steitz
It looks to me like v 2 pools are no longer fair in the sense of
1.5.x (modulo lucky threads getting to wait on creates).  I agree
that the default should be no fairness constraint, but it might be
good to make this configurable.  This looks doable with another
small tweak to LinkedBlockingDeque.  Any objections to this?

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [poo] fairness

2014-04-02 Thread Gary Gregory
Are the concurrency updates in Java 7 (or 8) of any help here?

Gary


On Wed, Apr 2, 2014 at 5:58 PM, Phil Steitz  wrote:

> It looks to me like v 2 pools are no longer fair in the sense of
> 1.5.x (modulo lucky threads getting to wait on creates).  I agree
> that the default should be no fairness constraint, but it might be
> good to make this configurable.  This looks doable with another
> small tweak to LinkedBlockingDeque.  Any objections to this?
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>
>


-- 
E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
Java Persistence with Hibernate, Second Edition
JUnit in Action, Second Edition 
Spring Batch in Action 
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory


Re: [poo] fairness

2014-04-02 Thread Phil Steitz
On 4/2/14, 3:38 PM, Gary Gregory wrote:
> Are the concurrency updates in Java 7 (or 8) of any help here?

The machinery is there in the 1.6 vintage classes we now use.  We
just need to make fairness of the lock used by our
LinkedBlockingDeque configurable.

Phil
>
> Gary
>
>
> On Wed, Apr 2, 2014 at 5:58 PM, Phil Steitz  wrote:
>
>> It looks to me like v 2 pools are no longer fair in the sense of
>> 1.5.x (modulo lucky threads getting to wait on creates).  I agree
>> that the default should be no fairness constraint, but it might be
>> good to make this configurable.  This looks doable with another
>> small tweak to LinkedBlockingDeque.  Any objections to this?
>>
>> -
>> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
>> For additional commands, e-mail: dev-h...@commons.apache.org
>>
>>
>


-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



[continuum] BUILD FAILURE: Commons JCS - Apache Commons (Group (shared) Maven 3 Build Definition (Java 1.6))

2014-04-02 Thread Apache Continuum
Online report : 
https://continuum-ci.apache.org/continuum/buildResult.action?buildId=28594&projectId=286

Build statistics:
  State: Failed
  Previous State: Failed
  Started at: Thu 3 Apr 2014 00:23:35 +
  Finished at: Thu 3 Apr 2014 00:26:56 +
  Total time: 3m 21s
  Build Trigger: Schedule
  Build Number: 1
  Exit code: 1
  Building machine hostname: continuum-vm
  Operating system : Linux(unknown)
  Java Home version : 
  java version "1.6.0_27"
  OpenJDK Runtime Environment (IcedTea6 1.12.6) 
(6b27-1.12.6-1ubuntu0.12.04.4)
  OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

  Builder version :
  Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 
2013-02-19 13:51:28+)
  Maven home: /opt/apache-maven-3.0.5
  Java version: 1.6.0_27, vendor: Sun Microsystems Inc.
  Java home: /usr/lib/jvm/java-6-openjdk-amd64/jre
  Default locale: en_US, platform encoding: UTF-8
  OS name: "linux", version: "3.2.0-53-generic", arch: "amd64", family: 
"unix"


SCM Changes:

Changed: sebb @ Thu 3 Apr 2014 00:04:02 +
Comment: Add missing Java 1.6 @Override annotations
Files changed:
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/access/AbstractCacheAccess.java
 ( 1584220 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/access/CacheAccess.java
 ( 1584220 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/access/GroupCacheAccess.java
 ( 1584220 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/access/PartitionedCacheAccess.java
 ( 1584220 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/admin/JCSAdminBean.java
 ( 1584220 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/AbstractAuxiliaryCache.java
 ( 1584220 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/AbstractAuxiliaryCacheAttributes.java
 ( 1584220 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/AbstractAuxiliaryCacheEventLogging.java
 ( 1584220 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/AbstractDiskCache.java
 ( 1584220 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/AbstractDiskCacheAttributes.java
 ( 1584220 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/PurgatoryElement.java
 ( 1584220 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/block/BlockDiskCache.java
 ( 1584220 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/block/BlockDiskCacheFactory.java
 ( 1584220 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/block/BlockDiskCacheManager.java
 ( 1584220 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/block/BlockDiskElementDescriptor.java
 ( 1584220 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/file/FileDiskCache.java
 ( 1584220 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/file/FileDiskCacheFactory.java
 ( 1584220 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/file/FileDiskCacheManager.java
 ( 1584220 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/indexed/IndexedDiskCache.java
 ( 1584220 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/indexed/IndexedDiskCacheFactory.java
 ( 1584220 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/indexed/IndexedDiskCacheManager.java
 ( 1584220 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/indexed/IndexedDiskElementDescriptor.java
 ( 1584220 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/jdbc/JDBCDiskCache.java
 ( 1584220 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/jdbc/JDBCDiskCacheFactory.java
 ( 1584220 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/jdbc/JDBCDiskCacheManager.java
 ( 1584220 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/jdbc/JDBCDiskCacheManagerAbstractTemplate.java
 ( 1584220 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/jdbc/ShrinkerThread.java
 ( 1584220 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/jdbc/hsql/HSQLDiskCacheFactory.java
 ( 1584220 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/jdbc/mysql/MySQLDiskCacheFactory.java
 ( 1584220 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/jdbc/mysql/MySQLDiskCacheManager.java
 ( 1584220 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/lateral/LateralCache.java
 ( 1584220 

[continuum] BUILD FAILURE: Commons JCS - Apache Commons (Group (shared) Maven 3 Build Definition (Java 1.6))

2014-04-02 Thread Apache Continuum
Online report : 
https://continuum-ci.apache.org/continuum/buildResult.action?buildId=28597&projectId=286

Build statistics:
  State: Failed
  Previous State: Failed
  Started at: Thu 3 Apr 2014 01:21:09 +
  Finished at: Thu 3 Apr 2014 01:24:28 +
  Total time: 3m 19s
  Build Trigger: Schedule
  Build Number: 1
  Exit code: 1
  Building machine hostname: continuum-vm
  Operating system : Linux(unknown)
  Java Home version : 
  java version "1.6.0_27"
  OpenJDK Runtime Environment (IcedTea6 1.12.6) 
(6b27-1.12.6-1ubuntu0.12.04.4)
  OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

  Builder version :
  Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 
2013-02-19 13:51:28+)
  Maven home: /opt/apache-maven-3.0.5
  Java version: 1.6.0_27, vendor: Sun Microsystems Inc.
  Java home: /usr/lib/jvm/java-6-openjdk-amd64/jre
  Default locale: en_US, platform encoding: UTF-8
  OS name: "linux", version: "3.2.0-53-generic", arch: "amd64", family: 
"unix"


SCM Changes:

Changed: sebb @ Thu 3 Apr 2014 00:24:21 +
Comment: Explicit boxing
Files changed:
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/block/BlockDisk.java
 ( 1584226 )

Changed: sebb @ Thu 3 Apr 2014 00:35:40 +
Comment: Don't share loggers between classes
Files changed:
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/AbstractDiskCache.java
 ( 1584228 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/block/BlockDiskCache.java
 ( 1584228 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/block/BlockDiskKeyStore.java
 ( 1584228 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/indexed/IndexedDiskCache.java
 ( 1584228 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/jdbc/mysql/MySQLDiskCacheManager.java
 ( 1584228 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/lateral/socket/tcp/LateralTCPListener.java
 ( 1584228 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/engine/AbstractCacheEventQueue.java
 ( 1584228 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/engine/CacheEventQueue.java
 ( 1584228 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/engine/PooledCacheEventQueue.java
 ( 1584228 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/engine/control/CompositeCacheManager.java
 ( 1584228 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/engine/control/event/ElementEventQueue.java
 ( 1584228 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/engine/memory/lru/LHMLRUMemoryCache.java
 ( 1584228 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/utils/discovery/UDPDiscoveryReceiver.java
 ( 1584228 )
  
/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/utils/threadpool/ThreadPoolUnitTest.java
 ( 1584228 )

Changed: sebb @ Thu 3 Apr 2014 00:37:31 +
Comment: Standardise on private static final rather than private final static
Files changed:
  
/commons/proper/jcs/trunk/auxiliary-builds/javagroups/src/java/org/apache/commons/jcs/auxiliary/javagroups/JavaGroupsCacheFactory.java
 ( 1584230 )
  
/commons/proper/jcs/trunk/auxiliary-builds/jdk14/src/java/org/apache/commons/jcs/auxiliary/javagroups/JavaGroupsCacheFactory.java
 ( 1584230 )
  
/commons/proper/jcs/trunk/auxiliary-builds/jdk14/src/java/org/apache/commons/jcs/auxiliary/lateral/LateralCacheFactory.java
 ( 1584230 )
  
/commons/proper/jcs/trunk/auxiliary-builds/jdk14/src/java/org/apache/commons/jcs/auxiliary/lateral/LateralCacheManager.java
 ( 1584230 )
  
/commons/proper/jcs/trunk/auxiliary-builds/jdk14/src/java/org/apache/commons/jcs/auxiliary/lateral/javagroups/JGConnectionHolder.java
 ( 1584230 )
  
/commons/proper/jcs/trunk/auxiliary-builds/jdk14/src/java/org/apache/commons/jcs/auxiliary/lateral/javagroups/LateralCacheJGListener.java
 ( 1584230 )
  
/commons/proper/jcs/trunk/auxiliary-builds/jdk14/src/java/org/apache/commons/jcs/auxiliary/lateral/javagroups/LateralGroupCacheJGListener.java
 ( 1584230 )
  
/commons/proper/jcs/trunk/auxiliary-builds/jdk14/src/java/org/apache/commons/jcs/auxiliary/lateral/javagroups/LateralJGCacheFactory.java
 ( 1584230 )
  
/commons/proper/jcs/trunk/auxiliary-builds/jdk14/src/java/org/apache/commons/jcs/auxiliary/lateral/javagroups/LateralJGCacheManager.java
 ( 1584230 )
  
/commons/proper/jcs/trunk/auxiliary-builds/jdk14/src/java/org/apache/commons/jcs/auxiliary/lateral/javagroups/LateralJGReceiver.java
 ( 1584230 )
  
/commons/proper/jcs/trunk/auxiliary-builds/jdk14/src/java/org/apache/commons/jcs/auxiliary/lateral/javagroups/LateralJGReceiverConnection.java
 ( 1584230 )
  
/commons/proper/jcs/trunk/auxiliary-builds/

[continuum] BUILD FAILURE: Commons JCS - Apache Commons (Group (shared) Maven 3 Build Definition (Java 1.6))

2014-04-02 Thread Apache Continuum
Online report : 
https://continuum-ci.apache.org/continuum/buildResult.action?buildId=28600&projectId=286

Build statistics:
  State: Failed
  Previous State: Failed
  Started at: Thu 3 Apr 2014 02:21:03 +
  Finished at: Thu 3 Apr 2014 02:24:15 +
  Total time: 3m 12s
  Build Trigger: Schedule
  Build Number: 1
  Exit code: 1
  Building machine hostname: continuum-vm
  Operating system : Linux(unknown)
  Java Home version : 
  java version "1.6.0_27"
  OpenJDK Runtime Environment (IcedTea6 1.12.6) 
(6b27-1.12.6-1ubuntu0.12.04.4)
  OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

  Builder version :
  Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 
2013-02-19 13:51:28+)
  Maven home: /opt/apache-maven-3.0.5
  Java version: 1.6.0_27, vendor: Sun Microsystems Inc.
  Java home: /usr/lib/jvm/java-6-openjdk-amd64/jre
  Default locale: en_US, platform encoding: UTF-8
  OS name: "linux", version: "3.2.0-53-generic", arch: "amd64", family: 
"unix"


SCM Changes:

Changed: sebb @ Thu 3 Apr 2014 01:30:12 +
Comment: No point having default initial value since the only ctor creates the 
field anyway
Files changed:
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/indexed/IndexedDisk.java
 ( 1584247 )

Changed: sebb @ Thu 3 Apr 2014 01:53:07 +
Comment: Not used
Files changed:
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/lateral/socket/tcp/LateralTCPCacheManager.java
 ( 1584249 )


Dependencies Changes:

No dependencies changed



Build Definition:

POM filename: pom.xml
Goals: clean deploy   
Arguments: --batch-mode -Pjava-1.6 -Dgpg.skip -Prelease
Build Fresh: false
Always Build: false
Default Build Definition: true
Schedule: COMMONS_SCHEDULE
Profile Name: Maven 3.0.5
Description: Group (shared) Maven 3 Build Definition (Java 1.6)


Test Summary:

Tests: 396
Failures: 6
Errors: 0
Success Rate: 98
Total time: 133.33803


Test Failures:


BasicRemoteCacheClientServerUnitTest
testSinglePut :
  junit.framework.AssertionFailedError
  junit.framework.AssertionFailedError: Wrong number of puts expected:<1> but 
was:<0>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:282)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:201)
at 
org.apache.commons.jcs.auxiliary.remote.server.BasicRemoteCacheClientServerUnitTest.testSinglePut(BasicRemoteCacheClientServerUnitTest.java:94)


testPutRemove :
  junit.framework.AssertionFailedError
  junit.framework.AssertionFailedError: Wrong number of puts expected:<1> but 
was:<0>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:282)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:201)
at 
org.apache.commons.jcs.auxiliary.remote.server.BasicRemoteCacheClientServerUnitTest.testPutRemove(BasicRemoteCacheClientServerUnitTest.java:133)


testPutAndListen :
  junit.framework.AssertionFailedError
  junit.framework.AssertionFailedError: Wrong number of puts expected:<1> but 
was:<0>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:282)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:201)
at 
org.apache.commons.jcs.auxiliary.remote.server.BasicRemoteCacheClientServerUnitTest.testPutAndListen(BasicRemoteCacheClientServerUnitTest.java:182)


testPutaMultipleAndListen :
  junit.framework.AssertionFailedError
  junit.framework.AssertionFailedError: Wrong number of puts expected:<100> but 
was:<0>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:282)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:201)
at 
org.apache.commons.jcs.auxiliary.remote.server.BasicRemoteCacheClientServerUnitTest.testPu

[continuum] BUILD FAILURE: Commons JCS - Apache Commons (Group (shared) Maven 3 Build Definition (Java 1.6))

2014-04-02 Thread Apache Continuum
Online report : 
https://continuum-ci.apache.org/continuum/buildResult.action?buildId=28605&projectId=286

Build statistics:
  State: Failed
  Previous State: Failed
  Started at: Thu 3 Apr 2014 04:21:10 +
  Finished at: Thu 3 Apr 2014 04:24:33 +
  Total time: 3m 23s
  Build Trigger: Schedule
  Build Number: 1
  Exit code: 1
  Building machine hostname: continuum-vm
  Operating system : Linux(unknown)
  Java Home version : 
  java version "1.6.0_27"
  OpenJDK Runtime Environment (IcedTea6 1.12.6) 
(6b27-1.12.6-1ubuntu0.12.04.4)
  OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

  Builder version :
  Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 
2013-02-19 13:51:28+)
  Maven home: /opt/apache-maven-3.0.5
  Java version: 1.6.0_27, vendor: Sun Microsystems Inc.
  Java home: /usr/lib/jvm/java-6-openjdk-amd64/jre
  Default locale: en_US, platform encoding: UTF-8
  OS name: "linux", version: "3.2.0-53-generic", arch: "amd64", family: 
"unix"


SCM Changes:

Changed: sebb @ Thu 3 Apr 2014 03:27:04 +
Comment: Privatise and finalise fields where getters/setters exist
Files changed:
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/admin/CountingOnlyOutputStream.java
 ( 1584253 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/AbstractAuxiliaryCache.java
 ( 1584253 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/AbstractAuxiliaryCacheAttributes.java
 ( 1584253 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/AbstractDiskCache.java
 ( 1584253 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/AbstractDiskCacheAttributes.java
 ( 1584253 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/PurgatoryElement.java
 ( 1584253 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/block/BlockDiskCache.java
 ( 1584253 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/file/FileDiskCacheAttributes.java
 ( 1584253 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/indexed/IndexedDiskCache.java
 ( 1584253 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/indexed/IndexedDiskCacheAttributes.java
 ( 1584253 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/indexed/IndexedDiskElementDescriptor.java
 ( 1584253 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/jdbc/JDBCDiskCacheManagerAbstractTemplate.java
 ( 1584253 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/jdbc/JDBCDiskCachePoolAccess.java
 ( 1584253 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/lateral/LateralCacheAbstractManager.java
 ( 1584253 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/lateral/LateralCacheAttributes.java
 ( 1584253 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/lateral/socket/tcp/LateralTCPCacheManager.java
 ( 1584253 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/lateral/socket/tcp/LateralTCPDiscoveryListener.java
 ( 1584253 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/lateral/socket/tcp/LateralTCPDiscoveryListenerManager.java
 ( 1584253 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/lateral/socket/tcp/LateralTCPListener.java
 ( 1584253 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/lateral/socket/tcp/LateralTCPSender.java
 ( 1584253 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/remote/AbstractRemoteAuxiliaryCache.java
 ( 1584253 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/remote/AbstractRemoteCacheListener.java
 ( 1584253 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/remote/AbstractRemoteCacheNoWaitFacade.java
 ( 1584253 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/remote/CommonRemoteCacheAttributes.java
 ( 1584253 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/remote/RemoteCache.java
 ( 1584253 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/remote/RemoteCacheFailoverRunner.java
 ( 1584253 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/remote/RemoteCacheNoWaitFacade.java
 ( 1584253 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/remote/server/RemoteCacheServer.java
 ( 1584253 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/engine/AbstractCacheEventQueue.java
 ( 1584253 )
  
/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/engine/CacheAdapto

[LANG] Releasing 3.3.2

2014-04-02 Thread Benedikt Ritter
Hi all,

we have discussed this before. Thanks to Niall, all the JavaDoc issues are
now resolved, so I'm hoping to find the time this weekend to roll out an
RC.

There is one issue that we could consider for inclusion: LANG-990 - Avoid
String allocation in StrBuilder.append(CharSequence) [1]. This looks like a
nice improvement, so I'd like to include it. I've suggested to make some
performance measurments, but I won't have the time to do them myself. I'd
like to hear your opinion: do we need to measure the acutal performance
improvment or can we include it, because it looks like an improvement and
doesn't break anything?

Benedikt

[1] https://issues.apache.org/jira/browse/LANG-990


-- 
http://people.apache.org/~britter/
http://www.systemoutprintln.de/
http://twitter.com/BenediktRitter
http://github.com/britter