<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:59:38 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-13244] sanity test 184a fails with &apos;swap of file layout failed&apos;</title>
                <link>https://jira.whamcloud.com/browse/LU-13244</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;sanity test 184a fails with &apos;swap of file layout failed&apos; starting on 27 SEPT 2019 and fails 100% of the time for PPC client testing. &lt;/p&gt;

&lt;p&gt;Looking at a recent failure at &lt;a href=&quot;https://testing.whamcloud.com/test_sets/d3720002-4a27-11ea-b69a-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/d3720002-4a27-11ea-b69a-52540065bddc&lt;/a&gt;, the suite_log shows that the real problem is with &#8216;lfs setstripe&#8217;&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 184a: Basic layout swap =============================================================== 01:26:08 (1581125168)
lfs setstripe: &apos;/mnt/lustre/d184a.sanity/184a&apos; not on a mounted Lustre filesystem
lfs setstripe: &apos;/mnt/lustre/d184a.sanity/184a/f1&apos; is not on a Lustre filesystem: No such device (19)
lfs setstripe: &apos;/mnt/lustre/d184a.sanity/184a&apos; not on a mounted Lustre filesystem
lfs setstripe: &apos;/mnt/lustre/d184a.sanity/184a/f2&apos; is not on a Lustre filesystem: No such device (19)
lfs getstripe: cannot get lov name: Inappropriate ioctl for device (25)
error: getstripe failed for /mnt/lustre/d184a.sanity/184a/f1.
lfs getstripe: cannot get lov name: Inappropriate ioctl for device (25)
error: getstripe failed for /mnt/lustre/d184a.sanity/184a/f2.
lfs swap_layouts: error: cannot swap layout between &apos;/mnt/lustre/d184a.sanity/184a/f1&apos; and &apos;/mnt/lustre/d184a.sanity/184a/f2&apos;: Inappropriate ioctl for device (25)
 sanity test_184a: @@@@@@ FAIL: swap of file layout failed 
  Trace dump:
  = /usr/lib64/lustre/tests/test-framework.sh:6121:error()
  = /usr/lib64/lustre/tests/sanity.sh:15043:test_184a()
 &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;There are no errors or any indication of why this test fails in any of the console logs. &lt;/p&gt;

&lt;p&gt;There are several other sanity tests that &#8216;lfs setstripe&#8217; fails with &#8220;not on a mounted Lustre filesystem&#8221; or &#8220;not a Lustre filesystem&#8221; including 200, 204a, 204b, 204c, 204d, 204e, 204f, 204g, 204h, 231a, 232a, 232b, 236, 243, 250, 253, 255a, 255b, 255c, 272e, 272f, 300m, 311, 313, 314, 399b, 402, 405, 802b, 812a, 812b and 816. &lt;/p&gt;

&lt;p&gt;In addition, there are other tests where &#8216;lfs setstripe&#8217; fails with different errors. Tests 270a, 270b, 270c, 270d, 270e, 271c, 271d, 271f, 272a, 272b, 272c, 272d and 809 all fail 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 270a: DoM: basic functionality tests ================================================== 02:34:55 (1581129295)
lfs setstripe: cannot create composite file &apos;/mnt/lustre/d270a.sanity/dom_file&apos;: Inappropriate ioctl for device
 sanity test_270a: @@@@@@ FAIL: Can&apos;t create DoM layout 
  Trace dump:
  = /usr/lib64/lustre/tests/test-framework.sh:6121:error()
  = /usr/lib64/lustre/tests/sanity.sh:18523:test_270a()
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;sanity test 270f call to &#8216;lfs mkdir&#8217; also fails with &#8216;not on a mounted Lustre filesystem&#8217;&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 270f: DoM: maximum DoM stripe size checks ============================================= 02:35:06 (1581129306)
CMD: trevis-10vm12 /usr/sbin/lctl get_param -n lod.lustre-MDT0000-mdtlov.dom_stripesize
CMD: trevis-10vm12 /usr/sbin/lctl set_param -n lod.lustre-MDT0000-mdtlov.dom_stripesize=131072
CMD: trevis-10vm12 /usr/sbin/lctl get_param -n lod.lustre-MDT0000-mdtlov.dom_stripesize
lfs mkdir: &apos;/mnt/lustre&apos; not on a mounted Lustre filesystem
lfs mkdir: &apos;/mnt/lustre/d270f.sanity&apos; is not on a Lustre filesystem: No such device (19)
lfs setdirstripe: cannot create dir &apos;/mnt/lustre/d270f.sanity&apos;: No such device
lfs setstripe: &apos;/mnt/lustre&apos; not on a mounted Lustre filesystem
lfs setstripe: &apos;/mnt/lustre/d270f.sanity&apos; is not on a Lustre filesystem: No such device (19)
lfs setstripe: cannot create composite file &apos;/mnt/lustre/d270f.sanity&apos;: Inappropriate ioctl for device
 sanity test_270f: @@@@@@ FAIL: Can&apos;t set directory default striping 
  Trace dump:
  = /usr/lib64/lustre/tests/test-framework.sh:6121:error()
  = /usr/lib64/lustre/tests/sanity.sh:18757:test_270f()
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;


&lt;p&gt;Similarly, sanity test 184c, 184d, 184e, 187a, 208, 244a, 244b and 813 all fail with an inappropriate ioctl error for various lfs calls&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 184c: Concurrent write and layout swap ================================================ 01:26:13 (1581125173)
61+0 records in
61+0 records out
63963136 bytes (64 MB) copied, 0.245054 s, 261 MB/s
42+0 records in
42+0 records out
44040192 bytes (44 MB) copied, 0.16921 s, 260 MB/s
ref file size: ref1(63963136), ref2(44040192)
3904+0 records in
3904+0 records out
63963136 bytes (64 MB) copied, 0.0380003 s, 1.7 GB/s
lfs swap_layouts: error: cannot swap layout between &apos;/mnt/lustre/d184c.sanity/184c/file1&apos; and &apos;/mnt/lustre/d184c.sanity/184c/file2&apos;: Inappropriate ioctl for device (25)
 sanity test_184c: @@@@@@ FAIL: swap of /mnt/lustre/d184c.sanity/184c/file1 and /mnt/lustre/d184c.sanity/184c/file2 failed 
  Trace dump:
  = /usr/lib64/lustre/tests/test-framework.sh:6121:error()
  = /usr/lib64/lustre/tests/sanity.sh:15117:test_184c()
&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 184d: allow stripeless layouts swap =================================================== 01:26:15 (1581125175)
Succeed in opening file &quot;/mnt/lustre/d184d.sanity/f184d.sanity-2&quot;(flags=O_CREAT)
Succeed in opening file &quot;/mnt/lustre/d184d.sanity/f184d.sanity-3&quot;(flags=O_CREAT)
lfs getstripe: cannot get lov name: Inappropriate ioctl for device (25)
error: getstripe failed for /mnt/lustre/d184d.sanity/f184d.sanity-1.
lfs swap_layouts: error: cannot swap layout between &apos;/mnt/lustre/d184d.sanity/f184d.sanity-2&apos; and &apos;/mnt/lustre/d184d.sanity/f184d.sanity-3&apos;: Inappropriate ioctl for device (25)
 sanity test_184d: @@@@@@ FAIL: swap /mnt/lustre/d184d.sanity/f184d.sanity-2 /mnt/lustre/d184d.sanity/f184d.sanity-3 layouts failed 
  Trace dump:
  = /usr/lib64/lustre/tests/test-framework.sh:6121:error()
  = /usr/lib64/lustre/tests/sanity.sh:15157:test_184d()
&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 244a: sendfile with group lock tests ================================================== 02:32:09 (1581129129)
35+0 records in
35+0 records out
36700160 bytes (37 MB) copied, 0.00913071 s, 4.0 GB/s
Starting test test10 at 1581129130
Finishing test test10 at 1581129130
Starting test test11 at 1581129130
sendfile_grouplock: cannot get group lock: Inappropriate ioctl for device (25)
sendfile_grouplock: sendfile_grouplock.c:229: sendfile_copy: assertion &apos;rc == 0&apos; failed: cannot set group lock 85543 for &apos;/mnt/lustre/d244a.sanity/f244a.sanity&apos;: Inappropriate ioctl for device
 sanity test_244a: @@@@@@ FAIL: sendfile+grouplock failed 
  Trace dump:
  = /usr/lib64/lustre/tests/test-framework.sh:6121:error()
  = /usr/lib64/lustre/tests/sanity.sh:17525:test_244a()
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;multiop fails with similar &#8216;not on a mounted Lustre filesystem&#8217; or &#8216;inapporpriate ioctl&#8217; errors for sanity tests 208, 229 &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 208: Exclusive open =================================================================== 02:28:13 (1581128893)
==== test 1: verify get lease work
multiop: cannot get READ lease, ext 0: Inappropriate ioctl for device (25)
multiop: apply/unlock lease error: Inappropriate ioctl for device
 sanity test_208: @@@@@@ FAIL: get lease error 
  Trace dump:
  = /usr/lib64/lustre/tests/test-framework.sh:6121:error()
  = /usr/lib64/lustre/tests/sanity.sh:15732:test_208()
&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 229: getstripe/stat/rm/attr changes work on released files ============================ 02:30:54 (1581129054)
multiop: &apos;/mnt/lustre&apos; not on a mounted Lustre filesystem
multiop: &apos;/mnt/lustre/f229.sanity&apos; is not on a Lustre filesystem: No such device (19)
close: Bad file descriptor
 sanity test_229: @@@@@@ FAIL: failed to create file with released layout 
  Trace dump:
  = /usr/lib64/lustre/tests/test-framework.sh:6121:error()
  = /usr/lib64/lustre/tests/sanity.sh:16524:test_229()
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

</description>
                <environment>PPC clients</environment>
        <key id="58072">LU-13244</key>
            <summary>sanity test 184a fails with &apos;swap of file layout failed&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="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="jamesanunez">James Nunez</reporter>
                        <labels>
                            <label>ppc</label>
                    </labels>
                <created>Tue, 11 Feb 2020 23:05:01 +0000</created>
                <updated>Wed, 17 Feb 2021 21:23:42 +0000</updated>
                                            <version>Lustre 2.14.0</version>
                                                        <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|i00tnb:</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>