<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:27:14 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-9557] sanity-quota test 0 fails with &apos;SLOW IO for quota_usr (user): XX KB/sec&apos; </title>
                <link>https://jira.whamcloud.com/browse/LU-9557</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;sanity-quota test_0 fails with &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;&apos;SLOW IO for quota_usr (user): 426 KB/sec&apos; 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The last thing seen in the test_log from test 0 is as expected&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;running as uid/gid/euid/egid 60000/60000/60000/60000, groups:
 [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d0.sanity-quota/f0.sanity-quota-0] [count=10] [conv=fsync]
10+0 records in
10+0 records out
10485760 bytes (10 MB) copied, 0.427085 s, 24.6 MB/s
 sanity-quota test_0: @@@@@@ FAIL: SLOW IO for quota_usr (user): 426 KB/sec 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The subroutine that is failing is test_quota_performance() in sanity-quota.sh:&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; 423 test_quota_performance() {
 424         local TESTFILE=&quot;$DIR/$tdir/$tfile-0&quot;
 425         local size=$1 # in MB
 426         local stime=$(date +%s)
 427         $RUNAS $DD of=$TESTFILE count=$size conv=fsync ||
 428                 quota_error u $TSTUSR &quot;write failure&quot;
 429         local etime=$(date +%s)
 430         delta=$((etime - stime))
 431         if [ $delta -gt 0 ]; then
 432             rate=$((size * 1024 / delta))
 433             if [ $(facet_fstype $SINGLEMDS) = &quot;zfs&quot; ]; then
 434                 # LU-2872 - see LU-2887 for fix
 435                 [ $rate -gt 64 ] ||
 436                         error &quot;SLOW IO for $TSTUSR (user): $rate KB/sec&quot;
 437             else
 438                 [ $rate -gt 1024 ] ||
 439                         error &quot;SLOW IO for $TSTUSR (user): $rate KB/sec&quot;
 440             fi
 441         fi
 442         rm -f $TESTFILE
 443 }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;


&lt;p&gt;This test started failing with this error message starting May 12, 2017 and is only failing, so far, in review-dne-part-2. The only patch that modified sanity-quota and landed close to the time this test started to fail was reviewed at &lt;a href=&quot;https://review.whamcloud.com/26411&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/26411&lt;/a&gt; and has change-ID I4f22c1e9.&lt;/p&gt;

&lt;p&gt;There is nothing interesting in the console logs on any node. &lt;/p&gt;

&lt;p&gt;Here are all the failures so far:&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/0ae25452-373d-11e7-b0a8-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/0ae25452-373d-11e7-b0a8-5254006e85c2&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/0f17788e-379e-11e7-a0ec-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/0f17788e-379e-11e7-a0ec-5254006e85c2&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/933c6c4a-3d26-11e7-b556-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/933c6c4a-3d26-11e7-b556-5254006e85c2&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/9d856dfc-3fe5-11e7-b3f6-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/9d856dfc-3fe5-11e7-b3f6-5254006e85c2&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/7a15e686-4098-11e7-bc6c-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/7a15e686-4098-11e7-bc6c-5254006e85c2&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/6ba8b6ae-40a8-11e7-91f4-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/6ba8b6ae-40a8-11e7-91f4-5254006e85c2&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="46299">LU-9557</key>
            <summary>sanity-quota test 0 fails with &apos;SLOW IO for quota_usr (user): XX KB/sec&apos; </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="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="jamesanunez">James Nunez</reporter>
                        <labels>
                    </labels>
                <created>Wed, 24 May 2017 22:58:32 +0000</created>
                <updated>Fri, 26 May 2017 01:56:46 +0000</updated>
                                            <version>Lustre 2.10.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="197140" author="adilger" created="Fri, 26 May 2017 01:56:46 +0000"  >&lt;p&gt;It&apos;s strange that this test is complaining about running too slow, when &quot;dd&quot; is reporting a much higher speed:&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;10485760 bytes (10 MB) copied, 0.427085 s, 24.6 MB/s
 sanity-quota test_0: @@@@@@ FAIL: SLOW IO for quota_usr (user): 426 KB/sec 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&quot;dd&quot; reports 24.6MB/s, the script calculates 426 KB/s?&lt;/p&gt;

&lt;p&gt;It would be useful to improve the error message to include &lt;tt&gt;stime&lt;/tt&gt;, &lt;tt&gt;etime&lt;/tt&gt;, and &lt;tt&gt;delta&lt;/tt&gt;.  As a side note, it is better to use the bash built-in &quot;&lt;tt&gt;$SECONDS&lt;/tt&gt;&quot; variable to get &lt;tt&gt;stime&lt;/tt&gt; and then calculate &lt;tt&gt;delta=$((SECONDS - stime))&lt;/tt&gt; directly to avoid two extra forks to call &lt;tt&gt;date&lt;/tt&gt;.&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|hzzdkn:</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>