<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:26:27 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-9466] Calls to &#8216;error&#8217; should have an error message</title>
                <link>https://jira.whamcloud.com/browse/LU-9466</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;In the Lustre test suites, we call the error() routine when we want a test to stop execution and mark the tests as &#8216;FAIL&#8217;. If the call to error is called with a string, error message, that string is printed as the reason for the failure to give the user an indication of why the test failed. &lt;/p&gt;

&lt;p&gt;When a test suite call fails and error is called without a message, the reason for the test failure is listed as&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;error() without useful message, please fix&apos; 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;There are many cases where we call error() with no error message. This needs to be corrected. &lt;/p&gt;

&lt;p&gt;The following tests have one or more call s to error() with no error message:&lt;br/&gt;
sanity tests 24e, f, g, h, I, j, k, l, m, p, u, 25a, b, 26a, b, 27a, d, n, r, 28, 30*, 31a, b, c, d, e, 32*, 34*, 35*, &#8230;&lt;br/&gt;
sanityn tests 1*, 2*, 5, 11, 13, 26a, 28, 51d&lt;/p&gt;

&lt;p&gt;Here are  few examples of the test suites and tests that need an error message:&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; 857 test_24e() {
&#8230;
 863         $CHECKSTAT -a $DIR/R5a/f || error
 864         $CHECKSTAT -t file $DIR/R5b/g || error
&#8230;
 868 test_24f() {
&#8230;
 873         $CHECKSTAT -a $DIR/R6a/f || error
 874         $CHECKSTAT -t file $DIR/R6b/g || error
&#8230;
 964 test_24p() {
&#8230;
 969         $CHECKSTAT -a $DIR/R12a || error
 970         $CHECKSTAT -t dir $DIR/R12b || error
&#8230;

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="45920">LU-9466</key>
            <summary>Calls to &#8216;error&#8217; should have an error message</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</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="standan">Saurabh Tandan</assignee>
                                    <reporter username="jamesanunez">James Nunez</reporter>
                        <labels>
                            <label>easy</label>
                            <label>test</label>
                    </labels>
                <created>Mon, 8 May 2017 16:10:44 +0000</created>
                <updated>Fri, 9 Feb 2018 13:08:06 +0000</updated>
                            <resolved>Fri, 9 Feb 2018 13:08:06 +0000</resolved>
                                                    <fixVersion>Lustre 2.11.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="216349" author="pjones" created="Thu, 14 Dec 2017 18:58:08 +0000"  >&lt;p&gt;Saurabh&lt;/p&gt;

&lt;p&gt;Could you please look into this one&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="219389" author="gerrit" created="Mon, 29 Jan 2018 20:45:43 +0000"  >&lt;p&gt;Saurabh Tandan (saurabh.tandan@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/31078&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/31078&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9466&quot; title=&quot;Calls to &#8216;error&#8217; should have an error message&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9466&quot;&gt;&lt;del&gt;LU-9466&lt;/del&gt;&lt;/a&gt; tests: Error message for empty &quot;error&quot; calls&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 7c65e296a6ff24c2864fe914d54ab5c89d9474ee&lt;/p&gt;</comment>
                            <comment id="220536" author="gerrit" created="Fri, 9 Feb 2018 05:58:28 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/31078/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/31078/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9466&quot; title=&quot;Calls to &#8216;error&#8217; should have an error message&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9466&quot;&gt;&lt;del&gt;LU-9466&lt;/del&gt;&lt;/a&gt; tests: Error message for empty &quot;error&quot; calls&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: db25bddf374954b5c835e3784c75fc88e1dc36d6&lt;/p&gt;</comment>
                            <comment id="220563" author="pjones" created="Fri, 9 Feb 2018 13:08:06 +0000"  >&lt;p&gt;Landed for 2.11&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="31950">LU-7105</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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|hzzc47:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>