<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:55:00 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-5842] sanity-sec tests 13 and 14 use a lot more time than necessary</title>
                <link>https://jira.whamcloud.com/browse/LU-5842</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;It looks like tests 14 and 14 of sanity-sec.sh do neste loops 3 levels long: 16 x 3 x 256 and as such it takes 2600+ seconds each.&lt;br/&gt;
Sample run: &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/ec53a19c-6144-11e4-a66b-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/ec53a19c-6144-11e4-a66b-5254006e85c2&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The code:&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;        for ((i = 0; i &amp;lt; NODEMAP_COUNT; i++)); do
                for ((j = 0; j &amp;lt; NODEMAP_RANGE_COUNT; j++)); do
                        for ((k = 1; k &amp;lt; 253; k++)); do
                                if ! test_nid $SUBNET_CHECKSUM.$i.$j.$k \
                                       ${HOSTNAME_CHECKSUM}_${i}; then
                                        rc=$((rc + 1))
                                fi
                        done
                done
        done
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This last loop could easily be transferred into:&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;for k in 1 10 64 128 200 250 ; do
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;for a great reduction in runtime and at the same - to space out the checks instead of checkign just some initial values&lt;br/&gt;
(as apparently was envisioned by now unused NODEMAP_IPADDR_COUNT variable that could be removed or replaced by NODEMAP_IPADDR_LIST to hold the values above instead for easy variability).&lt;/p&gt;</description>
                <environment></environment>
        <key id="27410">LU-5842</key>
            <summary>sanity-sec tests 13 and 14 use a lot more time than necessary</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="wc-triage">WC Triage</assignee>
                                    <reporter username="green">Oleg Drokin</reporter>
                        <labels>
                    </labels>
                <created>Sun, 2 Nov 2014 04:31:44 +0000</created>
                <updated>Fri, 5 Jun 2015 00:32:39 +0000</updated>
                            <resolved>Mon, 3 Nov 2014 18:50:03 +0000</resolved>
                                                    <fixVersion>Lustre 2.7.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="98144" author="adilger" created="Sun, 2 Nov 2014 19:20:49 +0000"  >&lt;p&gt;Kit, we were discussing similar issues with the tests about to be added in you other nodemap testing patch. &lt;/p&gt;</comment>
                            <comment id="98145" author="kit.westneat" created="Sun, 2 Nov 2014 19:44:47 +0000"  >&lt;p&gt;Ok, should incorporate these changes into the new test patch?&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/10406/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/10406/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Or would it be better to create a new small patch for quicker landing?&lt;/p&gt;</comment>
                            <comment id="98146" author="adilger" created="Sun, 2 Nov 2014 19:47:31 +0000"  >&lt;p&gt;Probably better to have separate patches. No point to entangle two issues if they can land separately. &lt;/p&gt;</comment>
                            <comment id="98153" author="kit.westneat" created="Mon, 3 Nov 2014 04:38:49 +0000"  >&lt;p&gt;Ok, I put up a new patch here:&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/12532/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/12532/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="98205" author="jlevi" created="Mon, 3 Nov 2014 18:50:03 +0000"  >&lt;p&gt;Patch landed to Master.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="27417">LU-5847</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|hzwzzj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>16370</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>