You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Continuum@vmbuild" <co...@apache.org> on 2012/02/10 00:49:08 UTC

[continuum] BUILD FAILURE: Apache Commons - Commons Pool - Default Maven 2 Build Definition (Java 1.5)

Online report : http://vmbuild.apache.org/continuum/buildResult.action?buildId=18572&projectId=98

Build statistics:
  State: Failed
  Previous State: Ok
  Started at: Thu 9 Feb 2012 23:44:36 +0000
  Finished at: Thu 9 Feb 2012 23:49:06 +0000
  Total time: 4m 30s
  Build Trigger: Schedule
  Build Number: 137
  Exit code: 1
  Building machine hostname: vmbuild
  Operating system : Linux(unknown)
  Java Home version : 
          java version "1.6.0_30"
          Java(TM) SE Runtime Environment (build 1.6.0_30-b12)
          Java HotSpot(TM) 64-Bit Server VM (build 20.5-b03, mixed mode)
        
  Builder version :
          Apache Maven 2.2.1 (r801777; 2009-08-06 19:16:01+0000)
          Java version: 1.6.0_30
          Java home: /usr/lib/jvm/jdk1.6.0_30/jre
          Default locale: en_US, platform encoding: UTF-8
          OS name: "linux" version: "2.6.32-31-server" arch: "amd64" Family: "unix"
    
****************************************************************************
SCM Changes:
****************************************************************************
Changed: markt @ Thu 9 Feb 2012 21:45:47 +0000
Comment: Better description.
Files changed:
  /commons/proper/pool/trunk/src/changes/changes.xml ( 1242544 )

Changed: markt @ Thu 9 Feb 2012 21:46:48 +0000
Comment: Start to implement POOL-100.
Extract the current eviction policy into a separate class and provide an interface for other policies to be defined.
TODO: Allow other policies to be configured.
Files changed:
  /commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/DefaultEvictionPolicy.java ( 1242546 )
  /commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/EvictionConfig.java ( 1242546 )
  /commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/EvictionPolicy.java ( 1242546 )
  /commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java ( 1242546 )
  /commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/GenericObjectPool.java ( 1242546 )

Changed: markt @ Thu 9 Feb 2012 22:38:07 +0000
Comment: Fix POOL-100.
Make eviction policy configurable. Includes a simple test case.
Files changed:
  /commons/proper/pool/trunk/src/changes/changes.xml ( 1242578 )
  /commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/BaseObjectPoolConfig.java ( 1242578 )
  /commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/DefaultEvictionPolicy.java ( 1242578 )
  /commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java ( 1242578 )
  /commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/GenericObjectPool.java ( 1242578 )
  /commons/proper/pool/trunk/src/test/org/apache/commons/pool2/impl/TestGenericObjectPool.java ( 1242578 )

****************************************************************************
Dependencies Changes:
****************************************************************************
No dependencies changed


****************************************************************************
Build Definition:
****************************************************************************
POM filename: pom.xml
Goals: clean deploy   
Arguments: --batch-mode -Pjava-1.5
Build Fresh: false
Always Build: false
Default Build Definition: true
Schedule: COMMONS_SCHEDULE
Profile Name: Maven 2.2.1
Description: Default Maven 2 Build Definition (Java 1.5)

****************************************************************************
Test Summary:
****************************************************************************
Tests: 152
Failures: 1
Errors: 0
Success Rate: 99
Total time: 235.049

****************************************************************************
Test Failures:
****************************************************************************

TestGenericObjectPool
    testEvictionPolicy :
  junit.framework.AssertionFailedError
  junit.framework.AssertionFailedError: Should be 0 idle expected:<0> but was:<267>
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.failNotEquals(Assert.java:283)
	at junit.framework.Assert.assertEquals(Assert.java:64)
	at junit.framework.Assert.assertEquals(Assert.java:195)
	at org.apache.commons.pool2.impl.TestGenericObjectPool.testEvictionPolicy(TestGenericObjectPool.java:892)
	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:592)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
	at org.junit.internal.runners.statements.FailOnTimeout$1.run(FailOnTimeout.java:28)

  



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