<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:11:49 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-7776] lustre-single lnet-selftest test failed</title>
                <link>https://jira.whamcloud.com/browse/LU-7776</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;lnet-selftest test fails in test setup&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;
stdout.log
  1 UP mgs MGS MGS 5
  2 UP mgc MGC192.168.108.18@tcp c0ab2420-8f51-ad18-f779-591cad596879 5
  3 UP mds MDS MDS_uuid 3
  4 UP lod lustre-MDT0000-mdtlov lustre-MDT0000-mdtlov_UUID 4
  5 UP mdt lustre-MDT0000 lustre-MDT0000_UUID 11
  6 UP mdd lustre-MDD0000 lustre-MDD0000_UUID 4
  7 UP qmt lustre-QMT0000 lustre-QMT0000_UUID 4
  8 UP lwp lustre-MDT0000-lwp-MDT0000 lustre-MDT0000-lwp-MDT0000_UUID 5
  9 UP osd-ldiskfs lustre-OST0000-osd lustre-OST0000-osd_UUID 5
 10 UP ost OSS OSS_uuid 3
 11 UP obdfilter lustre-OST0000 lustre-OST0000_UUID 7
 12 UP lwp lustre-MDT0000-lwp-OST0000 lustre-MDT0000-lwp-OST0000_UUID 5
 13 UP osd-ldiskfs lustre-OST0001-osd lustre-OST0001-osd_UUID 5
 14 UP obdfilter lustre-OST0001 lustre-OST0001_UUID 7
 15 UP lwp lustre-MDT0000-lwp-OST0001 lustre-MDT0000-lwp-OST0001_UUID 5
 21 UP osp lustre-OST0000-osc-MDT0000 lustre-MDT0000-mdtlov_UUID 5
 22 UP osp lustre-OST0001-osc-MDT0000 lustre-MDT0000-mdtlov_UUID 5
