<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:40:47 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-4223] conf-sanity test_32c, test_32d: could not find any free loop device</title>
                <link>https://jira.whamcloud.com/browse/LU-4223</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This issue was created by maloo for sarah &amp;lt;sarah@whamcloud.com&amp;gt;&lt;/p&gt;

&lt;p&gt;This issue relates to the following test suite run: &lt;a href=&quot;http://maloo.whamcloud.com/test_sets/751ee23a-4106-11e3-a1e8-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://maloo.whamcloud.com/test_sets/751ee23a-4106-11e3-a1e8-52540035b04c&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The sub-test test_32c failed with the following error:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;test_32c failed with 1&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Info required for matching: conf-sanity 32c&lt;/p&gt;</description>
                <environment></environment>
        <key id="21907">LU-4223</key>
            <summary>conf-sanity test_32c, test_32d: could not find any free loop device</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</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="di.wang">Di Wang</assignee>
                                    <reporter username="maloo">Maloo</reporter>
                        <labels>
                            <label>dne</label>
                            <label>mn4</label>
                            <label>sdsc</label>
                    </labels>
                <created>Thu, 7 Nov 2013 07:17:26 +0000</created>
                <updated>Wed, 16 Mar 2016 05:18:51 +0000</updated>
                            <resolved>Wed, 18 Dec 2013 19:54:38 +0000</resolved>
                                                    <fixVersion>Lustre 2.6.0</fixVersion>
                    <fixVersion>Lustre 2.4.2</fixVersion>
                    <fixVersion>Lustre 2.5.1</fixVersion>
                    <fixVersion>Lustre 2.8.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>9</watches>
                                                                            <comments>
                            <comment id="70955" author="sarah" created="Thu, 7 Nov 2013 07:19:38 +0000"  >&lt;p&gt;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;CMD: wtm-32vm3 tunefs.lustre --quota /tmp/t32/ost
wtm-32vm3: tunefs.lustre: out of loop devices!
wtm-32vm3: 
wtm-32vm3: tunefs.lustre FATAL: Loop device setup for /tmp/t32/ost failed: Too many open files
wtm-32vm3: tunefs.lustre: exiting with 24 (Too many open files)
checking for existing Lustre data: found
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="71486" author="adilger" created="Wed, 13 Nov 2013 23:59:07 +0000"  >&lt;p&gt;Oleg reports that he runs out of loop devices when running conf-sanity repeatedly on the same node.  It seems there is a leak in the configuration of the loop devices, either by mount.lustre/unmount, or something else in conf-sanity.  It is likely hitting DNE testing more than regular testing just due to DNE configurations using more MDT and OST devices.&lt;/p&gt;</comment>
                            <comment id="71487" author="adilger" created="Thu, 14 Nov 2013 00:07:22 +0000"  >&lt;p&gt;In the test output:&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;Upgrading from disk2_3-ldiskfs.tar.bz2, created with:
  Commit: 2.3.0
  Kernel: 2.6.32-279.5.1.el6_lustre.gb16fe80.x86_64
    Arch: x86_64
CMD: wtm-32vm3 tunefs.lustre --dryrun /tmp/t32/mdt
   :
   :
   loop: can&apos;t delete device /dev/loop3: Device or resource busy
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;So it looks like the device is being referenced.  I&apos;ve noticed in recent DNE testing that the MDT device did not unmount cleanly, so this should be tested as the possible root cause of the problem.&lt;/p&gt;</comment>
                            <comment id="71677" author="di.wang" created="Fri, 15 Nov 2013 20:52:20 +0000"  >&lt;p&gt;Hmm, it seems a few tests did not do &quot;umount -d&quot; when umount. &lt;a href=&quot;http://review.whamcloud.com/8296&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/8296&lt;/a&gt;  &lt;/p&gt;</comment>
                            <comment id="71684" author="adilger" created="Fri, 15 Nov 2013 21:17:17 +0000"  >&lt;p&gt;This appears to be the most common failure preventing review-dne from passing all of its tests (7 of 11 failures in the past three days if one adds &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4261&quot; title=&quot;Test failure on test suite sanity-quota, subtest test_36&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4261&quot;&gt;&lt;del&gt;LU-4261&lt;/del&gt;&lt;/a&gt; failures).  Fixing this would probably allow review-dne to pass consistently enough to be enforced.&lt;/p&gt;</comment>
                            <comment id="71685" author="adilger" created="Fri, 15 Nov 2013 21:19:03 +0000"  >&lt;p&gt;Di, please use More Actions-&amp;gt;Link to link duplicate bugs.  Just closing a bug as a duplicate does not link it to the original bug (unlike with Bugzilla).&lt;/p&gt;</comment>
                            <comment id="71911" author="adilger" created="Tue, 19 Nov 2013 18:17:42 +0000"  >&lt;p&gt;This patch should be landed to b2_4 and b2_5. &lt;/p&gt;</comment>
                            <comment id="72109" author="yujian" created="Fri, 22 Nov 2013 08:15:48 +0000"  >&lt;p&gt;The patch was cherry-picked to Lustre b2_4 branch.&lt;/p&gt;</comment>
                            <comment id="72339" author="jhammond" created="Tue, 26 Nov 2013 20:39:09 +0000"  >&lt;p&gt;In mount_utils_ldiskfs.c:is_feature_enabled(), popen() is used to invoke debugfs but fclose() is used to close the FILE * returned from popen(). Hence wait() is not called, debugfs may still be running (and holding the loop device open). This prevents losetup -d from detaching it.&lt;/p&gt;</comment>
                            <comment id="72375" author="di.wang" created="Wed, 27 Nov 2013 07:52:17 +0000"  >&lt;p&gt;John: I think you are right, and it should use pclose, instead of fclose. Good catch!&lt;/p&gt;</comment>
                            <comment id="72376" author="di.wang" created="Wed, 27 Nov 2013 07:59:45 +0000"  >&lt;p&gt; &lt;a href=&quot;http://review.whamcloud.com/8409&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/8409&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="72402" author="jhammond" created="Wed, 27 Nov 2013 16:02:21 +0000"  >&lt;p&gt;Hi Di,&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;There are a few other places in lustre/utils/ where popen() if followed by fclose(), including one in is_e2fsprogs_feature_supp(). We should fix those too.&lt;/li&gt;
