Merge lp://staging/~xnox/ubuntu-test-cases/touch-emulator into lp://staging/ubuntu-test-cases/touch

Proposed by Dimitri John Ledkov
Status: Needs review
Proposed branch: lp://staging/~xnox/ubuntu-test-cases/touch-emulator
Merge into: lp://staging/ubuntu-test-cases/touch
Diff against target: 161 lines (+130/-1)
5 files modified
scripts/custom-py3.sh (+18/-0)
scripts/provision-emulator.sh (+23/-0)
scripts/run-test.sh (+60/-0)
scripts/run-tests.sh (+28/-0)
utils/target/unlock_screen.sh (+1/-1)
To merge this branch: bzr merge lp://staging/~xnox/ubuntu-test-cases/touch-emulator
Reviewer Review Type Date Requested Status
Ubuntu Test Case Developers Pending
Review via email: mp+200448@code.staging.launchpad.net

Description of the change

Basic support for running autopilot tests in the emulator:

* doesn't reboot, instead uses snapshots to revert into pristine image
* doesn't use wait for settled logic
* uses "blind" screen unlock
* no support for utah tests just yet (haven't even tried)
* works on desktops / servers / headless / gpuless cloud-instances
* needs about 10GB of disk-space + 1GB of RAM

./scripts/provision-emulator.sh

./scripts/run-tests.sh # for all
./scripts/run-test.sh click com.ubuntu.weather ubuntu_weather_app # for individual test

Please review & hopefully start adding emulator test results to jenkins.

To post a comment you must log in.
133. By Dimitri John Ledkov

Force install

134. By Dimitri John Ledkov

Move display setup into the test-runner.

135. By Dimitri John Ledkov

30s timeout

136. By Dimitri John Ledkov

Let locale & source pam environment.

137. By Dimitri John Ledkov

Add startup watchdog.

138. By Dimitri John Ledkov

Add shorts

139. By Dimitri John Ledkov

Add apt-get update, before apt-get install. Thanks barry.

140. By Dimitri John Ledkov

Add support for custom.sh scripts to customize base image.

141. By Dimitri John Ledkov

Add example custom script to run custom tests with autopilot-python3

142. By Dimitri John Ledkov

Add unity8

143. By Dimitri John Ledkov

Merge Apply matching kill timeout in local unity8.override.

144. By Dimitri John Ledkov

Port to ubuntu-emulator.

Revision history for this message
Andy Doan (doanac) wrote :

I've been working off your branch to come up with a way to really include this in our CI process. I'm starting to get something standing itself up with:

 https://code.launchpad.net/~doanac/ubuntu-test-cases/touch-emulator-support

I'm using our staging jenkins instance to start exploring more:

 http://dev-jenkins:8080/job/trusty-touch-emulator-smoke-daily/3

I'll probably have some questions for you tomorrow. For example, the autopilot patches are applying anymore, but I might be able to figure that out.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

On 14 February 2014 00:36, Andy Doan <email address hidden> wrote:
> I've been working off your branch to come up with a way to really include this in our CI process. I'm starting to get something standing itself up with:
>
> https://code.launchpad.net/~doanac/ubuntu-test-cases/touch-emulator-support
>
> I'm using our staging jenkins instance to start exploring more:
>
> http://dev-jenkins:8080/job/trusty-touch-emulator-smoke-daily/3
>
> I'll probably have some questions for you tomorrow. For example, the autopilot patches are applying anymore, but I might be able to figure that out.

With recent enough autopilot, patches shouldn't be required.

Also i had a branch which uses "ubuntu-emulator" instead shell scripts:
see https://code.launchpad.net/~xnox/ubuntu-test-cases/ubuntu-emulator

With that one, it's easier to request a particular image REVNO to be setup.

Also i'm travelling tomorrow, so my replies might be scarce. Feel free
to send me emails, and I'll try to reply to them, when i can.

--
Regards,

Dimitri.

Unmerged revisions

144. By Dimitri John Ledkov

Port to ubuntu-emulator.

143. By Dimitri John Ledkov

Merge Apply matching kill timeout in local unity8.override.

142. By Dimitri John Ledkov

Add unity8

141. By Dimitri John Ledkov

Add example custom script to run custom tests with autopilot-python3

140. By Dimitri John Ledkov

Add support for custom.sh scripts to customize base image.

139. By Dimitri John Ledkov

Add apt-get update, before apt-get install. Thanks barry.

138. By Dimitri John Ledkov

Add shorts

137. By Dimitri John Ledkov

Add startup watchdog.

136. By Dimitri John Ledkov

Let locale & source pam environment.

135. By Dimitri John Ledkov

30s timeout

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches