Team City MSTest跑步者退出时没有零代码 - 赛门铁克

时间:2014-02-10 23:23:39

标签: continuous-integration teamcity mstest windows-server-2012 visual-studio-2013

我正在尝试在Server 2012R2上设置Team City CI MSTest构建运行步骤无法运行。

NunitLauncher.exe在服务器2012 [R2]上失败,即使是从命令提示符也是如此
NunitLauncher.exe在Server 2012上运行正常。

在家中通过以下配置工作正常(Server 2012上的TeamCity 8.0.6)
在工作中,出于某种原因,这不会。 (TeamCity 8.0.6在Server 2012 [R2]上运行)


When executing MSTest build runner step, I see the following: (Server 2012R2, Visual Studio 2013)

    [18:40:33]Step 2/2: Run Unit Tests (MSTest) (3s)
    [18:40:33][Step 2/2] Starting: C:\TeamCity\buildAgent\plugins\dotnetPlugin\bin\JetBrains.BuildServer.NUnitLauncher.exe #TeamCityImplicit
    [18:40:33][Step 2/2] in directory: C:\TeamCity\buildAgent\work\b00779c1ff5b6b7b
    [18:40:37][Step 2/2] Process exited with code 255
    [18:40:37][Step 2/2] Step Run Unit Tests (MSTest) failed

When I try and run JetBrains.BuildServer.NUnitLauncher.exe #TeamCityImplicit from command prompt I get the following error:

TeamCity .NET NUnitBootstrap has stopped working

Problem signature:
  Problem Event Name: BEX
  Application Name: JetBrains.BuildServer.NUnitLauncher.exe
  Application Version: 8.0.23.0
  Application Timestamp: 527e788a
  Fault Module Name: JetBrains.BuildServer.NUnitLauncher.exe
  Fault Module Version: 8.0.23.0
  Fault Module Timestamp: 527e788a
  Exception Offset: 00005bce
  Exception Code: c0000005
  Exception Data: 00000008
  OS Version: 6.3.9600.2.0.0.272.7
  Locale ID: 1033
  Additional Information 1: 5861
  Additional Information 2: 5861822e1919d7c014bbb064c64908b2
  Additional Information 3: 01d7
  Additional Information 4: 01d7340064827245f2249cd1f1a7c264

I have installed on two different servers running Server 2012 R2 with the same failed results.
I install on Server 2012 and the NUnitLauncher.exe runs without issue...

Team City Dev team, any ideas?

1 个答案:

答案 0 :(得分:1)

我们通过SEP服务器端异常解决了这个问题,TeamCity将根本原因确定为无符号程序集。以下是TeamCity错误修复的URL:http://youtrack.jetbrains.com/issue/TW-35167