Created by Paride Legovini and last modified
Get this branch:
bzr branch lp:~paride/auto-upgrade-testing/ramsettings
Only Paride Legovini can upload to this branch. If you are Paride Legovini please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Paride Legovini
Auto Upgrade Testing

Recent revisions

95. By Paride Legovini

Fix flake8 indentation error

94. By Paride Legovini

qemu backend: honor DEFAULT_CPU and DEFAULT_RAM

When using qemu the upgrade test can work in two modes: by calling adt-run
(autopkgtest) with the qemu backend, or in "keep-overlay" mode, where a qemu
VM is started by the test harness and adt-run is made use it via its SSH
backend. The DEFAULT_CPU and DEFAULT_RAM settings were used only in
keep-overlay mode, and ignored when using the qemu backend directly.

This commit passes DEFAULT_CPU and DEFAULT_RAM to the qemu backend, using the
flags specified in autopkgtest-virt-qemu(1).

The DEFAULT_RAM setting has been changed from '2G' to '2048', as '2G' is not
understood by autopkgtest-virt-qemu, while both autopkgtest-virt-qemu and
qemu understand the ram size as a plain number, and assume it's in megabytes.

This issue has been discovered as the Ubuntu Deskop upgrade from Disco to
Eoan takes more than 1GB of ram (qemu's default).

93. By Brian Murray

debian/tests/upgrade: the switches -p and -d for do-release-upgrade are mutually exclusive so only use -d 2nd try

92. By Brian Murray

debian/tests/upgrade: the switches -p and -d for do-release-upgrade are mutually exclusive so only use -d

91. By Brian Murray

disable flake8 for the _touch.py backend since I'm not certain its even used anymore

90. By Brian Murray

debian/tests/upgrade: use the dist-upgrader from -proposed since that has fixes that affect upgrading e.g. LP: #1796193

89. By Heber Parrucci

Adding keep-overlay option to persist the resulting image file in order to be able to run system tests after the upgrade is done.

Approved by Jean-Baptiste Lallement, platform-qa-bot.

88. By Jean-Baptiste Lallement

The behaviour of the -d flag changed, upgrade to a supported release first then try the development release

87. By Jean-Baptiste Lallement

moved storage from /tmp (which gets clear on reboot) to /var/tmp/

86. By Jean-Baptiste Lallement

Reverted to adt-run, renaming involves more changes

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.