maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tibor Digana (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SUREFIRE-1386) Surefire 2.20 breaks tests under linux due to fork problem
Date Thu, 06 Jul 2017 20:37:00 GMT

    [ https://issues.apache.org/jira/browse/SUREFIRE-1386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16077167#comment-16077167
] 

Tibor Digana commented on SUREFIRE-1386:
----------------------------------------

The provider version and plugin version should be the same because we have
mechanisms which must be coupled with same version on both sides.
e.g. maven-enforcer-plugin has such rule for surefire to guarantee versions
coherence.




> Surefire 2.20 breaks tests under linux due to fork problem
> ----------------------------------------------------------
>
>                 Key: SUREFIRE-1386
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1386
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Surefire Plugin
>    Affects Versions: 2.20
>         Environment: Red Hat Enterprise Linux 6.8
>            Reporter: Digant Kumar
>            Assignee: Tibor Digana
>            Priority: Minor
>
> 19:18:58 [INFO] Tests run: 11712, Failures: 0, Errors: 0, Skipped: 0
> 19:18:58 [INFO] 
> 19:18:58 [INFO] ------------------------------------------------------------------------
> 19:18:58 [INFO] BUILD FAILURE
> 19:18:58 [INFO] ------------------------------------------------------------------------
> 19:18:58 [INFO] Total time: 06:07 min
> 19:18:58 [INFO] Finished at: 2017-06-19T19:18:58+00:00
> 19:18:59 [INFO] Final Memory: 77M/1008M
> 19:18:59 [INFO] ------------------------------------------------------------------------
> 19:18:59 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.20:test
(default-test) on project xxxxxx: There are test failures.
> 19:18:59 [ERROR] 
> 19:18:59 [ERROR] Please refer to target/surefire-reports for the individual test results.
> 19:18:59 [ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream
and [date]-jvmRun[N].dumpstream.
> 19:18:59 [ERROR] ExecutionException Error occurred in starting fork, check output in
log
> 19:18:59 [ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: ExecutionException
Error occurred in starting fork, check output in log
> 19:18:59 [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:494)
> 19:18:59 [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkOnceMultiple(ForkStarter.java:369)
> 19:18:59 [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:292)
> 19:18:59 [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:243)
> 19:18:59 [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1077)
> 19:18:59 [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:907)
> 19:18:59 [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:785)
> 19:18:59 [ERROR] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
> 19:18:59 [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
> 19:18:59 [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> 19:18:59 [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> 19:18:59 [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
> 19:18:59 [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
> 19:18:59 [ERROR] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
> 19:18:59 [ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
> 19:18:59 [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
> 19:18:59 [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
> 19:18:59 [ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
> 19:18:59 [ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
> 19:18:59 [ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
> 19:18:59 [ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
> 19:18:59 [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 19:18:59 [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 19:18:59 [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 19:18:59 [ERROR] at java.lang.reflect.Method.invoke(Method.java:498)
> 19:18:59 [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
> 19:18:59 [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
> 19:18:59 [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
> 19:18:59 [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> 19:18:59 [ERROR] Caused by: org.apache.maven.surefire.booter.SurefireBooterForkException:
Error occurred in starting fork, check output in log
> 19:18:59 [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:634)
> 19:18:59 [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:533)
> 19:18:59 [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.access$600(ForkStarter.java:117)
> 19:18:59 [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter$1.call(ForkStarter.java:363)
> 19:18:59 [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter$1.call(ForkStarter.java:342)
> 19:18:59 [ERROR] at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> 19:18:59 [ERROR] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> 19:18:59 [ERROR] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> 19:18:59 [ERROR] at java.lang.Thread.run(Thread.java:745)
> 19:18:59 [ERROR] -> [Help 1]
> 19:18:59 [ERROR] 
> 19:18:59 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
> 19:18:59 [ERROR] Re-run Maven using the -X switch to enable full debug logging.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message