iOS Conformance Differential: intermittent clearState terminate timeout and Maestro driver startup timeout
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 48/100
- Tipo de issue
- Bug
- Clareza
- Claramente especificada
- Status de atividade
- Ativa
- Stack de tecnologia
- github-actions, ios, typescript
- Domínio
- mobile-dev, observability, testing
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- TypeScript
- Estrelas
- 5.2k
- Forks
- 359
- Merge médio
- 13h 31min
- PRs com merge (30d)
- 664
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de callstack/agent-device
-
bug ready-for-agent
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
callstack/agent-device#4112 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
iOS alert wait: the last poll can get ~30 ms and turns "no alert" into a failed readTalvez já em andamento @pcbeingused333 assumiu há 2 dias. Abertabug ready-for-agent
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 77/100
callstack/agent-device#4018 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
callstack/agent-device#1869 ·
Mantenedores costumam responder em até 1 dia
-
iOS input fails in 0.21.34+ when Apple tools resolve past a stale Xcode selection symlinkTalvez já em andamento @thymikee assumiu há 1 dia. Aberta
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 22/100
callstack/agent-device#4145 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 3/5 Meio dia Facilidade para iniciantes 48/100
callstack/agent-device#4142 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de callstack/agent-device
Issues semelhantes
-
🐛 bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
LibreChat-AI/LibreChat#17733 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
TypeStrong/typedoc#3150 ·
-
accessibility bug good first issue
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
Mantenedores costumam responder em até 1 dia
-
Normalize image-source MIME types before SVG dispatchTalvez já em andamento @HarsH-1877 assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
tscircuit/image-utils#58 · 1 comentário ·
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 74/100
Mantenedores costumam responder em até 2 dias