<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:26:55 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-9521] obdfilter-survey exits with error messages</title>
                <link>https://jira.whamcloud.com/browse/LU-9521</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;obdfilter-survey seems to run to completion but prints some error messages and exits with a non-zero error code as shown below.&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;[root@hsmdev tests]# TERM=linux thrlo=1 thrhi=32 nobjlo=1 nobjhi=1 size=1310 rszlo=1024 rszhi=1024 tests_str=&quot;write read&quot; targets=&quot;lustre-OST0000&quot; /usr/bin/obdfilter-survey

Wed May 17 17:55:58 IST 2017 Obdfilter-survey for case=disk from hsmdev
ost  1 sz  1341440K rsz 1024K obj    1 thr    1 write  126.93 [  11.00,  210.94] read  488.46 [ 220.75,  220.75] 
ost  1 sz  1341440K rsz 1024K obj    1 thr    2 write  137.33 [  14.99,  241.94] read  664.90             SHORT 
ost  1 sz  1339392K rsz 1024K obj    1 thr    4 write  175.87 [  16.99,  456.63] read  729.53             SHORT 
ost  1 sz  1335296K rsz 1024K obj    1 thr    8 write  192.75 [  12.98,  493.87] read  706.75             SHORT 
ost  1 sz  1327104K rsz 1024K obj    1 thr   16 write  213.86 [  18.95,   73.88] read  616.42             SHORT 
ost  1 sz  1310720K rsz 1024K obj    1 thr   32 write  221.85 [  23.97,  339.91] read  607.29             SHORT 
/usr/bin/iokit-libecho: line 236: 35781 Killed                  remote_shell $host &quot;vmstat 5 &amp;gt;&amp;gt; $host_vmstatf&quot; &amp;amp;&amp;gt;/dev/null
done!
No device found for name lustre-OST0000_ecc: Invalid argument
[root@hsmdev tests]# echo $?
1
[root@hsmdev tests]#
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Following change helps fix it.&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;diff --git a/lustre-iokit/obdfilter-survey/iokit-libecho b/lustre-iokit/obdfilter-survey/iokit-libecho
index 58e6b5a..81170a3 100644
--- a/lustre-iokit/obdfilter-survey/iokit-libecho
+++ b/lustre-iokit/obdfilter-survey/iokit-libecho
@@ -217,6 +217,7 @@ cleanup_network () {
 
 # do cleanup and exit.
 cleanup () {
+	trap 0
 	local exit_status=$1
 	local host
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&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;[root@hsmdev tests]# TERM=linux thrlo=1 thrhi=32 nobjlo=1 nobjhi=1 size=1310 rszlo=1024 rszhi=1024 tests_str=&quot;write read&quot; targets=&quot;lustre-OST0000&quot; /usr/bin/obdfilter-survey

Wed May 17 18:06:10 IST 2017 Obdfilter-survey for case=disk from hsmdev
ost  1 sz  1341440K rsz 1024K obj    1 thr    1 write  127.07 [  23.99,  218.95] read  562.72 [ 654.52,  654.52] 
ost  1 sz  1341440K rsz 1024K obj    1 thr    2 write  134.74 [  11.98,  222.94] read  732.33             SHORT 
ost  1 sz  1339392K rsz 1024K obj    1 thr    4 write  177.41 [  18.00,  434.88] read  659.88             SHORT 
ost  1 sz  1335296K rsz 1024K obj    1 thr    8 write  209.18 [  14.99,  729.80] read  691.23             SHORT 
ost  1 sz  1327104K rsz 1024K obj    1 thr   16 write  220.12 [  14.99,  157.87] read  610.35             SHORT 
ost  1 sz  1310720K rsz 1024K obj    1 thr   32 write  227.72 [  27.93,  362.86] read  608.37             SHORT 
/usr/bin/iokit-libecho: line 236: 47023 Killed                  remote_shell $host &quot;vmstat 5 &amp;gt;&amp;gt; $host_vmstatf&quot; &amp;amp;&amp;gt;/dev/null
done!
[root@hsmdev tests]# echo $?
0
[root@hsmdev tests]#
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>Lustre - 2.9.57_66_gb6d5b5b</environment>
        <key id="46142">LU-9521</key>
            <summary>obdfilter-survey exits with error messages</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="wc-triage">WC Triage</assignee>
                                    <reporter username="parinay">parinay v kondekar</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Wed, 17 May 2017 12:51:42 +0000</created>
                <updated>Wed, 24 May 2017 12:27:54 +0000</updated>
                            <resolved>Wed, 24 May 2017 12:27:54 +0000</resolved>
                                                    <fixVersion>Lustre 2.10.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="196148" author="gerrit" created="Wed, 17 May 2017 13:02:20 +0000"  >&lt;p&gt;Parinay Kondekar (parinay.kondekar@seagate.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/27160&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/27160&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9521&quot; title=&quot;obdfilter-survey exits with error messages&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9521&quot;&gt;&lt;del&gt;LU-9521&lt;/del&gt;&lt;/a&gt; tests: Avoid cleanup() being called twice.&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 402205f7ef15beb9f317943578df4bf81504bc6b&lt;/p&gt;</comment>
                            <comment id="196855" author="gerrit" created="Wed, 24 May 2017 07:34:05 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/27160/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/27160/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9521&quot; title=&quot;obdfilter-survey exits with error messages&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9521&quot;&gt;&lt;del&gt;LU-9521&lt;/del&gt;&lt;/a&gt; tests: Avoid cleanup() being called twice.&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: ae9d3bed51df1dfee7209ba2c2bc235504bc98d0&lt;/p&gt;</comment>
                            <comment id="196875" author="pjones" created="Wed, 24 May 2017 12:27:54 +0000"  >&lt;p&gt;Landed for 2.10&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </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|hzzcyn:</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>