<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:16:11 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-15187] sanity-quota test_55: </title>
                <link>https://jira.whamcloud.com/browse/LU-15187</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This subtest is failing very regularly in Gerrit Janitor testing, hitting 100% failure for 40 test sessions when this subtest was changed with a minor update:&lt;br/&gt;
&lt;a href=&quot;https://testing-archive.whamcloud.com/gerrit-janitor/19417/results.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing-archive.whamcloud.com/gerrit-janitor/19417/results.html&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;== sanity-quota test 55: Chgrp should be affected by group quota == 16:56:57 (1635541017)
sleep 5 for ZFS zfs
Waiting for MDT destroys to complete
Creating test directory
fail_val=0
fail_loc=0
running as uid/gid/euid/egid 60000/60000/60000/60000, groups:
 [dd] [if=/dev/zero] [of=/mnt/lustre/d55.sanity-quota/f55.sanity-quota] [bs=1024] [count=100000]
100000+0 records in
100000+0 records out
102400000 bytes (102 MB) copied, 11.7601 s, 8.7 MB/s
Disk quotas for grp quota_2usr (gid 60000):
     Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace
    /mnt/lustre  100275*      0   51200       -       1       0       0       -
lustre-MDT0000_UUID
                      1*      -       1       -       1       -       0       -
lustre-OST0000_UUID
                      0       -       0       -       -       -       -       -
lustre-OST0001_UUID
                 100275*      -  100275       -       -       -       -       -
Total allocated inode limit: 0, total allocated block limit: 100275
running as uid/gid/euid/egid 60000/60000/60000/60000, groups:
 [chgrp] [quota_2usr] [/mnt/lustre/d55.sanity-quota/f55.sanity-quota]
 sanity-quota test_55: @@@@@@ FAIL: chgrp should failed with -EDQUOT 
  Trace dump:
  = /home/green/git/lustre-release/lustre/tests/test-framework.sh:6332:error()
  = /home/green/git/lustre-release/lustre/tests/sanity-quota.sh:3808:test_55()
  = /home/green/git/lustre-release/lustre/tests/test-framework.sh:6636:run_one()
  = /home/green/git/lustre-release/lustre/tests/test-framework.sh:6683:run_one_logged()
  = /home/green/git/lustre-release/lustre/tests/test-framework.sh:6524:run_test()
  = /home/green/git/lustre-release/lustre/tests/sanity-quota.sh:3825:main()
Dumping lctl log to /tmp/testlogs//sanity-quota.test_55.*.1635541044.log
Delete files...
Wait for unlink objects finished...
sleep 5 for ZFS zfs
sleep 5 for ZFS zfs
Waiting for MDT destroys to complete
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="66935">LU-15187</key>
            <summary>sanity-quota test_55: </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="green">Oleg Drokin</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                    </labels>
                <created>Mon, 1 Nov 2021 23:30:57 +0000</created>
                <updated>Wed, 10 Nov 2021 17:21:16 +0000</updated>
                            <resolved>Wed, 10 Nov 2021 17:21:16 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="317163" author="adilger" created="Tue, 2 Nov 2021 00:47:38 +0000"  >&lt;p&gt;Comparing the test results with a PASS in autotest, it shows a quite different result:&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] [of=/mnt/lustre/d55.sanity-quota/f55.sanity-quota] [bs=1024] [count=100000]
100000+0 records in
100000+0 records out
102400000 bytes (102 MB, 98 MiB) copied, 9.89286 s, 10.4 MB/s
CMD: trevis-22vm4 lctl set_param -n os[cd]*.*MDT*.force_sync=1
CMD: trevis-22vm3 lctl set_param -n osd*.*OS*.force_sync=1
Disk quotas for grp quota_2usr (gid 60001):
     Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace
    /mnt/lustre       0       0   51200       -       0       0       0       -
lustre-MDT0000_UUID
                      0       -       0       -       0       -       0       -
lustre-OST0000_UUID
                      0       -       0       -       -       -       -       -
lustre-OST0001_UUID
                      0       -       0       -       -       -       -       -
lustre-OST0002_UUID
                      0       -       0       -       -       -       -       -
lustre-OST0003_UUID
                      0       -       0       -       -       -       -       -
lustre-OST0004_UUID
                      0       -       0       -       -       -       -       -
lustre-OST0005_UUID
                      0       -       0       -       -       -       -       -
lustre-OST0006_UUID
                      0       -       0       -       -       -       -       -
Total allocated inode limit: 0, total allocated block limit: 0
running as uid/gid/euid/egid 60000/60001/60000/60001, groups:
 [chgrp] [quota_2usr] [/mnt/lustre/d55.sanity-quota/f55.sanity-quota]
chgrp: changing group of &apos;/mnt/lustre/d55.sanity-quota/f55.sanity-quota&apos;: Disk quota exceeded
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;It looks like the &quot;&lt;tt&gt;quota_2usr&lt;/tt&gt;&quot; is &lt;tt&gt;60000&lt;/tt&gt; in the Gerrit Janitor case, and &lt;tt&gt;60001&lt;/tt&gt; in the autotest case.  That can be seen from the differences in both &quot;&lt;tt&gt;Disk quotas for grp quota_2usr (gid 60001)&lt;/tt&gt;&quot; and &quot;&lt;tt&gt;running as uid/gid/euid/egid 60000/60001/60000/60001&lt;/tt&gt;&quot; messages between the two results. &lt;/p&gt;

&lt;p&gt;That also explains why the &lt;tt&gt;quota_2usr&lt;/tt&gt; &lt;b&gt;already&lt;/b&gt; has the 100MB of quota assigned, and that &quot;&lt;tt&gt;chgrp $TSTUSR2&lt;/tt&gt;&quot; doesn&apos;t fail, because changing the file to the same GID is a no-op for the quota (different name, same number).&lt;/p&gt;

&lt;p&gt;Oleg, could you please check/fix &lt;tt&gt;quota_2usr&lt;/tt&gt; in &lt;tt&gt;/etc/group&lt;/tt&gt; on your test system to use 60001 (or some other GID that is different from &lt;tt&gt;quota_usr&lt;/tt&gt;).&lt;/p&gt;</comment>
                            <comment id="317890" author="green" created="Wed, 10 Nov 2021 17:21:16 +0000"  >&lt;p&gt;I updated the centos7 image to have goccer usr_quota 2 gid and it did help indeed.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Thanks!&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|i028zz:</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>