1 QA output created by 206
3 === Successful image creation (defaults) ===
12 {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false}}
14 image: TEST_DIR/t.IMGFMT
16 virtual size: 128M (134217728 bytes)
18 Format specific information:
24 === Successful image creation (inline blockdev-add, explicit defaults) ===
32 {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false}}
34 image: TEST_DIR/t.IMGFMT
36 virtual size: 64M (67108864 bytes)
38 Format specific information:
44 === Successful image creation (v3 non-default options) ===
52 {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false}}
54 image: TEST_DIR/t.IMGFMT
56 virtual size: 32M (33554432 bytes)
58 Format specific information:
64 === Successful image creation (v2 non-default options) ===
72 {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false}}
74 image: TEST_DIR/t.IMGFMT
76 virtual size: 32M (33554432 bytes)
78 backing file: TEST_DIR/t.IMGFMT.base
79 backing file format: IMGFMT
80 Format specific information:
84 === Successful image creation (encrypted) ===
86 Testing: -object secret,id=keysec0,data=foo
91 {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false}}
93 image: TEST_DIR/t.IMGFMT
95 virtual size: 32M (33554432 bytes)
96 Format specific information:
103 cipher alg: twofish-128
104 uuid: 00000000-0000-0000-0000-000000000000
134 payload offset: 528384
135 master key iters: 1024
138 === Invalid BlockdevRef ===
143 {"error": {"class": "GenericError", "desc": "Cannot find device=this doesn't exist nor node_name=this doesn't exist"}}
145 {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false}}
148 === Invalid sizes ===
150 Testing: -blockdev driver=file,filename=TEST_DIR/t.IMGFMT,node-name=node0
153 {"error": {"class": "GenericError", "desc": "Image size must be a multiple of 512 bytes"}}
154 {"error": {"class": "GenericError", "desc": "Could not resize image: Image size cannot be negative"}}
155 {"error": {"class": "GenericError", "desc": "Could not resize image: Image size cannot be negative"}}
156 {"error": {"class": "GenericError", "desc": "Could not resize image: Failed to grow the L1 table: File too large"}}
158 {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false}}
161 === Invalid version ===
163 Testing: -blockdev driver=file,filename=TEST_DIR/t.IMGFMT,node-name=node0
166 {"error": {"class": "GenericError", "desc": "Invalid parameter 'v1'"}}
167 {"error": {"class": "GenericError", "desc": "Lazy refcounts only supported with compatibility level 1.1 and above (use version=v3 or greater)"}}
168 {"error": {"class": "GenericError", "desc": "Different refcount widths than 16 bits require compatibility level 1.1 or above (use version=v3 or greater)"}}
170 {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false}}
173 === Invalid backing file options ===
175 Testing: -blockdev driver=file,filename=TEST_DIR/t.IMGFMT,node-name=node0
178 {"error": {"class": "GenericError", "desc": "Backing file and preallocation cannot be used at the same time"}}
179 {"error": {"class": "GenericError", "desc": "Backing format cannot be used without backing file"}}
181 {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false}}
184 === Invalid cluster size ===
186 Testing: -blockdev driver=file,filename=TEST_DIR/t.IMGFMT,node-name=node0
189 {"error": {"class": "GenericError", "desc": "Cluster size must be a power of two between 512 and 2048k"}}
190 {"error": {"class": "GenericError", "desc": "Cluster size must be a power of two between 512 and 2048k"}}
191 {"error": {"class": "GenericError", "desc": "Cluster size must be a power of two between 512 and 2048k"}}
192 {"error": {"class": "GenericError", "desc": "Cluster size must be a power of two between 512 and 2048k"}}
193 {"error": {"class": "GenericError", "desc": "Could not resize image: Failed to grow the L1 table: File too large"}}
195 {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false}}
198 === Invalid refcount width ===
200 Testing: -blockdev driver=file,filename=TEST_DIR/t.IMGFMT,node-name=node0
203 {"error": {"class": "GenericError", "desc": "Refcount width must be a power of two and may not exceed 64 bits"}}
204 {"error": {"class": "GenericError", "desc": "Refcount width must be a power of two and may not exceed 64 bits"}}
205 {"error": {"class": "GenericError", "desc": "Refcount width must be a power of two and may not exceed 64 bits"}}
207 {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false}}