[
https://issues.jenkins-ci.org/browse/JENKINS-12120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=160026#comment-160026
]
francisdb commented on JENKINS-12120:
-------------------------------------
Logs look similar, nothing mentioned about creating the avd failing, and the
command used is not logged, otherwise I could try it manually.
Checking out Revision f8d74574069d0aac99890ca930a166c948729f6b (origin/HEAD,
origin/master)
Warning : There are multiple branch changesets here
$ /opt/android-sdk-linux/tools/android list target
[android] Using Android SDK: /opt/android-sdk-linux
[android] Creating Android AVD:
/var/lib/jenkins/.android/avd/hudson_en-US_160_WVGA_Google_Inc._Google_APIs_7.avd
$ /opt/android-sdk-linux/platform-tools/adb start-server
[android] Starting Android emulator
$ /opt/android-sdk-linux/tools/emulator -no-boot-anim -ports 55292,32849 -prop
persist.sys.language=en -prop persist.sys.country=US -avd
hudson_en-US_160_WVGA_Google_Inc._Google_APIs_7 -no-snapshot-load
-no-snapshot-save -no-window -logcat *:d
PANIC: Could not open:
/var/lib/jenkins/.android/avd/hudson_en-US_160_WVGA_Google_Inc._Google_APIs_7.ini*
daemon not running. starting it now on port 33012 *
* daemon started successfully *
[android] Emulator did not appear to start; giving up
$ /opt/android-sdk-linux/platform-tools/adb disconnect localhost:32849
[android] Stopping Android emulator
$ /opt/android-sdk-linux/platform-tools/adb kill-server
Recording test results
No test report files were found. Configuration error?
Emma: looking for coverage reports in the provided path:
**/coverage/coverage*.xml
Finished: NOT_BUILT
> Emulator startup shouldn't fail when .ini is missing
> ----------------------------------------------------
>
> Key: JENKINS-12120
> URL: https://issues.jenkins-ci.org/browse/JENKINS-12120
> Project: Jenkins
> Issue Type: Bug
> Components: android-emulator
> Reporter: Jørgen Tjernø
> Assignee: Christopher Orr
>
> {noformat}
> 17:14:47 [android] Starting Android emulator
> 17:14:47 [android] Erasing existing emulator data...
> 17:14:47 $ /Users/buildserver/Android/sdk/tools/emulator -no-boot-anim
> -ports 58108,58109 -prop persist.sys.language=en -prop persist.sys.country=US
> -avd hudson_en-US_160_841x490_android-7 -no-snapshot-load -no-snapshot-save
> -wipe-data -no-window -no-snapshot-update-time
> 17:14:50 PANIC: Could not open:
> /tmp/jenkins-root-ssh/workspace/client_android_staging_test/.android/avd/hudson_en-US_160_841x490_android-7.ini*
> daemon not running. starting it now on port 58110 *
> 17:14:50 * daemon started successfully *
> 17:15:52 [android] Emulator did not appear to start; giving up
> {noformat}
> I'm guessing the code tests for a .avd but not a .ini - I don't know how my
> machine managed to end up with only a .avd (I checked, and it existed), but
> in that scenario, the plugin should probably recreate the emulator (android
> create avd -f).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira