<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:36:32 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-10600] sanity test 66 hangs when run after tests 64d and 65k</title>
                <link>https://jira.whamcloud.com/browse/LU-10600</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;To reproduce this hang, run the following:&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;# ./llmount.sh
#  ./auster -v -k sanity --only &quot;64d 65k 66&quot;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The above commands with set up Lustre with one combined MGS/MDS and two OSTs with loop back devices on a single node. The auster command will run sanity test 64d, 65k and 66 only. &lt;/p&gt;

&lt;p&gt;The output from the run is:&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 test 64d: check grant limit exceed ========================================================= 19:10:43 (1517512243)
debug=super ioctl neterror warning dlmtrace error emerg ha rpctrace vfstrace config console lfsck
dd: error writing &apos;/mnt/lustre/f64d.sanity&apos;: No space left on device
278+0 records in
277+0 records out
290684928 bytes (291 MB) copied, 13.1767 s, 22.1 MB/s
/usr/lib64/lustre/tests/sanity.sh: line 6121: kill: (25805) - No such process
debug=trace inode super ext2 malloc cache info ioctl neterror net warning buffs other dentry nettrace page dlmtrace error emerg ha rpctrace vfstrace reada mmap config console quota sec lfsck hsm snapshot layout
Resetting fail_loc on all nodes...done.
PASS 64d (15s)


== sanity test 65k: validate manual striping works properly with deactivated OSCs ==================== 19:10:58 (1517512258)
Check OST status: 
lustre-OST0000-osc-MDT0000 is active
lustre-OST0001-osc-MDT0000 is active
total: 1000 open/close in 1.49 seconds: 672.84 ops/second
Deactivate:  lustre-OST0000-osc-MDT0000
/usr/bin/lfs setstripe -i 0 -c 1 /mnt/lustre/d65k.sanity/0
/usr/bin/lfs setstripe -i 1 -c 1 /mnt/lustre/d65k.sanity/1
 - unlinked 0 (time 1517512260 ; total 0 ; last 0)
total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second
lustre-OST0000-osc-MDT0000 is Activate
trevis-58vm6.trevis.hpdd.intel.com: executing wait_import_state FULL osc.*OST*-osc-MDT0000.ost_server_uuid 40
osc.*OST*-osc-MDT0000.ost_server_uuid in FULL state after 0 sec
total: 1000 open/close in 1.62 seconds: 615.67 ops/second
Deactivate:  lustre-OST0001-osc-MDT0000
/usr/bin/lfs setstripe -i 0 -c 1 /mnt/lustre/d65k.sanity/0
lfs setstripe: error on ioctl 0x4008669a for &apos;/mnt/lustre/d65k.sanity/0&apos; (3): No space left on device
 sanity test_65k: @@@@@@ FAIL: setstripe 0 should succeed 
  Trace dump:
  = /usr/lib64/lustre/tests/test-framework.sh:5130:error()
  = /usr/lib64/lustre/tests/sanity.sh:6310:test_65k()
  = /usr/lib64/lustre/tests/test-framework.sh:5406:run_one()
  = /usr/lib64/lustre/tests/test-framework.sh:5445:run_one_logged()
  = /usr/lib64/lustre/tests/test-framework.sh:5244:run_test()
  = /usr/lib64/lustre/tests/sanity.sh:6326:main()
Dumping lctl log to /tmp/test_logs/2018-02-01/191040/sanity.test_65k.*.1517512264.log
Dumping logs only on local client.
Resetting fail_loc on all nodes...done.
FAIL 65k (6s)


== sanity test 66: update inode blocks count on client =============================================== 19:11:04 (1517512264)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Looking at the testing output, we see that test 64d fills an OST and doesn&#8217;t remove the file and then test 65k deactivates one OST at a time and, when it has deactivated the empty OST and tries to use the full one, the &#8216;lfs setstripe&#8217; command fails. Test 65k exits when the &#8216;lfs setstripe&#8217; command fail and leaves one OST deactivated. &lt;/p&gt;

&lt;p&gt;The last thing I see in dmesg from test 66 is:&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; [797721.192593] Lustre: DEBUG MARKER: == sanity test 66: update inode blocks count on client =============================================== 23:33:24 (1517614404)
[797773.923382] Lustre: lustre-OST0001: haven&apos;t heard from client lustre-MDT0000-mdtlov_UUID (at 0@lo) in 53 seconds. I think it&apos;s dead, and I am evicting it. exp ffff88000c752c00, cur 1517614457 expire 1517614427 last 1517614404
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;We need to clean up the file from test 64d and, on failure, we need to activate the OST and clean up files in test 65k.&lt;/p&gt;

&lt;p&gt;I&#8217;ll upload a patch for this.&lt;/p&gt;</description>
                <environment></environment>
        <key id="50517">LU-10600</key>
            <summary>sanity test 66 hangs when run after tests 64d and 65k</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="jamesanunez">James Nunez</assignee>
                                    <reporter username="jamesanunez">James Nunez</reporter>
                        <labels>
                            <label>test_script_improvements</label>
                            <label>tests</label>
                    </labels>
                <created>Fri, 2 Feb 2018 23:37:57 +0000</created>
                <updated>Tue, 27 Feb 2018 04:35:45 +0000</updated>
                            <resolved>Tue, 27 Feb 2018 04:35:45 +0000</resolved>
                                    <version>Lustre 2.11.0</version>
                                    <fixVersion>Lustre 2.11.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="219920" author="gerrit" created="Fri, 2 Feb 2018 23:54:20 +0000"  >&lt;p&gt;James Nunez (james.a.nunez@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/31159&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/31159&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10600&quot; title=&quot;sanity test 66 hangs when run after tests 64d and 65k&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10600&quot;&gt;&lt;del&gt;LU-10600&lt;/del&gt;&lt;/a&gt; tests: clean up sanity tests 64d and 65k&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: cb666ba8f3c5f3591abcf81180b00dc8cbab8755&lt;/p&gt;</comment>
                            <comment id="221759" author="gerrit" created="Tue, 27 Feb 2018 03:47:27 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/31159/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/31159/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10600&quot; title=&quot;sanity test 66 hangs when run after tests 64d and 65k&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10600&quot;&gt;&lt;del&gt;LU-10600&lt;/del&gt;&lt;/a&gt; tests: clean up sanity tests 64d and 65k&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 1f50ba91a2a58890437924d8f72a27aecc2463d3&lt;/p&gt;</comment>
                            <comment id="221783" author="pjones" created="Tue, 27 Feb 2018 04:35:45 +0000"  >&lt;p&gt;Landed for 2.11&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|hzzs47:</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>