Hi,

try to add memory to surefire plugin. You must configure the plugin, and
not only maven memory.

https://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html

argLine parameter

On Fri, Jul 24, 2015 at 11:26 PM, cogmission (David Ray) <
[email protected]> wrote:

> Hi,
>
> I do not call System.exit() and can compile fine using Gradle - but "mvn
> clean install" fails telling me that the surefire plugin has detected a
> System.exit() call which is not true at all. Also, it seems after running
> several times, the failure is intermittent - meaning I try deleting my
> target directory or just running clean, and sometimes that makes the build
> work and most times it doesn't.
>
> I am running JavaSE 8.0_45-b14
>
> Please Help! My company cannot run Java 8 either due to the same failure???
>
> Here is the stack trace:
>
> Running org.numenta.nupic.examples.napi.NetworkAPIDemoTest
>
> #
>
> # A fatal error has been detected by the Java Runtime Environment:
>
> #
>
> #  SIGSEGV (0xb) at pc=0x00000001073bb1b8, pid=3071, tid=23811
>
> #
>
> # JRE version: Java(TM) SE Runtime Environment (8.0_45-b14) (build
> 1.8.0_45-b14)
>
> # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.45-b02 mixed mode
> bsd-amd64 compressed oops)
>
> # Problematic frame:
>
> # V  [libjvm.dylib+0x3bb1b8]
>
> #
>
> # Failed to write core dump. Core dumps have been disabled. To enable core
> dumping, try "ulimit -c unlimited" before starting Java again
>
> #
>
> # An error report file with more information is saved as:
>
> # /Users/cogmission/git/htm.java/hs_err_pid3071.log
>
> #
>
> # Compiler replay data is saved as:
>
> # /Users/cogmission/git/htm.java/replay_pid3071.log
>
> #
>
> # If you would like to submit a bug report, please visit:
>
> #   http://bugreport.java.com/bugreport/crash.jsp
>
> #
>
> /bin/sh: line 1:  3071 Abort trap: 6
>
> /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre/bin/java
>
> -javaagent:/Users/cogmission/.m2/repository/org/jacoco/org.jacoco.agent/0.7.5.201505241946/org.jacoco.agent-0.7.5.201505241946-runtime.jar=destfile=/Users/cogmission/git/htm.java/target/jacoco.exec
> -jar
>
> /Users/cogmission/git/htm.java/target/surefire/surefirebooter8022026702477323241.jar
>
> /Users/cogmission/git/htm.java/target/surefire/surefire7353030015599925387tmp
>
> /Users/cogmission/git/htm.java/target/surefire/surefire_07719256945721581516tmp
>
>
> Results :
>
>
> Tests run: 148, Failures: 0, Errors: 0, Skipped: 1
>
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] BUILD FAILURE
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Total time: 10.630 s
>
> [INFO] Finished at: 2015-07-24T16:09:03-05:00
>
> [INFO] Final Memory: 25M/958M
>
> [INFO]
> ------------------------------------------------------------------------
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test)
> on project htm.java: Execution default-test of goal
> org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test failed: The
> forked VM terminated without saying properly goodbye. VM crash or
> System.exit called ? -> [Help 1]
>
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test
> (default-test) on project htm.java: Execution default-test of goal
> org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test failed: The
> forked VM terminated without saying properly goodbye. VM crash or
> System.exit called ?
>
> 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:128)
>
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
>
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
>
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
>
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
>
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
>
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
> at java.lang.reflect.Method.invoke(Method.java:497)
>
> 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.12.4:test failed: The
> forked VM terminated without saying properly goodbye. VM crash or
> System.exit called ?
>
> at
>
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145)
>
> at
>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
>
> ... 20 more
>
> Caused by: java.lang.RuntimeException: The forked VM terminated without
> saying properly goodbye. VM crash or System.exit called ?
>
> at
>
> org.apache.maven.plugin.surefire.booterclient.output.ForkClient.close(ForkClient.java:257)
>
> at
>
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:301)
>
> at
>
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:116)
>
> at
>
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:740)
>
> at
>
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAllProviders(AbstractSurefireMojo.java:682)
>
> at
>
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:648)
>
> at
>
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:586)
>
> at
>
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
>
> ... 21 more
>
> [ERROR]
>
> [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/PluginExecutionException
>
> --
> *With kind regards,*
>
> David Ray
> Java Solutions Architect
>
> *Cortical.io <http://cortical.io/>*
> Sponsor of:  HTM.java <https://github.com/numenta/htm.java>
>
> [email protected]
> http://cortical.io
>
>
>
> --
> *With kind regards,*
>
> David Ray
> Java Solutions Architect
>
> *Cortical.io <http://cortical.io/>*
> Sponsor of:  HTM.java <https://github.com/numenta/htm.java>
>
> [email protected]
> http://cortical.io
>



-- 
*Quentin CAILLARD*
*Software Engineering*
Email : [email protected]
Phone : +33 (0)2 30 960 874
Fax : +33 (0)2 30 960 423

*AriadNEXT SAS*
80 av des Buttes de Coësmes
35700 RENNES - FRANCE
http://www.ariadnext.com

-- 
 

<https://idcheck.io>

Ce message et toutes les pièces jointes sont confidentiels et établis à 
l'intention exclusive de son ou ses destinataires. Si vous avez reçu ce 
message par erreur, merci d'en avertir immédiatement l'émetteur et de 
détruire le message. Toute modification, édition, utilisation ou diffusion 
non autorisée est interdite. L'émetteur décline toute responsabilité au 
titre de ce message s'il a été modifié, déformé, falsifié, infecté par un 
virus ou encore édité ou diffusé sans autorisation.

This message and any attachments are confidential and intended for the 
named addressee(s) only. If you have received this message in error, please 
notify immediately the sender, then delete the message. Any unauthorized 
modification, edition, use or dissemination is prohibited. The sender shall 
not be liable for this message if it has been modified, altered, falsified, 
infected by a virus or even edited or disseminated without authorization.

Reply via email to