Merge lp:~canonical-platform-qa/camera-app/fix_base_class into lp:camera-app
| Status: | Merged |
|---|---|
| Approved by: | Florian Boucault on 2015-05-05 |
| Approved revision: | 555 |
| Merged at revision: | 557 |
| Proposed branch: | lp:~canonical-platform-qa/camera-app/fix_base_class |
| Merge into: | lp:camera-app |
| Diff against target: |
121 lines (+11/-43) 3 files modified
tests/autopilot/camera_app/emulators/baseemulator.py (+0/-35) tests/autopilot/camera_app/emulators/panel.py (+2/-2) tests/autopilot/camera_app/tests/__init__.py (+9/-6) |
| To merge this branch: | bzr merge lp:~canonical-platform-qa/camera-app/fix_base_class |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Brendan Donegan (community) | Approve on 2015-04-30 | ||
| PS Jenkins bot | continuous-integration | Needs Fixing on 2015-04-30 | |
| Ubuntu Phablet Team | 2015-04-28 | Pending | |
|
Review via email:
|
|||
Commit Message
Use the base class from the toolkit in autopilot tests.
Description of the Change
Are there any related MPs required for this MP to build/function as expected? Please list.
No related MPs.
Is your branch in sync with latest trunk (e.g. bzr pull lp:trunk -> no changes)
Yes it is.
Did you perform an exploratory manual test run of your code change and any related functionality on device or emulator?
Only made sure the automated tests were working as before.
Did you successfully run all tests found in your component's Test Plan (https:/
Only changes to the automated tests, so no need to run the test plan.
If you changed the UI, was the change specified/approved by design?
No UI changes.
If you changed UI labels, did you update the pot file?
No UI changes.
If you changed the packaging (debian), did you add a core-dev as a reviewer to this MP?
No debian changes.
Autopilot is currently designed to have a single proxy object base, so we started finding some problems when we integrated tests from multiple projects for the sanity suite. We are working on making autopilot smarter, but in order to be able to change the design without breaking any tests we need this change.
And in this case, it makes sense to use the proxy object from the toolkit, because the one defined for this project was just duplicating the code.
| Christopher Lee (veebers) wrote : | # |
Looks good to me, although I will moan that there are changes here that aren't directly relevant to the base CPO class change (i.e. removal of unused imports).
The CI failed due to an infrastructure timeout, firing off again hopefully we have better luck this time around.
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:553
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
FAILURE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
| Brendan Donegan (brendan-donegan) wrote : | # |
I'm inclined to agree with veebers - single issue changes please to avoid the chance of unrelated things blocking the merge approval (see how it is already :P). Also the mix of specifying the base class as a variable and also directly is a little jarring - couldn't you make it a class attribute or 'constant' (i.e. PROXY_BASE = ubuntuuitoolkit
| Leo Arias (elopio) wrote : | # |
> Looks good to me, although I will moan that there are changes here that aren't
> directly relevant to the base CPO class change (i.e. removal of unused
> imports).
>
> The CI failed due to an infrastructure timeout, firing off again hopefully we
> have better luck this time around.
Right... we have discussed about it and I keep doing it. Sorry.
Pushed.
| Leo Arias (elopio) wrote : | # |
> Also the mix of specifying the base class as a variable and also directly
> is a little jarring - couldn't you make it a class attribute or 'constant'
> (i.e. PROXY_BASE = ubuntuuitoolkit
> file level)
That's an alias, because the name is too big to fit the 88 columns.
A constant works well too, so pushed.
Maybe we need to add a shorter alias directly on the toolkit.
| Max Brustkern (nuclearbob) wrote : | # |
This seems reasonable to me once the CI jobs stop failing.
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:555
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
FAILURE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:555
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
FAILURE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://

FAILED: Continuous integration, rev:553 jenkins. qa.ubuntu. com/job/ camera- app-ci/ 416/ jenkins. qa.ubuntu. com/job/ camera- app-vivid- amd64-ci/ 112 jenkins. qa.ubuntu. com/job/ camera- app-vivid- armhf-ci/ 112 jenkins. qa.ubuntu. com/job/ camera- app-vivid- armhf-ci/ 112/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ camera- app-vivid- i386-ci/ 112 jenkins. qa.ubuntu. com/job/ generic- click-autopilot -vivid- touch/208 jenkins. qa.ubuntu. com/job/ generic- mediumtests- vivid/825/ console jenkins. qa.ubuntu. com/job/ generic- click-autopilot -runner- mako/858 jenkins. qa.ubuntu. com/job/ generic- click-builder- vivid-armhf/ 538 s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 19986 jenkins. qa.ubuntu. com/job/ autopilot- testrunner- otto-vivid/ 661/console jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-amd64/ 987 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-amd64/ 987/artifact/ work/output/ *zip*/output. zip
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
FAILURE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/camera- app-ci/ 416/rebuild
http://