<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:08:50 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-7429] sanity-lfsck test_23c: @@@@@@ FAIL: (8) unexpected size</title>
                <link>https://jira.whamcloud.com/browse/LU-7429</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Configuration : 4 node setup 1 MDS, 1 OSS, 2  patchless Clients&lt;br/&gt;
Release&lt;br/&gt;
2.6.32_431.29.2.el6.x86_64&lt;br/&gt;
2.6.32_431.29.2.el6.x86_64&lt;/p&gt;

&lt;p&gt;Server 2.7.62&lt;br/&gt;
Client 2.7.62&lt;/p&gt;

&lt;p&gt;git hash 049252c&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;
stdout.log
== sanity-lfsck test 23c: LFSCK can repair dangling name entry (3) == 02:09:55 (1446948595)
#####
The objectA has multiple hard links, one of them corresponding
to the name entry_B. But there is something wrong for the name
entry_B and cause entry_B to references non-exist object_C.
In the first-stage scanning, the LFSCK will think the entry_B
as dangling, and re-create the lost object_C. And then others
modified the re-created object_C. When the LFSCK comes to the
second-stage scanning, it will find that the former re-creating
object_C maybe wrong and try to replace the object_C with the
real object_A. But because object_C has been modified, so the
LFSCK cannot replace it.
#####
Inject failure stub on MDT0 to simulate dangling name entry
fail_loc=0x1621
fail_loc=0
&apos;ls&apos; should fail because of dangling name entry
fail_val=10
fail_loc=0x1602
Trigger namespace LFSCK to find out dangling name entry
Started LFSCK on the device lustre-MDT0000: scrub namespace
stat: cannot stat `/mnt/lustre/d23c.sanity-lfsck/d0/foo&apos;: No such file or directory
stat: cannot stat `/mnt/lustre/d23c.sanity-lfsck/d0/foo&apos;: No such file or directory
Waiting 32 secs for update
stat: cannot stat `/mnt/lustre/d23c.sanity-lfsck/d0/foo&apos;: No such file or directory
stat: cannot stat `/mnt/lustre/d23c.sanity-lfsck/d0/foo&apos;: No such file or directory
stat: cannot stat `/mnt/lustre/d23c.sanity-lfsck/d0/foo&apos;: No such file or directory
stat: cannot stat `/mnt/lustre/d23c.sanity-lfsck/d0/foo&apos;: No such file or directory
stat: cannot stat `/mnt/lustre/d23c.sanity-lfsck/d0/foo&apos;: No such file or directory
stat: cannot stat `/mnt/lustre/d23c.sanity-lfsck/d0/foo&apos;: No such file or directory
stat: cannot stat `/mnt/lustre/d23c.sanity-lfsck/d0/foo&apos;: No such file or directory
stat: cannot stat `/mnt/lustre/d23c.sanity-lfsck/d0/foo&apos;: No such file or directory
stat: cannot stat `/mnt/lustre/d23c.sanity-lfsck/d0/foo&apos;: No such file or directory
stat: cannot stat `/mnt/lustre/d23c.sanity-lfsck/d0/foo&apos;: No such file or directory
Waiting 22 secs for update
stat: cannot stat `/mnt/lustre/d23c.sanity-lfsck/d0/foo&apos;: No such file or directory
stat: cannot stat `/mnt/lustre/d23c.sanity-lfsck/d0/foo&apos;: No such file or directory
stat: cannot stat `/mnt/lustre/d23c.sanity-lfsck/d0/foo&apos;: No such file or directory
stat: cannot stat `/mnt/lustre/d23c.sanity-lfsck/d0/foo&apos;: No such file or directory
stat: cannot stat `/mnt/lustre/d23c.sanity-lfsck/d0/foo&apos;: No such file or directory
stat: cannot stat `/mnt/lustre/d23c.sanity-lfsck/d0/foo&apos;: No such file or directory
stat: cannot stat `/mnt/lustre/d23c.sanity-lfsck/d0/foo&apos;: No such file or directory
stat: cannot stat `/mnt/lustre/d23c.sanity-lfsck/d0/foo&apos;: No such file or directory
stat: cannot stat `/mnt/lustre/d23c.sanity-lfsck/d0/foo&apos;: No such file or directory
stat: cannot stat `/mnt/lustre/d23c.sanity-lfsck/d0/foo&apos;: No such file or directory
Waiting 12 secs for update
stat: cannot stat `/mnt/lustre/d23c.sanity-lfsck/d0/foo&apos;: No such file or directory
stat: cannot stat `/mnt/lustre/d23c.sanity-lfsck/d0/foo&apos;: No such file or directory
stat: cannot stat `/mnt/lustre/d23c.sanity-lfsck/d0/foo&apos;: No such file or directory
stat: cannot stat `/mnt/lustre/d23c.sanity-lfsck/d0/foo&apos;: No such file or directory
stat: cannot stat `/mnt/lustre/d23c.sanity-lfsck/d0/foo&apos;: No such file or directory
stat: cannot stat `/mnt/lustre/d23c.sanity-lfsck/d0/foo&apos;: No such file or directory
stat: cannot stat `/mnt/lustre/d23c.sanity-lfsck/d0/foo&apos;: No such file or directory
stat: cannot stat `/mnt/lustre/d23c.sanity-lfsck/d0/foo&apos;: No such file or directory
stat: cannot stat `/mnt/lustre/d23c.sanity-lfsck/d0/foo&apos;: No such file or directory
stat: cannot stat `/mnt/lustre/d23c.sanity-lfsck/d0/foo&apos;: No such file or directory
Waiting 2 secs for update
stat: cannot stat `/mnt/lustre/d23c.sanity-lfsck/d0/foo&apos;: No such file or directory
stat: cannot stat `/mnt/lustre/d23c.sanity-lfsck/d0/foo&apos;: No such file or directory
Update not seen after 32s: wanted &apos;0&apos; got &apos;&apos;
stat: cannot stat `/mnt/lustre/d23c.sanity-lfsck/guard&apos;: No such file or directory
name: lfsck_namespace
magic: 0xa0621a0b
version: 2
status: scanning-phase2
flags: scanned-once,inconsistent
param: create_mdtobj
last_completed_time: N/A
time_since_last_completed: N/A
latest_start_time: 1446948595
time_since_latest_start: 33 seconds
last_checkpoint_time: 1446948595
time_since_last_checkpoint: 33 seconds
latest_start_position: 12, N/A, N/A
last_checkpoint_position: 25037, N/A, N/A
first_failure_position: N/A, N/A, N/A
checked_phase1: 8
checked_phase2: 0
updated_phase1: 1
updated_phase2: 0
failed_phase1: 0
failed_phase2: 0
directories: 4
dirent_repaired: 2
linkea_repaired: 0
nlinks_repaired: 0
multiple_linked_checked: 1
multiple_linked_repaired: 0
unknown_inconsistency: 0
unmatched_pairs_repaired: 0
dangling_repaired: 0
multiple_referenced_repaired: 0
bad_file_type_repaired: 0
lost_dirent_repaired: 0
local_lost_found_scanned: 0
local_lost_found_moved: 0
local_lost_found_skipped: 0
local_lost_found_failed: 0
striped_dirs_scanned: 0
striped_dirs_repaired: 0
striped_dirs_failed: 0
striped_dirs_disabled: 0
striped_dirs_skipped: 0
striped_shards_scanned: 0
striped_shards_repaired: 0
striped_shards_failed: 0
striped_shards_skipped: 0
name_hash_repaired: 0
success_count: 0
run_time_phase1: 0 seconds
run_time_phase2: 9 seconds
average_speed_phase1: 8 items/sec
average_speed_phase2: 0 objs/sec
average_speed_total: 0 items/sec
real_time_speed_phase1: N/A
real_time_speed_phase2: 0 objs/sec
current_position: [0x0:0x0:0x0]
 sanity-lfsck test_23c: @@@@@@ FAIL: (8) unexpected size 
  Trace dump:
  = /usr/lib64/lustre/tests/test-framework.sh:4812:error_noexit()
  = /usr/lib64/lustre/tests/test-framework.sh:4843:error()
  = /usr/lib64/lustre/tests/sanity-lfsck.sh:3114:test_23c()
  = /usr/lib64/lustre/tests/test-framework.sh:5090:run_one()
  = /usr/lib64/lustre/tests/test-framework.sh:5127:run_one_logged()
  = /usr/lib64/lustre/tests/test-framework.sh:4944:run_test()
  = /usr/lib64/lustre/tests/sanity-lfsck.sh:3137:main()
Dumping lctl log to /tmp/test_logs/1446948549/sanity-lfsck.test_23c.*.1446948628.log
FAIL 23c (34s)



stderr.log
pdsh@fre0203: fre0201: ssh exited with exit code 1
pdsh@fre0203: fre0202: ssh exited with exit code 1
Using TIMEOUT=20
excepting tests: 



&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Seagate-Bug-Id: MRP-3134&lt;/p&gt;</description>
                <environment></environment>
        <key id="33138">LU-7429</key>
            <summary>sanity-lfsck test_23c: @@@@@@ FAIL: (8) unexpected size</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="yong.fan">nasf</assignee>
                                    <reporter username="parinay">parinay v kondekar</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Mon, 16 Nov 2015 11:07:40 +0000</created>
                <updated>Thu, 14 Nov 2019 20:46:06 +0000</updated>
                            <resolved>Tue, 24 Jan 2017 05:48:17 +0000</resolved>
                                    <version>Lustre 2.8.0</version>
                    <version>Lustre 2.9.0</version>
                    <version>Lustre 2.10.0</version>
                                    <fixVersion>Lustre 2.10.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="138180" author="parinay" created="Thu, 7 Jan 2016 06:05:38 +0000"  >&lt;p&gt;PTLDEBUG=-1 logs attached.&lt;/p&gt;</comment>
                            <comment id="142203" author="gerrit" created="Mon, 15 Feb 2016 10:52:00 +0000"  >&lt;p&gt;kirtan.shetty (kirtan.shetty@seagate.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/18452&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/18452&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7429&quot; title=&quot;sanity-lfsck test_23c: @@@@@@ FAIL: (8) unexpected size&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7429&quot;&gt;&lt;del&gt;LU-7429&lt;/del&gt;&lt;/a&gt; test: LFSCK isn&apos;t getting completed within given time.&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: c8ac134bca875e95e0cc3a46e9e3fd2ccdf098e6&lt;/p&gt;</comment>
                            <comment id="142366" author="yong.fan" created="Wed, 17 Feb 2016 02:01:30 +0000"  >&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;        wait_update_facet client &quot;stat $DIR/$tdir/d0/foo |
                awk &apos;/Size/ { print \\\$2 }&apos;&quot; &quot;0&quot; 32 || {
                stat $DIR/$tdir/guard
                $SHOW_NAMESPACE
                error &quot;(8) unexpected size&quot;
        }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Above logic does not expect the LFSCK to complete, instead, it hopes the LFSCK to find out the dangling name entry and re-create the lost MDT-object. Such repairing should happen during the &quot;scanning-phase1&quot;. But according to the logs, the LFSCK has moved to the &quot;scanning-phase2&quot;. So the expected repairing should have happened already. But the test results shows that it did NOT. So only waiting more time for the LFSCK may not fix the root issue, unless it happened at very rare corner, means that before the &quot;$SHOW_NAMESPACE&quot;, it was in &quot;phase1&quot;, but when &quot;$SHOW_NAMESPACE&quot;, it moved to &quot;phase2&quot;. If that is true, then we need to think why the NAMESPACE LFSCK run so slow.&lt;/p&gt;</comment>
                            <comment id="156470" author="gerrit" created="Wed, 22 Jun 2016 09:02:49 +0000"  >&lt;p&gt;Fan Yong (fan.yong@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/20916&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/20916&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7429&quot; title=&quot;sanity-lfsck test_23c: @@@@@@ FAIL: (8) unexpected size&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7429&quot;&gt;&lt;del&gt;LU-7429&lt;/del&gt;&lt;/a&gt; tests: inject lfsck failure properly&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 1114c5927df938729ba59da1c39232dbdc74df3a&lt;/p&gt;</comment>
                            <comment id="158437" author="gerrit" created="Mon, 11 Jul 2016 23:58:56 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/20916/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/20916/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7429&quot; title=&quot;sanity-lfsck test_23c: @@@@@@ FAIL: (8) unexpected size&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7429&quot;&gt;&lt;del&gt;LU-7429&lt;/del&gt;&lt;/a&gt; tests: inject lfsck failure properly&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: b399a2d8cbe195eb93e6000d19e24e5ed8864b69&lt;/p&gt;</comment>
                            <comment id="158447" author="yong.fan" created="Tue, 12 Jul 2016 01:12:28 +0000"  >&lt;p&gt;The patch has been landed to master.&lt;/p&gt;</comment>
                            <comment id="159166" author="gerrit" created="Tue, 19 Jul 2016 02:31:38 +0000"  >&lt;p&gt;Fan Yong (fan.yong@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/21412&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/21412&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7429&quot; title=&quot;sanity-lfsck test_23c: @@@@@@ FAIL: (8) unexpected size&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7429&quot;&gt;&lt;del&gt;LU-7429&lt;/del&gt;&lt;/a&gt; tests: generate dangling name entry properly&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: cb3462ae2274a55a03e323d7f5fcdd597b337163&lt;/p&gt;</comment>
                            <comment id="160011" author="gerrit" created="Wed, 27 Jul 2016 03:03:52 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/21412/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/21412/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7429&quot; title=&quot;sanity-lfsck test_23c: @@@@@@ FAIL: (8) unexpected size&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7429&quot;&gt;&lt;del&gt;LU-7429&lt;/del&gt;&lt;/a&gt; tests: generate dangling name entry properly&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 9bb5a2fd3e76b460fd5121d48bc492be27a2e4f5&lt;/p&gt;</comment>
                            <comment id="180040" author="gerrit" created="Mon, 9 Jan 2017 14:23:59 +0000"  >&lt;p&gt;Fan Yong (fan.yong@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/24763&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/24763&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7429&quot; title=&quot;sanity-lfsck test_23c: @@@@@@ FAIL: (8) unexpected size&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7429&quot;&gt;&lt;del&gt;LU-7429&lt;/del&gt;&lt;/a&gt; tests: generate dangling name entry properly&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 4696914e3a5347580628474380c15ea9532cf806&lt;/p&gt;</comment>
                            <comment id="180044" author="yong.fan" created="Mon, 9 Jan 2017 14:50:23 +0000"  >&lt;p&gt;Reopen the ticket for the pending patch &lt;a href=&quot;https://review.whamcloud.com/24763&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/24763&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="181863" author="gerrit" created="Tue, 24 Jan 2017 05:24:48 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/24763/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/24763/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7429&quot; title=&quot;sanity-lfsck test_23c: @@@@@@ FAIL: (8) unexpected size&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7429&quot;&gt;&lt;del&gt;LU-7429&lt;/del&gt;&lt;/a&gt; tests: generate dangling name entry properly&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: d3919b209e0a4762540d9c28dd6bc6e3c4bbf33b&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                                        </outwardlinks>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="31978">LU-7113</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="19615" name="23c.lctl.tgz" size="377925" author="parinay" created="Mon, 16 Nov 2015 11:07:40 +0000"/>
                            <attachment id="20053" name="23c__7th_JAN.lctl.tgz" size="1920369" author="parinay" created="Thu, 7 Jan 2016 06:05:38 +0000"/>
                    </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|hzxt2v:</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>