Alberto Garcia | a2aa8b0 | 2019-04-29 15:51:09 +0200 | [diff] [blame] | 1 | QA output created by 249 |
| 2 | Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=1048576 |
| 3 | Formatting 'TEST_DIR/t.IMGFMT.int', fmt=IMGFMT size=1048576 backing_file=TEST_DIR/t.IMGFMT.base |
| 4 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576 backing_file=TEST_DIR/t.IMGFMT.int |
Eric Blake | a98b1a1 | 2019-11-14 15:34:14 -0600 | [diff] [blame] | 5 | { 'execute': 'qmp_capabilities' } |
Alberto Garcia | a2aa8b0 | 2019-04-29 15:51:09 +0200 | [diff] [blame] | 6 | {"return": {}} |
| 7 | |
| 8 | === Send a write command to a drive opened in read-only mode (1) |
| 9 | |
Eric Blake | a98b1a1 | 2019-11-14 15:34:14 -0600 | [diff] [blame] | 10 | { 'execute': 'human-monitor-command', 'arguments': {'command-line': 'qemu-io none0 "aio_write 0 2k"'}} |
Alberto Garcia | a2aa8b0 | 2019-04-29 15:51:09 +0200 | [diff] [blame] | 11 | {"return": "Block node is read-onlyrn"} |
| 12 | |
| 13 | === Run block-commit on base using an invalid filter node name |
| 14 | |
Eric Blake | a98b1a1 | 2019-11-14 15:34:14 -0600 | [diff] [blame] | 15 | { 'execute': 'block-commit', 'arguments': {'job-id': 'job0', 'device': 'none1', 'top-node': 'int', 'filter-node-name': '1234'}} |
Alberto Garcia | a2aa8b0 | 2019-04-29 15:51:09 +0200 | [diff] [blame] | 16 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "created", "id": "job0"}} |
| 17 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "null", "id": "job0"}} |
| 18 | {"error": {"class": "GenericError", "desc": "Invalid node name"}} |
| 19 | |
| 20 | === Send a write command to a drive opened in read-only mode (2) |
| 21 | |
Eric Blake | a98b1a1 | 2019-11-14 15:34:14 -0600 | [diff] [blame] | 22 | { 'execute': 'human-monitor-command', 'arguments': {'command-line': 'qemu-io none0 "aio_write 0 2k"'}} |
Alberto Garcia | a2aa8b0 | 2019-04-29 15:51:09 +0200 | [diff] [blame] | 23 | {"return": "Block node is read-onlyrn"} |
| 24 | |
| 25 | === Run block-commit on base using the default filter node name |
| 26 | |
Eric Blake | a98b1a1 | 2019-11-14 15:34:14 -0600 | [diff] [blame] | 27 | { 'execute': 'block-commit', 'arguments': {'job-id': 'job0', 'device': 'none1', 'top-node': 'int'}} |
Alberto Garcia | a2aa8b0 | 2019-04-29 15:51:09 +0200 | [diff] [blame] | 28 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "created", "id": "job0"}} |
| 29 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id": "job0"}} |
| 30 | {"return": {}} |
| 31 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "waiting", "id": "job0"}} |
| 32 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "pending", "id": "job0"}} |
| 33 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "BLOCK_JOB_COMPLETED", "data": {"device": "job0", "len": 1048576, "offset": 1048576, "speed": 0, "type": "commit"}} |
| 34 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "concluded", "id": "job0"}} |
| 35 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "null", "id": "job0"}} |
| 36 | |
| 37 | === Send a write command to a drive opened in read-only mode (3) |
| 38 | |
Eric Blake | a98b1a1 | 2019-11-14 15:34:14 -0600 | [diff] [blame] | 39 | { 'execute': 'human-monitor-command', 'arguments': {'command-line': 'qemu-io none0 "aio_write 0 2k"'}} |
Alberto Garcia | a2aa8b0 | 2019-04-29 15:51:09 +0200 | [diff] [blame] | 40 | {"return": "Block node is read-onlyrn"} |
| 41 | *** done |