<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:58:21 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-6225] test-framework does not cleanup the env for failed tests</title>
                <link>https://jira.whamcloud.com/browse/LU-6225</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt; if a test fails with an error, we just exit:&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;error() {
	error_noexit &lt;span class=&quot;code-quote&quot;&gt;&quot;$@&quot;&lt;/span&gt;
	exit 1
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;and therefore the end of run_one() does not execute, what means we do not cleanup the env settings (e.g. fail_loc) before running the next test.&lt;/p&gt;</description>
                <environment></environment>
        <key id="28615">LU-6225</key>
            <summary>test-framework does not cleanup the env for failed tests</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="wc-triage">WC Triage</assignee>
                                    <reporter username="gaurav_mahajan">gaurav mahajan</reporter>
                        <labels>
                    </labels>
                <created>Mon, 9 Feb 2015 11:51:29 +0000</created>
                <updated>Mon, 29 May 2017 05:32:49 +0000</updated>
                            <resolved>Thu, 4 Feb 2016 05:31:40 +0000</resolved>
                                    <version>Lustre 2.5.3</version>
                    <version>Lustre 2.8.0</version>
                                    <fixVersion>Lustre 2.8.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                            <comments>
                            <comment id="106254" author="gerrit" created="Mon, 9 Feb 2015 13:16:16 +0000"  >&lt;p&gt;Gaurav Mahajan (gaurav.mahajan@seagate.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/13689&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/13689&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6225&quot; title=&quot;test-framework does not cleanup the env for failed tests&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6225&quot;&gt;&lt;del&gt;LU-6225&lt;/del&gt;&lt;/a&gt; test: test-framework does not cleanup for failed tests&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_5&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 05ef6f49b13abbfd33c7402bf514440e0315c3c0&lt;/p&gt;</comment>
                            <comment id="106263" author="pjones" created="Mon, 9 Feb 2015 14:55:23 +0000"  >&lt;p&gt;Does this issue only affect b2_5 or is it relevant for master too?&lt;/p&gt;</comment>
                            <comment id="106292" author="gerrit" created="Mon, 9 Feb 2015 18:07:46 +0000"  >&lt;p&gt;Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/13692&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/13692&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6225&quot; title=&quot;test-framework does not cleanup the env for failed tests&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6225&quot;&gt;&lt;del&gt;LU-6225&lt;/del&gt;&lt;/a&gt; test: test-framework does not cleanup for failed tests&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 00afee36ddfb1fb7bb4b58ca82b0fef41f7f4527&lt;/p&gt;</comment>
                            <comment id="106414" author="gaurav_mahajan" created="Tue, 10 Feb 2015 06:59:32 +0000"  >&lt;p&gt;The tests which call error_noexit()  will return  with a value (non zero value) to run_one(). Then run_one() will call error() in case of non zero return value from the test which will again call error_noexit(). &lt;/p&gt;

&lt;p&gt;If we include reset_fail_loc to error_noexit () then it becomes kind of doing the things which are already done as error() will ultimately get called incase of non zero return value (ie on error)&lt;/p&gt;

&lt;p&gt;In case of error_and_remount(), agree that it calls error_no_exit() and exits from there. I guess modification is needed for test framework to handle this looping of error() and error_no_exit().&lt;/p&gt;

&lt;p&gt;As of now, I will accept the comments and move reset_fail_loc to error_no_exit(). But modifications are needed for test_framework.sh &lt;/p&gt;

&lt;p&gt;Please leave your comments on this.&lt;/p&gt;</comment>
                            <comment id="135044" author="sarah" created="Wed, 2 Dec 2015 23:37:57 +0000"  >&lt;p&gt;Hit in interop testing &lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sessions/2b6be11e-9033-11e5-a833-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sessions/2b6be11e-9033-11e5-a833-5254006e85c2&lt;/a&gt;&lt;br/&gt;
server: lustre-master/3251 EL7 &lt;br/&gt;
client 2.7.0&lt;/p&gt;</comment>
                            <comment id="136562" author="standan" created="Wed, 16 Dec 2015 16:41:28 +0000"  >&lt;p&gt;Server: Master, Build# 3266, Tag 2.7.64 , RHEL 7 &lt;br/&gt;
Client: 2.5.5, b2_5_fe/62&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/0d665f82-a000-11e5-a33d-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/0d665f82-a000-11e5-a33d-5254006e85c2&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/0d289292-a000-11e5-a33d-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/0d289292-a000-11e5-a33d-5254006e85c2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="137362" author="standan" created="Wed, 23 Dec 2015 22:03:43 +0000"  >&lt;p&gt;Another instance found for :&lt;br/&gt;
Server: Master , Build# 3276&lt;br/&gt;
Client: b2_7_fe/34&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/1c4ee028-a5a5-11e5-a14a-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/1c4ee028-a5a5-11e5-a14a-5254006e85c2&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/1c77ef4a-a5a5-11e5-a14a-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/1c77ef4a-a5a5-11e5-a14a-5254006e85c2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="139295" author="standan" created="Tue, 19 Jan 2016 20:06:16 +0000"  >&lt;p&gt;Another Instance for interop: EL7 Server/2.7.1 Client&lt;br/&gt;
Server: master, build# 3303, RHEL 7 &lt;br/&gt;
Client: 2.7.1, b2_7_fe/34&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/7a715f8a-bac4-11e5-9137-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/7a715f8a-bac4-11e5-9137-5254006e85c2&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/7a2d8fe4-bac4-11e5-9137-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/7a2d8fe4-bac4-11e5-9137-5254006e85c2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="141052" author="standan" created="Wed, 3 Feb 2016 19:42:07 +0000"  >&lt;p&gt;Encountered same issue for tag 2.7.66 for FULL- EL7.1 Server/EL6.7 Client , master , build# 3314&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/924b1b78-ca91-11e5-9609-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/924b1b78-ca91-11e5-9609-5254006e85c2&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Another failure for master : Tag 2.7.66 FULL - EL7.1 Server/SLES11 SP3 Client, build# 3314&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/b0f05d56-ca7b-11e5-9609-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/b0f05d56-ca7b-11e5-9609-5254006e85c2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="141121" author="gerrit" created="Thu, 4 Feb 2016 04:45:59 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/13692/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/13692/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6225&quot; title=&quot;test-framework does not cleanup the env for failed tests&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6225&quot;&gt;&lt;del&gt;LU-6225&lt;/del&gt;&lt;/a&gt; test: test-framework does not cleanup for failed tests&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: dc3a6a13d2cec51ca5d8ab1c870ce4cee3d80494&lt;/p&gt;</comment>
                            <comment id="141128" author="jgmitter" created="Thu, 4 Feb 2016 05:31:40 +0000"  >&lt;p&gt;Landed for 2.8&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="16653">LU-2312</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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_10030" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Epic/Theme</customfieldname>
                        <customfieldvalues>
                                        <label>patch</label>
            <label>test</label>
    
                        </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|hzx5y7:</customfieldvalue>

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