Snehal Gajbhiye created SUREFIRE-1500:
-----------------------------------------
Summary: Surfire failing everytime using in Jenkins
Key: SUREFIRE-1500
URL: https://issues.apache.org/jira/browse/SUREFIRE-1500
Project: Maven Surefire
Issue Type: Bug
Components: Maven Surefire Plugin
Affects Versions: 2.21.0
Environment: Production
Reporter: Snehal Gajbhiye
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.21.0:test (default-test) on
project com.furlencoAPI: There are test failures.[ERROR] [ERROR] Please refer
to /Users/Shared/Jenkins/Home/com.furlencoAPI/target/surefire-reports for the
individual test results.[ERROR] Please refer to dump files (if any exist)
[date]-jvmRun[N].dump, [date].dumpstream and
[date]-jvmRun[N].dumpstream.[ERROR] Error creating properties files for
forking[ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException:
Error creating properties files for forking[ERROR] at
org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:576)[ERROR]
at
org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:533)[ERROR]
at
org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:278)[ERROR]
at
org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:244)[ERROR]
at
org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1149)[ERROR]
at
org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:978)[ERROR]
at
org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:854)[ERROR]
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)[ERROR]
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)[ERROR]
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154)[ERROR]
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146)[ERROR]
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)[ERROR]
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)[ERROR]
at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)[ERROR]
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)[ERROR]
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)[ERROR]
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)[ERROR]
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)[ERROR]
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:956)[ERROR] at
org.apache.maven.cli.MavenCli.doMain(MavenCli.java:290)[ERROR] at
org.apache.maven.cli.MavenCli.main(MavenCli.java:194)[ERROR] at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[ERROR] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[ERROR]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[ERROR]
at java.lang.reflect.Method.invoke(Method.java:498)[ERROR] at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)[ERROR]
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)[ERROR]
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)[ERROR]
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)[ERROR]
Caused by: java.io.IOException: No such file or directory[ERROR] at
java.io.UnixFileSystem.createFileExclusively(Native Method)[ERROR] at
java.io.File.createTempFile(File.java:2024)[ERROR] at
org.apache.maven.surefire.booter.SystemPropertyManager.writePropertiesFile(SystemPropertyManager.java:81)[ERROR]
at
org.apache.maven.plugin.surefire.booterclient.BooterSerializer.serialize(BooterSerializer.java:172)[ERROR]
at
org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:555)[ERROR]
... 28 more[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]
[http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)