<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:52:30 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-12428] sanity-sec: test_13 nodemap_del failed with 1 </title>
                <link>https://jira.whamcloud.com/browse/LU-12428</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This issue was created by maloo for Li Xi &amp;lt;pkuelelixi@gmail.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/2fe8e80e-8cce-11e9-abe3-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/2fe8e80e-8cce-11e9-abe3-52540065bddc&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;By checking the test logs, we can find that in test_13, after running &quot;lctl nodemap_del 48714_1&quot;, the test script check whether the nodemap has been deleted or not immediately in delete_nodemaps() of sanity-sec.sh. However, &quot;lctl get_param nodemap.48714_1.id&quot; still prints a result, which is unexpected by delete_nodemaps(). And thus, delete_nodemaps() quit with error reporting failure of test_13.&lt;/p&gt;

&lt;p&gt;test_14 and test_15 failed too, but that is consequence of test_13 failure. In test_13, delete_nodemaps() didn&apos;t remove the existing nodemaps after 48714_1, so the nodemap_add of 48714_2 fails.&lt;/p&gt;

&lt;p&gt;I think we need to have improvemens here. test_13, test_14 and test_15 are unrelated, so before running these test cases, delete_nodemaps() need to delete existing nodemaps to avoid failure.&lt;/p&gt;</description>
                <environment></environment>
        <key id="55933">LU-12428</key>
            <summary>sanity-sec: test_13 nodemap_del failed with 1 </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="sebastien">Sebastien Buisson</assignee>
                                    <reporter username="maloo">Maloo</reporter>
                        <labels>
                    </labels>
                <created>Wed, 12 Jun 2019 08:02:25 +0000</created>
                <updated>Thu, 12 Sep 2019 03:32:40 +0000</updated>
                            <resolved>Thu, 12 Sep 2019 03:32:40 +0000</resolved>
                                    <version>Lustre 2.13.0</version>
                                    <fixVersion>Lustre 2.13.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="250650" author="jamesanunez" created="Wed, 3 Jul 2019 22:54:40 +0000"  >&lt;p&gt;We&#8217;re seeing a varying number of sanity-sec tests fail with &#8220;nodemap_del failed with 1&#8221; followed by several tests failing with &#8220;nodemap_add failed with 1&#8221;. This looks like is started with on June 9, 2019 for Lustre version 2.12.54.52, for review-dne-zfs-part-2 and review-dne-part-2 only. &lt;/p&gt;

