<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:48:19 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-5075] Test failure on test suite sanity-lfsck, subtest test_8  Fail to start LFSCK for namespace!</title>
                <link>https://jira.whamcloud.com/browse/LU-5075</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This issue was created by maloo for wangdi &amp;lt;di.wang@intel.com&amp;gt;&lt;/p&gt;

&lt;p&gt;This issue relates to the following test suite run: &lt;a href=&quot;http://maloo.whamcloud.com/test_sets/ffe8ec08-dd4b-11e3-9f1e-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://maloo.whamcloud.com/test_sets/ffe8ec08-dd4b-11e3-9f1e-52540035b04c&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The sub-test test_8 failed with the following error:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;(21) Fail to start LFSCK for namespace!&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Info required for matching: sanity-lfsck 8&lt;/p&gt;</description>
                <environment></environment>
        <key id="24746">LU-5075</key>
            <summary>Test failure on test suite sanity-lfsck, subtest test_8  Fail to start LFSCK for namespace!</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="1">Fixed</resolution>
                                        <assignee username="yong.fan">nasf</assignee>
                                    <reporter username="maloo">Maloo</reporter>
                        <labels>
                    </labels>
                <created>Sat, 17 May 2014 01:14:43 +0000</created>
                <updated>Mon, 25 Aug 2014 23:18:12 +0000</updated>
                            <resolved>Mon, 25 Aug 2014 23:18:12 +0000</resolved>
                                                    <fixVersion>Lustre 2.7.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="84454" author="adilger" created="Tue, 20 May 2014 15:23:39 +0000"  >&lt;p&gt;Looks like MDT0001 was evicted by MDT0000 just before the LFSCK started, which caused it to fail. &lt;/p&gt;</comment>
                            <comment id="90512" author="yong.fan" created="Thu, 31 Jul 2014 03:52:23 +0000"  >&lt;p&gt;The eviction is not the root reason for test_8 failure, because test_8 only start namespace LFSCK on the MDT0, so as long as MDT0 works well, the test should work.&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;        echo &lt;span class=&quot;code-quote&quot;&gt;&quot;stop $SINGLEMDS&quot;&lt;/span&gt;
        stop $SINGLEMDS &amp;gt; /dev/&lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt; || error &lt;span class=&quot;code-quote&quot;&gt;&quot;(18) Fail to stop MDS!&quot;&lt;/span&gt;

        #define OBD_FAIL_LFSCK_NO_AUTO          0x160b
(1) ===&amp;gt;        do_facet $SINGLEMDS $LCTL set_param fail_loc=0x160b

        echo &lt;span class=&quot;code-quote&quot;&gt;&quot;start $SINGLEMDS&quot;&lt;/span&gt;
(2) ===&amp;gt;        start $SINGLEMDS $MDT_DEVNAME $MOUNT_OPTS_SCRUB &amp;gt; /dev/&lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt; ||
                error &lt;span class=&quot;code-quote&quot;&gt;&quot;(19) Fail to start MDS!&quot;&lt;/span&gt;

(3)===&amp;gt;        STATUS=$($SHOW_NAMESPACE | awk &lt;span class=&quot;code-quote&quot;&gt;&apos;/^status/ { print $2 }&apos;&lt;/span&gt;)
        [ &lt;span class=&quot;code-quote&quot;&gt;&quot;$STATUS&quot;&lt;/span&gt; == &lt;span class=&quot;code-quote&quot;&gt;&quot;paused&quot;&lt;/span&gt; ] ||
                error &lt;span class=&quot;code-quote&quot;&gt;&quot;(20) Expect &lt;span class=&quot;code-quote&quot;&gt;&apos;paused&apos;&lt;/span&gt;, but got &lt;span class=&quot;code-quote&quot;&gt;&apos;$STATUS&apos;&lt;/span&gt;&quot;&lt;/span&gt;

        #define OBD_FAIL_LFSCK_DELAY3           0x1602
(4)===&amp;gt;        do_facet $SINGLEMDS $LCTL set_param fail_val=2 fail_loc=0x1602

(5)===&amp;gt;        $START_NAMESPACE || error &lt;span class=&quot;code-quote&quot;&gt;&quot;(21) Fail to start LFSCK &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; namespace!&quot;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;As shown above, before restart the MDS at point (2), the test sets the fail_loc=0x160b at point (1) to prevent the LFSCK to be restarted automatically. But the LFSCK restart will be called after the recovery. There is race condition that when the test moves to the point (3), the recovery is not completed yet, so the check at the point (3) is passed, and then the tests resets the fail_loc=0x1602 at the point (4), after such reset, the recovery completed, because the fail_loc has been reset, so the LFSCK can be restarted automatically successfully, so when the test moves to the point (5), it will find the LFSCK is in running already.&lt;/p&gt;

&lt;p&gt;I will make patch to fix the race in the test scripts.&lt;/p&gt;</comment>
                            <comment id="90513" author="yong.fan" created="Thu, 31 Jul 2014 03:52:44 +0000"  >&lt;p&gt;Here is the patch:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/11288&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/11288&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="91921" author="yujian" created="Tue, 19 Aug 2014 06:08:04 +0000"  >&lt;p&gt;More instances on master branch:&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/bbef6d96-244b-11e4-abce-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/bbef6d96-244b-11e4-abce-5254006e85c2&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/5d21bc2c-2754-11e4-84f2-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/5d21bc2c-2754-11e4-84f2-5254006e85c2&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is blocking patch to pass review testing.&lt;/p&gt;</comment>
                            <comment id="92364" author="yong.fan" created="Mon, 25 Aug 2014 23:18:12 +0000"  >&lt;p&gt;The patch has been landed to master.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="25019">LU-5143</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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|hzwmof:</customfieldvalue>

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