Bug 1075679

Summary: Cannot rebuild coreutils on XFS filesystem - sparse test fails
Product: Red Hat Enterprise Linux 6 Reporter: Pat Riehecky <riehecky>
Component: coreutilsAssignee: Ondrej Vasik <ovasik>
Status: CLOSED ERRATA QA Contact: Tomas Dolezal <todoleza>
Severity: low Docs Contact:
Priority: low    
Version: 6.5CC: csieh, misterbonnie, psklenar
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: coreutils-8.4-33.el6 Doc Type: Bug Fix
Doc Text:
Cause: Some filesystems (like XFS) may have special features like speculative preallocation of holes. Consequence: This can cause failure of the dd test in the upstream testsuite - and therefore failure of the rebuild on xfs filesystem. Fix: Test logic was improved to prevent failures in such situations. Result: Coreutils package source rpm can be rebuilt even on xfs.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-14 06:34:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pat Riehecky 2014-03-12 15:09:01 UTC
Description of problem: The dd/sparse test fails when run on the XFS filesystem.  The exact same binaries run on EXT4 pass the test.

The failing test is on line 62 of tests/dd/sparse


Version-Release number of selected component (if applicable):coreutils-8.4-31.el6_5.1


How reproducible:100%


Steps to Reproduce:
1.populate buildroot on XFS
2.rpmbuild -bb coreutils*.src.rpm
3.build fails
4.repeat on EXT4, build passes

Actual results:
dd sparse test does not work on XFS

Expected results:
dd sparse test should work on all supported filesystems

Additional info:

Comment 7 errata-xmlrpc 2014-10-14 06:34:32 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-1457.html