&lt;p&gt;Some examples of failures are:&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_sets/c3c90e88-8ad4-11e9-a77a-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/c3c90e88-8ad4-11e9-a77a-52540065bddc&lt;/a&gt;  and &lt;a href=&quot;https://testing.whamcloud.com/test_sets/b81989e4-8c52-11e9-9bb5-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/b81989e4-8c52-11e9-9bb5-52540065bddc&lt;/a&gt;&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;sanity-sec test_7 fails with &#8220;nodemap_del failed with 1&#8221; and then tests 8, 9, 10a, 11, 12, 13, 14, 15 fail with &#8220;nodemap_add failed with 1&#8221;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&lt;a href=&quot;https://testing.whamcloud.com/test_sets/cdd12596-9c81-11e9-8dbe-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/cdd12596-9c81-11e9-8dbe-52540065bddc&lt;/a&gt; - sanity-sec test_8 fails with &#8220;nodemap_del failed with 1&#8221; and then tests 9, 10a, 11, 12, 13, 14, 15 fail with &#8220;nodemap_add failed with 1&#8221;&lt;/p&gt;</comment>
                            <comment id="250654" author="pjones" created="Wed, 3 Jul 2019 23:44:27 +0000"  >&lt;p&gt;Sebastien can you please investigate?&lt;/p&gt;</comment>
                            <comment id="250673" author="gerrit" created="Thu, 4 Jul 2019 12:59:40 +0000"  >&lt;p&gt;Sebastien Buisson (sbuisson@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/35418&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35418&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12428&quot; title=&quot;sanity-sec: test_13 nodemap_del failed with 1 &quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12428&quot;&gt;&lt;del&gt;LU-12428&lt;/del&gt;&lt;/a&gt; tests: add traces to delete_nodemaps&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: b5bca15d9ea3c8b8032e9792cf4f668abaa85a16&lt;/p&gt;</comment>
                            <comment id="250715" author="gerrit" created="Fri, 5 Jul 2019 13:02:18 +0000"  >&lt;p&gt;Sebastien Buisson (sbuisson@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/35421&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35421&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12428&quot; title=&quot;sanity-sec: test_13 nodemap_del failed with 1 &quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12428&quot;&gt;&lt;del&gt;LU-12428&lt;/del&gt;&lt;/a&gt; tests: wait for nodemaps to be synchronized&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 1c65b0984c0cca5d194d33250e75e52e55764e9a&lt;/p&gt;</comment>
                            <comment id="253066" author="gerrit" created="Thu, 15 Aug 2019 07:54:15 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/35421/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35421/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12428&quot; title=&quot;sanity-sec: test_13 nodemap_del failed with 1 &quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12428&quot;&gt;&lt;del&gt;LU-12428&lt;/del&gt;&lt;/a&gt; tests: wait for nodemaps to be synchronized&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 654cbf3c9d4daa7def0ba52b45b2b8ead39fcf90&lt;/p&gt;</comment>
                            <comment id="253104" author="pjones" created="Thu, 15 Aug 2019 13:42:58 +0000"  >&lt;p&gt;Landed for 2.13&lt;/p&gt;</comment>
                            <comment id="253788" author="yujian" created="Wed, 28 Aug 2019 19:05:35 +0000"  >&lt;p&gt;The failure occurred 5 times on master branch last week:&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_sets/969517b8-c9a9-11e9-9fc9-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/969517b8-c9a9-11e9-9fc9-52540065bddc&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_sets/bc4a1c04-c843-11e9-a25b-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/bc4a1c04-c843-11e9-a25b-52540065bddc&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_sets/eeb69820-c811-11e9-a2b6-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/eeb69820-c811-11e9-a2b6-52540065bddc&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="253850" author="sebastien" created="Thu, 29 Aug 2019 10:15:12 +0000"  >&lt;p&gt;Hmm, when comparing test log from one of the recent failures (&lt;a href=&quot;https://testing.whamcloud.com/test_sets/969517b8-c9a9-11e9-9fc9-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/969517b8-c9a9-11e9-9fc9-52540065bddc&lt;/a&gt;) and test log from patch &lt;a href=&quot;https://review.whamcloud.com/35421/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35421/&lt;/a&gt; when it passed Maloo (&lt;a href=&quot;https://testing.whamcloud.com/sub_tests/7f7dee14-9f70-11e9-9e3d-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/sub_tests/7f7dee14-9f70-11e9-9e3d-52540065bddc&lt;/a&gt;), it appears that there are no such message as &quot;On MGS 10.9.4.124, 40996_0.id = nodemap.40996_0.id=1&quot; in the failure case.&lt;br/&gt;
It means wait_nm_sync did not do its job, possibly because of the empty third parameter not taken into account properly. I will push a patch to make that more robust.&lt;/p&gt;</comment>
                            <comment id="253851" author="gerrit" created="Thu, 29 Aug 2019 10:15:26 +0000"  >&lt;p&gt;Sebastien Buisson (sbuisson@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/35990&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35990&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12428&quot; title=&quot;sanity-sec: test_13 nodemap_del failed with 1 &quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12428&quot;&gt;&lt;del&gt;LU-12428&lt;/del&gt;&lt;/a&gt; tests: robustify &apos;inactive&apos; option of wait_nm_sync&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: c88a2d5a4a6c576ca79d71e5e331811246a94605&lt;/p&gt;</comment>
                            <comment id="253938" author="sebastien" created="Fri, 30 Aug 2019 15:30:50 +0000"  >&lt;p&gt;Oh, I finally found out the reason behind this strange behavior with wait_nm_sync() in sanity-sec.sh.&lt;br/&gt;
In fact, after a bad rebase, patch &lt;a href=&quot;https://review.whamcloud.com/34090&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/34090&lt;/a&gt; introduced a different version of the wait_nm_sync() function in the same script sanity-sec.sh.&lt;/p&gt;</comment>
                            <comment id="253939" author="gerrit" created="Fri, 30 Aug 2019 15:31:01 +0000"  >&lt;p&gt;Sebastien Buisson (sbuisson@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/36009&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36009&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12428&quot; title=&quot;sanity-sec: test_13 nodemap_del failed with 1 &quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12428&quot;&gt;&lt;del&gt;LU-12428&lt;/del&gt;&lt;/a&gt; tests: fix sanity-sec wait_nm_sync&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 83526c493048e6f2a1ddf0bbf7cdf48d40982d16&lt;/p&gt;</comment>
                            <comment id="254563" author="gerrit" created="Thu, 12 Sep 2019 03:26:51 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/36009/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36009/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12428&quot; title=&quot;sanity-sec: test_13 nodemap_del failed with 1 &quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12428&quot;&gt;&lt;del&gt;LU-12428&lt;/del&gt;&lt;/a&gt; tests: fix sanity-sec wait_nm_sync&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: ab398920fc20986a8ec686cad984f0cf0145a8d9&lt;/p&gt;</comment>
                            <comment id="254568" author="pjones" created="Thu, 12 Sep 2019 03:32:40 +0000"  >&lt;p&gt;Landed for 2.13&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|i00i3r:</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>