<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:19:27 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-15571] iotrace debug mask causing interop testing failures</title>
                <link>https://jira.whamcloud.com/browse/LU-15571</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;The addition of &lt;tt&gt;iotrace&lt;/tt&gt; to the default debug mask is causing interop testing failures with new clients against older servers (eg. 2.14.0) for subtests that restore the debug mask at the end of the test. For example, sanity test_24v:&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_sets/96c360e4-cbca-46b4-8a8e-0371f9a8f4b4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/96c360e4-cbca-46b4-8a8e-0371f9a8f4b4&lt;/a&gt;&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;onyx-61vm3: error: set_param: setting /sys/kernel/debug/lnet/debug=trace inode super iotrace malloc cache info ioctl neterror net warning buffs other dentry nettrace page dlmtrace error emerg ha rpctrace vfstrace reada mmap config console quota sec lfsck hsm snapshot layout: Invalid argument
pdsh@onyx-61vm1: onyx-61vm3: ssh exited with exit code 22
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;and on the console logs it shows:&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;cfs_str2mask()) unknown mask &apos;iotrace&apos;.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This is likely caused by the test-framework using the client debug mask (which contains iotrace by default) being used on all of the remote nodes. &lt;/p&gt;

&lt;p&gt;It probably is enough to filter out the &quot;&lt;tt&gt;iotrace&lt;/tt&gt;&quot; string from the saved debug mask before using it on the remote node, if the server version is older than 2.14.57 (or whatever version the patch was included in).&lt;/p&gt;</description>
                <environment></environment>
        <key id="68767">LU-15571</key>
            <summary>iotrace debug mask causing interop testing failures</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</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="paf0186">Patrick Farrell</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                    </labels>
                <created>Sun, 20 Feb 2022 16:38:16 +0000</created>
                <updated>Sun, 27 Mar 2022 16:19:55 +0000</updated>
                            <resolved>Sun, 27 Mar 2022 16:19:55 +0000</resolved>
                                    <version>Lustre 2.15.0</version>
                                    <fixVersion>Lustre 2.15.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="326790" author="adilger" created="Sun, 20 Feb 2022 17:06:46 +0000"  >&lt;p&gt;Tests that are affected include at least sanity 24v, 24A, 27U, but may be more.&lt;/p&gt;

&lt;p&gt;I&apos;m not sure if there is a 2.15.0 release tracker that may show the other interop issues, but if so then this should be linked there. There do appear to be at least some sanity-flr interop failures that appear functional rather than just test issues. &lt;/p&gt;</comment>
                            <comment id="327436" author="paf0186" created="Fri, 25 Feb 2022 18:10:56 +0000"  >&lt;p&gt;You said adding it to the default debug mask - I don&apos;t think we did &lt;b&gt;that&lt;/b&gt;, did we?&#160; Just its existence in the debug mask at all, right?&lt;/p&gt;</comment>
                            <comment id="327519" author="adilger" created="Sat, 26 Feb 2022 03:06:43 +0000"  >&lt;p&gt;It may not be in the &lt;b&gt;default&lt;/b&gt; debug mask, but iotrace is at least always enabled when these tests are run.  The client saves the output only from &quot;&lt;tt&gt;lctl get_param debug&lt;/tt&gt;&quot; and assumes it is the same across the clients and servers, then &quot;restores&quot; it to the older servers, where the error is hit.  It looks like this is happening in:&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;
# wrappers &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; createmany and unlinkmany
# to set debug=0 &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; number of creates is high enough
# &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt; is to speedup testing
function createmany() {
        local count=${!#}

        (( count &amp;gt; 100 )) &amp;amp;&amp;amp; {
                local saved_debug=$($LCTL get_param -n debug) 
                local list=$(comma_list $(all_nodes))

                do_nodes $list $LCTL set_param -n debug=0
        }
        $LUSTRE/tests/createmany $*
        local rc=$?
        (( count &amp;gt; 100 )) &amp;amp;&amp;amp;
                do_nodes $list &lt;span class=&quot;code-quote&quot;&gt;&quot;$LCTL set_param -n debug=\\\&quot;&lt;/span&gt;$saved_debug\\\&quot;&quot;
        &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; $rc
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;I&apos;ll push a patch shortly.&lt;/p&gt;</comment>
                            <comment id="328312" author="pjones" created="Mon, 7 Mar 2022 18:49:18 +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/46636&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/46636&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15571&quot; title=&quot;iotrace debug mask causing interop testing failures&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15571&quot;&gt;&lt;del&gt;LU-15571&lt;/del&gt;&lt;/a&gt; tests: save/restore debug mask for interop&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 2&lt;br/&gt;
Commit: 183e00aa0c2892d977f45cda67d6f3352de3429e&lt;/p&gt;</comment>
                            <comment id="330313" author="gerrit" created="Sun, 27 Mar 2022 03:54:43 +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/46636/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/46636/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15571&quot; title=&quot;iotrace debug mask causing interop testing failures&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15571&quot;&gt;&lt;del&gt;LU-15571&lt;/del&gt;&lt;/a&gt; tests: save/restore debug mask for interop&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: f236119e6e264b00c20533336303f694d9cfe766&lt;/p&gt;</comment>
                            <comment id="330323" author="pjones" created="Sun, 27 Mar 2022 16:19:55 +0000"  >&lt;p&gt;Landed for 2.15&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="69275">LU-15696</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="67452">LU-15317</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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|i02itz:</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>