<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:17:26 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-1528] Test set with a failing subtest is flagged as passed in maloo</title>
                <link>https://jira.whamcloud.com/browse/LU-1528</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;&lt;a href=&quot;https://maloo.whamcloud.com/test_sets/5dca0c26-7543-11e1-bfc7-5254004bbbd3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/5dca0c26-7543-11e1-bfc7-5254004bbbd3&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The test set shows up as passing in maloo, yet it clearly has a failed test set.  As this was the only test set in the test session the test session also erroneously showed up as passed.&lt;/p&gt;</description>
                <environment></environment>
        <key id="13699">LU-1528</key>
            <summary>Test set with a failing subtest is flagged as passed in maloo</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.whamcloud.com/images/icons/priorities/blocker.svg">Blocker</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="mdiep">Minh Diep</assignee>
                                    <reporter username="mjs">Mike Stok</reporter>
                        <labels>
                    </labels>
                <created>Fri, 23 Mar 2012 20:56:32 +0000</created>
                <updated>Wed, 18 Jul 2012 00:14:00 +0000</updated>
                            <resolved>Wed, 18 Jul 2012 00:14:00 +0000</resolved>
                                    <version>Lustre 2.3.0</version>
                                    <fixVersion>Lustre 2.3.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="32007" author="mjs" created="Fri, 23 Mar 2012 22:01:33 +0000"  >&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;[root@maloo current]# RAILS_ENV=production bundle exec rails c
Loading production environment (Rails 3.1.4)
irb(main):001:0&amp;gt; test_set = TestSet.find(&apos;5dca0c26-7543-11e1-bfc7-5254004bbbd3&apos;)
  TestSet Load (8.5ms)  SELECT `test_sets`.* FROM `test_sets` WHERE `test_sets`.`id` = ? ORDER BY test_sets.submission DESC LIMIT 1  [[&quot;id&quot;, &quot;5dca0c26-7543-11e1-bfc7-5254004bbbd3&quot;]]
=&amp;gt; #&amp;lt;TestSet id: &quot;5dca0c26-7543-11e1-bfc7-5254004bbbd3&quot;, test_session_id: &quot;5b0bedce-7543-11e1-bfc7-5254004bbbd3&quot;, version: 2, created_at: &quot;2012-03-23 23:53:19&quot;, updated_at: &quot;2012-03-23 23:53:19&quot;, duration: 1801, submission: &quot;2012-03-23 22:46:02&quot;, status: &quot;PASS&quot;, test_set_script_id: &quot;f60ca966-8b52-11e0-aab9-52540025f9af&quot;, sub_tests_count: 1, sub_tests_passed_count: 0, sub_tests_skipped_count: 0, sub_tests_failed_count: 1&amp;gt;
irb(main):002:0&amp;gt; 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Note that the &lt;tt&gt;status&lt;/tt&gt; is &lt;tt&gt;PASS&lt;/tt&gt;, yet the &lt;tt&gt;sub_tests_failed_count&lt;/tt&gt; is &lt;tt&gt;1&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;Looking at the uploaded &lt;tt&gt;results.yml&lt;/tt&gt; we see (leading line numbers added):&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;  1 TestGroup:
  2     test_group: acc-sm-client-13vm1
  3     testhost: client-13vm1
  4     submission: Fri Mar 23 15:46:02 PDT 2012
  5     user_name: root
  6 
  7 Tests:
  8 -
  9         name: posix
 10         description: auster posix
 11         submission: Fri Mar 23 15:46:02 PDT 2012
 12         report_version: 2
 13         SubTests:
 14         -
 15             name: test_1
 16             status: FAIL
 17             duration: 1793
 18             return_code: 0
 19             error: &quot;Run\ POSIX\ testsuite\ on\ /mnt/lustre\ failed&quot;
 20         duration: 1801
 21         status: PASS
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Maloo seems to have mechanically recorded the &lt;tt&gt;FAIL&lt;/tt&gt; from line 16 for the subtest and the &lt;tt&gt;PASS&lt;/tt&gt; from line 21 for the test.&lt;/p&gt;

&lt;p&gt;We could make maloo check for this, and it seems the test harness is not getting it right.&lt;/p&gt;</comment>
                            <comment id="32923" author="mjs" created="Fri, 30 Mar 2012 11:05:51 +0000"  >&lt;p&gt;There&apos;s a similar problem with vbr in failover.&lt;/p&gt;</comment>
                            <comment id="32924" author="chris" created="Fri, 30 Mar 2012 11:07:38 +0000"  >&lt;p&gt;Really a sub task of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1192&quot; title=&quot;Make Autotest support POSIX Compliance Testing&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1192&quot;&gt;&lt;del&gt;LU-1192&lt;/del&gt;&lt;/a&gt; but I don&apos;t want to make this an LU issue.&lt;/p&gt;</comment>
                            <comment id="33799" author="mdiep" created="Fri, 6 Apr 2012 11:54:15 +0000"  >&lt;p&gt;The log above is from posix test which hasn&apos;t landed in lustre yet. we&apos;ll revisit this when we hit it again in autotest&lt;/p&gt;</comment>
                            <comment id="40607" author="adilger" created="Thu, 14 Jun 2012 18:47:25 +0000"  >&lt;p&gt;This is definitely being seen in real testing.  I found the following two cases when searching for lnet-selftest results, and it was obvious that &quot;0/1&quot; tests passed should not be considered a &quot;PASS&quot; result.  Looking at the tests results shows the subtest reporting failure:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://maloo.whamcloud.com/test_sets/5b53e0a0-b479-11e1-bdae-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/5b53e0a0-b479-11e1-bdae-52540035b04c&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://maloo.whamcloud.com/test_sets/42ad0e1a-b3ce-11e1-8808-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/42ad0e1a-b3ce-11e1-8808-52540035b04c&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is fairly serious (hence increased priority), because it casts doubt on all of our pass results.&lt;/p&gt;</comment>
                            <comment id="40609" author="mdiep" created="Thu, 14 Jun 2012 19:19:42 +0000"  >&lt;p&gt;I tracked the second report from above and here is the result from yaml file&lt;/p&gt;


&lt;p&gt;-&lt;br/&gt;
        name: lnet-selftest&lt;br/&gt;
        description: auster lnet-selftest&lt;br/&gt;
        submission: Mon Jun 11 06:49:27 PDT 2012&lt;br/&gt;
        report_version: 2&lt;br/&gt;
        SubTests:&lt;br/&gt;
        -&lt;br/&gt;
            name: test_smoke&lt;br/&gt;
            status: FAIL&lt;br/&gt;
            duration: 345&lt;br/&gt;
            return_code: 254&lt;br/&gt;
            error: &quot;test_smoke\ returned\ 254&quot;&lt;br/&gt;
        duration: 357&lt;br/&gt;
        status: PASS&lt;/p&gt;

&lt;p&gt;the overal test status should be failed. Notice that the second subtest never started nor completed.&lt;/p&gt;</comment>
                            <comment id="40644" author="mdiep" created="Fri, 15 Jun 2012 07:16:08 +0000"  >&lt;p&gt;moved to LU since this is likely to be test-framework issue&lt;/p&gt;</comment>
                            <comment id="41179" author="mdiep" created="Wed, 27 Jun 2012 00:04:28 +0000"  >&lt;p&gt;patch &lt;a href=&quot;http://review.whamcloud.com/#change,3112&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#change,3112&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="41955" author="mdiep" created="Wed, 18 Jul 2012 00:14:00 +0000"  >&lt;p&gt;landed in 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_10070" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Project</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10032"><![CDATA[Test Infrastructure]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzus13:</customfieldvalue>

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