<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:27:33 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-2711] Code execution between test declarations in suite scripts</title>
                <link>https://jira.whamcloud.com/browse/LU-2711</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;There is present a code execution between test declarations in suite scripts.&lt;br/&gt;
For example sanity.sh contains following code:&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;export ORIG_CSUM_TYPE=&quot;`lctl get_param -n osc.*osc-[^mM]*.checksum_type |
                        sed &lt;span class=&quot;code-quote&quot;&gt;&apos;s/.*\[\(.*\)\].*/\1/g&apos;&lt;/span&gt; | head -n1`&quot;
CKSUM_TYPES=${CKSUM_TYPES:-&lt;span class=&quot;code-quote&quot;&gt;&quot;crc32 adler&quot;&lt;/span&gt;}
[ &lt;span class=&quot;code-quote&quot;&gt;&quot;$ORIG_CSUM_TYPE&quot;&lt;/span&gt; = &lt;span class=&quot;code-quote&quot;&gt;&quot;crc32c&quot;&lt;/span&gt; ] &amp;amp;&amp;amp; CKSUM_TYPES=&lt;span class=&quot;code-quote&quot;&gt;&quot;$CKSUM_TYPES crc32c&quot;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Or this in sanityn.sh :&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;}
run_test 39b &lt;span class=&quot;code-quote&quot;&gt;&quot;mtime change on open, link, unlink, rename  ======&quot;&lt;/span&gt;
 
# &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt; should be set to past
TEST_39_MTIME=`date -d &lt;span class=&quot;code-quote&quot;&gt;&quot;1 year ago&quot;&lt;/span&gt; +%s`

# bug 11063
test_39c() {
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;From one side these codes are executed all the time even if do not want to run it using ONLY parameter for some specific tests. From other side such practice causes generation of unexpected messages in the log files.&lt;/p&gt;

&lt;p&gt;This practice is harmfull we need to get rid of it.&lt;/p&gt;</description>
                <environment></environment>
        <key id="17369">LU-2711</key>
            <summary>Code execution between test declarations in suite scripts</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="bogl">Bob Glossman</assignee>
                                    <reporter username="kshatskyy">Kyr Shatskyy</reporter>
                        <labels>
                            <label>patch</label>
                            <label>tests</label>
                    </labels>
                <created>Wed, 30 Jan 2013 15:15:44 +0000</created>
                <updated>Sat, 29 Jan 2022 08:39:08 +0000</updated>
                            <resolved>Sat, 29 Jan 2022 08:39:08 +0000</resolved>
                                                    <fixVersion>Lustre 2.12.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="51814" author="adilger" created="Tue, 5 Feb 2013 15:56:32 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/5213&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/5213&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="88863" author="cliffw" created="Fri, 11 Jul 2014 19:19:56 +0000"  >&lt;p&gt;The patch has failing in testing,is it possible for you to update it?&lt;/p&gt;</comment>
                            <comment id="131017" author="kshatskyy" created="Wed, 21 Oct 2015 15:28:23 +0000"  >&lt;p&gt;New patch 27 uploaded after rebase&lt;/p&gt;</comment>
                            <comment id="217412" author="gerrit" created="Wed, 3 Jan 2018 22:20:38 +0000"  >&lt;p&gt;James Nunez (james.a.nunez@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/30703&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/30703&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2711&quot; title=&quot;Code execution between test declarations in suite scripts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2711&quot;&gt;&lt;del&gt;LU-2711&lt;/del&gt;&lt;/a&gt; tests: conf-sanity clean up environment in test&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: a41f9bee93203b1ad16d02b77a9669776a7718a1&lt;/p&gt;</comment>
                            <comment id="227042" author="gerrit" created="Wed, 2 May 2018 02:23:18 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/30703/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/30703/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2711&quot; title=&quot;Code execution between test declarations in suite scripts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2711&quot;&gt;&lt;del&gt;LU-2711&lt;/del&gt;&lt;/a&gt; tests: conf-sanity clean up environment in test&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: b79a2cc8f2c72f35e38b93d3399fbf04fe6ad740&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|hzvi8n:</customfieldvalue>

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