<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:03:28 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-6813] sanity-benchmark test_iozone: iozone (1) failed</title>
                <link>https://jira.whamcloud.com/browse/LU-6813</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This issue was created by maloo for sarah_lw &amp;lt;wei3.liu@intel.com&amp;gt;&lt;/p&gt;

&lt;p&gt;This issue relates to the following test suite run: &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/37318204-250a-11e5-8009-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/37318204-250a-11e5-8009-5254006e85c2&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The sub-test test_iozone 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;iozone (1) failed
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;test log. Hit this problem in multiple configs&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;stride                                   
              KB  reclen   write rewrite    read    reread    read   write    read  rewrite     read   fwrite frewrite   fread  freread
         3847216     512

Sanity check failed. Do not deploy this filesystem in a production environment !
 sanity-benchmark test_iozone: @@@@@@ FAIL: iozone (1) failed 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;MDS console, it looks like there is not enough space&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;18:15:50:Lustre: DEBUG MARKER: == sanity-benchmark test iozone: iozone ============================================================== 11:04:05 (1436205845)
18:15:51:Lustre: DEBUG MARKER: /usr/sbin/lctl mark min OST has 1846488kB available, using 3847216kB file size
18:15:51:Lustre: DEBUG MARKER: min OST has 1846488kB available, using 3847216kB file size
18:15:51:Lustre: DEBUG MARKER: /usr/sbin/lctl mark  sanity-benchmark test_iozone: @@@@@@ FAIL: iozone \(1\) failed 
18:15:51:Lustre: DEBUG MARKER: sanity-benchmark test_iozone: @@@@@@ FAIL: iozone (1) failed
18:15:51:Lustre: DEBUG MARKER: /usr/sbin/lctl dk &amp;gt; /logdir/test_logs/2015-07-06/lustre-master-el6_6-x86_64-vs-lustre-master-sles11sp3-x86_64--full--2_12_1__3092__-70321095799900-131112/sanity-benchmark.test_iozone.debug_log.$(hostname -s).1436205847.log;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="31005">LU-6813</key>
            <summary>sanity-benchmark test_iozone: iozone (1) failed</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</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="bobijam">Zhenyu Xu</assignee>
                                    <reporter username="maloo">Maloo</reporter>
                        <labels>
                    </labels>
                <created>Wed, 8 Jul 2015 17:10:03 +0000</created>
                <updated>Thu, 12 May 2016 18:12:41 +0000</updated>
                            <resolved>Wed, 23 Sep 2015 13:07:09 +0000</resolved>
                                    <version>Lustre 2.8.0</version>
                                    <fixVersion>Lustre 2.8.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>9</watches>
                                                                            <comments>
                            <comment id="120746" author="adilger" created="Wed, 8 Jul 2015 18:59:31 +0000"  >&lt;p&gt;I don&apos;t see any reports on the MDS or OSS logs that relate to out of space.  It looks like this might be a data corruption issue, since there aren&apos;t errors in any of the logs.  The message &lt;tt&gt;min OST has 1846488kB available, using 3847216kB file size&lt;/tt&gt; is just reporting how large the iozone file is.  The file is striped across all OSTs, so it shouldn&apos;t consume all of the space on even the smallest OST, since each OST will get only 1/7 of the file data (549602KB, 29% of the free space).&lt;/p&gt;</comment>
                            <comment id="126565" author="vinayakh" created="Mon, 7 Sep 2015 04:38:36 +0000"  >&lt;p&gt;Hello Andreas,&lt;/p&gt;

&lt;p&gt;We have also faced this issue much frequently in our testing. I am attaching the logs to this ticket. Please let me know if you need any extra information from our side. &lt;/p&gt;</comment>
                            <comment id="127298" author="bobijam" created="Tue, 15 Sep 2015 02:07:30 +0000"  >&lt;p&gt;found this with strace &lt;/p&gt;

&lt;p&gt;open(&quot;/mnt/lustre/d0.iozone/iozone&quot;, O_WRONLY|O_CREAT, 0) = 3&lt;br/&gt;
stat(&quot;/mnt/lustre/d0.iozone/iozone&quot;, &lt;/p&gt;
{st_mode=S_IFREG, st_size=0, ...}
&lt;p&gt;) = 0&lt;br/&gt;
ftruncate(3, 0)                         = -1 EACCES (Permission denied)&lt;br/&gt;
write(1, &quot;\n\nSanity check failed. Do not de&quot;..., 82&lt;/p&gt;</comment>
                            <comment id="127302" author="bobijam" created="Tue, 15 Sep 2015 04:26:07 +0000"  >&lt;p&gt;the iozone test file is created by open with mode 0100000(S_IFREG), no WRX mode in it.&lt;/p&gt;

&lt;p&gt;00000004:00000002:1.0:1442290645.210840:0:15269:0:(mdt_open.c:1226:mdt_reint_open()) I am going to open &lt;span class=&quot;error&quot;&gt;&amp;#91;0x200000401:0x11:0x0&amp;#93;&lt;/span&gt;/(iozone-&amp;gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;0x200000401:0x15:0x0&amp;#93;&lt;/span&gt;) cr_flag=0102 mode=0100000 msg_flag=0x0&lt;/p&gt;</comment>
                            <comment id="127304" author="bobijam" created="Tue, 15 Sep 2015 05:09:37 +0000"  >&lt;p&gt;commit c8d5aa14e50be2a85491783f169a8f4e646b9594 changed the object create mode logic.&lt;/p&gt;

&lt;p&gt;Wang Di, can you give it a look? In your commit, the MDS does not use its umask to create object and client does not pass the object&apos;s mode in the RPC, and client is depending on MDS to set the new object&apos;s mode with its umask.&lt;/p&gt;</comment>
                            <comment id="127309" author="bobijam" created="Tue, 15 Sep 2015 06:24:36 +0000"  >&lt;p&gt;client create the file with strange mode&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;00000080:00000001:1.0:1442292147.237309:0:28484:0:(namei.c:526:ll_lookup_it()) Process entered
00000080:00200000:1.0:1442292147.237309:0:28484:0:(namei.c:533:ll_lookup_it()) VFS Op:name=iozone, dir=[0x200000401:0x1:0x0](ffff880016c0bc40), intent=open|creat
00000080:00000010:1.0:1442292147.237311:0:28484:0:(llite_lib.c:2436:ll_prep_md_op_data()) kmalloced &apos;op_data&apos;: 312 at ffff8800286e1a00.
00000080:00020000:1.0:1442292147.237312:0:28484:0:(namei.c:561:ll_lookup_it()) create mode 0100000
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;while normal touch create a file with normal mode&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;00000080:00000001:0.0:1442298104.737478:0:28661:0:(namei.c:526:ll_lookup_it()) Process entered
00000080:00200000:0.0:1442298104.737478:0:28661:0:(namei.c:533:ll_lookup_it()) VFS Op:name=touchfile, dir=[0x200000401:0x1:0x0](ffff880016c0bc40), intent=open|creat
00000080:00000010:0.0:1442298104.737480:0:28661:0:(llite_lib.c:2436:ll_prep_md_op_data()) kmalloced &apos;op_data&apos;: 312 at ffff8800352f2400.
00000080:00020000:0.0:1442298104.737482:0:28661:0:(namei.c:561:ll_lookup_it()) create mode 0100666
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="127310" author="di.wang" created="Tue, 15 Sep 2015 06:27:24 +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;Wang Di, can you give it a look? In your commit, the MDS does not use its umask to create object and client does not pass the object&apos;s mode in the RPC,
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Hmm, mdd_acl_init do use MDS&apos;s umask to fix the mode. Thanks.&lt;/p&gt;</comment>
                            <comment id="127311" author="bobijam" created="Tue, 15 Sep 2015 06:53:43 +0000"  >&lt;p&gt;the strace iozone shows that iozone create the testing file &quot;iozone&quot; without setting its file mode&lt;/p&gt;

&lt;p&gt;open(&quot;/mnt/lustre/d0.iozone/iozone&quot;, O_WRONLY|O_CREAT, 0) = 3&lt;/p&gt;

&lt;p&gt;And client pack its create mode as 0100000, no file mode in it.&lt;/p&gt;

&lt;p&gt;In mdd_acl_init(), la-&amp;gt;la_mode is still just 0100000, and the file is created with empty mode, so that truncate failed permission checking.&lt;/p&gt;</comment>
                            <comment id="127443" author="bobijam" created="Wed, 16 Sep 2015 05:17:38 +0000"  >&lt;p&gt;$ git bisect bad&lt;br/&gt;
6acf93339ad3297f2e5c659f2269c05df6198f74 is the first bad commit&lt;br/&gt;
commit 6acf93339ad3297f2e5c659f2269c05df6198f74&lt;br/&gt;
Author: Jinshan Xiong &amp;lt;jinshan.xiong@intel.com&amp;gt;&lt;br/&gt;
Date:   Sun Jun 21 14:29:20 2015 -0400&lt;/p&gt;

&lt;p&gt;    &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5823&quot; title=&quot;Replace some obsolete obd operations with CLIO ioctl interface&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5823&quot;&gt;&lt;del&gt;LU-5823&lt;/del&gt;&lt;/a&gt; llite: Remove access of stripe in ll_setattr_raw&lt;/p&gt;</comment>
                            <comment id="127593" author="bobijam" created="Thu, 17 Sep 2015 01:59:54 +0000"  >&lt;p&gt;wrote a open then ftruncate test code, run it as a normal user, gathered the logs w/ and w/o the 6acf9333 patch.&lt;/p&gt;</comment>
                            <comment id="127599" author="gerrit" created="Thu, 17 Sep 2015 02:50:01 +0000"  >&lt;p&gt;Bobi Jam (bobijam@hotmail.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/16462&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/16462&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6813&quot; title=&quot;sanity-benchmark test_iozone: iozone (1) failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6813&quot;&gt;&lt;del&gt;LU-6813&lt;/del&gt;&lt;/a&gt; llite: omit to update wire data&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 6d32529f5c853f8a2e800fc588dc396be9b07405&lt;/p&gt;</comment>
                            <comment id="127943" author="vinayakh" created="Mon, 21 Sep 2015 04:48:43 +0000"  >&lt;p&gt;We ran the test_iozone on the patch submitted by Bobi Jam and the test was successful. &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;	File stride size set to 17 * record size.
                                                            random  random    bkwd   record   stride                                   
              kB  reclen   write rewrite    read    reread    read   write    read  rewrite     read   fwrite frewrite   fread  freread
          926070     512   40674   66809   161970   151712  164405   61944                                                          

iozone test complete.
debug=0x33f0484
Resetting fail_loc on all nodes...done.
PASS iozone (103s)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="128183" author="gerrit" created="Tue, 22 Sep 2015 23:23:07 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/16462/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/16462/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6813&quot; title=&quot;sanity-benchmark test_iozone: iozone (1) failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6813&quot;&gt;&lt;del&gt;LU-6813&lt;/del&gt;&lt;/a&gt; llite: omit to update wire data&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: b937be892a3dc68dd2fe3f248608937a8a79d424&lt;/p&gt;</comment>
                            <comment id="128230" author="pjones" created="Wed, 23 Sep 2015 13:07:09 +0000"  >&lt;p&gt;Landed for 2.8&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="18875" name="iozone.lctl.tar" size="225" author="vinayakh" created="Mon, 7 Sep 2015 04:41:31 +0000"/>
                            <attachment id="18905" name="iozone_dk.log" size="1407336" author="bobijam" created="Tue, 15 Sep 2015 02:17:48 +0000"/>
                            <attachment id="18919" name="lu6813-good-bad-log.tgz" size="284801" author="bobijam" created="Thu, 17 Sep 2015 02:22:20 +0000"/>
                    </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|hzxhpr:</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>