Re: VSTest Runner unable to parse results

36 views
Skip to first unread message
Message has been deleted

etorreborre

unread,
Jul 18, 2017, 2:00:16 AM7/18/17
to specs2-users
Hi Vish,

This doesn't seem like a specs2 question. Did you post to the wrong group by mistake?

E.

On Tuesday, July 18, 2017 at 6:32:01 AM UTC+2, vishwanath kenchanagoudar wrote:
I have a bamboo build which has tasks to build and run unit tests from a .net project . The tests are running fine and i can see that some are passing and failing as a result in the logs . However the Tests tab on the build job is empty and says the job doesnt have any tasks , after further investigation i realised that the parser could not find the output files . 

build 18-Jul-2017 11:59:20 Results File: C:\Program Files\Bamboo\temp\1500342196694-0\TestResults\SYSTEM_SHP-HYB-BUILD-1 2017-07-18 11_43_20.trx
build 18-Jul-2017 11:59:20
build 18-Jul-2017 11:59:20 Attachments:
build 18-Jul-2017 11:59:20  C:\Program Files\Bamboo\temp\1500342196694-0\TestResults\470e455d-1d56-456b-b045-61b85d3548fc\SYSTEM_SHP-HYB-BUILD-1 2017-07-18 11_43_18.coverage
build 18-Jul-2017 11:59:20
build 18-Jul-2017 11:59:20 Total tests: 1416. Passed: 1343. Failed: 73. Skipped: 0.
error 18-Jul-2017 11:59:20 Test Run Failed.
build 18-Jul-2017 11:59:20 Test execution time: 16.0158 Minutes
simple 18-Jul-2017 11:59:20 Parsing test results under D:\bamboo-home\xml-data\build-dir\163842\DEV-API02-JOB1...
simple 18-Jul-2017 11:59:20 Failing task since test cases were expected but none were found.
simple 18-Jul-2017 11:59:20 Finished task 'Run Service Tests' with result: Failed
simple 18-Jul-2017 11:59:20 Running post build plugin 'NCover Results Collector'
simple 18-Jul-2017 11:59:20 Running post build plugin 'Artifact Copier'
simple 18-Jul-2017 11:59:20 Running post build plugin 'npm Cache Cleanup'
simple 18-Jul-2017 11:59:20 Running post build plugin 'Clover Results Collector'
simple 18-Jul-2017 11:59:20 Running post build plugin 'Docker Container Cleanup'
simple 18-Jul-2017 11:59:20 Finalising the build...
simple 18-Jul-2017 11:59:20 Stopping timer.
simple 18-Jul-2017 11:59:20 Build DEV-API02-JOB1-94 completed.
simple 18-Jul-2017 11:59:20 Running on server: post build plugin 'NCover Results Collector'
simple 18-Jul-2017 11:59:20 Running on server: post build plugin 'Build Hanging Detection Configuration'
simple 18-Jul-2017 11:59:20 Running on server: post build plugin 'Clover Delta Calculator'
simple 18-Jul-2017 11:59:20 Running on server: post build plugin 'Maven Dependencies Postprocessor'
simple 18-Jul-2017 11:59:20 All post build plugins have finished
simple 18-Jul-2017 11:59:20 Generating build results summary...
simple 18-Jul-2017 11:59:20 Saving build results to disk...
simple 18-Jul-2017 11:59:20 Logging substituted variables...
simple 18-Jul-2017 11:59:20 Indexing build results...
simple 18-Jul-2017 11:59:20 Finished building DEV-API02-JOB1-94.

I have however configured the task to generate the file at another location F:\TestResults . I can see the file sitting there but the parser seems to be looking in the default build directory

Please advise 

Cheers
Vish
Reply all
Reply to author
Forward
0 new messages