NCover.Console.exe (return code was 20000)
We are running NCover using NANT and TeamCity, about 30% of the time we are getting the following :
[exec] ***************** Exception *****************
[exec]
[exec] -- Top-level exception (System.Exception)
[exec] No data was collected.
[exec] -- Stack Trace
[exec] at NCover.Framework.ProfilerDriver._GetCoverageData()
[exec] at NCover.Framework.ProfilerDriver.Execute()
[exec] at NCover.ConsoleMain.ConsoleMain.Main(String[] args)
[exec]
BUILD FAILED
C:\TC-Build\work\55c934587b3e89af\build24420.tmp(31,6):
External Program Failed: C:\Program Files\NCover\NCover.Console.exe (return code was 20000)
Total time: 891.3 seconds.
when it works we get
[12:38:15]: [exec] ***************** End Program Output *****************
[12:38:16]: [exec]
[12:38:16]: [exec] Execution Time: 00:18:13.4375000s
[12:38:16]: [exec] Sequence Point Coverage: 73.2%
[12:38:16]: [exec] Branch Coverage: 66.6%
[12:38:16]: [exec]
[12:38:16]: [exec] Coverage Html: C:\TC-Build\work\55c934587b3e89af\Coverage.html
[12:38:16]: [exec] Coverage Xml: C:\TC-Build\work\55c934587b3e89af\Coverage.Xml
[12:38:16]: [exec] Coverage Log: C:\TC-Build\work\55c934587b3e89af\Coverage.log
We are only using one TC build agent, on the same server as the TC server.
We have tried using //reg and registering manually
The machine is win2003 standard svr x64 R2
Many thanks,
Micah.