TeamCity 6 EAP 15400 -- dotCover produces no output

dotCover doesn't seem to be running in the new TeamCity EAP 15400 using as signle step MSBuild runner and NUnit.

Here's the part of the build log that seems most appropriate:

[10:01:35]: Tests run: 54, Errors: 0, Failures:  0, Inconclusive: 0 Time: 27.2435583 seconds   Not run: 0, Invalid: 0, Ignored: 0, Skipped: 0
[10:01:40]: ##teamcity[importData  type='dotNetCoverage' tool='dotcover' file='C:\Program  Files\TeamCity\buildAgent\temp\buildTmp\tmp3787.tmp']
[10:01:41]: Importing data from 'C:\Program  Files\TeamCity\buildAgent\temp\buildTmp\tmp3787.tmp' with  'dotNetCoverage' processor
[10:01:41]: Process exited with code 0
[10:01:41]: Waiting for 1 service processes to  complete
[10:01:41]: Processing 1 coverage report(s)
[10:01:41]: Generating coverage report by  dotcover for files: [C:\Program  Files\TeamCity\buildAgent\temp\buildTmp\tmp3787.tmp]
[10:01:41]: Generate dotCover report
[10:01:42]: [Generate dotCover report] Started  dotCover: "C:\Program Files  (x86)\JetBrains\dotCover\v1.0\Bin\dotCover.exe" report "C:\Program  Files\TeamCity\buildAgent\temp\buildTmp\dotcover5151699214206282186.xml"
[10:01:42]: [Generate dotCover report] Output:  JetBrains dotCover Console Runner v1.0.97.18. Copyright (c) 2009-2010  JetBrains s.r.o. All rights reserved.  Failed to read source file 'C:\Program  Files\TeamCity\buildAgent\temp\buildTmp\dotcover5151699214206282186.xml'.  Could not find a part of the path  'C:\Windows\system32\config\systemprofile\AppData\Local\Temp\46ms3vme.tmp'.
[10:01:42]: [Generate dotCover report] dotCover  exited with code: 0
[10:01:42]: Failed  to compute .NET Coverage statistics for dotCover report generator'  :  input contained no data

TeamCity is running on a Windows 7 machine, x64 processor.  I've attached the full log (there is a lot of NUnit output), and a screen dump of the build config.

This is similar to: http://devnet.jetbrains.net/message/5270851#5270851, but the issue created for that thread has been closed -- so I wonder if I'm doing something else wrong.  Also, I had dotCover working in one of the earlier EAP builds.  Not sure if I broke something in the upgrade.

Thanks for any help!



Attachment(s):
build_config.pdf
HashFoo_Devel_Build_22.log.zip
5 comments

Hi David,

I saw the same issue. I uninstalled dotCover and then reinstalled it again and it worked. This may be a dotCover issue.

Oleg.

0
I am having a similar problem, on build 15673.  I've just upgraded from the latest release, and then replaced my partcover coverage with the dotcover option.  I do not have dotcover installed, am using the bundled version.

TC seems to be looking for a temp directory that does not exist.  I've highlighted the interesting bit.  The directory up to and including ...AppData\Local\ exists, but the rest (Temp\...) does not.  I am on Vista Ultimate, the build agent service is running under Local System logon.


13:29:07]: Generate dotCover report
[13:29:08]: [Generate dotCover report] Started dotCover: D:\TeamCity\buildAgent\plugins\dotCover\bin\dotCover.exe report D:\TeamCity\buildAgent\temp\buildTmp\dotcover2753956993314434297.xml
[13:29:08]: [Generate dotCover report] Output: JetBrains dotCover Console Runner v1.0.119.6. Copyright (c) 2009-2010 JetBrains s.r.o. All rights reserved.  Failed to read source file 'D:\TeamCity\buildAgent\temp\buildTmp\dotcover2753956993314434297.xml'. Could not find a part of the path 'C:\Windows\system32\config\systemprofile\AppData\Local\Temp\ad2a0wew.tmp'.
[13:29:08]: [Generate dotCover report] dotCover exited with code: -1
[13:29:08]: [Generate dotCover report] dotCover returned non-zero exit code.
[13:29:08]: Remove dotCover snapshot files
[13:29:08]: [Remove dotCover snapshot files] Started dotCover: D:\TeamCity\buildAgent\plugins\dotCover\bin\dotCover.exe delete D:\TeamCity\buildAgent\temp\buildTmp\dotcover5550070321282004674.xml
[13:29:08]: [Remove dotCover snapshot files] Output: JetBrains dotCover Console Runner v1.0.119.6. Copyright (c) 2009-2010 JetBrains s.r.o. All rights reserved.  Failed to read source file 'D:\TeamCity\buildAgent\temp\buildTmp\dotcover5550070321282004674.xml'. Could not find a part of the path 'C:\Windows\system32\config\systemprofile\AppData\Local\Temp\fbwoo16x.tmp'.
[13:29:08]: [Remove dotCover snapshot files] dotCover exited with code: -1
[13:29:08]: [Remove dotCover snapshot files] dotCover returned non-zero exit code.
[13:29:08]: Generate dotCover HTML report
[13:29:08]: [Generate dotCover HTML report] Loading dotCover report file...
[13:29:08]: [Loading dotCover report file...] Failed to read dotCover report from: D:\TeamCity\buildAgent\temp\buildTmp\dotCover1070132105526826837Report.  : input contained no data
[13:29:08]: Failed to compute .NET Coverage statistics for dotCover report generator'  : input contained no data


Otherwise, TeamCity 6 is looking great.  Multi step build configurations is going to be crazy useful.  The collapsible log is the bomb.
0

Yep, looks like it.  Thanks Oleg!  I'll try the fix when I get home tonight.


0

I created the temp folder manually, and it works like a charm now.

Thanks!

0

Please sign in to leave a comment.