MSTest Crash When Publishing Results

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

  • Granting permissions to the TFSBuild and TFSService accounts in the BuildDrops folder.

  • Flushing the TFS cache on the server and client computer.

  • Installing VS 2013 SP1.

Does anyone know what could be the problem here?

+4
source share
2 answers

mstest.exe TFS2013.3 , RTM Visual Studio 2013 . VS2013.3 .

+1

VS2013.3/TFS2013.3 . Windows MSTest

Application: MSTest.exe 
Framework Version: v4.0.30319
Description: The process was terminated due to an internal error in the .NET Runtime at  IP 74BFAA23 (74BE0000) with exit code 80131506.

"Runner Test Runner" (AgileTestPlatformSpec ), . , !

+1

Source: https://habr.com/ru/post/1545717/


All Articles