lp:~raharper/curtin/silence_teardown_logger

Created by Ryan Harper and last modified
Get this branch:
bzr branch lp:~raharper/curtin/silence_teardown_logger
Only Ryan Harper can upload to this branch. If you are Ryan Harper please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Ryan Harper
Project:
curtin
Status:
Merged

Recent revisions

299. By Ryan Harper

silence logger error on __del__ call

PYTHON3 unsets globals on __del__ calls which breaks are call
to logger. Call logger prior to entering __del__ on TempDir class.

298. By Scott Moser

vmtest: install from url rather than 'cp:///'

Installing 'cp:///' as we were booting was always bad.
the / included logs or other information from the booted system.
some paths we could take:
 a.) install from a url
 b.) attach another disk, mount it, and cp:///path/to/clean/mount
 c.) boot with overlayroot and install cp:///media/mount-ro/

This patch implements 'a'. It has a nice side affect
that logs get progress from wget printed to them.

297. By Scott Moser

make pep8 (./tools/run-pep8) happy on wily.

pep8 at 1.6.2-0.1 doesnt like the '+' on a new line.

296. By Scott Moser

fix sync-images if sstream-mirror does not take --progress

this fixes an UnbondLocalError when --progress did not appear in
sstream-mirror --help.

295. By Scott Moser

Partition alignment and sizing fixes:

- end sector calculation so that partition size matches what was requested
- proper size of extended partition size calculation to be able to hold as
  much as it was specified in the yaml
- proper logical partition start calculation and realignment
- prepare curtin for the appearance of 4K logical sector size disk.
- by that implicitly fixing our alignment issues as long as sizes are
  aligned which they usually are as e.g. MAAS exposes only 1MB units
- extends one of the existing tests to cover 2G+3G logical in 5G extended

294. By Scott Moser

call rmtree in the baseclass tearDownClass classmethod.

After running many tests, make vmtest was not cleaning up.
The result was fillup of local disk space.

293. By Scott Moser

Decouple image download from serving images to tests

This branch decouples ImageStore action of updating the cache of images and
providing the images to tests. This is useful for debugging without updating
the images as they might introduce changes that cause other failures, masking
the original failure and making debugging harder. Also useful for working
offline.

292. By Ryan Harper

Set bcache cache_mode if present in storage config

Apply the cache_mode value to created bcache device
Introduce a vmtest to validate the setting.

291. By Scott Moser

extract: specify 'z' to tar extract again

This reverts revno 282:
  extract: do not specify 'z' to tar extract

  tar will automatically do the right thing for compression
  it knows about. Removing the 'z' here makes us able to install
  a .tar.xz file too.

290. By Scott Moser

A collection of fixes and extensions to vmtests

- rework configuration and checks of the complex vmtest "allindata"
- added new regex based file content verification
- added testcase class variable "extra_kern_args" to be able to
  influence the kernel parameters of the installed system
- fix the handling of KEEP_VMTEST_DATA
- fix an issue with -curses on the backlevel qemu in trusty
  by passing '-vga std' to avoid getting cirrus card and framebuffer.
- enhancing README-vmtest.txt with my lessons learned
- provide an option to set the name parameter at mdadm create
- check for vnc port collisions and automatically assign alternatives

Branch metadata

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

Subscribers