On Tue, Nov 26, 2013 at 01:40:35PM +0000, Dave Pigott wrote:
On 25 Nov 2013, at 10:26, Dave Pigott dave.pigott@linaro.org wrote:
OK - for the moment, I've off-lined 04. Longer term we need a better solution.
I think that the problem is that adb is buggy. It is clearly *supposed* to work with multiple devices simultaneously, otherwise why have it running as a daemon?
Course of action:
- We can patch around it by having an "android" device tag, which will be guaranteed to only have one instance per LAVA worker node.
- We should also investigate if there is an adb update that fixes the simultaneous connection issue.
http://developer.android.com/tools/help/adb.html
This seems to imply that for any version of android after 4.2.2 (JellyBean) we should be using 1.0.31. We're using 1.0.29, the default that ships with Ubuntu 12.04 LTS. The first time 1.0.31 was shipped with Ubuntu was in raring.
So perhaps we should look at whether we can get 1.0.31 running on 12.04, and see if it fixes any of the problems we're seeing. The documentation certainly suggests that running multiple adb sessions is supported.
We probably want to backport a newer adb package to precise, then.