qemu-e2k/tests/qemu-iotests
Kevin Wolf cc29c12ec6 iotests: Make 144 deterministic again
Since commit effd60c8 changed how QMP commands are processed, the order
of the block-commit return value and job events in iotests 144 wasn't
fixed and more and caused the test to fail intermittently.

Change the test to cache events first and then print them in a
predefined order.

Waiting three times for JOB_STATUS_CHANGE is a bit uglier than just
waiting for the JOB_STATUS_CHANGE that has "status": "ready", but the
tooling we have doesn't seem to allow the latter easily.

Fixes: effd60c878176bcaf97fa7ce2b12d04bb8ead6f7
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2126
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20240209173103.239994-1-kwolf@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2024-02-15 16:40:06 +00:00
..
001
002
003
004
005
007
008
009
010
011
012
013
014
015
017
018
019
020
021
023
025
026
027
028
029
2023-09-08 13:08:52 +03:00
031
032
033
034
035
036
037
038
039
042
043
044
046
2023-09-08 13:08:52 +03:00
047
048
049
050
051
2022-10-27 20:13:32 +02:00
052
053
054
057
058
060
061
2023-09-08 13:08:52 +03:00
062
063
064
065
2023-02-01 16:52:33 +01:00
066
068
069
070
071
2023-09-08 13:08:52 +03:00
072
073
074
075
076
077
078
079
080
081
082
083
084
085
086
087
088
089
090
091
092
094
095
096
097
098
099
101
102
103
104
105
107
110
111
112
113
114
115
116
117
118
2023-10-31 13:51:33 +01:00
119
120
121
122
123
125
126
127
128
130
133
134
135
136
137
138
140
142
143
144
2024-02-15 16:40:06 +00:00
2024-02-15 16:40:06 +00:00
145
146
148
150
153
154
156
157
158
159
160
161
162
163
170
171
173
174
175
176
177
178
179
182
184
187
188
189
190
191
192
195
197
2023-09-08 10:06:25 -04:00
198
200
201
204
206
207
208
209
210
211
212
213
215
2023-09-08 13:08:52 +03:00
216
217
219
220
221
223
224
225
226
227
228
229
231
232
233
234
235
236
237
238
239
240
241
242
243
244
246
247
248
249
250
251
252
253
254
255
256
2023-10-12 14:21:43 -04:00
257
2023-10-12 14:21:43 -04:00
258
259
260
261
263
265
266
267
268
270
272
273
274
279
280
282
283
284
286
287
288
289
290
292
293
294
297
299
301
302
303
304
305
307
310
313
2023-09-08 13:08:52 +03:00

=== This is the QEMU I/O test suite ===

* Intro

This package contains a simple test suite for the I/O layer of qemu.
It does not require a guest, but only the qemu, qemu-img and qemu-io
binaries.  This does limit it to exercise the low-level I/O path only
but no actual block drivers like ide, scsi or virtio.

* Usage

Just run ./check to run all tests for the raw image format, or ./check
-qcow2 to test the qcow2 image format.  The output of ./check -h explains
additional options to test further image formats or I/O methods.

* Feedback and patches

Please send improvements to the test suite, general feedback or just
reports of failing tests cases to qemu-devel@nongnu.org with a CC:
to qemu-block@nongnu.org.