diagnostics icon indicating copy to clipboard operation
diagnostics copied to clipboard

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

Open mdh1418 opened this issue 1 year ago • 1 comments

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 avatar May 07 '24 20:05 mdh1418

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.

mdh1418 avatar May 08 '24 17:05 mdh1418

Can we close this issue now? There are still problems in the Alpine legs but PR #5421 workarounds the current failures.

mikem8361 avatar Apr 15 '25 16:04 mikem8361

Can https://github.com/dotnet/diagnostics/pull/4656 be reverted in #5421 to check? If it passes after reverting then I think its fine to close this issue.

mdh1418 avatar Apr 15 '25 16:04 mdh1418

Never mind. We should keep this open until #4656 can be reverted. I don't want to that in #5421.

mikem8361 avatar Apr 15 '25 16:04 mikem8361

copilot, please try reverting the change #4656 in a new PR so we can check if the tests are passing now.

noahfalk avatar May 20 '25 21:05 noahfalk