← Back to team overview

canonical-ci-engineering team mailing list archive

Reproducing otto autopilot test runner locally

 

Hey Francis,

mailing you directly as I'm almost certainly not allowed to mail
canonical-ci-engineering@xxxxxxxxxxxxxxxxxxx.

There is an obstinate failure of the messaging-app tests [1] in the
otto runner. The app starts, the widgets appear, it can type a number
into the receiver line, but the actual text message line stays
inactive. Both the autopilot test failure exception and the video
agree on this.

But I can't for the life of it reproduce that in a saucy or
(dist-upgraded) trusty live CD environment in KVM, and last week not
even in a manually started otto container with running the tests
manually.

So I need to be able to exactly reproduce the otto runner locally.
Siva pointed out [2]
which I checked out, but it's not quite clear how to use it. I don't
know what "overrides" are, and the only two command line switches it
has talk about those.

So what I have is:

 * the autopilot-testrunner-otto-saucy checkout
 * an otto checkout with a workaround for the swap kernel config so
   that it actually works in saucy/trusty
 * a saucy final ISO (we don't have trusty ones yet)
 * the output.zip from the CI builds from my branch with the test
   cases [3]

How do I plug these together to run the tests from
messaging-app-autopilot (as shipped in [3]) on my workstation?

I envision this is a rather common scenarario, but I didn't find
anything about that in e. g.
https://wiki.canonical.com/UbuntuEngineering/CI/Playbook/UpstreamMerger
or the parent pages. I'm happy to add that to wiki.ubuntu.com once I
understand how it works, as that's the kind of documentation which
really ought to be public. It seems there is no /CI hierarchy there,
but at some point there ought to be so I could just as well create the
first page there :)

Thanks,

Martin

[1] https://code.launchpad.net/~pitti/messaging-app/phonesim-tests/+merge/191121
[2] lp:~canonical-ci-engineering/jenkins-launchpad-plugin/autopilot-testrunner-otto-saucy
[3] e. g.  http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/150/artifact/work/output/*zip*/output.zip
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

Attachment: signature.asc
Description: Digital signature


Follow ups