Skip to content

Retry transient DynamicDependency Elevated bootstrap flake in Foundation test pass (AB#63230809) - #6730

Open
v-arlysenko wants to merge 5 commits into
mainfrom
user/v-arlysenko/63230809-ddlm-bootstrap-retry
Open

Retry transient DynamicDependency Elevated bootstrap flake in Foundation test pass (AB#63230809)#6730
v-arlysenko wants to merge 5 commits into
mainfrom
user/v-arlysenko/63230809-ddlm-bootstrap-retry

Conversation

@v-arlysenko

@v-arlysenko v-arlysenko commented Aug 28, 2026

Copy link
Copy Markdown
Collaborator

Summary

DynamicDependency Elevated bootstrap tests intermittently fail on Win10 19044/19045 with MddBootstrapInitialize 0x80270254. This adds an opt-in, targeted rerun-on-failure to the shared Foundation test path, so a transient failure is retried and reported as unreliable instead of failing the PR/official run — without masking genuine regressions.

What changed

  • TestAll.ps1 — a testdef may declare MaxReruns; a failing TAEF testdef is rerun up to that many times into separate rerun logs (Te.rerun1/2/3.wtl). MaxReruns is validated and clamped to a safe range when read (PR-feedback follow-up).
  • DynamicDependency Win32 & WinRT testdefs — opt in with MaxReruns: 3.
  • WindowsAppSDK-RunTests-Steps.yml — pass the rerun logs plus useRetryLogic: true and requiredPassRateThreshold: 1 to ConvertWttLogToXUnit, so a failed-then-passed test is marked unreliable (skipped), while a test that fails every attempt still fails the run.

Why

Retry is scoped strictly to the two DynamicDependency testdefs via opt-in MaxReruns; all other tests keep single-attempt behavior. This unblocks Foundation PR/official runs from the known transient bootstrap flake while preserving regression detection.

Work item

AB#63230809 — WinAppSDK Foundation tests: DynamicDependency Elevated bootstrap flake on Win10 19044/19045 (MddBootstrapInitialize 0x80270254).

…pass (AB#63230809)

DynamicDependency Elevated bootstrap tests intermittently fail on Win10
19044/19045 with MddBootstrapInitialize 0x80270254. Add an opt-in, targeted
rerun-on-failure to the shared foundation test path so a transient failure is
retried and reported as unreliable instead of failing the PR/official run,
without masking genuine regressions.

- TestAll.ps1: testdefs may set MaxReruns; a failing TAEF testdef is rerun up
  to that many times into separate rerun logs (Te.rerun1/2/3.wtl).
- DynamicDependency Win32/WinRT testdefs opt in with MaxReruns: 3.
- WindowsAppSDK-RunTests-Steps.yml: pass the rerun logs plus useRetryLogic=true
  and requiredPassRateThreshold=1 to ConvertWttLogToXUnit so failed-then-passed
  tests are marked unreliable (skipped), while tests that fail every attempt
  still fail.
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@v-arlysenko

Copy link
Copy Markdown
Collaborator Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).
1 pipeline(s) were filtered out due to trigger conditions.

@v-arlysenko v-arlysenko changed the title User/v arlysenko/63230809 ddlm bootstrap retry Retry transient DynamicDependency Elevated bootstrap flake in Foundation test pass (AB#63230809) Aug 31, 2026
@v-arlysenko

Copy link
Copy Markdown
Collaborator Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).
1 pipeline(s) were filtered out due to trigger conditions.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants