Merge lp://qastaging/~canonical-platform-qa/ubuntu-ota-tests/apply-dbus-upgrade into lp://qastaging/ubuntu-ota-tests
Proposed by
Federico Gimenez
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Brendan Donegan | ||||
Approved revision: | 77 | ||||
Merged at revision: | 17 | ||||
Proposed branch: | lp://qastaging/~canonical-platform-qa/ubuntu-ota-tests/apply-dbus-upgrade | ||||
Merge into: | lp://qastaging/ubuntu-ota-tests | ||||
Prerequisite: | lp://qastaging/~canonical-platform-qa/ubuntu-ota-tests/dbus-upgrade | ||||
Diff against target: |
150 lines (+47/-24) 6 files modified
README.rst (+1/-1) adb-reboot-to-recovery (+8/-1) debian/tests/control (+9/-4) debian/tests/ota-dbus-upgrade (+0/-12) ubuntu_ota_tests/command_line.py (+27/-2) ubuntu_ota_tests/tests/test_basic_upgrade.py (+2/-4) |
||||
To merge this branch: | bzr merge lp://qastaging/~canonical-platform-qa/ubuntu-ota-tests/apply-dbus-upgrade | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Brendan Donegan (community) | Approve | ||
PS Jenkins bot | continuous-integration | Approve | |
Christopher Lee (community) | Approve | ||
Barry Warsaw (community) | Approve | ||
Review via email: mp+254214@code.qastaging.launchpad.net |
Commit message
Fix apply upgrade
Description of the change
After downloading the upgrade and rebooting into recovery the upgrade is not being applied
To post a comment you must log in.
Changing the command to execute the test to
$ adt-run -B --unbuilt-tree=. --setup-commands 'mount -o remount,rw /' --setup-commands 'apt-add-repository -y ppa:barry/ systemimage' --setup-commands 'apt-get --no-list-cleanup update -o Dir::Etc: :SourceList= /dev/null' --setup-commands 'apt-get install -y -q system-image-cli system-image-common system-image-dbus' --setup-commands 'if [ ! -d "/etc/system- image/config. d" ]; then mkdir -p /etc/system- image/config. d && cd /etc/system-image && ln -sf ../client.ini config. d/00_default. ini && ln -sf ../channel.ini config. d/01_channel. ini; fi' --setup-commands 'sync; sleep 2; mount -o remount,ro /' --output /tmp/ota --- ssh -s ./adb-reboot- to-recovery
fixes the issue and the upgrade is applied correctly. More info in the bug [1]
[1] https:/ /bugs.launchpad .net/ubuntu- ota-tests/ +bug/1436753