]>
Commit | Line | Data |
---|---|---|
4089f7c6 JC |
1 | QA output created by 085 |
2 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 | |
3 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 | |
4 | ||
5 | === Running QEMU === | |
6 | ||
7 | ||
8 | === Sending capabilities === | |
9 | ||
10 | {"return": {}} | |
11 | ||
12 | === Create a single snapshot on virtio0 === | |
13 | ||
0cb8d47b | 14 | Formatting 'TEST_DIR/1-snapshot-v0.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/t.qcow2.1 backing_fmt=qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16 |
4089f7c6 JC |
15 | {"return": {}} |
16 | ||
17 | === Invalid command - missing device and nodename === | |
18 | ||
19 | {"error": {"class": "GenericError", "desc": "Cannot find device= nor node_name="}} | |
20 | ||
21 | === Invalid command - missing snapshot-file === | |
22 | ||
23 | {"error": {"class": "GenericError", "desc": "Parameter 'snapshot-file' is missing"}} | |
24 | ||
25 | ||
26 | === Create several transactional group snapshots === | |
27 | ||
0cb8d47b DB |
28 | Formatting 'TEST_DIR/2-snapshot-v0.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/1-snapshot-v0.qcow2 backing_fmt=qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16 |
29 | Formatting 'TEST_DIR/2-snapshot-v1.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/t.qcow2.2 backing_fmt=qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16 | |
4089f7c6 | 30 | {"return": {}} |
0cb8d47b DB |
31 | Formatting 'TEST_DIR/3-snapshot-v0.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/2-snapshot-v0.qcow2 backing_fmt=qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16 |
32 | Formatting 'TEST_DIR/3-snapshot-v1.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/2-snapshot-v1.qcow2 backing_fmt=qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16 | |
4089f7c6 | 33 | {"return": {}} |
0cb8d47b DB |
34 | Formatting 'TEST_DIR/4-snapshot-v0.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/3-snapshot-v0.qcow2 backing_fmt=qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16 |
35 | Formatting 'TEST_DIR/4-snapshot-v1.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/3-snapshot-v1.qcow2 backing_fmt=qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16 | |
4089f7c6 | 36 | {"return": {}} |
0cb8d47b DB |
37 | Formatting 'TEST_DIR/5-snapshot-v0.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/4-snapshot-v0.qcow2 backing_fmt=qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16 |
38 | Formatting 'TEST_DIR/5-snapshot-v1.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/4-snapshot-v1.qcow2 backing_fmt=qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16 | |
4089f7c6 | 39 | {"return": {}} |
0cb8d47b DB |
40 | Formatting 'TEST_DIR/6-snapshot-v0.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/5-snapshot-v0.qcow2 backing_fmt=qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16 |
41 | Formatting 'TEST_DIR/6-snapshot-v1.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/5-snapshot-v1.qcow2 backing_fmt=qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16 | |
4089f7c6 | 42 | {"return": {}} |
0cb8d47b DB |
43 | Formatting 'TEST_DIR/7-snapshot-v0.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/6-snapshot-v0.qcow2 backing_fmt=qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16 |
44 | Formatting 'TEST_DIR/7-snapshot-v1.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/6-snapshot-v1.qcow2 backing_fmt=qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16 | |
4089f7c6 | 45 | {"return": {}} |
0cb8d47b DB |
46 | Formatting 'TEST_DIR/8-snapshot-v0.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/7-snapshot-v0.qcow2 backing_fmt=qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16 |
47 | Formatting 'TEST_DIR/8-snapshot-v1.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/7-snapshot-v1.qcow2 backing_fmt=qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16 | |
4089f7c6 | 48 | {"return": {}} |
0cb8d47b DB |
49 | Formatting 'TEST_DIR/9-snapshot-v0.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/8-snapshot-v0.qcow2 backing_fmt=qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16 |
50 | Formatting 'TEST_DIR/9-snapshot-v1.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/8-snapshot-v1.qcow2 backing_fmt=qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16 | |
4089f7c6 | 51 | {"return": {}} |
0cb8d47b DB |
52 | Formatting 'TEST_DIR/10-snapshot-v0.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/9-snapshot-v0.qcow2 backing_fmt=qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16 |
53 | Formatting 'TEST_DIR/10-snapshot-v1.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/9-snapshot-v1.qcow2 backing_fmt=qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16 | |
4089f7c6 | 54 | {"return": {}} |
89e3a2d8 AG |
55 | |
56 | === Create a couple of snapshots using blockdev-snapshot === | |
57 | ||
58 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 backing_file=TEST_DIR/10-snapshot-v0.IMGFMT | |
59 | {"return": {}} | |
60 | {"return": {}} | |
61 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 backing_file=TEST_DIR/11-snapshot-v0.IMGFMT | |
62 | {"return": {}} | |
63 | {"return": {}} | |
64 | ||
3fa123d0 AG |
65 | === Invalid command - cannot create a snapshot using a file BDS === |
66 | ||
67 | {"error": {"class": "GenericError", "desc": "The snapshot does not support backing images"}} | |
68 | ||
89e3a2d8 AG |
69 | === Invalid command - snapshot node used as active layer === |
70 | ||
e467da7b KW |
71 | {"error": {"class": "GenericError", "desc": "The snapshot is already in use"}} |
72 | {"error": {"class": "GenericError", "desc": "The snapshot is already in use"}} | |
73 | {"error": {"class": "GenericError", "desc": "The snapshot is already in use"}} | |
89e3a2d8 AG |
74 | |
75 | === Invalid command - snapshot node used as backing hd === | |
76 | ||
b2c2832c | 77 | {"error": {"class": "GenericError", "desc": "Node 'snap_11' is busy: node is used as backing hd of 'snap_12'"}} |
89e3a2d8 AG |
78 | |
79 | === Invalid command - snapshot node has a backing image === | |
80 | ||
ecffa634 FZ |
81 | Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=134217728 |
82 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 backing_file=TEST_DIR/t.IMGFMT.base | |
89e3a2d8 AG |
83 | {"return": {}} |
84 | {"error": {"class": "GenericError", "desc": "The snapshot already has a backing image"}} | |
85 | ||
86 | === Invalid command - The node does not exist === | |
87 | ||
88 | {"error": {"class": "GenericError", "desc": "Cannot find device=snap_14 nor node_name=snap_14"}} | |
89 | {"error": {"class": "GenericError", "desc": "Cannot find device=nodevice nor node_name=nodevice"}} | |
4089f7c6 | 90 | *** done |