<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:03: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-13753] sanityn test_51b: &apos;file size is 1024, should be 3145728&apos; </title>
                <link>https://jira.whamcloud.com/browse/LU-13753</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This issue was created by maloo for liuying &amp;lt;emoly.liu@intel.com&amp;gt;&lt;/p&gt;

&lt;p&gt;This issue relates to the following test suite run: &lt;a href=&quot;https://testing.whamcloud.com/test_sets/abe98c66-5293-41c4-a72b-c317b11bb2e2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/abe98c66-5293-41c4-a72b-c317b11bb2e2&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;test_51b failed with the following error:&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;== sanityn test 51b: layout lock: glimpse should be able to restart if layout changed ================ 12:39:07 (1594039147)
1+0 records in
1+0 records out
1024 bytes (1.0 kB) copied, 0.00191303 s, 535 kB/s
fail_loc=0x1404
1+0 records in
1+0 records out
1048576 bytes (1.0 MB) copied, 1.74443 s, 601 kB/s
1024
 sanityn test_51b: @@@@@@ FAIL: file size is 1024, should be 3145728 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;





&lt;p&gt;VVVVVVV DO NOT REMOVE LINES BELOW, Added by Maloo for auto-association VVVVVVV&lt;br/&gt;
sanityn test_51b - file size is 1024, should be 3145728&lt;/p&gt;</description>
                <environment></environment>
        <key id="59852">LU-13753</key>
            <summary>sanityn test_51b: &apos;file size is 1024, should be 3145728&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="qian_wc">Qian Yingjin</assignee>
                                    <reporter username="maloo">Maloo</reporter>
                        <labels>
                    </labels>
                <created>Tue, 7 Jul 2020 01:14:25 +0000</created>
                <updated>Wed, 13 Sep 2023 17:01:27 +0000</updated>
                            <resolved>Thu, 27 Aug 2020 23:59:47 +0000</resolved>
                                    <version>Lustre 2.14.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>9</watches>
                                                                            <comments>
                            <comment id="274644" author="hornc" created="Tue, 7 Jul 2020 16:13:17 +0000"  >&lt;p&gt;+1 on master: &lt;a href=&quot;https://testing.whamcloud.com/test_sessions/23b5849c-c8b2-4516-883c-5198009482b8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sessions/23b5849c-c8b2-4516-883c-5198009482b8&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="276270" author="adilger" created="Wed, 29 Jul 2020 09:20:58 +0000"  >&lt;p&gt;+1 on master &lt;a href=&quot;https://testing.whamcloud.com/test_sets/fe7f9404-be7c-43d7-8915-6a9db3002a43&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/fe7f9404-be7c-43d7-8915-6a9db3002a43&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="276285" author="jamesanunez" created="Wed, 29 Jul 2020 14:58:11 +0000"  >&lt;p&gt;It looks like the majority of sanityn test 51b failures is for DNE/ZFS testing and started on  28 MAY 2020, but we do have some failures that are ZFS with no DNE like &lt;a href=&quot;https://testing.whamcloud.com/test_sets/7e857919-f4e3-49fc-abda-4d67275bf425&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/7e857919-f4e3-49fc-abda-4d67275bf425&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;This test is failing ~20% of the time in autotest patch/review testing.&lt;/p&gt;

