← Back to team overview

canonical-ci-engineering team mailing list archive

Re: Scaling out the emulator

 

On 7 January 2014 21:14, Francis Ginther <francis.ginther@xxxxxxxxxxxxx> wrote:
> I've been playing with the emulator as described earlier in this
> thread. I'm going to start looking at the jemjem charm and the other
> progress mentioned in the "Emulator + Autopilot = Win" thread. But
> here's a few things I've learned so far:
>
> - While running on my laptop, I hit thermal shutdown after running for
> about 20 minutes. /me thinks Intel's CPU throttling doesn't work as
> advertised.
> - About half of the autopilot tests failed, possibly due to events not
> happening with the default 10 minute timeout.
> - The emulator does 'run' under xvfb on a canonistack instance.
> Running tests is a different story, so far I haven't been able to get
> any autopilot tests to pass with what looks like failures starting the
> app.
>

Do you have appropriate for your GPU i386 mesa/GL binaries installed?

$ sudo apt-get install mesa-utils:i386
$ glxinfo

Should _not_ have Gallium 3D (that's llvmpipe), but e.g. have "Mesa
DRI Intel(R) Ivybridge Desktop"

If it's Gallium 3D, you are abusing your CPU to death.

Also note that I have applied a "monkey" patch to tripple the
autopilot timeouts, pull latest ubuntu-test-cases/touch-emulator.

canonistack instances must be configured with at least 2 cpu-cores,
2GB RAM. And I have been using i386 instances. I wonder if I can charm
up the minimum constraints, let me figure this out in juju.

The most smallest / quickest tests that are known to pass are:
address_book_app, friends_app.

There are a few more fixes that i've crowd-sources from my mass bug
file about individual test-failures (see bugs tagged jemjem across
all/any projects). And I'll be working on implementing those tomorrow,
i'm EOD here in europe.

Regards,

Dimitri.

> Francis
>
>
> On Thu, Jan 2, 2014 at 3:19 AM, Evan Dandrea <evan.dandrea@xxxxxxxxxxxxx> wrote:
>> On 24 December 2013 14:31, Dimitri John Ledkov <xnox@xxxxxxxxxx> wrote:
>>> Will be running all autopilot tests in it now, to see how long that takes.
>>
>> How'd that go?
>>
>> --
>> Mailing list: https://launchpad.net/~canonical-ci-engineering
>> Post to     : canonical-ci-engineering@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~canonical-ci-engineering
>> More help   : https://help.launchpad.net/ListHelp
>
>
>
> --
> Francis Ginther
> Canonical - Ubuntu Engineering - Continuous Integration Team



-- 
Regards,

Dimitri.


References