ci: fix hung API 37 preview emulator job #4

Merged
JMR-dev merged 2 commits from fix/e2e-preview into main 2026-06-30 18:17:18 +00:00
JMR-dev commented 2026-06-30 17:45:47 +00:00 (Migrated from github.com)

The non-blocking e2e-preview job (custom-provisioned API 37 / google_apis_ps16k) hung in Boot emulator and run E2E until the 35-min job cap on PR #3.

Cause: adb wait-for-device had no timeout (so a stuck boot hung indefinitely), and the emulator's own stdout/stderr was never captured (so the failure was invisible).

Fix: bound the wait with a single timeout 300 covering device registration + full boot, retry once, capture the emulator log, and dump it + logcat on failure.

This run validates whether the ps16k image actually boots headless on the GitHub x86_64 KVM runner — if it doesn't, the job now fails fast with the emulator log instead of hanging (and stays non-blocking either way).

🤖 Generated with Claude Code

The non-blocking `e2e-preview` job (custom-provisioned API 37 / `google_apis_ps16k`) hung in **Boot emulator and run E2E** until the 35-min job cap on PR #3. **Cause:** `adb wait-for-device` had no timeout (so a stuck boot hung indefinitely), and the emulator's own stdout/stderr was never captured (so the failure was invisible). **Fix:** bound the wait with a single `timeout 300` covering device registration + full boot, retry once, capture the emulator log, and dump it + `logcat` on failure. This run validates whether the `ps16k` image actually boots headless on the GitHub x86_64 KVM runner — if it doesn't, the job now **fails fast with the emulator log** instead of hanging (and stays non-blocking either way). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.