[Hudson-Issues] [JIRA] Commented: (HUDSON-7354) Emulator interactions when building with configuration grid

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[Hudson-Issues] [JIRA] Commented: (HUDSON-7354) Emulator interactions when building with configuration grid

JIRA issues@hudson.java.net

    [ http://issues.hudson-ci.org/browse/HUDSON-7354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=145677#action_145677 ]

kaeppler commented on HUDSON-7354:

just wanted to quickly chime in and confirm that I see the same behavior. For our Android in Practice book, I've set up a simple example builds using a 2x2 matrix, and the M(1,1) build always fails.

Actually I also have a question. How does Hudson or the plugin determine how many builds should be triggered in parallel? Because on my notebook, only ever 2 of the 4 configurations are executed at once. As soon as one finishes, the next in line is started.

Since I didn't tick the "serialize build" option, I was assuming that all sub-builds start at once and run concurrently.

> Emulator interactions when building with configuration grid
> -----------------------------------------------------------
>                 Key: HUDSON-7354
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-7354
>             Project: Hudson
>          Issue Type: Bug
>          Components: android-emulator
>    Affects Versions: current
>         Environment: RHEL 5
> Tomcat 6.0.29
> Hudson 1.374
> ADK tools rev. 6
>            Reporter: jtharp
>            Assignee: orrc
> There seem to be interactions between emulators when building on a configuration grid. I have a trivial Android app that I have been using to figure out various build issues, including using Hudson and the Android Plugin.
> I'm sorry that I don't have a completely repeatable sequence that might help in pin-pointing the behavior, but here is the configuration:
> I'm using Hudson's multi-build with two configuration axes: ADK_VER (1.5, 2.1) and SCREEN_RES (HVGA). I have the Android plugin running an emulator with the "Run emulator with properties" option.
> Android OS Version: ${ADK_VER}
> Screen density: 160
> Screen resolution: ${SCREEN_RES}
> Device locale: en_US
> SD card size: {blank}
> Reset emulator state at startup: {unchecked}
> Show emulator window: {unchecked}
> I'm getting fairly regular failures on one of the two builds that result (and more often the second). However, the failure is seldom exactly the same. One time, the build will be unable to connect to the emulator at the beginning and timeout. Another time, one of the builds will be unable to install the apk because it cannot communicate with the target emulator (toward the end of the build and after it had already established a connection with it for an earlier step).
> The problems don't seem to occur when the "Run each configuration sequentially" setting is checked.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira