<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:30:09 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-16804] Exported variable not available in test scripts</title>
                <link>https://jira.whamcloud.com/browse/LU-16804</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;I have a strange behavior with a custom test for the patch &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/50825&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/50825&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I specify env=SHARED_KEY=true, and it seems to be taken into account, but not from the beginning. With a grep on the debug traces I added, we can see:&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;2023-05-03T21:41:51 export SHARED_KEY=&quot;true&quot;
2023-05-03T21:41:51 SHARED_KEY=false LGSS_SK= GSS_SK=false
2023-05-03T21:41:51 LGSS_SK=
2023-05-03T21:42:26 trevis-129vm4: SHARED_KEY=false LGSS_SK= GSS_SK=false
2023-05-03T21:42:26 trevis-129vm4: LGSS_SK=
2023-05-03T21:42:26 trevis-129vm5: SHARED_KEY=false LGSS_SK= GSS_SK=false
2023-05-03T21:42:26 trevis-129vm5: LGSS_SK=
2023-05-03T21:42:26 trevis-129vm3: SHARED_KEY=false LGSS_SK= GSS_SK=false
2023-05-03T21:42:26 trevis-129vm3: LGSS_SK=
2023-05-03T21:43:46 SHARED_KEY=true LGSS_SK= GSS_SK=false
2023-05-03T21:43:46 SHARED_KEY=true LGSS_SK= GSS_SK=true
2023-05-03T21:43:56 LGSS_SK=
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;While we can see &quot;export SHARED_KEY=&quot;true&quot;&quot; to start, &lt;tt&gt;SHARED_KEY&lt;/tt&gt; appears to be set to &lt;tt&gt;false&lt;/tt&gt; in function init_test_env(). And later on in init_gss(), it gets proper value.&lt;/p&gt;

&lt;p&gt;Any idea why init_test_env() does not see the correct value? Could it be fixed?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Sebastien.&lt;/p&gt;</description>
                <environment></environment>
        <key id="75917">LU-16804</key>
            <summary>Exported variable not available in test 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="sebastien">Sebastien Buisson</assignee>
                                    <reporter username="sebastien">Sebastien Buisson</reporter>
                        <labels>
                    </labels>
                <created>Wed, 3 May 2023 23:52:09 +0000</created>
                <updated>Thu, 30 Nov 2023 17:13:28 +0000</updated>
                            <resolved>Wed, 31 May 2023 20:31:27 +0000</resolved>
                                                    <fixVersion>Lustre 2.16.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="371291" author="sebastien" created="Wed, 3 May 2023 23:53:24 +0000"  >&lt;p&gt;Full logs of lustre-initialization-1.autotest.onyx-124vm1.log are at:&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_logs/82e925b7-762e-4c69-a55f-c6a70b09b0cf/show_text&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_logs/82e925b7-762e-4c69-a55f-c6a70b09b0cf/show_text&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="371571" author="colmstea" created="Mon, 8 May 2023 21:53:17 +0000"  >&lt;p&gt;Move to an LU Jira as this is not an ATM issue since it&apos;s in the Lustre code base.&lt;/p&gt;

&lt;p&gt;init_test_env doesn&apos;t see the proper SHARED_KEY value because init_test_env doesn&apos;t load CONFIG until the end of the function.&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;180:init_test_env() {
450: &#160; &#160;. ${CONFIG:=$LUSTRE/tests/cfg/$NAME.sh} &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="371763" author="gerrit" created="Wed, 10 May 2023 12:18:39 +0000"  >&lt;p&gt;&quot;Sebastien Buisson &amp;lt;sbuisson@ddn.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/50914&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/50914&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16804&quot; title=&quot;Exported variable not available in test scripts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16804&quot;&gt;&lt;del&gt;LU-16804&lt;/del&gt;&lt;/a&gt; tests: load CONFIG at beginning of init_test_env&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: df7d39a9027633eb7e173f78373c3cc1477ca855&lt;/p&gt;</comment>
                            <comment id="374015" author="gerrit" created="Wed, 31 May 2023 19:11:05 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/50914/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/50914/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16804&quot; title=&quot;Exported variable not available in test scripts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16804&quot;&gt;&lt;del&gt;LU-16804&lt;/del&gt;&lt;/a&gt; tests: load CONFIG at beginning of init_test_env&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: fdbb2bc8495064e1d9e61f02bcfd13b1e6aec8da&lt;/p&gt;</comment>
                            <comment id="374051" author="pjones" created="Wed, 31 May 2023 20:31:27 +0000"  >&lt;p&gt;Landed for 2.16&lt;/p&gt;</comment>
                            <comment id="376013" author="gerrit" created="Tue, 20 Jun 2023 19:03:29 +0000"  >&lt;p&gt;&quot;Andreas Dilger &amp;lt;adilger@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/51383&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/51383&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16804&quot; title=&quot;Exported variable not available in test scripts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16804&quot;&gt;&lt;del&gt;LU-16804&lt;/del&gt;&lt;/a&gt; tests: rename &apos;complete&apos; to &apos;complete_test&apos;&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 81c4cd81c26b688b67363a8a2c9417499bd53106&lt;/p&gt;</comment>
                            <comment id="376813" author="gerrit" created="Wed, 28 Jun 2023 22:05:40 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/51383/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/51383/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16804&quot; title=&quot;Exported variable not available in test scripts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16804&quot;&gt;&lt;del&gt;LU-16804&lt;/del&gt;&lt;/a&gt; tests: rename &apos;complete&apos; to &apos;complete_test&apos;&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 6884b8af231c2c39f60eae44ebbd32e82ca5ca91&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </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_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i03kkn:</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>
                                                                                            <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>