<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:57:12 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-6098] enable test-framework.sh:setupall() to start servers only</title>
                <link>https://jira.whamcloud.com/browse/LU-6098</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;llmount.sh uses test-framework.sh:setupall() to start the MGS, MDT, OSTs, and then mount the client.  setupall() can currently be made to only mount the client, by setting an environment variable CLIENTONLY.  It starts the debug_daemon, if an environment variable DAEMONFILE is set.&lt;/p&gt;

&lt;p&gt;One change is to make it start only the servers, when an environment variable SERVERONLY is set.  &lt;/p&gt;

&lt;p&gt;The second change is to start debug_daemon before starting servers, if DAEMONFILE is set, instead of starting it before mounting the client, as it does now.&lt;/p&gt;

&lt;p&gt;Combined, these make it easier to examine the startup process.&lt;/p&gt;</description>
                <environment></environment>
        <key id="28103">LU-6098</key>
            <summary>enable test-framework.sh:setupall() to start servers only</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="5" iconUrl="https://jira.whamcloud.com/images/icons/priorities/trivial.svg">Trivial</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="yujian">Jian Yu</assignee>
                                    <reporter username="ofaaland">Olaf Faaland</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Thu, 8 Jan 2015 22:33:36 +0000</created>
                <updated>Tue, 25 Aug 2015 00:55:43 +0000</updated>
                            <resolved>Tue, 25 Aug 2015 00:55:43 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="102929" author="gerrit" created="Thu, 8 Jan 2015 23:45:01 +0000"  >&lt;p&gt;Olaf Faaland-LLNL (ofaalandllnl@gmail.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/13300&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/13300&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6098&quot; title=&quot;enable test-framework.sh:setupall() to start servers only&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6098&quot;&gt;&lt;del&gt;LU-6098&lt;/del&gt;&lt;/a&gt; tests: skip client mount in test-framework&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 7b54b73fc20378a07c0e0b4fdd5dba4773c5bded&lt;/p&gt;</comment>
                            <comment id="102930" author="gerrit" created="Thu, 8 Jan 2015 23:45:02 +0000"  >&lt;p&gt;Olaf Faaland-LLNL (ofaalandllnl@gmail.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/13301&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/13301&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6098&quot; title=&quot;enable test-framework.sh:setupall() to start servers only&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6098&quot;&gt;&lt;del&gt;LU-6098&lt;/del&gt;&lt;/a&gt; tests: start debug_daemon before server start&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 0c4bd2f636689da3ee6640f1fb6a638eb0644cf2&lt;/p&gt;</comment>
                            <comment id="102931" author="pjones" created="Thu, 8 Jan 2015 23:47:11 +0000"  >&lt;p&gt;Jian&lt;/p&gt;

&lt;p&gt;Could you please review this patch?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="102932" author="ofaaland" created="Fri, 9 Jan 2015 00:00:33 +0000"  >&lt;p&gt;I fixed the formatting issues and re-pushed the patch.&lt;/p&gt;</comment>
                            <comment id="102975" author="yujian" created="Fri, 9 Jan 2015 08:06:09 +0000"  >&lt;p&gt;Thank you Olaf for the patches. I&apos;ll review them.&lt;/p&gt;</comment>
                            <comment id="103127" author="ofaaland" created="Sat, 10 Jan 2015 02:22:04 +0000"  >&lt;p&gt;Jian,&lt;/p&gt;

&lt;p&gt;Thank you for your comments.  With regards to the two places where $LCTL should be run via do_nodes so that it is executed remotely when appropriate, I agree but have no existing environment in which to test the remote case.  &lt;/p&gt;

&lt;p&gt;I can make the changes and test them in my environment (all components running on the same machine), and I believe it will work for the remote case.  Do you, or someone, have an environment in which to test the remote case, easily?&lt;/p&gt;

&lt;p&gt;-Olaf&lt;/p&gt;</comment>
                            <comment id="103128" author="yujian" created="Sat, 10 Jan 2015 03:46:45 +0000"  >&lt;p&gt;Hi Olaf,&lt;/p&gt;

&lt;p&gt;Please feel free to update the patch after it passes your local testing. The autotest system will verify the patch on 4 test nodes (2 Clients + 1 MDS + 1 OSS). In order to test the case of starting debug daemon on remote nodes, you can add the following test parameters into the commit message:&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;Test-Parameters: alwaysuploadlogs envdefinitions=START_DEBUG_DAEMON=true \
testlist=runtests
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I saw setupall was used in lustre/tests/runtests. You can also specify other tests (sanity, conf-sanity, etc.) that use setupall to the above testlist.&lt;/p&gt;</comment>
                            <comment id="103549" author="ofaaland" created="Thu, 15 Jan 2015 02:05:04 +0000"  >&lt;p&gt;Hello Jian,&lt;/p&gt;

&lt;p&gt;Thank you.  I submitted updated code without the Test-Parameters to allow autotest to verify the normal case (DAEMONFILE is null).  When it looks to be done, I&apos;ll amend the commit message and submit again to kick off autotest with DAEMONFILE non-null.&lt;/p&gt;

&lt;p&gt;I chose to stick with using &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;[ -n $DAEMONFILE ]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt; as the condition that causes debug_daemon to be started, so that the user has partial control over the filename.&lt;/p&gt;

&lt;p&gt;I chose to stick with -z for testing CLIENTONLY and SERVERONLY because I&apos;ve seen that used widely in shell scripts, and so I think will be more predictable to new folk, and because it avoids the user being confused when they use some variant of true that I did not check for.&lt;/p&gt;

&lt;p&gt;If you feel strongly about either of those, I&apos;m open to changing them.&lt;/p&gt;

&lt;p&gt;thanks,&lt;br/&gt;
Olaf&lt;/p&gt;</comment>
                            <comment id="103817" author="yujian" created="Sat, 17 Jan 2015 07:25:34 +0000"  >&lt;p&gt;That&apos;s fine Olaf. For Test-Parameters, it&apos;s an extra custom test session that does not affect the normal review test sessions, so you can still specify the test parameters with non-null DAEMONFILE. The normal review test sessions will be run with null DAEMONFILE by default.&lt;/p&gt;</comment>
                            <comment id="112434" author="ofaaland" created="Mon, 20 Apr 2015 18:36:41 +0000"  >&lt;p&gt;Jian,&lt;/p&gt;

&lt;p&gt;I rebased these patches and fixed the checkpatch complaints, but the patch timed out in sanity test 56a (&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6133&quot; title=&quot;sanity test_56a: timeout&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6133&quot;&gt;&lt;del&gt;LU-6133&lt;/del&gt;&lt;/a&gt;, I saw you were working on it).&lt;/p&gt;

&lt;p&gt;Is there any way for me to proceed, or should I wait for &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6133&quot; title=&quot;sanity test_56a: timeout&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6133&quot;&gt;&lt;del&gt;LU-6133&lt;/del&gt;&lt;/a&gt; to be resolved?&lt;/p&gt;

&lt;p&gt;thanks,&lt;br/&gt;
Olaf&lt;/p&gt;</comment>
                            <comment id="112484" author="yujian" created="Tue, 21 Apr 2015 07:49:56 +0000"  >&lt;p&gt;Hi Olaf,&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;Is there any way for me to proceed, or should I wait for &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6133&quot; title=&quot;sanity test_56a: timeout&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6133&quot;&gt;&lt;del&gt;LU-6133&lt;/del&gt;&lt;/a&gt; to be resolved?&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Thank you for updating the patches. I just restarted the patch review testing.&lt;/p&gt;</comment>
                            <comment id="124967" author="ofaaland" created="Tue, 25 Aug 2015 00:10:51 +0000"  >&lt;p&gt;The use case I had in mind was local testing, and making these scripts more complex for that, now seems to me like a bad idea.  I&apos;m abandoning the two patches.&lt;/p&gt;

&lt;p&gt;However, thank you, Jian, for helping me out with them.&lt;/p&gt;</comment>
                            <comment id="124968" author="yujian" created="Tue, 25 Aug 2015 00:22:05 +0000"  >&lt;p&gt;You&apos;re welcome, Olaf. May I close this ticket?&lt;/p&gt;</comment>
                            <comment id="124969" author="ofaaland" created="Tue, 25 Aug 2015 00:39:46 +0000"  >&lt;p&gt;Yes, do close it.&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|hzx3if:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>16974</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>