Our TFS 2013 server and build server are on two different machines, in the same domain. Visual Studio is installed on the build server. When I click build, everything goes well, except that MSTest does not work with the following error:
TF270015: "MSTest.exe" returned an unexpected exit code. Expected "0"; actual '255'. See assembly logs for more information.
The event log shows me the following error:
Invalid application name: MSTest.exe, version: 12.0.21005.1, time stamp: 0x524fbee4 error module name: clr.dll, version: 4.0.30319.34014, time stamp: 0x52e0b784 exception code: 0xc0000005 error offset: 0x0001bc37 failure process identifier: 0xafc time start the application: 0x01cf8efc8557a612 Error in the application path: C: \ Program Files (x86) \ Microsoft Visual Studio 12.0 \ Common7 \ IDE \ MSTest.exe Fault file path: C: \ Windows \ Microsoft.NET \ Framework \ v4.0.30319 \ clr.dll Report ID: c510b7a4-faef-11e3-80d0-0026b9534e01 Full name of the full package: Failure package - relative application identifier:
Diagnostics shows me that all tests passed successfully, and MSTest failed at the publish-results-to-TFS stage:
Results file: C: \ Builds \ 2 \ CommonTest \ CommonQA \ TestResults \ tfsbuild3_WKTOBLD03 2014-06-23 12_02_24_Any CPU_Release.trx Test settings: default test settings Waiting for publication ...
What is happening there.
I tried almost everything, including
Does anyone know what could be the problem here?
source
share