#134879·runtime

[ci-scan] Test failure: cDAC dump tests read a truncated dump when createdump fails with partial ReadProcessMemory on Windows

Author: lewingCreated Sep 29, 2026Updated Oct 1, 2026
Labelsarea-Diagnostics-coreclrblocking-clean-ciuntriagedKnown Build Error

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1615623 Build error leg or test failing: CdacTests / windows-x64 release CdacDumpTest - Microsoft.Diagnostics.DataContractReader.DumpTests.AsyncContinuationDumpTests (4 tests) and CdacDumpTests.WorkItemExecution Pull request: https://github.com/dotnet/runtime/pull/134827

KBE authoring guidance
  • Error Details is for readers. Build Analysis parses only the JSON block under Error Message.
  • ErrorMessage uses the ordered array form. Both lines come from the failing work item's Helix console log, so Build Analysis can only match through that log; ExcludeConsoleLog must stay false. A test's error message alone contains only the second line and won't match.
  • The first line is createdump's own failure output, and the second is the failing tests' exception message. Together they identify "createdump could not finish a heap dump, so the dump tests read a truncated file". Neither is a generic harness line.
  • The job's Fail on test errors build error only has generic text in AzDO (PowerShell exited with code '1', One or more cDAC dump test failures were detected). This KBE intentionally doesn't try to match that build-error entry.

Error Details

While the cDAC dump tests were generating their dumps on Helix (Windows.Amd64.Open), createdump failed to write the AsyncContinuation heap dump. The debuggee's other dumps were written successfully. Every test that loads that dump then fails because the file is incomplete. The other 500 dump tests in the work item passed.

Generating dump for AsyncContinuation (heap\r2r)...
dotnet.exe exec ...\debuggees\AsyncContinuation\AsyncContinuation.dll
Process terminated.
cDAC dump test: AsyncContinuation debuggee intentional crash
   ...
[createdump] Writing minidump with heap for process 3560 to file ...\dumps\local\heap\r2r\AsyncContinuation\AsyncContinuation.dmp
[createdump] MiniDumpWriteDump - Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (-2147024597)
[createdump] Failure took 942ms
...
Microsoft.Diagnostics.DataContractReader.DumpTests.AsyncContinuationDumpTests.ThreadLocalContinuation_IsContinuation(config: local/r2r (windows_x64)) [FAIL]
  System.IO.InvalidDataException : Minidump '...\dumps\local\heap\r2r\AsyncContinuation\AsyncContinuation.dmp' did not contain a system info stream.
  Stack Trace:
     at Microsoft.Diagnostics.Runtime.Windows.Minidump.FindImportantStreams(String crashDump)
     at Microsoft.Diagnostics.Runtime.Windows.Minidump..ctor(...)
     at Microsoft.Diagnostics.Runtime.MinidumpReader..ctor(...)
     at Microsoft.Diagnostics.Runtime.DataTarget.CreateDumpReader(...)
...
Microsoft.Diagnostics.DataContractReader.DumpTests  Total: 504, Errors: 0, Failed: 4, Skipped: 220

Failing tests (all local/r2r (windows_x64)):

  • AsyncContinuationDumpTests.ThreadLocalContinuation_IsContinuation
  • AsyncContinuationDumpTests.ContinuationMethodTable_IsNonNull
  • AsyncContinuationDumpTests.ContinuationBaseClass_IsNotContinuation
  • AsyncContinuationDumpTests.ObjectMethodTable_IsNotContinuation

-2147024597 is ERROR_PARTIAL_COPY. The same lane passed on the same change in https://dev.azure.com/dnceng-public/public/_build/results?buildId=1614035. Build Analysis reports a 1.97% historical failure rate for the work item.

Error Message

json
{
  "ErrorMessage": [
    "[createdump] MiniDumpWriteDump - Only part of a ReadProcessMemory or WriteProcessMemory request was completed.",
    "did not contain a system info stream."
  ],
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
Agentic workflow metadata

Workflow artifact: create-kbe (local agent session) Artifact kind: kbe-verification Verified match count: 1 hit in failure.log (Helix console log CdacDumpTests/1/console.ed854698.log; element 1 at line 37, element 2 at lines 1477+, in order). 0 matches on [PASS] / [SKIP] lines.

[!NOTE] This issue was generated with GitHub Copilot.

Known issue validation

Build: :mag_right: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1615623 Error message validated: [[createdump] MiniDumpWriteDump - Only part of a ReadProcessMemory or WriteProcessMemory request was completed. did not contain a system info stream.] Result validation: :white_check_mark: Known issue matched with the provided build. Validation performed at: 9/29/2026 8:41:46 PM UTC

Report

Build Repository Test Pull Request
1615623 dotnet/runtime CdacDumpTests.WorkItemExecution dotnet/runtime#134827

Summary

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