<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:47:19 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-11833] wait_request_state return failure when call hsm_archive and hsm_remove multiple times</title>
                <link>https://jira.whamcloud.com/browse/LU-11833</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;The following test script will result in wait_reqeust_state failure:&lt;/p&gt;

&lt;p&gt;&#160;&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;
test_8() {
 local file=$DIR/$tdir/$tfile
 local hsm_root=$(hsm_root)
 local mdtidx=${4:-0}
 local fid
copytool setup -m &lt;span class=&quot;code-quote&quot;&gt;&quot;$MOUNT&quot;&lt;/span&gt; -a &lt;span class=&quot;code-quote&quot;&gt;&quot;$HSM_ARCHIVE_NUMBER&quot;&lt;/span&gt;
mkdir -p $DIR/$tdir
 do_facet $SINGLEAGT &lt;span class=&quot;code-quote&quot;&gt;&quot;echo -n new_data &amp;gt; $file&quot;&lt;/span&gt;
 fid=$(path2fid $file)
$LFS hsm_state $file
 $LFS hsm_archive --archive $HSM_ARCHIVE_NUMBER $file ||
 error &lt;span class=&quot;code-quote&quot;&gt;&quot;Archive $file failed&quot;&lt;/span&gt;
 $LCTL get_param -n ${MDT_PREFIX}${mdtidx}.hsm.actions
 wait_request_state $fid ARCHIVE SUCCEED
 $LFS hsm_remove $file
 wait_request_state $fid REMOVE SUCCEED
$LFS hsm_state $file
 $LFS hsm_archive --archive $HSM_ARCHIVE_NUMBER $file ||
 error &lt;span class=&quot;code-quote&quot;&gt;&quot;Archive $file failed&quot;&lt;/span&gt;
 $LCTL get_param -n ${MDT_PREFIX}${mdtidx}.hsm.actions
 wait_request_state $fid ARCHIVE SUCCEED
 $LFS hsm_remove $file
 wait_request_state $fid REMOVE SUCCEED
}
run_test 8 &lt;span class=&quot;code-quote&quot;&gt;&quot;HSM problem...&quot;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The failure report is as follows:&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;
== sanity-pcc test 8: Problem Finding... ============================================================= 15:58:50 (1546415930)
Starting copytool agt1 on qian
/mnt/lustre/d8.sanity-pcc/f8.sanity-pcc: (0x00000000)
lrh=[type=10680000 len=136 idx=1/1] fid=[0x200000401:0x4:0x0] dfid=[0x200000401:0x4:0x0] compound/cookie=0x0/0x5c2c6f2c action=ARCHIVE archive#=2 flags=0x0 extent=0x0-0xffffffffffffffff gid=0x0 datalen=0 status=WAITING data=[]
Waiting 200 secs &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; update
Changed after 1s: from &lt;span class=&quot;code-quote&quot;&gt;&apos;WAITING&apos;&lt;/span&gt; to &lt;span class=&quot;code-quote&quot;&gt;&apos;STARTED&apos;&lt;/span&gt;
Updated after 2s: wanted &lt;span class=&quot;code-quote&quot;&gt;&apos;SUCCEED&apos;&lt;/span&gt; got &lt;span class=&quot;code-quote&quot;&gt;&apos;SUCCEED&apos;&lt;/span&gt;
/mnt/lustre/d8.sanity-pcc/f8.sanity-pcc: (0x00000000), archive_id:2
lrh=[type=10680000 len=136 idx=1/1] fid=[0x200000401:0x4:0x0] dfid=[0x200000401:0x4:0x0] compound/cookie=0x0/0x5c2c6f2c action=ARCHIVE archive#=2 flags=0x0 extent=0x0-0xffffffffffffffff gid=0x0 datalen=0 status=SUCCEED data=[]
lrh=[type=10680000 len=136 idx=1/2] fid=[0x200000401:0x4:0x0] dfid=[0x200000401:0x4:0x0] compound/cookie=0x0/0x5c2c6f2d action=REMOVE archive#=2 flags=0x0 extent=0x0-0xffffffffffffffff gid=0x0 datalen=0 status=SUCCEED data=[]
lrh=[type=10680000 len=136 idx=1/3] fid=[0x200000401:0x4:0x0] dfid=[0x200000401:0x4:0x0] compound/cookie=0x0/0x5c2c6f2e action=ARCHIVE archive#=2 flags=0x0 extent=0x0-0xffffffffffffffff gid=0x0 datalen=0 status=WAITING data=[]
Waiting 200 secs &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; update
Changed after 1s: from &apos;SUCCEED
WAITING&lt;span class=&quot;code-quote&quot;&gt;&apos; to &apos;&lt;/span&gt;SUCCEED
SUCCEED&apos;
Waiting 190 secs &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; update
Changed after 14s: from &apos;SUCCEED
SUCCEED&lt;span class=&quot;code-quote&quot;&gt;&apos; to &apos;&lt;/span&gt;&apos;
Waiting 180 secs &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; update
Waiting 170 secs &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; update
Waiting 160 secs &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; update
Waiting 150 secs &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; update
Waiting 140 secs &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; update
Waiting 130 secs &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; update
Waiting 120 secs &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; update
Waiting 110 secs &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; update
Waiting 100 secs &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; update
Waiting 90 secs &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; update
Waiting 80 secs &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; update
Waiting 70 secs &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; update
Waiting 60 secs &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; update
Waiting 50 secs &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; update
Waiting 40 secs &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; update
Waiting 30 secs &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; update
Waiting 20 secs &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; update
Waiting 10 secs &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; update
Update not seen after 200s: wanted &lt;span class=&quot;code-quote&quot;&gt;&apos;SUCCEED&apos;&lt;/span&gt; got &apos;&apos;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="54425">LU-11833</key>
            <summary>wait_request_state return failure when call hsm_archive and hsm_remove multiple times</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="qian_wc">Qian Yingjin</reporter>
                        <labels>
                            <label>HSM</label>
                    </labels>
                <created>Wed, 2 Jan 2019 08:25:25 +0000</created>
                <updated>Wed, 2 Jan 2019 08:25:25 +0000</updated>
                                                                                <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|i008u7:</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>