當我在我的解決方案中運行所有測試(約800次測試)時,經過一段時間後,出現一個帶有錯誤的彈出窗口,顯示vstest.executionengine.x86.exe已停止工作。vstest在運行某些特定測試時崩潰
的問題,一些細節的例子,我得到的是在這裏:
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: vstest.executionengine.x86.exe
Problem Signature 02: 14.0.23107.0
Problem Signature 03: 559b7b6c
Problem Signature 04: mscorlib
Problem Signature 05: 4.6.1076.0
Problem Signature 06: 56d79fa2
Problem Signature 07: 0
Problem Signature 08: ffffffff
Problem Signature 09: System.StackOverflowException
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1051
Additional Information 1: 5cd2
Additional Information 2: 5cd2742c12da7dd4b1d5bf900186a452
Additional Information 3: 2fe2
Additional Information 4: 2fe276cacf1c00cd7a2aed7b27f5a5f9
Problem signature:
Problem Event Name: APPCRASH
Application Name: vstest.executionengine.x86.exe
Application Version: 14.0.23107.0
Application Timestamp: 559b7b6c
Fault Module Name: clr.dll
Fault Module Version: 4.6.1076.0
Fault Module Timestamp: 56d7a0ff
Exception Code: c00000fd
Exception Offset: 00003567
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1051
Additional Information 1: 0127
Additional Information 2: 01273c850b3b6fc6378d3f666887788e
Additional Information 3: 0786
Additional Information 4: 07866ddaac895bff9a7fa791fcdaa4a7
在VS輸出窗口,我得到:
------ Run test started ------
The active Test Run was aborted because the execution process exited unexpectedly. To investigate further, enable local crash dumps either at the machine level or for process vstest.executionengine.x86.exe. Go to more details: http://go.microsoft.com/fwlink/?linkid=232477
========== Run test finished: 0 run (0:03:55,0267906) ==========
當我試圖讓本地崩潰轉儲我發現有是沒有這樣的註冊表鍵,所以我一直無法做到這一點。
我位於所有導致vstest .---。exe崩潰的測試(22個測試)中,評論它們並且再次運行所有測試並且沒有那些「錯誤」測試。一切運行良好。
這些測試有什麼問題?他們都是過去工作的舊測試。如何找到問題?
你可能是對的。我詢問了我的同事關於他編輯的一種方法,並且存在可能導致vstest.exe崩潰的無限遞歸。修復後,我會看看是否只是這個問題。現在感謝。 – Gondil