<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:19:00 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-8603] improve metadata-updates.sh with sub-tests</title>
                <link>https://jira.whamcloud.com/browse/LU-8603</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Currently, there are no sub-tests in metadata-updates.sh, which causes test failure logs are not gathered with proper names that can be imported by Maloo. Such as:&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/12cab8e0-2c5c-11e6-a0ce-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/12cab8e0-2c5c-11e6-a0ce-5254006e85c2&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We need improve metadata-updates.sh to wrap the tests with test_x().&lt;/p&gt;</description>
                <environment></environment>
        <key id="39755">LU-8603</key>
            <summary>improve metadata-updates.sh with sub-tests</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="standan">Saurabh Tandan</assignee>
                                    <reporter username="yujian">Jian Yu</reporter>
                        <labels>
                    </labels>
                <created>Mon, 12 Sep 2016 15:41:06 +0000</created>
                <updated>Wed, 19 Apr 2017 12:29:08 +0000</updated>
                            <resolved>Wed, 19 Apr 2017 12:29:08 +0000</resolved>
                                    <version>Lustre 2.9.0</version>
                                    <fixVersion>Lustre 2.10.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="165971" author="niu" created="Wed, 14 Sep 2016 02:13:24 +0000"  >&lt;p&gt;Debug marker needs be made at the begining of each test case (operation), that&apos;ll be helpful for reading the debug log. For example:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;do_change_timestamps () {
    echo &lt;span class=&quot;code-quote&quot;&gt;&quot;Changing atime, mtime ...&quot;&lt;/span&gt;

    do_nodes $NODES_TO_USE &quot; set $TRACE;
TESTFILE=$TESTDIR/\\\$(hostname)/$FILE;
touch -c --date=\\\&lt;span class=&quot;code-quote&quot;&gt;&quot;$NEW_ATIME\\\&quot;&lt;/span&gt; -a \\\$TESTFILE;
touch -c --date=\\\&lt;span class=&quot;code-quote&quot;&gt;&quot;$NEW_MTIME\\\&quot;&lt;/span&gt; -m \\\$TESTFILE &quot; || &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; ${PIPESTATUS[0]}
    &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; 0
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Besides this &quot;echo&quot;, a debug marker will be helpful. &lt;/p&gt;</comment>
                            <comment id="178591" author="gerrit" created="Tue, 20 Dec 2016 21:16:14 +0000"  >&lt;p&gt;James Nunez (james.a.nunez@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/24450&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/24450&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8603&quot; title=&quot;improve metadata-updates.sh with sub-tests&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8603&quot;&gt;&lt;del&gt;LU-8603&lt;/del&gt;&lt;/a&gt; test: Separate tests in metadata_updates&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: ec5d2a24c1cf9287e9884d240215bdd25d68a7f5&lt;/p&gt;</comment>
                            <comment id="178768" author="jamesanunez" created="Wed, 21 Dec 2016 22:30:58 +0000"  >&lt;p&gt;Niu - The patch to break up the subtest of metadata-updates is failing with &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;trevis-35vm1: /mnt/lustre/d0.metadata-updates/trevis-35vm1.trevis.hpdd.intel.com/testfile [ uid gid size mode ] expected : root root 0 0644 ;  got : root root 0 0222 
trevis-35vm1: Wrong file attributes
trevis-35vm2: /mnt/lustre/d0.metadata-updates/trevis-35vm1.trevis.hpdd.intel.com/testfile [ uid gid size mode ] expected : root root 0 0644 ;  got : root root 0 0222 
trevis-35vm2: Wrong file attributes
 metadata-updates test_3: @@@@@@ FAIL: wrong attributes after truncate 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Logs are at &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/21227fca-c7c7-11e6-9e78-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/21227fca-c7c7-11e6-9e78-5254006e85c2&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Previously, the call to get_stat to check the file attributes after truncate was not a fatal error, but a &quot;error_noexit&quot;. So, we never failed the test if the attributes were incorrect after truncate. &lt;/p&gt;

&lt;p&gt;Should we error out if the attributes are not correct or is there a reason to ignore the new attributes if they do not match what is expected?&lt;/p&gt;</comment>
                            <comment id="178812" author="niu" created="Thu, 22 Dec 2016 02:09:03 +0000"  >&lt;p&gt;The original script will update CURRENT_MODE (0644) to NEW_MODE (0222) in do_chmod() of 2nd test case, but looks it failed to update the value now when you moved them into sub tests.&lt;/p&gt;

&lt;p&gt;Another problem is that all test cases are depended each other,  none of them can be executed individually (except the first one), so it doesn&apos;t make much sense to separate them into sub-tests.&lt;/p&gt;

&lt;p&gt;Rather than moving them into separate sub-tests, I think probably just use debug marker (lctl mark ...) to make the test cases distinguishable in debug log is good enough? (and replace most &apos;echo&apos; with &apos;log&apos; to make sure the important messages saved in test log).&lt;/p&gt;</comment>
                            <comment id="192625" author="gerrit" created="Wed, 19 Apr 2017 04:46:07 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/24450/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/24450/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8603&quot; title=&quot;improve metadata-updates.sh with sub-tests&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8603&quot;&gt;&lt;del&gt;LU-8603&lt;/del&gt;&lt;/a&gt; test: Separate tests in metadata_updates&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: d5fbf74a2f4fbd796a4009bf8d10dcdeb029b44b&lt;/p&gt;</comment>
                            <comment id="192666" author="pjones" created="Wed, 19 Apr 2017 12:29:08 +0000"  >&lt;p&gt;Landed for 2.10&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="38460">LU-8446</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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|hzyo0n:</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>