<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:14:47 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-15022] sanity test_104c returned 2</title>
                <link>https://jira.whamcloud.com/browse/LU-15022</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This issue was created by maloo for S Buisson &amp;lt;sbuisson@ddn.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/4824ed24-8a35-468e-b1f1-3e1efcc5321f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/4824ed24-8a35-468e-b1f1-3e1efcc5321f&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;test_104c 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_104c returned 2
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The test seems broken.&lt;br/&gt;
It ends 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;After recordsize change
lfs output : filesystem_summary: 73.0G 150.8M 72.9G 1% /mnt/lustre
df  output : 10.9.4.19@tcp:/lustre 74G 150M 73G 1% /mnt/lustre
CMD: trevis-71vm4 /usr/sbin/lctl get_param -n osd-zfs.lustre-MDT0000..mntdev
CMD: trevis-71vm4 zfs set recordsize=131072 lustre-mdt1/mdt1
CMD: trevis-71vm5 /usr/sbin/lctl get_param -n osd-zfs.lustre-MDT0000..mntdev
trevis-71vm5: error: get_param: param_path &apos;osd-zfs/lustre-MDT0000//mntdev&apos;: No such file or directory
pdsh@trevis-71vm1: trevis-71vm5: ssh exited with exit code 2
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;But when it succeeds, for instance in &lt;a href=&quot;https://testing.whamcloud.com/sub_tests/272da434-33ef-44cc-9710-77a6372826e6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/sub_tests/272da434-33ef-44cc-9710-77a6372826e6&lt;/a&gt;, what happens is not really different, but the script manages to set recordsize:&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;After recordsize change
lfs output : filesystem_summary: 73.0G 146.8M 72.9G 1% /mnt/lustre
df  output : 10.9.10.22@tcp:/lustre 74G 147M 73G 1% /mnt/lustre
CMD: trevis-209vm14 lctl get_param -n osd-zfs.lustre-MDT0000..mntdev
CMD: trevis-209vm14 zfs set recordsize=131072 lustre-mdt1/mdt1
CMD: trevis-209vm15 lctl get_param -n osd-zfs.lustre-MDT0000..mntdev
trevis-209vm15: error: get_param: param_path &apos;osd-zfs/lustre-MDT0000//mntdev&apos;: No such file or directory
pdsh@trevis-209vm11: trevis-209vm15: ssh exited with exit code 2
CMD: trevis-209vm15 zfs set recordsize=131072
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;






&lt;p&gt;VVVVVVV DO NOT REMOVE LINES BELOW, Added by Maloo for auto-association VVVVVVV&lt;br/&gt;
sanity test_104c - test_104c returned 2&lt;/p&gt;</description>
                <environment></environment>
        <key id="66146">LU-15022</key>
            <summary>sanity test_104c returned 2</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="arshad512">Arshad Hussain</assignee>
                                    <reporter username="maloo">Maloo</reporter>
                        <labels>
                    </labels>
                <created>Tue, 21 Sep 2021 07:14:41 +0000</created>
                <updated>Wed, 22 Sep 2021 04:09:50 +0000</updated>
                            <resolved>Wed, 22 Sep 2021 04:09:49 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="313499" author="adilger" created="Tue, 21 Sep 2021 14:35:23 +0000"  >&lt;p&gt;This started on 2021-09-14. The test was added in arch &lt;a href=&quot;https://review.whamcloud.com/43154&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/43154&lt;/a&gt;   &quot;&lt;tt&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14565&quot; title=&quot;Changing recordsize of OST Breaks &amp;#39;df&amp;#39; (lfs df works correctly)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14565&quot;&gt;&lt;del&gt;LU-14565&lt;/del&gt;&lt;/a&gt; ofd: Do not rely on tgd_blockbit&lt;/tt&gt;&quot; but it landed on 2021-05-19 so it isn&apos;t clear why it started failing. &lt;/p&gt;

