NUnitLauncher fails to fire (occasionally)

Occasionally (maybe one build in five), while our continuous build passes compile stage just fine, the unit test assemblies will fail the build. They aren't running at all, and the log says:

[11:50:26]: [Project "Quantifi.Risk.sln.teamcity.patch.tcprojx" (TeamCity_Generated_Build;TeamCity_Generated_NUnitTests target(s)):] c:\TeamCity\buildAgent\plugins\dotnetPlugin\bin\JetBrains.BuildServer.NUnitLauncher.exe "@@" C:\TeamCity\buildAgent\temp\buildTmp\tmp4C1E.tmp
[11:50:28]: Value cannot be null.
Parameter name: path
at System.IO.Path.GetFullPathInternal(String path)
at System.IO.Path.GetFullPath(String path)
at JetBrains.TeamCity.Utils.Runtime.ProcessRun.CreateArguments(String executable, PlatformVersion env, PlatformType platform, String[] args) in c:\BuildAgent\work\e34bdcb45e12f223\src\Utils\src\Runtime\ProcessRun.cs:line 54
at JetBrains.TeamCity.Utils.Runtime.ProcessRun.Run(String executable, PlatformVersion env, PlatformType platform, String[] args) in c:\BuildAgent\work\e34bdcb45e12f223\src\Utils\src\Runtime\ProcessRun.cs:line 37
at JetBrains.TeamCity.Utils.Runtime.ProcessRun.RunWithCommandLine(PlatformVersion env, PlatformType platform, String assembly, String[] args) in c:\BuildAgent\work\e34bdcb45e12f223\src\Utils\src\Runtime\ProcessRun.cs:line 30
at JetBrains.TeamCity.Utils.Runtime.RunInRuntime.ForkInRuntime(PlatformVersion version, PlatformType type, String executable, String[] args) in c:\BuildAgent\work\e34bdcb45e12f223\src\Utils\src\Runtime\RunInRuntime.cs:line 49
at JetBrains.TeamCity.NUnitCommon.PlugableRunFactory.RunProcessAsPlugable.Run() in c:\BuildAgent\work\e34bdcb45e12f223\src\NUnitCommon\src\PlugableRunFactory.cs:line 31
at JetBrains.BuildServer.NAntLoggers.NUnitLauncher2.ExecuteTasks(ITestRunArguments arguments, IPlugableTestRunner[] plugRuns) in c:\BuildAgent\work\e34bdcb45e12f223\src\NUnitBootstrap\src\NUnitLauncher2.cs:line 185
at JetBrains.BuildServer.NAntLoggers.NUnitLauncher2.Run2(String[] args) in c:\BuildAgent\work\e34bdcb45e12f223\src\NUnitBootstrap\src\NUnitLauncher2.cs:line 124
at JetBrains.BuildServer.NAntLoggers.NUnitLauncher2.Run(String[] args) in c:\BuildAgent\work\e34bdcb45e12f223\src\NUnitBootstrap\src\NUnitLauncher2.cs:line 45
[11:50:29]: Value cannot be null.
Parameter name: path
at System.IO.Path.GetFullPathInternal(String path)
at System.IO.Path.GetFullPath(String path)
at JetBrains.TeamCity.Utils.Runtime.ProcessRun.CreateArguments(String executable, PlatformVersion env, PlatformType platform, String[] args) in c:\BuildAgent\work\e34bdcb45e12f223\src\Utils\src\Runtime\ProcessRun.cs:line 54
at JetBrains.TeamCity.Utils.Runtime.ProcessRun.Run(String executable, PlatformVersion env, PlatformType platform, String[] args) in c:\BuildAgent\work\e34bdcb45e12f223\src\Utils\src\Runtime\ProcessRun.cs:line 37
at JetBrains.TeamCity.Utils.Runtime.ProcessRun.RunWithCommandLine(PlatformVersion env, PlatformType platform, String assembly, String[] args) in c:\BuildAgent\work\e34bdcb45e12f223\src\Utils\src\Runtime\ProcessRun.cs:line 30
at JetBrains.TeamCity.Utils.Runtime.RunInRuntime.ForkInRuntime(PlatformVersion version, PlatformType type, String executable, String[] args) in c:\BuildAgent\work\e34bdcb45e12f223\src\Utils\src\Runtime\RunInRuntime.cs:line 49
at JetBrains.TeamCity.NUnitCommon.PlugableRunFactory.RunProcessAsPlugable.Run() in c:\BuildAgent\work\e34bdcb45e12f223\src\NUnitCommon\src\PlugableRunFactory.cs:line 31
at JetBrains.BuildServer.NAntLoggers.NUnitLauncher2.ExecuteTasks(ITestRunArguments arguments, IPlugableTestRunner[] plugRuns) in c:\BuildAgent\work\e34bdcb45e12f223\src\NUnitBootstrap\src\NUnitLauncher2.cs:line 185
at JetBrains.BuildServer.NAntLoggers.NUnitLauncher2.Run2(String[] args) in c:\BuildAgent\work\e34bdcb45e12f223\src\NUnitBootstrap\src\NUnitLauncher2.cs:line 124
at JetBrains.BuildServer.NAntLoggers.NUnitLauncher2.Run(String[] args) in c:\BuildAgent\work\e34bdcb45e12f223\src\NUnitBootstrap\src\NUnitLauncher2.cs:line 45
[11:50:31]: Value cannot be null.
Parameter name: path
at System.IO.Path.GetFullPathInternal(String path)
at System.IO.Path.GetFullPath(String path)
at JetBrains.TeamCity.Utils.Runtime.ProcessRun.CreateArguments(String executable, PlatformVersion env, PlatformType platform, String[] args) in c:\BuildAgent\work\e34bdcb45e12f223\src\Utils\src\Runtime\ProcessRun.cs:line 54
at JetBrains.TeamCity.Utils.Runtime.ProcessRun.Run(String executable, PlatformVersion env, PlatformType platform, String[] args) in c:\BuildAgent\work\e34bdcb45e12f223\src\Utils\src\Runtime\ProcessRun.cs:line 37
at JetBrains.TeamCity.Utils.Runtime.ProcessRun.RunWithCommandLine(PlatformVersion env, PlatformType platform, String assembly, String[] args) in c:\BuildAgent\work\e34bdcb45e12f223\src\Utils\src\Runtime\ProcessRun.cs:line 30
at JetBrains.TeamCity.Utils.Runtime.RunInRuntime.ForkInRuntime(PlatformVersion version, PlatformType type, String executable, String[] args) in c:\BuildAgent\work\e34bdcb45e12f223\src\Utils\src\Runtime\RunInRuntime.cs:line 49
at JetBrains.TeamCity.NUnitCommon.PlugableRunFactory.RunProcessAsPlugable.Run() in c:\BuildAgent\work\e34bdcb45e12f223\src\NUnitCommon\src\PlugableRunFactory.cs:line 31
at JetBrains.BuildServer.NAntLoggers.NUnitLauncher2.ExecuteTasks(ITestRunArguments arguments, IPlugableTestRunner[] plugRuns) in c:\BuildAgent\work\e34bdcb45e12f223\src\NUnitBootstrap\src\NUnitLauncher2.cs:line 185
at JetBrains.BuildServer.NAntLoggers.NUnitLauncher2.Run2(String[] args) in c:\BuildAgent\work\e34bdcb45e12f223\src\NUnitBootstrap\src\NUnitLauncher2.cs:line 124
at JetBrains.BuildServer.NAntLoggers.NUnitLauncher2.Run(String[] args) in c:\BuildAgent\work\e34bdcb45e12f223\src\NUnitBootstrap\src\NUnitLauncher2.cs:line 45
[11:50:32]: Value cannot be null.
Parameter name: path
at System.IO.Path.GetFullPathInternal(String path)
at System.IO.Path.GetFullPath(String path)
at JetBrains.TeamCity.Utils.Runtime.ProcessRun.CreateArguments(String executable, PlatformVersion env, PlatformType platform, String[] args) in c:\BuildAgent\work\e34bdcb45e12f223\src\Utils\src\Ru
ntime\ProcessRun.cs:line 54
at JetBrains.TeamCity.Utils.Runtime.ProcessRun.Run(String executable, PlatformVersion env, PlatformType platform, String[] args) in c:\BuildAgent\work\e34bdcb45e12f223\src\Utils\src\Runtime\ProcessRun.cs:line 37
at JetBrains.TeamCity.Utils.Runtime.ProcessRun.RunWithCommandLine(PlatformVersion env, PlatformType platform, String assembly, String[] args) in c:\BuildAgent\work\e34bdcb45e12f223\src\Utils\src\Runtime\ProcessRun.cs:line 30
at JetBrains.TeamCity.Utils.Runtime.RunInRuntime.ForkInRuntime(PlatformVersion version, PlatformType type, String executable, String[] args) in c:\BuildAgent\work\e34bdcb45e12f223\src\Utils\src\Runtime\RunInRuntime.cs:line 49
at JetBrains.TeamCity.NUnitCommon.PlugableRunFactory.RunProcessAsPlugable.Run() in c:\BuildAgent\work\e34bdcb45e12f223\src\NUnitCommon\src\PlugableRunFactory.cs:line 31
at JetBrains.BuildServer.NAntLoggers.NUnitLauncher2.ExecuteTasks(ITestRunArguments arguments, IPlugableTestRunner[] plugRuns) in c:\BuildAgent\work\e34bdcb45e12f223\src\NUnitBootstrap\src\NUnitLauncher2.cs:line 185
at JetBrains.BuildServer.NAntLoggers.NUnitLauncher2.Run2(String[] args) in c:\BuildAgent\work\e34bdcb45e12f223\src\NUnitBootstrap\src\NUnitLauncher2.cs:line 124
at JetBrains.BuildServer.NAntLoggers.NUnitLauncher2.Run(String[] args) in c:\BuildAgent\work\e34bdcb45e12f223\src\NUnitBootstrap\src\NUnitLauncher2.cs:line 45
[11:50:33]: [Project "Quantifi.Risk.sln.teamcity.patch.tcprojx" (TeamCity_Generated_Build;TeamCity_Generated_NUnitTests target(s)):] C:\dev\CI\Risk\Quantifi.Risk.sln.teamcity.patch.tcprojx(17, 5): c:\TeamCity\buildAgent\plugins\dotnetPlugin\bin\JetBrains.BuildServer.NUnitLauncher.exe "@@" C:\TeamCity\buildAgent\temp\buildTmp\tmp4C1E.tmp exited with code -1.
One "Value cannot be null" error for each test assembly in the comma-separated list configured (it's a Visual Studio 2008 build).
Any ideas?
1 comment

What is the version of TeamCity? Do you have .NET code coverage enabled? If yes, what tool?

0

Please sign in to leave a comment.