OSDir


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RNG] CP 47


@Gilles - this is where I see failure’s happening:

[INFO] JPMS Integration test .............................. FAILURE [  0.413 s]
[INFO] JPMS module example (library) ...................... SKIPPED
[INFO] JPMS module example (application) 1.1-SNAPSHOT ..... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 06:46 min
[INFO] Finished at: 2018-07-10T12:44:25-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.16:check (checkAPIcompatibility) on project commons-rng-examples-jpms: Failed to obtain signature: org.codehaus.mojo.signature:java90:1.0: Failure to find org.codehaus.mojo.signature:java90:signature:1.0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced
[ERROR] 
[ERROR] Try downloading the file manually from the project website.
[ERROR] 
[ERROR] Then, install it using the command: 
[ERROR]     mvn install:install-file -DgroupId=org.codehaus.mojo.signature -DartifactId=java90 -Dversion=1.0 -Dpackaging=signature -Dfile=/path/to/file
[ERROR] 
[ERROR] Alternatively, if you host your own repository you can deploy the file there: 
[ERROR]     mvn deploy:deploy-file -DgroupId=org.codehaus.mojo.signature -DartifactId=java90 -Dversion=1.0 -Dpackaging=signature -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR] 
[ERROR] 
[ERROR]   org.codehaus.mojo.signature:java90:signature:1.0
[ERROR] 
[ERROR] from the specified remote repositories:
[ERROR]   apache.snapshots (https://repository.apache.org/snapshots, releases=false, snapshots=true),
[ERROR]   central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false)
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[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/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :commons-rng-examples-jpms


> On Jul 10, 2018, at 12:04 PM, Rob Tompkins <chtompki@xxxxxxxxx> wrote:
> 
> I’m actually working on this but the non-deterministic unit tests drive me a little crazy. Is there a way we can both test randomness and have deterministic testing capability?
> 
> -Rob
> 
>> On Jul 3, 2018, at 1:24 PM, Gilles <gilles@xxxxxxxxxxxxxxxxxxxxx> wrote:
>> 
>> 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@xxxxxxxxxxxxxxxxxxxxx>
>>> To: Commons Developers List <dev@xxxxxxxxxxxxxxxxxx>
>>> 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@xxxxxxxxxxxxxxxxxx
>> For additional commands, e-mail: dev-help@xxxxxxxxxxxxxxxxxx
>> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: dev-help@xxxxxxxxxxxxxxxxxx