&lt;/ol&gt;


&lt;ol&gt;
	&lt;li&gt;This may not be enough. On my RHEL 6.4 kernel (2.6.32-358.18.1.el6.lustre.x86_64) if there are IOs still in flight to a loop device then it cannot be detached:
&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;# dd if=/dev/zero of=/tmp/0 bs=1M count=100
100+0 records in
100+0 records out
104857600 bytes (105 MB) copied, 0.195863 s, 535 MB/s
# losetup -f /tmp/0
# losetup -a
/dev/loop0: [fc01]:1055063 (/tmp/0)
# dd if=/dev/zero of=/dev/loop0 bs=1M count=100; losetup -d /dev/loop0
100+0 records in
100+0 records out
104857600 bytes (105 MB) copied, 0.15608 s, 672 MB/s
loop: can&apos;t delete device /dev/loop0: Device or resource busy
# losetup -a
/dev/loop0: [fc01]:1055063 (/tmp/0)
# losetup -d /dev/loop0
#
# losetup /dev/loop0 /tmp/0; dd if=/dev/zero of=/dev/loop0 oflag=sync bs=1M count=100; losetup -d /dev/loop0
100+0 records in
100+0 records out
104857600 bytes (105 MB) copied, 3.72073 s, 28.2 MB/s
loop: can&apos;t delete device /dev/loop0: Device or resource busy
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;As you see above, asking for sync IO to the loop device is not enough. So we probably need to add some wait retry logic to loop_cleanup().&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;
</comment>
                            <comment id="72438" author="di.wang" created="Wed, 27 Nov 2013 20:29:54 +0000"  >&lt;p&gt;John, yes, this makes sense, I updated the patch, and please have a look.&lt;/p&gt;</comment>
                            <comment id="73784" author="adilger" created="Wed, 18 Dec 2013 19:32:56 +0000"  >&lt;p&gt;This patch was landed on 2013-12-09 but conf-sanity is still reporting this bug for failures:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://maloo.whamcloud.com/test_sets/7d7a27aa-66ae-11e3-93e2-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/7d7a27aa-66ae-11e3-93e2-52540035b04c&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://maloo.whamcloud.com/test_sets/202cbd9e-66c5-11e3-93e2-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/202cbd9e-66c5-11e3-93e2-52540035b04c&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://maloo.whamcloud.com/test_sets/868c4f72-66fd-11e3-a234-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/868c4f72-66fd-11e3-a234-52540035b04c&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;and others.&lt;/p&gt;</comment>
                            <comment id="73787" author="adilger" created="Wed, 18 Dec 2013 19:54:38 +0000"  >&lt;p&gt;False alarm - it is actually &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4358&quot; title=&quot;conf-sanity test_32c: sha1sum verification failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4358&quot;&gt;&lt;del&gt;LU-4358&lt;/del&gt;&lt;/a&gt; that is being hit, but is misdiagnosed as &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4223&quot; title=&quot;conf-sanity test_32c, test_32d: could not find any free loop device&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4223&quot;&gt;&lt;del&gt;LU-4223&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I&apos;m closing this bug since it looks like it is not being hit in recent test runs.&lt;/p&gt;</comment>
                            <comment id="74334" author="yujian" created="Sat, 4 Jan 2014 14:39:36 +0000"  >&lt;blockquote&gt;&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/8409&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/8409&lt;/a&gt;&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;The above patch was not cherry-picked to Lustre b2_5 branch.&lt;/p&gt;

&lt;p&gt;The same failure occurred on Lustre b2_5 build #5:&lt;br/&gt;
&lt;a href=&quot;https://maloo.whamcloud.com/test_sets/16cd0f30-7497-11e3-8b21-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/16cd0f30-7497-11e3-8b21-52540035b04c&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here is the back-ported patch on Lustre b2_5 branch: &lt;a href=&quot;http://review.whamcloud.com/8723&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/8723&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="74768" author="yujian" created="Sat, 11 Jan 2014 13:35:56 +0000"  >&lt;p&gt;Landed for Lustre 2.5.1.&lt;/p&gt;</comment>
                            <comment id="102730" author="gerrit" created="Wed, 7 Jan 2015 10:20:14 +0000"  >&lt;p&gt;Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/13265&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/13265&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4223&quot; title=&quot;conf-sanity test_32c, test_32d: could not find any free loop device&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4223&quot;&gt;&lt;del&gt;LU-4223&lt;/del&gt;&lt;/a&gt; tests: fix conf-sanity test_32 typo&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 05a59163d8427f0c77d3aa6b31486b2219fb49d2&lt;/p&gt;</comment>
                            <comment id="108573" author="gerrit" created="Tue, 3 Mar 2015 16:47:00 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/13265/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/13265/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4223&quot; title=&quot;conf-sanity test_32c, test_32d: could not find any free loop device&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4223&quot;&gt;&lt;del&gt;LU-4223&lt;/del&gt;&lt;/a&gt; tests: fix conf-sanity test_32 typo&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 5da53bcb1d8c38157325505f6619d6b6c3d4db6a&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="22061">LU-4261</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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|hzw89r:</customfieldvalue>

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