<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:39:20 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-4063] sanity-hsm test_12a failure: &apos;Restored file differs&apos; </title>
                <link>https://jira.whamcloud.com/browse/LU-4063</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;The test results are at: &lt;a href=&quot;https://maloo.whamcloud.com/test_sets/8e9cca2c-2c8b-11e3-85ee-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/8e9cca2c-2c8b-11e3-85ee-52540035b04c&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;From the client test_log: &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;== sanity-hsm test 12a: Restore an imported file explicitly == 14:02:01 (1380834121)
pdsh@c15: c13: ssh exited with exit code 1
Purging archive on c13
Starting copytool agt1 on c13
c13: lhsmtool_posix[5634]: action=1 src=d0.sanity-hsm/d12/f.sanity-hsm.12a dst=/lustre/scratch/d0.sanity-hsm/d12/f.sanity-hsm.12a mount_point=/lustre/scratch
c13: lhsmtool_posix[5634]: importing &apos;/lustre/scratch/d0.sanity-hsm/d12/f.sanity-hsm.12a&apos; from &apos;/lustre/archive/d0.sanity-hsm/d12/f.sanity-hsm.12a&apos;
c13: lhsmtool_posix[5634]: imported &apos;/lustre/scratch/d0.sanity-hsm/d12/f.sanity-hsm.12a&apos; from &apos;/lustre/archive/0002/0000/0402/0000/0002/0000/0x200000402:0x2:0x0&apos;==&apos;/lustre/archive/d0.sanity-hsm/d12/f.sanity-hsm.12a&apos;
c13: lhsmtool_posix[5634]: process finished, errs: 0 major, 0 minor, rc=0 (Success)
Verifying released state: 
Verifying file state: 
c13: diff: /lustre/scratch2/d0.sanity-hsm/d12/f.sanity-hsm.12a: No such file or directory
pdsh@c15: c13: ssh exited with exit code 2
 sanity-hsm test_12a: @@@@@@ FAIL: Restored file differs 
  Trace dump:
  = /usr/lib64/lustre/tests/test-framework.sh:4264:error_noexit()
  = /usr/lib64/lustre/tests/test-framework.sh:4291:error()
  = /usr/lib64/lustre/tests/sanity-hsm.sh:853:test_12a()
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;From the copytool log, it looks like the copy tool is having problems finding the file:&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;lhsmtool_posix[5564]: action=0 src=(null) dst=(null) mount_point=/lustre/scratch
lhsmtool_posix[5565]: waiting for message from kernel
lhsmtool_posix[5565]: copytool fs=scratch archive#=2 item_count=1
lhsmtool_posix[5565]: waiting for message from kernel
lhsmtool_posix[5635]: &apos;[0x200000402:0x2:0x0]&apos; action RESTORE reclen 72, cookie=0x524dd1eb
lhsmtool_posix[5635]: processing file &apos;d0.sanity-hsm/d12/f.sanity-hsm.12a&apos;
lhsmtool_posix[5635]: reading stripe rules from &apos;/lustre/archive/0002/0000/0402/0000/0002/0000/0x200000402:0x2:0x0.lov&apos; for &apos;/lustre/archive/0002/0000/0402/0000/0002/0000/0x200000402:0x2:0x0&apos;
lhsmtool_posix[5635]: cannot open &apos;/lustre/archive/0002/0000/0402/0000/0002/0000/0x200000402:0x2:0x0.lov&apos;: No such file or directory (2)
lhsmtool_posix[5635]: cannot get stripe rules for &apos;/lustre/archive/0002/0000/0402/0000/0002/0000/0x200000402:0x2:0x0&apos; (No data available), use default
lhsmtool_posix[5635]: restoring data from &apos;/lustre/archive/0002/0000/0402/0000/0002/0000/0x200000402:0x2:0x0&apos; to &apos;{VOLATILE}=[0x200000402:0x3:0x0]&apos;
lhsmtool_posix[5635]: going to copy data from &apos;/lustre/archive/0002/0000/0402/0000/0002/0000/0x200000402:0x2:0x0&apos; to &apos;{VOLATILE}=[0x200000402:0x3:0x0]&apos;
lhsmtool_posix[5635]: Going to copy 363 bytes /lustre/archive/0002/0000/0402/0000/0002/0000/0x200000402:0x2:0x0 -&amp;gt; {VOLATILE}=[0x200000402:0x3:0x0]

lhsmtool_posix[5635]: data restore from &apos;/lustre/archive/0002/0000/0402/0000/0002/0000/0x200000402:0x2:0x0&apos; to &apos;{VOLATILE}=[0x200000402:0x3:0x0]&apos; done
lhsmtool_posix[5635]: Action completed, notifying coordinator cookie=0x524dd1eb, FID=[0x200000402:0x2:0x0], hp_flags=0 err=0
lhsmtool_posix[5635]: llapi_hsm_action_end() on &apos;/lustre/scratch/.lustre/fid/0x200000402:0x2:0x0&apos; ok (rc=0)
exiting: Interrupt
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Looking at all the tests in sanity-hsm, very few tests use $DIR2 to access files on the file system:&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;	local f=$DIR/$tdir/$tfile
	import_file $tdir/$tfile $f
	local f=$DIR2/$tdir/$tfile
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Commenting out the last line above allows the test to complete successfully, but this may defeat what is being tested.&lt;/p&gt;</description>
                <environment>Luster master build # 1715&lt;br/&gt;
OpenSFS cluster with combined MGS/MDS, single OSS with two OSTs, three clients; one agent + client, one with robinhood/db running + client and one just running as Lustre clients </environment>
        <key id="21263">LU-4063</key>
            <summary>sanity-hsm test_12a failure: &apos;Restored file differs&apos; </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="jay">Jinshan Xiong</assignee>
                                    <reporter username="jamesanunez">James Nunez</reporter>
                        <labels>
                            <label>HSM</label>
                    </labels>
                <created>Fri, 4 Oct 2013 15:51:17 +0000</created>
                <updated>Thu, 22 May 2014 18:33:22 +0000</updated>
                            <resolved>Fri, 18 Apr 2014 17:22:01 +0000</resolved>
                                    <version>Lustre 2.5.0</version>
                                    <fixVersion>Lustre 2.6.0</fixVersion>
                    <fixVersion>Lustre 2.5.2</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="68425" author="jay" created="Fri, 4 Oct 2013 23:15:15 +0000"  >&lt;p&gt;it turns out that DIR2 was mounted on agent host so it makes no sense to access the file from it. Let&apos;s just use DIR to compare the file.&lt;/p&gt;</comment>
                            <comment id="68505" author="jay" created="Mon, 7 Oct 2013 16:32:01 +0000"  >&lt;p&gt;patch is located at: &lt;a href=&quot;http://review.whamcloud.com/7869&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/7869&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="77859" author="jamesanunez" created="Tue, 25 Feb 2014 21:16:42 +0000"  >&lt;p&gt;I tested this patch on the latest b2_5 and it allows test_12a to pass. Before applying the patch, test_12a would fail every time I ran it.&lt;/p&gt;</comment>
                            <comment id="80697" author="jamesanunez" created="Tue, 1 Apr 2014 15:48:14 +0000"  >&lt;p&gt;Patch for b2_5 at: &lt;a href=&quot;http://review.whamcloud.com/#/c/9860&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/9860&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="81969" author="jamesanunez" created="Fri, 18 Apr 2014 17:22:01 +0000"  >&lt;p&gt;Landed to master&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|hzw4sn:</customfieldvalue>

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