Add linux_arm and windows_x86 to cDAC dump test platforms#125793
Add linux_arm and windows_x86 to cDAC dump test platforms#125793max-charlamb merged 11 commits intodotnet:mainfrom
Conversation
|
Tagging subscribers to this area: @dotnet/runtime-infrastructure |
There was a problem hiding this comment.
Pull request overview
Adds 32-bit platform coverage to the cDAC dump test Helix infrastructure by enabling windows_x86 and linux_arm as first-class platforms in the runtime diagnostics pipeline, ensuring dump generation/testing exercises more architecture combinations.
Changes:
- Expanded
cdacDumpPlatformsdefaults to includewindows_x86andlinux_arm. - Added a Helix platforms variable for
helix_windows_x86. - Updated cDAC Helix queue selection logic to route
windows_x86andlinux_armto appropriate queues.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| eng/pipelines/runtime-diagnostics.yml | Adds windows_x86 and linux_arm to the default cDAC dump test platform list. |
| eng/pipelines/helix-platforms.yml | Introduces a Helix queue variable for Windows x86 runs (via WoW64 on x64 machines). |
| eng/pipelines/cdac/prepare-cdac-helix-steps.yml | Extends the platform→Helix-queue mapping to support windows_x86 and linux_arm. |
There was a problem hiding this comment.
Pull request overview
This PR expands cDAC dump-test Helix coverage to include two additional 32-bit target platforms (Windows x86 via WoW64 and Linux ARM32 via containerized Helix queues), and adds infrastructure to make dump artifacts easier to retrieve from Helix runs.
Changes:
- Add
windows_x86andlinux_armto the defaultcdacDumpPlatformsmatrix in the runtime diagnostics pipeline. - Extend cDAC Helix queue selection logic to map
windows_x86andlinux_armto appropriate Helix queues. - Add dump tarball upload/download wiring for cDAC dump tests.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
src/native/managed/cdac/tests/DumpTests/cdac-dump-helix.proj |
Adds tar creation/upload + attempts to download dumps.tar.gz from Helix results for dump tests/dumpgen. |
eng/pipelines/runtime-diagnostics.yml |
Adds windows_x86/linux_arm to cDAC dump platform defaults; quotes Helix queue param; publishes Helix results on failure for single-leg runs. |
eng/pipelines/helix-platforms.yml |
Introduces a helix_windows_x86 queue alias (WoW64 on x64 Windows 10 queue). |
eng/pipelines/cdac/prepare-cdac-helix-steps.yml |
Adds queue switch cases for windows_x86 and linux_arm. |
bd65a1a to
39eeff7
Compare
Add 32-bit platform coverage to the cDAC dump test Helix infrastructure: - windows_x86: runs on Windows.10.Amd64.Open via WoW64 - linux_arm: runs on containerized ARM32 Helix queue (Debian on ARM64) Also adds helix_windows_x86 variable to helix-platforms.yml for queue name centralization. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The containerized ARM32 queue name contains parentheses which bash interprets as subshell syntax. Quoting the /p:HelixTargetQueues argument prevents this. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
… unused variable - Windows: save test ERRORLEVEL before tar runs, exit /b 1 if tests failed - Unix: capture test exit code in _rc before tar, exit with it after - Fix comment that incorrectly said tar runs only on failure - Remove unused helix_windows_x86 variable from helix-platforms.yml Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
f99432d to
8fd98e7
Compare
The file contains a Target element, so .targets is the correct extension per MSBuild convention. It's a separate file because both DumpTests.targets and cdac-dump-helix.proj import it — the former uses the target for local builds, the latter uses the properties for Helix pre-commands. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…s.targets EnableUnsignedDac.props now contains only shared properties (DacRegAdd, DacRegAdd32) without the underscore prefix since they are the public interface. The _EnableUnsignedDacWindows target stays in DumpTests.targets where it belongs. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
/ba-g cDAC only pipeline change |
Adds 32-bit platform coverage to the cDAC dump test Helix infrastructure:
Windows.11.Amd64.Client.Openvia WoW64 (same queue as x64)helix_linux_arm32_oldest— Debian on ARM64 hardware)Depends on #125841 which fixes cDAC dump tests on 32-bit ARM targets.
Changes
eng/pipelines/cdac/prepare-cdac-helix-steps.yml: Added queue switch cases forwindows_x86andlinux_armeng/pipelines/runtime-diagnostics.yml: Addedlinux_armandwindows_x86tocdacDumpPlatformsdefaults, publish dump artifacts on test failuresrc/native/managed/cdac/tests/DumpTests/EnableUnsignedDac.props: Extracted shared unsigned DAC registry logic with WoW64/reg:32support for x86src/native/managed/cdac/tests/DumpTests/cdac-dump-helix.proj: Preserve test exit code through tar command, import shared DAC propsTesting
CI validates all 6 platforms: windows_x64, windows_x86, windows_arm64, linux_x64, linux_arm64, linux_arm.