<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:11:06 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-14595] replay-single test 85b fails with &apos;unused locks (0) should be zero&apos;</title>
                <link>https://jira.whamcloud.com/browse/LU-14595</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;replay-single test_85b fails with &apos;unused locks (0) should be zero&apos;. Looking at the suite log for the failure at &lt;a href=&quot;https://testing.whamcloud.com/test_sets/abb9065e-95b7-46bc-bb27-07ffe7934307&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/abb9065e-95b7-46bc-bb27-07ffe7934307&lt;/a&gt;, we see&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;== replay-single test 85b: check the cancellation of unused locks during recovery(EXTENT) ============ 15:55:13 (1604159713)
before recovery: unused locks count = 0
 replay-single test_85b: @@@@@@ FAIL: unused locks (0) should be zero 
  Trace dump:
  = /usr/lib64/lustre/tests/test-framework.sh:6254:error()
  = /usr/lib64/lustre/tests/replay-single.sh:3134:test_85b()
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;It seems like there is a problem here; the test reports that there are zero unused locks and then the test fails because there should be zero unused locks. Let&#8217;s look at the portion of the code that contains the error/error check: &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;
3127         lov_id=$(lctl dl | grep &lt;span class=&quot;code-quote&quot;&gt;&quot;clilov&quot;&lt;/span&gt;)
3128         addr=$(echo $lov_id | awk &lt;span class=&quot;code-quote&quot;&gt;&apos;{print $4}&apos;&lt;/span&gt; | awk -F &lt;span class=&quot;code-quote&quot;&gt;&apos;-&apos;&lt;/span&gt; &lt;span class=&quot;code-quote&quot;&gt;&apos;{print $NF}&apos;&lt;/span&gt;)
3129         count=$(lctl get_param -n \
3130                           ldlm.namespaces.*OST0000*$addr.lock_unused_count)
3131         echo &lt;span class=&quot;code-quote&quot;&gt;&quot;before recovery: unused locks count = $count&quot;&lt;/span&gt;
3132         [ $count -ne 0 ] || error &lt;span class=&quot;code-quote&quot;&gt;&quot;unused locks ($count) should be zero&quot;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Either the error message is wrong or we want to AND (&amp;amp;&amp;amp;) the test with the error message. Looking at the test, it seems like we produce unused locks and want a non-zero number of locks before failover. &lt;/p&gt;

&lt;p&gt;For the master branch, the last time this test failed was on 29 OCT 2020 for Lustre 2.13.56.45; &lt;a href=&quot;https://testing.whamcloud.com/test_sets/abb9065e-95b7-46bc-bb27-07ffe7934307&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/abb9065e-95b7-46bc-bb27-07ffe7934307&lt;/a&gt;. &lt;br/&gt;
For b2_12, the last time this test failed was on 19 OCT 2020 for Lustre 2.12.5.52; &lt;a href=&quot;https://testing.whamcloud.com/test_sets/810f63ee-776d-43c8-9a8d-f740bc29aec8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/810f63ee-776d-43c8-9a8d-f740bc29aec8&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;Even though the test isn&#8217;t failing, we should fix the confusing error message.&lt;/p&gt;</description>
                <environment></environment>
        <key id="63706">LU-14595</key>
            <summary>replay-single test 85b fails with &apos;unused locks (0) should be zero&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>failover</label>
                    </labels>
                <created>Thu, 8 Apr 2021 18:39:01 +0000</created>
                <updated>Fri, 9 Apr 2021 17:28:28 +0000</updated>
                                            <version>Lustre 2.12.6</version>
                    <version>Lustre 2.15.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|i01ro7:</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>