The forked VM terminated without properly saying goodbye

java

#1

We’ve recently started seeing the following Maven error when running our tests in Circle CI 2.0.

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 56.909 s
[INFO] Finished at: 2017-03-27T19:36:30+00:00
[INFO] Final Memory: 59M/1130M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project inventory-service: 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 /root/inventory-service && /usr/lib/jvm/java-8-oracle/jre/bin/java -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.7.201606060606/org.jacoco.agent-0.7.7.201606060606-runtime.jar=destfile=/root/inventory-service/target/jacoco.exec -jar /root/inventory-service/target/surefire/surefirebooter1293931511920011908.jar /root/inventory-service/target/surefire/surefire4712226750116835889tmp /root/inventory-service/target/surefire/surefire_05904778223401240774tmp
[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/PluginExecutionException
Exited with code 1

It kinda looks like maybe it’s running out of memory or something?

Any ideas?

Thanks!


#2

Reach out to your CSM to get access to different resource allocation


#3

Who is our CSM?


#4

I’d reach out to sayhi@circleci.com and ask about that.


#5

I am getting the same problem with my build:

20:58:41.816 [main] DEBUG cs444.group9.JoosCompiler - Starting compilation

Killed

Results :

Tests run: 209, Failures: 0, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:24 min
[INFO] Finished at: 2018-03-14T20:58:43Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project compiler: 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]
[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/PluginExecutionException
Exited with code 1


#6