]>
Commit | Line | Data |
---|---|---|
c7fc5bc2 BC |
1 | QA output created by 081 |
2 | ||
3 | == creating quorum files == | |
7486458c FZ |
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 | |
c7fc5bc2 BC |
7 | |
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) | |
11 | ||
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) | |
19 | ||
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) | |
23 | ||
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) | |
27 | ||
6141f3bd | 28 | == checking mixed reference/option specification == |
8e9e6530 | 29 | Testing: |
6141f3bd HR |
30 | QMP_VERSION |
31 | {"return": {}} | |
32 | {"return": {}} | |
8e9e6530 | 33 | {"return": {}} |
e3f66e03 | 34 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "QUORUM_REPORT_BAD", "data": {"node-name": "drive2", "sectors-count": 20480, "sector-num": 0, "type": "read"}} |
6141f3bd HR |
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": {}} | |
92548938 | 39 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}} |
6141f3bd HR |
40 | |
41 | ||
cf29a570 BC |
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) | |
45 | ||
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) | |
49 | ||
c7fc5bc2 BC |
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) | |
cf29a570 BC |
53 | wrote 10485760/10485760 bytes at offset 0 |
54 | 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) | |
c7fc5bc2 BC |
55 | |
56 | == checking that quorum is broken == | |
8f9e835f | 57 | read failed: Input/output error |
82c4c859 AG |
58 | |
59 | == checking the blkverify mode with broken content == | |
60 | quorum: offset=0 bytes=10485760 contents mismatch at offset 0 | |
61 | ||
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) | |
67 | ||
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) | |
71 | ||
72 | == checking the blkverify mode with invalid settings == | |
36b9986b | 73 | qemu-io: can't open: blkverify=on can only be set if there are exactly two files and vote-threshold is 2 |
04f600ef AG |
74 | |
75 | == dynamically adding a child to a quorum == | |
76 | Testing: | |
77 | QMP_VERSION | |
78 | {"return": {}} | |
79 | {"return": {}} | |
80 | {"return": {}} | |
81 | {"return": {}} | |
82 | {"return": {}} | |
92548938 | 83 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}} |
04f600ef AG |
84 | |
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": {}} | |
92548938 | 92 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}} |
04f600ef AG |
93 | |
94 | ||
95 | == dynamically removing a child from a quorum == | |
96 | Testing: | |
97 | QMP_VERSION | |
98 | {"return": {}} | |
99 | {"return": {}} | |
100 | {"return": {}} | |
101 | {"return": {}} | |
92548938 | 102 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}} |
04f600ef AG |
103 | |
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": {}} | |
92548938 | 110 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}} |
04f600ef AG |
111 | |
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": {}} | |
92548938 | 118 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}} |
04f600ef AG |
119 | |
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": {}} | |
92548938 | 126 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}} |
04f600ef | 127 | |
c7fc5bc2 | 128 | *** done |