|
||||||||
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 |
[JIRA] (JENKINS-14901) Emulator start failed on Ubuntu (SDK 20.0.3)
matti.linnanvu...@ecolane.com (JIRA) Fri, 18 Jan 2013 04:53:59 -0800
- [JIRA] (JENKINS-14901) Emulator start... matti.linnanvu...@ecolane.com (JIRA)
- [JIRA] (JENKINS-14901) Emulator ... matti.linnanvu...@ecolane.com (JIRA)
- [JIRA] (JENKINS-14901) Emulator ... matti.linnanvu...@ecolane.com (JIRA)
- [JIRA] (JENKINS-14901) Emulator ... matti.linnanvu...@ecolane.com (JIRA)
I have this issue intermittently even after linking emulator to emulator-arm. The emulator processes keep piling up because the plugin does not kill them after unsuccessfully trying to connect to them.
I have tried to fix the issue by building a private version of the plugin with setting the ignore variable to true even for UNIX but it did not help.
My environment is Xen Linux 3.2.0-3-amd64 #1 SMP 86_64 Debian GNU/Linux wheezy/sid.
One problem I have had is that the emulator does not always get the display started by the xvnc plugin right because you cannot specify the display that the xvnc plugin starts.
Building remotely on madmax2 in workspace /var/lib/jenkins/projects/avt/tests
Starting xvnc
[tests] $ vncserver :11 -localhost -nolisten tcp
New 'X' desktop is madmax2.ecolane.com:11
Starting applications specified in /var/lib/jenkins/.vnc/xstartup
Log file is /var/lib/jenkins/.vnc/madmax2.ecolane.com:11.log
[android] Using Android SDK: /opt/adt-bundle-linux-x86_64/sdk
[android] Waiting 1 seconds before starting emulator...
$ /opt/adt-bundle-linux-x86_64/sdk/platform-tools/adb start-server
[android] Starting Android emulator
$ /opt/adt-bundle-linux-x86_64/sdk/tools/emulator -no-boot-anim -ports 56341,34347 -avd Android2.2GoogleAPIs -no-snapshot-load -no-snapshot-save
[android] Emulator did not appear to start; giving up
$ /opt/adt-bundle-linux-x86_64/sdk/platform-tools/adb disconnect localhost:34347
[android] Stopping Android emulator
$ /opt/adt-bundle-linux-x86_64/sdk/platform-tools/adb kill-server
Taking screenshot.
[tests] $ import -window root -display :11 screenshot.jpg
Terminating xvnc.
$ vncserver -kill :11
Killing Xtightvnc process ID 18436