Re: Help required for Android plugin - 'use emulator snapshots'

2014-05-15 Thread Charles Chan
"; Since the regex looking for "M" (megabyte) and my snapshot is 1.0G. The regex fails and the snapshot is not found. This has been fixed in the head. On Tuesday, May 13, 2014 12:31:01 PM UTC-7, Charles Chan wrote: > > Thanks for the information. > > I try setting t

Re: Help required for Android plugin - 'use emulator snapshots'

2014-05-13 Thread Charles Chan
d/snapshots.img': IDTAG VM SIZEDATE VM CLOCK 1 jenkins1.0G 2014-05-13 12:11:26 00:07:51.870 Any ideas? On Tuesday, May 13, 2014 2:24:17 AM UTC-7, Christopher Orr wrote: > > On 10/05/14 00:49, Charles Chan wrote:

Help required for Android plugin - 'use emulator snapshots'

2014-05-09 Thread Charles Chan
I have been trying to use the snapshot functionality in the Android plugin but somehow it keeps creating a new snapshot every time. $ /opt/android-sdk-linux/platform-tools/adb start-server $ /opt/android-sdk-linux/tools/emulator -snapshot-list -no-window -avd hudson_en-US_160_WVGA_android-19_x8

Does the Android emulator work inside a VM?

2014-05-07 Thread Charles Chan
Summary: Does the Android emulator work inside a VM? Or must it be run on a bare metal machine? I am trying to setup some automated tests using Jenkins with the Android plugin. The slave is a VM (on top) of VMWare ESXi, running Ubuntu Linux (32 bit x86). When the emulator tries to start the VM,

Re: Jenkins slave appear offline - SSHLauncher threads BLOCKED

2014-05-07 Thread Charles Chan
On Wednesday, May 7, 2014 1:47:59 AM UTC-7, nigelm wrote: > > > >> >>> >>> From your reply, I am even more concerned with disproportionally high >>> number of the blocked threads (120) compare to offline slaves (2 at the >>> time), as it sounds like it should be closer to 1:1? >>> >> >> Yes

Re: Jenkins slave appear offline - SSHLauncher threads BLOCKED

2014-05-06 Thread Charles Chan
Thanks for the confirmation. On Tuesday, May 6, 2014 4:40:59 AM UTC-7, Stephen Connolly wrote: > > Yes, it sounds like there is a race condition between the post disconnect > tasks and the reconnect tasks: > https://github.com/jenkinsci/ssh-slaves-plugin/blob/ssh-slaves-1.6/src/main/java/hudson/

Re: Jenkins slave appear offline - SSHLauncher threads BLOCKED

2014-05-05 Thread Charles Chan
On Monday, May 5, 2014 2:26:19 PM UTC-7, Kevin Fleming wrote: > > Unfortunately it's not possible to reconnect to an SSH session; if the > session is disconnected, the SSH daemon on the receiving end will close its > end, and kill any processes that had been launched by that connection. In > oth

Re: Jenkins slave appear offline - SSHLauncher threads BLOCKED

2014-05-05 Thread Charles Chan
) > > JNLP scales the highest without affecting build times, but degrades > fastest, is a poor fit for on-demand connection/retention strategies and > does not offer the same transport encryption security as the ssh- versions > > Those are just the brief high-level measures >

Jenkins slave appear offline - SSHLauncher threads BLOCKED

2014-05-05 Thread Charles Chan
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) java.lang.Thread.run(Thread.java:662) {dump} Looking forward to any ideas or suggestions. Thank you. Charles Ch

CI and optimize build time

2014-04-07 Thread Charles Chan
I came across this article from the Google Testing Blog a while ago: http://googletesting.blogspot.ca/2011/06/testing-at-speed-and-scale-of-google.html As our builds are taking longer run, I wonder if there is any tools/plugins available to help implement the pipeline described in the article: *

Re: Is it possible to scan for warnings in Visual Studio PREfast files

2014-02-20 Thread Charles Chan
This is my solution, please kindly review. RegEx: .*?(.+?).*?(.+?).*?(.+?).*?(.+?).*? Groovy script: // Regular Expression: // .*?(.+?).*?(.+?).*?(.+?).*?(.+?).*? // // where //... // - the tag containing 1 violation // .*? // - zero or more characters // (.+?) // - ca

Is it possible to scan for warnings in Visual Studio PREfast files

2014-02-20 Thread Charles Chan
In our Jenkins job, we set up Visual Studio to run the static code analysis. This produces an XML file, similar to the one above. We would like to use the plugin "Scan for compiler warnings" to monitor the number of violations. I have tried a number of different parser, but it doesn't seem to b