<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:28:49 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-9741] sanity test 27w failed with &#8220;/usr/bin/lfs getstripe -d /mnt/lustre/d27w.sanity failed&#8221;</title>
                <link>https://jira.whamcloud.com/browse/LU-9741</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Running the sanity test suite with a composite file layout set on the mount point results in sanity test_27w failing with &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_27w: @@@@@@ FAIL: /usr/bin/lfs getstripe -d /mnt/lustre/d27w.sanity failed
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Test 27w gets stripe information for a directory and assumes that there is only one &#8220;stripe_count&#8221; entry in the output;&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;1715 test_27w() { # bug 10997
1716         test_mkdir -p $DIR/$tdir || error &lt;span class=&quot;code-quote&quot;&gt;&quot;mkdir failed&quot;&lt;/span&gt;
1717         $SETSTRIPE -S 65536 $DIR/$tdir/f0 || error &lt;span class=&quot;code-quote&quot;&gt;&quot;setstripe failed&quot;&lt;/span&gt;
1718         [ $($GETSTRIPE -S $DIR/$tdir/f0) -ne 65536 ] &amp;amp;&amp;amp;
1719                 error &lt;span class=&quot;code-quote&quot;&gt;&quot;stripe size $size != 65536&quot;&lt;/span&gt; || &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;
1720         [ $($GETSTRIPE -d $DIR/$tdir | grep -c &lt;span class=&quot;code-quote&quot;&gt;&quot;stripe_count&quot;&lt;/span&gt;) -ne 1 ] &amp;amp;&amp;amp;
1721                 error &lt;span class=&quot;code-quote&quot;&gt;&quot;$GETSTRIPE -d $DIR/$tdir failed&quot;&lt;/span&gt; || &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;
1722 }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;With PFL, directories can have more than one component. For example, if we use &#8216;lfs setstripe&#8217; to set the component count on a directory greater than one and get the stripe information with &#8216;lfs getstripe&#8217;, we see there is more than one &#8220;stripe_count&#8221; entry in the 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;# lfs setstripe -E 2M -S 1M -c 1 -E -1 -c -1 /lustre/scratch
# lfs getstripe /lustre/scratch/
/lustre/scratch/
  lcm_layout_gen:  0
  lcm_entry_count: 2
    lcme_id:             N/A
    lcme_flags:          0
    lcme_extent.e_start: 0
    lcme_extent.e_end:   2097152
      stripe_count:  1       stripe_size:   1048576       stripe_offset: -1
    lcme_id:             N/A
    lcme_flags:          0
    lcme_extent.e_start: 2097152
    lcme_extent.e_end:   EOF
      stripe_count:  -1       stripe_size:   1048576       stripe_offset: -1
# mkdir /lustre/scratch/testdir
# lfs getstripe -d /lustre/scratch/testdir
  lcm_layout_gen:  0
  lcm_entry_count: 2
    lcme_id:             N/A
    lcme_flags:          0
    lcme_extent.e_start: 0
    lcme_extent.e_end:   2097152
      stripe_count:  1       stripe_size:   1048576       stripe_offset: -1
    lcme_id:             N/A
    lcme_flags:          0
    lcme_extent.e_start: 2097152
    lcme_extent.e_end:   EOF
      stripe_count:  -1       stripe_size:   1048576       stripe_offset: -1
# lfs getstripe -d /lustre/scratch/testdir | grep -c stripe_count
2
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;It looks like this test needs to be modified to not assume that there is only one stripe_count entry for directories.&lt;/p&gt;

&lt;p&gt;Logs for one of these failures is at&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/f3414818-5bcb-11e7-a749-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/f3414818-5bcb-11e7-a749-5254006e85c2&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="47139">LU-9741</key>
            <summary>sanity test 27w failed with &#8220;/usr/bin/lfs getstripe -d /mnt/lustre/d27w.sanity failed&#8221;</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>pfl</label>
                            <label>test</label>
                    </labels>
                <created>Thu, 6 Jul 2017 16:34:27 +0000</created>
                <updated>Wed, 25 Oct 2017 22:22:34 +0000</updated>
                            <resolved>Mon, 16 Oct 2017 13:41:18 +0000</resolved>
                                    <version>Lustre 2.10.0</version>
                                    <fixVersion>Lustre 2.11.0</fixVersion>
                    <fixVersion>Lustre 2.10.2</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="201423" author="adilger" created="Fri, 7 Jul 2017 23:42:09 +0000"  >&lt;p&gt;This should be as simple as changing &lt;tt&gt;-ne 1&lt;/tt&gt; to &lt;tt&gt;-eq 0&lt;/tt&gt;.&lt;/p&gt;</comment>
                            <comment id="201534" author="jamesanunez" created="Mon, 10 Jul 2017 15:43:52 +0000"  >&lt;p&gt;Andreas - From the example in the description, the number of lines with &quot;stripe count&quot; in them in the &apos;lfs getstripe -d&apos; output for directories with a composite layout is now dynamic; one line with &quot;stripe_count&quot; in it per component.&lt;/p&gt;

&lt;p&gt;So, you&apos;re suggesting that we want to see one or more lines with &quot;stripe count&quot; in the &apos;lfs getstripe -d&apos; output. That sounds reasonable. Thank you. I&apos;ll upload a patch.&lt;/p&gt;</comment>
                            <comment id="201543" author="gerrit" created="Mon, 10 Jul 2017 16:03:45 +0000"  >&lt;p&gt;James Nunez (james.a.nunez@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/27980&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/27980&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9741&quot; title=&quot;sanity test 27w failed with &#8220;/usr/bin/lfs getstripe -d /mnt/lustre/d27w.sanity failed&#8221;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9741&quot;&gt;&lt;del&gt;LU-9741&lt;/del&gt;&lt;/a&gt; test: Correct check of stripe count for directories&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 0fdec8787078127c24bb7b9a6ebadccdae6b1d2b&lt;/p&gt;</comment>
                            <comment id="211142" author="gerrit" created="Mon, 16 Oct 2017 03:22:47 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/27980/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/27980/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9741&quot; title=&quot;sanity test 27w failed with &#8220;/usr/bin/lfs getstripe -d /mnt/lustre/d27w.sanity failed&#8221;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9741&quot;&gt;&lt;del&gt;LU-9741&lt;/del&gt;&lt;/a&gt; test: Correct check of stripe count for directories&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 1cc354d559d1df90a2eaa886eb0e3956bf385a9e&lt;/p&gt;</comment>
                            <comment id="211166" author="pjones" created="Mon, 16 Oct 2017 13:41:18 +0000"  >&lt;p&gt;Landed for 2.11&lt;/p&gt;</comment>
                            <comment id="211194" author="gerrit" created="Mon, 16 Oct 2017 16:04:32 +0000"  >&lt;p&gt;Minh Diep (minh.diep@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/29625&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/29625&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9741&quot; title=&quot;sanity test 27w failed with &#8220;/usr/bin/lfs getstripe -d /mnt/lustre/d27w.sanity failed&#8221;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9741&quot;&gt;&lt;del&gt;LU-9741&lt;/del&gt;&lt;/a&gt; test: Correct check of stripe count for directories&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_10&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: c867ea4ed6f02455f98d010f64817086e4bfbcfa&lt;/p&gt;</comment>
                            <comment id="212006" author="gerrit" created="Wed, 25 Oct 2017 21:53:38 +0000"  >&lt;p&gt;John L. Hammond (john.hammond@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/29625/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/29625/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9741&quot; title=&quot;sanity test 27w failed with &#8220;/usr/bin/lfs getstripe -d /mnt/lustre/d27w.sanity failed&#8221;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9741&quot;&gt;&lt;del&gt;LU-9741&lt;/del&gt;&lt;/a&gt; test: Correct check of stripe count for directories&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_10&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: bfe04c04f7eaa81809e42c06f191a266804c8834&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|hzzg6v:</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>