<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:49:29 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-5210] sanity-lfsck test 18e failure: Expect file2 size 4, but got </title>
                <link>https://jira.whamcloud.com/browse/LU-5210</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Running sanity-lfsck with the stated environment, tests 18c, 18d, 18e, and 19a fail and test 19b hangs. Test results are at &lt;a href=&quot;https://maloo.whamcloud.com/test_sessions/5ad54b54-f5a5-11e3-b29e-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sessions/5ad54b54-f5a5-11e3-b29e-52540035b04c&lt;/a&gt; .&lt;/p&gt;

&lt;p&gt;sanity-lfsck test 18e fails with the error:&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;sanity-lfsck test_18e: @@@@@@ FAIL: (8) Expect file2 size 4, but got \n482\n4096\n21504\n21504
\n8834\n8464\n23536\n4096\n8176\n9984\n13344\n9768\n4096\n279 ...
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;One problem is that the test is trying to get the size of the file&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;	local cname=$(ls $MOUNT/.lustre/lost+found/MDT0000/*-C-0)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;On my system, cname can&apos;t be found and the variable $cnameis blank. Thus, when the test does a&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;ls -il $cname
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;to get $cname&apos;s file size, the file size from all files in the current directory are found and stored in $cur_size.&lt;/p&gt;</description>
                <environment>Lustre 2.5.60 on the OpenSFS cluster, CentOS 6.5 with one server (mds01) with a MGS and MDS with two MDTs, another server (mds02) with MDS and two MDTs, four OSSs with two OSTs each and four clients.</environment>
        <key id="25182">LU-5210</key>
            <summary>sanity-lfsck test 18e failure: Expect file2 size 4, but got </summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</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="3">Duplicate</resolution>
                                        <assignee username="yong.fan">nasf</assignee>
                                    <reporter username="jamesanunez">James Nunez</reporter>
                        <labels>
                            <label>lfsck</label>
                    </labels>
                <created>Tue, 17 Jun 2014 01:13:23 +0000</created>
                <updated>Wed, 30 Jul 2014 05:35:00 +0000</updated>
                            <resolved>Wed, 30 Jul 2014 05:35:00 +0000</resolved>
                                    <version>Lustre 2.6.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="90424" author="yong.fan" created="Wed, 30 Jul 2014 05:35:00 +0000"  >&lt;p&gt;Similar as &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5209&quot; title=&quot;sanity-lfsck test_18d failure: Expect file2 size 4, but got 0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5209&quot;&gt;&lt;del&gt;LU-5209&lt;/del&gt;&lt;/a&gt;, the former failed test_18c left some dirty environment, and caused the test files had non-initialised PFID xattr, as to the subsequent LFSCK used new FID for the orphan OST-object&apos;s parent, that is not the expected result.&lt;/p&gt;

&lt;p&gt;So it is the side effect of failed test_18c for &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5208&quot; title=&quot;sanity-lfsck test_18c failure: Expect 3 fixed on mds1, but got: 2&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5208&quot;&gt;&lt;del&gt;LU-5208&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="25177">LU-5208</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|hzwp7r:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>14540</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>