&lt;p&gt;The error reported is because &quot;&lt;tt&gt;ostparam&lt;/tt&gt;&quot; and &quot;&lt;tt&gt;mdtparam&lt;/tt&gt;&quot; have a trailing &quot;&lt;tt&gt;.&lt;/tt&gt;&quot; but also adds its own &quot;&lt;tt&gt;.&lt;/tt&gt;&quot; when it is used. &lt;/p&gt;</comment>
                            <comment id="313517" author="arshad512" created="Tue, 21 Sep 2021 15:35:06 +0000"  >&lt;p&gt;Andreas, I am looking into this.&lt;/p&gt;</comment>
                            <comment id="313547" author="adilger" created="Tue, 21 Sep 2021 19:31:57 +0000"  >&lt;p&gt;Actually, it may &lt;b&gt;not&lt;/b&gt; be caused by the double &quot;&lt;tt&gt;..&lt;/tt&gt;&quot; in the parameter name.  Since these are converted to &quot;&lt;tt&gt;//&lt;/tt&gt;&quot; in the pathname, and lookups will eat multiple consecutive &quot;&lt;tt&gt;//&lt;/tt&gt;&quot; in the path, that may just be a cosmetic, but harmless issue.&lt;/p&gt;

&lt;p&gt;As Sebastien points out, in the case where the test passes, the &quot;&lt;tt&gt;zfs set recordsize&lt;/tt&gt;&quot; command is run at the end, and that hides the error returned from &quot;&lt;tt&gt;lctl get_param osd-zfs.&amp;#42;.mntdev&lt;/tt&gt;&quot;.  If the first error is fixed, then the test should pass consistently.&lt;/p&gt;

&lt;p&gt;It probably also makes sense to move the &quot;restore recordsize&quot; to stack_trap, so that it is always restored even if the test calls &quot;&lt;tt&gt;error&lt;/tt&gt;&quot; earlier.  Note, however, that the stack_trap commands are still run in the context of the test, so they cannot return an error or the test will be considered a failure.&lt;/p&gt;</comment>
                            <comment id="313574" author="adilger" created="Tue, 21 Sep 2021 22:56:01 +0000"  >&lt;p&gt;I just looked at the patch list from &quot;&lt;tt&gt;git log --oneline --after 2021-09-16 master&lt;/tt&gt;&quot; and I think this is pretty clearly caused by patch &lt;a href=&quot;https://review.whamcloud.com/44882&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/44882&lt;/a&gt; &quot;&lt;tt&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14997&quot; title=&quot;Register &amp;quot;stack_trap&amp;quot; for sanity/104c for cleanup&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14997&quot;&gt;LU-14997&lt;/a&gt; tests: Register stack_trap for sanity/104c&lt;/tt&gt;&quot;.  Unfortunately, that patch was tested with &quot;&lt;tt&gt;Test-Parameters: trivial&lt;/tt&gt;&quot; but &lt;tt&gt;test_104c&lt;/tt&gt; is skipped for ldiskfs, and the patch causes the failure exclusively on ZFS backends.&lt;/p&gt;</comment>
                            <comment id="313575" author="gerrit" created="Tue, 21 Sep 2021 22:58:35 +0000"  >&lt;p&gt;&quot;Andreas Dilger &amp;lt;adilger@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/45008&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/45008&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15022&quot; title=&quot;sanity test_104c returned 2&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15022&quot;&gt;&lt;del&gt;LU-15022&lt;/del&gt;&lt;/a&gt; revert: &quot;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14997&quot; title=&quot;Register &amp;quot;stack_trap&amp;quot; for sanity/104c for cleanup&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14997&quot;&gt;LU-14997&lt;/a&gt; tests: Register stack_trap for sanity/104c&quot;&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: cc7bf497aeb4845637946ea0c519d632f292e06b&lt;/p&gt;</comment>
                            <comment id="313586" author="gerrit" created="Wed, 22 Sep 2021 03:12:51 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/45008/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/45008/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15022&quot; title=&quot;sanity test_104c returned 2&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15022&quot;&gt;&lt;del&gt;LU-15022&lt;/del&gt;&lt;/a&gt; revert: &quot;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14997&quot; title=&quot;Register &amp;quot;stack_trap&amp;quot; for sanity/104c for cleanup&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14997&quot;&gt;LU-14997&lt;/a&gt; tests: Register stack_trap for sanity/104c&quot;&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: df2c0c19b1b8075a21b583b06aaf11f215f59c22&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="65975">LU-14997</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|i024u7:</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>