Merge remote-tracking branch 'remotes/awilliam/tags/vfio-fixes-20190702.0' into staging
[qemu/ar7.git] / tests / qemu-iotests / 081.out
blob04091b64e5dd277665d88a68aa90b4f579f88cd8
1 QA output created by 081
3 == creating quorum files ==
4 Formatting 'TEST_DIR/1.IMGFMT', fmt=IMGFMT size=10485760
5 Formatting 'TEST_DIR/2.IMGFMT', fmt=IMGFMT size=10485760
6 Formatting 'TEST_DIR/3.IMGFMT', fmt=IMGFMT size=10485760
8 == writing images ==
9 wrote 10485760/10485760 bytes at offset 0
10 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
12 == checking quorum write ==
13 read 10485760/10485760 bytes at offset 0
14 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
15 read 10485760/10485760 bytes at offset 0
16 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
17 read 10485760/10485760 bytes at offset 0
18 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
20 == corrupting image ==
21 wrote 10485760/10485760 bytes at offset 0
22 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
24 == checking quorum correction ==
25 read 10485760/10485760 bytes at offset 0
26 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
28 == checking mixed reference/option specification ==
29 Testing:
30 QMP_VERSION
31 {"return": {}}
32 {"return": {}}
33 {"return": {}}
34 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "QUORUM_REPORT_BAD", "data": {"node-name": "drive2", "sectors-count": 20480, "sector-num": 0, "type": "read"}}
35 read 10485760/10485760 bytes at offset 0
36 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
37 {"return": ""}
38 {"return": {}}
39 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
42 == using quorum rewrite corrupted mode ==
43 read 10485760/10485760 bytes at offset 0
44 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
46 == checking that quorum has corrected the corrupted file ==
47 read 10485760/10485760 bytes at offset 0
48 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
50 == breaking quorum ==
51 wrote 10485760/10485760 bytes at offset 0
52 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
53 wrote 10485760/10485760 bytes at offset 0
54 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
56 == checking that quorum is broken ==
57 read failed: Input/output error
59 == checking the blkverify mode with broken content ==
60 quorum: offset=0 bytes=10485760 contents mismatch at offset 0
62 == writing the same data to both files ==
63 wrote 10485760/10485760 bytes at offset 0
64 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
65 wrote 10485760/10485760 bytes at offset 0
66 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
68 == checking the blkverify mode with valid content ==
69 read 10485760/10485760 bytes at offset 0
70 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
72 == checking the blkverify mode with invalid settings ==
73 qemu-io: can't open: blkverify=on can only be set if there are exactly two files and vote-threshold is 2
75 == dynamically adding a child to a quorum ==
76 Testing:
77 QMP_VERSION
78 {"return": {}}
79 {"return": {}}
80 {"return": {}}
81 {"return": {}}
82 {"return": {}}
83 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
85 Testing:
86 QMP_VERSION
87 {"return": {}}
88 {"return": {}}
89 {"return": {}}
90 {"error": {"class": "GenericError", "desc": "Cannot add a child to a quorum in blkverify mode"}}
91 {"return": {}}
92 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
95 == dynamically removing a child from a quorum ==
96 Testing:
97 QMP_VERSION
98 {"return": {}}
99 {"return": {}}
100 {"return": {}}
101 {"return": {}}
102 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
104 Testing:
105 QMP_VERSION
106 {"return": {}}
107 {"return": {}}
108 {"error": {"class": "GenericError", "desc": "The number of children cannot be lower than the vote threshold 2"}}
109 {"return": {}}
110 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
112 Testing:
113 QMP_VERSION
114 {"return": {}}
115 {"error": {"class": "GenericError", "desc": "blkverify=on can only be set if there are exactly two files and vote-threshold is 2"}}
116 {"error": {"class": "GenericError", "desc": "Cannot find device=drive0-quorum nor node_name=drive0-quorum"}}
117 {"return": {}}
118 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
120 Testing:
121 QMP_VERSION
122 {"return": {}}
123 {"return": {}}
124 {"error": {"class": "GenericError", "desc": "The number of children cannot be lower than the vote threshold 2"}}
125 {"return": {}}
126 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
128 *** done