Merge lp://staging/~canonical-platform-qa/ubuntu-ota-tests/upgrade into lp://staging/ubuntu-ota-tests

Proposed by Leo Arias
Status: Superseded
Proposed branch: lp://staging/~canonical-platform-qa/ubuntu-ota-tests/upgrade
Merge into: lp://staging/ubuntu-ota-tests
Diff against target: 458 lines (+416/-0)
8 files modified
adb-reboot-to-recovery (+335/-0)
debian/changelog (+5/-0)
debian/compat (+1/-0)
debian/control (+15/-0)
debian/copyright (+21/-0)
debian/docs (+1/-0)
debian/tests/control (+3/-0)
debian/tests/ota_basic (+35/-0)
To merge this branch: bzr merge lp://staging/~canonical-platform-qa/ubuntu-ota-tests/upgrade
Reviewer Review Type Date Requested Status
Canonical Platform QA Team Pending
Review via email: mp+251643@code.staging.launchpad.net

This proposal has been superseded by a proposal from 2015-03-03.

Description of the change

Flash with:
ubuntu-device-flash --revision=-1 touch --developer-mode --password 0000 --channel="ubuntu-touch/devel-proposed" --wipe

The adb-reboot-to-recovery script is copied from /usr/share/autopkgtest/ssh-setup/adb, which only one line changed:

261 + adb $ADBOPTS reboot recovery

To post a comment you must log in.
Revision history for this message
Leo Arias (elopio) wrote :

To give it a try, use something like:

elopio@tangamandapio76-desktop:~/workspace/canonical/ubuntu-ota-tests/experimeal/upgrade$ phablet-network
elopio@tangamandapio76-desktop:~/workspace/canonical/ubuntu-ota-tests/experimental/upgrade$ adt-run -d -B --unbuilt-tree=/home/elopio/workspace/canonical/ubuntu-ota-tests/experimental/upgrade --output-dir /tmp/output --- ssh -s /home/elopio/workspace/canonical/ubuntu-ota-tests/experimental/upgrade/adb-reboot-to-recovery

Revision history for this message
Leo Arias (elopio) wrote :

After the reboot, I got:
adt-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds...

If I phablet-shell in a different terminal, the test continues.
So we are missing a way to reset the ssh connection.

5. By Leo Arias

Do the reboot only if the download workded.

6. By Leo Arias

Added a dbus call to enable ssh.

7. By Leo Arias

Merged with trunk.

8. By Leo Arias

Change cli to dbus.

9. By Leo Arias

Quickly fixed the apply script.

10. By Leo Arias

Merged with prerequisite.

11. By Leo Arias

Merged with prerequisite. Changed the script to python.

12. By Leo Arias

Reduced the try.

13. By Leo Arias

fixtures not needed yet.

14. By Leo Arias

Merged with prerequisite.

15. By Leo Arias

Move the test to the ota module.

16. By Leo Arias

Merged with parent.

17. By Leo Arias

Use the command.

18. By Leo Arias

Added the missing file.

19. By Leo Arias

Fixed the import order.

20. By Leo Arias

Fixed the reboot call.

21. By Leo Arias

Use cli and the current version for now.

22. By Leo Arias

Removed the dbus upgrade, not yet working.

23. By Leo Arias

Downgrade to the released version.

24. By Leo Arias

Removed the rebooting.

25. By Leo Arias

Cleaned the code.

26. By Leo Arias

Merged with trunk.

Unmerged revisions

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

to all changes: