<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:55:27 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-12766] sanity-quota test 3 fails with &apos;write success, but expect EDQUOT&apos;</title>
                <link>https://jira.whamcloud.com/browse/LU-12766</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;sanity-quota test_3 fails with &apos;write success, but expect EDQUOT&apos;, but looking at the client test_log we 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;Total allocated inode limit: 0, total allocated block limit: 0
pid 1000 is using default file quota setting
Files for project (1000):
lfs: failed for &apos;/mnt/lustre&apos;: Too many levels of symbolic links
 sanity-quota test_3: @@@@@@ FAIL: write success, but expect EDQUOT 
  Trace dump:
  = /usr/lib64/lustre/tests/test-framework.sh:6115:error()
  = /usr/lib64/lustre/tests/sanity-quota.sh:152:quota_error()
  = /usr/lib64/lustre/tests/sanity-quota.sh:771:test_block_soft()
  = /usr/lib64/lustre/tests/sanity-quota.sh:827:test_3()
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;There is no additional errors or indication of a problem in any of the console logs. &lt;/p&gt;

&lt;p&gt;We&#8217;ve only seen sanity-quota test 3 fail with this error and with the lfs error:&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_sets/7a25bb86-d6ed-11e9-a2b6-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/7a25bb86-d6ed-11e9-a2b6-52540065bddc&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We&apos;ve seen sanity-quota test 3 fail with the same &quot;write success, but expect EDQUOT &quot; error, but the test_log does not have the lfs error. The logs have a different failure:&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;Total allocated inode limit: 0, total allocated block limit: 0
Some errors happened when getting quota info. Some devices may be not working or deactivated. The data in &quot;[]&quot; is inaccurate.
Files for project (1000):
 sanity-quota test_3: @@@@@@ FAIL: write success, but expect EDQUOT 
  Trace dump:
  = /usr/lib64/lustre/tests/test-framework.sh:6114:error()
  = /usr/lib64/lustre/tests/sanity-quota.sh:152:quota_error()
  = /usr/lib64/lustre/tests/sanity-quota.sh:734:test_block_soft()
  = /usr/lib64/lustre/tests/sanity-quota.sh:784:test_3()
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Logs for these errors are at&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_sets/43331474-b5b5-11e9-a1bd-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/43331474-b5b5-11e9-a1bd-52540065bddc&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_sets/5f2b2d6c-bffe-11e9-98c8-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/5f2b2d6c-bffe-11e9-98c8-52540065bddc&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="56916">LU-12766</key>
            <summary>sanity-quota test 3 fails with &apos;write success, but expect EDQUOT&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="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="wshilong">Wang Shilong</assignee>
                                    <reporter username="jamesanunez">James Nunez</reporter>
                        <labels>
                    </labels>
                <created>Mon, 16 Sep 2019 14:23:54 +0000</created>
                <updated>Sat, 27 Feb 2021 18:56:48 +0000</updated>
                            <resolved>Fri, 26 Feb 2021 14:46:12 +0000</resolved>
                                    <version>Lustre 2.13.0</version>
                    <version>Lustre 2.14.0</version>
                    <version>Lustre 2.12.4</version>
                                    <fixVersion>Lustre 2.15.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="255034" author="zam" created="Thu, 19 Sep 2019 10:30:46 +0000"  >&lt;p&gt;I filed &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12787&quot; title=&quot;sanity-quota: test 3 failure &amp;quot;write success, but expect EDQUOT&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12787&quot;&gt;&lt;del&gt;LU-12787&lt;/del&gt;&lt;/a&gt; for those failures:&lt;/p&gt;

