Commit fc9d9cd
Disable desktop CLR and single-file DAC tests blocked by CDB SecureLoadDotNetExtensions (#5759)
## Summary
Contributes to #5757
CDB 10.0.26100.1 introduced `SecureLoadDotNetExtensions` which verifies
digital signatures of DAC DLLs before loading them. Both the .NET
Framework `mscordacwks.dll` (from local Framework directory and symbol
server) and servicing .NET Core DAC DLLs fail this verification, causing
16 test failures across all Windows legs:
```
Failed to verify signature of file: C:\Windows\Microsoft.Net\Framework64\v4.0.30319\mscordacwks.dll
Error code - 0x000021BE
Debugger.Settings.EngineInitialization.SecureLoadDotNetExtensions is enabled, set to false to disable.
Failed to load data access module, 0x80004002
```
## Root Cause
The test infrastructure conditionally enables
`SecureLoadDotNetExtensions=true` for non-nightly, non-private builds.
CDB then rejects the DAC DLLs because their signatures cannot be
verified:
- `.NET Framework DAC` — `mscordacwks.dll` from
`C:\Windows\Microsoft.Net\Framework64\v4.0.30319\` and from the symbol
server
- `Servicing .NET Core DAC` — for .NET 8.0 servicing runtimes
This affects three test categories:
- **13 `desktop.cli` tests** — desktop CLR DAC signature verification
fails
- **2 `projectk.sdk.prebuilt` tests** (DualRuntimes) — desktop CLR
portion of dual-runtime dump fails
- **1 `projectk.cli.singlefile` test** (StackAndOtherTests) — .NET 8.0
servicing DAC fails
## Changes
All changes are in `SOS.cs` — disable the affected tests until the CDB
signing issue is resolved:
1. **Exclude desktop CLR configurations** from `SOS.Configurations` —
filters out `IsDesktop` configs that rely on `mscordacwks.dll`
2. **Skip `StackAndOtherTests`** for single-file on Windows — .NET 8.0
servicing DAC signature verification fails under CDB
3. **Skip `DualRuntimes`** on Windows — desktop CLR DAC portion of
dual-runtime dump fails
## Impact
- Disables **16 tests** blocked by CDB DAC signature verification
failures
- Tests can be re-enabled once the signing issue with the CDB package is
resolved (tracked by #5757)
- Test-only change — no product code or test infrastructure changes
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent bc1b058 commit fc9d9cd
1 file changed
Lines changed: 18 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
254 | | - | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
255 | 259 | | |
256 | 260 | | |
257 | 261 | | |
| |||
546 | 550 | | |
547 | 551 | | |
548 | 552 | | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
549 | 559 | | |
550 | 560 | | |
551 | 561 | | |
| |||
624 | 634 | | |
625 | 635 | | |
626 | 636 | | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
627 | 644 | | |
628 | 645 | | |
629 | 646 | | |
| |||
0 commit comments