microsoft / vstest

Visual Studio Test Platform is the runner and engine that powers test explorer and vstest.console.
MIT License
870 stars 316 forks source link

Dump file not created when process crashes #5121

Open AArnott opened 6 days ago

AArnott commented 6 days ago

I have a particularly annoying bug that frequently crashes the test runner in Azure Pipelines but thus far hasn't repro'd locally on a dev box. I need a dump of the process to investigate, but no dump in produced.

Here is a sample crash.

The command that runs the test includes --blame-crash and other switches. On Windows agents I also acquire procdump and set the PROCDUMP_PATH environment variable.

In the cases I have, the crashes happen on linux. What additional steps must I take in my pipeline to get a dump collected?

.NET SDK 8.0.300 .NET 8.0.6