lp:~matsubara/curtin/jenkins
- Get this branch:
- bzr branch lp:~matsubara/curtin/jenkins
Branch merges
- Scott Moser (community): Approve
- Ryan Harper (community): Approve
-
Diff: 422 lines (+86/-62)3 files modifiedtests/vmtests/__init__.py (+57/-33)
tests/vmtests/test_bonding.py (+15/-15)
tests/vmtests/test_network.py (+14/-14)
Branch information
Recent revisions
- 301. By Scott Moser
-
change arguments to a class method to be 'cls' rather than 'self'.
passing 'self' to a class method is just confusing.
If you're looking at code out of context, or not paying attention
to the decorator, you very well expect for 'self.method()' to work.This just changes all that from 'self' to 'cls' so its more obvious.
- 300. By Scott Moser
-
fix stacktrace and output on bad argument to mkfs
Running 'mkfs asdf' would stack trace.
Then, after fixing that fix the error message which was poorly quoted. - 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.
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