maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tibor Digana (JIRA)" <>
Subject [jira] [Commented] (SUREFIRE-1508) SurefireBooterForkException with Maven 3.5.3
Date Fri, 20 Apr 2018 17:46:00 GMT


Tibor Digana commented on SUREFIRE-1508:

It might be a duplicate to SUREFIRE-1503 and SUREFIRE-1502.
I did my best. I created docker image and run container but I could not reproduce the problem.
The issues SUREFIRE-1502 and SUREFIRE-1503 are related to OS/X but the problem is that I have
Ubuntu x86_64.
I need someone who can debug surefire on Docker and reproduce it.
There is also a branch where is my fix and the guys from SUREFIRE-1422 used it and said it
did not help, so I am really very unhappy to produce a release because I do not see root cause

> SurefireBooterForkException with Maven 3.5.3
> --------------------------------------------
>                 Key: SUREFIRE-1508
>                 URL:
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Surefire Plugin
>         Environment: Docker Image maven:3.5.2-jdk-8
> SpringBoot Application testet with Spring Platform Versions Brussels-SR7 and Brussels-SR3
>            Reporter: Pertschy Simon
>            Priority: Major
>         Attachments: 2018-03-28T16-00-51_221-jvmRun1.dump, failsafe-summary.xml
> Running junit integration tests with Maven 3.5.3 gives org.apache.maven.surefire.booter.SurefireBooterForkException. 
> With Maven 3.5.2 everything runs fine.
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.20.1:verify
(default) on project explosive: There are test failures.
> [ERROR] 
> [ERROR] Please refer to /usr/src/mymaven/target/failsafe-reports for the individual test
> [ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream
and [date]-jvmRun[N].dumpstream.
> [ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated
without properly saying goodbye. VM crash or System.exit called?
> [ERROR] Command was /bin/sh -c cd /usr/src/mymaven && /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
-Dfile.encoding=UTF-8 -jar /usr/src/mymaven/target/surefire/surefirebooter8650244765410237450.jar
/usr/src/mymaven/target/surefire 2018-03-28T16-00-51_221-jvmRun1 surefire1685882686721224264tmp
> [ERROR] Error occurred in starting fork, check output in log
> [ERROR] Process Exit Code: 1
> [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(
> [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(
> [ERROR] at
> [ERROR] at
> [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(
> [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(
> [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(
> [ERROR] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(
> [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(
> [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(
> [ERROR] at
> [ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(
> [ERROR] at org.apache.maven.DefaultMaven.doExecute(
> [ERROR] at org.apache.maven.DefaultMaven.doExecute(
> [ERROR] at org.apache.maven.DefaultMaven.execute(
> [ERROR] at org.apache.maven.cli.MavenCli.execute(
> [ERROR] at org.apache.maven.cli.MavenCli.doMain(
> [ERROR] at org.apache.maven.cli.MavenCli.main(
> [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(
> [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> [ERROR] at java.lang.reflect.Method.invoke(
> [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(
> [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(
> [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(
> [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main(
> [ERROR] 
> [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]

This message was sent by Atlassian JIRA

View raw message