[Bugs] [Bug 1298111] New: Fix sparse-file-self-heal.t and remove from bad tests

bugzilla at redhat.com bugzilla at redhat.com
Wed Jan 13 09:43:40 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1298111

            Bug ID: 1298111
           Summary: Fix sparse-file-self-heal.t and remove from bad tests
           Product: GlusterFS
           Version: mainline
         Component: tests
          Assignee: bugs at gluster.org
          Reporter: ravishankar at redhat.com
                CC: bugs at gluster.org



Description of problem:

Psuedo Problem:
   
https://build.gluster.org/job/rackspace-regression-2GB-triggered/16682/consoleFull

    The 'zeroedfile' disk usage comparision which is failing in this .t file
    fails so only on XFS. The test passes when the backend is on a s̶a̶n̶e̶r̶
    different filesystem like EXT4 or BTRFS. This is due to the speculative
    preallocation in XFS which can reserve different disk space on different
    XFS mounts for the same version and same file operation. See BZ 1277992
    for an example of XFS behaviour.

    Fix:
    Don't compare the disk usage of the file on the bricks of the replica:
    instead, check that the disk space consumed is atleast equal to the size
    of the file.

    Also remove sparse-file-self-heal.t from is_bad_test()

-- 
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