<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:05:53 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-7088] Tests sanityn/1b,1c,1d cannot be executed separatelly</title>
                <link>https://jira.whamcloud.com/browse/LU-7088</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Tests sanityn/1b,1c,1d depends to sanityn/1a and cannot be executed separately via set ONLY parameter.&lt;br/&gt;
Here is excerpts from sanityn.sh:&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;test_1a() {
	touch $DIR1/f1
	[ -f $DIR2/f1 ] || error
}
run_test 1a &quot;check create on 2 mtpt&apos;s ==========================&quot;

test_1b() {
	chmod 777 $DIR2/f1
	$CHECKSTAT -t file -p 0777 $DIR1/f1 || error
	chmod a-x $DIR2/f1
}
run_test 1b &quot;check attribute updates on 2 mtpt&apos;s ===============&quot;

test_1c() {
	$CHECKSTAT -t file -p 0666 $DIR1/f1 || error
}
run_test 1c &quot;check after remount attribute updates on 2 mtpt&apos;s =&quot;

test_1d() {
	rm $DIR2/f1
	$CHECKSTAT -a $DIR1/f1 || error
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;To make these test run without failures we can join each next test with each previous ones, or join all of them into single one.&lt;/p&gt;</description>
                <environment></environment>
        <key id="31857">LU-7088</key>
            <summary>Tests sanityn/1b,1c,1d cannot be executed separatelly</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="wc-triage">WC Triage</assignee>
                                    <reporter username="aditya.pandit@seagate.com">Aditya Pandit</reporter>
                        <labels>
                    </labels>
                <created>Wed, 2 Sep 2015 10:44:40 +0000</created>
                <updated>Sat, 3 Jun 2017 04:32:48 +0000</updated>
                            <resolved>Sat, 3 Jun 2017 04:32:48 +0000</resolved>
                                                    <fixVersion>Lustre 2.10.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="126001" author="aditya.pandit@seagate.com" created="Wed, 2 Sep 2015 10:46:34 +0000"  >&lt;p&gt;This can be changed to:&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;@@ -75,29 +75,32 @@ build_test_filter
 mkdir -p $MOUNT2
 mount_client $MOUNT2

-test_1a() {
-       touch $DIR1/f1
-       [ -f $DIR2/f1 ] || error
-}
-run_test 1a &quot;check create on 2 mtpt&apos;s ==========================&quot;
-
-test_1b() {
-       chmod 777 $DIR2/f1
-       $CHECKSTAT -t file -p 0777 $DIR1/f1 || error
-       chmod a-x $DIR2/f1
-}
-run_test 1b &quot;check attribute updates on 2 mtpt&apos;s ===============&quot;
-
-test_1c() {
-       $CHECKSTAT -t file -p 0666 $DIR1/f1 || error
-}
-run_test 1c &quot;check after remount attribute updates on 2 mtpt&apos;s =&quot;
-
-test_1d() {
-       rm $DIR2/f1
-       $CHECKSTAT -a $DIR1/f1 || error
-}
-run_test 1d &quot;unlink on one mountpoint removes file on other ====&quot;
+test_1() {
+       touch $DIR1/$tfile
+       [ -f $DIR2/$tfile ] || {
+               error_noexit &quot;Check create&quot;
+               return
+       }
+
+       chmod 777 $DIR2/$tfile
+       $CHECKSTAT -t file -p 0777 $DIR1/$tfile || {
+               error_noexit &quot;Check attribute update&quot;
+               return
+       }
+
+       chmod a-x $DIR2/$tfile
+       $CHECKSTAT -t file -p 0666 $DIR1/$tfile || {
+               error_noexit &quot;Check attribute update after remount&quot;
+               return
+       }
+
+       rm $DIR2/$tfile
+       $CHECKSTAT -a $DIR1/$tfile || {
+               error_noexit &quot;Unlink on one mountpoint removes file on other&quot;
+               return
+       }
+}
+run_test 1 &quot;Check attribute updates on 2 mtpt&apos;s&quot;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="126091" author="adilger" created="Wed, 2 Sep 2015 19:03:52 +0000"  >&lt;p&gt;It is better to just submit a patch to Gerrit, which will automatically be linked to this ticket and can then begin testing and review.&lt;/p&gt;</comment>
                            <comment id="126092" author="adilger" created="Wed, 2 Sep 2015 19:07:46 +0000"  >&lt;p&gt;Note that the &quot;update after remount&quot; comment is incorrect in this case, since we can no longer remount the filesystem between the subtests.  It should just be &quot;... after chmod&quot;.  You may as well also replace &quot;2 mtpt&apos;s&quot; with &quot;two mount points&quot; for clarity.&lt;/p&gt;</comment>
                            <comment id="126224" author="gerrit" created="Thu, 3 Sep 2015 18:16:12 +0000"  >&lt;p&gt;aditya.pandit (aditya.pandit@seagate.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/16226&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/16226&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7088&quot; title=&quot;Tests sanityn/1b,1c,1d cannot be executed separatelly&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7088&quot;&gt;&lt;del&gt;LU-7088&lt;/del&gt;&lt;/a&gt; tests: sanityn/1b,1c,1d cannot execute separately&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: f443453d9e8b54902b3b15c91cec03a8c43d1ffb&lt;/p&gt;</comment>
                            <comment id="198013" author="gerrit" created="Sat, 3 Jun 2017 03:57:43 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/16226/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/16226/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7088&quot; title=&quot;Tests sanityn/1b,1c,1d cannot be executed separatelly&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7088&quot;&gt;&lt;del&gt;LU-7088&lt;/del&gt;&lt;/a&gt; tests: merge sanityn test_1&lt;span class=&quot;error&quot;&gt;&amp;#91;a-d&amp;#93;&lt;/span&gt; into test_1&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 096a509b30314b778b51b97736ba44bee79af48c&lt;/p&gt;</comment>
                            <comment id="198044" author="pjones" created="Sat, 3 Jun 2017 04:32:48 +0000"  >&lt;p&gt;Landed for 2.10&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|hzxm3r:</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>