Skip to content

SOS.Tests VerifyHeap_ReportsNoCorruption rejects output without “0 errors” #5996

Description

@steveisok

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1578741
Leg Name: Windows_Test_x64_Debug
Build error leg or test failing: SOS.Tests.GcInspectionTests.VerifyHeap_ReportsNoCorruption

Error Message

{
  "ErrorPattern": [
    "Assert\\.Matches\\(\\) Failure: Pattern not found in value",
    "Regex: .+0 errors.+",
    "Value: .+Segment +Object +Failure"
  ],
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

VerifyHeap_ReportsNoCorruption requires the exact phrase 0 errors. In two Windows x64 Debug matrix cases, verifyheap returned its segment/object/failure table without that phrase, causing the assertion to fail.

Investigate whether this is a valid host/runtime/DAC output variation or an SOS regression. If valid, the test should assert semantically that no corruption records were reported while retaining No heap corruption detected. Until resolved, skip only the confirmed configurations and link the skip to this issue.

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1578741
Error message validated: [Assert\.Matches\(\) Failure: Pattern not found in value Regex: .+0 errors.+ Value: .+Segment +Object +Failure]
Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 9/2/2026 9:57:00 PM UTC

Report

Build Repository Test Pull Request
1593730 dotnet/diagnostics SOS.Tests.ClrThreadsTests.SOS.Tests.ClrThreadsTests.ClrThreads_ReportsThreadCount #6019
1593469 dotnet/diagnostics SOS.Tests.GcInspectionTests.SOS.Tests.GcInspectionTests.VerifyHeap_ReportsNoCorruption #6019
1579739 dotnet/diagnostics SOS.Tests.GcInspectionTests.VerifyHeap_ReportsNoCorruption
1578741 dotnet/diagnostics SOS.Tests.GcInspectionTests.VerifyHeap_ReportsNoCorruption #5979

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 4

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions