Am 20.12.2012 01:23, schrieb Gilles Sadowski:
On Wed, Dec 19, 2012 at 10:10:05PM +0100, Oliver Heger wrote:
Sent the main too early: The build takes pretty long on my old
machine, and it eventually failed with two test failures:
Results :
Failed tests:
testMath753Shape142(org.apache.commons.math3.distribution.GammaD
istributionTest): shape = 142.0, scale = 1.0(..)
test1[40](org.apache.commons.math3.util.FastMathStrictComparisonTest):
double
toRadians(-4.9E-324) expected -0.0 actual 0.0 entries [12]
Tests run: 4536, Failures: 2, Errors: 0, Skipped: 43
This is my environment:
Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
Maven home: D:\data\tools\apache-maven-3.0.4\bin\..
Java version: 1.6.0_30, vendor: Sun Microsystems Inc.
Java home: C:\Program Files\Java\jdk1.6.0_30\jre
Default locale: de_DE, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
I cannot reproduce here. Could you post the entire error message and stack
trace?
Gilles
Sorry for the delay, but I had no access to my computer during the day.
Below are the full surefire reports. My system is an old Dell Inspiron
1720 with an Intel Core 2 Duo CPU T7250 @ 2.00GHz running a 32 Bit
windows 7.
I will start another build with the new RC and report back about the
outcome.
Oliver
-------------------------------------------------------------------------------
Test set: org.apache.commons.math3.distribution.GammaDistributionTest
-------------------------------------------------------------------------------
Tests run: 22, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.67
sec <<< FAILURE!
testMath753Shape142(org.apache.commons.math3.distribution.GammaDistributionTest)
Time elapsed: 0.032 sec <<< FAILURE!
java.lang.AssertionError: shape = 142.0, scale = 1.0
Old implementation
------------------
SummaryStatistics:
n: 463
min: 0.0
max: 553.0
mean: 384.3887688984882
geometric mean: 0.0
variance: 9958.419960169416
sum of squares: 7.3011228E7
standard deviation: 99.79188323791378
sum of logs: -Infinity
New implementation
------------------
SummaryStatistics:
n: 463
min: 0.0
max: 26.0
mean: 2.460043196544277
geometric mean: 0.0
variance: 2.2013220760520977
sum of squares: 3819.0
standard deviation: 1.483685302229586
sum of logs: -Infinity
at org.junit.Assert.fail(Assert.java:93)
at org.junit.Assert.assertTrue(Assert.java:43)
at
org.apache.commons.math3.distribution.GammaDistributionTest.doTestMath753(GammaDistributionTest.java:296)
at
org.apache.commons.math3.distribution.GammaDistributionTest.testMath753Shape142(GammaDistributionTest.java:349)
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:45)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
at
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
at
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
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.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
-------------------------------------------------------------------------------
Test set: org.apache.commons.math3.util.FastMathStrictComparisonTest
-------------------------------------------------------------------------------
Tests run: 43, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.031
sec <<< FAILURE!
test1[40](org.apache.commons.math3.util.FastMathStrictComparisonTest)
Time elapsed: 0 sec <<< FAILURE!
java.lang.AssertionError: double toRadians(-4.9E-324) expected -0.0
actual 0.0 entries [12]
at org.junit.Assert.fail(Assert.java:93)
at
org.apache.commons.math3.util.FastMathStrictComparisonTest.reportFailedResults(FastMathStrictComparisonTest.java:154)
at
org.apache.commons.math3.util.FastMathStrictComparisonTest.callMethods(FastMathStrictComparisonTest.java:167)
at
org.apache.commons.math3.util.FastMathStrictComparisonTest.setupMethodCall(FastMathStrictComparisonTest.java:192)
at
org.apache.commons.math3.util.FastMathStrictComparisonTest.test1(FastMathStrictComparisonTest.java:88)
at sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source)
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:45)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:24)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
at
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
at
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
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.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
Oliver
Am 19.12.2012 21:59, schrieb Oliver Heger:
Build works fine with JDK 1.5 on Windows 7. Artifacts look good.
Some reports (checkstyle, findbugs) show errors, but this does not seem
to be problematic. Also the missing license headers in test files are no
blockers IMHO.
I am not sure about the clirr errors. There is nothing mentioned in the
release notes. Are they false positives?
Oliver
Am 19.12.2012 11:03, schrieb Gilles Sadowski:
Hi.
Please have a look at the latest candidate (RC4), and vote for the
release
of Commons Math 3.1.
----------
Tag:
https://svn.apache.org/repos/asf/commons/proper/math/tags/MATH_3_1_RC4/
Site:
http://people.apache.org/builds/commons/math/3.1/RC4/
Binaries:
https://repository.apache.org/content/repositories/orgapachecommons-048/org/apache/commons/commons-math3/3.1/
[ ] +1 Release it.
[ ] +0 Go ahead; I don't care.
[ ] -0 There are a few minor glitches: ...
[ ] -1 No, do not release it because ...
This vote will close in 72 hours.
----------
Thanks,
Gilles
---------------------------------------------------------------------
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
---------------------------------------------------------------------
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