Skip to content

CI flakiness inventory: Nov 4-9, 2026 (follow-up to #13278) #13429

Closed

Description

@simonrozsival

Android framework version

Other: net12.0-android on main; net11.0-android on release/11.0.1xx. The pipeline also exercises previous-SDK application builds and net10.0 host-side test assemblies.

Affected platform version

dotnet/android public Azure DevOps dotnet-android pipeline: dnceng-public, project public, definition 333, macOS/Linux/Windows.

Primary snapshot: PR builds queued 2026-11-04T00:00:00Z through 2026-11-09T14:37:24Z, enumerated at 2026-11-09T14:37:53Z. Results are frozen at collection; later retries/completions can change the live pages.

Description

Retry-aware run and job reliability report — Nov 9–19, 2026

Supplement to the original Nov 4–9 report below; it does not replace its unresolved findings.
Frozen snapshot: 2026-11-19T08:22:45Z. Public pipeline definition 333, dnceng-public/public.
This cohort contains 380 completed PR-associated runs, queued Nov 9–19 UTC; Nov 19 is partial.
Only completed runs retained at collection are included. This is not a census of queued,
running, deleted or canceled builds, nor a representative 30-day PR denominator.
The older retained PR history is biased toward retries and is not used for daily volume.

188 runs passed first try; 91 passed after a failure/retry; 101 remained red.
Thus 192/380 (50.5%) encountered at least one failed/canceled executed job.
Among 279 final-green runs, 91 (32.6%) had an earlier failed job.
An affected run is not automatically flaky: real candidate-PR regressions, infrastructure
incidents, unresolved failures and non-gating failures must remain distinguishable.

Combined daily run outcomes and failed job-runs by cause

Dark green = final-green runs with no observed failed/canceled job; light green = final-green
runs with an earlier failed job/retry. These are disjoint, not stacked. Together with final-red
runs they sum to all runs. The pale-red affected-runs line overlaps both final-red and
recovered-green runs. Gray is total run exposure. Colored bars count failed job-runs,
not failed attempts
: each build × executed lane once, classified by its first failure.
Retries remain visible but repeated failures do not inflate these bars. A run can have
several failed jobs, so bars need not sum to the run lines; this is a shared count axis,
not a failure-rate plot. Lines connect daily counts, not continuous measurements.

Queue date UTC All runs Green first try Green after retry Final red Had failed job Failed job-runs
2026-11-09 27 14 4 9 13 82
2026-11-10 41 24 10 7 17 42
2026-11-11 46 21 9 16 25 107
2026-11-12 79 35 19 25 44 110
2026-11-13 77 48 22 7 29 105
2026-11-14 11 8 3 0 3 3
2026-11-15 1 1 0 0 0 0
2026-11-16 36 20 3 13 16 95
2026-11-17 25 5 12 8 20 42
2026-11-18 36 11 9 16 25 67
2026-11-19 1 1 0 0 0 0
Failure types and where to act
First failure signature Failed job-runs Distinct affected runs (overlap)
Test-suite failure reported 344 105
Build/tool diagnostic 99 29
Setup/process 46 7
Network/service 47 40
Agent lost/PowerShell startup 43 27
Timeout/cache/daemon 17 16
Unclassified 57 19
Total 653 192 distinct runs
Mutually exclusive run footprint Affected runs Ultimately green Final red
Only test/build/setup signatures 96 36 60
Test/build/setup plus network/agent 27 11 16
Only network/agent signatures 34 28 6
Includes unresolved timeout/cache/unknown 35 16 19

The unresolved footprint takes precedence over the other three. These are signature
footprints, not established ownership or preventable-flakiness estimates
. A feed 401 can
be a package-publication problem; a test failure can originate in an emulator, runtime,
test or PR change. Conversely, external failures may be mitigated in our pipeline.
The automated classification has not been exhaustively root-cause-reviewed.

Tests dominate observed failed job-runs: 344/653 (52.7%). Only 34/192 affected runs
have exclusively network/agent signatures, while 123 include test/build/setup signatures.
This supports investigating tests/build/setup alongside provider incidents; it does not
prove that eliminating network/agent failures would rescue every mixed run, or that all
123 are fixable flakes. 45 distinct runs contain 69 test-classified failed attempts
subsequently recovered by a same-build retry
; these are investigation candidates, not
proof that every individual assertion is inherently nondeterministic.

Daily failed job-runs by first-failure category
Queue date UTC Tests Build/tool Setup Network Agent/startup Timeout/cache Unknown
2026-11-09 43 20 0 2 0 0 17
2026-11-10 35 0 0 1 3 2 1
2026-11-11 79 11 0 11 3 0 3
2026-11-12 51 12 13 19 5 3 7
2026-11-13 30 29 30 6 6 4 0
2026-11-14 3 0 0 0 0 0 0
2026-11-15 0 0 0 0 0 0 0
2026-11-16 59 9 0 0 1 2 24
2026-11-17 22 7 2 4 3 4 0
2026-11-18 22 11 1 4 22 2 5
2026-11-19 0 0 0 0 0 0 0
Job exposure and observed retry recovery

Daily job-run exposure, failures and recoveries

The cohort contains 13,800 executed job-runs, 653 with a failure and 150
recovered in a later same-build attempt. Unstarted/abandoned jobs are excluded.

Observed retry recovery rate by frequently executed lane

APKs 2 recovered in 23/363 (6.34%) job-runs; APKs 1 in 18/363 (4.96%);
MSBuild+Emulator 8 in 10/363 (2.75%); Linux Build in 10/380 (2.63%).
Eight Linux recoveries belong to the Nov 11 apt-DNS burst, not independent daily flakes.
Windows MSBuild shards 2/3/4 had 15/19/17 failures and no observed retries:
zero recoveries must not be interpreted as stability.

Across all 390 retained PR builds, the only lanes with no observed failures were
Java.Interop Tests / Mac - .NET (25 executions), MSBuild+Emulator 12 (22),
and DevSkim (1). Those small samples do not establish “never flaky.”
The heavily exercised Android Tools Tests / Mac - .NET lane had 1 failure in 380
recent executions, a CS0105 compile diagnostic with no retry.

Complete lane exposure and observed recovery table (recent cohort)
Stage / job Executed job-runs With failure Recovered Failed, never retried Recovery rate
Package Tests / macOS > Tests > APKs 2 363 55 23 31 6.34%
Package Tests / macOS > Tests > APKs 1 363 43 18 23 4.96%
Java.Interop Tests / Windows - .NET 22 1 1 0 4.55%
MSBuild Emulator Tests / macOS > Tests > MSBuild+Emulator 8 363 25 10 15 2.75%
Linux / Linux > Build 380 27 10 17 2.63%
MSBuild Emulator Tests / macOS > Tests > MSBuild+Emulator 11 363 22 8 14 2.2%
MSBuild Emulator Tests / macOS > Tests > MSBuild+Emulator 9 363 22 8 13 2.2%
MSBuild Emulator Tests / macOS > Tests > MSBuild+Emulator 10 363 19 7 12 1.93%
MSBuild Emulator Tests / macOS > Tests > MSBuild+Emulator 5 363 18 5 13 1.38%
MSBuild Tests / macOS > Tests > MSBuild 1 363 18 5 13 1.38%
MSBuild Emulator Tests / macOS > Tests > MSBuild+Emulator 2 363 14 4 10 1.1%
MSBuild Emulator Tests / macOS > Tests > MSBuild+Emulator 3 363 18 4 14 1.1%
MSBuild Emulator Tests / macOS > Tests > MSBuild+Emulator 4 363 14 4 10 1.1%
MSBuild Tests / macOS > Tests > MSBuild 2 363 15 4 11 1.1%
Windows / Windows > Build & Smoke Test 380 30 4 25 1.05%
MSBuild Emulator Tests / macOS > Tests > MSBuild+Emulator 1 363 13 3 10 0.83%
MSBuild Tests / Windows > Tests > MSBuild 7 363 24 3 20 0.83%
MSBuild Tests / macOS > Tests > MSBuild 6 363 10 3 7 0.83%
MSBuild Tests / macOS > Tests > MSBuild 7 363 15 3 12 0.83%
MSBuild Tests / Windows > Tests > MSBuild 8 285 17 2 15 0.7%
MSBuild Emulator Tests / macOS > Tests > MSBuild+Emulator 6 363 17 2 15 0.55%
MSBuild Tests / Windows > Tests > MSBuild 1 363 22 2 20 0.55%
MSBuild Tests / Windows > Tests > MSBuild 5 363 20 2 18 0.55%
MSBuild Tests / macOS > Tests > MSBuild 5 363 9 2 7 0.55%
MSBuild Tests / macOS > Tests > MSBuild 8 363 12 2 10 0.55%
MSBuild Tests / macOS > Tests > MSBuild 9 363 9 2 7 0.55%
Mac / macOS > Build 380 17 2 15 0.53%
Linux Tests / Linux > Tests > MSBuild 1 361 9 1 8 0.28%
Linux Tests / Linux > Tests > MSBuild 2 361 10 1 9 0.28%
MSBuild Emulator Tests / macOS > Tests > MSBuild+Emulator 7 363 13 1 12 0.28%
MSBuild Tests / Windows > Tests > MSBuild 6 363 16 1 15 0.28%
MSBuild Tests / macOS > Tests > MSBuild 3 363 11 1 10 0.28%
MSBuild Tests / macOS > Tests > MSBuild 4 363 8 1 7 0.28%
Android Tools Tests / Windows - .NET 380 3 1 1 0.26%
Android Tools Tests / Mac - .NET 380 1 0 1 0.0%
DevSkim / Scan for banned APIs 1 0 0 0 0.0%
Java.Interop Tests / Mac - .NET 22 0 0 0 0.0%
MAUI Tests / MAUI Integration 18 0 0 0 0.0%
MSBuild Emulator Tests / macOS > Tests > MSBuild+Emulator 12 18 0 0 0 0.0%
MSBuild Tests / Windows > Tests > MSBuild 2 363 15 0 15 0.0%
MSBuild Tests / Windows > Tests > MSBuild 3 363 19 0 19 0.0%
MSBuild Tests / Windows > Tests > MSBuild 4 363 17 0 17 0.0%
MSBuild Tests / macOS > Tests > MSBuild 10 285 5 0 5 0.0%

“Never retried” is not the same as all unrecovered failures: a retry can also fail.

Incident timing and attribution boundaries

Infrastructure-pattern incident timing by pool and signature

The incident view uses retained failed-attempt event timestamps, not queue-date cohorts.
It is a selected infrastructure-pattern view, not a census of all test/build failures.

  • Nov 11, approximately 14:25–16:51 UTC: Linux apt DNS failures to Ubuntu/Launchpad hosts.
  • Nov 12: hosted-macOS DNS, service and transport failures overlap.
  • Nov 18, approximately 17:03–17:06 UTC: 18 ACES MSBuild agents lost across two builds;
    the daily cohort has 22 agent/startup-classified failed job-runs overall.

These are observed clusters, not proof of an Azure datacenter, Linux kernel, or single-host
root cause. Hosted-agent display names are reusable ephemeral slot labels; they cannot
establish repeated physical-machine failures. Pool/OS/image patterns are more defensible.
Queue-date charts above are run cohorts: actual failures and retries can occur later.

Representative event evidence:

  • 1671432: 2026-11-09 19:34 UTC, Hosted macOS, DNS.
  • 1670795: 2026-11-10 00:58 UTC, Hosted macOS, DNS.
  • 1672345: 2026-11-10 06:17 UTC, AcesShared, Agent lost.
  • 1673210: 2026-11-10 17:33 UTC, Hosted macOS, Agent lost.
Reproducible counting and next investigations

AzDO stage/job retry keeps the build ID and increments the attempt. Traverse
previousAttempts[].timelineId and recordId recursively; the latest timeline alone
hides recovered failures. /azp run creates a new build ID and must remain a separate run.
Use original queueTime, not mutable build startTime, for daily cohorts.
Identify a lane by its ancestor stage and job identity, disambiguating duplicate display
names/refNames; stage/job display-name pairs were unique within this sample.
Deduplicate repeated timeline records, exclude never-started abandoned attempts, and
reconcile all daily and category totals. Test-failure markers must be recognized before
generic compiler-error strings quoted inside test output.

Core aggregation SQL (normalized frozen data)
-- failure_jobs: one row per failed build x executed lane, including recovered failures.
-- builds: one row per completed PR run in this queue-date cohort.
SELECT substr(queue_time,1,10) AS day, COUNT(*) AS all_runs,
  SUM(final_result='failed') AS final_red,
  SUM(final_result='succeeded' AND NOT EXISTS
    (SELECT 1 FROM failure_jobs f WHERE f.build_id=b.id)) AS green_first_try,
  SUM(final_result='succeeded' AND EXISTS
    (SELECT 1 FROM failure_jobs f WHERE f.build_id=b.id)) AS green_after_failure
FROM builds b GROUP BY day ORDER BY day;

SELECT queue_day, COUNT(DISTINCT build_id) AS affected_runs,
  COUNT(*) AS failed_job_runs,
  SUM(failure_type='tests') AS tests, SUM(failure_type='build') AS build,
  SUM(failure_type='setup') AS setup, SUM(failure_type='network') AS network,
  SUM(failure_type='agent') AS agent, SUM(failure_type='timeout') AS timeout,
  SUM(failure_type='unknown') AS unknown
FROM failure_jobs GROUP BY queue_day ORDER BY queue_day;

SELECT stage, job, COUNT(*) AS executed_job_runs,
  SUM(failed) AS with_failure, SUM(recovered) AS recovered,
  100.0*SUM(recovered)/COUNT(*) AS recovery_pct
FROM job_runs GROUP BY stage,job;

In this snapshot every final-green run with a failed job has same-build recovery evidence;
that invariant was checked rather than assumed. Green first try means no failed job,
not necessarily no task-level/test-level automatic retry or non-gating test result.

  • Prioritize repeated recovered test signatures in APKs and emulator lanes; distinguish
    real regressions, runtime/emulator failures, timing assertions and infrastructure.
    Do not disable correctness checks or quarantine tests solely to improve headline rates.
  • Escalate the correlated ACES loss with build/job IDs and exact UTC timestamps; investigate
    hosted-macOS resolver/egress evidence separately. No datacenter attribution is established.
  • Audit existing operation-level retry mechanisms before proposing narrow, bounded,
    integrity-preserving mitigation. Do not blanket-retry unknown failures or PR regressions.
  • Continue the original issue's source-aware fix verification and unresolved follow-ups.

Historical figures elsewhere in this issue use different windows/denominators; do not
combine them with this cohort. No CI reruns or pipeline/product changes were made here.
This supplement does not advance the weekly inventory cursor: it omits the gap and
pending-build reconciliation required to claim continuous coverage after the predecessor.

Follow-up to #13278, the October 16-27 inventory opened October 27. The earlier chain is #13168, #12929 and #12704. This issue supersedes #13278 as the current tracking snapshot. Closing the predecessor does not resolve its remaining test, runtime or infrastructure problems.

The Unix .NET-home permission repairs are holding in observed fixed-source CI. The same emulator archive stall, Windows project-move sharing violation and unchanged-AAB timing assertion still recur. The upload/preferences memory-pressure tests continue to pass, but two other process crashes remain, so "all device crashes are fixed" would be incorrect.

This is a bounded post-merge verification, supplemented by the intervening October 27-November 3 analysis, not a claim that every independent root of every red build has been exhaustively diagnosed.

Population and reliability trend

The primary snapshot contains 72 retained PR builds: 67 completed, 44 succeeded and 23 failed; four in progress and one cancelling are excluded from completed-build rates. A separate deleted-record query found 31 additional records, all canceled.

The completed builds published 2,683 test runs, 575,152 test executions and 134 failed-result entries across 15 builds. Earlier stage attempts are included, including incidents in builds that eventually turned green. Collection completed with zero outstanding errors; retry-timeline references and per-run failed-result counts were reconciled.

Metric Oct 16-27 inventory Oct 27-29 bridge Oct 30-Nov 3 interim Nov 4-9
Completed non-canceled PR builds 104 54 70 67
Final red builds, all causes 47 (45.19%) 14 (25.93%) 16 (22.86%) 23 (34.33%)
Builds with stage retries 33 (31.73%) 11 (20.37%) 14 (20.00%) 17 (25.37%)
Builds with explicit test-process crash signature 36 (34.62%) 0 1 (1.43%) 2 (2.99%)

These are descriptive build-level rates, not a regression-excluded flakiness ratio. The crash metric uses the same explicit The test process crashed: signature across snapshots; a crash is not automatically a flaky test or one shared root cause. The old inventory's confirmed-incident catalog was not exhaustively reclassified for this bounded follow-up, so no comparable current catalog-union flakiness percentage is claimed.

Final-red and retry rates rose relative to the interim snapshot, but remain below the October inventory. Candidate PR failures, release/main and runtime mix, the .NET transition, reduced duplicate work and changed test coverage prevent treating that movement as a clean causal measure of infrastructure reliability. The large drop in explicit crashes is encouraging; source-aware test execution below is stronger evidence for the specific memory repairs.

Fixes with positive execution evidence

Change Actual tested-source exposure and assessment
#13376, move Unix bootstrap SDK installation into agent temporary storage; #13397, isolate DOTNET_CLI_HOME without changing real HOME No original .dotnet-home permission failure among 36 completed sources containing #13397. Their macOS tasks include 806 successful bootstrap-install attempts across 36 builds and 770 successful build-server shutdown attempts across 33 builds, with zero failures of those operations. Attempts include configurations/retries, not independent builds.
#13110, bounded upload-test copying; #13310, SharedPreferences test pressure repair Both merges occur in 63 completed build sources, including 57 device-exercising builds. PutAndGetManyValues and RepeatedEditorsDoNotLeakReferences each report 230 passes; the two upload-reset completion-option cases each report 228 passes, with no observed failures of those four targets in inspected fixed-source suite logs. These are reported test events, not internal repeat iterations or independent builds.
#13265, remove the unsuitable SDK-resolution timing guard The unreliable correctness gate was removed while correctness/output assertions remained. The intervening verification found positive correctness execution; this is not evidence that SDK resolution became faster.

The two observed first-run sentinel denials, 1663841 and 1663916, both contain #13376 but lack #13397. The SDK-location change alone did not isolate first-run state; these failures do not show the combined fix failing.

Positive example 1670836: bootstrap log 63 installs into the agent-temp dotnet-bootstrap root, and log 275 executes a successful build-server shutdown using that SDK. These logs do not independently print DOTNET_CLI_HOME; no unobserved value is inferred.

Disposition: do not duplicate the landed permission implementation. Reopen that exact problem only with a matching fixed-source recurrence.

Persistent problems: next investigation order

Priority Problem Fresh evidence and boundary
1 Emulator archive operation stalls until job cap 1665928, initial macOS MSBuild+Emulator8 attempt: last substantive progress is the 488,731,099-byte emulator-darwin_x64-16428233.zip download at Nov 5 16:21:54 UTC, then silence until cancellation at 19:15:34 UTC under the 180-minute job cap. Same last-logged archive as six October 27-29 capped builds. Source contains both permission fixes and the lane-reduction fix; later stage retry makes the final build green. The last log does not establish which network/stream/install operation blocked. Keep the existing cap and integrity checks while identifying the blocking operation.
2 Windows project-move sharing violation 1668977, queued Nov 7: BuildBasicApplicationThenMoveIt((True, CoreCLR)), run 46497074, result 100237, again fails with a sharing violation. Same family as earlier build 1657572; current source includes the setup/memory fixes. Identify the locked object and Windows handle owner before changing process lifetime.
3 Unchanged AAB incremental-install timing assertion IncrementalFastDeployment("aab") fails in 1665928 and 1670795, the latter queued Nov 9. Unchanged 15.96s versus incremental 15.78s, and unchanged 24.76s versus incremental 24.37s. These are measured Build,Install durations, not proof another package install occurred. Attribute phases before changing the assertion.
Separate bounded work Bootstrap-script DNS failure 1665740, log 796: curl: (6) Could not resolve host: builds.dotnet.microsoft.com while installing the SDK into bin/Release/dotnet. Retry recovers. This is the existing bootstrap-fetch failure surface, not a permission failure or proof of the emulator stall's cause.

The other capped build, 1666161, belongs to the callback-test hang/crash below. It must not be added to the emulator-download-stall count.

Remaining crashes: do not reopen the upload-memory diagnosis indiscriminately

Both current crash build sources contain #13110 and #13310:

Build / candidate context Observed outcome Interpretation
1666161, testing #13312 NativeAOT task log 856 reports a process crash while HandlerCancellationDoesNotScaleQuadratically(True) is active. Its Debug suite becomes silent after the False variant and reaches the job cap. A later build of the same PR, 1667641, publishes 26 failed ActionCallback result entries in a NullReferenceException family. Route the new callback-test failures and hang/crash evidence to #13312. Do not count this as an established recurrence of upload OOM. The last active test is a lead, not causal proof.
1665601, testing JNI-layout #12984 Debug task log 856 reports a process crash while PingLocalhost is active. Later stage retry recovers the build. Root remains unknown. Neither the last active method nor the candidate's JNI changes alone prove the cause.

Finalization and Gradle: exact signatures and source matter

  • The original Java.InteropTests.JavaObjectTest.Dispose_Finalized assertion really recurs in 1665919, run 46404854, result 100640. Debug log 1056 reports the expected Dispose(disposing:false) callback missing; later Debug log 2250 passes, and the final build is green. However, this is [release/11.0.1xx][TrimmableTypeMap] Validate generated top-level Java identifiers #13405 targeting release/11.0.1xx, whose source lacks the main setup/memory fixes. Keep the old CoreCLR test failure: Java.InteropTests.JavaObjectTest.Dispose_Finalized #10358 finalization work unresolved; do not describe this as a new main regression. This is the original exact test, unlike the interim snapshot's different registered-peer finalizer failure.
  • AGP 9.1.1 plugin resolution recurs in 1663707: the attached GradleFBProj((True, NativeAOT)) build log cannot resolve com.android.application:9.1.1. Its source lacks [tests] Enable GradleFBProj resolution diagnostics #13336, even though execution happens after that PR's merge time. No failed GradleFBProj result was observed among 48 completed sources containing [tests] Enable GradleFBProj resolution diagnostics #13336, but that PR adds diagnostics, not a resolver fix. The historical corrupt-ZIP incident was not reproduced in the bounded local probe; neither recurrence nor eradication is established here.
  • New source-build Maven inputs are distinct: 1667014, log 102, fails manifest-merger:32.5.1 dependency resolution with a mirror HTTP 401 explicitly requiring authenticated upstream package saving; 1667015, log 84, cannot resolve the AGP 9.5.1 marker. Investigate feed/package availability separately from the AGP 9.1.1 test failure and unidentified ZIP corruption.

Hosted-agent and checkout incidents

Five completed builds report lost agent contact: 1667560, 1665718, 1664036, 1663708, and 1663707.

Two report checkout failure: 1665714 and 1664036. These counts overlap; a checkout task interrupted by agent loss is not automatically a separate Git transport root.

Existing provider/pool-owner escalation remains appropriate for resolver/egress and agent-contact evidence; cross-.NET transport history includes dotnet/arcade#9009. Prior public GitHub-incident overlap was sparse and did not establish a stable outage effect or a shared root for these failures. No provider escalation or CI retry was executed as part of this verification.

Coverage and rollout checks

Carry-forward and follow-up

The predecessor's GREF/collection, finalization, PowerShell procargs, MAUI/device-lab, corrupt-ZIP and other unresolved entries are not closed by absence from this bounded report. In particular, preserve #12031/#13010, #13275, #10358, #12652, #13088 and #12658; this issue makes no current live-state or fixed-source resolution claim for trackers not separately reverified.

  • Diagnose the repeated emulator archive operation stall without increasing the job cap or adding a blanket retry layer.
  • Identify the Windows lock holder in the project-move failure.
  • Attribute unchanged-AAB Build,Install timing before changing thresholds or deployment behavior.
  • Monitor [build] net12.0 target framework #13376/[ci] Isolate Unix .NET CLI first-run state #13397; only resume duplicate permission work on a matching fixed-source recurrence.
  • Keep the targeted upload/preferences fixes; triage the callback and PingLocalhost crashes separately.
  • Assess bootstrap DNS mitigation and provider/pool-owner transport/contact-loss evidence independently.
  • Keep release finalization and other predecessor reference-lifetime assertions unresolved; preserve real correctness checks.
  • Separate Gradle plugin/feed failures from archive corruption and verify diagnostic coverage on actual source.
  • Verify [Microsoft.Android.Run] Report partial results after interruption #13313 after a source containing its merge actually exercises a crash; continue coverage-aware reporting.

Steps to Reproduce

  1. Enumerate public pipeline definition 333 PR-source builds from https://dev.azure.com/dnceng-public/public/_apis/build/builds with the UTC queue bounds above, all continuation pages, and a separate deletedFilter=includeDeleted query. Preserve initial build states rather than mixing later completions into the frozen denominator.
  2. Read each build's timeline and recursively retain all referenced previous-attempt timelines. Deduplicate attempts by record identity/start/attempt, preferring completed records. Keep recovered green-build incidents.
  3. Collect run summaries and per-run failed results with $skip, repeated-page detection and count reconciliation. Do not trust ResultsByBuild pagination; it can repeat the first page. Count explicit crash task logs separately because crashed suites may not publish failed test rows.
  4. Resolve task/job/configuration ancestry; inspect failed logs, attached Gradle logs and positive setup/suite output. A skipped task with a timestamp/log is not executed coverage. Strip terminal escapes before parsing reported test events.
  5. Compare each relevant merge SHA with the actual build sourceVersion using GitHub compare; only ahead/identical establishes merge inclusion. Queue/execution time after merge is insufficient. Check release-targeted sources separately.
  6. Count incidents once per completed build, keep category overlap explicit, and distinguish operation/configuration/retry counts from independent builds. Compare like-defined metrics across snapshots; do not turn all red builds or failed-result entries into a flaky-build rate.
  7. Check actual lane starts and restored previous-SDK result outcomes before interpreting coverage reductions or zero failures as fixes.

Did you find any workaround?

Use source containing both #13376 and #13397 for the old Unix home-permission failure. Keep the bounded upload-copy and preferences test repairs in #13110/#13310. Raising Java heap limits is not an established general correction.

A targeted retry may unblock a verified transient incident, as several examples did here, but it does not fix a stall, lock or runtime error. Do not blanket-retry PR regressions, unknown crashes or every test failure, raise caps, relax assertions, or disable meaningful coverage to improve headline rates.

No product changes, new retry framework, CI reruns, toolchain/device writes or child-session assignments were made during this read-only verification.

Relevant log output

Permission failures on source containing #13376 but not #13397, builds 1663841/1663916:

System.UnauthorizedAccessException: Access to the path '/Users/cloudtest/.dotnet/11.0.100-rc.3.26522.148.toolpath.sentinel' is denied.

Bootstrap fetch, build 1665740/log 796:

curl: (6) Could not resolve host: builds.dotnet.microsoft.com

For exact task/result evidence, use the linked build pages and the run/result/log identifiers above. The full frozen raw logs, source-ancestry comparisons, SQL analysis and SHA-256 manifest are preserved with this investigation; GitHub does not expose those session-local files, so they are not presented as public attachments.

Activity

  1. added
    needs-triage
    flaky-ci
    on Nov 9, 2026
  2. simonrozsival commented on Nov 13, 2026

    @simonrozsival
    MemberAuthor

    Flaky recurrence: Java.InteropTests.JavaObjectTest.Dispose_Finalized (exact #10358 signature)

  3. simonrozsival commented on Nov 13, 2026

    @simonrozsival
    MemberAuthor

    Flaky recurrence: Xamarin.Android.Build.Tests.InstallAndRunTests.GradleFBProj((True, CoreCLR)): Gradle corrupt ZIP

  4. simonrozsival commented on Nov 13, 2026

    @simonrozsival
    MemberAuthor

    Flaky recurrence: macOS PowerShell startup Call to 'procargs' failed with errno 5 (tracked in #12652)

  5. simonrozsival commented on Nov 13, 2026

    @simonrozsival
    MemberAuthor

    Flaky recurrence: hosted-agent disconnect (We stopped hearing from agent)

  6. simonrozsival commented on Nov 13, 2026

    @simonrozsival
    MemberAuthor

    Flaky recurrence: macOS PowerShell procargs failure (Determine if we need to rerun failed tests)

    Evidence: Tests ran and results were published. No failed test results were found. The PowerShell rerun-decision task failed with a procargs/errno 5 host error, the known macOS signature (#12652). This was the only failed job in the run.

  7. simonrozsival commented on Nov 13, 2026

    @simonrozsival
    MemberAuthor

    Flaky recurrence: checkout git fetch failure (exit 128)

    Evidence: Checkout failed before any PR code ran. The log shows RPC failed; curl 56, early EOF, Could not resolve host: github.com and git fetch exit code 128. The later upload test results failure was a consequence of the checkout failure. This was the only failed job in the run. The signature matches the known checkout/git transport family.

  8. simonrozsival commented on Nov 14, 2026

    @simonrozsival
    MemberAuthor

    Flaky CI report: Java.InteropTests.JavaObjectTest.Dispose_Finalized (NativeAOT): Expected JavaDisposedObject.Dispose(disposing: false) to run. Expected: True But was: False

    Test run 46837024 (Mono.Android.NET_Tests-NativeAOT), result 100855, stage retry attempt 2 of macOS > Tests > APKs 2. This is the same signature as the attempt-1 report above, and the known finalization flake (#10358). The PR changes Handler/View action posting, not JNI finalization.

    Automated triage; no retry was requested (job-scoped retry could not be verified).

  9. simonrozsival commented on Nov 14, 2026

    @simonrozsival
    MemberAuthor

    Flaky CI report: Java.InteropTests.JavaObjectTest.Dispose_Finalized (NativeAOT): Expected JavaDisposedObject.Dispose(disposing: false) to run. Expected: True But was: False

    Test run 46858018 (Mono.Android.NET_Tests-NativeAOT), result 100815, stage retry attempt 3 of macOS > Tests > APKs 2. This is the third consecutive attempt with the same signature. It may be strongly reproducible on NativeAOT for this head.

    Automated triage; no retry was requested (job-scoped retry could not be verified).

  10. simonrozsival commented on Nov 14, 2026

    @simonrozsival
    MemberAuthor

    Flaky CI report: Java.InteropTests.JavaObjectTest.UnreferencedInstanceIsCollected (NativeAOT): Expected the unreferenced instance to be collected. Expected: True But was: False

    Test run 46858018, result 100829, attempt 3 of macOS > Tests > APKs 2. This matches the tracked flake #13275. It did not fail in attempts 1 or 2.

    Automated triage; no retry was requested (job-scoped retry could not be verified).

  11. simonrozsival commented on Nov 14, 2026

    @simonrozsival
    MemberAuthor

    Flaky CI report: Java.InteropTests.JavaObjectTest.Dispose_Finalized (Mono.Android.NET_Tests-Debug): Expected JavaDisposedObject.Dispose(disposing: false) to run. Expected: True But was: False

    Result 100673, macOS > Tests > APKs 1. This PR targets release/11.0.1xx and has the same signature as the release-branch recurrence already listed in this inventory (#10358). The PR changes R8 rules and typemap targets, not finalization.

    Note: this build also has PR- or branch-related NativeAOT arm build failures. Those are not reported here as flaky.

    Automated triage; no retry was requested (job-scoped retry could not be verified).

  12. 101 remaining items

  13. simonrozsival commented on Nov 22, 2026

    @simonrozsival
    MemberAuthor

    bundletool Error retrieving device SDK version during deploy, R8RuntimeRemappingTests.ObfuscatedMembersRun(CoreCLR,False) (macOS > Tests > MSBuild+Emulator 3)

    Evidence:

    • Test run 47299628 (Auto-Retry, buildUri verified), result 100000: FailedBuildException: Build failure. In the original attempt, build.log (from the Test Results - MSBuild With Emulator - macOS-3 artifact) failed in /t:Build,Install. In the in-job automatic retry, run.log failed in /t:Run. Both fail with bundletool 1.18.3 DeviceAnalyzer.getDeviceSpec → IllegalStateException: Error retrieving device SDK version. Please try again. → error XABAS0000 at Xamarin.Android.Common.targets(2707,3).
    • This is the same signature as the earlier report for [tests] Synchronize cancellation and native loads #13694 (build 1693601), and before that 1677420 and 1683782 for unrelated PRs. The other 21 tests in this job passed.
    • PR scope: Gradle cache keys in the pipeline YAML and GradleFBProj → GradleLibrary in InstallAndRunTests.cs. Nothing touches bundletool, deploy or R8.

    Automated triage.

  14. simonrozsival commented on Nov 22, 2026

    @simonrozsival
    MemberAuthor

    cache Android toolchain archives (Cache@2 restore) DNS failure resolving dev.azure.com (macOS > Tests > MSBuild+Emulator 7)

    Evidence:

    • ##[error]nodename nor servname provided, or not known (dev.azure.com:443) while restoring the android-archives cache. All later steps were skipped, so no tests ran in this slice. upload test results then failed with "Path does not exist" as a consequence.
    • Infrastructure DNS failure, in the same family as the earlier dev.azure.com and test-results-host DNS reports in this issue. The step comes from cache-android-archives.yaml, which this PR does not change. The PR only adds a separate Gradle cache step later in the job.

    Automated triage.

  15. simonrozsival commented on Nov 22, 2026

    @simonrozsival
    MemberAuthor

    Retry follow-up for 1693908 (PR #13703): requested a retry of the failed jobs in msbuilddevice_tests (forceRetryAllJobs=false). No other stage depends on msbuilddevice_tests. The timeline now shows the stage at attempt 2. Only macOS > Tests > MSBuild+Emulator 3 and MSBuild+Emulator 7 are re-running (attempt 2, in progress). The other 34 jobs remain succeeded at attempt 1.

    Automated triage.

  16. simonrozsival commented on Nov 22, 2026

    @simonrozsival
    MemberAuthor

    Checkout git submodule update fails with exit code 1 (Could not resolve host: github.com)

    Automated triage.

  17. simonrozsival commented on Nov 22, 2026

    @simonrozsival
    MemberAuthor

    Retry follow-up for 1693921 (PR #13709): requested a retry of the failed jobs in msbuilddevice_tests (forceRetryAllJobs=false). No other stage depends on msbuilddevice_tests. The timeline now shows the stage at attempt 2. Only macOS > Tests > MSBuild+Emulator 3 is re-running (attempt 2, in progress). The other 35 jobs remain at attempt 1.

    Automated triage.

  18. simonrozsival commented on Nov 22, 2026

    @simonrozsival
    MemberAuthor

    Flaky test: Xamarin.Android.RuntimeTests.ManagedObjectReferenceManagerTests.DisabledTracingDoesNotAllocateDuringReferenceOperations. Assert.AreEqual(before, after) on GC.GetAllocatedBytesForCurrentThread() sometimes sees a small nonzero allocation delta. No exact tracker exists yet.

    Automated triage.

  19. simonrozsival commented on Nov 22, 2026

    @simonrozsival
    MemberAuthor

    Retry follow-up for 1693742 (PR #13487): retried stage smoke_tests with forceRetryAllJobs:false. Immediately before the retry, the PR head was still 7a52218, this was still the latest def-333 build, no jobs were queued or running, and the stage was at attempt 1 with no prior attempts. Afterwards, only APKs 1 is re-running (attempt 2, in progress); APKs 2 and every other job remain succeeded at attempt 1.

    Automated triage.

  20. simonrozsival commented on Nov 22, 2026

    @simonrozsival
    MemberAuthor

    Infra recurrence: bundletool Error retrieving device SDK version → XABAS0000

    Automated triage.

  21. simonrozsival commented on Nov 22, 2026

    @simonrozsival
    MemberAuthor

    Recurrence: JcwGen LibBinding gradlew assembleDebug → MSB3073

    Automated triage.

  22. simonrozsival commented on Nov 22, 2026

    @simonrozsival
    MemberAuthor

    Targeted retry: PR #13700, build 1694085, stage smoke_tests

    Automated triage.

  23. simonrozsival commented on Nov 22, 2026

    @simonrozsival
    MemberAuthor

    Xamarin.Android.LibraryProjectZip-LibBinding.targets(51,5): error MSB3073: gradlew assembleDebug --stacktrace --no-daemon exited with code 1 (JcwGen tests, macOS > Tests > APKs 2)

    Automated triage.

  24. simonrozsival commented on Nov 22, 2026

    @simonrozsival
    MemberAuthor

    AndroidMessageHandlerUploadTests.UploadConnectionResetThrowsHttpRequestException throws OperationCanceledException (socket) (macOS > Tests > APKs 2)

    Automated triage.

  25. simonrozsival commented on Nov 23, 2026

    @simonrozsival
    MemberAuthor

    Known signature recurrence: Xamarin.Android.Build.Tests.PerformanceTest.Build_XAML_Change(False): Exceeded expected time of 3000ms, actual 3292.738ms (tracked in #13636)

    Automated triage.

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

    flaky-ciflaky-tests

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions