[jira] [Commented] (MATH-1387) Travis CI does not work in master branch
[ https://issues.apache.org/jira/browse/MATH-1387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15560582#comment-15560582 ] Rob Tompkins commented on MATH-1387: Resolved with: https://github.com/apache/commons-math/pull/44 > Travis CI does not work in master branch > > > Key: MATH-1387 > URL: https://issues.apache.org/jira/browse/MATH-1387 > Project: Commons Math > Issue Type: Bug > Environment: github >Reporter: Rob Tompkins >Assignee: Rob Tompkins > Fix For: 4.0 > > Original Estimate: 4h > Remaining Estimate: 4h > > The travis-ci & coveralls build do not work in the master branch -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MATH-1387) Travis CI does not work in master branch
[ https://issues.apache.org/jira/browse/MATH-1387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15558128#comment-15558128 ] Rob Tompkins commented on MATH-1387: That's my plan. I just wanted to write it down. > Travis CI does not work in master branch > > > Key: MATH-1387 > URL: https://issues.apache.org/jira/browse/MATH-1387 > Project: Commons Math > Issue Type: Bug > Environment: github >Reporter: Rob Tompkins >Assignee: Rob Tompkins > Original Estimate: 4h > Remaining Estimate: 4h > > The travis-ci & coveralls build do not work in the master branch -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MATH-1387) Travis CI does not work in master branch
[ https://issues.apache.org/jira/browse/MATH-1387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15558023#comment-15558023 ] Gilles commented on MATH-1387: -- Then perhaps you could ask there how to get around the problem... Thanks. > Travis CI does not work in master branch > > > Key: MATH-1387 > URL: https://issues.apache.org/jira/browse/MATH-1387 > Project: Commons Math > Issue Type: Bug > Environment: github >Reporter: Rob Tompkins >Assignee: Rob Tompkins > Original Estimate: 4h > Remaining Estimate: 4h > > The travis-ci & coveralls build do not work in the master branch -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MATH-1387) Travis CI does not work in master branch
[ https://issues.apache.org/jira/browse/MATH-1387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15557858#comment-15557858 ] Rob Tompkins commented on MATH-1387: This also looks a lot like: https://issues.apache.org/jira/browse/SUREFIRE-1193 > Travis CI does not work in master branch > > > Key: MATH-1387 > URL: https://issues.apache.org/jira/browse/MATH-1387 > Project: Commons Math > Issue Type: Bug > Environment: github >Reporter: Rob Tompkins >Assignee: Rob Tompkins > Original Estimate: 4h > Remaining Estimate: 4h > > The travis-ci & coveralls build do not work in the master branch -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MATH-1387) Travis CI does not work in master branch
[ https://issues.apache.org/jira/browse/MATH-1387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15557856#comment-15557856 ] Rob Tompkins commented on MATH-1387: The debug trace looks like {code} [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project commons-math4: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test failed: The forked VM terminated without properly saying goodbye. VM crash or System.exit called? [ERROR] Command was /bin/sh -c cd /home/travis/build/chtompki/commons-math && /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java -javaagent:/home/travis/.m2/repository/org/jacoco/org.jacoco.agent/0.7.5.201505241946/org.jacoco.agent-0.7.5.201505241946-runtime.jar=destfile=/home/travis/build/chtompki/commons-math/target/jacoco.exec -jar /home/travis/build/chtompki/commons-math/target/surefire/surefirebooter2170756884795153381.jar /home/travis/build/chtompki/commons-math/target/surefire/surefire6900190985092741351tmp /home/travis/build/chtompki/commons-math/target/surefire/surefire_01703874856244866896tmp [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project commons-math4: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test failed: The forked VM terminated without properly saying goodbye. VM crash or System.exit called? Command was /bin/sh -c cd /home/travis/build/chtompki/commons-math && /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java -javaagent:/home/travis/.m2/repository/org/jacoco/org.jacoco.agent/0.7.5.201505241946/org.jacoco.agent-0.7.5.201505241946-runtime.jar=destfile=/home/travis/build/chtompki/commons-math/target/jacoco.exec -jar /home/travis/build/chtompki/commons-math/target/surefire/surefirebooter2170756884795153381.jar /home/travis/build/chtompki/commons-math/target/surefire/surefire6900190985092741351tmp /home/travis/build/chtompki/commons-math/target/surefire/surefire_01703874856244866896tmp at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216) at org.apache.maven.cli.MavenCli.main(MavenCli.java:160) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) 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.PluginExecutionException: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test failed: The forked VM terminated without properly saying goodbye. VM crash or System.exit called? Command was /bin/sh -c cd /home/travis/build/chtompki/commons-math && /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java -javaagent:/home/travis/.m2/repository/org/jacoco/org.jacoco.agent/0.7.5.201505241946/org.jacoco.agent-0.7.5.201505241946-runtime.jar=destfile=/home/travis/build/chtompki/commons-math/target/jacoco.exec -jar /home/travis/build/chtompki/commons-math/target/surefire/surefirebooter2170756884795153381.jar /home/travis/build/chtompki/commons-math/target/surefire/surefire6900190985092741351tmp /home/travis/build/chtompki/commons-math/target/surefire/surefire_01703874856244866896tmp at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:143) at org.apache.maven.lifecycle.int
[jira] [Commented] (MATH-1387) Travis CI does not work in master branch
[ https://issues.apache.org/jira/browse/MATH-1387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15519939#comment-15519939 ] Rob Tompkins commented on MATH-1387: Hm...curious. That opens an interesting unit testing problem to solve generally: how to write a deterministic unit test for something that necessarily is non-deterministic in nature. That's a really good one that'll probably have me thinking all this week. Regardless, on the other build failure it seems that it could be failing because of some jacoco/surefire incompatibility, but I haven't pin pointed anything there...planning on continuing to chip away at it. > Travis CI does not work in master branch > > > Key: MATH-1387 > URL: https://issues.apache.org/jira/browse/MATH-1387 > Project: Commons Math > Issue Type: Bug > Environment: github >Reporter: Rob Tompkins >Assignee: Rob Tompkins > Original Estimate: 4h > Remaining Estimate: 4h > > The travis-ci & coveralls build do not work in the master branch -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MATH-1387) Travis CI does not work in master branch
[ https://issues.apache.org/jira/browse/MATH-1387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15519101#comment-15519101 ] Gilles commented on MATH-1387: -- bq. I would think we would want the build to be deterministic. >From [Javadoc for {{SecureRandom}} | >https://docs.oracle.com/javase/7/docs/api/java/security/SecureRandom.html]: >"SecureRandom must produce non-deterministic output." A way to avoid some of the build failures is to use the custom "RetryRunner". See e.g. {{src/test/java/org/apache/commons/math4/ml/neuralnet/sofm/KohonenTrainingTaskTest.java}} > Travis CI does not work in master branch > > > Key: MATH-1387 > URL: https://issues.apache.org/jira/browse/MATH-1387 > Project: Commons Math > Issue Type: Bug > Environment: github >Reporter: Rob Tompkins >Assignee: Rob Tompkins > Original Estimate: 4h > Remaining Estimate: 4h > > The travis-ci & coveralls build do not work in the master branch -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MATH-1387) Travis CI does not work in master branch
[ https://issues.apache.org/jira/browse/MATH-1387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15519006#comment-15519006 ] Rob Tompkins commented on MATH-1387: It's beginning to feel like we're running up against either thread count or memory utilization and the JVM is somehow crashing...I'm currently playing around with thread count in my fork of master: https://travis-ci.org/chtompki/commons-math/builds > Travis CI does not work in master branch > > > Key: MATH-1387 > URL: https://issues.apache.org/jira/browse/MATH-1387 > Project: Commons Math > Issue Type: Bug > Environment: github >Reporter: Rob Tompkins >Assignee: Rob Tompkins > Original Estimate: 4h > Remaining Estimate: 4h > > The travis-ci & coveralls build do not work in the master branch -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MATH-1387) Travis CI does not work in master branch
[ https://issues.apache.org/jira/browse/MATH-1387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15518986#comment-15518986 ] Rob Tompkins commented on MATH-1387: Him...that makes me feel a little uneasy. I would think we would want the build to be deterministic. > Travis CI does not work in master branch > > > Key: MATH-1387 > URL: https://issues.apache.org/jira/browse/MATH-1387 > Project: Commons Math > Issue Type: Bug > Environment: github >Reporter: Rob Tompkins >Assignee: Rob Tompkins > Original Estimate: 4h > Remaining Estimate: 4h > > The travis-ci & coveralls build do not work in the master branch -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MATH-1387) Travis CI does not work in master branch
[ https://issues.apache.org/jira/browse/MATH-1387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15510225#comment-15510225 ] Gilles commented on MATH-1387: -- The latter is not related to either Travis or the JVM version. It is due to the feature of "SecureRandom" of producing a different sequence every time the test is run. Sometimes the sequence is not uniform enough according to the statistics criterion. Just run the build again. > Travis CI does not work in master branch > > > Key: MATH-1387 > URL: https://issues.apache.org/jira/browse/MATH-1387 > Project: Commons Math > Issue Type: Bug > Environment: github >Reporter: Rob Tompkins >Assignee: Rob Tompkins > Original Estimate: 4h > Remaining Estimate: 4h > > The travis-ci & coveralls build do not work in the master branch -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MATH-1387) Travis CI does not work in master branch
[ https://issues.apache.org/jira/browse/MATH-1387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15507393#comment-15507393 ] Rob Tompkins commented on MATH-1387: For Java 1.8 the following is the exception trace: {code} Results : Failed tests: RandomUtilsDataGeneratorJDKSecureRandomTest>RandomUtilsDataGeneratorAbstractTest.testNextLongPositiveRange:104->RandomUtilsDataGeneratorAbstractTest.checkNextLongUniform:127 Chisquare test failed p-value = 0.001668143358028784 chisquare statistic = 28.2140006. value expectedobserved 1 0.09110 2 0.0963 3 0.0994 4 0.0986 5 0.0997 6 0.0986 7 0.0987 8 0.0978 9 0.09123 10 0.0981 11 0.0995 This test can fail randomly due to sampling error with probability 0.01. RandomUtilsDataGeneratorJDKSecureRandomTest>RandomUtilsDataGeneratorAbstractTest.testNextUniformUniformNegativeToPositiveBounds:251->RandomUtilsDataGeneratorAbstractTest.checkNextUniformUniform:300 Chisquare test failed p-value = 0.009193629173217643 chisquare statistic = 13.469. value expectedobserved 1 0.2 214 2 0.2 224 3 0.2 208 4 0.2 197 5 0.2 157 This test can fail randomly due to sampling error with probability 0.01. Tests run: 2693, Failures: 2, Errors: 0, Skipped: 30 {code} > Travis CI does not work in master branch > > > Key: MATH-1387 > URL: https://issues.apache.org/jira/browse/MATH-1387 > Project: Commons Math > Issue Type: Bug > Environment: github >Reporter: Rob Tompkins >Assignee: Rob Tompkins > Original Estimate: 4h > Remaining Estimate: 4h > > The travis-ci & coveralls build do not work in the master branch -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MATH-1387) Travis CI does not work in master branch
[ https://issues.apache.org/jira/browse/MATH-1387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15507391#comment-15507391 ] Rob Tompkins commented on MATH-1387: For Java 1.7 the following is the exception trace: {code} [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project commons-math4: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test failed: The forked VM terminated without properly saying goodbye. VM crash or System.exit called? [ERROR] Command was /bin/sh -c cd /home/travis/build/chtompki/commons-math && /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java -javaagent:/home/travis/.m2/repository/org/jacoco/org.jacoco.agent/0.7.5.201505241946/org.jacoco.agent-0.7.5.201505241946-runtime.jar=destfile=/home/travis/build/chtompki/commons-math/target/jacoco.exec -jar /home/travis/build/chtompki/commons-math/target/surefire/surefirebooter9184690604659772326.jar /home/travis/build/chtompki/commons-math/target/surefire/surefire4166513052699975176tmp /home/travis/build/chtompki/commons-math/target/surefire/surefire_06594136187034826821tmp {code} > Travis CI does not work in master branch > > > Key: MATH-1387 > URL: https://issues.apache.org/jira/browse/MATH-1387 > Project: Commons Math > Issue Type: Bug > Environment: github >Reporter: Rob Tompkins >Assignee: Rob Tompkins > Original Estimate: 4h > Remaining Estimate: 4h > > The travis-ci & coveralls build do not work in the master branch -- This message was sent by Atlassian JIRA (v6.3.4#6332)