<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:21:17 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-1972] Test failure on test suite replay-single, subtest test_53a</title>
                <link>https://jira.whamcloud.com/browse/LU-1972</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This issue was created by maloo for Li Wei &amp;lt;liwei@whamcloud.com&amp;gt;&lt;/p&gt;

&lt;p&gt;This issue relates to the following test suite run: &lt;a href=&quot;https://maloo.whamcloud.com/test_sets/0b17713c-015a-11e2-bc4e-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/0b17713c-015a-11e2-bc4e-52540035b04c&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The sub-test test_53a failed with the following error:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;test_53a failed with 2&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Info required for matching: replay-single 53a&lt;/p&gt;</description>
                <environment></environment>
        <key id="16025">LU-1972</key>
            <summary>Test failure on test suite replay-single, subtest test_53a</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="5">Cannot Reproduce</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="maloo">Maloo</reporter>
                        <labels>
                    </labels>
                <created>Tue, 18 Sep 2012 03:49:47 +0000</created>
                <updated>Mon, 29 May 2017 05:46:57 +0000</updated>
                            <resolved>Mon, 29 May 2017 05:46:57 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                            <comments>
                            <comment id="45122" author="liwei" created="Tue, 18 Sep 2012 03:52:33 +0000"  >&lt;p&gt;It seems OBD_FAIL_MDS_CLOSE_NET is defined but never appears in any place in the code?&lt;/p&gt;</comment>
                            <comment id="45720" author="ian" created="Fri, 28 Sep 2012 09:29:43 +0000"  >&lt;p&gt;&lt;a href=&quot;https://maloo.whamcloud.com/test_sets/b5b17ebc-0939-11e2-a95c-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/b5b17ebc-0939-11e2-a95c-52540035b04c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="46455" author="adilger" created="Fri, 12 Oct 2012 03:48:49 +0000"  >&lt;p&gt;Li Wei, it seems that OBD_FAIL_MDS_CLOSE_NET &lt;em&gt;does&lt;/em&gt; exist, but it is defined in an extremely confusing manner:&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;#define DEF_HNDL(prefix, base, suffix, flags, opc, fn, fmt)             \
[prefix ## _ ## opc - prefix ## _ ## base] = {                          \
        .mh_name    = #opc,                                             \
        .mh_fail_id = OBD_FAIL_ ## prefix ## _  ## opc ## suffix,       \
        .mh_opc     = prefix ## _  ## opc,                              \
        .mh_flags   = flags,                                            \
        .mh_act     = fn,                                               \
        .mh_fmt     = fmt                                               \
}

#define DEF_MDT_HNDL_F(flags, name, fn)                                 \
        DEF_HNDL(MDS, GETATTR, _NET, flags, name, fn, &amp;amp;RQF_MDS_ ## name)

&lt;span class=&quot;code-keyword&quot;&gt;static&lt;/span&gt; struct mdt_handler mdt_mds_ops[] = {
        :
        :
DEF_MDT_HNDL_F(HABEO_CORPUS,              CLOSE,        mdt_close),

&lt;span class=&quot;code-keyword&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; mdt_req_handle(struct mdt_thread_info *info,
                          struct mdt_handler *h, struct ptlrpc_request *req)
{
        :
        :

        /*
         * Checking &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; various OBD_FAIL_$PREF_$OPC_NET codes. _Do_ not &lt;span class=&quot;code-keyword&quot;&gt;try&lt;/span&gt;
         * to put same checks into handlers like mdt_close(), mdt_reint(),
         * etc., without talking to mdt authors first. Checking same thing
         * there again is useless and returning 0 error without packing reply
         * is buggy! Handlers either pack reply or &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; error.
         *
         * We &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; 0 here and &lt;span class=&quot;code-keyword&quot;&gt;do&lt;/span&gt; not send any reply in order to emulate
         * network failure. Do not send any reply in &lt;span class=&quot;code-keyword&quot;&gt;case&lt;/span&gt; any of NET related
         * fail_id has occured.
         */     
        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (OBD_FAIL_CHECK_ORSET(h-&amp;gt;mh_fail_id, OBD_FAIL_ONCE))
                RETURN(0);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;and the only reason that I found it was coincidentally because of &lt;tt&gt;mdt_close()&lt;/tt&gt; in the above comment...  Searching for OBD_FAIL_MDS_CLOSE_NET, MDS_CLOSE, or RQF_MDS_CLOSE produced nothing.  I found the mdt_close() function and had started searching for that in the code when I found the comment.&lt;/p&gt;

&lt;p&gt;Grrr, this makes the MDS code nearly impossible to follow (as if it wasn&apos;t already)...&lt;/p&gt;

&lt;p&gt;I&apos;ve submitted &lt;a href=&quot;http://review.whamcloud.com/4260&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/4260&lt;/a&gt; to address the terrible coding style.  This may make it easier to understand the code, but does nothing to actually fix the problem reported here.&lt;/p&gt;</comment>
                            <comment id="49601" author="yujian" created="Sat, 22 Dec 2012 09:47:24 +0000"  >&lt;p&gt;Lustre Client: 2.1.4 RC2&lt;br/&gt;
Lustre Server: 2.2.0&lt;br/&gt;
Distro/Arch: RHEL6.3/x86_64&lt;/p&gt;

&lt;p&gt;The same issue occurred: &lt;a href=&quot;https://maloo.whamcloud.com/test_sets/16e08334-4bea-11e2-a817-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/16e08334-4bea-11e2-a817-52540035b04c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="50451" author="sarah" created="Mon, 14 Jan 2013 18:02:37 +0000"  >&lt;p&gt;another instance seen in 2.3.0 server vs 2.4 client:&lt;br/&gt;
&lt;a href=&quot;https://maloo.whamcloud.com/test_sets/8cf3b9cc-5b55-11e2-8985-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/8cf3b9cc-5b55-11e2-8985-52540035b04c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="197442" author="adilger" created="Mon, 29 May 2017 05:46:57 +0000"  >&lt;p&gt;Close old ticket.&lt;/p&gt;</comment>
                    </comments>
                    <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|hzv48f:</customfieldvalue>

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