2016-01-29 23:36:16 +08:00
|
|
|
QA output created by 141
|
|
|
|
Formatting 'TEST_DIR/b.IMGFMT', fmt=IMGFMT size=1048576
|
|
|
|
Formatting 'TEST_DIR/m.IMGFMT', fmt=IMGFMT size=1048576 backing_file=TEST_DIR/b.IMGFMT
|
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576 backing_file=TEST_DIR/m.IMGFMT
|
|
|
|
{"return": {}}
|
|
|
|
|
|
|
|
=== Testing drive-backup ===
|
|
|
|
|
|
|
|
{"return": {}}
|
|
|
|
Formatting 'TEST_DIR/o.IMGFMT', fmt=IMGFMT size=1048576 backing_file=TEST_DIR/t.IMGFMT backing_fmt=IMGFMT
|
|
|
|
{"return": {}}
|
2016-09-21 20:56:10 +08:00
|
|
|
{"error": {"class": "GenericError", "desc": "Node drv0 is in use"}}
|
2016-01-29 23:36:16 +08:00
|
|
|
{"return": {}}
|
2016-09-21 20:56:10 +08:00
|
|
|
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "BLOCK_JOB_CANCELLED", "data": {"device": "job0", "len": 1048576, "offset": 0, "speed": 0, "type": "backup"}}
|
2016-01-29 23:36:16 +08:00
|
|
|
{"return": {}}
|
|
|
|
|
|
|
|
=== Testing drive-mirror ===
|
|
|
|
|
|
|
|
{"return": {}}
|
|
|
|
Formatting 'TEST_DIR/o.IMGFMT', fmt=IMGFMT size=1048576 backing_file=TEST_DIR/t.IMGFMT backing_fmt=IMGFMT
|
2016-09-21 20:56:10 +08:00
|
|
|
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "BLOCK_JOB_READY", "data": {"device": "job0", "len": 0, "offset": 0, "speed": 0, "type": "mirror"}}
|
2016-07-19 03:39:52 +08:00
|
|
|
{"return": {}}
|
2017-01-26 02:16:34 +08:00
|
|
|
{"error": {"class": "GenericError", "desc": "Node 'drv0' is busy: node is used as backing hd of 'NODE_NAME'"}}
|
2016-01-29 23:36:16 +08:00
|
|
|
{"return": {}}
|
2016-09-21 20:56:10 +08:00
|
|
|
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "BLOCK_JOB_COMPLETED", "data": {"device": "job0", "len": 0, "offset": 0, "speed": 0, "type": "mirror"}}
|
2016-01-29 23:36:16 +08:00
|
|
|
{"return": {}}
|
|
|
|
|
|
|
|
=== Testing active block-commit ===
|
|
|
|
|
|
|
|
{"return": {}}
|
2016-09-21 20:56:10 +08:00
|
|
|
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "BLOCK_JOB_READY", "data": {"device": "job0", "len": 0, "offset": 0, "speed": 0, "type": "commit"}}
|
2016-07-19 03:39:52 +08:00
|
|
|
{"return": {}}
|
2017-01-26 02:16:34 +08:00
|
|
|
{"error": {"class": "GenericError", "desc": "Node 'drv0' is busy: node is used as backing hd of 'NODE_NAME'"}}
|
2016-01-29 23:36:16 +08:00
|
|
|
{"return": {}}
|
2016-09-21 20:56:10 +08:00
|
|
|
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "BLOCK_JOB_COMPLETED", "data": {"device": "job0", "len": 0, "offset": 0, "speed": 0, "type": "commit"}}
|
2016-01-29 23:36:16 +08:00
|
|
|
{"return": {}}
|
|
|
|
|
|
|
|
=== Testing non-active block-commit ===
|
|
|
|
|
|
|
|
wrote 1048576/1048576 bytes at offset 0
|
|
|
|
1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
{"return": {}}
|
|
|
|
{"return": {}}
|
2016-09-21 20:56:10 +08:00
|
|
|
{"error": {"class": "GenericError", "desc": "Node drv0 is in use"}}
|
2016-01-29 23:36:16 +08:00
|
|
|
{"return": {}}
|
2016-09-21 20:56:10 +08:00
|
|
|
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "BLOCK_JOB_CANCELLED", "data": {"device": "job0", "len": 1048576, "offset": 524288, "speed": 1, "type": "commit"}}
|
2016-01-29 23:36:16 +08:00
|
|
|
{"return": {}}
|
|
|
|
|
|
|
|
=== Testing block-stream ===
|
|
|
|
|
|
|
|
wrote 1048576/1048576 bytes at offset 0
|
|
|
|
1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
{"return": {}}
|
|
|
|
{"return": {}}
|
2016-09-21 20:56:10 +08:00
|
|
|
{"error": {"class": "GenericError", "desc": "Node drv0 is in use"}}
|
2016-01-29 23:36:16 +08:00
|
|
|
{"return": {}}
|
2016-09-21 20:56:10 +08:00
|
|
|
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "BLOCK_JOB_CANCELLED", "data": {"device": "job0", "len": 1048576, "offset": 524288, "speed": 1, "type": "stream"}}
|
2016-01-29 23:36:16 +08:00
|
|
|
{"return": {}}
|
|
|
|
*** done
|