vstest.console.exe generating empty .trx file even after executing the Test Cases from the team city build agent
<p>After executing the test cases successfully through the team city vstest.console.exe runner, the test result file that is being generated doesn't contain any test summary. The team city logs are as follows:-</p>

<ol>
<li>Total tests: 69. Passed: 50. Failed: 19. Skipped: 0.</li>
<li>Importing data from 'TestResults\skolli_SRVBUILDW10-BNG 2016-03-14 3.<br>
16_19_19.trx' (1.17 KB) with 'vstest' processor</li>
<li>Test Run Failed.</li>
<li>VSTest report watcher</li>
<li>Test execution time: 1.8196 Minutes</li>
<li>VSTest</li>
<li>There were no test definitions found. Wrong or broken .trx file?</li>
<li>There were no tests reported. Wrong or broken .trx file?</li>
<li>Process exited with code 1</li>
</ol>

<p>Can anyone tell me what is wrong?</p>