Closed Bug 1336541 Opened 3 years ago Closed 3 years ago
Some Android emulator test jobs retry (blue) because of "Thanks for using the Android SDK!"
In android test jobs, if the emulator fails to start 5 times, the job is abandoned and marked as a retry, and the job restarted. We expect that to happen infrequently. Lately it seems to be happening more, especially for Android x86. Checking the screenshots for some of those jobs, I see a dialog box saying "Thanks for using the Android SDK" instead of the emulator. It seems to be a semi-random query to opt in to Google usage statistics. https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=70b6cd2dc27f959c199ac094171977de85d8b704&filter-searchStr=android%20x86&filter-resultStatus=testfailed&filter-resultStatus=busted&filter-resultStatus=exception&filter-resultStatus=retry&filter-resultStatus=usercancel&filter-resultStatus=running&filter-resultStatus=pending&filter-resultStatus=runnable&selectedJob=74373122 https://public-artifacts.taskcluster.net/K3roFYAtT7KYHeyDrHkvag/0/public/test_info//emulator-startup-screenshot-HCrlv8.png
worker 579 1 0 22:59 ? 00:00:00 [check-new-relea] <defunct> worker 613 87 1 23:01 ? 00:00:05 [emulator64-x86] <defunct> worker 629 1 0 23:01 ? 00:00:01 java -Xmx256M -Dcom.android.ddms.bindir=/home/worker/workspace/build/android-sdk18/tools -classpath /home/worker/workspace/build/android-sdk18/tools/lib/ddms.jar:/home/worker/workspace/build/android-sdk18/tools/lib/swtmenubar.jar:/home/worker/workspace/build/android-sdk18/tools/lib/x86_64/swt.jar com.android.ddms.Main ping emulator 126.96.36.199 VMware, Inc. Gallium 0.4 on llvmpipe (LLVM 3.3, 256 bits) 2.1 Mesa 9.2.1
~/.android/emu-update-last-check.ini may be part of the issue.
https://issues.jenkins-ci.org/browse/JENKINS-21280 suggests ~/.android/ddms.cfg controls the prompt, which is consistent with my local testing.
In https://email@example.com&fromchange=af779c7fc46ac7e753b74b6ec08380d03783e613, there's a notable reduction in retries with this patch.
Attachment #8849710 - Flags: review?(jmaher)
Attachment #8849710 - Flags: review?(jmaher) → review+
Checked Android 4.3 too: https://treeherder.mozilla.org/#/jobs?repo=try&revision=16ff2485ed14aaa1778d5baf64b02f00b82fe745
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/00545539423a Suppress DDMS prompt when starting android emulator; r=jmaher
You need to log in before you can comment on or make changes to this bug.