<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:57:10 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-6095] racer.sh should propagate $TRUNCATE to remote clients</title>
                <link>https://jira.whamcloud.com/browse/LU-6095</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Running racer with 2 clients I noticed that $TRUNCATE (from init_test_env()) was not defined when file_truncate.sh was executed. This needs to be added to the list of propagated variables in test_1():&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;        &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; rdir in $RDIRS; &lt;span class=&quot;code-keyword&quot;&gt;do&lt;/span&gt;
                do_nodes $clients &quot;DURATION=$DURATION MDSCOUNT=$MDSCOUNT \
                                   $racer $rdir $NUM_RACER_THREADS&quot; &amp;amp;
                pid=$!
                rpids=&lt;span class=&quot;code-quote&quot;&gt;&quot;$rpids $pid&quot;&lt;/span&gt;
        done
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;In file_truncate.sh we should test that $TRUNCATE is set, exists and is executable before continuing&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;DIR=$1
MAX=$2

&lt;span class=&quot;code-keyword&quot;&gt;while&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;; &lt;span class=&quot;code-keyword&quot;&gt;do&lt;/span&gt;
        file=$DIR/$((RANDOM % MAX))
        $TRUNCATE $file $RANDOM 2&amp;gt; /dev/&lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;
done
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The net result of this is a lot of copies of sleep, sleeping for $RANDOM seconds&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;root     13252     1  0 25226   548   1 10:59 ?        00:00:00   /mnt/lustre/racer/11 19675
root     13505     1  0 25226   544   1 10:59 ?        00:00:00   /mnt/lustre2/racer/11 21574
root     13815     1  0 25226   544   1 10:59 ?        00:00:00   /mnt/lustre2/racer/11 21401
root     14293     1  0 25226   548   1 10:59 ?        00:00:00   /mnt/lustre2/racer/10 10467
root     19131     1  0 25226   548   1 11:00 ?        00:00:00   /mnt/lustre/racer/13 12387
root     21592     1  0 25226   532   0 11:00 ?        00:00:00   /mnt/lustre2/racer3/16 4617
root     21860     1  0 25226   532   0 11:00 ?        00:00:00   /mnt/lustre/racer3/16 21599
root     27685     1  0 25226   544   0 11:00 ?        00:00:00   /mnt/lustre2/racer1/11 16802
root     31564     1  0 25226   544   1 11:00 ?        00:00:00   /mnt/lustre/racer1/2 11079
root      5097     1  0 25226   536   1 11:00 ?        00:00:00   /mnt/lustre2/racer2/13 25438
root     16030     1  0 25226   544   0 11:01 ?        00:00:00   /mnt/lustre2/racer2/14 21194
root     21334     1  0 25226   532   0 11:01 ?        00:00:00   /mnt/lustre/racer2/3 29716
root     25177     1  0 25226   536   1 11:01 ?        00:00:00   /mnt/lustre2/racer1/5 15303
root     11551     1  0 25226   532   1 11:02 ?        00:00:00   /mnt/lustre2/racer3/11 27347
root     12460     1  0 25226   544   1 11:02 ?        00:00:00   /mnt/lustre/racer2/2 26261
root     14345     1  0 25226   536   0 11:02 ?        00:00:00   /mnt/lustre2/racer3/7 16972
root     15573     1  0 25226   548   1 11:02 ?        00:00:00   /mnt/lustre2/racer2/15 13108
root     16148     1  0 25226   536   0 11:02 ?        00:00:00   /mnt/lustre/racer3/7 13826
root     17143     1  0 25226   544   1 11:03 ?        00:00:00   /mnt/lustre/racer1/3 15848
root     11075     1  0 25226   548   0 11:04 ?        00:00:00   /mnt/lustre/racer3/18 19787
root     27160     1  0 25226   548   1 11:07 ?        00:00:00   /mnt/lustre/racer2/5 21942
root     10983     1  0 25226   532   0 11:09 ?        00:00:00   /mnt/lustre2/racer1/16 31928
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;In turn this makes it impossible for racer to complete successfully.&lt;/p&gt;

&lt;p&gt;The other subscripts should be audited for similar issues.&lt;/p&gt;</description>
                <environment></environment>
        <key id="28097">LU-6095</key>
            <summary>racer.sh should propagate $TRUNCATE to remote clients</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="jhammond">John Hammond</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                            <label>racer</label>
                    </labels>
                <created>Thu, 8 Jan 2015 19:59:49 +0000</created>
                <updated>Tue, 3 Feb 2015 18:39:26 +0000</updated>
                            <resolved>Tue, 3 Feb 2015 18:39:26 +0000</resolved>
                                    <version>Lustre 2.7.0</version>
                                    <fixVersion>Lustre 2.7.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="103039" author="adilger" created="Fri, 9 Jan 2015 18:28:47 +0000"  >&lt;p&gt;It might also make sense for the &lt;tt&gt;racer/file_truncate.sh&lt;/tt&gt; script to have a default value for $TRUNCATE:&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;TRUNCATE=${TRUNCATE:-truncate}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;so that this script works in the absence of external environment variables?&lt;/p&gt;</comment>
                            <comment id="104403" author="gerrit" created="Thu, 22 Jan 2015 20:54:50 +0000"  >&lt;p&gt;Jinshan Xiong (jinshan.xiong@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/13501&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/13501&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6095&quot; title=&quot;racer.sh should propagate $TRUNCATE to remote clients&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6095&quot;&gt;&lt;del&gt;LU-6095&lt;/del&gt;&lt;/a&gt; tests: define TRUNCATE program for racer&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 50d2e77bc8b9c3a35d069186c0f27d7ccf3a7fde&lt;/p&gt;</comment>
                            <comment id="105546" author="gerrit" created="Tue, 3 Feb 2015 18:30:38 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/13501/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/13501/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6095&quot; title=&quot;racer.sh should propagate $TRUNCATE to remote clients&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6095&quot;&gt;&lt;del&gt;LU-6095&lt;/del&gt;&lt;/a&gt; tests: define TRUNCATE program for racer&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 26cf2a21efc668081a08b4efe0a8a719cb2df40c&lt;/p&gt;</comment>
                            <comment id="105552" author="pjones" created="Tue, 3 Feb 2015 18:39:26 +0000"  >&lt;p&gt;Landed for 2.7&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|hzx3hj:</customfieldvalue>

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