<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:43:01 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-4470] replay-dual test_21b: FAIL: lustre-MDT0000: ffff88007f581100 CANNOT BE SET READONLY: rc = -95</title>
                <link>https://jira.whamcloud.com/browse/LU-4470</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;replay-dual test 21b failed as follows:&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;Started clients client-9vm1: 
CMD: client-9vm1 mount | grep /mnt/lustre&apos; &apos;
client-9vm3@tcp:/lustre on /mnt/lustre type lustre (rw,user_xattr,acl,flock)
CMD: client-9vm1 PATH=/usr/lib64/lustre/tests:/usr/lib/lustre/tests:/usr/lib64/lustre/tests:/opt/iozone/bin:/opt/iozone/bin:/usr/lib64/mpi/gcc/openmpi/bin:/usr/lib64/lustre/tests/mpi:/usr/lib64/lustre/tests/racer:/usr/lib64/lustre/../lustre-iokit/sgpdd-survey:/usr/lib64/lustre/tests:/usr/lib64/lustre/utils/gss:/usr/lib64/lustre/utils:/usr/bin:/bin:/sbin:/usr/sbin::/sbin:/bin:/usr/sbin: NAME=autotest_config sh rpc.sh set_default_debug \&quot;-1\&quot; \&quot; 0xffb7e3ff\&quot; 32 
 replay-dual test_21b: @@@@@@ FAIL: The test cannot check whether COS works or not: all renames are replied w/o COS 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Maloo report: &lt;a href=&quot;https://maloo.whamcloud.com/test_sets/e3e6ca96-7989-11e3-a27b-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/e3e6ca96-7989-11e3-a27b-52540035b04c&lt;/a&gt;&lt;/p&gt;</description>
                <environment>&lt;br/&gt;
Lustre build: &lt;a href=&quot;http://build.whamcloud.com/job/lustre-reviews/20841/&quot;&gt;http://build.whamcloud.com/job/lustre-reviews/20841/&lt;/a&gt;&lt;br/&gt;
Distro/Arch: SLES11SP3/x86_64 (both server and client, kernel version: 3.0.101-0.8)&lt;br/&gt;
</environment>
        <key id="22697">LU-4470</key>
            <summary>replay-dual test_21b: FAIL: lustre-MDT0000: ffff88007f581100 CANNOT BE SET READONLY: rc = -95</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="bogl">Bob Glossman</assignee>
                                    <reporter username="yujian">Jian Yu</reporter>
                        <labels>
                            <label>ssf</label>
                    </labels>
                <created>Fri, 10 Jan 2014 10:09:14 +0000</created>
                <updated>Mon, 27 Jun 2016 21:48:19 +0000</updated>
                            <resolved>Thu, 4 Feb 2016 07:15:08 +0000</resolved>
                                    <version>Lustre 2.6.0</version>
                    <version>Lustre 2.5.1</version>
                    <version>Lustre 2.8.0</version>
                                    <fixVersion>Lustre 2.6.0</fixVersion>
                    <fixVersion>Lustre 2.5.1</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="75028" author="adilger" created="Wed, 15 Jan 2014 19:29:50 +0000"  >&lt;p&gt;So far, this problem is only being seen on the most recent SLES11 test runs.&lt;/p&gt;</comment>
                            <comment id="75877" author="bogl" created="Wed, 29 Jan 2014 18:23:51 +0000"  >&lt;p&gt;I very strongly suspect that this problem comes down to a build flaw in SLES build. Here&apos;s my reasoning:&lt;/p&gt;

&lt;p&gt;failed tests all show errors like the following in the 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: client-9vm3 /usr/sbin/lctl --device lustre-MDT0000 readonly
client-9vm3: error: readonly: Operation not supported
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;turning devices readonly is a critical part of the barriers used in test.  with that feature not working it&apos;s not a surprise that many tests fail.&lt;/p&gt;

