Problem with NUnitLauncher

Hi

I get errors from the NUnitLauncher, can anybody give me some hints?

error MSB6006: "JetBrains.BuildServer.NUnitLauncher2.0.VSTS.exe" exited with code -532459699

8 comments
Comment actions Permalink

Hello Sten,

What tests do you run on the agents? (NUnit or MS TFS tests)

Do you have Microsort TFS installed on the agent machine?

Is there some stacktraces from the failure of
"JetBrains.BuildServer.NUnitLauncher2.0.VSTS.exe"?

Thanks! Feel free asking any questions!

--
Eugene Petrenko
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Hi

I get errors from the NUnitLauncher, can anybody give me some hints?

error MSB6006: "JetBrains.BuildServer.NUnitLauncher2.0.VSTS.exe"
exited with code -532459699



0
Comment actions Permalink

Dear Sten Aksel,

1) Do you have Visual Studio 2005 with Team Explorer/Visual Studio Team System
2005/Visual Studio 2005 for Developers, or some other Visual Studio 2005
that can run TFS unit tests on agent, which gives you this error?

2) Which one build runner do you use (sln2005, msbuild, nant, ...)?

3) Is this issue reproduceable? Are you able to send us a small project that
we can use to look to the problem?

George Udov
Software Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Hi

I get errors from the NUnitLauncher, can anybody give me some hints?

error MSB6006: "JetBrains.BuildServer.NUnitLauncher2.0.VSTS.exe"
exited with code -532459699



0
Comment actions Permalink

1) I have Visual Studio 2005 Professional Edition (with Team Explorer) that run the unit tests fine.

2) I use sln2005

3) It is reproduceable.
I just downloaded NUnit version 2.4 and used the sample c# solution (CSharp.sln) to reproduse. This is the build log:

: Project "CSharp.sln__generatedBuild1174978026539.msbuild" (RunSolutionBuild_generated;RunNunitTest_generated target(s)): (1m:34s)
: [Project "CSharp.sln__generatedBuild1174978026539.msbuild" (RunSolutionBuild_generated;RunNunitTest_generated target(s)):] Target "RunNunitTest_generated" in project "CSharp.sln__generatedBuild1174978026539.msbuild" (1m:29s)
: [Target "RunNunitTest_generated" in project "CSharp.sln__generatedBuild1174978026539.msbuild"] "JetBrains.BuildServer.NUnitLauncher2.0.VSTS.exe" exited with code -532459699.
: sln2005 output:
Target _CopyFilesMarkedCopyLocal:
Copying file from "C:\WINDOWS\assembly\GAC\nunit.framework\2.2.0.0__96d09a1eb7f44a77\nunit.framework.dll" to "bin\Debug\nunit.framework.dll".
Target CopyFilesToOutputDirectory:
Copying file from "obj\Debug\cs-money-port.dll" to "bin\Debug\cs-money-port.dll".
cs-money-port -> C:\temp\tcb\csharp\money-port\bin\Debug\cs-money-port.dll
Copying file from "obj\Debug\cs-money-port.pdb" to "bin\Debug\cs-money-port.pdb".
Target PostBuildEvent:
copy "C:\temp\tcb\csharp\money-port\cs-money-port.dll.config" "C:\temp\tcb\csharp\money-port\bin\Debug\"
1 file(s) copied.
Target RunNunitTest_generated:
C:\TeamCity\buildAgent\plugins\dotnetPlugin\bin\JetBrains.BuildServer.NUnitLauncher2.0.VSTS.exe "http://localhost:9090/RPC2" "65" "\***.dll"

Unhandled Exception: System.ArgumentException: Illegal characters in path.
at System.Security.Permissions.FileIOPermission.HasIllegalCharacters(String[] str)
at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath)
at System.IO.Path.GetFullPath(String path)
at JetBrains.BuildServer.NUnitLauncher.NUnitRunner.Run()
at JetBrains.BuildServer.NUnitLauncher.NUnitRunner.Main(String[] args)
C:\temp\tcb\csharp\CSharp.sln__generatedBuild1174978026539.msbuild(9,88): error MSB6006: "JetBrains.BuildServer.NUnitLauncher2.0.VSTS.exe" exited with code -532459699.
Done building target "RunNunitTest_generated" in project "CSharp.sln__generatedBuild1174978026539.msbuild" -- FAILED.

Done building project "CSharp.sln__generatedBuild1174978026539.msbuild" -- FAILED.

Build FAILED.
C:\temp\tcb\csharp\CSharp.sln__generatedBuild1174978026539.msbuild(9,88): error MSB6006: "JetBrains.BuildServer.NUnitLauncher2.0.VSTS.exe" exited with code -532459699.
0 Warning(s)
1 Error(s)

---

0
Comment actions Permalink

Hello Sten,

Could you please write us NUnit tests settings for sln2005 runner You use
to reproduce the problem.

Thanks!

