14089f7c6SJeff CodyQA output created by 085 24089f7c6SJeff CodyFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 34089f7c6SJeff CodyFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 44089f7c6SJeff Cody 54089f7c6SJeff Cody=== Running QEMU === 64089f7c6SJeff Cody 74089f7c6SJeff Cody 84089f7c6SJeff Cody=== Sending capabilities === 94089f7c6SJeff Cody 104089f7c6SJeff Cody{"return": {}} 114089f7c6SJeff Cody 124089f7c6SJeff Cody=== Create a single snapshot on virtio0 === 134089f7c6SJeff Cody 1489e3a2d8SAlberto GarciaFormatting 'TEST_DIR/1-snapshot-v0.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/t.qcow2.1 backing_fmt=qcow2 encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16 154089f7c6SJeff Cody{"return": {}} 164089f7c6SJeff Cody 174089f7c6SJeff Cody=== Invalid command - missing device and nodename === 184089f7c6SJeff Cody 194089f7c6SJeff Cody{"error": {"class": "GenericError", "desc": "Cannot find device= nor node_name="}} 204089f7c6SJeff Cody 214089f7c6SJeff Cody=== Invalid command - missing snapshot-file === 224089f7c6SJeff Cody 234089f7c6SJeff Cody{"error": {"class": "GenericError", "desc": "Parameter 'snapshot-file' is missing"}} 244089f7c6SJeff Cody 254089f7c6SJeff Cody 264089f7c6SJeff Cody=== Create several transactional group snapshots === 274089f7c6SJeff Cody 28fe646693SKővágó, ZoltánFormatting 'TEST_DIR/2-snapshot-v0.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/1-snapshot-v0.qcow2 backing_fmt=qcow2 encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16 2989e3a2d8SAlberto GarciaFormatting 'TEST_DIR/2-snapshot-v1.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/t.qcow2.2 backing_fmt=qcow2 encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16 304089f7c6SJeff Cody{"return": {}} 31fe646693SKővágó, ZoltánFormatting 'TEST_DIR/3-snapshot-v0.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/2-snapshot-v0.qcow2 backing_fmt=qcow2 encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16 32fe646693SKővágó, ZoltánFormatting 'TEST_DIR/3-snapshot-v1.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/2-snapshot-v1.qcow2 backing_fmt=qcow2 encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16 334089f7c6SJeff Cody{"return": {}} 34fe646693SKővágó, ZoltánFormatting 'TEST_DIR/4-snapshot-v0.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/3-snapshot-v0.qcow2 backing_fmt=qcow2 encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16 35fe646693SKővágó, ZoltánFormatting 'TEST_DIR/4-snapshot-v1.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/3-snapshot-v1.qcow2 backing_fmt=qcow2 encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16 364089f7c6SJeff Cody{"return": {}} 37fe646693SKővágó, ZoltánFormatting 'TEST_DIR/5-snapshot-v0.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/4-snapshot-v0.qcow2 backing_fmt=qcow2 encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16 38fe646693SKővágó, ZoltánFormatting 'TEST_DIR/5-snapshot-v1.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/4-snapshot-v1.qcow2 backing_fmt=qcow2 encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16 394089f7c6SJeff Cody{"return": {}} 40fe646693SKővágó, ZoltánFormatting 'TEST_DIR/6-snapshot-v0.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/5-snapshot-v0.qcow2 backing_fmt=qcow2 encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16 41fe646693SKővágó, ZoltánFormatting 'TEST_DIR/6-snapshot-v1.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/5-snapshot-v1.qcow2 backing_fmt=qcow2 encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16 424089f7c6SJeff Cody{"return": {}} 43fe646693SKővágó, ZoltánFormatting 'TEST_DIR/7-snapshot-v0.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/6-snapshot-v0.qcow2 backing_fmt=qcow2 encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16 44fe646693SKővágó, ZoltánFormatting 'TEST_DIR/7-snapshot-v1.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/6-snapshot-v1.qcow2 backing_fmt=qcow2 encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16 454089f7c6SJeff Cody{"return": {}} 46fe646693SKővágó, ZoltánFormatting 'TEST_DIR/8-snapshot-v0.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/7-snapshot-v0.qcow2 backing_fmt=qcow2 encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16 47fe646693SKővágó, ZoltánFormatting 'TEST_DIR/8-snapshot-v1.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/7-snapshot-v1.qcow2 backing_fmt=qcow2 encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16 484089f7c6SJeff Cody{"return": {}} 49fe646693SKővágó, ZoltánFormatting 'TEST_DIR/9-snapshot-v0.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/8-snapshot-v0.qcow2 backing_fmt=qcow2 encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16 50fe646693SKővágó, ZoltánFormatting 'TEST_DIR/9-snapshot-v1.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/8-snapshot-v1.qcow2 backing_fmt=qcow2 encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16 514089f7c6SJeff Cody{"return": {}} 52fe646693SKővágó, ZoltánFormatting 'TEST_DIR/10-snapshot-v0.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/9-snapshot-v0.qcow2 backing_fmt=qcow2 encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16 53fe646693SKővágó, ZoltánFormatting 'TEST_DIR/10-snapshot-v1.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/9-snapshot-v1.qcow2 backing_fmt=qcow2 encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16 544089f7c6SJeff Cody{"return": {}} 5589e3a2d8SAlberto Garcia 5689e3a2d8SAlberto Garcia=== Create a couple of snapshots using blockdev-snapshot === 5789e3a2d8SAlberto Garcia 5889e3a2d8SAlberto GarciaFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 backing_file=TEST_DIR/10-snapshot-v0.IMGFMT 5989e3a2d8SAlberto Garcia{"return": {}} 6089e3a2d8SAlberto Garcia{"return": {}} 6189e3a2d8SAlberto GarciaFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 backing_file=TEST_DIR/11-snapshot-v0.IMGFMT 6289e3a2d8SAlberto Garcia{"return": {}} 6389e3a2d8SAlberto Garcia{"return": {}} 6489e3a2d8SAlberto Garcia 653fa123d0SAlberto Garcia=== Invalid command - cannot create a snapshot using a file BDS === 663fa123d0SAlberto Garcia 673fa123d0SAlberto Garcia{"error": {"class": "GenericError", "desc": "The snapshot does not support backing images"}} 683fa123d0SAlberto Garcia 6989e3a2d8SAlberto Garcia=== Invalid command - snapshot node used as active layer === 7089e3a2d8SAlberto Garcia 71*e467da7bSKevin Wolf{"error": {"class": "GenericError", "desc": "The snapshot is already in use"}} 72*e467da7bSKevin Wolf{"error": {"class": "GenericError", "desc": "The snapshot is already in use"}} 73*e467da7bSKevin Wolf{"error": {"class": "GenericError", "desc": "The snapshot is already in use"}} 7489e3a2d8SAlberto Garcia 7589e3a2d8SAlberto Garcia=== Invalid command - snapshot node used as backing hd === 7689e3a2d8SAlberto Garcia 7789e3a2d8SAlberto Garcia{"error": {"class": "GenericError", "desc": "Node 'snap_11' is busy: node is used as backing hd of 'virtio0'"}} 7889e3a2d8SAlberto Garcia 7989e3a2d8SAlberto Garcia=== Invalid command - snapshot node has a backing image === 8089e3a2d8SAlberto Garcia 8189e3a2d8SAlberto GarciaFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 backing_file=TEST_DIR/12-snapshot-v0.IMGFMT 8289e3a2d8SAlberto Garcia{"return": {}} 8389e3a2d8SAlberto Garcia{"error": {"class": "GenericError", "desc": "The snapshot already has a backing image"}} 8489e3a2d8SAlberto Garcia 8589e3a2d8SAlberto Garcia=== Invalid command - The node does not exist === 8689e3a2d8SAlberto Garcia 8789e3a2d8SAlberto Garcia{"error": {"class": "GenericError", "desc": "Cannot find device=snap_14 nor node_name=snap_14"}} 8889e3a2d8SAlberto Garcia{"error": {"class": "GenericError", "desc": "Cannot find device=nodevice nor node_name=nodevice"}} 894089f7c6SJeff Cody*** done 90