<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:04:27 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-171] Test failure on test suite runtests</title>
                <link>https://jira.whamcloud.com/browse/LU-171</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This issue was created by maloo for Prakash Surya &amp;lt;surya1@llnl.gov&amp;gt;&lt;/p&gt;

&lt;p&gt;This issue relates to the following test suite run: &lt;a href=&quot;https://maloo.whamcloud.com/test_sets/30252906-594f-11e0-a272-52540025f9af&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/30252906-594f-11e0-a272-52540025f9af&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The cache is not being flushed to disk before the Lustre filesystem is unmounted. After the Lustre unmount and remount, the files on the Lustre filesystem are all empty. This is what causes the file diffs to fail.&lt;/p&gt;

&lt;p&gt;If I add the command &apos;echo 3 &amp;gt; /proc/sys/vm/drop_caches&apos; just before the command to unmount Lustre, the tests will pass.&lt;/p&gt;</description>
                <environment></environment>
        <key id="10518">LU-171</key>
            <summary>Test failure on test suite runtests</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="yujian">Jian Yu</assignee>
                                    <reporter username="maloo">Maloo</reporter>
                        <labels>
                    </labels>
                <created>Mon, 28 Mar 2011 08:27:49 +0000</created>
                <updated>Wed, 6 Apr 2011 11:56:08 +0000</updated>
                            <resolved>Wed, 6 Apr 2011 11:56:08 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="11593" author="pjones" created="Wed, 30 Mar 2011 11:53:19 +0000"  >&lt;p&gt;Yu Jian&lt;/p&gt;

&lt;p&gt;Could you please look into this one?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="11746" author="yujian" created="Fri, 1 Apr 2011 03:46:02 +0000"  >&lt;p&gt;Hi Prakash,&lt;/p&gt;

&lt;p&gt;Did you run &apos;sync&apos; before &apos;echo 3 &amp;gt; /proc/sys/vm/drop_caches&apos;? The latter command is just to drop clean pagecache, dentries and inodes from memory. It does not free dirty objects, nor flush the data out to disk.&lt;/p&gt;

&lt;p&gt;In addition, I saw this message in the test output:&lt;br/&gt;
cp: cannot create regular file `/sbin/./mount.lustre&apos;: Permission denied&lt;br/&gt;
Did you run something special before re-mounting the Lustre filesystem?&lt;/p&gt;</comment>
                            <comment id="11796" author="prakash" created="Fri, 1 Apr 2011 11:35:21 +0000"  >&lt;p&gt;Yu Jian,&lt;/p&gt;

&lt;p&gt;As long as &apos;echo 3 &amp;gt; /proc/sys/vm/drop_caches&apos; is being called, the test will pass whether sync is called or not. I have tried both, calling sync before and not calling it at all, and it makes no difference. Also, the test with not pass without &apos;echo 3 &amp;gt; /proc/sys/vm/drop_caches&apos;, even if &apos;sync&apos; is still called.&lt;/p&gt;

&lt;p&gt;Just in case this proves useful, here are the results of the four tests:&lt;br/&gt;
Without drop_caches or sync: &lt;a href=&quot;https://maloo.whamcloud.com/test_sets/7ec49f8e-5c8c-11e0-a272-52540025f9af&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/7ec49f8e-5c8c-11e0-a272-52540025f9af&lt;/a&gt;&lt;br/&gt;
With only drop_caches (no call to sync): &lt;a href=&quot;https://maloo.whamcloud.com/test_sets/8e1e510a-5c8c-11e0-a272-52540025f9af&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/8e1e510a-5c8c-11e0-a272-52540025f9af&lt;/a&gt;&lt;br/&gt;
With sync before drop_caches: &lt;a href=&quot;https://maloo.whamcloud.com/test_sets/946183ac-5c8c-11e0-a272-52540025f9af&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/946183ac-5c8c-11e0-a272-52540025f9af&lt;/a&gt;&lt;br/&gt;
With only sync (no call to drop_caches): &lt;a href=&quot;https://maloo.whamcloud.com/test_sets/9b0749a8-5c8c-11e0-a272-52540025f9af&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/9b0749a8-5c8c-11e0-a272-52540025f9af&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As far as the &apos;cp: cannot create regular file `/sbin/./mount.lustre&apos;: Permission denied&apos; error, I believe that is because of the way our node is configured. I am running these tests on a diskless node, and the /sbin directory is mounted read only, which causes the copy to fail. Although, the mount.lustre binary is already installed in /sbin on the diskless image (which explains the &apos;Permission denied&apos; error, rather than a &apos;Read-only file system&apos; error).&lt;/p&gt;</comment>
                            <comment id="11919" author="yujian" created="Sat, 2 Apr 2011 08:27:15 +0000"  >&lt;p&gt;Thanks Prakash for the tests.&lt;/p&gt;