--
Eugene Petrenko
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

1) I have Visual Studio 2005 Professional Edition (with Team Explorer)
that run the unit tests fine.

2) I use sln2005

3) It is reproduceable. I just downloaded NUnit version 2.4 and used
the sample c# solution (CSharp.sln) to reproduse. This is the build
log:

: Project "CSharp.sln__generatedBuild1174978026539.msbuild"
(RunSolutionBuild_generated;RunNunitTest_generated target(s)):
(1m:34s)

: [Project "CSharp.sln__generatedBuild1174978026539.msbuild"
(RunSolutionBuild_generated;RunNunitTest_generated target(s)):] Target
"RunNunitTest_generated" in project
"CSharp.sln__generatedBuild1174978026539.msbuild" (1m:29s)

: [Target "RunNunitTest_generated" in project
"CSharp.sln__generatedBuild1174978026539.msbuild"]
"JetBrains.BuildServer.NUnitLauncher2.0.VSTS.exe" exited with code
-532459699.

: sln2005 output:

Target _CopyFilesMarkedCopyLocal:

Copying file from
"C:\WINDOWS\assembly\GAC\nunit.framework\2.2.0.0__96d09a1eb7f44a77\nun
it.framework.dll" to "bin\Debug\nunit.framework.dll".

Target CopyFilesToOutputDirectory:

Copying file from "obj\Debug\cs-money-port.dll" to
"bin\Debug\cs-money-port.dll".

cs-money-port ->
C:\temp\tcb\csharp\money-port\bin\Debug\cs-money-port.dll

Copying file from "obj\Debug\cs-money-port.pdb" to
"bin\Debug\cs-money-port.pdb".

Target PostBuildEvent:

copy "C:\temp\tcb\csharp\money-port\cs-money-port.dll.config"
"C:\temp\tcb\csharp\money-port\bin\Debug\"

1 file(s) copied.

Target RunNunitTest_generated:

C:\TeamCity\buildAgent\plugins\dotnetPlugin\bin\JetBrains.BuildServer.
NUnitLauncher2.0.VSTS.exe "http://localhost:9090/RPC2" "65" "\***.dll"

Unhandled Exception: System.ArgumentException: Illegal characters in
path.

at
System.Security.Permissions.FileIOPermission.HasIllegalCharacters(Stri
ng[] str)

at
System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermiss
ionAccess access, AccessControlActions control, String[] pathListOrig,
Boolean checkForDuplicates, Boolean needFullPath, Boolean
copyPathList)

at
System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAcc
ess access, String[] pathList, Boolean checkForDuplicates, Boolean
needFullPath)

at System.IO.Path.GetFullPath(String path)

at JetBrains.BuildServer.NUnitLauncher.NUnitRunner.Run()

at JetBrains.BuildServer.NUnitLauncher.NUnitRunner.Main(String[] args)

C:\temp\tcb\csharp\CSharp.sln__generatedBuild1174978026539.msbuild(9,8
8): error MSB6006: "JetBrains.BuildServer.NUnitLauncher2.0.VSTS.exe"
exited with code -532459699.

Done building target "RunNunitTest_generated" in project
"CSharp.sln__generatedBuild1174978026539.msbuild" -- FAILED.

Done building project
"CSharp.sln__generatedBuild1174978026539.msbuild" -- FAILED.

Build FAILED.

C:\temp\tcb\csharp\CSharp.sln__generatedBuild1174978026539.msbuild(9,8
8): error MSB6006: "JetBrains.BuildServer.NUnitLauncher2.0.VSTS.exe"
exited with code -532459699.

0 Warning(s)

1 Error(s)

---



0
Comment actions Permalink

NUnit tests settings for sln2005 runner:

Solution file path: csharp/CSharp.sln
Targets: Rebuild
Configuration: Debug
Run NUnit/VTSTS Unit tests for: \***.dll
Build working directory: c:\temp\tcb

--

0
Comment actions Permalink

Hello Sten,

Does changing the wildcard for tests helps to solve the problem?
Could you please try setting *\.dll as the wildcard.

Thanks!

--
Eugene Petrenko
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

NUnit tests settings for sln2005 runner:

Solution file path: csharp/CSharp.sln
Targets: Rebuild
Configuration: Debug
Run NUnit/VTSTS Unit tests for: \***.dll
Build working directory: c:\temp\tcb
--



0
Comment actions Permalink

Problem solved when "*\.dll" were used

Please update the documentation (where I found "\***.dll")

Thanks!

0
Comment actions Permalink

Hello Sten,

May I ask a couple questions? :)
Are you using TFS as source control?
If so, did you tried to run personal builds from Visual Studio? Did you tried
delayed commit from Visual Studio?

George Udov
Software Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

1) I have Visual Studio 2005 Professional Edition (with Team Explorer)
that run the unit tests fine.

2) I use sln2005



0

Please sign in to leave a comment.