devops: add android bot to tests_secondary#40799
Conversation
Test results for "tests others"18 flaky19717 passed, 651 skipped Merge workflow run. |
7b03be6 to
0c84a1b
Compare
- Redirect emulator stdout/stderr to emulator.log and dump on failure - Wrap adb wait-for-device in timeout (default 600s) to fail fast - Print KVM availability before starting the emulator
Print env, avdmanager version, list avd, and probe candidate AVD directories ($HOME/.android, $XDG_CONFIG_HOME/.android, $ANDROID_USER_HOME) to identify where `avdmanager create` is writing the .ini vs where `emulator -list-avds` searches.
Newer cmdline-tools resolve the AVD storage path via ANDROID_USER_HOME, which defaults to $XDG_CONFIG_HOME/.android when XDG_CONFIG_HOME is set (as it is on Linux GHA runners: /home/runner/.config). The `emulator` binary, however, only searches $ANDROID_AVD_HOME, $ANDROID_SDK_HOME/avd, and $HOME/.android/avd — so the AVD created at $XDG_CONFIG_HOME/.android/avd is invisible to `emulator @android35`. Pin both ANDROID_USER_HOME and ANDROID_AVD_HOME to $HOME/.android(/avd) in avd_recreate.sh and avd_start.sh. Matches macOS defaults and aligns the two tools on Linux runners that set XDG_CONFIG_HOME. Diagnostic prints are left in place for one more run to confirm.
The Android playwright.config.ts was the only test config without ['blob'] in its CI reporter list, so the run-test action's upload-blob-report step failed with: find: 'blob-report': No such file or directory Match the convention used by tests/library, tests/bidi, tests/mcp, etc.
Test results for "tests 2"2 failed 5 flaky2135 passed, 283 skipped Merge workflow run. |
Remove the avdmanager/find/ls diagnostic block from avd_recreate.sh, the emulator.log capture and boot-timeout block from avd_start.sh, and the "Check KVM availability" workflow step. ANDROID_USER_HOME and ANDROID_AVD_HOME exports stay — they're the actual fix.
cef1d4f to
5989487
Compare
Test results for "tests 1"4 flaky41763 passed, 850 skipped Merge workflow run. |
Test results for "MCP"8 failed 7062 passed, 1068 skipped Merge workflow run. |
No description provided.