Discussion:
[jira] [Created] (SUREFIRE-1541) SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
Anghel Botos (JIRA)
2018-07-24 10:28:00 UTC
Permalink
Anghel Botos created SUREFIRE-1541:
--------------------------------------

Summary: SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
Key: SUREFIRE-1541
URL: https://issues.apache.org/jira/browse/SUREFIRE-1541
Project: Maven Surefire
Issue Type: Bug
Components: Maven Surefire Plugin
Affects Versions: 2.22.0
Reporter: Anghel Botos


Attempting to run integration tests using maven-failsafe-plugin with {{-Dmaven.failsafe.debug=false}} yields the following stacktrace:
 


{noformat}
[ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_121\jre\bin\java" false -jar C:\Users\ANGHEL~1.BOT\AppData\Local\Temp\surefire8539836821793811485\surefirebooter6734575521909210279.jar C:\Users\anghel.botos\AppData\Local\Temp\surefire8539836821793811485 2018-07-24T11-18-12_704-jvmRun1 surefire7184511894589995478tmp surefire_411836142070426630764tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:494)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkPerTestSet(ForkStarter.java:441)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:293)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
{noformat}

 

The issue is the "free-floating" {{false}} that appears in the command line used to start a new JVM. I've traced down the issue to {{org.apache.maven.plugin.surefire.AbstractSurefireMojo#getEffectiveDebugForkedProcess}} where the following code can be found:


{code:java}
String debugForkedProcess = getDebugForkedProcess();
if ( "true".equals( debugForkedProcess ) )
{
return "-Xdebug -Xnoagent -Djava.compiler=NONE"
+ " -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005";
}
return debugForkedProcess;
{code}

...which is quite..."unexpected" to see that one can pass in a value of {{true}}, but not a value of {{false}}.

Please fix with a proper parsing of true/false values for the {{maven.failsafe.debug}} property.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Anton (JIRA)
2018-11-02 10:05:01 UTC
Permalink
[ https://issues.apache.org/jira/browse/SUREFIRE-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16672854#comment-16672854 ]

Anton commented on SUREFIRE-1541:
---------------------------------

Hello!

I get same error:

??8325 [ERROR] Error occurred in starting fork, check output in log??
??8331 [ERROR] Process Exit Code: 1??
??8331 [ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called???

Full log

[https://gitlab.com/anton_patsev/java-junit-sample/-/jobs/115679279]

Repository [https://gitlab.com/anton_patsev/java-junit-sample]

 
Post by Anghel Botos (JIRA)
SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
----------------------------------------------------------------------------------------------------------------------
Key: SUREFIRE-1541
URL: https://issues.apache.org/jira/browse/SUREFIRE-1541
Project: Maven Surefire
Issue Type: Bug
Components: Maven Surefire Plugin
Affects Versions: 2.22.0
Reporter: Anghel Botos
Priority: Major
 
{noformat}
[ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_121\jre\bin\java" false -jar C:\Users\ANGHEL~1.BOT\AppData\Local\Temp\surefire8539836821793811485\surefirebooter6734575521909210279.jar C:\Users\anghel.botos\AppData\Local\Temp\surefire8539836821793811485 2018-07-24T11-18-12_704-jvmRun1 surefire7184511894589995478tmp surefire_411836142070426630764tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:494)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkPerTestSet(ForkStarter.java:441)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:293)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
{noformat}
 
{code:java}
String debugForkedProcess = getDebugForkedProcess();
if ( "true".equals( debugForkedProcess ) )
{
return "-Xdebug -Xnoagent -Djava.compiler=NONE"
+ " -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005";
}
return debugForkedProcess;
{code}
...which is quite..."unexpected" to see that one can pass in a value of {{true}}, but not a value of {{false}}.
Please fix with a proper parsing of true/false values for the {{maven.failsafe.debug}} property.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Anton (JIRA)
2018-11-02 10:28:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/SUREFIRE-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16672884#comment-16672884 ]

Anton commented on SUREFIRE-1541:
---------------------------------

If i use maven:3.3.9-jdk8 surefire 2.22.1 - i dont get error

https://gitlab.com/anton_patsev/java-junit-sample/-/jobs/115700267
Post by Anghel Botos (JIRA)
SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
----------------------------------------------------------------------------------------------------------------------
Key: SUREFIRE-1541
URL: https://issues.apache.org/jira/browse/SUREFIRE-1541
Project: Maven Surefire
Issue Type: Bug
Components: Maven Surefire Plugin
Affects Versions: 2.22.0
Reporter: Anghel Botos
Priority: Major
 
{noformat}
[ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_121\jre\bin\java" false -jar C:\Users\ANGHEL~1.BOT\AppData\Local\Temp\surefire8539836821793811485\surefirebooter6734575521909210279.jar C:\Users\anghel.botos\AppData\Local\Temp\surefire8539836821793811485 2018-07-24T11-18-12_704-jvmRun1 surefire7184511894589995478tmp surefire_411836142070426630764tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:494)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkPerTestSet(ForkStarter.java:441)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:293)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
{noformat}
 
{code:java}
String debugForkedProcess = getDebugForkedProcess();
if ( "true".equals( debugForkedProcess ) )
{
return "-Xdebug -Xnoagent -Djava.compiler=NONE"
+ " -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005";
}
return debugForkedProcess;
{code}
...which is quite..."unexpected" to see that one can pass in a value of {{true}}, but not a value of {{false}}.
Please fix with a proper parsing of true/false values for the {{maven.failsafe.debug}} property.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Anton (JIRA)
2018-11-02 11:09:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/SUREFIRE-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16672945#comment-16672945 ]

Anton commented on SUREFIRE-1541:
---------------------------------

h3. maven:3.5.4-jdk-8 surefire 2.22.1 - FAILED

https://gitlab.com/anton_patsev/java-junit-sample/-/jobs/115721004
h3. maven:3.5.3-jdk-8 surefire 2.22.1 - SUCCESS

https://gitlab.com/anton_patsev/java-junit-sample/-/jobs/115721102
Post by Anghel Botos (JIRA)
SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
----------------------------------------------------------------------------------------------------------------------
Key: SUREFIRE-1541
URL: https://issues.apache.org/jira/browse/SUREFIRE-1541
Project: Maven Surefire
Issue Type: Bug
Components: Maven Surefire Plugin
Affects Versions: 2.22.0
Reporter: Anghel Botos
Priority: Major
 
{noformat}
[ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_121\jre\bin\java" false -jar C:\Users\ANGHEL~1.BOT\AppData\Local\Temp\surefire8539836821793811485\surefirebooter6734575521909210279.jar C:\Users\anghel.botos\AppData\Local\Temp\surefire8539836821793811485 2018-07-24T11-18-12_704-jvmRun1 surefire7184511894589995478tmp surefire_411836142070426630764tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:494)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkPerTestSet(ForkStarter.java:441)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:293)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
{noformat}
 
{code:java}
String debugForkedProcess = getDebugForkedProcess();
if ( "true".equals( debugForkedProcess ) )
{
return "-Xdebug -Xnoagent -Djava.compiler=NONE"
+ " -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005";
}
return debugForkedProcess;
{code}
...which is quite..."unexpected" to see that one can pass in a value of {{true}}, but not a value of {{false}}.
Please fix with a proper parsing of true/false values for the {{maven.failsafe.debug}} property.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Anton (JIRA)
2018-11-03 14:33:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/SUREFIRE-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16674063#comment-16674063 ]

Anton commented on SUREFIRE-1541:
---------------------------------

maven:3.6.0-jdk-8 surefire 2.22.1 - FAILED

https://gitlab.com/anton_patsev/java-junit-sample/-/jobs/116087079
Post by Anghel Botos (JIRA)
SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
----------------------------------------------------------------------------------------------------------------------
Key: SUREFIRE-1541
URL: https://issues.apache.org/jira/browse/SUREFIRE-1541
Project: Maven Surefire
Issue Type: Bug
Components: Maven Surefire Plugin
Affects Versions: 2.22.0
Reporter: Anghel Botos
Priority: Major
 
{noformat}
[ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_121\jre\bin\java" false -jar C:\Users\ANGHEL~1.BOT\AppData\Local\Temp\surefire8539836821793811485\surefirebooter6734575521909210279.jar C:\Users\anghel.botos\AppData\Local\Temp\surefire8539836821793811485 2018-07-24T11-18-12_704-jvmRun1 surefire7184511894589995478tmp surefire_411836142070426630764tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:494)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkPerTestSet(ForkStarter.java:441)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:293)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
{noformat}
 
{code:java}
String debugForkedProcess = getDebugForkedProcess();
if ( "true".equals( debugForkedProcess ) )
{
return "-Xdebug -Xnoagent -Djava.compiler=NONE"
+ " -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005";
}
return debugForkedProcess;
{code}
...which is quite..."unexpected" to see that one can pass in a value of {{true}}, but not a value of {{false}}.
Please fix with a proper parsing of true/false values for the {{maven.failsafe.debug}} property.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Tibor Digana (JIRA)
2018-11-04 18:21:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/SUREFIRE-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16674469#comment-16674469 ]

Tibor Digana commented on SUREFIRE-1541:
----------------------------------------

[~abotos]
I think {{getDebugForkedProcess()}} has nothing to do with the stacktrace.
It's strange to me that you are debugging Surefire forked process via Docker.
The PING events are not checked while debugging. So. This should not kill the subprocess. We should check it out without Docker.
Post by Anghel Botos (JIRA)
SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
----------------------------------------------------------------------------------------------------------------------
Key: SUREFIRE-1541
URL: https://issues.apache.org/jira/browse/SUREFIRE-1541
Project: Maven Surefire
Issue Type: Bug
Components: Maven Surefire Plugin
Affects Versions: 2.22.0
Reporter: Anghel Botos
Priority: Major
 
{noformat}
[ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_121\jre\bin\java" false -jar C:\Users\ANGHEL~1.BOT\AppData\Local\Temp\surefire8539836821793811485\surefirebooter6734575521909210279.jar C:\Users\anghel.botos\AppData\Local\Temp\surefire8539836821793811485 2018-07-24T11-18-12_704-jvmRun1 surefire7184511894589995478tmp surefire_411836142070426630764tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:494)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkPerTestSet(ForkStarter.java:441)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:293)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
{noformat}
 
{code:java}
String debugForkedProcess = getDebugForkedProcess();
if ( "true".equals( debugForkedProcess ) )
{
return "-Xdebug -Xnoagent -Djava.compiler=NONE"
+ " -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005";
}
return debugForkedProcess;
{code}
...which is quite..."unexpected" to see that one can pass in a value of {{true}}, but not a value of {{false}}.
Please fix with a proper parsing of true/false values for the {{maven.failsafe.debug}} property.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Anton (JIRA)
2018-11-04 22:35:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/SUREFIRE-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16674538#comment-16674538 ]

Anton commented on SUREFIRE-1541:
---------------------------------

I am not debugging Surefire forked process via Docker.

I am try run test maven-failsafe-plugin in gitlab ci (Docker)

How i can help for fix this issue? (i am DevOps)
Post by Anghel Botos (JIRA)
SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
----------------------------------------------------------------------------------------------------------------------
Key: SUREFIRE-1541
URL: https://issues.apache.org/jira/browse/SUREFIRE-1541
Project: Maven Surefire
Issue Type: Bug
Components: Maven Surefire Plugin
Affects Versions: 2.22.0
Reporter: Anghel Botos
Priority: Major
 
{noformat}
[ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_121\jre\bin\java" false -jar C:\Users\ANGHEL~1.BOT\AppData\Local\Temp\surefire8539836821793811485\surefirebooter6734575521909210279.jar C:\Users\anghel.botos\AppData\Local\Temp\surefire8539836821793811485 2018-07-24T11-18-12_704-jvmRun1 surefire7184511894589995478tmp surefire_411836142070426630764tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:494)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkPerTestSet(ForkStarter.java:441)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:293)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
{noformat}
 
{code:java}
String debugForkedProcess = getDebugForkedProcess();
if ( "true".equals( debugForkedProcess ) )
{
return "-Xdebug -Xnoagent -Djava.compiler=NONE"
+ " -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005";
}
return debugForkedProcess;
{code}
...which is quite..."unexpected" to see that one can pass in a value of {{true}}, but not a value of {{false}}.
Please fix with a proper parsing of true/false values for the {{maven.failsafe.debug}} property.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Tibor Digana (JIRA)
2018-11-04 23:19:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/SUREFIRE-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16674551#comment-16674551 ]

Tibor Digana commented on SUREFIRE-1541:
----------------------------------------

[~patsevanton]
Not sure yet if you can help right now. We will ask you for a help after we have reproduced the issue.
Post by Anghel Botos (JIRA)
SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
----------------------------------------------------------------------------------------------------------------------
Key: SUREFIRE-1541
URL: https://issues.apache.org/jira/browse/SUREFIRE-1541
Project: Maven Surefire
Issue Type: Bug
Components: Maven Surefire Plugin
Affects Versions: 2.22.0
Reporter: Anghel Botos
Priority: Major
 
{noformat}
[ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_121\jre\bin\java" false -jar C:\Users\ANGHEL~1.BOT\AppData\Local\Temp\surefire8539836821793811485\surefirebooter6734575521909210279.jar C:\Users\anghel.botos\AppData\Local\Temp\surefire8539836821793811485 2018-07-24T11-18-12_704-jvmRun1 surefire7184511894589995478tmp surefire_411836142070426630764tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:494)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkPerTestSet(ForkStarter.java:441)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:293)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
{noformat}
 
{code:java}
String debugForkedProcess = getDebugForkedProcess();
if ( "true".equals( debugForkedProcess ) )
{
return "-Xdebug -Xnoagent -Djava.compiler=NONE"
+ " -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005";
}
return debugForkedProcess;
{code}
...which is quite..."unexpected" to see that one can pass in a value of {{true}}, but not a value of {{false}}.
Please fix with a proper parsing of true/false values for the {{maven.failsafe.debug}} property.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Sander Wozniak (JIRA)
2018-11-07 09:59:01 UTC
Permalink
[ https://issues.apache.org/jira/browse/SUREFIRE-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16677944#comment-16677944 ]

Sander Wozniak commented on SUREFIRE-1541:
------------------------------------------

We have observed the same issue in our project (both inside and outside of Docker). It seems to also affect older releases of the plugin (2.19.1). Maven 3.6.0 and 3.5.4 did not work, downgrading to 3.5.3 solved the issue.
Post by Anghel Botos (JIRA)
SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
----------------------------------------------------------------------------------------------------------------------
Key: SUREFIRE-1541
URL: https://issues.apache.org/jira/browse/SUREFIRE-1541
Project: Maven Surefire
Issue Type: Bug
Components: Maven Surefire Plugin
Affects Versions: 2.22.0
Reporter: Anghel Botos
Priority: Major
 
{noformat}
[ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_121\jre\bin\java" false -jar C:\Users\ANGHEL~1.BOT\AppData\Local\Temp\surefire8539836821793811485\surefirebooter6734575521909210279.jar C:\Users\anghel.botos\AppData\Local\Temp\surefire8539836821793811485 2018-07-24T11-18-12_704-jvmRun1 surefire7184511894589995478tmp surefire_411836142070426630764tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:494)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkPerTestSet(ForkStarter.java:441)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:293)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
{noformat}
 
{code:java}
String debugForkedProcess = getDebugForkedProcess();
if ( "true".equals( debugForkedProcess ) )
{
return "-Xdebug -Xnoagent -Djava.compiler=NONE"
+ " -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005";
}
return debugForkedProcess;
{code}
...which is quite..."unexpected" to see that one can pass in a value of {{true}}, but not a value of {{false}}.
Please fix with a proper parsing of true/false values for the {{maven.failsafe.debug}} property.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Sander Wozniak (JIRA)
2018-11-07 09:59:01 UTC
Permalink
[ https://issues.apache.org/jira/browse/SUREFIRE-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16677944#comment-16677944 ]

Sander Wozniak edited comment on SUREFIRE-1541 at 11/7/18 9:58 AM:
-------------------------------------------------------------------

We have observed the same issue in our project (both inside and outside of Docker). It seems to also affect older releases of the plugin (2.19.1). Maven 3.6.0 and 3.5.4 did not work, downgrading to 3.5.3 seems to solve the issue.


was (Author: sawo):
We have observed the same issue in our project (both inside and outside of Docker). It seems to also affect older releases of the plugin (2.19.1). Maven 3.6.0 and 3.5.4 did not work, downgrading to 3.5.3 solved the issue.
Post by Anghel Botos (JIRA)
SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
----------------------------------------------------------------------------------------------------------------------
Key: SUREFIRE-1541
URL: https://issues.apache.org/jira/browse/SUREFIRE-1541
Project: Maven Surefire
Issue Type: Bug
Components: Maven Surefire Plugin
Affects Versions: 2.22.0
Reporter: Anghel Botos
Priority: Major
 
{noformat}
[ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_121\jre\bin\java" false -jar C:\Users\ANGHEL~1.BOT\AppData\Local\Temp\surefire8539836821793811485\surefirebooter6734575521909210279.jar C:\Users\anghel.botos\AppData\Local\Temp\surefire8539836821793811485 2018-07-24T11-18-12_704-jvmRun1 surefire7184511894589995478tmp surefire_411836142070426630764tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:494)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkPerTestSet(ForkStarter.java:441)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:293)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
{noformat}
 
{code:java}
String debugForkedProcess = getDebugForkedProcess();
if ( "true".equals( debugForkedProcess ) )
{
return "-Xdebug -Xnoagent -Djava.compiler=NONE"
+ " -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005";
}
return debugForkedProcess;
{code}
...which is quite..."unexpected" to see that one can pass in a value of {{true}}, but not a value of {{false}}.
Please fix with a proper parsing of true/false values for the {{maven.failsafe.debug}} property.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Sander Wozniak (JIRA)
2018-11-07 10:03:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/SUREFIRE-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16677944#comment-16677944 ]

Sander Wozniak edited comment on SUREFIRE-1541 at 11/7/18 10:02 AM:
--------------------------------------------------------------------

We have observed the same issue in our Java 8 project (both inside and outside of Docker). It seems to also affect older releases of the plugin (2.19.1). Maven 3.6.0 and 3.5.4 did not work, downgrading to 3.5.3 seems to solve the issue.


was (Author: sawo):
We have observed the same issue in our project (both inside and outside of Docker). It seems to also affect older releases of the plugin (2.19.1). Maven 3.6.0 and 3.5.4 did not work, downgrading to 3.5.3 seems to solve the issue.
Post by Anghel Botos (JIRA)
SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
----------------------------------------------------------------------------------------------------------------------
Key: SUREFIRE-1541
URL: https://issues.apache.org/jira/browse/SUREFIRE-1541
Project: Maven Surefire
Issue Type: Bug
Components: Maven Surefire Plugin
Affects Versions: 2.22.0
Reporter: Anghel Botos
Priority: Major
 
{noformat}
[ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_121\jre\bin\java" false -jar C:\Users\ANGHEL~1.BOT\AppData\Local\Temp\surefire8539836821793811485\surefirebooter6734575521909210279.jar C:\Users\anghel.botos\AppData\Local\Temp\surefire8539836821793811485 2018-07-24T11-18-12_704-jvmRun1 surefire7184511894589995478tmp surefire_411836142070426630764tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:494)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkPerTestSet(ForkStarter.java:441)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:293)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
{noformat}
 
{code:java}
String debugForkedProcess = getDebugForkedProcess();
if ( "true".equals( debugForkedProcess ) )
{
return "-Xdebug -Xnoagent -Djava.compiler=NONE"
+ " -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005";
}
return debugForkedProcess;
{code}
...which is quite..."unexpected" to see that one can pass in a value of {{true}}, but not a value of {{false}}.
Please fix with a proper parsing of true/false values for the {{maven.failsafe.debug}} property.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Tibor Digana (JIRA)
2018-11-07 10:17:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/SUREFIRE-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16677972#comment-16677972 ]

Tibor Digana commented on SUREFIRE-1541:
----------------------------------------

[~patsevanton]
[~sawo]
??Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.??
It would speed up the investigating the problem if you attached the dump file (see {{target/surefire-reports}}) directly from Docker run.
Post by Anghel Botos (JIRA)
SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
----------------------------------------------------------------------------------------------------------------------
Key: SUREFIRE-1541
URL: https://issues.apache.org/jira/browse/SUREFIRE-1541
Project: Maven Surefire
Issue Type: Bug
Components: Maven Surefire Plugin
Affects Versions: 2.22.0
Reporter: Anghel Botos
Priority: Major
 
{noformat}
[ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_121\jre\bin\java" false -jar C:\Users\ANGHEL~1.BOT\AppData\Local\Temp\surefire8539836821793811485\surefirebooter6734575521909210279.jar C:\Users\anghel.botos\AppData\Local\Temp\surefire8539836821793811485 2018-07-24T11-18-12_704-jvmRun1 surefire7184511894589995478tmp surefire_411836142070426630764tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:494)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkPerTestSet(ForkStarter.java:441)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:293)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
{noformat}
 
{code:java}
String debugForkedProcess = getDebugForkedProcess();
if ( "true".equals( debugForkedProcess ) )
{
return "-Xdebug -Xnoagent -Djava.compiler=NONE"
+ " -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005";
}
return debugForkedProcess;
{code}
...which is quite..."unexpected" to see that one can pass in a value of {{true}}, but not a value of {{false}}.
Please fix with a proper parsing of true/false values for the {{maven.failsafe.debug}} property.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Tibor Digana (JIRA)
2018-11-07 10:18:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/SUREFIRE-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16677972#comment-16677972 ]

Tibor Digana edited comment on SUREFIRE-1541 at 11/7/18 10:17 AM:
------------------------------------------------------------------

[~patsevanton]
[~sawo]
??Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.??
It would speed up investigating the problem if you attached the dump file (see {{target/surefire-reports}}) directly from Docker run.


was (Author: tibor17):
[~patsevanton]
[~sawo]
??Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.??
It would speed up the investigating the problem if you attached the dump file (see {{target/surefire-reports}}) directly from Docker run.
Post by Anghel Botos (JIRA)
SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
----------------------------------------------------------------------------------------------------------------------
Key: SUREFIRE-1541
URL: https://issues.apache.org/jira/browse/SUREFIRE-1541
Project: Maven Surefire
Issue Type: Bug
Components: Maven Surefire Plugin
Affects Versions: 2.22.0
Reporter: Anghel Botos
Priority: Major
 
{noformat}
[ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_121\jre\bin\java" false -jar C:\Users\ANGHEL~1.BOT\AppData\Local\Temp\surefire8539836821793811485\surefirebooter6734575521909210279.jar C:\Users\anghel.botos\AppData\Local\Temp\surefire8539836821793811485 2018-07-24T11-18-12_704-jvmRun1 surefire7184511894589995478tmp surefire_411836142070426630764tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:494)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkPerTestSet(ForkStarter.java:441)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:293)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
{noformat}
 
{code:java}
String debugForkedProcess = getDebugForkedProcess();
if ( "true".equals( debugForkedProcess ) )
{
return "-Xdebug -Xnoagent -Djava.compiler=NONE"
+ " -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005";
}
return debugForkedProcess;
{code}
...which is quite..."unexpected" to see that one can pass in a value of {{true}}, but not a value of {{false}}.
Please fix with a proper parsing of true/false values for the {{maven.failsafe.debug}} property.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Anton (JIRA)
2018-11-07 11:06:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/SUREFIRE-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16678047#comment-16678047 ]

Anton commented on SUREFIRE-1541:
---------------------------------

mvn test

[https://gitlab.com/anton_patsev/java-junit-sample/-/jobs/117458203/artifacts/browse/target/surefire-reports/]

 

mvn verify

[https://gitlab.com/anton_patsev/java-junit-sample/-/jobs/117458204/artifacts/browse/target/surefire-reports/]

 
Post by Anghel Botos (JIRA)
SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
----------------------------------------------------------------------------------------------------------------------
Key: SUREFIRE-1541
URL: https://issues.apache.org/jira/browse/SUREFIRE-1541
Project: Maven Surefire
Issue Type: Bug
Components: Maven Surefire Plugin
Affects Versions: 2.22.0
Reporter: Anghel Botos
Priority: Major
 
{noformat}
[ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_121\jre\bin\java" false -jar C:\Users\ANGHEL~1.BOT\AppData\Local\Temp\surefire8539836821793811485\surefirebooter6734575521909210279.jar C:\Users\anghel.botos\AppData\Local\Temp\surefire8539836821793811485 2018-07-24T11-18-12_704-jvmRun1 surefire7184511894589995478tmp surefire_411836142070426630764tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:494)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkPerTestSet(ForkStarter.java:441)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:293)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
{noformat}
 
{code:java}
String debugForkedProcess = getDebugForkedProcess();
if ( "true".equals( debugForkedProcess ) )
{
return "-Xdebug -Xnoagent -Djava.compiler=NONE"
+ " -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005";
}
return debugForkedProcess;
{code}
...which is quite..."unexpected" to see that one can pass in a value of {{true}}, but not a value of {{false}}.
Please fix with a proper parsing of true/false values for the {{maven.failsafe.debug}} property.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Bohdan Chupika (JIRA)
2018-11-09 14:57:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/SUREFIRE-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16681552#comment-16681552 ]

Bohdan Chupika commented on SUREFIRE-1541:
------------------------------------------

Hi, [~patsevanton]
I had the same error. Solved this by adding *<useSystemClassLoader>false</useSystemClassLoader>* property:

{code:java}
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${mavenSurefirePluginVersion}</version>
<dependencies>
<dependency>
<groupId>org.apache.maven.surefire</groupId>
<artifactId>surefire-junit47</artifactId>
<version>2.20.1</version>
</dependency>
</dependencies>
<configuration>
<useSystemClassLoader>false</useSystemClassLoader>
<skipTests>false</skipTests>
<includes>
<include>**/*.class</include>
</includes>
<excludedGroups>com.my.package.IntegrationTest</excludedGroups>
</configuration>
</plugin>
{code}
Post by Anghel Botos (JIRA)
SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
----------------------------------------------------------------------------------------------------------------------
Key: SUREFIRE-1541
URL: https://issues.apache.org/jira/browse/SUREFIRE-1541
Project: Maven Surefire
Issue Type: Bug
Components: Maven Surefire Plugin
Affects Versions: 2.22.0
Reporter: Anghel Botos
Priority: Major
 
{noformat}
[ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_121\jre\bin\java" false -jar C:\Users\ANGHEL~1.BOT\AppData\Local\Temp\surefire8539836821793811485\surefirebooter6734575521909210279.jar C:\Users\anghel.botos\AppData\Local\Temp\surefire8539836821793811485 2018-07-24T11-18-12_704-jvmRun1 surefire7184511894589995478tmp surefire_411836142070426630764tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:494)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkPerTestSet(ForkStarter.java:441)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:293)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
{noformat}
 
{code:java}
String debugForkedProcess = getDebugForkedProcess();
if ( "true".equals( debugForkedProcess ) )
{
return "-Xdebug -Xnoagent -Djava.compiler=NONE"
+ " -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005";
}
return debugForkedProcess;
{code}
...which is quite..."unexpected" to see that one can pass in a value of {{true}}, but not a value of {{false}}.
Please fix with a proper parsing of true/false values for the {{maven.failsafe.debug}} property.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Tibor Digana (JIRA)
2018-11-09 15:11:01 UTC
Permalink
[ https://issues.apache.org/jira/browse/SUREFIRE-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16681572#comment-16681572 ]

Tibor Digana commented on SUREFIRE-1541:
----------------------------------------

[~bchupika]
Do not use this workaround.
I think you have totally different problem - SUREFIRE1588.
Use the latest version {{3.0.0-M1}}.
Post by Anghel Botos (JIRA)
SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
----------------------------------------------------------------------------------------------------------------------
Key: SUREFIRE-1541
URL: https://issues.apache.org/jira/browse/SUREFIRE-1541
Project: Maven Surefire
Issue Type: Bug
Components: Maven Surefire Plugin
Affects Versions: 2.22.0
Reporter: Anghel Botos
Priority: Major
 
{noformat}
[ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_121\jre\bin\java" false -jar C:\Users\ANGHEL~1.BOT\AppData\Local\Temp\surefire8539836821793811485\surefirebooter6734575521909210279.jar C:\Users\anghel.botos\AppData\Local\Temp\surefire8539836821793811485 2018-07-24T11-18-12_704-jvmRun1 surefire7184511894589995478tmp surefire_411836142070426630764tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:494)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkPerTestSet(ForkStarter.java:441)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:293)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
{noformat}
 
{code:java}
String debugForkedProcess = getDebugForkedProcess();
if ( "true".equals( debugForkedProcess ) )
{
return "-Xdebug -Xnoagent -Djava.compiler=NONE"
+ " -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005";
}
return debugForkedProcess;
{code}
...which is quite..."unexpected" to see that one can pass in a value of {{true}}, but not a value of {{false}}.
Please fix with a proper parsing of true/false values for the {{maven.failsafe.debug}} property.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Tibor Digana (JIRA)
2018-11-09 15:12:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/SUREFIRE-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16681572#comment-16681572 ]

Tibor Digana edited comment on SUREFIRE-1541 at 11/9/18 3:11 PM:
-----------------------------------------------------------------

[~bchupika]
Do not use this workaround.
I think you have totally different problem - [SUREFIRE1588|https://issues.apache.org/jira/browse/SUREFIRE-1555].
Use the latest version {{3.0.0-M1}}.


was (Author: tibor17):
[~bchupika]
Do not use this workaround.
I think you have totally different problem - SUREFIRE1588.
Use the latest version {{3.0.0-M1}}.
Post by Anghel Botos (JIRA)
SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
----------------------------------------------------------------------------------------------------------------------
Key: SUREFIRE-1541
URL: https://issues.apache.org/jira/browse/SUREFIRE-1541
Project: Maven Surefire
Issue Type: Bug
Components: Maven Surefire Plugin
Affects Versions: 2.22.0
Reporter: Anghel Botos
Priority: Major
 
{noformat}
[ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_121\jre\bin\java" false -jar C:\Users\ANGHEL~1.BOT\AppData\Local\Temp\surefire8539836821793811485\surefirebooter6734575521909210279.jar C:\Users\anghel.botos\AppData\Local\Temp\surefire8539836821793811485 2018-07-24T11-18-12_704-jvmRun1 surefire7184511894589995478tmp surefire_411836142070426630764tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:494)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkPerTestSet(ForkStarter.java:441)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:293)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
{noformat}
 
{code:java}
String debugForkedProcess = getDebugForkedProcess();
if ( "true".equals( debugForkedProcess ) )
{
return "-Xdebug -Xnoagent -Djava.compiler=NONE"
+ " -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005";
}
return debugForkedProcess;
{code}
...which is quite..."unexpected" to see that one can pass in a value of {{true}}, but not a value of {{false}}.
Please fix with a proper parsing of true/false values for the {{maven.failsafe.debug}} property.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Tibor Digana (JIRA)
2018-11-09 15:21:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/SUREFIRE-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16681586#comment-16681586 ]

Tibor Digana commented on SUREFIRE-1541:
----------------------------------------

[~patsevanton]
Use the latest version {{3.0.0-M1}} of the plugin together with {{maven:3.5.4-jdk-8}} and let me know the result. Thx
Post by Anghel Botos (JIRA)
SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
----------------------------------------------------------------------------------------------------------------------
Key: SUREFIRE-1541
URL: https://issues.apache.org/jira/browse/SUREFIRE-1541
Project: Maven Surefire
Issue Type: Bug
Components: Maven Surefire Plugin
Affects Versions: 2.22.0
Reporter: Anghel Botos
Priority: Major
 
{noformat}
[ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_121\jre\bin\java" false -jar C:\Users\ANGHEL~1.BOT\AppData\Local\Temp\surefire8539836821793811485\surefirebooter6734575521909210279.jar C:\Users\anghel.botos\AppData\Local\Temp\surefire8539836821793811485 2018-07-24T11-18-12_704-jvmRun1 surefire7184511894589995478tmp surefire_411836142070426630764tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:494)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkPerTestSet(ForkStarter.java:441)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:293)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
{noformat}
 
{code:java}
String debugForkedProcess = getDebugForkedProcess();
if ( "true".equals( debugForkedProcess ) )
{
return "-Xdebug -Xnoagent -Djava.compiler=NONE"
+ " -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005";
}
return debugForkedProcess;
{code}
...which is quite..."unexpected" to see that one can pass in a value of {{true}}, but not a value of {{false}}.
Please fix with a proper parsing of true/false values for the {{maven.failsafe.debug}} property.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Anton (JIRA)
2018-11-09 16:26:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/SUREFIRE-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16681665#comment-16681665 ]

Anton edited comment on SUREFIRE-1541 at 11/9/18 4:25 PM:
----------------------------------------------------------

Yes.

https://gitlab.com/anton_patsev/java-junit-sample/pipelines/36051881

maven-surefire-plugin 3.0.0-M1 with maven:3.6.0-jdk-8 fixed issue. Thx!

maven-surefire-plugin 3.0.0-M1 - is beta? when new stable release?

 


was (Author: patsevanton):
Yes. maven-surefire-plugin 3.0.0-M1 with maven:3.6.0-jdk-8 fixed issue. Thx!

maven-surefire-plugin 3.0.0-M1 - is beta? when new stable release?

 
Post by Anghel Botos (JIRA)
SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
----------------------------------------------------------------------------------------------------------------------
Key: SUREFIRE-1541
URL: https://issues.apache.org/jira/browse/SUREFIRE-1541
Project: Maven Surefire
Issue Type: Bug
Components: Maven Surefire Plugin
Affects Versions: 2.22.0
Reporter: Anghel Botos
Priority: Major
 
{noformat}
[ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_121\jre\bin\java" false -jar C:\Users\ANGHEL~1.BOT\AppData\Local\Temp\surefire8539836821793811485\surefirebooter6734575521909210279.jar C:\Users\anghel.botos\AppData\Local\Temp\surefire8539836821793811485 2018-07-24T11-18-12_704-jvmRun1 surefire7184511894589995478tmp surefire_411836142070426630764tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:494)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkPerTestSet(ForkStarter.java:441)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:293)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
{noformat}
 
{code:java}
String debugForkedProcess = getDebugForkedProcess();
if ( "true".equals( debugForkedProcess ) )
{
return "-Xdebug -Xnoagent -Djava.compiler=NONE"
+ " -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005";
}
return debugForkedProcess;
{code}
...which is quite..."unexpected" to see that one can pass in a value of {{true}}, but not a value of {{false}}.
Please fix with a proper parsing of true/false values for the {{maven.failsafe.debug}} property.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Anton (JIRA)
2018-11-09 16:26:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/SUREFIRE-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16681665#comment-16681665 ]

Anton commented on SUREFIRE-1541:
---------------------------------

Yes. maven-surefire-plugin 3.0.0-M1 with maven:3.6.0-jdk-8 fixed issue. Thx!

maven-surefire-plugin 3.0.0-M1 - is beta? when new stable release?

 
Post by Anghel Botos (JIRA)
SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
----------------------------------------------------------------------------------------------------------------------
Key: SUREFIRE-1541
URL: https://issues.apache.org/jira/browse/SUREFIRE-1541
Project: Maven Surefire
Issue Type: Bug
Components: Maven Surefire Plugin
Affects Versions: 2.22.0
Reporter: Anghel Botos
Priority: Major
 
{noformat}
[ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_121\jre\bin\java" false -jar C:\Users\ANGHEL~1.BOT\AppData\Local\Temp\surefire8539836821793811485\surefirebooter6734575521909210279.jar C:\Users\anghel.botos\AppData\Local\Temp\surefire8539836821793811485 2018-07-24T11-18-12_704-jvmRun1 surefire7184511894589995478tmp surefire_411836142070426630764tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:494)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkPerTestSet(ForkStarter.java:441)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:293)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
{noformat}
 
{code:java}
String debugForkedProcess = getDebugForkedProcess();
if ( "true".equals( debugForkedProcess ) )
{
return "-Xdebug -Xnoagent -Djava.compiler=NONE"
+ " -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005";
}
return debugForkedProcess;
{code}
...which is quite..."unexpected" to see that one can pass in a value of {{true}}, but not a value of {{false}}.
Please fix with a proper parsing of true/false values for the {{maven.failsafe.debug}} property.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Tibor Digana (JIRA)
2018-11-09 16:34:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/SUREFIRE-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16681677#comment-16681677 ]

Tibor Digana commented on SUREFIRE-1541:
----------------------------------------

[~patsevanton]
No, it's not a beta. It's release candidate. We used Java 1.7 and Maven API 3.0 and we fixed {{SUREFIRE-1588}} which is fix for your problem. The API 3.0 and java 1.7 is a MUST for our plugin version 3.0.0 but since we are expecting more dramatic changes, that we cannot do after the release 3.0.0, we have release the mandatory M1 first of all and then we will continue with more release candidates which break some backwards compatibility (but not everything of course - only those API which fix critical and blocker issues - see Jira).
Post by Anghel Botos (JIRA)
SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
----------------------------------------------------------------------------------------------------------------------
Key: SUREFIRE-1541
URL: https://issues.apache.org/jira/browse/SUREFIRE-1541
Project: Maven Surefire
Issue Type: Bug
Components: Maven Surefire Plugin
Affects Versions: 2.22.0
Reporter: Anghel Botos
Priority: Major
 
{noformat}
[ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_121\jre\bin\java" false -jar C:\Users\ANGHEL~1.BOT\AppData\Local\Temp\surefire8539836821793811485\surefirebooter6734575521909210279.jar C:\Users\anghel.botos\AppData\Local\Temp\surefire8539836821793811485 2018-07-24T11-18-12_704-jvmRun1 surefire7184511894589995478tmp surefire_411836142070426630764tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:494)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkPerTestSet(ForkStarter.java:441)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:293)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
{noformat}
 
{code:java}
String debugForkedProcess = getDebugForkedProcess();
if ( "true".equals( debugForkedProcess ) )
{
return "-Xdebug -Xnoagent -Djava.compiler=NONE"
+ " -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005";
}
return debugForkedProcess;
{code}
...which is quite..."unexpected" to see that one can pass in a value of {{true}}, but not a value of {{false}}.
Please fix with a proper parsing of true/false values for the {{maven.failsafe.debug}} property.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Tibor Digana (JIRA)
2018-11-09 16:35:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/SUREFIRE-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tibor Digana closed SUREFIRE-1541.
----------------------------------
Resolution: Duplicate
Assignee: Tibor Digana
Post by Anghel Botos (JIRA)
SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
----------------------------------------------------------------------------------------------------------------------
Key: SUREFIRE-1541
URL: https://issues.apache.org/jira/browse/SUREFIRE-1541
Project: Maven Surefire
Issue Type: Bug
Components: Maven Surefire Plugin
Affects Versions: 2.22.0
Reporter: Anghel Botos
Assignee: Tibor Digana
Priority: Major
 
{noformat}
[ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_121\jre\bin\java" false -jar C:\Users\ANGHEL~1.BOT\AppData\Local\Temp\surefire8539836821793811485\surefirebooter6734575521909210279.jar C:\Users\anghel.botos\AppData\Local\Temp\surefire8539836821793811485 2018-07-24T11-18-12_704-jvmRun1 surefire7184511894589995478tmp surefire_411836142070426630764tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:494)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkPerTestSet(ForkStarter.java:441)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:293)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
{noformat}
 
{code:java}
String debugForkedProcess = getDebugForkedProcess();
if ( "true".equals( debugForkedProcess ) )
{
return "-Xdebug -Xnoagent -Djava.compiler=NONE"
+ " -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005";
}
return debugForkedProcess;
{code}
...which is quite..."unexpected" to see that one can pass in a value of {{true}}, but not a value of {{false}}.
Please fix with a proper parsing of true/false values for the {{maven.failsafe.debug}} property.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Radoslav Ivanov (JIRA)
2018-11-13 22:44:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/SUREFIRE-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16685852#comment-16685852 ]

Radoslav Ivanov commented on SUREFIRE-1541:
-------------------------------------------

This issue is still reproducible on Windows with OpenJDK 11, Maven 3.6.0 and SURFIRE plugin 3.0.0-M1
{code:java}
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C "D:\jdk\openjdk-11\bin\java -Dformcenter.version=18.11.0 -jar C:\Users\dev\AppData\Local\Temp\surefire15361055596163701059\surefirebooter7359148605052433678.jar C:\Users\dev\AppData\Local\Temp\surefire15361055596163701059 2018-11-13T15-01-05_359-jvmRun2 surefire9627993971155929482tmp surefire_74224518744146218853tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] Crashed tests:
[ERROR] com.avoka.tm.workspace.impl.CategoryApiServiceImplTestCase
[ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C "D:\jdk\openjdk-11\bin\java -Dformcenter.version=18.11.0 -jar C:\Users\dev\AppData\Local\Temp\surefire15361055596163701059\surefirebooter7359148605052433678.jar C:\Users\dev\AppData\Local\Temp\surefire15361055596163701059 2018-11-13T15-01-05_359-jvmRun2 surefire9627993971155929482tmp surefire_74224518744146218853tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] Crashed tests:
{code}
Any suggestions on how to solve it would be much appreciated.
Post by Anghel Botos (JIRA)
SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
----------------------------------------------------------------------------------------------------------------------
Key: SUREFIRE-1541
URL: https://issues.apache.org/jira/browse/SUREFIRE-1541
Project: Maven Surefire
Issue Type: Bug
Components: Maven Surefire Plugin
Affects Versions: 2.22.0
Reporter: Anghel Botos
Assignee: Tibor Digana
Priority: Major
 
{noformat}
[ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_121\jre\bin\java" false -jar C:\Users\ANGHEL~1.BOT\AppData\Local\Temp\surefire8539836821793811485\surefirebooter6734575521909210279.jar C:\Users\anghel.botos\AppData\Local\Temp\surefire8539836821793811485 2018-07-24T11-18-12_704-jvmRun1 surefire7184511894589995478tmp surefire_411836142070426630764tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:494)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkPerTestSet(ForkStarter.java:441)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:293)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
{noformat}
 
{code:java}
String debugForkedProcess = getDebugForkedProcess();
if ( "true".equals( debugForkedProcess ) )
{
return "-Xdebug -Xnoagent -Djava.compiler=NONE"
+ " -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005";
}
return debugForkedProcess;
{code}
...which is quite..."unexpected" to see that one can pass in a value of {{true}}, but not a value of {{false}}.
Please fix with a proper parsing of true/false values for the {{maven.failsafe.debug}} property.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Tibor Digana (JIRA)
2018-11-14 01:25:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/SUREFIRE-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16685973#comment-16685973 ]

Tibor Digana commented on SUREFIRE-1541:
----------------------------------------

[~rivanov]
You use Docker or Vagrant or normal host?
If it is normal host then it is not still reproducible but it is another issue.
Do you see the first line [ERROR], can you find the dump files and attach them?
You used another java version as well?
Post by Anghel Botos (JIRA)
SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
----------------------------------------------------------------------------------------------------------------------
Key: SUREFIRE-1541
URL: https://issues.apache.org/jira/browse/SUREFIRE-1541
Project: Maven Surefire
Issue Type: Bug
Components: Maven Surefire Plugin
Affects Versions: 2.22.0
Reporter: Anghel Botos
Assignee: Tibor Digana
Priority: Major
 
{noformat}
[ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_121\jre\bin\java" false -jar C:\Users\ANGHEL~1.BOT\AppData\Local\Temp\surefire8539836821793811485\surefirebooter6734575521909210279.jar C:\Users\anghel.botos\AppData\Local\Temp\surefire8539836821793811485 2018-07-24T11-18-12_704-jvmRun1 surefire7184511894589995478tmp surefire_411836142070426630764tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:494)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkPerTestSet(ForkStarter.java:441)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:293)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
{noformat}
 
{code:java}
String debugForkedProcess = getDebugForkedProcess();
if ( "true".equals( debugForkedProcess ) )
{
return "-Xdebug -Xnoagent -Djava.compiler=NONE"
+ " -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005";
}
return debugForkedProcess;
{code}
...which is quite..."unexpected" to see that one can pass in a value of {{true}}, but not a value of {{false}}.
Please fix with a proper parsing of true/false values for the {{maven.failsafe.debug}} property.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Radoslav Ivanov (JIRA)
2018-11-14 02:53:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/SUREFIRE-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16685852#comment-16685852 ]

Radoslav Ivanov edited comment on SUREFIRE-1541 at 11/14/18 2:52 AM:
---------------------------------------------------------------------

This issue is still reproducible on Windows with OpenJDK 11, Maven 3.6.0 and SURFIRE plugin 3.0.0-M1
{code:java}
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C "D:\jdk\openjdk-11\bin\java -Dformcenter.version=18.11.0 -jar C:\Users\dev\AppData\Local\Temp\surefire15361055596163701059\surefirebooter7359148605052433678.jar C:\Users\dev\AppData\Local\Temp\surefire15361055596163701059 2018-11-13T15-01-05_359-jvmRun2 surefire9627993971155929482tmp surefire_74224518744146218853tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] Crashed tests:
[ERROR] ...TestCase
[ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C "D:\jdk\openjdk-11\bin\java -Dformcenter.version=18.11.0 -jar C:\Users\dev\AppData\Local\Temp\surefire15361055596163701059\surefirebooter7359148605052433678.jar C:\Users\dev\AppData\Local\Temp\surefire15361055596163701059 2018-11-13T15-01-05_359-jvmRun2 surefire9627993971155929482tmp surefire_74224518744146218853tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] Crashed tests:
{code}
Any suggestions on how to solve it would be much appreciated.


was (Author: rivanov):
This issue is still reproducible on Windows with OpenJDK 11, Maven 3.6.0 and SURFIRE plugin 3.0.0-M1
{code:java}
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C "D:\jdk\openjdk-11\bin\java -Dformcenter.version=18.11.0 -jar C:\Users\dev\AppData\Local\Temp\surefire15361055596163701059\surefirebooter7359148605052433678.jar C:\Users\dev\AppData\Local\Temp\surefire15361055596163701059 2018-11-13T15-01-05_359-jvmRun2 surefire9627993971155929482tmp surefire_74224518744146218853tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] Crashed tests:
[ERROR] com.avoka.tm.workspace.impl.CategoryApiServiceImplTestCase
[ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C "D:\jdk\openjdk-11\bin\java -Dformcenter.version=18.11.0 -jar C:\Users\dev\AppData\Local\Temp\surefire15361055596163701059\surefirebooter7359148605052433678.jar C:\Users\dev\AppData\Local\Temp\surefire15361055596163701059 2018-11-13T15-01-05_359-jvmRun2 surefire9627993971155929482tmp surefire_74224518744146218853tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] Crashed tests:
{code}
Any suggestions on how to solve it would be much appreciated.
Post by Anghel Botos (JIRA)
SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
----------------------------------------------------------------------------------------------------------------------
Key: SUREFIRE-1541
URL: https://issues.apache.org/jira/browse/SUREFIRE-1541
Project: Maven Surefire
Issue Type: Bug
Components: Maven Surefire Plugin
Affects Versions: 2.22.0
Reporter: Anghel Botos
Assignee: Tibor Digana
Priority: Major
 
{noformat}
[ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_121\jre\bin\java" false -jar C:\Users\ANGHEL~1.BOT\AppData\Local\Temp\surefire8539836821793811485\surefirebooter6734575521909210279.jar C:\Users\anghel.botos\AppData\Local\Temp\surefire8539836821793811485 2018-07-24T11-18-12_704-jvmRun1 surefire7184511894589995478tmp surefire_411836142070426630764tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:494)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkPerTestSet(ForkStarter.java:441)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:293)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
{noformat}
 
{code:java}
String debugForkedProcess = getDebugForkedProcess();
if ( "true".equals( debugForkedProcess ) )
{
return "-Xdebug -Xnoagent -Djava.compiler=NONE"
+ " -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005";
}
return debugForkedProcess;
{code}
...which is quite..."unexpected" to see that one can pass in a value of {{true}}, but not a value of {{false}}.
Please fix with a proper parsing of true/false values for the {{maven.failsafe.debug}} property.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Radoslav Ivanov (JIRA)
2018-11-14 03:46:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/SUREFIRE-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16686059#comment-16686059 ]

Radoslav Ivanov commented on SUREFIRE-1541:
-------------------------------------------

Should we change the memory settings - note the attached.[^hs_err_pid3584.log]
Post by Anghel Botos (JIRA)
SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
----------------------------------------------------------------------------------------------------------------------
Key: SUREFIRE-1541
URL: https://issues.apache.org/jira/browse/SUREFIRE-1541
Project: Maven Surefire
Issue Type: Bug
Components: Maven Surefire Plugin
Affects Versions: 2.22.0
Reporter: Anghel Botos
Assignee: Tibor Digana
Priority: Major
Attachments: hs_err_pid3584.log
 
{noformat}
[ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_121\jre\bin\java" false -jar C:\Users\ANGHEL~1.BOT\AppData\Local\Temp\surefire8539836821793811485\surefirebooter6734575521909210279.jar C:\Users\anghel.botos\AppData\Local\Temp\surefire8539836821793811485 2018-07-24T11-18-12_704-jvmRun1 surefire7184511894589995478tmp surefire_411836142070426630764tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:494)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkPerTestSet(ForkStarter.java:441)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:293)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
{noformat}
 
{code:java}
String debugForkedProcess = getDebugForkedProcess();
if ( "true".equals( debugForkedProcess ) )
{
return "-Xdebug -Xnoagent -Djava.compiler=NONE"
+ " -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005";
}
return debugForkedProcess;
{code}
...which is quite..."unexpected" to see that one can pass in a value of {{true}}, but not a value of {{false}}.
Please fix with a proper parsing of true/false values for the {{maven.failsafe.debug}} property.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Radoslav Ivanov (JIRA)
2018-11-14 03:47:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/SUREFIRE-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16686059#comment-16686059 ]

Radoslav Ivanov edited comment on SUREFIRE-1541 at 11/14/18 3:46 AM:
---------------------------------------------------------------------

Should we change the default memory settings - note the attached.[^hs_err_pid3584.log]


was (Author: rivanov):
Should we change the memory settings - note the attached.[^hs_err_pid3584.log]
Post by Anghel Botos (JIRA)
SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
----------------------------------------------------------------------------------------------------------------------
Key: SUREFIRE-1541
URL: https://issues.apache.org/jira/browse/SUREFIRE-1541
Project: Maven Surefire
Issue Type: Bug
Components: Maven Surefire Plugin
Affects Versions: 2.22.0
Reporter: Anghel Botos
Assignee: Tibor Digana
Priority: Major
Attachments: hs_err_pid3584.log
 
{noformat}
[ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_121\jre\bin\java" false -jar C:\Users\ANGHEL~1.BOT\AppData\Local\Temp\surefire8539836821793811485\surefirebooter6734575521909210279.jar C:\Users\anghel.botos\AppData\Local\Temp\surefire8539836821793811485 2018-07-24T11-18-12_704-jvmRun1 surefire7184511894589995478tmp surefire_411836142070426630764tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:494)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkPerTestSet(ForkStarter.java:441)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:293)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
{noformat}
 
{code:java}
String debugForkedProcess = getDebugForkedProcess();
if ( "true".equals( debugForkedProcess ) )
{
return "-Xdebug -Xnoagent -Djava.compiler=NONE"
+ " -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005";
}
return debugForkedProcess;
{code}
...which is quite..."unexpected" to see that one can pass in a value of {{true}}, but not a value of {{false}}.
Please fix with a proper parsing of true/false values for the {{maven.failsafe.debug}} property.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Radoslav Ivanov (JIRA)
2018-11-14 03:45:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/SUREFIRE-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Radoslav Ivanov updated SUREFIRE-1541:
--------------------------------------
Attachment: hs_err_pid3584.log
Post by Anghel Botos (JIRA)
SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
----------------------------------------------------------------------------------------------------------------------
Key: SUREFIRE-1541
URL: https://issues.apache.org/jira/browse/SUREFIRE-1541
Project: Maven Surefire
Issue Type: Bug
Components: Maven Surefire Plugin
Affects Versions: 2.22.0
Reporter: Anghel Botos
Assignee: Tibor Digana
Priority: Major
Attachments: hs_err_pid3584.log
 
{noformat}
[ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_121\jre\bin\java" false -jar C:\Users\ANGHEL~1.BOT\AppData\Local\Temp\surefire8539836821793811485\surefirebooter6734575521909210279.jar C:\Users\anghel.botos\AppData\Local\Temp\surefire8539836821793811485 2018-07-24T11-18-12_704-jvmRun1 surefire7184511894589995478tmp surefire_411836142070426630764tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:494)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkPerTestSet(ForkStarter.java:441)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:293)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
{noformat}
 
{code:java}
String debugForkedProcess = getDebugForkedProcess();
if ( "true".equals( debugForkedProcess ) )
{
return "-Xdebug -Xnoagent -Djava.compiler=NONE"
+ " -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005";
}
return debugForkedProcess;
{code}
...which is quite..."unexpected" to see that one can pass in a value of {{true}}, but not a value of {{false}}.
Please fix with a proper parsing of true/false values for the {{maven.failsafe.debug}} property.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Tibor Digana (JIRA)
2018-11-14 05:41:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/SUREFIRE-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16686107#comment-16686107 ]

Tibor Digana commented on SUREFIRE-1541:
----------------------------------------

[~rivanov]
As I said, this is another reason of the fault. You have got an Out of Memory Error. {{The system is out of physical RAM or swap space}}.
Post by Anghel Botos (JIRA)
SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
----------------------------------------------------------------------------------------------------------------------
Key: SUREFIRE-1541
URL: https://issues.apache.org/jira/browse/SUREFIRE-1541
Project: Maven Surefire
Issue Type: Bug
Components: Maven Surefire Plugin
Affects Versions: 2.22.0
Reporter: Anghel Botos
Assignee: Tibor Digana
Priority: Major
Attachments: hs_err_pid3584.log
 
{noformat}
[ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_121\jre\bin\java" false -jar C:\Users\ANGHEL~1.BOT\AppData\Local\Temp\surefire8539836821793811485\surefirebooter6734575521909210279.jar C:\Users\anghel.botos\AppData\Local\Temp\surefire8539836821793811485 2018-07-24T11-18-12_704-jvmRun1 surefire7184511894589995478tmp surefire_411836142070426630764tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:494)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkPerTestSet(ForkStarter.java:441)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:293)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
{noformat}
 
{code:java}
String debugForkedProcess = getDebugForkedProcess();
if ( "true".equals( debugForkedProcess ) )
{
return "-Xdebug -Xnoagent -Djava.compiler=NONE"
+ " -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005";
}
return debugForkedProcess;
{code}
...which is quite..."unexpected" to see that one can pass in a value of {{true}}, but not a value of {{false}}.
Please fix with a proper parsing of true/false values for the {{maven.failsafe.debug}} property.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Radoslav Ivanov (JIRA)
2018-11-16 00:41:04 UTC
Permalink
[ https://issues.apache.org/jira/browse/SUREFIRE-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16686059#comment-16686059 ]

Radoslav Ivanov edited comment on SUREFIRE-1541 at 11/16/18 12:40 AM:
----------------------------------------------------------------------

Should we change the default memory settings - note the attached.[^hs_err_pid3584.log]

(EDIT) Increasing paging file size seems to resolve my problem


was (Author: rivanov):
Should we change the default memory settings - note the attached.[^hs_err_pid3584.log]
Post by Anghel Botos (JIRA)
SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
----------------------------------------------------------------------------------------------------------------------
Key: SUREFIRE-1541
URL: https://issues.apache.org/jira/browse/SUREFIRE-1541
Project: Maven Surefire
Issue Type: Bug
Components: Maven Surefire Plugin
Affects Versions: 2.22.0
Reporter: Anghel Botos
Assignee: Tibor Digana
Priority: Major
Attachments: hs_err_pid3584.log
 
{noformat}
[ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_121\jre\bin\java" false -jar C:\Users\ANGHEL~1.BOT\AppData\Local\Temp\surefire8539836821793811485\surefirebooter6734575521909210279.jar C:\Users\anghel.botos\AppData\Local\Temp\surefire8539836821793811485 2018-07-24T11-18-12_704-jvmRun1 surefire7184511894589995478tmp surefire_411836142070426630764tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:494)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkPerTestSet(ForkStarter.java:441)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:293)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
{noformat}
 
{code:java}
String debugForkedProcess = getDebugForkedProcess();
if ( "true".equals( debugForkedProcess ) )
{
return "-Xdebug -Xnoagent -Djava.compiler=NONE"
+ " -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005";
}
return debugForkedProcess;
{code}
...which is quite..."unexpected" to see that one can pass in a value of {{true}}, but not a value of {{false}}.
Please fix with a proper parsing of true/false values for the {{maven.failsafe.debug}} property.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Loading...