Repository navigation
Description
Summary
The Windows Integration Tests / Dotnet tests job has reached its fixed 120-minute Azure DevOps limit in two distinct monitored PRs while test work was either still progressing or had completed successfully. Azure then canceled the remaining remote-test or artifact-publication work.
- Stable signature:
Windows Integration Dotnet tests reaches the fixed 120-minute job limit while test workflow remains successful or actively progressing, canceling remaining test or publication work - Classification: CI infrastructure / job-duration budget failure
- Distinct monitored PRs: 2
- Confirmed occurrences: 2
- First confirmed occurrence: 2026-09-02T12:05:36Z
- Latest confirmed occurrence: 2026-09-02T17:46:07Z
Confirmed occurrences
PR #26020
- Head:
52aa6b725350ec79b8019d3d5e8523c817be9b27 - Pipeline:
xamarin-macios-sim-pr-tests - Build 15180927, Windows Integration attempt 2
- Worker:
VSM-XAM-136 - Job interval:
2026-09-02T10:05:37Z–12:05:36Z - Download artifacts took 1,004.7 seconds, local tests took 619.0 seconds, and remote tests took 4,422.7 seconds. Those tasks succeeded, but the job limit canceled
Publish to Artifact Services Drop. - A full Windows Integration attempt 3 passed on
VSM-XAM-124; build 15180927 succeeded and the PR later merged.
PR #26513
- Head:
a354efde93df4b8e7ad9eb15a88ebd64916b2be1 - Pipeline:
xamarin-macios-sim-pr-tests - Build 15184608, attempt 1, Windows Integration / Dotnet tests
- Worker:
VSM-XAM-129 - Job interval:
2026-09-02T15:45:52Z–17:46:07Z Run .NET tests remotelyran from16:37:57Zuntil cancellation. Its log contains 31 completed passing test records and no test failures. The last recorded test passed at17:44:20Z, only 86 seconds before Azure began cancellation at17:45:46Z.- Build 15184608 is still active, so no retry has been submitted. Repository policy requires rerunning the entire Windows Integration stage when eligible.
Impact and reproduction pattern
The test workload duration varies enough that the 120-minute job limit can terminate otherwise healthy CI. Depending on timing, either tests remain incomplete or post-test result and artifact publication is skipped. This consumes the Windows and paired Mac agents for two hours and requires a full-stage retry.
Investigation
The Azure build metadata, stage and job timelines, task durations, and remote-test logs were compared directly. Neither occurrence contains a deterministic test failure responsible for cancellation. The #26513 remote-test log continued reporting passes immediately before the deadline; #26020 had already completed both local and remote tests.
Separate searches across all open and closed issues used the exact Azure timeout message, stage and job names, Run .NET tests remotely, worker names, publication task, and Windows timeout terms. The only candidate was #26457, which is an unrelated Ventura Show Bot Info / ioreg pre-test stall.
Current diagnosis and workaround
This is a CI duration-budget failure rather than a source regression. The current workaround is to rerun the entire Windows Integration stage after the parent build is terminal and retry policy permits it. Longer-term options are to increase the job budget, reduce setup and artifact-download time, or split the remote test workload so normal duration variance cannot consume the full job allowance.
Azure logs and artifacts are retention-limited.
Activity
dalexsoto commentedon Sep 2, 2026
Retry update for PR #26513 @
a354efde93df4b8e7ad9eb15a88ebd64916b2be1:Dotnet testsjob canceled at its 120-minute limit while remote tests were still progressing.forceRetryAllJobs: true).The issue body has no Additional info to collect checklist. The outcome will be reported when attempt 2 reaches a terminal state.
dalexsoto commentedon Sep 2, 2026
Retry outcome for PR #26513 @
a354efde93df4b8e7ad9eb15a88ebd64916b2be1:Dotnet testsran onVSM-XAM-136from2026-09-02T18:35:34Zto20:24:14Zand completed successfully.20:26:52Z.The issue body has no Additional info to collect checklist.
dalexsoto commentedon Sep 3, 2026
New distinct-PR occurrence and active retry for the Windows duration-budget signature:
32f4b9bd6961144d7d9def785863bb20dcee674a, build 15195438 attempt 1 / WindowsDotnet tests, onVSM-XAM-126.Run .NET tests remotelywas still active from 06:37:56 to 07:59:02 UTC.RemoteTestwork was still passing at 07:55:48 UTC. No deterministic test failure preceded cancellation.The canonical total is now 3 confirmed occurrences across 3 distinct monitored PRs. The issue body has no Additional info to collect checklist.
dalexsoto commentedon Sep 3, 2026
Successful retry outcome for PR #26551, head
32f4b9bd6961144d7d9def785863bb20dcee674a:Dotnet testsran onVSM-XAM-133from 2026-09-03 12:16:22 to 14:10:30 UTC and succeeded.The canonical count remains 3 confirmed occurrences across 3 distinct monitored PRs. The issue body has no Additional info to collect checklist.
dalexsoto commentedon Sep 3, 2026
Final merge outcome for PR #26551:
32f4b9bd6961144d7d9def785863bb20dcee674awith 51 successful and 3 skipped checks.The issue remains open for the underlying CI duration-budget risk. The issue body has no Additional info to collect checklist.
dalexsoto commentedon Sep 8, 2026
New occurrence and retry: PR #26417
PR #26417, head
e695c0edef476ef2ba5276b8889764e0943083a0, reproduced the Windows duration-budget failure in run 15240224:Dotnet testsran on VSM-XAM-136 from 2026-09-08 08:59:59 to 11:00:16 UTC and Azure canceled it at the fixed 120-minute limit.Run .NET tests remotelyremained active until 11:00:04 UTC.PluralRuntimeIdentifiersWithRemoteMac_Mono, encountered an infrastructure failure: Xamarin.Messaging lost its Mac connection and the build timed out after 10 minutes. Work continued until the overall job deadline.After refreshing the unchanged conflict-free head, all seven automatic PR runs, stage history, retry budgets, and equivalent-active state, the monitor submitted the required full Windows Integration stage retry with
forceRetryAllJobs=true. Azure created attempt 2, currently waiting inReserve macOS bot for tests.Retry usage is now 1/25 lifetime and 1/10 for this head. The issue body has no Additional info to collect checklist.
dalexsoto commentedon Sep 8, 2026
Retry succeeded for PR #26417
The required full Windows Integration retry in run 15240224 completed successfully:
Reserve macOS bot for tests: succeeded on VSM-XAM-08.Tahoe.arm64.Dotnet tests: succeeded on VSM-XAM-136 from 11:17:33 to 12:53:46 UTC.Re-enable macOS bot for tests: succeeded at 12:56:27 UTC.Retry usage remains 1/25 lifetime and 1/10 for this head. The parent build completed failed only because the previously classified simulator failures remain; the Windows stage is green.