Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Suite file C:\Users\bamboo-home\xml-data\build-dir\MYB-DEMO-JOB1\testng.xml is not a valid file? Edited

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)

 

1 answer

0 votes
Foong Atlassian Team Apr 15, 2019

From this post, it might be a mistake in the file extension

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

179 views 4 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you