&lt;p&gt;From the Maloo reports, I found the kernel version was 2.6.32-14chaos. And the failure reported in this ticket is very similar to the one in &lt;a href=&quot;https://bugzilla.lustre.org/show_bug.cgi?id=23064&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;bug 23064&lt;/a&gt;. There are two patches for this bug:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;&lt;a href=&quot;https://bugzilla.lustre.org/attachment.cgi?id=32045&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;attachment 32045&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;https://bugzilla.lustre.org/attachment.cgi?id=32564&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;attachment 32564&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;The first patch was pushed to master branch on Nov. 4, 2010. The second one was ported to master branch and landed on Mar. 24, 2011 with the other patches in &lt;a href=&quot;http://review.whamcloud.com/307&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/307&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Could you please check whether the Lustre codes you used have the patches or not? If yes, could you please set &quot;PTLDEBUG=-1&quot;, reproduce the issue again and upload the lctl debug log file (gathered by the test script right after the test failed) to this ticket?&lt;/p&gt;

&lt;p&gt;FYI, the issue could not be reproduced on RHEL6/x86_64 with kernel 2.6.32-71.18.2.el6 against the latest master codes on our test node. Here is the successful report:&lt;br/&gt;
&lt;a href=&quot;https://maloo.whamcloud.com/test_sets/f4ffd0c6-6031-11e0-a2b4-52540025f9af&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/f4ffd0c6-6031-11e0-a2b4-52540025f9af&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="12390" author="prakash" created="Wed, 6 Apr 2011 09:57:55 +0000"  >&lt;p&gt;Thanks for the info Yu Jian.&lt;/p&gt;

&lt;p&gt;I pulled down the latest master branch this morning and have not been able to reproduce the issue. Both patches you refer to in your previous comment are definitely in this tree.&lt;/p&gt;

&lt;p&gt;I beleive the previous tree I was working on did not have the patches from &lt;a href=&quot;http://review.whamcloud.com/307&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/307&lt;/a&gt;, which is likely the reason for the failed test.&lt;/p&gt;

&lt;p&gt;Here are the new successful test results:&lt;br/&gt;
Run #1: &lt;a href=&quot;https://maloo.whamcloud.com/test_sets/d39dafe6-606a-11e0-a2b4-52540025f9af&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/d39dafe6-606a-11e0-a2b4-52540025f9af&lt;/a&gt;&lt;br/&gt;
Run #2: &lt;a href=&quot;https://maloo.whamcloud.com/test_sets/d7174b32-606a-11e0-a2b4-52540025f9af&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/d7174b32-606a-11e0-a2b4-52540025f9af&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks for the help! I imagine this ticket can be marked as resolved.&lt;/p&gt;</comment>
                            <comment id="12405" author="pjones" created="Wed, 6 Apr 2011 11:56:08 +0000"  >&lt;p&gt;Thanks for letting us know Prakash!&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|hzw167:</customfieldvalue>

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