.net - TeamCity - MSBuild runner exits with not zero code -


i've had teamcity running long time, no problems.

i upgraded teamcity 8, , .net projects fail when launching test build step.

the error message see this: msbuild runner exits not 0 code

the test part of log, looks this:

[10:39:08][step 1/2] process exited code 0 [10:39:08]step 2/2: test (mstest) (20s) [10:39:08][step 2/2] starting: f:\teamcity\buildagent\plugins\dotnetplugin\bin\jetbrains.buildserver.nunitlauncher.exe #teamcityimplicit [10:39:08][step 2/2] in directory: f:\teamcity\buildagent\work\382c54c35fd97a3e [10:39:13][step 2/2] jetbrains dotcover console runner v2.2.515.44. copyright (c) 2009-2013 jetbrains s.r.o. rights reserved. [10:39:13][step 2/2]  [10:39:28][step 2/2] [jetbrains dotcover] coverage session started [6/29/2013 10:39:28 am] [10:39:28][step 2/2] [jetbrains dotcover] coverage session finished errors: can't initialize profiler. [10:39:28][step 2/2]  [10:39:28][step 2/2] product installation directory has no read access rights winrt applications..  [10:39:28][step 2/2] ##teamcity[importdata type='dotnetcoverage' tool='dotcover' file='f:\teamcity\buildagent\temp\buildtmp\coverage_dotcover79745141367270310401.data'] [10:39:29][step 2/2] importing data 'f:\teamcity\buildagent\temp\buildtmp\coverage_dotcover79745141367270310401.data' (not existing file) 'dotnetcoverage' processor [10:39:29][step 2/2] rejected coverage report file: f:\teamcity\buildagent\temp\buildtmp\coverage_dotcover79745141367270310401.data size: 0. file empty or not exist [10:39:29][step 2/2] process exited code -2 [10:39:29][step 2/2] step test (mstest) failed [10:39:29]waiting 1 service processes complete [10:39:29]publishing internal artifacts [10:39:29][publishing internal artifacts] sending build.finish.properties.gz file [10:39:29]build finished 

if @ teamcity-build.log file, can see says err on line nuitlauncher executed:

[2013-06-29 10:39:08,134] out -  [2013-06-29 10:39:08,134] out -     14 warning(s) [2013-06-29 10:39:08,134] out -     0 error(s) [2013-06-29 10:39:08,134] out -  [2013-06-29 10:39:08,134] out - time elapsed 00:00:19.87 [2013-06-29 10:39:08,485] out - process exited code 0 [2013-06-29 10:39:08,736] out - ----------------------------------------- [ backstage::build , test #62 (buildid = 874) ] ----------------------------------------- [2013-06-29 10:39:08,739] out - starting: f:\teamcity\buildagent\plugins\dotnetplugin\bin\jetbrains.buildserver.nunitlauncher.exe #teamcityimplicit [2013-06-29 10:39:08,739] out - in directory: f:\teamcity\buildagent\work\382c54c35fd97a3e [2013-06-29 10:39:08,746] err - f:\teamcity\buildagent\plugins\dotnetplugin\bin\jetbrains.buildserver.nunitlauncher.exe #teamcityimplicit [2013-06-29 10:39:13,336] out - jetbrains dotcover console runner v2.2.515.44. copyright (c) 2009-2013 jetbrains s.r.o. rights reserved. [2013-06-29 10:39:13,336] out - jetbrains dotcover console runner v2.2.515.44. copyright (c) 2009-2013 jetbrains s.r.o. rights reserved. [2013-06-29 10:39:13,336] out -  [2013-06-29 10:39:13,337] out -  [2013-06-29 10:39:28,002] out - [jetbrains dotcover] coverage session started [6/29/2013 10:39:28 am] [2013-06-29 10:39:28,002] out - [jetbrains dotcover] coverage session started [6/29/2013 10:39:28 am] [2013-06-29 10:39:28,752] out - [jetbrains dotcover] coverage session finished errors: can't initialize profiler. [2013-06-29 10:39:28,753] out - [jetbrains dotcover] coverage session finished errors: can't initialize profiler. [2013-06-29 10:39:28,753] out -  [2013-06-29 10:39:28,753] out -  [2013-06-29 10:39:28,753] out - product installation directory has no read access rights winrt applications..  [2013-06-29 10:39:28,753] out - product installation directory has no read access rights winrt applications..  [2013-06-29 10:39:29,170] out - process exited code -2 

anyone else seen this? there place find more extensive log information?

this dotcover related issue.

i fixed installing latest version of dotcover here: http://www.jetbrains.com/dotcover/

then, in each build configuration defines mstest build step , uses dotcover, need override dotcover home directory 1 installed dotcover.


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -