<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:30:53 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-9968] sanity test 300g fails with &apos;create dir2 fails&apos;</title>
                <link>https://jira.whamcloud.com/browse/LU-9968</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;sanity test_300g fails with the following lines from the test_log output&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 test 300g: check default striped directory for normal directory ============================ 17:47:37 (1504806457)
CMD: onyx-40vm7 /usr/sbin/lctl get_param -n version 2&amp;gt;/dev/null ||
				/usr/sbin/lctl lustre_build_version 2&amp;gt;/dev/null ||
				/usr/sbin/lctl --version 2&amp;gt;/dev/null | cut -d&apos; &apos; -f2
error on LL_IOC_LMV_SETSTRIPE &apos;/mnt/lustre/d300g.sanity/striped_dir/dir2&apos; (3): No such device
/usr/bin/lfs setdirstripe: cannot create stripe dir &apos;/mnt/lustre/d300g.sanity/striped_dir/dir2&apos;: No such device
 sanity test_300g: @@@@@@ FAIL: create dir2 fails 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The problem is in the test at&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;15297         $LFS setdirstripe -i2 $DIR/$tdir/striped_dir/dir2 ||
15298                 error &lt;span class=&quot;code-quote&quot;&gt;&quot;create dir2 fails&quot;&lt;/span&gt;
15299         stripe_index=$($LFS getdirstripe -i $DIR/$tdir/striped_dir/dir2)
15300         [ $stripe_index -eq 2 ] ||
15301                 error &lt;span class=&quot;code-quote&quot;&gt;&quot;dir2 expect 2 got $stripe_index&quot;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The test checks that there are at least two MDTs (we need to stop using MDSCOUNT as MDTCOUNT, but that&#8217;s for a different ticket) and then creates two directories with &#8216;lfs setdirstripe &#8211;iN &#8230;&#8217;, with N = 1 and 2, striping directories at MDT index 1 and MDT index 2. &lt;/p&gt;

&lt;p&gt;The problem here is that, with only two MDTs, creating a directory that starts with MDT index 1 works as expected, but creating a directory that starts at index 2 fails because MDT indexes are zero based and we only have two MDTs with indexes 0 and 1. &lt;/p&gt;

&lt;p&gt;This test has passed review-dne-part-* testing because typical DNE testing creates two MDSs with two MDTs each and a MDT starting index of 2 is valid. &lt;/p&gt;

&lt;p&gt;There are at least two ways to fix this issue; make sure you have three or more MDTs for this test or just create directories that have starting index 0 and 1.&lt;/p&gt;

&lt;p&gt;Logs for sanity test 300g failures are at&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/01353734-7efb-11e7-bbc6-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/01353734-7efb-11e7-bbc6-5254006e85c2&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/dfb54824-9291-11e7-b72d-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/dfb54824-9291-11e7-b72d-5254006e85c2&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/874485f2-942f-11e7-b722-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/874485f2-942f-11e7-b722-5254006e85c2&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I will create a patch for this issue.&lt;/p&gt;</description>
                <environment></environment>
        <key id="48251">LU-9968</key>
            <summary>sanity test 300g fails with &apos;create dir2 fails&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="jamesanunez">James Nunez</assignee>
                                    <reporter username="jamesanunez">James Nunez</reporter>
                        <labels>
                            <label>easy</label>
                            <label>tests</label>
                    </labels>
                <created>Sat, 9 Sep 2017 20:24:16 +0000</created>
                <updated>Tue, 24 Oct 2017 12:50:58 +0000</updated>
                            <resolved>Tue, 24 Oct 2017 12:50:58 +0000</resolved>
                                    <version>Lustre 2.10.1</version>
                    <version>Lustre 2.11.0</version>
                                    <fixVersion>Lustre 2.11.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="208084" author="gerrit" created="Mon, 11 Sep 2017 21:22:13 +0000"  >&lt;p&gt;James Nunez (james.a.nunez@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/28935&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/28935&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9968&quot; title=&quot;sanity test 300g fails with &amp;#39;create dir2 fails&amp;#39;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9968&quot;&gt;&lt;del&gt;LU-9968&lt;/del&gt;&lt;/a&gt; tests: correct stripe index sanity 300g&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 24c2175d84835c093ed331ce3a6f498c382f7606&lt;/p&gt;</comment>
                            <comment id="211750" author="gerrit" created="Tue, 24 Oct 2017 03:42:43 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/28935/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/28935/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9968&quot; title=&quot;sanity test 300g fails with &amp;#39;create dir2 fails&amp;#39;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9968&quot;&gt;&lt;del&gt;LU-9968&lt;/del&gt;&lt;/a&gt; tests: correct stripe index sanity 300g&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 52a1befd75087190ff23c0750b85bb632f772474&lt;/p&gt;</comment>
                            <comment id="211778" author="pjones" created="Tue, 24 Oct 2017 12:50:58 +0000"  >&lt;p&gt;Landed for 2.11&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|hzzjxb:</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>