1 QA output created by 210
3 === Successful image creation (defaults) ===
5 Testing: -object secret,id=keysec0,data=foo
12 {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false}}
14 image: json:{"driver": "IMGFMT", "file": {"driver": "file", "filename": "TEST_DIR/t.IMGFMT"}, "key-secret": "keysec0"}
16 virtual size: 128M (134217728 bytes)
17 Format specific information:
21 uuid: 00000000-0000-0000-0000-000000000000
50 payload offset: 2068480
51 master key iters: 1024
53 === Successful image creation (with non-default options) ===
55 Testing: -object secret,id=keysec0,data=foo
61 {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false}}
63 image: json:{"driver": "IMGFMT", "file": {"driver": "file", "filename": "TEST_DIR/t.IMGFMT"}, "key-secret": "keysec0"}
65 virtual size: 64M (67108864 bytes)
66 Format specific information:
69 cipher alg: twofish-128
70 uuid: 00000000-0000-0000-0000-000000000000
99 payload offset: 528384
100 master key iters: 1024
102 === Invalid BlockdevRef ===
107 {"error": {"class": "GenericError", "desc": "Cannot find device=this doesn't exist nor node_name=this doesn't exist"}}
109 {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false}}
114 Testing: -blockdev driver=file,filename=TEST_DIR/t.IMGFMT,node-name=node0 -object secret,id=keysec0,data=foo
119 {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false}}
121 image: json:{"driver": "IMGFMT", "file": {"driver": "file", "filename": "TEST_DIR/t.IMGFMT"}, "key-secret": "keysec0"}
123 virtual size: 0 (0 bytes)
125 === Invalid sizes ===
127 Testing: -blockdev driver=file,filename=TEST_DIR/t.IMGFMT,node-name=node0 -object secret,id=keysec0,data=foo
130 {"error": {"class": "GenericError", "desc": "The requested file size is too large"}}
131 {"error": {"class": "GenericError", "desc": "The requested file size is too large"}}
132 {"error": {"class": "GenericError", "desc": "The requested file size is too large"}}
134 {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false}}