[Bugs] [Bug 1218951] Spurious failures in fop-sanity.t
bugzilla at redhat.com
bugzilla at redhat.com
Thu May 7 05:19:43 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1218951
--- Comment #4 from Nithya Balachandran <nbalacha at redhat.com> ---
This test can be made to fail consistently by adding an fprintf (stdout, ..)
before the open ():
Strace without the fix and with additional fprintf(). The mode here maps to a
linkto file so the tests fail:
mprotect(0x306261f000, 4096, PROT_READ) = 0
munmap(0x7f3e795c1000, 116173) = 0
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 9), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f3e795dd000
open("temp-xattr-test-file_2", O_RDWR|O_CREAT, 03014256725020) = 3
ftruncate(3, 0) = 0
write(3, "This is my second string\n", 25) = 25
lseek(3, 0, SEEK_SET) = 0
read(3, 0x7fffd6b88750, 25) = -1 ENODATA (No data available)
write(2, "read failed: No data available\n", 31read failed: No data available
) = 31
write(2, "read returning junk\n", 20read returning junk
) = 20
fstat(3, 0x7fffd6b887d0) = -1 ENODATA (No data available)
write(2, "fstat failed : No data available"..., 33fstat failed : No data
available
) = 33
fchmod(3, 0640) = 0
fchown(3, 10001, 10001) = 0
fsync(3) = 0
fsetxattr(3, "trusted.xattr-test", "working", 8, 0) = 0
fdatasync(3) = 0
flistxattr(3, NULL, 0) = 36
fgetxattr(3, "trusted.xattr-test", 0x0, 0) = 8
fremovexattr(3, "trusted.xattr-test") = 0
close(3) = 0
unlink("temp-xattr-test-file_2") = 0
write(2, "fd based file operation 2 failed"..., 33fd based file operation 2
failed
) = 33
write(1, "Testing", 7Testing) = 7
exit_group(-1) = ?
+++ exited with 255 +++
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list