Surefire plugin exception is shown when running Selenium+cucumber+junit scripts in remote machine through jenkins | Selenium Forum
S
sowndarya Posted on 31/03/2021

Below error is shown when running the automation scripts in remote machine through jenkins

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project epresentation-automation: There are test failures.
[ERROR] 
[ERROR] Please refer to D:\apps\jenkins_slave\WISlave01\workspace\Automation\Galileo-epres-automation\epresentation-automation\target\surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].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:574)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:282)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
[ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1183)
[ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1011)
[ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:857)
[ERROR] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
[ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
[ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
[ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
[ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
[ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
[ERROR] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
[ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
[ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
[ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
[ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
[ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
[ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
[ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
[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: There is not enough space on the disk
[ERROR] at java.io.FileOutputStream.writeBytes(Native Method)
[ERROR] at java.io.FileOutputStream.write(FileOutputStream.java:326)
[ERROR] at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221)
[ERROR] at sun.nio.cs.StreamEncoder.implWrite(StreamEncoder.java:282)
[ERROR] at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:125)
[ERROR] at java.io.OutputStreamWriter.write(OutputStreamWriter.java:207)
[ERROR] at java.io.BufferedWriter.flushBuffer(BufferedWriter.java:129)
[ERROR] at java.io.BufferedWriter.flush(BufferedWriter.java:253)
[ERROR] at java.util.Properties.store0(Properties.java:844)
[ERROR] at java.util.Properties.store(Properties.java:818)
[ERROR] at org.apache.maven.surefire.booter.SystemPropertyManager.writePropertiesFile(SystemPropertyManager.java:99)
[ERROR] at org.apache.maven.surefire.booter.SystemPropertyManager.writePropertiesFile(SystemPropertyManager.java:87)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.BooterSerializer.serialize(BooterSerializer.java:182)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:553)

A
Ashish Replied on 02/04/2021

[ERROR] Caused by: java.io.IOException: There is not enough space on the disk

Please clean disk


Related Posts