<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:24:36 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-9259] sanity test_17o failed with &apos;stat file should fail&apos; </title>
                <link>https://jira.whamcloud.com/browse/LU-9259</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;sanity test 17o is failing with the error message&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;&apos;stat file should fail&apos; 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;sanity test 17o touches a file, fails the MDS and then checks to see if the file exists. Here&#8217;s the code:&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; 703         local WDIR=$DIR/${tdir}o
 704         local mdt_index
 705         local rc=0
 706 
 707         test_mkdir -p $WDIR
 708         mdt_index=$($LFS getstripe -M $WDIR)
 709         mdt_index=$((mdt_index+1))
 710 
 711         touch $WDIR/$tfile
 712 
 713         #fail mds will wait the failover finish then set
 714         #following fail_loc to avoid interfer the recovery process.
 715         fail mds${mdt_index}
 716 
 717         #define OBD_FAIL_OSD_LMA_INCOMPAT 0x194
 718         do_facet mds${mdt_index} lctl set_param fail_loc=0x194
 719         ls -l $WDIR/$tfile &amp;amp;&amp;amp; rc=1
 720         do_facet mds${mdt_index} lctl set_param fail_loc=0
 721         [[ $rc -ne 0 ]] &amp;amp;&amp;amp; error &lt;span class=&quot;code-quote&quot;&gt;&quot;stat file should fail&quot;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;There&#8217;s nothing interesting in the console logs to explain why the file exists.&lt;/p&gt;

&lt;p&gt;So far, I only see failures for this error for review-dne.&lt;/p&gt;

&lt;p&gt;This test failed with this error message last year a bit, stopped failing, and started again recently. Here are the most recent failures:&lt;br/&gt;
2017-03-25 &#8211;&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/438b1b98-116a-11e7-8920-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/438b1b98-116a-11e7-8920-5254006e85c2&lt;/a&gt;&lt;br/&gt;
2017-03-25 &#8211; &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/0053e2ca-1146-11e7-8920-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/0053e2ca-1146-11e7-8920-5254006e85c2&lt;/a&gt;&lt;br/&gt;
2017-03-06 &#8211; &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/5dcc4dd2-0293-11e7-8394-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/5dcc4dd2-0293-11e7-8394-5254006e85c2&lt;/a&gt;&lt;br/&gt;
2016-10-21 &#8211; &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/b1d77bc4-980b-11e6-9e8a-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/b1d77bc4-980b-11e6-9e8a-5254006e85c2&lt;/a&gt;&lt;br/&gt;
2016-10-19 - &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/06c986de-961f-11e6-9722-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/06c986de-961f-11e6-9722-5254006e85c2&lt;/a&gt;&lt;br/&gt;
2016-09-27 - &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/8c0c48aa-85b1-11e6-91aa-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/8c0c48aa-85b1-11e6-91aa-5254006e85c2&lt;/a&gt;&lt;/p&gt;</description>
                <environment>review-dne</environment>
        <key id="45041">LU-9259</key>
            <summary>sanity test_17o failed with &apos;stat file should fail&apos; </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="jamesanunez">James Nunez</reporter>
                        <labels>
                    </labels>
                <created>Mon, 27 Mar 2017 16:22:25 +0000</created>
                <updated>Thu, 29 Jun 2017 18:11:55 +0000</updated>
                            <resolved>Wed, 19 Apr 2017 04:54:14 +0000</resolved>
                                    <version>Lustre 2.10.0</version>
                                    <fixVersion>Lustre 2.10.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="189772" author="jgmitter" created="Mon, 27 Mar 2017 17:19:24 +0000"  >&lt;p&gt;Hi Fan Yong,&lt;/p&gt;

&lt;p&gt;Can you please have a look into this issue?&lt;/p&gt;

&lt;p&gt;Thanks.&lt;br/&gt;
Joe&lt;/p&gt;</comment>
                            <comment id="189773" author="adilger" created="Mon, 27 Mar 2017 17:23:10 +0000"  >&lt;p&gt;It looks from the logs (2017-03-06 at least) that the &lt;tt&gt;fail_loc&lt;/tt&gt; check is not being hit.  I&apos;m not sure if that is because the file is not being created on the MDS where the &lt;tt&gt;fail_loc&lt;/tt&gt; is set, or possibly the file attributes are cached on the client and the MDS isn&apos;t being involved in the lookup.&lt;/p&gt;

&lt;p&gt;The test itself could be improved a bit:&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;        test_mkdir -p $WDIR
        mdt_index=$($LFS getstripe -M $WDIR)
        mdt_index=$((mdt_index+1))

        touch $WDIR/$tfile
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The &lt;tt&gt;mdt_index&lt;/tt&gt; should be gotten from the file after it is created instead of from the directory, since the directory is striped 2 ways by default, and &quot;getstripe -M&quot; on a striped directory will only return the stripe0/master index, which isn&apos;t necessarily where the inode will be allocated (depends on filename and hash function).&lt;/p&gt;

&lt;p&gt;Also, the client MDC DLM lock cache should be flushed so that the client is sure to do a lookup on the MDS.&lt;/p&gt;</comment>
                            <comment id="189833" author="gerrit" created="Tue, 28 Mar 2017 04:46:36 +0000"  >&lt;p&gt;Fan Yong (fan.yong@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/26225&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/26225&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9259&quot; title=&quot;sanity test_17o failed with &amp;#39;stat file should fail&amp;#39; &quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9259&quot;&gt;&lt;del&gt;LU-9259&lt;/del&gt;&lt;/a&gt; tests: set fail_loc on the right MDT&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: e6a944d82642bc6994d4ee5e44ff9bc25604ce2f&lt;/p&gt;</comment>
                            <comment id="192635" author="gerrit" created="Wed, 19 Apr 2017 04:47:39 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/26225/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/26225/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9259&quot; title=&quot;sanity test_17o failed with &amp;#39;stat file should fail&amp;#39; &quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9259&quot;&gt;&lt;del&gt;LU-9259&lt;/del&gt;&lt;/a&gt; tests: set fail_loc on the right MDT&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: a0a812d2b019b97356b0d6a1a8debd7d46fed00b&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="44982">LU-9246</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|hzz8cn:</customfieldvalue>

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