Merge lp:autopilot into lp:autopilot/1.5
| Status: | Merged |
|---|---|
| Approved by: | Selene Scriven on 2015-12-04 |
| Approved revision: | 572 |
| Merged at revision: | 524 |
| Proposed branch: | lp:autopilot |
| Merge into: | lp:autopilot/1.5 |
| Diff against target: |
328 lines (+74/-49) 10 files modified
autopilot/_logging.py (+5/-4) autopilot/_video.py (+2/-2) autopilot/application/_launcher.py (+7/-4) autopilot/content.py (+11/-2) autopilot/introspection/types.py (+7/-30) autopilot/tests/unit/test_platform.py (+2/-2) autopilot/tests/unit/test_utilities.py (+16/-0) autopilot/utilities.py (+20/-0) debian/control (+2/-0) docs/otto.py (+2/-5) |
| To merge this branch: | bzr merge lp:autopilot |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Martin Pitt (community) | packaging | Approve on 2015-12-09 | |
| Selene Scriven (community) | Approve on 2015-12-04 | ||
| Max Brustkern (community) | 2015-12-02 | Approve on 2015-12-02 | |
| PS Jenkins bot | continuous-integration | Approve on 2015-12-02 | |
|
Review via email:
|
|||
Commit Message
Stops attempts to access NoneType instead of bytes''. Considered a workaround, fixed in newer testtools.
Description of the Change
Provide a workaround due to older versions of testtools on vivid. Stops attempts to access NoneType instead of bytes''
| Max Brustkern (nuclearbob) wrote : | # |
This looks good to me, but I haven't run tests yet.
| Selene Scriven (toykeeper) wrote : | # |
Approving since it's the same as the other already-approved MP.
| Max Brustkern (nuclearbob) wrote : | # |
There are sphinx build problems in xenial with docs/api/
I'll look into a resolution for that.
| Max Brustkern (nuclearbob) wrote : | # |
The ".. otto::" lines are creating problems. I suspect maybe something we're using there work differently in the current version of sphinx, so I'll look for API changes.
| Max Brustkern (nuclearbob) wrote : | # |
This line in otto.py is the problem:
image_container
| Max Brustkern (nuclearbob) wrote : | # |
If I remove that line, sphinx builds fine, but I get 8 test failures around datetime stuff that don't appear on wily. I'll look into that more.
| Max Brustkern (nuclearbob) wrote : | # |
I get these failures running tests under python3.5 on xenial, while they pass if run under 3.4:
/usr/lib/
tests = list(self.
** (process:27668): WARNING **: Unable to connect to Upstart bus: Error spawning command line 'dbus-launch --autolaunch=
** (process:27668): WARNING **: Unable to connect to Upstart bus: Error spawning command line 'dbus-launch --autolaunch=
** (process:27668): WARNING **: Unable to connect to Upstart bus: Error spawning command line 'dbus-launch --autolaunch=
** (process:27668): WARNING **: Unable to connect to Upstart bus: Error spawning command line 'dbus-launch --autolaunch=
** (process:27668): WARNING **: Unable to connect to Upstart bus: Error spawning command line 'dbus-launch --autolaunch=
** (process:27668): WARNING **: Unable to connect to Upstart bus: Error spawning command line 'dbus-launch --autolaunch=
** (process:27668): WARNING **: Unable to connect to Upstart bus: Error spawning command line 'dbus-launch --autolaunch=
Followed stream is empty.
Could not add content object 'autopilot.
Could not add content object 'autopilot.
Followed stream is empty.
Followed stream is empty.
INFO:root:
INFO:root:Starting test Test.id
INFO:autopilot.
INFO:root:Autopilot Source Version: 1.5.0
INFO:root:Autopilot Source Version: 1.5.0
INFO:root:Autopilot Source Version: 1.5.0
INFO:root:Autopilot Source Version: 1.5.0
INFO:root:Autopilot Source Version: 1.5.0
INFO:root:Autopilot Source Version: 1.5.0
INFO:root:Autopilot Source Version: 1.5.0
INFO:root:Autopilot Source Version: 1.5.0
INFO:root:Autopilot Source Version: 1.5.0
INFO:root:Autopilot Source Version: 1.5.0
INFO:root:Autopilot Source Version: 1.5.0
INFO:root:Autopilot Source Version: 1.5.0
INFO:root:Autopilot Source Version: 1.5.0
WARNING:autopil...
| Max Brustkern (nuclearbob) wrote : | # |
The same problems (sphinx and test failures) appear when building lp:autopilot/1.5 under xenial. I think this is an issue with the transition to python3.5
| Max Brustkern (nuclearbob) wrote : | # |
Changing debian/rules to force python3.4 for the testing portion allows that to work, but I can't get sphinx to finish building yet.
- 573. By Christopher Lee on 2015-12-08
-
Fix build issues on Xenial. Incl. simplifying DateTime. Fixes: https:/
/bugs.launchpad .net/bugs/ 1524000. Approved by Max Brustkern, PS Jenkins bot.
- 574. By Christopher Lee on 2015-12-09
-
Fix missing dep packaging.
Approved by PS Jenkins bot.
| Martin Pitt (pitti) wrote : | # |
(Trivial) packaging change ack, python3-tz is in main and no other changes in the packaging. Thanks!

PASSED: Continuous integration, rev:572 jenkins. qa.ubuntu. com/job/ autopilot- 1.5-ci/ 42/ jenkins. qa.ubuntu. com/job/ autopilot- 1.5-wily- amd64-ci/ 16 jenkins. qa.ubuntu. com/job/ autopilot- 1.5-wily- amd64-ci/ 16/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ autopilot- 1.5-wily- armhf-ci/ 16 jenkins. qa.ubuntu. com/job/ autopilot- 1.5-wily- armhf-ci/ 16/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ autopilot- 1.5-wily- i386-ci/ 16 jenkins. qa.ubuntu. com/job/ autopilot- 1.5-wily- i386-ci/ 16/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- wily-touch/ 977 jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- runner- wily-touch/ 544 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- wily-armhf/ 977 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- wily-armhf/ 977/artifact/ work/output/ *zip*/output. zip s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 25693
http://
Executed test runs:
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
UNSTABLE: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/autopilot- 1.5-ci/ 42/rebuild
http://