<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:28:57 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-2873] The test-framework generates garbage while skipping tests</title>
                <link>https://jira.whamcloud.com/browse/LU-2873</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;If we use ONLY variable, then the test-framework generates garbage in its output, that complicates log parsing, because of randomness behavior. For example, following command:&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;ONLY=6h /usr/lib64/lustre/tests/sanity.sh
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;can have following output:&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;ONLY=6h /usr/lib64/lustre/tests/sanity.sh 
Logging to shared log directory: /testing/aaaa/test_logs/1361270584
itm76.xyua: Checking config lustre mounted on /mnt/lustre
Checking servers environments
Checking clients itm76.xyua environments
Using TIMEOUT=20
disable quota as required
setting all flavor to &lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;
already have total 5 &lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt; connections
running as uid/gid/euid/egid 500/500/500/500, groups:
 [touch] [/mnt/lustre/d0_runas_test/f32541]
only running test 6h
excepting tests: 27u 42a 42b 42c 42d 45 51d 68b
skipping tests SLOW=no: 24o 24v 27m 36f 36g 36h 51b 60c 63 64b 68 71 73 77f 78 101a 103 115 120g 124b
preparing &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; tests involving mounts
mke2fs 1.42.6.x1 (10-Dec-2012)

debug=-1
....................

== sanity test 6h: runas -u 500 -g 500 chown RUNAS_ID.0 .../f6h (should &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; error) == 12:43:05 (1361270585)
running as uid/gid/euid/egid 500/500/500/500, groups: 500
 [chown] [500:0] [/mnt/lustre/f6h]
chown: changing ownership of `/mnt/lustre/f6h&apos;: Operation not permitted
/mnt/lustre/f6h has type file OK
/mnt/lustre/f6h is owned by user #500 OK
/mnt/lustre/f6h is owned by group #500 OK
Resetting fail_loc on all nodes...done.
PASS 6h (0s)
................................................................................................................................................................................................................................................................................................................resend_count is set to 4 4 4 4
...........resend_count is set to 10 10 10 10
......................................................................................== sanity sanity.sh test complete, duration 2 sec == 12:43:06 (1361270586)
debug=&lt;span class=&quot;code-keyword&quot;&gt;super&lt;/span&gt; ioctl neterror warning dlmtrace error emerg ha rpctrace vfstrace config console
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Where numerous dots &lt;tt&gt;.....&lt;/tt&gt; are generated garbage by run_test function, see 3285 line of test-framework.sh exerpt:&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;3267 run_test() {
3268     assert_DIR
3269 
3270     export base=`basetest $1`
3271     &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; [ ! -z &lt;span class=&quot;code-quote&quot;&gt;&quot;$ONLY&quot;&lt;/span&gt; ]; then
3272         testname=ONLY_$1
3273         &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; [ ${!testname}x != x ]; then
3274             [ &lt;span class=&quot;code-quote&quot;&gt;&quot;$LAST_SKIPPED&quot;&lt;/span&gt; ] &amp;amp;&amp;amp; echo &quot;&quot; &amp;amp;&amp;amp; LAST_SKIPPED=
3275             run_one_logged $1 &lt;span class=&quot;code-quote&quot;&gt;&quot;$2&quot;&lt;/span&gt;
3276             &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; $?
3277         fi
3278         testname=ONLY_$base
3279         &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; [ ${!testname}x != x ]; then
3280             [ &lt;span class=&quot;code-quote&quot;&gt;&quot;$LAST_SKIPPED&quot;&lt;/span&gt; ] &amp;amp;&amp;amp; echo &quot;&quot; &amp;amp;&amp;amp; LAST_SKIPPED=
3281             run_one_logged $1 &lt;span class=&quot;code-quote&quot;&gt;&quot;$2&quot;&lt;/span&gt;
3282             &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; $?
3283         fi
3284         LAST_SKIPPED=&lt;span class=&quot;code-quote&quot;&gt;&quot;y&quot;&lt;/span&gt;
3285         echo -n &lt;span class=&quot;code-quote&quot;&gt;&quot;.&quot;&lt;/span&gt;
3286         &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; 0
3287     fi
3288 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;The reason is in this line:&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;3285         echo -n &lt;span class=&quot;code-quote&quot;&gt;&quot;.&quot;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="17709">LU-2873</key>
            <summary>The test-framework generates garbage while skipping tests</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="jamesanunez">James Nunez</assignee>
                                    <reporter username="kshatskyy">Kyr Shatskyy</reporter>
                        <labels>
                            <label>patch</label>
                            <label>tests</label>
                    </labels>
                <created>Tue, 26 Feb 2013 21:32:08 +0000</created>
                <updated>Fri, 22 Mar 2013 18:52:45 +0000</updated>
                            <resolved>Fri, 22 Mar 2013 18:52:45 +0000</resolved>
                                                    <fixVersion>Lustre 2.4.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="53058" author="kshatskyy" created="Tue, 26 Feb 2013 21:44:12 +0000"  >&lt;p&gt;Xyratex: &lt;a href=&quot;http://jira-nss.xyratex.com/browse/MRP-863&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;MRP-863&lt;/a&gt;&lt;br/&gt;
Review patch &lt;a href=&quot;http://review.whamcloud.com/5540&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/5540&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="54687" author="pjones" created="Fri, 22 Mar 2013 18:52:45 +0000"  >&lt;p&gt;Landed for 2.4&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|hzvjw7:</customfieldvalue>

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