[CI] AcesShared agent hangs until job timeout and ignores cancellation
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Attiva
- Stack tecnologico
- azure
- Ambito
- ci-cd, devops, infrastructure
Direzione di ricerca
Inizia con le sequenze temporali di Azure, i record delle attività, le issue dei job, le assegnazioni dei worker e i log conservati per le build 15164848 e 15218580; confronta i due casi di agent che non rispondono e le issue specifiche delle attività citate. Il lavoro è completato quando viene definito e implementato un approccio di diagnostica o watchdog lato agent che superi un task che non risponde, conservi l’ultimo stato del task e consenta di completare la cancellazione e la diagnostica post-job.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Failure signature
An AcesShared agent becomes unresponsive during an active task:
- The task produces no finalized Azure DevOps log.
- The job reaches the 180-minute hard limit.
- Azure reports that the agent did not respond to cancellation within five minutes.
- Post-job diagnostics and artifact publication cannot complete reliably.
Stable signature:
AcesShared agent becomes unresponsive during an active task, produces no finalized task log, exceeds the 180-minute job limit, and ignores the 5-minute cancellation request
Confirmed occurrences
PR #26424
- Head:
b4abc54c0c077b0e1515c5b386a94b723f76f8d1 - Build: 15164848, attempt 1,
T: framework/Install dotnet workloads - The attempt-1 task log was not finalized and is no longer retained.
- Azure reported the 180-minute timeout and unresponsive cancellation behavior.
- Failed-jobs attempt 2 reran
T: frameworkon AcesShared 38 and succeeded from2026-09-01T10:09:18Zto10:20:06Z; build 15164848 completed successfully at10:29:58Z. - Worker identity for the failed attempt is unavailable from retained authorized diagnostics.
PR #26568
- Head:
4237a344488a1ab2c7cee633ec9b95fa8e9f7afb - Build: 15218580, attempt 1,
Build macOS tests/Build - Worker:
AcesShared 4 - Job started at
2026-09-04T20:10:11Z;Buildstarted at20:17:12Z. - The
Buildtask produced no finalized log. Azure failed the stage at23:15:12Zafter the 180-minute cap and reported that the agent ignored cancellation for five minutes. Package macOS testsnever ran, so the downstream macOS 27 test stage could not start.- Retry is deferred until build 15218580 becomes terminal. Current usage is 0/25 PR lifetime and 0/10 for the current head.
First observed: 2026-09-01T07:00Z (attempt-1 failure window; exact task completion unavailable because the agent stopped reporting).
Latest observed: 2026-09-04T23:15:12Z.
Recurrence: 2 jobs across 2 distinct monitored PRs.
Classification and impact
This is a CI infrastructure/agent failure, not a source regression:
- It occurred in unrelated tasks (
Install dotnet workloadsandBuild) on unrelated merge PRs. - Both tasks stopped reporting without a finalized task log.
- Azure emitted the same job-limit and cancellation-timeout symptoms.
- The current PR changes only Xtro baseline files, and the same macOS build job previously completed successfully in about 36 minutes on build 15214043.
The failure blocks downstream stages and can suppress the diagnostic artifacts needed to identify a task-level cause.
Investigation performed
- Inspected Azure timelines, task records, job issues, worker assignments, and available task logs.
- Compared the two stable signatures and rejected task-specific issues:
- #26212 tracks visibly slow Xcode downloads.
- #26226 tracks identified Provisionator
XcodeSelectsubprocess hangs. - #26533 tracks an identified
xcodebuild -downloadPlatform tvOShang.
- Searched all open and closed
dotnet/maciosissues using the exact cancellation message, job names, 180-minute symptom, and missing-task-log evidence.
Workaround
Rerun failed jobs after the build is terminal and normal head, mergeability, active-attempt, and retry-budget gates permit it. A durable fix needs agent-side diagnostics or watchdog handling that can survive an unresponsive task process and preserve the last task state.
Azure logs and artifacts are retention-limited.
- Lingua principale
- C#
- Stelle
- 2.9k
- Fork
- 578
- Merge medio
- 2g 12h
- PR unite (30g)
- 189
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di dotnet/macios
-
NSString(string) keeps an extra native reference, so every NSString created from a managed string leaksForse già presa @rolfbjarne l’ha presa 2 giorni fa. Apertabackport-to-net10.0 backport-to-net11.0 bug regression
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
dotnet/macios#27042 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
[Network] Align NWIPVersion enum values with native nw_ip_version_tForse già presa @rolfbjarne l’ha presa 2 giorni fa. Apertaapi-bindings copilot
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
dotnet/macios#26802 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[Network] Bind the waiting state for NWBrowserStateForse già presa @rolfbjarne l’ha presa 15 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
ci-failure ci-postmortem tests
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
I maintainer di solito rispondono entro 1 giorno
-
Specifying both RuntimeIdentifier + RuntimeIdentifiers can confuse the build.Forse già presa @rolfbjarne l’ha presa 7 giorni fa. Apertabug msbuild regression
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
dotnet/macios#25463 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di dotnet/macios
Issue simili
-
Add 'upm' tag on githubAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
bug mac アプリ: コード アプリ: チャット 優先: 中 要トリアージ
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
yksr-melt/Meltype#1346 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Collect corrected translations in the app, with no GitHub account and the least possible frictionApertalocalization medium ui
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
hexide-io/HexIDE#2819 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100