<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:08:33 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-14299] sanity-quota test 61 fails with &apos;write failed, expect succeed&apos;</title>
                <link>https://jira.whamcloud.com/browse/LU-14299</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;sanity-quota test_61 fails with &apos;write failed, expect succeed&apos;. The first time this test failed with this error message/case was on 05 May 2020 at &lt;a href=&quot;https://testing.whamcloud.com/test_sets/f918d217-9487-479e-8294-16936426fe25&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/f918d217-9487-479e-8294-16936426fe25&lt;/a&gt;  for Lustre 2.13.53.162. The failures are mostly seen for ZFS;  200 ZFS failures out of 218 total failures for this test with this error. So far, we are only seeing this failure on master( future 2.14.0).&lt;/p&gt;

&lt;p&gt;Looking at a recent failure with no other sanity-quota test failures, at &lt;a href=&quot;https://testing.whamcloud.com/test_sets/8ced1c69-2747-41c9-a580-8a3c5fcdf857&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/8ced1c69-2747-41c9-a580-8a3c5fcdf857&lt;/a&gt;, we see that sanity-quota test 61 fails with &#8216;Disk quota exceeded&#8217; after increasing the default quota:&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;set to use default quota
set default quota
get default quota
Disk default usr quota:
     Filesystem   bquota  blimit  bgrace   iquota  ilimit  igrace
    /mnt/lustre  20480   20480       0      0       0      10
Test not out of quota
running as uid/gid/euid/egid 60000/60000/60000/60000, groups:
 [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d61.sanity-quota/f61.sanity-quota-0] [count=10] [oflag=sync]
10+0 records in
10+0 records out
10485760 bytes (10 MB, 10 MiB) copied, 1.71261 s, 6.1 MB/s
Test out of quota
CMD: trevis-201vm4 lctl set_param -n os[cd]*.*MDT*.force_sync=1
CMD: trevis-201vm3 lctl set_param -n osd*.*OS*.force_sync=1
running as uid/gid/euid/egid 60000/60000/60000/60000, groups:
 [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d61.sanity-quota/f61.sanity-quota-0] [count=40] [oflag=sync]
dd: error writing &apos;/mnt/lustre/d61.sanity-quota/f61.sanity-quota-0&apos;: Disk quota exceeded
20+0 records in
19+0 records out
19922944 bytes (20 MB, 19 MiB) copied, 3.91893 s, 5.1 MB/s
Increase default quota
CMD: trevis-201vm4 lctl set_param -n os[cd]*.*MDT*.force_sync=1
CMD: trevis-201vm3 lctl set_param -n osd*.*OS*.force_sync=1
running as uid/gid/euid/egid 60000/60000/60000/60000, groups:
 [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d61.sanity-quota/f61.sanity-quota-0] [count=40] [oflag=sync]
