test for deadlocks with concurrent I/O.
[xfstests-dev.git] / 062.out
1 QA output created by 062
2 meta-data=DDEV isize=XXX agcount=N, agsize=XXX blks
3 data     = bsize=XXX blocks=XXX, imaxpct=PCT
4          = sunit=XXX swidth=XXX, unwritten=X
5 naming   =VERN bsize=XXX
6 log      =LDEV bsize=XXX blocks=XXX
7 realtime =RDEV extsz=XXX blocks=XXX, rtextents=XXX
8 *** create test bed
9 SCRATCH_MNT
10 SCRATCH_MNT/dev
11 SCRATCH_MNT/dev/b
12 SCRATCH_MNT/dev/c
13 SCRATCH_MNT/dev/p
14 SCRATCH_MNT/dir
15 SCRATCH_MNT/lnk
16 SCRATCH_MNT/reg
17
18 === TYPE reg; NAMESPACE user
19
20 *** set/get one initially empty attribute
21 # file: SCRATCH_MNT/reg
22 user.name
23
24 *** overwrite empty, set several new attributes
25 *** fetch several attribute names and values (hex)
26 # file: SCRATCH_MNT/reg
27 user.name=0xbabe
28 user.name2=0xdeadbeef
29 user.name3=0xdeface
30
31 *** fetch several attribute names and values (base64)
32 # file: SCRATCH_MNT/reg
33 user.name=0sur4=
34 user.name2=0s3q2+7w==
35 user.name3=0s3vrO
36
37 *** shrink value of an existing attribute
38 # file: SCRATCH_MNT/reg
39 user.name=0xbabe
40 user.name2=0xdeaf
41 user.name3=0xdeface
42
43 *** grow value of existing attribute
44 # file: SCRATCH_MNT/reg
45 user.name=0xbabe
46 user.name2=0xdecade
47 user.name3=0xdeface
48
49 *** set an empty value for second attribute
50 # file: SCRATCH_MNT/reg
51 user.name2
52
53 *** overwrite empty value
54 # file: SCRATCH_MNT/reg
55 user.name2=0xcafe
56
57 *** remove attribute
58 SCRATCH_MNT/reg: user.name2: No such attribute
59 *** final list (strings, type=reg, nsp=user)
60 # file: SCRATCH_MNT/reg
61 user.name=0xbabe
62 user.name3=0xdeface
63
64
65 === TYPE dir; NAMESPACE user
66
67 *** set/get one initially empty attribute
68 # file: SCRATCH_MNT/dir
69 user.name
70
71 *** overwrite empty, set several new attributes
72 *** fetch several attribute names and values (hex)
73 # file: SCRATCH_MNT/dir
74 user.name=0xbabe
75 user.name2=0xdeadbeef
76 user.name3=0xdeface
77
78 *** fetch several attribute names and values (base64)
79 # file: SCRATCH_MNT/dir
80 user.name=0sur4=
81 user.name2=0s3q2+7w==
82 user.name3=0s3vrO
83
84 *** shrink value of an existing attribute
85 # file: SCRATCH_MNT/dir
86 user.name=0xbabe
87 user.name2=0xdeaf
88 user.name3=0xdeface
89
90 *** grow value of existing attribute
91 # file: SCRATCH_MNT/dir
92 user.name=0xbabe
93 user.name2=0xdecade
94 user.name3=0xdeface
95
96 *** set an empty value for second attribute
97 # file: SCRATCH_MNT/dir
98 user.name2
99
100 *** overwrite empty value
101 # file: SCRATCH_MNT/dir
102 user.name2=0xcafe
103
104 *** remove attribute
105 SCRATCH_MNT/dir: user.name2: No such attribute
106 *** final list (strings, type=dir, nsp=user)
107 # file: SCRATCH_MNT/dir
108 user.name=0xbabe
109 user.name3=0xdeface
110
111
112 === TYPE lnk; NAMESPACE user
113
114 *** set/get one initially empty attribute
115 setfattr: SCRATCH_MNT/lnk: Operation not permitted
116 *** overwrite empty, set several new attributes
117 setfattr: SCRATCH_MNT/lnk: Operation not permitted
118 setfattr: SCRATCH_MNT/lnk: Operation not permitted
119 setfattr: SCRATCH_MNT/lnk: Operation not permitted
120 *** fetch several attribute names and values (hex)
121 *** fetch several attribute names and values (base64)
122 *** shrink value of an existing attribute
123 setfattr: SCRATCH_MNT/lnk: Operation not permitted
124 *** grow value of existing attribute
125 setfattr: SCRATCH_MNT/lnk: Operation not permitted
126 *** set an empty value for second attribute
127 setfattr: SCRATCH_MNT/lnk: Operation not permitted
128 SCRATCH_MNT/lnk: user.name2: Operation not permitted
129 *** overwrite empty value
130 setfattr: SCRATCH_MNT/lnk: Operation not permitted
131 SCRATCH_MNT/lnk: user.name2: Operation not permitted
132 *** remove attribute
133 setfattr: SCRATCH_MNT/lnk: Operation not permitted
134 SCRATCH_MNT/lnk: user.name2: Operation not permitted
135 *** final list (strings, type=lnk, nsp=user)
136
137 === TYPE dev/b; NAMESPACE user
138
139 *** set/get one initially empty attribute
140 setfattr: SCRATCH_MNT/dev/b: Operation not permitted
141 *** overwrite empty, set several new attributes
142 setfattr: SCRATCH_MNT/dev/b: Operation not permitted
143 setfattr: SCRATCH_MNT/dev/b: Operation not permitted
144 setfattr: SCRATCH_MNT/dev/b: Operation not permitted
145 *** fetch several attribute names and values (hex)
146 *** fetch several attribute names and values (base64)
147 *** shrink value of an existing attribute
148 setfattr: SCRATCH_MNT/dev/b: Operation not permitted
149 *** grow value of existing attribute
150 setfattr: SCRATCH_MNT/dev/b: Operation not permitted
151 *** set an empty value for second attribute
152 setfattr: SCRATCH_MNT/dev/b: Operation not permitted
153 SCRATCH_MNT/dev/b: user.name2: Operation not permitted
154 *** overwrite empty value
155 setfattr: SCRATCH_MNT/dev/b: Operation not permitted
156 SCRATCH_MNT/dev/b: user.name2: Operation not permitted
157 *** remove attribute
158 setfattr: SCRATCH_MNT/dev/b: Operation not permitted
159 SCRATCH_MNT/dev/b: user.name2: Operation not permitted
160 *** final list (strings, type=dev/b, nsp=user)
161
162 === TYPE dev/c; NAMESPACE user
163
164 *** set/get one initially empty attribute
165 setfattr: SCRATCH_MNT/dev/c: Operation not permitted
166 *** overwrite empty, set several new attributes
167 setfattr: SCRATCH_MNT/dev/c: Operation not permitted
168 setfattr: SCRATCH_MNT/dev/c: Operation not permitted
169 setfattr: SCRATCH_MNT/dev/c: Operation not permitted
170 *** fetch several attribute names and values (hex)
171 *** fetch several attribute names and values (base64)
172 *** shrink value of an existing attribute
173 setfattr: SCRATCH_MNT/dev/c: Operation not permitted
174 *** grow value of existing attribute
175 setfattr: SCRATCH_MNT/dev/c: Operation not permitted
176 *** set an empty value for second attribute
177 setfattr: SCRATCH_MNT/dev/c: Operation not permitted
178 SCRATCH_MNT/dev/c: user.name2: Operation not permitted
179 *** overwrite empty value
180 setfattr: SCRATCH_MNT/dev/c: Operation not permitted
181 SCRATCH_MNT/dev/c: user.name2: Operation not permitted
182 *** remove attribute
183 setfattr: SCRATCH_MNT/dev/c: Operation not permitted
184 SCRATCH_MNT/dev/c: user.name2: Operation not permitted
185 *** final list (strings, type=dev/c, nsp=user)
186
187 === TYPE dev/p; NAMESPACE user
188
189 *** set/get one initially empty attribute
190 setfattr: SCRATCH_MNT/dev/p: Operation not permitted
191 *** overwrite empty, set several new attributes
192 setfattr: SCRATCH_MNT/dev/p: Operation not permitted
193 setfattr: SCRATCH_MNT/dev/p: Operation not permitted
194 setfattr: SCRATCH_MNT/dev/p: Operation not permitted
195 *** fetch several attribute names and values (hex)
196 *** fetch several attribute names and values (base64)
197 *** shrink value of an existing attribute
198 setfattr: SCRATCH_MNT/dev/p: Operation not permitted
199 *** grow value of existing attribute
200 setfattr: SCRATCH_MNT/dev/p: Operation not permitted
201 *** set an empty value for second attribute
202 setfattr: SCRATCH_MNT/dev/p: Operation not permitted
203 SCRATCH_MNT/dev/p: user.name2: Operation not permitted
204 *** overwrite empty value
205 setfattr: SCRATCH_MNT/dev/p: Operation not permitted
206 SCRATCH_MNT/dev/p: user.name2: Operation not permitted
207 *** remove attribute
208 setfattr: SCRATCH_MNT/dev/p: Operation not permitted
209 SCRATCH_MNT/dev/p: user.name2: Operation not permitted
210 *** final list (strings, type=dev/p, nsp=user)
211
212 === TYPE reg; NAMESPACE trusted
213
214 *** set/get one initially empty attribute
215 # file: SCRATCH_MNT/reg
216 trusted.name
217
218 *** overwrite empty, set several new attributes
219 *** fetch several attribute names and values (hex)
220 # file: SCRATCH_MNT/reg
221 trusted.name=0xbabe
222 trusted.name2=0xdeadbeef
223 trusted.name3=0xdeface
224
225 *** fetch several attribute names and values (base64)
226 # file: SCRATCH_MNT/reg
227 trusted.name=0sur4=
228 trusted.name2=0s3q2+7w==
229 trusted.name3=0s3vrO
230
231 *** shrink value of an existing attribute
232 # file: SCRATCH_MNT/reg
233 trusted.name=0xbabe
234 trusted.name2=0xdeaf
235 trusted.name3=0xdeface
236
237 *** grow value of existing attribute
238 # file: SCRATCH_MNT/reg
239 trusted.name=0xbabe
240 trusted.name2=0xdecade
241 trusted.name3=0xdeface
242
243 *** set an empty value for second attribute
244 # file: SCRATCH_MNT/reg
245 trusted.name2
246
247 *** overwrite empty value
248 # file: SCRATCH_MNT/reg
249 trusted.name2=0xcafe
250
251 *** remove attribute
252 SCRATCH_MNT/reg: trusted.name2: No such attribute
253 *** final list (strings, type=reg, nsp=trusted)
254 # file: SCRATCH_MNT/reg
255 trusted.name=0xbabe
256 trusted.name3=0xdeface
257 user.name=0xbabe
258 user.name3=0xdeface
259
260
261 === TYPE dir; NAMESPACE trusted
262
263 *** set/get one initially empty attribute
264 # file: SCRATCH_MNT/dir
265 trusted.name
266
267 *** overwrite empty, set several new attributes
268 *** fetch several attribute names and values (hex)
269 # file: SCRATCH_MNT/dir
270 trusted.name=0xbabe
271 trusted.name2=0xdeadbeef
272 trusted.name3=0xdeface
273
274 *** fetch several attribute names and values (base64)
275 # file: SCRATCH_MNT/dir
276 trusted.name=0sur4=
277 trusted.name2=0s3q2+7w==
278 trusted.name3=0s3vrO
279
280 *** shrink value of an existing attribute
281 # file: SCRATCH_MNT/dir
282 trusted.name=0xbabe
283 trusted.name2=0xdeaf
284 trusted.name3=0xdeface
285
286 *** grow value of existing attribute
287 # file: SCRATCH_MNT/dir
288 trusted.name=0xbabe
289 trusted.name2=0xdecade
290 trusted.name3=0xdeface
291
292 *** set an empty value for second attribute
293 # file: SCRATCH_MNT/dir
294 trusted.name2
295
296 *** overwrite empty value
297 # file: SCRATCH_MNT/dir
298 trusted.name2=0xcafe
299
300 *** remove attribute
301 SCRATCH_MNT/dir: trusted.name2: No such attribute
302 *** final list (strings, type=dir, nsp=trusted)
303 # file: SCRATCH_MNT/dir
304 trusted.name=0xbabe
305 trusted.name3=0xdeface
306 user.name=0xbabe
307 user.name3=0xdeface
308
309
310 === TYPE lnk; NAMESPACE trusted
311
312 *** set/get one initially empty attribute
313 # file: SCRATCH_MNT/lnk
314 trusted.name
315
316 *** overwrite empty, set several new attributes
317 *** fetch several attribute names and values (hex)
318 # file: SCRATCH_MNT/lnk
319 trusted.name=0xbabe
320 trusted.name2=0xdeadbeef
321 trusted.name3=0xdeface
322
323 *** fetch several attribute names and values (base64)
324 # file: SCRATCH_MNT/lnk
325 trusted.name=0sur4=
326 trusted.name2=0s3q2+7w==
327 trusted.name3=0s3vrO
328
329 *** shrink value of an existing attribute
330 # file: SCRATCH_MNT/lnk
331 trusted.name=0xbabe
332 trusted.name2=0xdeaf
333 trusted.name3=0xdeface
334
335 *** grow value of existing attribute
336 # file: SCRATCH_MNT/lnk
337 trusted.name=0xbabe
338 trusted.name2=0xdecade
339 trusted.name3=0xdeface
340
341 *** set an empty value for second attribute
342 # file: SCRATCH_MNT/lnk
343 trusted.name2
344
345 *** overwrite empty value
346 # file: SCRATCH_MNT/lnk
347 trusted.name2=0xcafe
348
349 *** remove attribute
350 SCRATCH_MNT/lnk: trusted.name2: No such attribute
351 *** final list (strings, type=lnk, nsp=trusted)
352 # file: SCRATCH_MNT/lnk
353 trusted.name=0xbabe
354 trusted.name3=0xdeface
355
356
357 === TYPE dev/b; NAMESPACE trusted
358
359 *** set/get one initially empty attribute
360 # file: SCRATCH_MNT/dev/b
361 trusted.name
362
363 *** overwrite empty, set several new attributes
364 *** fetch several attribute names and values (hex)
365 # file: SCRATCH_MNT/dev/b
366 trusted.name=0xbabe
367 trusted.name2=0xdeadbeef
368 trusted.name3=0xdeface
369
370 *** fetch several attribute names and values (base64)
371 # file: SCRATCH_MNT/dev/b
372 trusted.name=0sur4=
373 trusted.name2=0s3q2+7w==
374 trusted.name3=0s3vrO
375
376 *** shrink value of an existing attribute
377 # file: SCRATCH_MNT/dev/b
378 trusted.name=0xbabe
379 trusted.name2=0xdeaf
380 trusted.name3=0xdeface
381
382 *** grow value of existing attribute
383 # file: SCRATCH_MNT/dev/b
384 trusted.name=0xbabe
385 trusted.name2=0xdecade
386 trusted.name3=0xdeface
387
388 *** set an empty value for second attribute
389 # file: SCRATCH_MNT/dev/b
390 trusted.name2
391
392 *** overwrite empty value
393 # file: SCRATCH_MNT/dev/b
394 trusted.name2=0xcafe
395
396 *** remove attribute
397 SCRATCH_MNT/dev/b: trusted.name2: No such attribute
398 *** final list (strings, type=dev/b, nsp=trusted)
399 # file: SCRATCH_MNT/dev/b
400 trusted.name=0xbabe
401 trusted.name3=0xdeface
402
403
404 === TYPE dev/c; NAMESPACE trusted
405
406 *** set/get one initially empty attribute
407 # file: SCRATCH_MNT/dev/c
408 trusted.name
409
410 *** overwrite empty, set several new attributes
411 *** fetch several attribute names and values (hex)
412 # file: SCRATCH_MNT/dev/c
413 trusted.name=0xbabe
414 trusted.name2=0xdeadbeef
415 trusted.name3=0xdeface
416
417 *** fetch several attribute names and values (base64)
418 # file: SCRATCH_MNT/dev/c
419 trusted.name=0sur4=
420 trusted.name2=0s3q2+7w==
421 trusted.name3=0s3vrO
422
423 *** shrink value of an existing attribute
424 # file: SCRATCH_MNT/dev/c
425 trusted.name=0xbabe
426 trusted.name2=0xdeaf
427 trusted.name3=0xdeface
428
429 *** grow value of existing attribute
430 # file: SCRATCH_MNT/dev/c
431 trusted.name=0xbabe
432 trusted.name2=0xdecade
433 trusted.name3=0xdeface
434
435 *** set an empty value for second attribute
436 # file: SCRATCH_MNT/dev/c
437 trusted.name2
438
439 *** overwrite empty value
440 # file: SCRATCH_MNT/dev/c
441 trusted.name2=0xcafe
442
443 *** remove attribute
444 SCRATCH_MNT/dev/c: trusted.name2: No such attribute
445 *** final list (strings, type=dev/c, nsp=trusted)
446 # file: SCRATCH_MNT/dev/c
447 trusted.name=0xbabe
448 trusted.name3=0xdeface
449
450
451 === TYPE dev/p; NAMESPACE trusted
452
453 *** set/get one initially empty attribute
454 # file: SCRATCH_MNT/dev/p
455 trusted.name
456
457 *** overwrite empty, set several new attributes
458 *** fetch several attribute names and values (hex)
459 # file: SCRATCH_MNT/dev/p
460 trusted.name=0xbabe
461 trusted.name2=0xdeadbeef
462 trusted.name3=0xdeface
463
464 *** fetch several attribute names and values (base64)
465 # file: SCRATCH_MNT/dev/p
466 trusted.name=0sur4=
467 trusted.name2=0s3q2+7w==
468 trusted.name3=0s3vrO
469
470 *** shrink value of an existing attribute
471 # file: SCRATCH_MNT/dev/p
472 trusted.name=0xbabe
473 trusted.name2=0xdeaf
474 trusted.name3=0xdeface
475
476 *** grow value of existing attribute
477 # file: SCRATCH_MNT/dev/p
478 trusted.name=0xbabe
479 trusted.name2=0xdecade
480 trusted.name3=0xdeface
481
482 *** set an empty value for second attribute
483 # file: SCRATCH_MNT/dev/p
484 trusted.name2
485
486 *** overwrite empty value
487 # file: SCRATCH_MNT/dev/p
488 trusted.name2=0xcafe
489
490 *** remove attribute
491 SCRATCH_MNT/dev/p: trusted.name2: No such attribute
492 *** final list (strings, type=dev/p, nsp=trusted)
493 # file: SCRATCH_MNT/dev/p
494 trusted.name=0xbabe
495 trusted.name3=0xdeface
496
497
498
499 *** extend test bed
500 SCRATCH_MNT
501 SCRATCH_MNT/descend
502 SCRATCH_MNT/descend/and
503 SCRATCH_MNT/descend/down
504 SCRATCH_MNT/descend/down/here
505 SCRATCH_MNT/dev
506 SCRATCH_MNT/dev/b
507 SCRATCH_MNT/dev/c
508 SCRATCH_MNT/dev/p
509 SCRATCH_MNT/dir
510 SCRATCH_MNT/here
511 SCRATCH_MNT/here/up
512 SCRATCH_MNT/here/up/ascend
513 SCRATCH_MNT/lnk
514 SCRATCH_MNT/reg
515
516 *** directory descent with us following symlinks
517 # file: SCRATCH_MNT/reg
518 trusted.name=0xbabe
519 trusted.name3=0xdeface
520 user.name=0xbabe
521 user.name3=0xdeface
522
523 # file: SCRATCH_MNT/dir
524 trusted.name=0xbabe
525 trusted.name3=0xdeface
526 user.name=0xbabe
527 user.name3=0xdeface
528
529 # file: SCRATCH_MNT/dev/b
530 trusted.name=0xbabe
531 trusted.name3=0xdeface
532
533 # file: SCRATCH_MNT/dev/c
534 trusted.name=0xbabe
535 trusted.name3=0xdeface
536
537 # file: SCRATCH_MNT/dev/p
538 trusted.name=0xbabe
539 trusted.name3=0xdeface
540
541 # file: SCRATCH_MNT/here
542 trusted.9=0x3837
543 trusted.a=0x6263
544
545 # file: SCRATCH_MNT/here/up
546 trusted.9=0x3837
547 trusted.a=0x6263
548
549 # file: SCRATCH_MNT/here/up/ascend
550 trusted.9=0x3837
551 trusted.a=0x6263
552
553 # file: SCRATCH_MNT/descend
554 user.1=0x3233
555 user.x=0x797a
556
557 # file: SCRATCH_MNT/descend/down
558 user.1=0x3233
559 user.x=0x797a
560
561 # file: SCRATCH_MNT/descend/down/here
562 user.1=0x3233
563 user.x=0x797a
564
565
566 *** directory descent without following symlinks
567 # file: SCRATCH_MNT/reg
568 trusted.name=0xbabe
569 trusted.name3=0xdeface
570 user.name=0xbabe
571 user.name3=0xdeface
572
573 # file: SCRATCH_MNT/dir
574 trusted.name=0xbabe
575 trusted.name3=0xdeface
576 user.name=0xbabe
577 user.name3=0xdeface
578
579 # file: SCRATCH_MNT/dev/b
580 trusted.name=0xbabe
581 trusted.name3=0xdeface
582
583 # file: SCRATCH_MNT/dev/c
584 trusted.name=0xbabe
585 trusted.name3=0xdeface
586
587 # file: SCRATCH_MNT/dev/p
588 trusted.name=0xbabe
589 trusted.name3=0xdeface
590
591 # file: SCRATCH_MNT/here
592 trusted.9=0x3837
593 trusted.a=0x6263
594
595 # file: SCRATCH_MNT/here/up
596 trusted.9=0x3837
597 trusted.a=0x6263
598
599 # file: SCRATCH_MNT/here/up/ascend
600 trusted.9=0x3837
601 trusted.a=0x6263
602
603 # file: SCRATCH_MNT/descend
604 user.1=0x3233
605 user.x=0x797a
606
607 # file: SCRATCH_MNT/descend/down
608 user.1=0x3233
609 user.x=0x797a
610
611 # file: SCRATCH_MNT/descend/down/here
612 user.1=0x3233
613 user.x=0x797a
614
615
616
617 *** backup everything
618 *** clear out the scratch device
619 *** reset test bed with no extended attributes
620 *** create test bed
621 SCRATCH_MNT
622 SCRATCH_MNT/dev
623 SCRATCH_MNT/dev/b
624 SCRATCH_MNT/dev/c
625 SCRATCH_MNT/dev/p
626 SCRATCH_MNT/dir
627 SCRATCH_MNT/lnk
628 SCRATCH_MNT/reg
629 *** extend test bed
630 SCRATCH_MNT
631 SCRATCH_MNT/descend
632 SCRATCH_MNT/descend/and
633 SCRATCH_MNT/descend/down
634 SCRATCH_MNT/descend/down/here
635 SCRATCH_MNT/dev
636 SCRATCH_MNT/dev/b
637 SCRATCH_MNT/dev/c
638 SCRATCH_MNT/dev/p
639 SCRATCH_MNT/dir
640 SCRATCH_MNT/here
641 SCRATCH_MNT/here/up
642 SCRATCH_MNT/here/up/ascend
643 SCRATCH_MNT/lnk
644 SCRATCH_MNT/reg
645 *** restore everything
646 *** compare before and after backups
647
648 *** unmount