Android smoke: first fixture capture stalls before any readable snapshot
Maintainers usually reply within 1 day
Assessment
This issue has not been assessed yet.
Description
Android smoke intermittently fails before its first readable capture after opening the fixture. Diagnose and fix the capture/setup boundary without increasing the wait deadline or adding retry-only recovery.
Observed command:
agent-device wait text "Automation lab" 10000 --platform android --serial emulator-5554 --session <session> --daemon-server-mode dual --json
Evidence:
- PR #3824,
14f32fb218ac9e5608012bf6a5805652dc61f7fc: run 39287002936.smoke-android-emulator.test.ts:7:1, scenariosmoke:automation-system,COMMAND_FAILED, reasonwait_capture_stalled, one capture, zero readable captures, deadline after 10439ms. - Earlier main,
a61556b8fd3268dd0b8032409ad0f0d06107019b: run 39025922562. Same command, scenario, assertion and reason; one capture, zero readable captures, 10232ms poll. - Both runs retain
android-artifacts. Current failure screenshot shows Automation lab; the subsequent diagnostic snapshot succeeds with healthy android-helper capture (619ms helper / 1914ms snapshot). No crash appears in its crash buffer. - PR #3824 leaves Android runtime, integration scenarios, Android workflow/setup, package manifest and lockfile unchanged from its base
a661e43d83735fc74a02118b5698e5d45e03ee21. That exact base's Android run passed. This is evidence of an intermittent pre-existing signature, not proof of infrastructure or a complete root cause. - Correction: the request NDJSON and daemon log are present under the artifact hidden
.agent-devicedirectory. The first scan omitted hidden files. The request shows 2314ms helper install, then 5162ms persistent-session capture including a UiAutomation connection timeout, followed by 2958ms one-shot fallback cancelled at the wait deadline. A different branch's run 39221668804 reportswait_target_absentwith a system overlay; do not conflate it with this zero-readable-capture failure.
Required behavior and completion:
- Retain the failed first-capture phase timings and cancellation/setup evidence in CI artifacts.
- Build a cold-open reproduction on an isolated Android emulator and compare unchanged base/head with the same command and no competing tests.
- Identify the owning capture/setup defect and prove the fix with a regression at that boundary and hosted Android smoke.
- Keep deadline/cancellation and failure exits intact. A later successful snapshot alone does not prove infrastructure contention.
Blocks Android validation of #3824. Other lanes and local validation do not replace this obligation.
- Dominant language
- TypeScript
- Stars
- 5k
- Forks
- 334
- Avg merge
- 12h 13m
- Merged PRs (30d)
- 723
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from callstack/agent-device
-
Difficulty 2/5 1-3 hours Newbie friendliness 87/100
callstack/agent-device#3819 ·
Maintainers usually reply within 1 day
-
macOS helper audio-probe always reports -90 dBFS: AVAudioPCMBuffer frameLength set after the copyPossibly taken @jipeng6036-del claimed this today. Openbug ready-for-agent
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
callstack/agent-device#3771 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
callstack/agent-device#1869 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
callstack/agent-device#3832 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 15/100
callstack/agent-device#3808 ·
Maintainers usually reply within 1 day
All issues in callstack/agent-device
Similar issues
-
check:failed streams:edit
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
iptv-org/iptv#55901 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 2 days
-
package:ios ships XCFrameworks with absolute symlinks, which SwiftPM refuses to extractPossibly taken @cusnirvladislav claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
callstackincubator/rock#740 ·
-
S: triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 2 days
-
area:workflow bug ready-for-human
Difficulty 1/5 Under an hour Newbie friendliness 78/100
fil-donadoni/tolaria#6108 ·
Maintainers usually reply within 1 day