<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:50:21 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-5307] e2fsprogs build fails in Centos 7</title>
                <link>https://jira.whamcloud.com/browse/LU-5307</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;e2fsprogs build of master-lustre branch fails in el7/Centos 7.  Even after faking out the build to use the RHEL6 spec file with the following patch&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;--- a/contrib/build-rpm
+++ b/contrib/build-rpm
@@ -69,6 +69,7 @@ fi
 case &quot;$DISTRO-$RELEASE&quot; in
     RedHatEnterpriseServer-6*) DISTRO=RHEL; RELEASE=6;;
     CentOS-6*) DISTRO=RHEL; RELEASE=6;;
+    CentOS-7*) DISTRO=RHEL; RELEASE=6;;
     Fedora-1[234]) DISTRO=RHEL; RELEASE=6;;    # use the same .spec for now
 esac

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;the build fails.  Plain &apos;make&apos; works fine, but &apos;make rpm&apos; fails a couple of the test cases executed on the fly in the build.  example errors:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;  .
  .
  .
f_uninit_disable: disable uninit_bg feature: ok
f_bbfile: bad blocks in files: ok
168 tests succeeded	2 tests failed
Tests failed: r_64bit_big_expand r_ext4_big_expand 
make[2]: *** [test_post] Error 1
make[2]: Leaving directory `/home/bogl/rb/BUILD/e2fsprogs-1.42.9.wc1/tests&apos;
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/home/bogl/rb/BUILD/e2fsprogs-1.42.9.wc1&apos;
error: Bad exit status from /var/tmp/rpm-tmp.ZDx19k (%check)


RPM build errors:
    bogus date in %changelog: Mon Jul 13 2010 Eric Sandeen &amp;lt;sandeen@redhat.com&amp;gt; 1.41.12-5
    bogus date in %changelog: Thu Sep 14 2009 Eric Sandeen &amp;lt;sandeen@redhat.com&amp;gt; 1.41.9-3
    bogus date in %changelog: Fri Aug 05 2009 Eric Sandeen &amp;lt;sandeen@redhat.com&amp;gt; 1.41.8-6
    bogus date in %changelog: Mon Oct 03 2008 Eric Sandeen &amp;lt;sandeen@redhat.com&amp;gt; 1.41.3-2
    bogus date in %changelog: Mon Oct 03 2008 Eric Sandeen &amp;lt;sandeen@redhat.com&amp;gt; 1.41.3-1
    bogus date in %changelog: Mon Jan 10 2008 Eric Sandeen &amp;lt;sandeen@redhat.com&amp;gt; 1.40.4-4
    bogus date in %changelog: Tue Jan 09 2008 Eric Sandeen &amp;lt;sandeen@redhat.com&amp;gt; 1.40.4-3
    bogus date in %changelog: Tue Oct 15 2007 Eric Sandeen &amp;lt;esandeen@redhat.com&amp;gt; 1.40.2-9
    Bad exit status from /var/tmp/rpm-tmp.ZDx19k (%check)
make: *** [rpm] Error 1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Not a blocker for right now when going for only client builds, but will become critical later on.  Working e2fsprogs will be needed for full server functionality.&lt;/p&gt;</description>
                <environment>Centos 7</environment>
        <key id="25488">LU-5307</key>
            <summary>e2fsprogs build fails in Centos 7</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="6">Not a Bug</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="bogl">Bob Glossman</reporter>
                        <labels>
                    </labels>
                <created>Tue, 8 Jul 2014 21:02:48 +0000</created>
                <updated>Mon, 2 Mar 2015 23:25:50 +0000</updated>
                            <resolved>Tue, 28 Oct 2014 14:38:05 +0000</resolved>
                                    <version>Lustre 2.7.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="88561" author="adilger" created="Wed, 9 Jul 2014 01:17:06 +0000"  >&lt;p&gt;I think I already have this fixed in my tree. Was just waiting for upstream e2fsprogs to be updated to 1.42.11 before pushing a new release. &lt;/p&gt;</comment>
                            <comment id="89856" author="bogl" created="Wed, 23 Jul 2014 16:46:20 +0000"  >&lt;p&gt;while most recent refreshes of &lt;a href=&quot;http://review.whamcloud.com/11147&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/11147&lt;/a&gt; build fine in el7 on Jenkins it fails 2 of the runtime tests during &apos;make rpm&apos; in my manual builds on el7.  failing tests are r_64bit_big_expand &amp;amp; r_ext4_big_expand.  Not at all clear what is different about the builds.&lt;/p&gt;

&lt;p&gt;r_64bit_big_expand.failed:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;very large fs growth using ext4 w/64bit starting
0+0 records in
0+0 records out
0 bytes (0 B) copied, 3.6279e-05 s, 0.0 kB/s
using /tmp/e2fsprogs-tmp-r_64bit_big_expand.mn44uq
../misc/mke2fs -t ext4 -O 64bit -qF /tmp/e2fsprogs-tmp-r_64bit_big_expand.mn44uq 512M
../tests/progs/crcsum /tmp/csum-tmp.JgasXw
Checksum is 445001071
Setting up file system
debugfs 1.42.11.wc1 (24-Jul-2014)
debugfs:  mkdir test
debugfs:  cd test
debugfs:  write /tmp/csum-tmp.JgasXw e2fsck
Allocated inode: 13
debugfs:  ls /test
 12  (12) .    2  (12) ..    13  (4072) e2fsck   
debugfs:  stat /test/e2fsck
Inode: 13   Type: regular    Mode:  0600   Flags: 0x80000
Generation: 0    Version: 0x00000000:00000000
User:     0   Group:     0   Size: 1222732
File ACL: 0    Directory ACL: 0
Links: 1   Blockcount: 2392
Fragment:  Address: 0    Number: 0    Size: 0
 ctime: 0x53cfcbe9:00000000 -- Wed Jul 23 14:51:21 2014
 atime: 0x53cfcbe9:00000000 -- Wed Jul 23 14:51:21 2014
 mtime: 0x53cfcbe9:00000000 -- Wed Jul 23 14:51:21 2014
crtime: 0x53cfcbe9:00000000 -- Wed Jul 23 14:51:21 2014
Size of extra inode fields: 28
EXTENTS:
(0-5):75-80, (6-17):85-96, (18-298):2146-2426
debugfs:  quit
 
../e2fsck/e2fsck -fy /tmp/e2fsprogs-tmp-r_64bit_big_expand.mn44uq
e2fsck 1.42.11.wc1 (24-Jul-2014)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Free blocks count wrong (17179993603, counted=124419).
Fix? yes


/tmp/e2fsprogs-tmp-r_64bit_big_expand.mn44uq: ***** FILE SYSTEM WAS MODIFIED *****
/tmp/e2fsprogs-tmp-r_64bit_big_expand.mn44uq: 13/32768 files (7.7% non-contiguous), 6653/131072 blocks
../resize/resize2fs -d 63 /tmp/e2fsprogs-tmp-r_64bit_big_expand.mn44uq 2T
resize2fs 1.42.11.wc1 (24-Jul-2014)
fs has 13 inodes, 1 groups required.
fs requires 4402 data blocks.
With 1 group(s), we have 30517 blocks available.
Last group&apos;s overhead is 2251
Need 4402 data blocks in last group
Final size of last group is 6653
Estimated blocks needed: 6653
Extents safety margin: 13
Resizing the filesystem on /tmp/e2fsprogs-tmp-r_64bit_big_expand.mn44uq to 536870912 (4k) blocks.
read_bitmaps: Memory used: 132k/0k (64k/69k), time:  0.00/ 0.00/ 0.00
read_bitmaps: I/O read: 1MB, write: 0MB, rate: 22727.27MB/s
fix_uninit_block_bitmaps 1: Memory used: 132k/0k (64k/69k), time:  0.00/ 0.00/ 0.00
../resize/resize2fs: Attempt to write block to filesystem resulted in short write while trying to resize /tmp/e2fsprogs-tmp-r_64bit_big_expand.mn44uq
Please run &apos;e2fsck -fy /tmp/e2fsprogs-tmp-r_64bit_big_expand.mn44uq&apos; to fix the filesystem
after the aborted resize operation.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;r_ext4_big_expand.failed:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;very large fs growth using ext4 starting
0+0 records in
0+0 records out
0 bytes (0 B) copied, 3.7817e-05 s, 0.0 kB/s
using /tmp/e2fsprogs-tmp-r_ext4_big_expand.3DRSoy
../misc/mke2fs -t ext4 -qF /tmp/e2fsprogs-tmp-r_ext4_big_expand.3DRSoy 512M
../tests/progs/crcsum /tmp/csum-tmp.7VPqSJ
Checksum is 2560589454
Setting up file system
debugfs 1.42.11.wc1 (24-Jul-2014)
debugfs:  mkdir test
debugfs:  cd test
debugfs:  write /tmp/csum-tmp.7VPqSJ e2fsck
Allocated inode: 13
debugfs:  ls /test
 12  (12) .    2  (12) ..    13  (4072) e2fsck   
debugfs:  stat /test/e2fsck
Inode: 13   Type: regular    Mode:  0600   Flags: 0x80000
Generation: 0    Version: 0x00000000:00000000
User:     0   Group:     0   Size: 1222732
File ACL: 0    Directory ACL: 0
Links: 1   Blockcount: 2392
Fragment:  Address: 0    Number: 0    Size: 0
 ctime: 0x53cfcb9e:00000000 -- Wed Jul 23 14:50:06 2014
 atime: 0x53cfcb9e:00000000 -- Wed Jul 23 14:50:06 2014
 mtime: 0x53cfcb9e:00000000 -- Wed Jul 23 14:50:06 2014
crtime: 0x53cfcb9e:00000000 -- Wed Jul 23 14:50:06 2014
Size of extra inode fields: 28
EXTENTS:
(0-5):43-48, (6-17):53-64, (18-298):2114-2394
debugfs:  quit
 
../e2fsck/e2fsck -fy /tmp/e2fsprogs-tmp-r_ext4_big_expand.3DRSoy
e2fsck 1.42.11.wc1 (24-Jul-2014)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/tmp/e2fsprogs-tmp-r_ext4_big_expand.3DRSoy: 13/32768 files (7.7% non-contiguous), 6557/131072 blocks
../resize/resize2fs -d 63 /tmp/e2fsprogs-tmp-r_ext4_big_expand.3DRSoy 2T
resize2fs 1.42.11.wc1 (24-Jul-2014)
fs has 13 inodes, 1 groups required.
fs requires 4402 data blocks.
With 1 group(s), we have 30613 blocks available.
Last group&apos;s overhead is 2155
Need 4402 data blocks in last group
Final size of last group is 6557
Estimated blocks needed: 6557
Extents safety margin: 13
Resizing the filesystem on /tmp/e2fsprogs-tmp-r_ext4_big_expand.3DRSoy to 536870912 (4k) blocks.
read_bitmaps: Memory used: 132k/0k (64k/69k), time:  0.00/ 0.00/ 0.00
read_bitmaps: I/O read: 1MB, write: 0MB, rate: 27027.03MB/s
fix_uninit_block_bitmaps 1: Memory used: 132k/0k (64k/69k), time:  0.00/ 0.00/ 0.00
../resize/resize2fs: Attempt to write block to filesystem resulted in short write while trying to resize /tmp/e2fsprogs-tmp-r_ext4_big_expand.3DRSoy
Please run &apos;e2fsck -fy /tmp/e2fsprogs-tmp-r_ext4_big_expand.3DRSoy&apos; to fix the filesystem
after the aborted resize operation.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="90475" author="adilger" created="Wed, 30 Jul 2014 19:19:14 +0000"  >&lt;p&gt;It turns out that there was a bug in the upstream e2fsprogs-1.42.11 release which caused small filesystems to fail at mkfs time, especially if they specified a high inode count or large inodes (which both our sanity-lfsck and conf-sanity tests do).  The good news is that I&apos;ve found and fixed this (&lt;a href=&quot;http://git.whamcloud.com/tools/e2fsprogs.git/commit/adf996d0f1afd574c9cc0782a95d0995e0664abd&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://git.whamcloud.com/tools/e2fsprogs.git/commit/adf996d0f1afd574c9cc0782a95d0995e0664abd&lt;/a&gt;) and pushed it upstream, so it will be in the upcoming 1.42.12 release and our own 1.42.11.wc2 release.&lt;/p&gt;

&lt;p&gt;The e2fsprogs-RHEL-7.spec.in file does not build the &lt;tt&gt;lfsck&lt;/tt&gt; tool since it is now wholly obsolete and there are no versions of RHEL 7 where the old version of lfsck was available.  For distros where the e2fsprogs-based &lt;tt&gt;lfsck&lt;/tt&gt; is still being built, it will also refuse to run on Lustre 2.6 and later, or if it detects the in-kernel 2.6 LFSCK has run MDT-OST consistency (checking for the presence of the &lt;tt&gt;lfsck-layout&lt;/tt&gt; file).&lt;/p&gt;

&lt;p&gt;I also had to revert some autoconf changes so that e2fsprogs could still build on RHEL5 (&lt;a href=&quot;http://git.whamcloud.com/tools/e2fsprogs.git/commit/5ce5311d609967a903d3b4cdcbf6f66e939e2d7f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://git.whamcloud.com/tools/e2fsprogs.git/commit/5ce5311d609967a903d3b4cdcbf6f66e939e2d7f&lt;/a&gt;) but the change does not have any affect on functionality either way.&lt;/p&gt;

&lt;p&gt;The &lt;tt&gt;r_{64bit,ext4}_big_expand&lt;/tt&gt; test failures are hopefully addressed by other patches landed since e2fsprogs-1.42.11 was tagged.&lt;/p&gt;</comment>
                            <comment id="92653" author="bogl" created="Wed, 27 Aug 2014 20:29:06 +0000"  >&lt;p&gt;The &lt;tt&gt;r_{64bit,ext4}_big_expand&lt;/tt&gt; test failures continued and persisted even with the latest changes.  However it looks like it was only due to the environment I was running tests on. The default fs type in an el7 install is xfs, not ext2/3/4.  Building e2fsprogs &amp;amp; running tests on a root fs that is xfs failed every time.  When I finally figured out how to install el7 with a non-default ext4 fs type for root fs, then e2fsprogs built fine.  All the runtime tests passed.&lt;/p&gt;

&lt;p&gt;Since Jenkins build of e2fsprogs have been succeeding right along I&apos;m guessing that el7 builders in our clusters were always installed with ext4, not xfs, and that&apos;s why it worked there.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="24605">LU-5022</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzwqwn:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>14825</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>