<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:30:37 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-16861] Janitor Testing Fails to copy latest obdfilter-survey (Uses old obdfilter-survey)</title>
                <link>https://jira.whamcloud.com/browse/LU-16861</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Testing/Fixing &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16827&quot; title=&quot;obdfilter-survey: /usr/bin/obdfilter-survey failed: 2&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16827&quot;&gt;&lt;del&gt;LU-16827&lt;/del&gt;&lt;/a&gt; it was observerd that the run was failing in janitor testng. However it was passing in maloo. It was noticed that the required changes under &lt;b&gt;lustre-iokit/obdfilter-survey/obdfilter-survey&lt;/b&gt; was not getting reflected under janitor. This was leading to janitor always failing while maloo run was passing as the latest (modified) script was getting used. It looks like janitor always used old script (at least for obdfilter-survey)&lt;/p&gt;

&lt;p&gt;Here are the few revelant logs. Let me know if more information is requied. All logs are under &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/51035)&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/51035)&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;CASE 1: This is modfied to use specific path for obdfilter-survey to make janitor passing.&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;From logs : &lt;a href=&quot;https://testing.whamcloud.com/gerrit-janitor/31629/testresults/obdfilter-survey-ldiskfs-DNE-centos7_x86_64-centos7_x86_64/obdfilter-survey.test_1a.test_log.oleg368-client.log&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/gerrit-janitor/31629/testresults/obdfilter-survey-ldiskfs-DNE-centos7_x86_64-centos7_x86_64/obdfilter-survey.test_1a.test_log.oleg368-client.log&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is the obdfilter-survey janitor always uses&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;ls -ali /usr/bin/obdfilter-survey
920857 -rwxr-xr-x. 1 root root 16279 Jun 4 2016 /usr/bin/obdfilter-survey
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This is the obdfilter-survey which it is supposed to used. (There are changes withing this code -which maloo correctly picks it up). &lt;ins&gt;&lt;b&gt;Please notice the binary size and date stamp for both.&lt;/b&gt;&lt;/ins&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;&#160;
ls -ali /home/green/git/lustre-release/lustre/../lustre-iokit/obdfilter-survey
total 42
...
2278 -rwxr-xr-x 1 green green 15632 May 31 07:47 obdfilter-survey
...
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;test_1a under obdfilter-survey.sh was modifed with to use specfic&#160; OBDSURVEY instead of generic system path version (which is /usr/bin/obdfilter-survey). When this is done the test passes janitor. Else it fails.&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;export PATH=$PATH:/home/green/git/lustre-release/lustre/../lustre-iokit/obdfilter-survey
OBDSURVEY=/home/green/git/lustre-release/lustre/../lustre-iokit/obdfilter-survey/obdfilter-survey
obdflter_survey_run disk&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&lt;b&gt;CASE 2: The fail case&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;This uses old /usr/bin/obdfilter-survey and new changes are not reflected.&lt;/p&gt;

