Hi all,
|
|
Hi there,
Somebody else already reported this to me and filed an issue about it: http://jenkins-ci.org/issue/14901 It seems to be an issue starting with SDK Tools r20.0.3 -- I'll check it out. Regards, Chris On 08/23/2012 11:52 PM, Sam Xiao wrote: > Hi all, > > I updated the Android SDK in my build machine, so I can now run ICS emulator image, but now Jenkins is failing to launch Android Emulator with it. This very same machine + setup used to work well with my Gingerbread setup. > > Not sure what's the issue, but here is the log I got. Is there any other place I can look for log? > > Jenkins version:Jenkins ver. 1.472 <http://jenkins-ci.org/> > Android Emulator plugin version: 2.3 <http://105.68.13.72:8080/pluginManager/plugin/android-emulator/thirdPartyLicenses> > Android SDK revision: 20.0.3 > > > > Starting xvnc > [workspace] $ /usr/bin/vncserver :2 -geometry 1024x768 > > New 'X' desktop is localhost:2 > > Starting applications specified in /var/lib/jenkins/.vnc/xstartup > Log file is /var/lib/jenkins/.vnc/localhost:2.log > > $ /android_sdk/android-sdk-linux/tools/android list target > [android] Using Android SDK: /android_sdk/android-sdk-linux > [android] Waiting 60 seconds before starting emulator... > $ /android_sdk/android-sdk-linux/platform-tools/adb start-server > [android] Starting Android emulator > $ /android_sdk/android-sdk-linux/tools/emulator -no-boot-anim -ports 48312,49016 -avd ics -no-snapshot-load -no-snapshot-save -no-window > * daemon not running. starting it now on port 58303 * > * daemon started successfully * > *[android] Emulator did not appear to start; giving up* > $ /android_sdk/android-sdk-linux/platform-tools/adb disconnect localhost:49016 > [android] Stopping Android emulator > $ /android_sdk/android-sdk-linux/platform-tools/adb kill-server > Terminating xvnc. > $ /usr/bin/vncserver -kill :2 > Killing Xtightvnc process ID 16012 > Archiving artifacts > Checking console output > No emails were triggered. > Finished: NOT_BUILT > |
|
In reply to this post by Sam Xiao
Hi again,
As I just wrote in http://jenkins-ci.org/issue/14901 -- I'm really having a tough time reproducing this myself. Can you give any other hints about your environment? Which OS? 32- or 64-bit? Did this work on a previous version of the Android SDK Tools -- if so, which version? Are your jobs running on the master, or on a slave? Any help or ideas would be appreciated! Thanks, Chris On 08/23/2012 11:52 PM, Sam Xiao wrote: > Hi all, > > I updated the Android SDK in my build machine, so I can now run ICS emulator image, but now Jenkins is failing to launch Android Emulator with it. This very same machine + setup used to work well with my Gingerbread setup. > > Not sure what's the issue, but here is the log I got. Is there any other place I can look for log? > > Jenkins version:Jenkins ver. 1.472 <http://jenkins-ci.org/> > Android Emulator plugin version: 2.3 <http://105.68.13.72:8080/pluginManager/plugin/android-emulator/thirdPartyLicenses> > Android SDK revision: 20.0.3 > > > > Starting xvnc > [workspace] $ /usr/bin/vncserver :2 -geometry 1024x768 > > New 'X' desktop is localhost:2 > > Starting applications specified in /var/lib/jenkins/.vnc/xstartup > Log file is /var/lib/jenkins/.vnc/localhost:2.log > > $ /android_sdk/android-sdk-linux/tools/android list target > [android] Using Android SDK: /android_sdk/android-sdk-linux > [android] Waiting 60 seconds before starting emulator... > $ /android_sdk/android-sdk-linux/platform-tools/adb start-server > [android] Starting Android emulator > $ /android_sdk/android-sdk-linux/tools/emulator -no-boot-anim -ports 48312,49016 -avd ics -no-snapshot-load -no-snapshot-save -no-window > * daemon not running. starting it now on port 58303 * > * daemon started successfully * > *[android] Emulator did not appear to start; giving up* > $ /android_sdk/android-sdk-linux/platform-tools/adb disconnect localhost:49016 > [android] Stopping Android emulator > $ /android_sdk/android-sdk-linux/platform-tools/adb kill-server > Terminating xvnc. > $ /usr/bin/vncserver -kill :2 > Killing Xtightvnc process ID 16012 > Archiving artifacts > Checking console output > No emails were triggered. > Finished: NOT_BUILT > |
|
This post has NOT been accepted by the mailing list yet.
This post was updated on .
I Christopher, I'm with the same problem here, everything was working fine until I did update to my android ADT 20.0.3:
Machine info: Linux version 2.6.32-220.7.1.el6.x86_64 (gcc version 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC) ) #1 SMP Wed Mar 7 00:52:02 GMT 2012, Android ADT Plugin 20.0.3 Log with the problem: FATAL: For input string: "20.0.3" java.lang.NumberFormatException: For input string: "20.0.3" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:481) at java.lang.Integer.parseInt(Integer.java:514) at hudson.plugins.android_emulator.util.Utils$2.call(Utils.java:187) at hudson.plugins.android_emulator.util.Utils$2.call(Utils.java:156) at hudson.remoting.LocalChannel.call(LocalChannel.java:45) at hudson.plugins.android_emulator.util.Utils.getAndroidSdk(Utils.java:197) at hudson.plugins.android_emulator.AndroidEmulator.setUp(AndroidEmulator.java:225) at hudson.model.Build$BuildExecution.doRun(Build.java:154) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499) at hudson.model.Run.execute(Run.java:1488) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) There is any solution for this so far? Best regards Joao
|
|
In reply to this post by Christopher Orr
On Ubuntu 12.04 64-bits
It does work on previous version of Android SDK (but forgot which version, probably R16 or R17?) It runs on the same machine, (no master or slave setup) On Monday, August 27, 2012 2:08:14 PM UTC-7, Christopher Orr wrote: Hi again, |
|
In reply to this post by Sam Xiao
Hello Folks.
I am seeing the same problem Jenkins Core 1.459 My slave is a 64Bit MacOs ProductName: Mac OS X Server ProductVersion: 10.7.4 uname -a Darwin Kernel Version 11.4.0: Mon Apr 9 19:32:15 PDT 2012; root:xnu-1699.26.8~1/RELEASE_X86_64 x86_64 FATAL: Unable to serialize hudson.plugins.android_emulator.SdkInstaller$2@74102cd4 java.io.IOException: Unable to serialize hudson.plugins.android_emulator.SdkInstaller$2@74102cd4 at hudson.remoting.UserRequest.serialize(UserRequest.java:166) at hudson.remoting.UserRequest.<init>(UserRequest.java:62) at hudson.remoting.Channel.call(Channel.java:645) at hudson.plugins.android_emulator.SdkInstaller.getPlatformFromExistingEmulator(SdkInstaller.java:310) at hudson.plugins.android_emulator.SdkInstaller.getPlatformForEmulator(SdkInstaller.java:294) at hudson.plugins.android_emulator.SdkInstaller.installDependencies(SdkInstaller.java:173) at hudson.plugins.android_emulator.AndroidEmulator.setUp(AndroidEmulator.java:246) at hudson.model.Build$RunnerImpl.doRun(Build.java:133) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:475) at hudson.model.Run.run(Run.java:1413) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) Caused by: java.io.NotSerializableException: hudson.Launcher$RemoteLauncher at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1180) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1528) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:346) at hudson.remoting.UserRequest._serialize(UserRequest.java:155) at hudson.remoting.UserRequest.serialize(UserRequest.java:164) ... 12 more On Thursday, August 23, 2012 2:52:06 PM UTC-7, Sam Xiao wrote: Hi all, |
|
In reply to this post by Sam Xiao
Just forgot to mention that my Android SDK is 20.0.3
On Thursday, August 23, 2012 2:52:06 PM UTC-7, Sam Xiao wrote: Hi all, |
|
In reply to this post by SamL
No, that's JENKINS-13420.
Chris On 08/29/2012 12:49 AM, SamL wrote: > Hello Folks. > I am seeing the same problem > > Jenkins Core 1.459 > Android Emulator Plugin > <http://wiki.jenkins-ci.org/display/JENKINS/Android+Emulator+Plugin> 2.1 > > My slave is a 64Bit MacOs > > ProductName: Mac OS X Server > ProductVersion: 10.7.4 > > > uname -a > Darwin Kernel Version 11.4.0: Mon Apr 9 19:32:15 PDT 2012; > root:xnu-1699.26.8~1/RELEASE_X86_64 x86_64 > > FATAL: Unable to serialize hudson.plugins.android_emulator.SdkInstaller$2@74102cd4 > java.io.IOException <http://stacktrace.jenkins-ci.org/search?query=java.io.IOException>: Unable to serialize hudson.plugins.android_emulator.SdkInstaller$2@74102cd4 > athudson.remoting.UserRequest.serialize(UserRequest.java:166) <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.UserRequest.serialize&entity=method> > athudson.remoting.UserRequest.<init>(UserRequest.java:62) <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.UserRequest.%3Cinit%3E&entity=method> > athudson.remoting.Channel.call(Channel.java:645) <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Channel.call&entity=method> > athudson.plugins.android_emulator.SdkInstaller.getPlatformFromExistingEmulator(SdkInstaller.java:310) <http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.android_emulator.SdkInstaller.getPlatformFromExistingEmulator&entity=method> > athudson.plugins.android_emulator.SdkInstaller.getPlatformForEmulator(SdkInstaller.java:294) <http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.android_emulator.SdkInstaller.getPlatformForEmulator&entity=method> > athudson.plugins.android_emulator.SdkInstaller.installDependencies(SdkInstaller.java:173) <http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.android_emulator.SdkInstaller.installDependencies&entity=method> > athudson.plugins.android_emulator.AndroidEmulator.setUp(AndroidEmulator.java:246) <http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.android_emulator.AndroidEmulator.setUp&entity=method> > athudson.model.Build$RunnerImpl.doRun(Build.java:133) <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Build$RunnerImpl.doRun&entity=method> > athudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:475) <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractRunner.run&entity=method> > athudson.model.Run.run(Run.java:1413) <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.run&entity=method> > athudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.FreeStyleBuild.run&entity=method> > athudson.model.ResourceController.execute(ResourceController.java:88) <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.execute&entity=method> > athudson.model.Executor.run(Executor.java:238) <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.run&entity=method> > Caused by:java.io.NotSerializableException <http://stacktrace.jenkins-ci.org/search?query=java.io.NotSerializableException>: hudson.Launcher$RemoteLauncher > atjava.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1180) <http://stacktrace.jenkins-ci.org/search/?query=java.io.ObjectOutputStream.writeObject0&entity=method> > atjava.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1528) <http://stacktrace.jenkins-ci.org/search/?query=java.io.ObjectOutputStream.defaultWriteFields&entity=method> > atjava.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493) <http://stacktrace.jenkins-ci.org/search/?query=java.io.ObjectOutputStream.writeSerialData&entity=method> > atjava.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416) <http://stacktrace.jenkins-ci.org/search/?query=java.io.ObjectOutputStream.writeOrdinaryObject&entity=method> > atjava.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174) <http://stacktrace.jenkins-ci.org/search/?query=java.io.ObjectOutputStream.writeObject0&entity=method> > atjava.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:346) <http://stacktrace.jenkins-ci.org/search/?query=java.io.ObjectOutputStream.writeObject&entity=method> > athudson.remoting.UserRequest._serialize(UserRequest.java:155) <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.UserRequest._serialize&entity=method> > athudson.remoting.UserRequest.serialize(UserRequest.java:164) <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.UserRequest.serialize&entity=method> > ... 12 more > > > > On Thursday, August 23, 2012 2:52:06 PM UTC-7, Sam Xiao wrote: > > Hi all, > > I updated the Android SDK in my build machine, so I can now run ICS emulator image, but now Jenkins is failing to launch Android Emulator with it. This very same machine + setup used to work well with my Gingerbread setup. > > Not sure what's the issue, but here is the log I got. Is there any other place I can look for log? > > Jenkins version:Jenkins ver. 1.472 <http://jenkins-ci.org/> > Android Emulator plugin version: 2.3 <http://105.68.13.72:8080/pluginManager/plugin/android-emulator/thirdPartyLicenses> > Android SDK revision: 20.0.3 > > > > Starting xvnc > [workspace] $ /usr/bin/vncserver :2 -geometry 1024x768 > > New 'X' desktop is localhost:2 > > Starting applications specified in /var/lib/jenkins/.vnc/xstartup > Log file is /var/lib/jenkins/.vnc/localhost:2.log > > $ /android_sdk/android-sdk-linux/tools/android list target > [android] Using Android SDK: /android_sdk/android-sdk-linux > [android] Waiting 60 seconds before starting emulator... > $ /android_sdk/android-sdk-linux/platform-tools/adb start-server > [android] Starting Android emulator > $ /android_sdk/android-sdk-linux/tools/emulator -no-boot-anim -ports 48312,49016 -avd ics -no-snapshot-load -no-snapshot-save -no-window > * daemon not running. starting it now on port 58303 * > * daemon started successfully * > *[android] Emulator did not appear to start; giving up* > $ /android_sdk/android-sdk-linux/platform-tools/adb disconnect localhost:49016 > [android] Stopping Android emulator > $ /android_sdk/android-sdk-linux/platform-tools/adb kill-server > Terminating xvnc. > $ /usr/bin/vncserver -kill :2 > Killing Xtightvnc process ID 16012 > Archiving artifacts > Checking console output > No emails were triggered. > Finished: NOT_BUILT > |
| Powered by Nabble | Edit this page |