Modules still loaded: 
lustre/osp/osp.o lustre/lod/lod.o lustre/ost/ost.o lustre/mdt/mdt.o lustre/mdd/mdd.o lustre/mgs/mgs.o ldiskfs/ldiskfs.o lustre/quota/lquota.o lustre/lfsck/lfsck.o lustre/mgc/mgc.o lustre/fid/fid.o lustre/fld/fld.o lustre/ptlrpc/ptlrpc.o lustre/obdclass/obdclass.o lnet/klnds/socklnd/ksocklnd.o lnet/lnet/lnet.o libcfs/libcfs/libcfs.o

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>Solo setup</environment>
        <key id="34678">LU-7776</key>
            <summary>lustre-single lnet-selftest test failed</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="wc-triage">WC Triage</assignee>
                                    <reporter username="abrarahmed">Abrar-ahmed</reporter>
                        <labels>
                    </labels>
                <created>Mon, 15 Feb 2016 08:57:42 +0000</created>
                <updated>Wed, 15 Jun 2016 12:53:55 +0000</updated>
                            <resolved>Wed, 15 Jun 2016 12:53:55 +0000</resolved>
                                    <version>Lustre 2.8.0</version>
                    <version>Lustre 2.9.0</version>
                                    <fixVersion>Lustre 2.9.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="142200" author="abrarahmed" created="Mon, 15 Feb 2016 09:09:24 +0000"  >&lt;p&gt;lnet-selftest.sh script is fails while trying to execute cleanupall() during test setup. cleanupall() in turn fails trying to remove modules while still in use. This happens on a solo setup when local_node returns true and variable CLIENTONLY is set to true. Further cleanupall() internally calls stopall() which checks CLIENTONLY and returns midway if true without further cleanup of mgs, mds and ost. This causes cleanupall() to fail at a later stage trying to remove loaded modules.&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;stopall() {
...
 [ &quot;$CLIENTONLY&quot; ] &amp;amp;&amp;amp; return
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;History of change shows that this regression was introduced as a result of a debug patch &lt;a href=&quot;http://review.whamcloud.com/12469&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/12469&lt;/a&gt; (&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4181&quot; title=&quot;lnet-selftest test_smoke: lst error found&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4181&quot;&gt;&lt;del&gt;LU-4181&lt;/del&gt;&lt;/a&gt; tests: cleanup lustre before starting lnet-selftest.sh)&lt;br/&gt;
As the discussions on &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4181&quot; title=&quot;lnet-selftest test_smoke: lst error found&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4181&quot;&gt;&lt;del&gt;LU-4181&lt;/del&gt;&lt;/a&gt; point out that the changes were for debug purpose and removing the modules was not a necessity i propose revoking this change to resolve the bug.&lt;/p&gt;</comment>
                            <comment id="142870" author="adilger" created="Thu, 18 Feb 2016 20:30:30 +0000"  >&lt;p&gt;I don&apos;t think that reverting the patch is a good idea, since I believe this will cause lnet-selftest to begin failing again in our test configuration.&lt;/p&gt;

&lt;p&gt;Instead, I think it should be enough to change the &quot;cleanupall&quot; to &quot;stopall&quot; so that it doesn&apos;t try to unload the modules, which isn&apos;t necessary.  The goal of the &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4181&quot; title=&quot;lnet-selftest test_smoke: lst error found&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4181&quot;&gt;&lt;del&gt;LU-4181&lt;/del&gt;&lt;/a&gt; patch was to stop the clients so that they would not interfere with the testing, or become disconnected when lnet-selftest was saturating the network.&lt;/p&gt;</comment>
                            <comment id="147424" author="abrarahmed" created="Thu, 31 Mar 2016 10:02:52 +0000"  >&lt;p&gt;@Andreas Dilger&lt;/p&gt;

&lt;p&gt;Here is my understanding of the debug patch submitted via commit &amp;lt;a8ba5c645f91faf86a84c99dd2cc049bc54e12b1&amp;gt;&lt;br/&gt;
Debug patch replaced stopall with cleanupall. cleanupall in addition to unmounting clients and stopping servers also unloads modules which i believe was the intended purpose of the debug patch. Please correct my understanding if wrong.&lt;br/&gt;
Quoting the relevant section of the debug patch change below&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;-    local_mode &amp;amp;&amp;amp; CLIENTONLY=yes
-    stopall
-    RESTORE_MOUNT=yes
+	local_mode &amp;amp;&amp;amp; CLIENTONLY=yes
+	RESTORE_MOUNT=yes
+	LOAD_MODULES_REMOTE=&lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;
+	cleanupall
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;So changing cleanupall to stopall would be functionally reverting the debug patch. Would this not cause your test setup to fail again?.&lt;/p&gt;</comment>
                            <comment id="147425" author="abrarahmed" created="Thu, 31 Mar 2016 10:07:42 +0000"  >&lt;p&gt;@Andreas Dilger&lt;/p&gt;

&lt;p&gt;Alternate solution to keep the debug patch functionality would be to avoid calling cleanupall on local_mode setups. Something like below&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;-	local_mode &amp;amp;&amp;amp; CLIENTONLY=yes
+	&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; local_mode; then
+		CLIENTONLY=yes
+		stopall
+	&lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt;
+		LOAD_MODULES_REMOTE=&lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;
+		cleanupall
+	fi
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Let me know which solution works for you or if you want to suggest alternatives. I can upload a patch for the same.&lt;/p&gt;</comment>
                            <comment id="147546" author="adilger" created="Fri, 1 Apr 2016 05:17:30 +0000"  >&lt;p&gt;Looks reasonable, and if this patch works for you then you can submit it and it can be tested.&lt;/p&gt;</comment>
                            <comment id="147667" author="gerrit" created="Sat, 2 Apr 2016 03:36:22 +0000"  >&lt;p&gt;Abrarahmed Momin (kais_abrar@yahoo.co.in) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/19308&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/19308&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7776&quot; title=&quot;lustre-single lnet-selftest test failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7776&quot;&gt;&lt;del&gt;LU-7776&lt;/del&gt;&lt;/a&gt; tests: lnet-selftest.sh local_mode failure&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 4efad14f8c85d5346aed97a047d9e5681c1792e5&lt;/p&gt;</comment>
                            <comment id="148879" author="abrarahmed" created="Thu, 14 Apr 2016 08:17:22 +0000"  >&lt;p&gt;@Andreas Dilge: Hi Andreas, have uploaded the discussed patch and test run results were fine. Can you and others kindly review the patch.&lt;/p&gt;</comment>
                            <comment id="155614" author="gerrit" created="Tue, 14 Jun 2016 03:53:19 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/19308/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/19308/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7776&quot; title=&quot;lustre-single lnet-selftest test failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7776&quot;&gt;&lt;del&gt;LU-7776&lt;/del&gt;&lt;/a&gt; tests: lnet-selftest.sh local_mode failure&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 84030bf26c1763edf9ac17a8cd2765e9163294bf&lt;/p&gt;</comment>
                            <comment id="155755" author="jgmitter" created="Wed, 15 Jun 2016 12:53:55 +0000"  >&lt;p&gt;patch has landed to master for 2.9.0&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_10030" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Epic/Theme</customfieldname>
                        <customfieldvalues>
                                        <label>test</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzy1an:</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>