&lt;p&gt;&#160;&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;&amp;lt;snip&amp;gt;
+ eval NETTYPE=tcp thrlo=2 nobjhi=1 thrhi=4 size=1024 case=disk rslt_loc=/tmp &apos;targets=&quot;192.168.203.104:lustre-OST0000&apos; &apos;192.168.203.104:lustre-OST0001&quot;&apos; /usr/bin/obdfilter-survey
++ NETTYPE=tcp 
++ thrlo=2 
++ nobjhi=1 
++ thrhi=4 
++ size=1024 
++ case=disk 
++ rslt_loc=/tmp
++ targets=&apos;192.168.203.104:lustre-OST0000 192.168.203.104:lustre-OST0001&apos; 
++ /usr/bin/obdfilter-survey
Warning: Permanently added &apos;192.168.203.104&apos; (ECDSA) to the list of known hosts. 
bash: lctl: command not found 
/usr/bin/obdfilter-survey: line 242: ( &amp;lt;&amp;lt; 16) | ( &amp;lt;&amp;lt; 8) | : syntax error: operand expected (error token is &quot;&amp;lt;&amp;lt; 16) | ( &amp;lt;&amp;lt; 8) | &quot;) 
/usr/bin/obdfilter-survey: line 254: [: -lt: unary operator expected 
bash: lctl: command not found 
bash: lctl: command not found 
OST lustre-OST0000 not setup
&amp;lt;snip&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment>Client: 4.18.0-372.9.1.el8(8.5)&lt;br/&gt;
Server: 4.18.0-425.3.1.el8(8.7)</environment>
        <key id="76295">LU-16861</key>
            <summary>Janitor Testing Fails to copy latest obdfilter-survey (Uses old obdfilter-survey)</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="arshad512">Arshad Hussain</reporter>
                        <labels>
                    </labels>
                <created>Thu, 1 Jun 2023 03:33:13 +0000</created>
                <updated>Thu, 18 Jan 2024 13:23:38 +0000</updated>
                            <resolved>Thu, 18 Jan 2024 13:23:38 +0000</resolved>
                                                    <fixVersion>Lustre 2.16.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="398912" author="adilger" created="Tue, 9 Jan 2024 01:19:22 +0000"  >&lt;p&gt;This is &lt;a href=&quot;https://testing.whamcloud.com/search?client_branch_type_id=24a6947e-04a9-11e1-bb5f-52540025f9af&amp;amp;horizon=518400&amp;amp;test_set_script_id=11a69f28-4a54-11e0-a7f6-52540025f9af&amp;amp;sub_test_script_id=11da855e-4a54-11e0-a7f6-52540025f9af&amp;amp;source=sub_tests#redirect&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;failing 100% of runs on master&lt;/a&gt;.  It looks like something wrong with the quoting of the targets (note the extra double quotes before each of the targets):&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;+ NETTYPE=tcp thrlo=2 nobjhi=1 thrhi=4 size=1024 case=disk rslt_loc=/tmp targets=&quot;&quot;10.240.26.105:lustre-OST0000 &quot;10.240.26.105:lustre-OST0001 &quot;10.240.26.105:lustre-OST0002 &quot;10.240.26.105:lustre-OST0003 &quot;10.240.26.105:lustre-OST0004 &quot;10.240.26.105:lustre-OST0005 &quot;10.240.26.105:lustre-OST0006 &quot;10.240.26.105:lustre-OST0007&quot; /usr/bin/obdfilter-survey
/usr/lib64/lustre/tests/obdfilter-survey.sh: line 77: 10.240.26.105:lustre-OST0001 10.240.26.105:lustre-OST0002: command not found
cat: &apos;/tmp/obdfilter_survey*&apos;: No such file or directory
 obdfilter-survey test_1a: @@@@@@ FAIL: /usr/bin/obdfilter-survey failed: 127 
  Trace dump:
  = /usr/lib64/lustre/tests/test-framework.sh:6947:error()
  = /usr/lib64/lustre/tests/obdfilter-survey.sh:81:obdflter_survey_run()
  = /usr/lib64/lustre/tests/obdfilter-survey.sh:85:test_1a()
  = /usr/lib64/lustre/tests/test-framework.sh:7287:run_one()
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="398924" author="arshad512" created="Tue, 9 Jan 2024 05:14:16 +0000"  >&lt;p&gt;I am checking.&lt;/p&gt;</comment>
                            <comment id="398927" author="arshad512" created="Tue, 9 Jan 2024 05:54:52 +0000"  >&lt;p&gt;Looks like failing line is&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;lctl get_param osc.lustre-OST0000-osc-ffff94bac34eb800.import | awk &apos;/current_connection:/ {sub(/@.*/,&quot;&quot;); print $2}&apos;&lt;br/&gt;
&quot;192.168.50.95&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;I am getting the patch&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="398928" author="gerrit" created="Tue, 9 Jan 2024 06:22:11 +0000"  >&lt;p&gt;&quot;Arshad Hussain &amp;lt;arshad.hussain@aeoncomputing.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/53620&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/53620&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16861&quot; title=&quot;Janitor Testing Fails to copy latest obdfilter-survey (Uses old obdfilter-survey)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16861&quot;&gt;&lt;del&gt;LU-16861&lt;/del&gt;&lt;/a&gt; obdfilter: Exclude quotes when getting NID&apos;s&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: cf525604b66c6d2a5f0e5158727f319d48c6f076&lt;/p&gt;</comment>
                            <comment id="398929" author="arshad512" created="Tue, 9 Jan 2024 06:25:24 +0000"  >&lt;blockquote&gt;&lt;p&gt;This is &lt;a href=&quot;https://testing.whamcloud.com/search?client_branch_type_id=24a6947e-04a9-11e1-bb5f-52540025f9af&amp;amp;horizon=518400&amp;amp;test_set_script_id=11a69f28-4a54-11e0-a7f6-52540025f9af&amp;amp;sub_test_script_id=11da855e-4a54-11e0-a7f6-52540025f9af&amp;amp;source=sub_tests#redirect&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;failing 100% of runs on master&lt;/a&gt;. It looks like something wrong with the quoting of the targets (note the extra double quotes before each of the targets):&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Andreas, thanks for the hint/pointer. When picking up NID it was including the quotes which was causing the failure.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="400153" author="gerrit" created="Thu, 18 Jan 2024 06:18:25 +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/c/fs/lustre-release/+/53620/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/53620/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16861&quot; title=&quot;Janitor Testing Fails to copy latest obdfilter-survey (Uses old obdfilter-survey)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16861&quot;&gt;&lt;del&gt;LU-16861&lt;/del&gt;&lt;/a&gt; obdfilter: Exclude quotes when getting NIDs&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: c265e1c7b045bf1f9e5b2919c282b63086929ab6&lt;/p&gt;</comment>
                            <comment id="400193" author="pjones" created="Thu, 18 Jan 2024 13:23:38 +0000"  >&lt;p&gt;Landed for 2.16&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10322">
                    <name>Gantt End to Start</name>
                                            <outwardlinks description="has to be done before">
                                        <issuelink>
            <issuekey id="76038">LU-16827</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|i03muf:</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>