I am using Bamboo to run my automation script.
I had added
SOURCE CODE CHECKOUT
MAVEN 3.x
TestNG PARSER
while running the plan i am getting the error which is mentioned below
02-Apr-2019 14:43:52 [INFO] Results:
02-Apr-2019 14:43:52 [INFO]
02-Apr-2019 14:43:52 [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
02-Apr-2019 14:43:52 [INFO]
02-Apr-2019 14:43:52 [INFO] ------------------------------------------------------------------------
02-Apr-2019 14:43:52 [INFO] BUILD FAILURE
02-Apr-2019 14:43:52 [INFO] ------------------------------------------------------------------------
02-Apr-2019 14:43:52 [INFO] Total time: 6.403 s
02-Apr-2019 14:43:52 [INFO] Finished at: 2019-04-02T14:43:52+05:30
02-Apr-2019 14:43:52 [INFO] ------------------------------------------------------------------------
02-Apr-2019 14:43:52 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M3:test (default-test) on project INVSTA_PROJECT: There are test failures.
02-Apr-2019 14:43:52 [ERROR]
02-Apr-2019 14:43:52 [ERROR] Please refer to C:\Users\Toshiba R830\bamboo-home\xml-data\build-dir\MYB-DEMO-JOB1\target\surefire-reports for the individual test results.
02-Apr-2019 14:43:52 [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
02-Apr-2019 14:43:52 [ERROR] There was an error in the forked process
02-Apr-2019 14:43:52 [ERROR] Suite file C:\Users\Toshiba R830\bamboo-home\xml-data\build-dir\MYB-DEMO-JOB1\testng.xml is not a valid file
02-Apr-2019 14:43:52 [ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: There was an error in the forked process
02-Apr-2019 14:43:52 [ERROR] Suite file C:\Users\Toshiba R830\bamboo-home\xml-data\build-dir\MYB-DEMO-JOB1\testng.xml is not a valid file
02-Apr-2019 14:43:52 [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:657)
02-Apr-2019 14:43:52 [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:283)
02-Apr-2019 14:43:52 [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:246)
02-Apr-2019 14:43:52 [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1161)
02-Apr-2019 14:43:52 [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1002)
02-Apr-2019 14:43:52 [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:848)
02-Apr-2019 14:43:52 [ERROR] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
02-Apr-2019 14:43:52 [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
02-Apr-2019 14:43:52 [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
02-Apr-2019 14:43:52 [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
02-Apr-2019 14:43:52 [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
02-Apr-2019 14:43:52 [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
02-Apr-2019 14:43:52 [ERROR] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
02-Apr-2019 14:43:52 [ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
02-Apr-2019 14:43:52 [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
02-Apr-2019 14:43:52 [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
02-Apr-2019 14:43:52 [ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
02-Apr-2019 14:43:52 [ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:956)
02-Apr-2019 14:43:52 [ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
02-Apr-2019 14:43:52 [ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:192)
02-Apr-2019 14:43:52 [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
02-Apr-2019 14:43:52 [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
02-Apr-2019 14:43:52 [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
02-Apr-2019 14:43:52 [ERROR] at java.lang.reflect.Method.invoke(Method.java:498)
02-Apr-2019 14:43:52 [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
02-Apr-2019 14:43:52 [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
02-Apr-2019 14:43:52 [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
02-Apr-2019 14:43:52 [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.