Merge lp:~canonical-platform-qa/ubuntu-system-tests/snap-channel-support into lp:ubuntu-system-tests
Status: | Merged |
---|---|
Approved by: | Santiago Baldassin |
Approved revision: | 524 |
Merged at revision: | 521 |
Proposed branch: | lp:~canonical-platform-qa/ubuntu-system-tests/snap-channel-support |
Merge into: | lp:ubuntu-system-tests |
Diff against target: |
398 lines (+213/-22) 6 files modified
ubuntu_system_tests/helpers/terminal/app.py (+36/-4) ubuntu_system_tests/host/commands.py (+55/-9) ubuntu_system_tests/host/target_setup.py (+44/-2) ubuntu_system_tests/host/targets.py (+11/-0) ubuntu_system_tests/selftests/test_commands.py (+60/-4) ubuntu_system_tests/tests/test_launch_apps.py (+7/-3) |
To merge this branch: | bzr merge lp:~canonical-platform-qa/ubuntu-system-tests/snap-channel-support |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Santiago Baldassin (community) | Approve | ||
platform-qa-bot | continuous-integration | Approve | |
Review via email: mp+320393@code.launchpad.net |
Commit message
Add support for installing snaps from beta and edge channels.
Description of the change
Changes include:
- Check the beta channel first and use this version, or use edge channel if beta is not found.
- Update target_setup.py to do this during snap install
- Update Target class to do this during test using --upgrade option
- Get the core series and architecture from target rather than using parameters
- Update command helpers to check for snap channel revisions when creating --setup-commands for upgrade
- Update the Terminal app classes to work with both deb and snap versions as snap version would be required when testing on snap based image.
- Update self tests and add new ones for checking snap channel
This should be landed in parallel with: https:/
PASSED: Continuous integration, rev:523 /platform- qa-jenkins. ubuntu. com/job/ ubuntu- system- tests-ci/ 1189/ /platform- qa-jenkins. ubuntu. com/job/ generic- update- mp/2167/ console
https:/
Executed test runs:
None: https:/
Click here to trigger a rebuild: /platform- qa-jenkins. ubuntu. com/job/ ubuntu- system- tests-ci/ 1189/rebuild
https:/