&lt;p&gt;Looking in mds dmesg log for an explanation errors like the following can be seen:&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;32702.560584] LustreError: 12374:0:(osd_handler.c:1267:osd_ro()) lustre-MDT0000: ffff88007f7b2100 CANNOT BE SET READONLY: rc = -95
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Investigating the code in osd_ro() where the error comes from it can be seen that the error &quot;CANNOT BE SET READONLY&quot; can happen only if lustre is configured with #undef HAVE_DEV_SET_RDONLY.  It&apos;s not clear why lustre is getting config&apos;ed that way.  autoconf should be setting #define HAVE_DEV_SET_RDONLY based on the fact the dev_set_rdonly() does really exist in the SLES kernels and autoconf should be figuring that out.  When I do local builds of lustre on SLES, it does in fact configure correctly and put &quot;#define HAVE_DEV_SET_RDONLY 1&quot; correctly into lustre&apos;s config.h&lt;/p&gt;

&lt;p&gt;I speculate that there is some bad interaction between lbuild and lustre autoconf on SLES only.&lt;/p&gt;

&lt;p&gt;checking back in any recent jenkins build logs, the following can be seen:&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;checking if Linux was built with symbol dev_set_rdonly exported... no
configure: WARNING: kernel missing dev_set_rdonly patch for testing
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This confirms that lustre on SLES is indeed config&apos;ing without HAVE_DEV_SET_RDONLY in jenkins builds.&lt;/p&gt;

&lt;p&gt;I suspect that the whole set of recent SLES only test bugs reported have this same underlying cause.&lt;/p&gt;</comment>
                            <comment id="75883" author="bogl" created="Wed, 29 Jan 2014 18:36:38 +0000"  >&lt;p&gt;I think the build problem may come down to the way the autoconf function LB_CHECK_SYMBOL_EXPORT is defined in config/lustre-build-linux.m4&lt;/p&gt;

&lt;p&gt;This checks in both the kernel source &amp;amp; symbol file for the relevant symbol.  However it looks for the symbol file in $LINUX.  Pretty sure it should be looking in $LINUX_OBJ.  This is a don&apos;t care in centos builds where $LINUX and LINUX_OBJ are really the same.  It is also a don&apos;t care in my local builds on SLES where they are also the same.  On typical SLES builds they are different.&lt;/p&gt;

&lt;p&gt;I suspect a simple change from $LINUX to $LINUX_OBJ in that one autoconf function may fix things.  Will create and push a patch to do that.  If it passes builds in all the distros we use it may be all that is needed.&lt;/p&gt;</comment>
                            <comment id="75892" author="bogl" created="Wed, 29 Jan 2014 20:09:14 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/9056&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/9056&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="75901" author="bogl" created="Wed, 29 Jan 2014 22:22:53 +0000"  >&lt;p&gt;build hasn&apos;t yet completed, but has already proceeded far enough that I can see&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;checking if Linux was built with symbol dev_set_rdonly exported... yes
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;in the build logs for sp2 and sp3.&lt;/p&gt;</comment>
                            <comment id="76131" author="pjones" created="Mon, 3 Feb 2014 21:06:01 +0000"  >&lt;p&gt;Landed for 2.6&lt;/p&gt;</comment>
                            <comment id="77174" author="yujian" created="Mon, 17 Feb 2014 10:42:52 +0000"  >&lt;p&gt;Patch for Lustre b2_5 branch: &lt;a href=&quot;http://review.whamcloud.com/9288&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/9288&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="141042" author="standan" created="Wed, 3 Feb 2016 19:35:12 +0000"  >&lt;p&gt;Encountered same issue for tag 2.7.66 for FULL- EL7.1 Server/EL6.7 Client , master , build# 3314&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/84997ede-ca91-11e5-9609-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/84997ede-ca91-11e5-9609-5254006e85c2&lt;/a&gt;&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;Started lustre-MDT0000
stat: cannot read file system information for `/mnt/lustre&apos;: Input/output error
 replay-dual test_0a: @@@@@@ FAIL: test_0a failed with 1 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="141129" author="adilger" created="Thu, 4 Feb 2016 07:15:08 +0000"  >&lt;p&gt;Saurabh, please file a new bug and link it to this bug.  It may be related, or it may just have the same symptoms, but better not to re-open this old bug which was marked fixed for 2.6.0, as it makes tracking the fixes much more difficult.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="20317">LU-3742</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="22694">LU-4467</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="22695">LU-4468</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="26506">LU-5611</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="37845">LU-8333</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="34496">LU-7740</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|hzwckv:</customfieldvalue>

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