|
||||||||
|
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira |
||||||||
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

I can reproduce the problem rather easily. We run our tests continuously and we get connection error one fifth of the time.
Logs:
02:27:47 [android] Using Android SDK: /android/sdk/
02:27:47 [android] Creating Android AVD: /Users/jenkins/workspace/replica_dev_stable/.android/avd/hudson_fr-CA_160_WXGA800_android-17_x86.avd
02:27:47 [android] /android/sdk//tools/android create avd -f -a -c 1024M -s WXGA800 -n hudson_fr-CA_160_WXGA800_android-17_x86 -t android-17 --abi x86
02:28:06 [android] Setting hardware properties:
02:28:06 hw.gpu.enabled: yes
02:28:06 hw.ramSize: 1907M
02:28:06 vm.heapSize: 128
02:28:06 hw.lcd.density: 160
02:28:06 hw.dPad: yes
02:28:06 hw.mainKeys: yes
02:28:06 skin.dynamic: no
02:28:06 skin.name: 1280x800
02:28:06 skin.path: 1280x800
02:28:06 $ /android/sdk//platform-tools/adb start-server
02:28:09 * daemon not running. starting it now on port 5632 *
02:28:09 * daemon started successfully *
02:28:09 $ /android/sdk//platform-tools/adb start-server
02:28:09 [android] Starting Android emulator
02:28:09 $ /android/sdk//tools/emulator64-x86 -no-boot-anim -ports 5630,5631 -prop persist.sys.language=fr -prop persist.sys.country=CA -avd hudson_fr-CA_160_WXGA800_android-17_x86 -no-snapshot-load -no-snapshot-save -wipe-data
02:28:14 HAX is working and emulator runs in fast virt mode
02:28:15 emulator: emulator window was out of view and was recentered
...
02:39:23 $ /android/sdk//platform-tools/adb -s emulator-5630 shell getprop dev.bootcomplete
02:39:23 error: device not found
02:39:37 $ /android/sdk//platform-tools/adb -s emulator-5630 shell getprop dev.bootcomplete
02:39:37 error: device not found
02:39:50 $ /android/sdk//platform-tools/adb -s emulator-5630 shell getprop dev.bootcomplete
02:39:50 error: device not found
02:40:04 $ /android/sdk//platform-tools/adb -s emulator-5630 shell getprop dev.bootcomplete
02:40:04 error: device not found
02:40:18 [android] Timed-out after waiting 720 seconds for emulator
02:40:18 [android] Stopping Android emulator
02:40:18 $ /android/sdk//platform-tools/adb kill-server
—![]()
Any suggestion? I'm more than willing to help you.
...
—
[UPDATE] Here's a log with a connection that worked:
06:11:12 $ /android/sdk//tools/android list target
06:11:24 [android] Using Android SDK: /android/sdk/
06:11:24 [android] Creating Android AVD: /Users/jenkins/workspace/replica_dev_stable/.android/avd/hudson_fr-CA_160_WXGA800_android-17_x86.avd
06:11:24 [android] /android/sdk//tools/android create avd -f -a -c 1024M -s WXGA800 -n hudson_fr-CA_160_WXGA800_android-17_x86 -t android-17 --abi x86
06:11:44 [android] Setting hardware properties:
06:11:44 hw.gpu.enabled: yes
06:11:44 hw.ramSize: 1907M
06:11:44 vm.heapSize: 128
06:11:44 hw.lcd.density: 160
06:11:44 hw.dPad: yes
06:11:44 hw.mainKeys: yes
06:11:44 skin.dynamic: no
06:11:44 skin.name: 1280x800
06:11:44 skin.path: 1280x800
06:11:44 $ /android/sdk//platform-tools/adb start-server
06:11:47 * daemon not running. starting it now on port 5749 *
06:11:47 * daemon started successfully *
06:11:47 $ /android/sdk//platform-tools/adb start-server
06:11:47 [android] Starting Android emulator
06:11:47 $ /android/sdk//tools/emulator64-x86 -no-boot-anim -ports 5747,5748 -prop persist.sys.language=fr -prop persist.sys.country=CA -avd hudson_fr-CA_160_WXGA800_android-17_x86 -no-snapshot-load -no-snapshot-save -wipe-data
06:11:53 HAX is working and emulator runs in fast virt mode
06:11:54 emulator: emulator window was out of view and was recentered
06:11:54
06:11:55 $ /android/sdk//platform-tools/adb connect emulator-5747
06:11:55 [android] Waiting for emulator to finish booting...
06:11:55 $ /android/sdk//platform-tools/adb -s emulator-5747 shell getprop dev.bootcomplete
06:11:55 error: device offline
06:12:09 $ /android/sdk//platform-tools/adb -s emulator-5747 shell getprop dev.bootcomplete
06:12:09 error: device offline
06:12:22 $ /android/sdk//platform-tools/adb -s emulator-5747 shell getprop dev.bootcomplete
06:12:22 $ /android/sdk//platform-tools/adb -s emulator-5747 logcat -v time
06:12:22 [android] Emulator is ready for use (took 35 seconds)