<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:04:24 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-13808] sanity-sec test_18: return 1 with syntax error in do_fops_quota_test()</title>
                <link>https://jira.whamcloud.com/browse/LU-13808</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This issue was created by maloo for Olaf Faaland &amp;lt;faaland1@llnl.gov&amp;gt;&lt;/p&gt;

&lt;p&gt;This issue relates to the following test suite run: &lt;a href=&quot;https://testing.whamcloud.com/test_sets/0de88af7-b75e-4da0-9398-56fbba5abd95&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/0de88af7-b75e-4da0-9398-56fbba5abd95&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;test_18 failed with the following error:&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;test_18 returned 1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;A syntax error occurs in do_fops_quota_test(), resulting in the quota not being checked.&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;CMD: trevis-17vm4 /usr/sbin/lctl set_param -n os[cd]*.*MD*.force_sync 1
CMD: trevis-17vm4 /usr/sbin/lctl get_param -n osc.*MDT*.sync_*
CMD: trevis-17vm4 /usr/sbin/lctl get_param -n osc.*MDT*.sync_*
CMD: trevis-17vm4 /usr/sbin/lctl get_param -n osc.*MDT*.sync_*
CMD: trevis-17vm4 /usr/sbin/lctl get_param -n osc.*MDT*.sync_*
CMD: trevis-17vm4 /usr/sbin/lctl get_param -n osc.*MDT*.sync_*
CMD: trevis-17vm4 /usr/sbin/lctl get_param -n osc.*MDT*.sync_*
CMD: trevis-17vm4 /usr/sbin/lctl get_param -n osc.*MDT*.sync_*
sleep 5 for ZFS zfs
sleep 5 for ZFS zfs
CMD: trevis-17vm1.trevis.whamcloud.com runas -u0 -g0 -G0 lfs quota -q /mnt/lustre
running as uid/gid/euid/egid 0/0/0/0, groups: 0
 [lfs] [quota] [-q] [/mnt/lustre]
/usr/lib64/lustre/tests/sanity-sec.sh: line 1283: [0]: syntax error: operand expected (error token is &quot;[0]&quot;)
CMD: trevis-17vm4 /usr/sbin/lctl nodemap_del c0
CMD: trevis-17vm4 /usr/sbin/lctl nodemap_del c1
CMD: trevis-17vm4 /usr/sbin/lctl nodemap_modify --name default --property admin --value 0
CMD: trevis-17vm4 /usr/sbin/lctl get_param -n nodemap.active
CMD: trevis-17vm4 /usr/sbin/lctl list_nids | grep tcp | cut -f 1 -d @
CMD: trevis-17vm4 /usr/sbin/lctl get_param nodemap.default.admin_nodemap
On MGS 10.9.4.201, default.admin_nodemap = nodemap.default.admin_nodemap=0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The error appears to be caused by improperly parsed output from lfs quota.&lt;/p&gt;

&lt;p&gt;The code leading up to the syntax error is:&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;1279         $run_u rm $testfile || error &quot;unable to remove quota test file&quot;
1280         wait_delete_completed_mds
1281 
1282         qused_new=$(nodemap_check_quota &quot;$run_u&quot;)
1283         [ $((qused_new)) -lt $((qused_low)) \
1284                 -o $((qused_new)) -gt $((qused_high)) ] &amp;amp;&amp;amp;
1285                 error &quot;quota not reclaimed, expect $qused_orig, &quot; \
1286                       &quot;got $qused_new, fuzz $quota_fuzz&quot;
1287 }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;





&lt;p&gt;VVVVVVV DO NOT REMOVE LINES BELOW, Added by Maloo for auto-association VVVVVVV&lt;br/&gt;
sanity-sec test_18 - test_18 returned 1&lt;/p&gt;</description>
                <environment></environment>
        <key id="60047">LU-13808</key>
            <summary>sanity-sec test_18: return 1 with syntax error in do_fops_quota_test()</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="maloo">Maloo</reporter>
                        <labels>
                    </labels>
                <created>Mon, 20 Jul 2020 23:26:24 +0000</created>
                <updated>Wed, 14 Apr 2021 16:14:13 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                    <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|i015nz:</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>