Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,459,369
Community Members
 
Community Events
176
Community Groups

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

Atlassian Community Events