dotnet / dotnet/diagnostics

[Test] SOSAsyncTests.AsyncMain Fails on .OS Thread Id

Open
#5,923 0 comments 0 reactions 0 assignees View on GitHub
CI Stability
Dominant language
C++
Stars
1.3k
Forks
404
Avg merge
2d 5h
Merged PRs (30d)
35

Description

Configuration: Alpine3_23_x64_Debug 8.0.25

Exception Message
```
System.Exception : VerifyOutput: no last command output or debugger exited unexpectedly: .OS Thread Id:\s+0x[A-Fa-f0-9]+(`[A-Fa-f0-9]+)?\s+.
```
Stacktrace
```
at SOSRunner.VerifyOutput(String verifyLine, Boolean match) in /__w/1/s/src/tests/SOS.UnitTests/SOSRunner.cs:line 1341
at SOSRunner.RunScript(String scriptRelativePath) in /__w/1/s/src/tests/SOS.UnitTests/SOSRunner.cs:line 973
at SOSRunner.RunScript(String scriptRelativePath) in /__w/1/s/src/tests/SOS.UnitTests/SOSRunner.cs:line 1011
at SOSTestHelpers.RunTest(String scriptName, TestInformation information, ITestOutputHelper output) in /__w/1/s/src/tests/SOS.UnitTests/SOS.cs:line 157
at SOSTestHelpers.RunTest(TestConfiguration config, String debuggeeName, String scriptName, ITestOutputHelper output, String testName, Boolean testLive, Boolean testDump, Boolean testTriage, Boolean testMini, DumpGenerator dumpGenerator) in /__w/1/s/src/tests/SOS.UnitTests/SOS.cs:line 192
at SOSAsyncTests.AsyncMain(TestConfiguration config) in /__w/1/s/src/tests/SOS.UnitTests/SOS.cs:line 771
```

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with SOSAsyncTests.AsyncMain in src/tests/SOS.UnitTests/SOS.cs and the verification path in SOSRunner.cs, then reproduce Alpine3_23_x64_Debug 8.0.25 using the linked build. Done means the AsyncMain test completes and its .OS Thread Id output matches the expected pattern without VerifyOutput failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
devtools, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.