<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:41:26 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-11157] sanity test_42e: invalid arithmetic operator (error token is &quot;.9&quot;)</title>
                <link>https://jira.whamcloud.com/browse/LU-11157</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This issue was created by maloo for John Hammond &amp;lt;jhammond@whamcloud.com&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/f2a78f4c-8aa6-11e8-808e-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/f2a78f4c-8aa6-11e8-808e-52540065bddc&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;test_42e 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_42e returned 1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&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 test 42e: verify sub-RPC writes are not done synchronously ================================= 14:42:04 (1531924924)
total: 3500 open/close in 6.19 seconds: 565.32 ops/second
/usr/lib64/lustre/tests/sanity.sh: line 3978: 209.9: syntax error: invalid arithmetic operator (error token is &quot;.9&quot;)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Some proc/sys/... files are returning decimal values. This one is from max_dirty_mb.&lt;/p&gt;

&lt;p&gt;Looks like 14 instances of this failure today.&lt;/p&gt;





&lt;p&gt;VVVVVVV DO NOT REMOVE LINES BELOW, Added by Maloo for auto-association VVVVVVV&lt;br/&gt;
sanity test_42e - test_42e returned 1&lt;/p&gt;</description>
                <environment></environment>
        <key id="52750">LU-11157</key>
            <summary>sanity test_42e: invalid arithmetic operator (error token is &quot;.9&quot;)</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="simmonsja">James A Simmons</assignee>
                                    <reporter username="maloo">Maloo</reporter>
                        <labels>
                    </labels>
                <created>Wed, 18 Jul 2018 19:32:44 +0000</created>
                <updated>Thu, 21 Nov 2019 21:37:52 +0000</updated>
                            <resolved>Fri, 10 May 2019 12:50:32 +0000</resolved>
                                    <version>Lustre 2.12.0</version>
                                    <fixVersion>Lustre 2.13.0</fixVersion>
                    <fixVersion>Lustre 2.12.4</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="230507" author="gerrit" created="Wed, 18 Jul 2018 20:51:51 +0000"  >&lt;p&gt;John L. Hammond (jhammond@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/32831&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/32831&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11157&quot; title=&quot;sanity test_42e: invalid arithmetic operator (error token is &amp;quot;.9&amp;quot;)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11157&quot;&gt;&lt;del&gt;LU-11157&lt;/del&gt;&lt;/a&gt; obd: keep dirty_max_pages a round number of MB&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 2c46819ed70b222a8b762d1b2e7e1f4226de89e8&lt;/p&gt;</comment>
                            <comment id="230511" author="adilger" created="Wed, 18 Jul 2018 22:32:27 +0000"  >&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;LU-8066 obdclass: move lustre sysctl to sysfs
    
    Backport from upstream the changes to port lustre
    systctl to sysfs. Needed to re-export the function
    lprocfs_read_frac_helper for later work. The
    following patches were backported:
    
    Linux-commit: e2424a1265f2772b66f068c205256e2aef5f74a0
    
    Move max_dirty_mb from sysctl to sysfs. max_dirty_mb is
    now a parameter in /sys/fs/lustre.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="230514" author="simmonsja" created="Thu, 19 Jul 2018 01:16:30 +0000"  >&lt;p&gt;Ouch, it been broken upstream for some time.&lt;/p&gt;</comment>
                            <comment id="230534" author="jhammond" created="Thu, 19 Jul 2018 12:51:05 +0000"  >&lt;p&gt;&amp;gt; Ouch, it been broken upstream for some time.&lt;/p&gt;

&lt;p&gt;It was only when &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10990&quot; title=&quot;Get rid of per-osc max_dirty_mb setting&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10990&quot;&gt;&lt;del&gt;LU-10990&lt;/del&gt;&lt;/a&gt; and &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8066&quot; title=&quot;Move lustre procfs handling to sysfs and debugfs.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8066&quot;&gt;LU-8066&lt;/a&gt; were combined that this started failing.&lt;/p&gt;

&lt;p&gt;I am really not a fan of displaying decimal fractional values in these files. Generally it means that we cannot faithfully save and restore the parameter values.&lt;/p&gt;

&lt;p&gt;However if we do keep fractional values then I think there is more to do here. There are substantial differences between &lt;tt&gt;lprocfs_seq_read_frac_helper()&lt;/tt&gt; and &lt;tt&gt;lprocfs_read_frac_helper()&lt;/tt&gt;. I don&apos;t know why the second function is so complicated. But this is bad. Switching from proc to sys shouldn&apos;t be changing the format used to display the values.&lt;/p&gt;</comment>
                            <comment id="230552" author="gerrit" created="Thu, 19 Jul 2018 15:34:14 +0000"  >&lt;p&gt;Andreas Dilger (adilger@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/32831/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/32831/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11157&quot; title=&quot;sanity test_42e: invalid arithmetic operator (error token is &amp;quot;.9&amp;quot;)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11157&quot;&gt;&lt;del&gt;LU-11157&lt;/del&gt;&lt;/a&gt; obd: keep dirty_max_pages a round number of MB&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: d3f88d376c49e4520a0d695a4b4e9b0c2dbebaaf&lt;/p&gt;</comment>
                            <comment id="230563" author="jamesanunez" created="Thu, 19 Jul 2018 17:17:10 +0000"  >&lt;p&gt;In addition to sanity test 42e failing, we also see the following tests fail:&lt;br/&gt;
sanity 64d with the same error message; &apos;209.9: syntax error: invalid arithmetic operator (error token is &quot;.9&quot;)&apos;&lt;br/&gt;
conf-sanity test 76a with error message &apos;&apos;209.9: syntax error: invalid arithmetic operator (error token is &quot;.9&quot;)&apos;&lt;br/&gt;
recovery-small test 55 with error &apos;error: set_param: setting /sys/fs/lustre/osc/lustre-OST0001-osc-ffff9b4353f50800/max_dirty_mb=209.9: Invalid argument&apos;&lt;br/&gt;
sanity-dom test 42e, which is running sanity test 42e&lt;/p&gt;</comment>
                            <comment id="241596" author="simmonsja" created="Fri, 8 Feb 2019 16:20:38 +0000"  >&lt;p&gt;So I started to look into this and see the reason as John pointed out for the failures Nunez posted is due to the test treating the values returned by say &quot;max_dirty_mb&quot; as a real integer and not a float point string. We could update the test to feed this result into bc since bash can&apos;t do floating point math. The question to ask is do we want to make sites do the same kind of crazy? If we don&apos;t that means we end implementing round_up() handling like we did for dirty_max_pages. Is that okay with people?&lt;/p&gt;</comment>
                            <comment id="241648" author="adilger" created="Sat, 9 Feb 2019 00:45:53 +0000"  >&lt;p&gt;I&apos;m fine with rounding the output to a whole number of MB.  This is the only code that is using &lt;tt&gt;lprocfs_read_frac_helper()&lt;/tt&gt; so it could just be removed. There are other places that are using &lt;tt&gt;lprocfs_seq_read_frac_helper()&lt;/tt&gt; that will have the same issues.  Back when this code was written, a few MB was a lot of memory, but now it is a rounding error for a client.&lt;/p&gt;</comment>
                            <comment id="242717" author="gerrit" created="Mon, 25 Feb 2019 18:05:44 +0000"  >&lt;p&gt;James Simmons (uja.ornl@yahoo.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/34317&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/34317&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11157&quot; title=&quot;sanity test_42e: invalid arithmetic operator (error token is &amp;quot;.9&amp;quot;)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11157&quot;&gt;&lt;del&gt;LU-11157&lt;/del&gt;&lt;/a&gt; obd: round values to nearest MiB for *_mb sysfs files&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 3e9d90e56042d5ff9076ae057c1ff117c348b2fa&lt;/p&gt;</comment>
                            <comment id="246947" author="gerrit" created="Fri, 10 May 2019 07:12:18 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/34317/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/34317/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11157&quot; title=&quot;sanity test_42e: invalid arithmetic operator (error token is &amp;quot;.9&amp;quot;)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11157&quot;&gt;&lt;del&gt;LU-11157&lt;/del&gt;&lt;/a&gt; obd: round values to nearest MiB for *_mb syfs files&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: ba2817fe3ead1b8e32be6d6c6ce25b490626118a&lt;/p&gt;</comment>
                            <comment id="246966" author="pjones" created="Fri, 10 May 2019 12:50:32 +0000"  >&lt;p&gt;Landed for 2.13&lt;/p&gt;</comment>
                            <comment id="255990" author="gerrit" created="Mon, 7 Oct 2019 14:34:59 +0000"  >&lt;p&gt;Minh Diep (mdiep@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/36393&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36393&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11157&quot; title=&quot;sanity test_42e: invalid arithmetic operator (error token is &amp;quot;.9&amp;quot;)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11157&quot;&gt;&lt;del&gt;LU-11157&lt;/del&gt;&lt;/a&gt; obd: round values to nearest MiB for *_mb syfs files&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 350b4ee688585c034f0c0e520e2587aa4d389eda&lt;/p&gt;</comment>
                            <comment id="258600" author="gerrit" created="Thu, 21 Nov 2019 07:31:59 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/36393/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36393/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11157&quot; title=&quot;sanity test_42e: invalid arithmetic operator (error token is &amp;quot;.9&amp;quot;)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11157&quot;&gt;&lt;del&gt;LU-11157&lt;/del&gt;&lt;/a&gt; obd: round values to nearest MiB for *_mb syfs files&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 72c2d383c3e77206b0d169d894a18b5e43b7b72b&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="36381">LU-8066</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="52082">LU-10990</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="43672">LU-9091</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|hzzzdr:</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>