&lt;p&gt;&amp;gt; &lt;a href=&quot;https://testing.whamcloud.com/test_sets/43331474-b5b5-11e9-a1bd-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/43331474-b5b5-11e9-a1bd-52540065bddc&lt;/a&gt;&lt;br/&gt;
&amp;gt; &lt;a href=&quot;https://testing.whamcloud.com/test_sets/5f2b2d6c-bffe-11e9-98c8-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/5f2b2d6c-bffe-11e9-98c8-52540065bddc&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="257394" author="bruno" created="Thu, 31 Oct 2019 06:30:08 +0000"  >&lt;p&gt;+1 on master @&lt;a href=&quot;https://testing.whamcloud.com/test_sessions/431dfbf0-778f-46c2-84d5-e61058e669d6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sessions/431dfbf0-778f-46c2-84d5-e61058e669d6&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="261535" author="adilger" created="Mon, 20 Jan 2020 19:10:20 +0000"  >&lt;p&gt;I see in the test output for one of these failures:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://testing.whamcloud.com/test_sets/0f515d40-3b53-11ea-80b4-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/0f515d40-3b53-11ea-80b4-52540065bddc&lt;/a&gt;&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;Sleep through grace
sanity-quota.sh: line 357: let: 4m55: value too great for base (error token is &quot;4m55&quot;)
...sleep 4m55 seconds
sleep: invalid time interval &apos;4m55&apos;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="289691" author="adilger" created="Sat, 16 Jan 2021 12:18:06 +0000"  >&lt;p&gt;In a recent failure this is more interesting;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://testing.whamcloud.com/test_sets/e5ffdc29-ca05-4fa2-8c9a-c9d2e2da3946&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/e5ffdc29-ca05-4fa2-8c9a-c9d2e2da3946&lt;/a&gt;&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;Block grace time: 1w; Inode grace time: 1w
:
Sleep through grace ...
...sleep 21305 seconds
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;which is 255s less than 6h.  From the code:&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;case&lt;/span&gt; $flavour in
                block)
                        time=$(lfs quota -$qtype $qarg $parg $DIR|
                                   awk &lt;span class=&quot;code-quote&quot;&gt;&apos;NR == 3 { print $5 }&apos;&lt;/span&gt;| sed &lt;span class=&quot;code-quote&quot;&gt;&apos;s/s$&lt;span class=&quot;code-comment&quot;&gt;//&apos;&lt;/span&gt;)
&lt;/span&gt;                        ;;
                file)
                        time=$(lfs quota -$qtype $qarg $DIR|
                                   awk &lt;span class=&quot;code-quote&quot;&gt;&apos;NR == 3 { print $9 }&apos;&lt;/span&gt;| sed &lt;span class=&quot;code-quote&quot;&gt;&apos;s/s$&lt;span class=&quot;code-comment&quot;&gt;//&apos;&lt;/span&gt;)
&lt;/span&gt;                        ;;
         esac

        [[ $time == *m* ]] &amp;amp;&amp;amp; time=${time&lt;span class=&quot;code-comment&quot;&gt;//m/} &amp;amp;&amp;amp; time=$((time*60));
&lt;/span&gt;        [[ $time == *h* ]] &amp;amp;&amp;amp; time=${time&lt;span class=&quot;code-comment&quot;&gt;//h/} &amp;amp;&amp;amp; time=$((time*60*60));
&lt;/span&gt;        [[ $time == *d* ]] &amp;amp;&amp;amp; time=${time&lt;span class=&quot;code-comment&quot;&gt;//d/} &amp;amp;&amp;amp; time=$((time*24*60*60));
&lt;/span&gt;        [[ $time == *w* ]] &amp;amp;&amp;amp; time=${time&lt;span class=&quot;code-comment&quot;&gt;//w/} &amp;amp;&amp;amp; time=$((time*7*24*60*60));
&lt;/span&gt;
                let time+=$extrasleep
                echo &lt;span class=&quot;code-quote&quot;&gt;&quot;...sleep $time seconds&quot;&lt;/span&gt;
                sleep $time

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The &lt;tt&gt;wdhm&lt;/tt&gt; handling was added in patch &lt;a href=&quot;https://review.whamcloud.com/37327&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/37327&lt;/a&gt; &quot;&lt;tt&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13174&quot; title=&quot;sanity-quota convert minutes to seconds to sleep&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13174&quot;&gt;&lt;del&gt;LU-13174&lt;/del&gt;&lt;/a&gt; tests: sanity-quota to convert minutes into seconds&lt;/tt&gt;&quot;, but I don&apos;t &lt;em&gt;think&lt;/em&gt; there is a bug in the time conversion code.  It is more likely that the bug exists in the extraction of the timestamp itself?  It is strange that the output looks like &quot;&lt;tt&gt;Block grace time: 1w; Inode grace time: 1w&lt;/tt&gt;&quot; but the parsing line is looking at fields &quot;&lt;tt&gt;$5&lt;/tt&gt;&quot; and &quot;&lt;tt&gt;$9&lt;/tt&gt;&quot; when the grace time looks like it is in &quot;&lt;tt&gt;$4&lt;/tt&gt;&quot; and &quot;&lt;tt&gt;$8&lt;/tt&gt;&quot;?&lt;/p&gt;</comment>
                            <comment id="289712" author="gerrit" created="Mon, 18 Jan 2021 02:32:21 +0000"  >&lt;p&gt;Wang Shilong (wshilong@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/41259&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/41259&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12766&quot; title=&quot;sanity-quota test 3 fails with &amp;#39;write success, but expect EDQUOT&amp;#39;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12766&quot;&gt;&lt;del&gt;LU-12766&lt;/del&gt;&lt;/a&gt; test: convert time to seconds properly&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 15797ddcf4b0a30398c11bac2588047619b5ad31&lt;/p&gt;</comment>
                            <comment id="293150" author="gerrit" created="Fri, 26 Feb 2021 08:23:00 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/41259/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/41259/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12766&quot; title=&quot;sanity-quota test 3 fails with &amp;#39;write success, but expect EDQUOT&amp;#39;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12766&quot;&gt;&lt;del&gt;LU-12766&lt;/del&gt;&lt;/a&gt; test: convert time to seconds properly&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 1a2b381616b372efb5e386ef5fff3aa2f76873a4&lt;/p&gt;</comment>
                            <comment id="293195" author="pjones" created="Fri, 26 Feb 2021 14:46:12 +0000"  >&lt;p&gt;Landed for 2.15&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="56949">LU-12787</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="62169">LU-14279</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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|i00msn:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>