Merge lp:~canonical-platform-qa/ubuntu-ota-tests/upgrade into lp:ubuntu-ota-tests
| Status: | Merged |
|---|---|
| Approved by: | Leo Arias on 2015-03-12 |
| Approved revision: | 26 |
| Merged at revision: | 6 |
| Proposed branch: | lp:~canonical-platform-qa/ubuntu-ota-tests/upgrade |
| Merge into: | lp:ubuntu-ota-tests |
| Prerequisite: | lp:~canonical-platform-qa/ubuntu-ota-tests/check-for-running-service |
| Diff against target: |
555 lines (+503/-0) 7 files modified
adb-reboot-to-recovery (+337/-0) debian/tests/control (+6/-0) debian/tests/ubuntu_ota_tests/__init__.py (+4/-0) debian/tests/ubuntu_ota_tests/hooks.py (+60/-0) debian/tests/ubuntu_ota_tests/tests/test_basic_upgrade.py (+34/-0) debian/tests/ubuntu_ota_tests/tests/test_basic_upgrade.py.THIS (+34/-0) debian/tests/ubuntu_ota_tests/upgrade.py (+28/-0) |
| To merge this branch: | bzr merge lp:~canonical-platform-qa/ubuntu-ota-tests/upgrade |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| PS Jenkins bot | continuous-integration | Approve on 2015-03-12 | |
| Christopher Lee (community) | Approve on 2015-03-12 | ||
| Federico Gimenez (community) | Approve on 2015-03-12 | ||
| Brendan Donegan | 2015-03-09 | Pending | |
|
Review via email:
|
|||
Commit Message
Added an initial upgrade test.
Description of the Change
Flash with:
ubuntu-device-flash --revision=-1 touch --developer-mode --password 0000 --channel=
Run with:
adt-run -d -B --unbuilt-tree=. --output-dir /tmp/output --- ssh -s ./adb-reboot-
The adb-reboot-
| Leo Arias (elopio) wrote : | # |
| Christopher Lee (veebers) wrote : | # |
Just a couple of comments re: docs and logging. The code looks really good.
A note that we really need to get adb-reboot-
I attempted to run the code but experienced what looked like a timeout error (Potentially due to the internet connection issues I currently have, will try again later tonight.)
If other people can successfully run this code then I would say this would be an approve (if the mentioned documentation is added) as we can iterate on the failure issue.
| Christopher Lee (veebers) wrote : | # |
Running it again with decent internet passes. I say we tackle this in a different branch (if we tackle it at all).
| Leo Arias (elopio) wrote : | # |
Thanks for the reviews. I added the comments and logging.
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Autolanding.
No commit message was specified in the merge proposal. Hit 'Add commit message' on the merge proposal web page or follow the link below. You can approve the merge proposal yourself to rerun.
https:/

I've been playing with this branch for a long time, so I think now it's good to give it a review. I think it achieves the purpose of investigating adb-reboot, and it actually has a test to proof it.
I couldn't get the dbus upgrade to work, and to finish that I need some of the other branches. So for now I removed the dbus code and left a cli upgrade. I will move the dbus code I had to the other reboot or upgrade card.
This works with the currently released version of system-image-cli. It doesn't work with the one from barry's PPA. But we have to use the new version with the dbus upgrade, so it will be done on one of those cards too.