- schroot's snapshots should use dmsetup directly, not lvm ?
at least there should be non-persistent snapshots
-
-- schroot snapshots share /tmp and /home which is a bit strange
- need to make 'revert' property more granular
that tests which need it have to declare.
* Incompatible virtualisation server spec changes:
- print-execute-command replaced by print-{auxverb,shscript}-command.
+ - "revert" capability split into "revert" and "revert-full-system"
* New adt-virt-schroot for driving schroot.
* Remove dependency on python in testbed.
* Spec wording improvements, clarifications, editorial changes, etc.
Currently defined capabilities:
+ + revert
+ The "revert" command is supported. The base semantics
+ are that the following aspects of the testbed are reverted:
+ - the set of installed packages
+ - the contents of the root filesystem, BUT
+ - NOT the contents of /home
+ - NOT the contents of /tmp
+ - NOT the set of running processes
+
+ + revert-full-system
+ The "revert" and "close" commands will completely revert the
+ testbed to the state after "open". This reversion is done
+ with some kind of virtualisation, and includes (without
+ limitation) the contents of all the testbed filesystems, its
+ running processes, network configuration, etc. etc. etc.
+
+ revert
The testbed will actually revert when it is closed. If this
feature is not mentioned then changes to the testbed are
class Restriction_build_neeeded(Restriction): pass
class Restriction_breaks_testbed(Restriction):
def __init__(r, rname, base):
- if 'revert' not in testbed.caps:
+ if 'revert-full-system' not in testbed.caps:
raise Unsupported(f.lno,
- 'Test breaks testbed but testbed cannot revert')
+ 'Test breaks testbed but testbed does not advertise revert-full-system')
class Restriction_needs_root(Restriction):
def __init__(r, rname, base):
if 'root-on-testbed' not in testbed.caps: