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/02 01:40:14 UTC

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

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

Build statistics:
  State: Failed
  Previous State: Ok
  Started at: Thu 2 Feb 2012 00:36:34 +0000
  Finished at: Thu 2 Feb 2012 00:40:11 +0000
  Total time: 3m 37s
  Build Trigger: Schedule
  Build Number: 664
  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: erans @ Wed 1 Feb 2012 23:35:46 +0000
Comment: Javadoc.
Files changed:
  /commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/general/AbstractLeastSquaresOptimizer.java ( 1239404 )

****************************************************************************
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: 3562
Failures: 1
Errors: 0
Success Rate: 99
Total time: 165.38594

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

MeanTest
    testWeightedConsistency :
  java.lang.AssertionError
  java.lang.AssertionError: expected:<-5.261475053036868E-4> but was:<-5.26147505303894E-4>
	at org.junit.Assert.fail(Assert.java:91)
	at org.junit.Assert.failNotEquals(Assert.java:645)
	at org.junit.Assert.assertEquals(Assert.java:441)
	at org.apache.commons.math.TestUtils.assertRelativelyEquals(TestUtils.java:178)
	at org.apache.commons.math.TestUtils.assertRelativelyEquals(TestUtils.java:153)
	at org.apache.commons.math.stat.descriptive.UnivariateStatisticAbstractTest.testWeightedConsistency(UnivariateStatisticAbstractTest.java:213)
	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.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
	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.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
	at $Proxy0.invoke(Unknown Source)
	at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
	at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)

  



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


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

Posted by Gilles Sadowski <gi...@harfang.homelinux.org>.
Hi.

> > 
> > The failure is unrelated to the commit, but has to do with this issue:
> >   https://issues.apache.org/jira/browse/MATH-588
> > 
> > I don't know whether the test tolerance is too stringent or there really is
> > a bug. Could someone have a look?
> 
> Hi,
> 
> I have looked into this issue, and imo the test tolerance is too stringent:
> 
> >> MeanTest
> >>     testWeightedConsistency :
> >>   java.lang.AssertionError
> >>   java.lang.AssertionError: expected:<-5.261475053036868E-4> but was:<-5.26147505303894E-4>
> 
> The tests compares the two computed means with a relative error of
> 10-14, which can lead to an quite small absolute error in case the
> randomized test values are distributed in an unfortunate way.
> 
> In the failing example, the mean is calculated to be -5.261e-4 which
> leads to an absolute error of 10-18 while the two means are equal up to
> 10-15.
> 
> The bug report is very similar:
> 
> the expected mean is ~2.2e-3 and the values are equal up to 10-15.
> 

Thanks for looking into it.
So, if nobody objects, can you please make the necessary changes and resolve
the issue?


Best regards,
Gilles

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


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

Posted by Thomas Neidhart <th...@gmail.com>.
On 02/02/2012 11:57 AM, Gilles Sadowski wrote:
> On Thu, Feb 02, 2012 at 12:40:14AM +0000, Continuum@vmbuild wrote:
> 
> The failure is unrelated to the commit, but has to do with this issue:
>   https://issues.apache.org/jira/browse/MATH-588
> 
> I don't know whether the test tolerance is too stringent or there really is
> a bug. Could someone have a look?

Hi,

I have looked into this issue, and imo the test tolerance is too stringent:

>> MeanTest
>>     testWeightedConsistency :
>>   java.lang.AssertionError
>>   java.lang.AssertionError: expected:<-5.261475053036868E-4> but was:<-5.26147505303894E-4>

The tests compares the two computed means with a relative error of
10-14, which can lead to an quite small absolute error in case the
randomized test values are distributed in an unfortunate way.

In the failing example, the mean is calculated to be -5.261e-4 which
leads to an absolute error of 10-18 while the two means are equal up to
10-15.

The bug report is very similar:

the expected mean is ~2.2e-3 and the values are equal up to 10-15.

Thomas

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


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

Posted by Gilles Sadowski <gi...@harfang.homelinux.org>.
On Thu, Feb 02, 2012 at 12:40:14AM +0000, Continuum@vmbuild wrote:

The failure is unrelated to the commit, but has to do with this issue:
  https://issues.apache.org/jira/browse/MATH-588

I don't know whether the test tolerance is too stringent or there really is
a bug. Could someone have a look?

Thanks,
Gilles

> Online report : http://vmbuild.apache.org/continuum/buildResult.action?buildId=18163&projectId=97
> 
> Build statistics:
>   State: Failed
>   Previous State: Ok
>   Started at: Thu 2 Feb 2012 00:36:34 +0000
>   Finished at: Thu 2 Feb 2012 00:40:11 +0000
>   Total time: 3m 37s
>   Build Trigger: Schedule
>   Build Number: 664
>   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: erans @ Wed 1 Feb 2012 23:35:46 +0000
> Comment: Javadoc.
> Files changed:
>   /commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/general/AbstractLeastSquaresOptimizer.java ( 1239404 )
> 
> ****************************************************************************
> 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: 3562
> Failures: 1
> Errors: 0
> Success Rate: 99
> Total time: 165.38594
> 
> ****************************************************************************
> Test Failures:
> ****************************************************************************
> 
> MeanTest
>     testWeightedConsistency :
>   java.lang.AssertionError
>   java.lang.AssertionError: expected:<-5.261475053036868E-4> but was:<-5.26147505303894E-4>
> 	at org.junit.Assert.fail(Assert.java:91)
> 	at org.junit.Assert.failNotEquals(Assert.java:645)
> 	at org.junit.Assert.assertEquals(Assert.java:441)
> 	at org.apache.commons.math.TestUtils.assertRelativelyEquals(TestUtils.java:178)
> 	at org.apache.commons.math.TestUtils.assertRelativelyEquals(TestUtils.java:153)
> 	at org.apache.commons.math.stat.descriptive.UnivariateStatisticAbstractTest.testWeightedConsistency(UnivariateStatisticAbstractTest.java:213)
> 	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.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
> 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
> 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
> 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
> 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
> 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
> 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
> 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
> 	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
> 	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
> 	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
> 	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
> 	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.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
> 	at $Proxy0.invoke(Unknown Source)
> 	at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
> 	at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
> 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
> 
>   
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
> 

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