MS Test Parser failed to find the file

Hey

 

I am having some trouble trying to get the build to parse through the .trx file. I can see the file being generated in the \Foundation\Tests\Resource.Data.EntityFramework.Test\bin\Release folder . The file name is TestResults-Rev_4626c14b7e01843d44a9afaa3184bb9ae6e6f547-Build_91

I get the error 

simple 17-Jul-2017 16:01:11 Parsing test results under D:\bamboo-home\xml-data\build-dir\163842\DEV-API02-JOB1...
simple 17-Jul-2017 16:01:11 Failing task since test cases were expected but none were found.
simple 17-Jul-2017 16:01:11 Finished task 'MS Tests Parser' with result: Failed

This is the value for the Result File Name :

 

TestResults-Rev_${bamboo.repository.revision.number}-Build_${bamboo.buildNumber}.trx

 

and for the Result Directory its :

 

\Foundation\Tests\Resource.Data.EntityFramework.Test\bin\Release\

 

Am i missing something here .

1 answer

0 vote
Cristiano Oliveira Community Champion Jul 17, 2017

Hi Stuart! How are you doing?

If you open the file in a text editor, can you see test entries in it?

Maybe Bamboo is finding it, but it is empty, for some other reason.

Hope this helps!

Thanks,

Cristiano

Hey Cristiano,

 

Hope you well .

The file does have test entries in it .  I have changed the param for the result test file to another drive(f:\testresults\filename.trx) but the logs still shows that the parser is looking for the file in the build directory as below , am i missing something ?

\bamboo-home\xml-data\build-dir\163842\DEV-API02-JOB1.

 

Cheers

Stuart

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,561 views 0 6
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you