iOS Conformance Differential: intermittent clearState terminate timeout and Maestro driver startup timeout
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- github-actions, ios, typescript
- Ambito
- mobile-dev, observability, testing
Direzione di ricerca
After #4016 merges, inspect the uploaded conformance-differential-ios-diagnostics from the next failing run. Read the subprocess trace for the open command with timeoutMs: 15000 to distinguish a slow xcrun call from one that hangs after termination, and check .maestro/tests for the driver timeout. The issue is done when the intermittent failures are explained by that evidence; do not increase the timeout before then.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Split out of #3944. These two failures predate the 10-17 streak. They come and go and turn some nights red after the persistent failure is fixed (#3993).
1. agent-device launchApp clearState times out terminating the app
- When: failed with "xcrun timed out after 15000ms" on 09-18, 09-24, 09-27, 10-07, 10-11, 10-17 and 10-27.
- Which run: every time, it was the agent-device run that follows a Maestro run of the same flow. That was
percent-swipeon 10-11 and 10-17, andsettle-after-tapon 10-27. - Why the terminate is the culprit:
launchAppmakes twoxcruncalls with a 15 s limit. Only the terminate (terminateIosSimulatorApp,IOS_SIMULATOR_TERMINATE_TIMEOUT_MS,packages/platform-apple/src/core/app-launch.ts) reaches the caller. A timeout in post-open target discovery is caught and turned intoprobe-failed. - Normal timing: on a green run (dispatch 40684697766) the terminate took at most 0.7 s, and discovery took up to 11.3 s.
2. Maestro "iOS driver not ready in time"
- When: failed on 09-12, 09-22, 09-24, 09-27, 10-06, 10-07 and 10-27.
- Four of those nights also had failure 1.
Possible cause (unproven)
The host or CoreSimulator may stall. Or agent-device's runner, which stays alive across scenarios, may interfere when Maestro starts its own driver.
Next step
Once #4016 merges, the job keeps a subprocess trace and uploads conformance-differential-ios-diagnostics (daemon and session diagnostics, plus Maestro's per-run logs). On the next failing night:
- Read the trace of the
xcruncall withtimeoutMs: 15000under commandopen. If it exits right after the deadline, it was slow. If it never closes after the kill, it hung. - Read
.maestro/testsfor the driver timeout.
Don't raise the timeout until that evidence exists.
- Lingua principale
- TypeScript
- Stelle
- 5.2k
- Fork
- 359
- Merge medio
- 13h 31m
- PR unite (30g)
- 664
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
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 callstack/agent-device
-
iOS alert wait: the last poll can get ~30 ms and turns "no alert" into a failed readForse già presa @pcbeingused333 l’ha presa 2 giorni fa. Apertabug ready-for-agent
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
callstack/agent-device#4018 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
callstack/agent-device#1869 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 18/100
callstack/agent-device#4179 ·
I maintainer di solito rispondono entro 1 giorno
-
Daemon: refuse leased requests that name no session at request admissionForse già presa @airowe l’ha presa oggi. Apertabug ready-for-agent
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
callstack/agent-device#4171 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement needs-triage
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
callstack/agent-device#4162 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di callstack/agent-device
Issue simili
-
area: cli bug flake ready-for-agent
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
gazetta-studio/gazetta-studio#1772 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
microsoft/playwright#43875 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
documentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
feature
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
calagopus/panel#285 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno