<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:55:07 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-5857] catastrophe cannot be found: &#8220;error: get_param: /proc/{fs,sys}/{lnet,lustre}/catastrophe: Found no match&#8221;</title>
                <link>https://jira.whamcloud.com/browse/LU-5857</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;In conf-sanity, each test is called from a wrapper function run_test(). When the test completes, run_test() eventually calls check_catastrophe. For some tests, check_catastrophe() does not complete correctly:&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;02:31:40:CMD: onyx-38vm3,onyx-38vm4,onyx-38vm5 rc=\$(lctl get_param -n catastrophe);
02:31:40:		if [ \$rc -ne 0 ]; then echo \$(hostname): \$rc; fi
02:31:40:		exit \$rc
02:31:40:onyx-38vm5: error: get_param: /proc/{fs,sys}/{lnet,lustre}/catastrophe: Found no match
02:31:40:onyx-38vm5: sh: line 1: [: -ne: unary operator expected
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;For example, conf-sanity tests 53a, 53b, 56, 57a, 58, 61, 62, 66, 67 and others at &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/5634cf00-6375-11e4-b5da-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/5634cf00-6375-11e4-b5da-5254006e85c2&lt;/a&gt; have these errors during the test clean up in the call to check_catastrophe.&lt;/p&gt;

&lt;p&gt;More of these error messages in conf-sanity can be found at: &lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/20be82f6-637c-11e4-80e1-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/20be82f6-637c-11e4-80e1-5254006e85c2&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The test is correctly marked as pass or fail regardless of if check_catastrophe works or not.&lt;/p&gt;</description>
                <environment>Autotest</environment>
        <key id="27442">LU-5857</key>
            <summary>catastrophe cannot be found: &#8220;error: get_param: /proc/{fs,sys}/{lnet,lustre}/catastrophe: Found no match&#8221;</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</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="yujian">Jian Yu</assignee>
                                    <reporter username="jamesanunez">James Nunez</reporter>
                        <labels>
                    </labels>
                <created>Tue, 4 Nov 2014 15:01:40 +0000</created>
                <updated>Fri, 5 Dec 2014 19:03:19 +0000</updated>
                            <resolved>Fri, 5 Dec 2014 19:03:19 +0000</resolved>
                                    <version>Lustre 2.7.0</version>
                                    <fixVersion>Lustre 2.7.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="98298" author="jlevi" created="Tue, 4 Nov 2014 18:26:58 +0000"  >&lt;p&gt;Yu Jian,&lt;br/&gt;
Could you please look into this one?&lt;br/&gt;
Thank you!&lt;/p&gt;</comment>
                            <comment id="98299" author="adilger" created="Tue, 4 Nov 2014 18:27:25 +0000"  >&lt;p&gt;Is this failing because the filesystem is unmounted and the modules removed when get_param is called, or is there some problem with this file in /proc?&lt;/p&gt;</comment>
                            <comment id="98314" author="yujian" created="Tue, 4 Nov 2014 19:07:27 +0000"  >&lt;p&gt;unload_modules() was called at the end of those sub-tests before running check_catastrophe().&lt;/p&gt;</comment>
                            <comment id="98644" author="adilger" created="Fri, 7 Nov 2014 09:06:37 +0000"  >&lt;p&gt;In that case, this shouldn&apos;t even be done if the libcfs module isn&apos;t loaded, since it isn&apos;t possible to have an LBUG and then unload the modules.&lt;/p&gt;</comment>
                            <comment id="98645" author="yujian" created="Fri, 7 Nov 2014 09:13:05 +0000"  >&lt;p&gt;I&apos;ll upload a patch to improve check_catastrophe() accordingly.&lt;/p&gt;</comment>
                            <comment id="98742" author="yujian" created="Mon, 10 Nov 2014 04:28:42 +0000"  >&lt;p&gt;Patch for master branch: &lt;a href=&quot;http://review.whamcloud.com/12640&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/12640&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="100653" author="gerrit" created="Thu, 4 Dec 2014 13:36:22 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/12640/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/12640/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5857&quot; title=&quot;catastrophe cannot be found: &#8220;error: get_param: /proc/{fs,sys}/{lnet,lustre}/catastrophe: Found no match&#8221;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5857&quot;&gt;&lt;del&gt;LU-5857&lt;/del&gt;&lt;/a&gt; tests: check lctl return value in check_catastrophe()&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 43d19e90c719402a8d73e559ce4368aa55a4f16b&lt;/p&gt;</comment>
                            <comment id="100861" author="jlevi" created="Fri, 5 Dec 2014 19:03:19 +0000"  >&lt;p&gt;Patch landed to Master.&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|hzx05b:</customfieldvalue>

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