<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:16:22 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-1409] The lustre-tests package needs more extensive dependencies</title>
                <link>https://jira.whamcloud.com/browse/LU-1409</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;If you load up the lustre-tests RPM, you would reasonably expect it&lt;br/&gt;
to pull in any additional commands and libraries needed.  Nope.&lt;br/&gt;
After some toe stubbing and a little thinking, a few dependencies&lt;br/&gt;
are obvious candidates:&lt;br/&gt;
  attr, acl, e2fsprogs, perl and pdsh&lt;br/&gt;
A patch to do this will be posted as a review request &quot;shortly&quot;.&lt;/p&gt;</description>
                <environment>UNIX</environment>
        <key id="14445">LU-1409</key>
            <summary>The lustre-tests package needs more extensive dependencies</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="cliffw">Cliff White</assignee>
                                    <reporter username="bkorb">Bruce Korb</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Tue, 15 May 2012 17:02:39 +0000</created>
                <updated>Fri, 19 Sep 2014 15:14:59 +0000</updated>
                            <resolved>Fri, 19 Sep 2014 15:14:59 +0000</resolved>
                                    <version>Lustre 2.5.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="38864" author="adilger" created="Tue, 15 May 2012 17:57:06 +0000"  >&lt;p&gt;The lustre-tests RPM is intended to be installed on the client, and is intended to be able to install on as many different systems as possible.&lt;/p&gt;

&lt;p&gt;It shouldn&apos;t necessarily require ldiskfsprogs, since this is only needed on the server.  If there are specific tests that require e2fsprogs commands, they should typically be using &quot;do_facet&quot; or similar to run on the server.  Hmm, I guess sanity.sh test_37* does use a small loopback filesystems for testing block device and loopback files, but I wonder if these should use &quot;skip_env&quot; if mke2fs is not installed?&lt;/p&gt;

&lt;p&gt;Similarly, pdsh is optional since it is possible to configure $PDSH to point to other tools that can do remote operations (such as SSH).  It is also possible to run &quot;client only&quot; tests that do not have any remote access, and many subtests are skipped if remote server access is not possible (either because of no pdsh, or because the tester does not want to allow access to the server without a password).  That said, I don&apos;t think tests are run in this more on a regular basis.&lt;/p&gt;

&lt;p&gt;Perl usage was removed from master (in 2.2 commit 26bb579a) for the one test that I&apos;m aware of that used it directly (sanityn.sh test_3), and I&apos;m not aware of other tests that currently depend on it.  There are a few scripts that do use perl (e.g. checkstack.pl, rename.pl, leak_finder.pl), but they do not run as part of any normal test.  Since perl is pretty much ubiquitous, I don&apos;t think this is critical either way.&lt;/p&gt;

&lt;p&gt;There is a check in test_102a() for setfattr that avoids running tests that depend on them if they are not installed.  It looks like this check is missing from some of the other test_102* subtests.  Similarly, test_103() checks for getfacl before running the ACL tests.&lt;/p&gt;

&lt;p&gt;In general, I agree that we want to make the tests as easy to install and run as possible, but I also want to avoid dragging in too many dependencies that may make it harder to install the RPM and run the tests in the first place.&lt;/p&gt;</comment>
                            <comment id="38866" author="bkorb" created="Tue, 15 May 2012 18:10:32 +0000"  >&lt;p&gt;&quot;Pick your favorite poison.&quot;&lt;/p&gt;

&lt;p&gt;Perhaps jigger something to trap on &quot;command not found&quot; errors?&lt;br/&gt;
Our testing guys were sufficiently frustrated that the bug report&lt;br/&gt;
that landed on my desk was marked, &quot;blocker&quot;.  Perhaps an exaggeration &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;.&lt;br/&gt;
The automake way is to wrap all dubious tools inside a script wrapper&lt;br/&gt;
named &quot;missing&quot;.  If the &quot;missing&quot; script finds the tool, it exec-s it.&lt;br/&gt;
Something similar?  Surely not today though.  Maybe part of the testing&lt;br/&gt;
rework.&lt;/p&gt;

&lt;p&gt;Meanwhile, folks here thought it really, really important to add these&lt;br/&gt;
dependencies to the lustre-tests rpm.  And we (you and I) agree that&lt;br/&gt;
there are trade-offs.  Can we (Whamcloud and Xyratex) agree on where&lt;br/&gt;
to draw the line?  &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;  Cheers - Bruce&lt;/p&gt;</comment>
                            <comment id="38951" author="bkorb" created="Wed, 16 May 2012 16:33:05 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/2818&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/2818&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="39139" author="simmonsja" created="Mon, 21 May 2012 14:38:57 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1199&quot; title=&quot;lustre build system overhaul&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1199&quot;&gt;&lt;del&gt;LU-1199&lt;/del&gt;&lt;/a&gt; is also looking at fixing up the spec file.&lt;/p&gt;</comment>
                            <comment id="39141" author="bkorb" created="Mon, 21 May 2012 14:47:52 +0000"  >&lt;p&gt;It is currently on hold and the residue of this patch should have no effect on that project anyway.&lt;br/&gt;
Actually, that project does not explicitly state that comprehensibility is a goal.  Comprehensibility&lt;br/&gt;
is as important in a spec file as it is in a source file, so it needs to be a goal.&lt;/p&gt;</comment>
                            <comment id="45949" author="keith" created="Wed, 3 Oct 2012 14:40:01 +0000"  >&lt;p&gt;Bruce is there a follow up to the first patch?  Any new patch should be based on Master. &lt;/p&gt;</comment>
                            <comment id="48232" author="nrutman" created="Wed, 21 Nov 2012 17:47:20 +0000"  >&lt;p&gt;Xyratex-bug-id: &lt;a href=&quot;http://jira-nss.xy01.xyratex.com:8080/browse/MRP-488&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;MRP-488&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="49994" author="keith" created="Fri, 4 Jan 2013 21:54:14 +0000"  >&lt;p&gt;Without an update I will close this LU at the end of the month. &lt;/p&gt;</comment>
                            <comment id="58957" author="keith" created="Tue, 21 May 2013 05:55:10 +0000"  >&lt;p&gt;Please reopen if you decide to peruse this in the future. &lt;/p&gt;</comment>
                            <comment id="60574" author="pjones" created="Thu, 13 Jun 2013 17:17:26 +0000"  >&lt;p&gt;I notice that &lt;a href=&quot;http://review.whamcloud.com/#change,2851&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#change,2851&lt;/a&gt; was pushed into gerrit. Is this directly related to this original ticket or would it be more appropriate to track this under a new ticket?&lt;/p&gt;</comment>
                            <comment id="60582" author="bkorb" created="Thu, 13 Jun 2013 18:36:52 +0000"  >&lt;p&gt;That change was strictly cleanup.  Shell scripting going past column 168 gets me cross-eyed.&lt;/p&gt;

&lt;p&gt;Our testing folks are not still complaining, so I&apos;m not being prodded to push another patch.&lt;br/&gt;
Stillandall, it is inconvenient for a tester to run a test and wind up seeing some obscure&lt;br/&gt;
failure instead of a clear message:  you have not installed the &quot;foo&quot; package, so you&lt;br/&gt;
cannot run this test.  A good model for handling the issue is the &quot;missing&quot; wrapper script.&lt;br/&gt;
Either that, or put in appropriate dependencies so that testing packages pull in what&apos;s needed.&lt;/p&gt;</comment>
                            <comment id="60700" author="keith" created="Fri, 14 Jun 2013 18:58:40 +0000"  >&lt;p&gt;There is a new patch. &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|hzvrgn:</customfieldvalue>

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