Our CI has an intermittent failure:
The active test run was aborted. Reason: Test host process crashed
Results File: C:\a\_temp\AzDevOps_2019-6vse00024V_2021-06-24_02_47_47.trx
Test Run Aborted.
As far as I can tell, the message is printed by this code:
|
reason = CommonResources.TestHostProcessCrashed; |
It would be really helpful here if it printed the full path to the process executable that crashed. I took a quick look but I couldn't find where to get the executable full path from. Also it seems that the error output stream contents was empty (clientExitErrorMessage) so when the test process crashes it should print the full exception stack to the Console.Error so that the stack appears in the CI log.
Our CI has an intermittent failure:
As far as I can tell, the message is printed by this code:
vstest/src/Microsoft.TestPlatform.CommunicationUtilities/TestRequestSender.cs
Line 667 in eff66c0
It would be really helpful here if it printed the full path to the process executable that crashed. I took a quick look but I couldn't find where to get the executable full path from. Also it seems that the error output stream contents was empty (
clientExitErrorMessage) so when the test process crashes it should print the full exception stack to the Console.Error so that the stack appears in the CI log.