commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilles <gil...@harfang.homelinux.org>
Subject Re: [RNG] CP 47
Date Tue, 03 Jul 2018 17:24:31 GMT
Hello Bruno.

On Tue, 3 Jul 2018 11:07:48 +0000 (UTC), Bruno P. Kinoshita wrote:
> Hi Gilles,
>
> I've checked out the latest from
> https://github.com/apache/commons-rng, updated the pom.xml to use 47
> instead of 45, and downloaded JDK 9.
>
> [...]
>
>
> [INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 6.935 s - in
> 
> org.apache.commons.rng.sampling.distribution.DiscreteSamplerParametricTest
> [INFO] Running
> 
> org.apache.commons.rng.sampling.distribution.ContinuousSamplerParametricTest
> [ERROR] Tests run: 35, Failures: 1, Errors: 0, Skipped: 0, Time
> elapsed: 52.91 s <<< FAILURE! - in
> 
> org.apache.commons.rng.sampling.distribution.ContinuousSamplerParametricTest
> [ERROR] testSampling[12:
> 
> data=org.apache.commons.math3.distribution.ExponentialDistribution@6f3f0fae
> (inverse method)
> [rng=org.apache.commons.rng.core.source32.Well44497a]:
> deciles=[0.3634937790195007, 0.7698452520340235, 1.230528556588627,
> 1.762348401992668, 2.391357772931811, 3.1612030249658347,
> 4.153706174924479, 5.552560797897647,
> 
> 7.943918570829458]](org.apache.commons.rng.sampling.distribution.ContinuousSamplerParametricTest)
>  Time elapsed: 0.117 s  <<< FAILURE!
> java.lang.AssertionError:
> 
> org.apache.commons.math3.distribution.ExponentialDistribution@6f3f0fae
> (inverse method)
> [rng=org.apache.commons.rng.core.source32.Well44497a]: Too many
> failures for sample size = 20000 (3 out of 50 tests failed,
> chi2=[26.534000000000002, 25.108, 23.597]
> [...]
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with
> the command
> [ERROR]   mvn <goals> -rf :commons-rng-sampling

This a transient error due to the expected random nature of
the algorithms being tested.
Running the above command multiple times should get you past
this issue.
The real issue is with module "commons-rng-examples" (that
still fails on my machine with CP 47 and Java 9).

Regards,
Gilles

>
>
> And confirmed that when executing the program, at the beginning the
> the log output, it said "Java version: 9.0.4, vendor: Oracle
> Corporation".
>
>
> Hope that helps,
> Bruno
>
>
>
>
> ________________________________
> From: Gilles <gilles@harfang.homelinux.org>
> To: Commons Developers List <dev@commons.apache.org>
> Sent: Tuesday, 3 July 2018 9:23 PM
> Subject: [RNG] CP 47
>
>
>
> Hi.
>
>
> Could someone please run, with Java 9 or later,
>
>
> $ mvn -Dcommons.release.dryRun=true -Ptest-deploy -Prelease
>
> -Pcommons-rng-examples clean test site deploy
>
>
> using commons-parent 47, and report how it went?
>
>
> Thanks,
>
> Gilles
>


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


Mime
View raw message