Created by Serge Hallyn on 2014-02-20 and last modified on 2014-03-05
Get this branch:
bzr branch lp:~serge-hallyn/auto-upgrade-testing/uvtool
Only Serge Hallyn can upload to this branch. If you are Serge Hallyn please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Serge Hallyn
Auto Upgrade Testing

Recent revisions

103. By Serge Hallyn on 2014-03-05

fix typo pointed out by jibel - remove quotes from "self.name"

102. By Serge Hallyn on 2014-03-05

use profilename as vm name

101. By Serge Hallyn on 2014-02-20

implement snapshotting

100. By Serge Hallyn on 2014-02-20

remove 30 second sleep, and always wait 5 seconds before uvt-kvm wait.

99. By Serge Hallyn on 2014-02-20

updates (addressing rharper's feedback):

1. use --disk option to uvt-kvm create to set disk size
2. remove debug statements
3. add --unsafe-caching to arguments
4. comment that the snapshot functions are not implemented.
   I don't know whether they are used or not - if not they
   should indeed be dropped, else they should be implemented
   using virsh.
5. replace the 'while True: self._runInImage(["/bin/true']) loop
   with uvt-kvm wait
6. remove remaining 'sudo's in commands (leftover from earlier

98. By Serge Hallyn on 2014-02-20

Switch from using vm-builder and manual qemu command-lines to using
the libvirt and ubuntu-cloud-image based uvtool. (LP: #1261416)

With this patch I was able to do a full run of
./bin/auto-upgrade-tester share/profiles/server . It ended with:

FAIL: test_dpkgdist (__main__.TestConfFiles)
Check for existence of *.dpkg-dist files
Traceback (most recent call last):
File "/tmp/test_conffiles.py", line 76, in test_dpkgdist
self.assertEqual(dpkgdist_files, [])
AssertionError: Lists differ: ['/etc/default/rcS.dpkg-dist'] != []

First list contains 1 additional elements.
First extra element 0:

- ['/etc/default/rcS.dpkg-dist']
+ []

which could have been a legitimate test result, or, (just as likely)
the result of something I did not convert correctly.

97. By Martin Pitt on 2014-02-14

make /etc/apt/apt.conf readable for non-root

96. By Martin Pitt on 2014-02-14

Add test for cleaned up diversion of /usr/bin/xrandr.orig

95. By Martin Pitt on 2014-02-14

test_conffiles.py: Ignore /etc/default/bind9.dpkg-dist, it is not a conffile and handled by custom postinst code

94. By Martin Pitt on 2014-02-14

Rework test_conffiles.py

Don't copy dpkg-dist files to /tmp any more, this loses their path information
and identifies files with same name but different paths. Instead, show their
original paths plus the diff between the dist and current file.

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.