dd: error writing &apos;/mnt/lustre/d61.sanity-quota/f61.sanity-quota-0&apos;: Disk quota exceeded
1+0 records in
0+0 records out
0 bytes copied, 0.00246058 s, 0.0 kB/s
CMD: trevis-201vm4 /usr/sbin/lctl get_param -n version 2&amp;gt;/dev/null
CMD: trevis-201vm4 zpool get all
 sanity-quota test_61: @@@@@@ FAIL: write failed, expect succeed 
  Trace dump:
  = /usr/lib64/lustre/tests/test-framework.sh:6273:error()
  = /usr/lib64/lustre/tests/sanity-quota.sh:159:quota_error()
  = /usr/lib64/lustre/tests/sanity-quota.sh:3996:test_default_quota()
  = /usr/lib64/lustre/tests/sanity-quota.sh:4051:test_61()
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Looking at the test, we increase the default quota, cancel OSC and MDC locks and sync data. We then run dd again and get the quota exceeded error&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;
3986         log &lt;span class=&quot;code-quote&quot;&gt;&quot;Increase &lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt; quota&quot;&lt;/span&gt;
3987         # increase &lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt; quota
3988         $LFS setquota $qdtype $qs $((LIMIT*3)) $qh $((LIMIT*3)) $DIR ||
3989                 error &lt;span class=&quot;code-quote&quot;&gt;&quot;set &lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt; quota failed&quot;&lt;/span&gt;
3990 
3991         cancel_lru_locks osc
3992         cancel_lru_locks mdc
3993         sync; sync_all_data || &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;
3994         &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; [ $qpool == &lt;span class=&quot;code-quote&quot;&gt;&quot;data&quot;&lt;/span&gt; ]; then
3995                 $RUNAS $DD of=$TESTFILE count=$((LIMIT*2 &amp;gt;&amp;gt; 10)) oflag=sync ||
3996                         quota_error $qtype $qid &lt;span class=&quot;code-quote&quot;&gt;&quot;write failed, expect succeed&quot;&lt;/span&gt;
3997         &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt;
3998                 $RUNAS createmany -m $TESTFILE $((LIMIT*2)) ||
3999                         quota_error $qtype $qid &lt;span class=&quot;code-quote&quot;&gt;&quot;create failed, expect succeed&quot;&lt;/span&gt;
4000 
4001                 unlinkmany $TESTFILE $((LIMIT*2))
4002         fi
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Logs for other failures are at&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_sets/470f88c5-e555-4352-bd2f-ddb2f281e7b6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/470f88c5-e555-4352-bd2f-ddb2f281e7b6&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_sets/a973395d-3213-4b34-ae57-45155f98ee26&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/a973395d-3213-4b34-ae57-45155f98ee26&lt;/a&gt;&lt;/p&gt;
</description>
                <environment>ZFS</environment>
        <key id="62244">LU-14299</key>
            <summary>sanity-quota test 61 fails with &apos;write failed, expect succeed&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="hongchao.zhang">Hongchao Zhang</assignee>
                                    <reporter username="jamesanunez">James Nunez</reporter>
                        <labels>
                    </labels>
                <created>Wed, 6 Jan 2021 16:14:51 +0000</created>
                <updated>Mon, 13 Jun 2022 22:05:48 +0000</updated>
                            <resolved>Mon, 8 Feb 2021 22:02:52 +0000</resolved>
                                    <version>Lustre 2.14.0</version>
                                    <fixVersion>Lustre 2.14.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="288853" author="jamesanunez" created="Wed, 6 Jan 2021 19:23:40 +0000"  >&lt;p&gt;Sergey - &lt;br/&gt;
These quota failures started around the time of the OST pool quotas patch landed. Would you please review this failure and could this failure be due to that patch? Does this test need to change based on the OST pool quota patch?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;</comment>
                            <comment id="289731" author="pjones" created="Mon, 18 Jan 2021 14:48:17 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=sergey&quot; class=&quot;user-hover&quot; rel=&quot;sergey&quot;&gt;sergey&lt;/a&gt; how is your investigation progressing?&lt;/p&gt;</comment>
                            <comment id="290971" author="gerrit" created="Tue, 2 Feb 2021 15:32:28 +0000"  >&lt;p&gt;Hongchao Zhang (hongchao@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/41389&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/41389&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14299&quot; title=&quot;sanity-quota test 61 fails with &amp;#39;write failed, expect succeed&amp;#39;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14299&quot;&gt;&lt;del&gt;LU-14299&lt;/del&gt;&lt;/a&gt; test: sleep to enable quota acquire again&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: d233ba95e6b53dd94ac2ef8930c7f5e7037ca71b&lt;/p&gt;</comment>
                            <comment id="291465" author="gerrit" created="Mon, 8 Feb 2021 21:55:58 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/41389/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/41389/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14299&quot; title=&quot;sanity-quota test 61 fails with &amp;#39;write failed, expect succeed&amp;#39;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14299&quot;&gt;&lt;del&gt;LU-14299&lt;/del&gt;&lt;/a&gt; test: sleep to enable quota acquire again&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 430e3f01ef2dc83ed317cf2b97be8a2ad50d9f13&lt;/p&gt;</comment>
                            <comment id="291470" author="pjones" created="Mon, 8 Feb 2021 22:02:52 +0000"  >&lt;p&gt;Landed for 2.14&lt;/p&gt;</comment>
                            <comment id="337674" author="gerrit" created="Mon, 13 Jun 2022 22:05:31 +0000"  >&lt;p&gt;&quot;Minh Diep &amp;lt;mdiep@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/47618&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47618&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14299&quot; title=&quot;sanity-quota test 61 fails with &amp;#39;write failed, expect succeed&amp;#39;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14299&quot;&gt;&lt;del&gt;LU-14299&lt;/del&gt;&lt;/a&gt; test: sleep to enable quota acquire again&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 4070cf9f90d1b37268fd6bc5ac9a2c419cd63e56&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="57083">LU-12829</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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|i01ipz:</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>