<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:08:31 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-589] test-packages launched by auster.sh read the wrong configuration file when auster.sh is invoked with the &apos;-c&apos; option</title>
                <link>https://jira.whamcloud.com/browse/LU-589</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;auster.sh has the &apos;-c&apos; option to specify the location of an acceptance-small configuration file, however auster.sh doesn&apos;t export the corresponding CONFIG variable to test-package scripts which causes them to read the default &apos;local&apos; configuration file.&lt;/p&gt;

&lt;p&gt;Here I specify the configuration file /tmp/polluxp2_multi_node.sh&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;./auster.sh -c /tmp/polluxp2_multi_node.sh sanity --only 1&lt;br/&gt;
&amp;lt;snip&amp;gt;&lt;br/&gt;
run_suite sanity /opt/cray/lustre-cray_gem_s/default/lib64/lustre/tests/sanity.sh&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;With &apos;set -x&apos; set in sanity.sh we can see that it reads the wrong configuration file.&lt;/p&gt;

&lt;p&gt;+ . /opt/cray/lustre-cray_gem_s/default/lib64/lustre/tests/cfg/local.sh&lt;/p&gt;

&lt;p&gt;With the following change we can see the correct configuration file is read.&lt;/p&gt;

&lt;p&gt;diff --git a/lustre/tests/auster.sh b/lustre/tests/auster.sh&lt;br/&gt;
index 39f5c62..91dcb7c 100755&lt;br/&gt;
&amp;#8212; a/lustre/tests/auster.sh&lt;br/&gt;
+++ b/lustre/tests/auster.sh&lt;br/&gt;
@@ -69,7 +69,7 @@ export ${NAME:=local}&lt;br/&gt;
 while getopts &quot;c:d&lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/biggrin.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;:nkf:g:i:rRslhv&quot; opt&lt;br/&gt;
 do&lt;br/&gt;
     case &quot;$opt&quot; in&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;c) CONFIG=$OPTARG;;&lt;br/&gt;
+       c) export CONFIG=$OPTARG;;&lt;br/&gt;
        d) test_logs_dir=$OPTARG/$(date +%Y-%m-%d)/$(date +%H%M%S);;&lt;br/&gt;
        D) test_logs_dir=$OPTARG;;&lt;br/&gt;
        g) test_group_file=$OPTARG;;&lt;/li&gt;
&lt;/ul&gt;


&lt;ol&gt;
	&lt;li&gt;./auster.sh -c /tmp/polluxp2_multi_node.sh sanity --only 1&lt;br/&gt;
&amp;lt;snip&amp;gt;&lt;br/&gt;
run_suite sanity /opt/cray/lustre-cray_gem_s/default/lib64/lustre/tests/sanity.sh&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;+ . /tmp/polluxp2_multi_node.sh&lt;/p&gt;</description>
                <environment></environment>
        <key id="11478">LU-589</key>
            <summary>test-packages launched by auster.sh read the wrong configuration file when auster.sh is invoked with the &apos;-c&apos; option</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="wc-triage">WC Triage</assignee>
                                    <reporter username="hornc">Chris Horn</reporter>
                        <labels>
                    </labels>
                <created>Thu, 11 Aug 2011 15:41:16 +0000</created>
                <updated>Wed, 26 Aug 2015 17:40:49 +0000</updated>
                            <resolved>Wed, 26 Aug 2015 17:40:49 +0000</resolved>
                                    <version>Lustre 2.0.0</version>
                    <version>Lustre 2.1.0</version>
                    <version>Lustre 1.8.7</version>
                    <version>Lustre 1.8.6</version>
                                    <fixVersion>Lustre 2.8.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="19098" author="hornc" created="Thu, 11 Aug 2011 15:49:07 +0000"  >&lt;p&gt;Sorry. I guess one of these days I should learn the Jira markup. The diff is the following:&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;diff --git a/1.8.6/lustre/tests/auster.sh b/1.8.6/lustre/tests/auster.sh
index 39f5c62..91dcb7c 100644
--- a/1.8.6/lustre/tests/auster.sh
+++ b/1.8.6/lustre/tests/auster.sh
@@ -69,7 +69,7 @@ export ${NAME:=local}
 while getopts &quot;c:d:D:nkf:g:i:rRslhv&quot; opt
 do
     case &quot;$opt&quot; in
-       c) CONFIG=$OPTARG;;
+       c) export CONFIG=$OPTARG;;
        d) test_logs_dir=$OPTARG/$(date +%Y-%m-%d)/$(date +%H%M%S);;
        D) test_logs_dir=$OPTARG;;
        g) test_group_file=$OPTARG;;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="27539" author="adilger" created="Fri, 27 Jan 2012 19:11:53 +0000"  >&lt;p&gt;Chris Horn,&lt;br/&gt;
could you please submit this as a patch to Gerrit instead of an inline comment here in Jira.  That will allow the patch to be tested and submitted into the upstream repository.  Please submit a patch for the &quot;master&quot; branch in addition to the b1_8 branch, and paste the URLs for those Gerrit changes into a comment here for tracking purposes.&lt;/p&gt;

&lt;p&gt;Thanks for your contribution to Lustre.&lt;/p&gt;</comment>
                            <comment id="27588" author="hornc" created="Mon, 30 Jan 2012 10:56:52 +0000"  >&lt;p&gt;Against master:&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/2051&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/2051&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Against b1_8:&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/2052&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/2052&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="33592" author="adilger" created="Thu, 5 Apr 2012 17:52:59 +0000"  >&lt;p&gt;Chris, can you please comment.&lt;/p&gt;</comment>
                            <comment id="81735" author="hornc" created="Wed, 16 Apr 2014 14:41:15 +0000"  >&lt;p&gt;Wow, I really lost track of this one... I&apos;ve refreshed the master patch. Let me know if this is still wanted on b1_8.&lt;/p&gt;</comment>
                            <comment id="125194" author="gerrit" created="Wed, 26 Aug 2015 15:33:04 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/2051/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/2051/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-589&quot; title=&quot;test-packages launched by auster.sh read the wrong configuration file when auster.sh is invoked with the &amp;#39;-c&amp;#39; option&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-589&quot;&gt;&lt;del&gt;LU-589&lt;/del&gt;&lt;/a&gt; auster: Export &apos;CONFIG&apos; environment variable.&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 978aae23b5949bb97451c2ccbedabb26c30df813&lt;/p&gt;</comment>
                            <comment id="125225" author="jgmitter" created="Wed, 26 Aug 2015 17:40:49 +0000"  >&lt;p&gt;Landed for 2.8.&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|hzvy8v:</customfieldvalue>

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