dotnet / diagnostics

This repository contains the source code for various .NET Core runtime diagnostic tools and documents.
MIT License
1.19k stars 355 forks source link

[SOS][tests] OtherCommands(config: projectk.sdk.prebuilt*) VerifyOutput: no last command output or debugger exited unexpectedly #4654

Open mdh1418 opened 6 months ago

mdh1418 commented 6 months ago

Test: SOS.OtherCommands(config: projectk.sdk.prebuilt.9.0.0-preview.5.24254.1) Configuration: Alpine3_19_x64_Release Error Message: System.Exception : VerifyOutput: no last command output or debugger exited unexpectedly: \s*Name:\s+SymbolTestApp.Program\s+

Stack Trace:

   at SOSRunner.VerifyOutput(String verifyLine, Boolean match) in /__w/1/s/src/SOS/SOS.UnitTests/SOSRunner.cs:line 1194
   at SOSRunner.RunScript(String scriptRelativePath) in /__w/1/s/src/SOS/SOS.UnitTests/SOSRunner.cs:line 872
   at SOSRunner.RunScript(String scriptRelativePath)
   at SOSTestHelpers.RunTest(String scriptName, TestInformation information, ITestOutputHelper output) in /__w/1/s/src/SOS/SOS.UnitTests/SOS.cs:line 90
   at SOS.OtherCommands(TestConfiguration config) in /__w/1/s/src/SOS/SOS.UnitTests/SOS.cs:line 328
--- End of stack trace from previous location ---

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=668134&view=ms.vss-test-web.build-test-results-tab&runId=16575764&resultId=100451&paneView=debug

Seems unrelated to the PR where the test failed https://github.com/dotnet/diagnostics/pull/4616, but didn't seem to fail in neighboring builds, so possibly a flakey test?

mdh1418 commented 6 months ago

This test only fails on manually created PRs, hence then neighboring builds from dotnet-maestro didn't fail. https://github.com/dotnet/diagnostics/pull/4656 was created to verify that the test fails on manually created PRs and not just https://github.com/dotnet/diagnostics/pull/4616. The test failed, and so now https://github.com/dotnet/diagnostics/pull/4656 aims to disable the DumpMT Verification step of the test on Alpine to unblock PRs.