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.

kinow@local:~/Development/java/apache/commons-rng$ 
JAVA_HOME=/home/kinow/Development/java/jdk-9.0.4/ mvn -v
Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 
2017-10-18T20:58:13+13:00)
Maven home: /opt/apache-maven-3.5.2
Java version: 9.0.4, vendor: Oracle Corporation
Java home: /home/kinow/Development/java/jdk-9.0.4
Default locale: en_NZ, platform encoding: UTF-8
OS name: "linux", version: "4.4.0-130-generic", arch: "amd64", family: "unix"



And running `JAVA_HOME=/home/kinow/Development/java/jdk-9.0.4/ mvn -e -X 
-Dcommons.release.dryRun=true -Ptest-deploy -Prelease-Pcommons-rng-examples 
clean test site deploy` resulted in (added -e -X just in case):


[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]
    at 
org.apache.commons.rng.sampling.distribution.ContinuousSamplerParametricTest.check(ContinuousSamplerParametricTest.java:127)
    at 
org.apache.commons.rng.sampling.distribution.ContinuousSamplerParametricTest.testSampling(ContinuousSamplerParametricTest.java:53)

[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   ContinuousSamplerParametricTest.testSampling:53->check:127 
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]
[INFO] 
[ERROR] Tests run: 77, Failures: 1, Errors: 0, Skipped: 0
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Commons RNG ................................. SUCCESS [02:26 min]
[INFO] Apache Commons RNG Client API ...................... SUCCESS [01:25 min]
[INFO] Apache Commons RNG Core ............................ SUCCESS [01:38 min]
[INFO] Apache Commons RNG Simple .......................... SUCCESS [01:18 min]
[INFO] Apache Commons RNG Sampling ........................ FAILURE [01:06 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:57 min
[INFO] Finished at: 2018-07-03T23:01:46+12:00
[INFO] Final Memory: 91M/254M
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "release-Pcommons-rng-examples" could not be 
activated because it does not exist.
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.22.0:test (default-test) on 
project commons-rng-sampling: There are test failures.
[ERROR] 
[ERROR] Please refer to 
/home/kinow/Development/java/apache/commons-rng/commons-rng-sampling/target/surefire-reports
 for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, 
[date].dumpstream and [date]-jvmRun[N].dumpstream.
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.22.0:test (default-test) on 
project commons-rng-sampling: There are test failures.

Please refer to 
/home/kinow/Development/java/apache/commons-rng/commons-rng-sampling/target/surefire-reports
 for the individual test results.
Please refer to dump files (if any exist) [date]-jvmRun[N].dump, 
[date].dumpstream and [date]-jvmRun[N].dumpstream.
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:213)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:154)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:146)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:81)
    at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
 (SingleThreadedBuilder.java:51)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute 
(LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:564)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced 
(Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
(Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
(Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main 
(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test 
failures.

Please refer to 
/home/kinow/Development/java/apache/commons-rng/commons-rng-sampling/target/surefire-reports
 for the individual test results.
Please refer to dump files (if any exist) [date]-jvmRun[N].dump, 
[date].dumpstream and [date]-jvmRun[N].dumpstream.
    at org.apache.maven.plugin.surefire.SurefireHelper.throwException 
(SurefireHelper.java:240)
    at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution 
(SurefireHelper.java:112)
    at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary 
(SurefirePlugin.java:364)
    at 
org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked
 (AbstractSurefireMojo.java:1052)
    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute 
(AbstractSurefireMojo.java:868)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo 
(DefaultBuildPluginManager.java:134)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:208)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:154)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:146)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:81)
    at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
 (SingleThreadedBuilder.java:51)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute 
(LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:564)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced 
(Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
(Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
(Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main 
(Launcher.java:356)
[ERROR] 
[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




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 <gil...@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-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

Reply via email to