<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:47:12 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-11819] Combine common test script code into library and add ability to skip tests in tests/*.c</title>
                <link>https://jira.whamcloud.com/browse/LU-11819</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;There are several Lustre test scripts that run tests from an external program. These executables are themselves composed of several test routines. The test suites and test numbers that call these programs are:&lt;br/&gt;
sanity test_27D runs tests from llapi_layout_test.c&lt;br/&gt;
sanity test_154g runs tests from llapi_fid_test.c&lt;br/&gt;
sanity test_243 runs tests from group_lock_test.c&lt;br/&gt;
sanity test_244 runs tests from sendfile_grouplock.c&lt;br/&gt;
sanity test_255c runs tests from lockahead_test.c&lt;br/&gt;
sanity test_405 runs tests from swap_lock_test.c&lt;br/&gt;
sanity-hsm test_500 runs tests from llapi_hsm_test.c&lt;br/&gt;
sanityn test 18 runs tests from mmap_sanity.c&lt;/p&gt;

&lt;p&gt;These external routines will sometimes fail in known situations. For example, sanity test 405 subtest 16 fails when a client mounts a Lustre file system subdirectory; see &lt;a href=&quot;https://testing.whamcloud.com/test_sets/37edc450-e915-11e8-b67f-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/37edc450-e915-11e8-b67f-52540065bddc&lt;/a&gt; . In these situations, we&#8217;d like to skip the test during testing instead of it failing. &lt;/p&gt;

&lt;p&gt;llapi_layout_test.c and mmap_sanity.c have the ability to skip tests. All others do not have the ability to skip tests. &lt;/p&gt;

&lt;p&gt;We should pull out all the common routines, structures, etc. from each of these test (.c) programs and create a library that they can link to. If we pull out the skip ability from llapi_layout_test.c and mmap_sanity.c, then we can implement this in all the other programs.&lt;/p&gt;

&lt;p&gt;This work will cut down on code duplication and add more flexibility to our testing. &lt;/p&gt;</description>
                <environment></environment>
        <key id="54370">LU-11819</key>
            <summary>Combine common test script code into library and add ability to skip tests in tests/*.c</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="jamesanunez">James Nunez</reporter>
                        <labels>
                            <label>test_script_improvements</label>
                            <label>tests</label>
                    </labels>
                <created>Thu, 20 Dec 2018 21:25:58 +0000</created>
                <updated>Tue, 19 Apr 2022 16:15:37 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="240896" author="gerrit" created="Tue, 29 Jan 2019 21:19:41 +0000"  >&lt;p&gt;James Nunez (jnunez@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/34133&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/34133&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11819&quot; title=&quot;Combine common test script code into library and add ability to skip tests in tests/*.c&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11819&quot;&gt;LU-11819&lt;/a&gt; tests: combine similar functionality in lib&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 94a0de78aa9aea1fafc070a335ee54185e738c9f&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|i008hz:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>