&lt;p&gt;The early failures were attributed to ticket &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10934&quot; title=&quot;integrate statx() API with Lustre&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10934&quot;&gt;&lt;del&gt;LU-10934&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="276308" author="jhammond" created="Wed, 29 Jul 2020 17:42:26 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=qian_wc&quot; class=&quot;user-hover&quot; rel=&quot;qian_wc&quot;&gt;qian_wc&lt;/a&gt; This test was modified by &lt;a href=&quot;https://review.whamcloud.com/36674&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36674&lt;/a&gt; &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10934&quot; title=&quot;integrate statx() API with Lustre&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10934&quot;&gt;&lt;del&gt;LU-10934&lt;/del&gt;&lt;/a&gt; llite: integrate statx() API with Lustre. Could you revert the changes to the test and ensure that it passes consistently. In general we should not rewrite tests in this way. It makes it difficult to analyze test results over time. Instead please add a new test based on the old test. Once the test issues are addressed please ensure that the new test passes consistently.&lt;/p&gt;</comment>
                            <comment id="276334" author="gerrit" created="Wed, 29 Jul 2020 21:13:27 +0000"  >&lt;p&gt;James Nunez (jnunez@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/39533&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/39533&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13753&quot; title=&quot;sanityn test_51b: &amp;#39;file size is 1024, should be 3145728&amp;#39; &quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13753&quot;&gt;&lt;del&gt;LU-13753&lt;/del&gt;&lt;/a&gt; tests: stop running sanityn 51b for ZFS&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 0858686a91606ac6be812d6ed18c0fb302337959&lt;/p&gt;</comment>
                            <comment id="276337" author="gerrit" created="Wed, 29 Jul 2020 21:24:05 +0000"  >&lt;p&gt;The patch &lt;a href=&quot;https://review.whamcloud.com/39533&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/39533&lt;/a&gt; is not a fix, but should be used if we can&apos;t find a fix for this test in a timely manner.&lt;/p&gt;</comment>
                            <comment id="276366" author="qian_wc" created="Thu, 30 Jul 2020 09:03:05 +0000"  >&lt;p&gt;Hi John,&lt;/p&gt;

&lt;p&gt;The reason I changed the test_51b is because that it can not pass the test&#160;&lt;a href=&quot;https://review.whamcloud.com/36674&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36674&lt;/a&gt; &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10934&quot; title=&quot;integrate statx() API with Lustre&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10934&quot;&gt;&lt;del&gt;LU-10934&lt;/del&gt;&lt;/a&gt; llite: integrate statx() API with Lustre.&lt;/p&gt;

&lt;p&gt;In the above patch, it avoids some unnecessary glimpse lock calls for files without any stripe (i.e. MCREATE an empty file). For this kinds of files, the size returned from MDT is strictly correct, no need RPCs to Lustre OSTs to obtain the file size.&lt;/p&gt;</comment>
                            <comment id="277171" author="qian_wc" created="Tue, 11 Aug 2020 09:01:15 +0000"  >&lt;p&gt;I tested it with ZFS backend locally, it passed:&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;
[root@qian tests]# FSTYPE=zfs ONLY=&lt;span class=&quot;code-quote&quot;&gt;&quot;51b&quot;&lt;/span&gt; REFORMAT=&lt;span class=&quot;code-quote&quot;&gt;&quot;yes&quot;&lt;/span&gt; sh sanityn.sh 
qian: executing check_logdir /tmp/test_logs/1597136195
Logging to shared log directory: /tmp/test_logs/1597136195
qian: executing yml_node
IOC_LIBCFS_GET_NI error 22: Invalid argument
Client: 2.13.55.16
MDS: 2.13.55.16
OSS: 2.13.55.16
excepting tests: 28
skipping tests SLOW=no: 33a
Stopping clients: qian /mnt/lustre (opts:-f)
Stopping clients: qian /mnt/lustre2 (opts:-f)
qian: executing set_hostid
Loading modules from /root/work/STATX/lustre-release/lustre/tests/..
detected 2 online CPUs by sysfs
Force libcfs to create 2 CPU partitions
quota/lquota options: &lt;span class=&quot;code-quote&quot;&gt;&apos;hash_lqs_cur_bits=3&apos;&lt;/span&gt;
Formatting mgs, mds, osts
Format mds1: lustre-mdt1/mdt1
Format ost1: lustre-ost1/ost1
Format ost2: lustre-ost2/ost2
Checking servers environments
Checking clients qian environments
Loading modules from /root/work/STATX/lustre-release/lustre/tests/..
detected 2 online CPUs by sysfs
Force libcfs to create 2 CPU partitions
Setup mgs, mdt, osts
Starting mds1: -o localrecov  lustre-mdt1/mdt1 /mnt/lustre-mds1
Commit the device label on lustre-mdt1/mdt1
Started lustre-MDT0000
Starting ost1: -o localrecov  lustre-ost1/ost1 /mnt/lustre-ost1
Commit the device label on lustre-ost1/ost1
Started lustre-OST0000
Starting ost2: -o localrecov  lustre-ost2/ost2 /mnt/lustre-ost2
Commit the device label on lustre-ost2/ost2
Started lustre-OST0001
Starting client: qian:  -o user_xattr,flock qian@tcp:/lustre /mnt/lustre
Starting client qian:  -o user_xattr,flock qian@tcp:/lustre /mnt/lustre
Started clients qian: 
192.168.150.131@tcp:/lustre on /mnt/lustre type lustre (rw,flock,user_xattr,lazystatfs,encrypt)
Starting client: qian:  -o user_xattr,flock qian@tcp:/lustre /mnt/lustre2
Starting client qian:  -o user_xattr,flock qian@tcp:/lustre /mnt/lustre2
Started clients qian: 
192.168.150.131@tcp:/lustre on /mnt/lustre2 type lustre (rw,flock,user_xattr,lazystatfs,encrypt)
Using TIMEOUT=20
osc.lustre-OST0000-osc-ffff8e409657d800.idle_timeout=debug
osc.lustre-OST0000-osc-ffff8e409657e800.idle_timeout=debug
osc.lustre-OST0001-osc-ffff8e409657d800.idle_timeout=debug
osc.lustre-OST0001-osc-ffff8e409657e800.idle_timeout=debug
setting jobstats to procname_uid
Setting lustre.sys.jobid_var from disable to procname_uid
Waiting 90s &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;code-quote&quot;&gt;&apos;procname_uid&apos;&lt;/span&gt;
Updated after 7s: want &lt;span class=&quot;code-quote&quot;&gt;&apos;procname_uid&apos;&lt;/span&gt; got &lt;span class=&quot;code-quote&quot;&gt;&apos;procname_uid&apos;&lt;/span&gt;
disable quota as required
lod.lustre-MDT0000-mdtlov.mdt_hash=crush
1+0 records in
1+0 records out
1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.00664703 s, 158 MB/s
running as uid/gid/euid/egid 500/500/500/500, groups:
 [touch] [/mnt/lustre/d0_runas_test/f7574]

== sanityn test 51b: layout lock: glimpse should be able to restart &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; layout changed ================ 16:57:29 (1597136249)
1+0 records in
1+0 records out
1024 bytes (1.0 kB, 1.0 KiB) copied, 0.000503275 s, 2.0 MB/s
fail_loc=0x1404
1+0 records in
1+0 records out
1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0147413 s, 71.1 MB/s
3145728
Resetting fail_loc on all nodes...done.
PASS 51b (7s)
cleanup: ======================================================
== sanityn test complete, duration 61 sec ============================================================ 16:57:36 (1597136256)
Stopping clients: qian /mnt/lustre (opts:-f)
Stopping client qian /mnt/lustre opts:-f
Stopping clients: qian /mnt/lustre2 (opts:-f)
Stopping client qian /mnt/lustre2 opts:-f


[root@qian tests]# FSTYPE=zfs ONLY=&lt;span class=&quot;code-quote&quot;&gt;&quot;51b&quot;&lt;/span&gt; MDSCOUNT=2 REFORMAT=&lt;span class=&quot;code-quote&quot;&gt;&quot;yes&quot;&lt;/span&gt; sh sanityn.sh
== sanityn test 51b: layout lock: glimpse should be able to restart &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; layout changed ================ 16:59:20 (1597136360)
1+0 records in
1+0 records out
1024 bytes (1.0 kB, 1.0 KiB) copied, 0.000356896 s, 2.9 MB/s
fail_loc=0x1404
1+0 records in
1+0 records out
1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.00559126 s, 188 MB/s
3145728
Resetting fail_loc on all nodes...done.
PASS 51b (7s)
cleanup: ======================================================
== sanityn test complete, duration 35 sec ============================================================ 16:59:27 (1597136367)

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="277180" author="qian_wc" created="Tue, 11 Aug 2020 12:56:13 +0000"  >&lt;p&gt;Andreas&apos; patch: &lt;a href=&quot;https://review.whamcloud.com/#/c/38947/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/38947/&lt;/a&gt; gives out the solution by increasing  timeout for sanityn test_51b.&lt;/p&gt;</comment>
                            <comment id="277504" author="qian_wc" created="Fri, 14 Aug 2020 08:03:01 +0000"  >&lt;p&gt;Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/38947&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/38947&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10934&quot; title=&quot;integrate statx() API with Lustre&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10934&quot;&gt;&lt;del&gt;LU-10934&lt;/del&gt;&lt;/a&gt; tests: increase timeout for sanityn test_51b&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: a00f3f63fa7e8d3ba9a32dcf4da3de83b6dcdcb3&lt;/p&gt;</comment>
                            <comment id="278241" author="adilger" created="Thu, 27 Aug 2020 23:59:47 +0000"  >&lt;p&gt;The patch to fix test_51b is landed. &lt;/p&gt;</comment>
                            <comment id="321435" author="sergey" created="Thu, 23 Dec 2021 11:33:03 +0000"  >&lt;p&gt;Faced it again on master(review-dne-zfs-part-5): &lt;a href=&quot;https://testing.whamcloud.com/test_sets/e23e4426-f555-4f86-b61e-7c1051c2a974&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/e23e4426-f555-4f86-b61e-7c1051c2a974&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="323901" author="hornc" created="Tue, 25 Jan 2022 21:16:12 +0000"  >&lt;p&gt;+1 on master &lt;a href=&quot;https://testing.whamcloud.com/test_sets/2b34efa6-e2f5-4797-ab11-e9e3d18082eb&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/2b34efa6-e2f5-4797-ab11-e9e3d18082eb&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="51920">LU-10934</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|i014gv:</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>