]> git.proxmox.com Git - mirror_qemu.git/blob - tests/qemu-iotests/153.out
Merge remote-tracking branch 'mst/tags/for_upstream' into staging
[mirror_qemu.git] / tests / qemu-iotests / 153.out
1 QA output created by 153
2 == readonly=off,force-share=on should be rejected ==
3 QEMU_PROG: -drive if=none,file=null-co://,readonly=off,force-share=on: force-share=on can only be used with read-only images
4
5 == Creating base image ==
6 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=33554432
7
8 == Creating test image ==
9 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=33554432 backing_file=TEST_DIR/t.IMGFMT.base
10
11 == Launching QEMU, opts: '' ==
12
13 == Launching another QEMU, opts: '' ==
14 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,if=none,: Failed to get "write" lock
15 Is another process using the image?
16
17 == Launching another QEMU, opts: 'read-only=on' ==
18 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,if=none,read-only=on: Failed to get shared "write" lock
19 Is another process using the image?
20
21 == Launching another QEMU, opts: 'read-only=on,force-share=on' ==
22
23 == Running utility commands ==
24
25 _qemu_io_wrapper -c read 0 512 TEST_DIR/t.qcow2
26 can't open device TEST_DIR/t.qcow2: Failed to get "write" lock
27 Is another process using the image?
28
29 _qemu_io_wrapper -r -c read 0 512 TEST_DIR/t.qcow2
30 can't open device TEST_DIR/t.qcow2: Failed to get shared "write" lock
31 Is another process using the image?
32
33 _qemu_io_wrapper -c open TEST_DIR/t.qcow2 -c read 0 512
34 can't open device TEST_DIR/t.qcow2: Failed to get "write" lock
35 Is another process using the image?
36
37 _qemu_io_wrapper -c open -r TEST_DIR/t.qcow2 -c read 0 512
38 can't open device TEST_DIR/t.qcow2: Failed to get shared "write" lock
39 Is another process using the image?
40
41 _qemu_img_wrapper info TEST_DIR/t.qcow2
42 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get shared "write" lock
43 Is another process using the image?
44
45 _qemu_img_wrapper check TEST_DIR/t.qcow2
46 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get shared "write" lock
47 Is another process using the image?
48
49 _qemu_img_wrapper compare TEST_DIR/t.qcow2 TEST_DIR/t.qcow2
50 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get shared "write" lock
51 Is another process using the image?
52
53 _qemu_img_wrapper map TEST_DIR/t.qcow2
54 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get shared "write" lock
55 Is another process using the image?
56
57 _qemu_img_wrapper amend -o TEST_DIR/t.qcow2
58 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get "write" lock
59 Is another process using the image?
60
61 _qemu_img_wrapper commit TEST_DIR/t.qcow2
62 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get "write" lock
63 Is another process using the image?
64
65 _qemu_img_wrapper resize TEST_DIR/t.qcow2 32M
66 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get "write" lock
67 Is another process using the image?
68
69 _qemu_img_wrapper rebase TEST_DIR/t.qcow2 -b TEST_DIR/t.qcow2.base
70 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get "write" lock
71 Is another process using the image?
72
73 _qemu_img_wrapper snapshot -l TEST_DIR/t.qcow2
74 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get shared "write" lock
75 Is another process using the image?
76
77 _qemu_img_wrapper convert TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.convert
78 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get shared "write" lock
79 Is another process using the image?
80
81 _qemu_img_wrapper dd if=TEST_DIR/t.qcow2 of=TEST_DIR/t.qcow2.convert bs=512 count=1
82 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get shared "write" lock
83 Is another process using the image?
84
85 _qemu_img_wrapper bench -c 1 TEST_DIR/t.qcow2
86 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get shared "write" lock
87 Is another process using the image?
88
89 _qemu_img_wrapper bench -w -c 1 TEST_DIR/t.qcow2
90 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get "write" lock
91 Is another process using the image?
92
93 == Running utility commands -U ==
94
95 _qemu_io_wrapper -U -c read 0 512 TEST_DIR/t.qcow2
96 can't open device TEST_DIR/t.qcow2: force-share=on can only be used with read-only images
97
98 _qemu_io_wrapper -U -r -c read 0 512 TEST_DIR/t.qcow2
99
100 _qemu_io_wrapper -c open -U TEST_DIR/t.qcow2 -c read 0 512
101 can't open device TEST_DIR/t.qcow2: force-share=on can only be used with read-only images
102
103 _qemu_io_wrapper -c open -r -U TEST_DIR/t.qcow2 -c read 0 512
104
105 _qemu_img_wrapper info -U TEST_DIR/t.qcow2
106
107 _qemu_img_wrapper check -U TEST_DIR/t.qcow2
108
109 _qemu_img_wrapper compare -U TEST_DIR/t.qcow2 TEST_DIR/t.qcow2
110
111 _qemu_img_wrapper map -U TEST_DIR/t.qcow2
112
113 _qemu_img_wrapper amend -o -U TEST_DIR/t.qcow2
114 qemu-img: unrecognized option '-U'
115 Try 'qemu-img --help' for more information
116
117 _qemu_img_wrapper commit -U TEST_DIR/t.qcow2
118 qemu-img: unrecognized option '-U'
119 Try 'qemu-img --help' for more information
120
121 _qemu_img_wrapper resize -U TEST_DIR/t.qcow2 32M
122 qemu-img: unrecognized option '-U'
123 Try 'qemu-img --help' for more information
124
125 _qemu_img_wrapper rebase -U TEST_DIR/t.qcow2 -b TEST_DIR/t.qcow2.base
126 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get "write" lock
127 Is another process using the image?
128
129 _qemu_img_wrapper snapshot -l -U TEST_DIR/t.qcow2
130
131 _qemu_img_wrapper convert -U TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.convert
132
133 _qemu_img_wrapper dd -U if=TEST_DIR/t.qcow2 of=TEST_DIR/t.qcow2.convert bs=512 count=1
134
135 _qemu_img_wrapper bench -U -c 1 TEST_DIR/t.qcow2
136
137 _qemu_img_wrapper bench -U -w -c 1 TEST_DIR/t.qcow2
138 qemu-img: Could not open 'TEST_DIR/t.qcow2': force-share=on can only be used with read-only images
139
140 Round done
141
142 == Creating base image ==
143 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=33554432
144
145 == Creating test image ==
146 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=33554432 backing_file=TEST_DIR/t.IMGFMT.base
147
148 == Launching QEMU, opts: 'read-only=on' ==
149
150 == Launching another QEMU, opts: '' ==
151 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,if=none,: Failed to get "write" lock
152 Is another process using the image?
153
154 == Launching another QEMU, opts: 'read-only=on' ==
155
156 == Launching another QEMU, opts: 'read-only=on,force-share=on' ==
157
158 == Running utility commands ==
159
160 _qemu_io_wrapper -c read 0 512 TEST_DIR/t.qcow2
161 can't open device TEST_DIR/t.qcow2: Failed to get "write" lock
162 Is another process using the image?
163
164 _qemu_io_wrapper -r -c read 0 512 TEST_DIR/t.qcow2
165
166 _qemu_io_wrapper -c open TEST_DIR/t.qcow2 -c read 0 512
167 can't open device TEST_DIR/t.qcow2: Failed to get "write" lock
168 Is another process using the image?
169
170 _qemu_io_wrapper -c open -r TEST_DIR/t.qcow2 -c read 0 512
171
172 _qemu_img_wrapper info TEST_DIR/t.qcow2
173
174 _qemu_img_wrapper check TEST_DIR/t.qcow2
175
176 _qemu_img_wrapper compare TEST_DIR/t.qcow2 TEST_DIR/t.qcow2
177
178 _qemu_img_wrapper map TEST_DIR/t.qcow2
179
180 _qemu_img_wrapper amend -o TEST_DIR/t.qcow2
181 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get "write" lock
182 Is another process using the image?
183
184 _qemu_img_wrapper commit TEST_DIR/t.qcow2
185 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get "write" lock
186 Is another process using the image?
187
188 _qemu_img_wrapper resize TEST_DIR/t.qcow2 32M
189 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get "write" lock
190 Is another process using the image?
191
192 _qemu_img_wrapper rebase TEST_DIR/t.qcow2 -b TEST_DIR/t.qcow2.base
193 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get "write" lock
194 Is another process using the image?
195
196 _qemu_img_wrapper snapshot -l TEST_DIR/t.qcow2
197
198 _qemu_img_wrapper convert TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.convert
199
200 _qemu_img_wrapper dd if=TEST_DIR/t.qcow2 of=TEST_DIR/t.qcow2.convert bs=512 count=1
201
202 _qemu_img_wrapper bench -c 1 TEST_DIR/t.qcow2
203
204 _qemu_img_wrapper bench -w -c 1 TEST_DIR/t.qcow2
205 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get "write" lock
206 Is another process using the image?
207
208 == Running utility commands -U ==
209
210 _qemu_io_wrapper -U -c read 0 512 TEST_DIR/t.qcow2
211 can't open device TEST_DIR/t.qcow2: force-share=on can only be used with read-only images
212
213 _qemu_io_wrapper -U -r -c read 0 512 TEST_DIR/t.qcow2
214
215 _qemu_io_wrapper -c open -U TEST_DIR/t.qcow2 -c read 0 512
216 can't open device TEST_DIR/t.qcow2: force-share=on can only be used with read-only images
217
218 _qemu_io_wrapper -c open -r -U TEST_DIR/t.qcow2 -c read 0 512
219
220 _qemu_img_wrapper info -U TEST_DIR/t.qcow2
221
222 _qemu_img_wrapper check -U TEST_DIR/t.qcow2
223
224 _qemu_img_wrapper compare -U TEST_DIR/t.qcow2 TEST_DIR/t.qcow2
225
226 _qemu_img_wrapper map -U TEST_DIR/t.qcow2
227
228 _qemu_img_wrapper amend -o -U TEST_DIR/t.qcow2
229 qemu-img: unrecognized option '-U'
230 Try 'qemu-img --help' for more information
231
232 _qemu_img_wrapper commit -U TEST_DIR/t.qcow2
233 qemu-img: unrecognized option '-U'
234 Try 'qemu-img --help' for more information
235
236 _qemu_img_wrapper resize -U TEST_DIR/t.qcow2 32M
237 qemu-img: unrecognized option '-U'
238 Try 'qemu-img --help' for more information
239
240 _qemu_img_wrapper rebase -U TEST_DIR/t.qcow2 -b TEST_DIR/t.qcow2.base
241 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get "write" lock
242 Is another process using the image?
243
244 _qemu_img_wrapper snapshot -l -U TEST_DIR/t.qcow2
245
246 _qemu_img_wrapper convert -U TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.convert
247
248 _qemu_img_wrapper dd -U if=TEST_DIR/t.qcow2 of=TEST_DIR/t.qcow2.convert bs=512 count=1
249
250 _qemu_img_wrapper bench -U -c 1 TEST_DIR/t.qcow2
251
252 _qemu_img_wrapper bench -U -w -c 1 TEST_DIR/t.qcow2
253 qemu-img: Could not open 'TEST_DIR/t.qcow2': force-share=on can only be used with read-only images
254
255 Round done
256
257 == Creating base image ==
258 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=33554432
259
260 == Creating test image ==
261 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=33554432 backing_file=TEST_DIR/t.IMGFMT.base
262
263 == Launching QEMU, opts: 'read-only=on,force-share=on' ==
264
265 == Launching another QEMU, opts: '' ==
266
267 == Launching another QEMU, opts: 'read-only=on' ==
268
269 == Launching another QEMU, opts: 'read-only=on,force-share=on' ==
270
271 == Running utility commands ==
272
273 _qemu_io_wrapper -c read 0 512 TEST_DIR/t.qcow2
274
275 _qemu_io_wrapper -r -c read 0 512 TEST_DIR/t.qcow2
276
277 _qemu_io_wrapper -c open TEST_DIR/t.qcow2 -c read 0 512
278
279 _qemu_io_wrapper -c open -r TEST_DIR/t.qcow2 -c read 0 512
280
281 _qemu_img_wrapper info TEST_DIR/t.qcow2
282
283 _qemu_img_wrapper check TEST_DIR/t.qcow2
284
285 _qemu_img_wrapper compare TEST_DIR/t.qcow2 TEST_DIR/t.qcow2
286
287 _qemu_img_wrapper map TEST_DIR/t.qcow2
288
289 _qemu_img_wrapper amend -o TEST_DIR/t.qcow2
290
291 _qemu_img_wrapper commit TEST_DIR/t.qcow2
292
293 _qemu_img_wrapper resize TEST_DIR/t.qcow2 32M
294
295 _qemu_img_wrapper rebase TEST_DIR/t.qcow2 -b TEST_DIR/t.qcow2.base
296
297 _qemu_img_wrapper snapshot -l TEST_DIR/t.qcow2
298
299 _qemu_img_wrapper convert TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.convert
300
301 _qemu_img_wrapper dd if=TEST_DIR/t.qcow2 of=TEST_DIR/t.qcow2.convert bs=512 count=1
302
303 _qemu_img_wrapper bench -c 1 TEST_DIR/t.qcow2
304
305 _qemu_img_wrapper bench -w -c 1 TEST_DIR/t.qcow2
306
307 == Running utility commands -U ==
308
309 _qemu_io_wrapper -U -c read 0 512 TEST_DIR/t.qcow2
310 can't open device TEST_DIR/t.qcow2: force-share=on can only be used with read-only images
311
312 _qemu_io_wrapper -U -r -c read 0 512 TEST_DIR/t.qcow2
313
314 _qemu_io_wrapper -c open -U TEST_DIR/t.qcow2 -c read 0 512
315 can't open device TEST_DIR/t.qcow2: force-share=on can only be used with read-only images
316
317 _qemu_io_wrapper -c open -r -U TEST_DIR/t.qcow2 -c read 0 512
318
319 _qemu_img_wrapper info -U TEST_DIR/t.qcow2
320
321 _qemu_img_wrapper check -U TEST_DIR/t.qcow2
322
323 _qemu_img_wrapper compare -U TEST_DIR/t.qcow2 TEST_DIR/t.qcow2
324
325 _qemu_img_wrapper map -U TEST_DIR/t.qcow2
326
327 _qemu_img_wrapper amend -o -U TEST_DIR/t.qcow2
328 qemu-img: unrecognized option '-U'
329 Try 'qemu-img --help' for more information
330
331 _qemu_img_wrapper commit -U TEST_DIR/t.qcow2
332 qemu-img: unrecognized option '-U'
333 Try 'qemu-img --help' for more information
334
335 _qemu_img_wrapper resize -U TEST_DIR/t.qcow2 32M
336 qemu-img: unrecognized option '-U'
337 Try 'qemu-img --help' for more information
338
339 _qemu_img_wrapper rebase -U TEST_DIR/t.qcow2 -b TEST_DIR/t.qcow2.base
340
341 _qemu_img_wrapper snapshot -l -U TEST_DIR/t.qcow2
342
343 _qemu_img_wrapper convert -U TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.convert
344
345 _qemu_img_wrapper dd -U if=TEST_DIR/t.qcow2 of=TEST_DIR/t.qcow2.convert bs=512 count=1
346
347 _qemu_img_wrapper bench -U -c 1 TEST_DIR/t.qcow2
348
349 _qemu_img_wrapper bench -U -w -c 1 TEST_DIR/t.qcow2
350 qemu-img: Could not open 'TEST_DIR/t.qcow2': force-share=on can only be used with read-only images
351
352 Round done
353 == Creating TEST_DIR/t.qcow2.[abc] ==
354 Formatting 'TEST_DIR/t.IMGFMT.a', fmt=IMGFMT size=33554432 backing_file=TEST_DIR/t.IMGFMT
355 Formatting 'TEST_DIR/t.IMGFMT.b', fmt=IMGFMT size=33554432 backing_file=TEST_DIR/t.IMGFMT
356 Formatting 'TEST_DIR/t.IMGFMT.c', fmt=IMGFMT size=33554432 backing_file=TEST_DIR/t.IMGFMT.b
357
358 == Two devices sharing the same file in backing chain ==
359
360 == Backing image also as an active device ==
361 QEMU_PROG: -drive if=none,file=TEST_DIR/t.qcow2: Failed to get "write" lock
362 Is another process using the image?
363
364 == Backing image also as an active device (ro) ==
365
366 == Symbolic link ==
367 QEMU_PROG: -drive if=none,file=TEST_DIR/t.qcow2: Failed to get "write" lock
368 Is another process using the image?
369
370 == Closing an image should unlock it ==
371 {"return": {}}
372 Adding drive
373
374 _qemu_io_wrapper TEST_DIR/t.qcow2 -c write 0 512
375 can't open device TEST_DIR/t.qcow2: Failed to get "write" lock
376 Is another process using the image?
377 Closing drive
378
379 _qemu_io_wrapper TEST_DIR/t.qcow2 -c write 0 512
380 Adding two and closing one
381
382 _qemu_img_wrapper info TEST_DIR/t.qcow2
383
384 _qemu_io_wrapper TEST_DIR/t.qcow2 -c write 0 512
385 can't open device TEST_DIR/t.qcow2: Failed to get "write" lock
386 Is another process using the image?
387 Closing the other
388
389 _qemu_io_wrapper TEST_DIR/t.qcow2 -c write 0 512
390 *** done