<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:50:28 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-12195] sanity/43 and sanityn/14 fail on local setups</title>
                <link>https://jira.whamcloud.com/browse/LU-12195</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;this is because the test rely on binaries running/copied from lustre/tests (like multiop).&lt;br/&gt;
but they aren&apos;t binary anymore - they are libtool-based scripts.&lt;br/&gt;
I have to rollback the change to enable local testing:&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;
--- a/lustre/tests/Makefile.am
+++ b/lustre/tests/Makefile.am
@@ -1,6 +1,7 @@
 # Lustre test Makefile
 AM_CFLAGS := -fPIC -D_GNU_SOURCE \
             -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64
+AM_LDFLAGS := -no-install
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="55436">LU-12195</key>
            <summary>sanity/43 and sanityn/14 fail on local setups</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="simmonsja">James A Simmons</assignee>
                                    <reporter username="bzzz">Alex Zhuravlev</reporter>
                        <labels>
                    </labels>
                <created>Thu, 18 Apr 2019 15:25:55 +0000</created>
                <updated>Thu, 4 Jun 2020 05:19:28 +0000</updated>
                            <resolved>Tue, 30 Apr 2019 13:09:40 +0000</resolved>
                                                    <fixVersion>Lustre 2.13.0</fixVersion>
                    <fixVersion>Lustre 2.12.3</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="246061" author="adilger" created="Fri, 19 Apr 2019 00:38:37 +0000"  >&lt;p&gt;It seems like for sanity/43&lt;span class=&quot;error&quot;&gt;&amp;#91;ab&amp;#93;&lt;/span&gt; and sanityn/14&lt;span class=&quot;error&quot;&gt;&amp;#91;abcd&amp;#93;&lt;/span&gt; it would be possible to use &quot;&lt;tt&gt;sleep&lt;/tt&gt;&quot; instead of &quot;&lt;tt&gt;multiop&lt;/tt&gt;&quot; as the test program, so that we can ignore the libtool issues:&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;
        cp $(which sleep) $DIR/$tdir/sleep
        $DIR/$tdir/sleep 1000 &amp;lt; $TMP/$tfile.junk &amp;amp;
        PID=$!
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="246063" author="simmonsja" created="Fri, 19 Apr 2019 00:47:43 +0000"  >&lt;p&gt;I thought some things might be missed. The issue is that packaging was broken with rpath issues which prevented some vendors from creating their own rpms.. So we had to remove the no-install flag. I create a work around to running the test local with&#160;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11742&quot; title=&quot;ERROR: RPATH is not allowed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11742&quot;&gt;&lt;del&gt;LU-11742&lt;/del&gt;&lt;/a&gt;. Sadly this requirement to run test in the source tree makes things much more complicated compared to other projects.&lt;/p&gt;</comment>
                            <comment id="246066" author="bzzz" created="Fri, 19 Apr 2019 04:17:57 +0000"  >&lt;p&gt;what about adding no-install flag as an option with some configure option?&lt;br/&gt;
@Andreas, I&apos;m fine to change that to sleep, hopefully this is the only remaining issue with libtool wrapper.&lt;/p&gt;</comment>
                            <comment id="246074" author="bzzz" created="Fri, 19 Apr 2019 11:14:34 +0000"  >&lt;p&gt;sanityn/14* seem to be duplicate of sanity/43*. would you mind if I remove sanityn/14* tests?&lt;/p&gt;</comment>
                            <comment id="246075" author="gerrit" created="Fri, 19 Apr 2019 12:03:11 +0000"  >&lt;p&gt;Alex Zhuravlev (bzzz@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/34721&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/34721&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12195&quot; title=&quot;sanity/43 and sanityn/14 fail on local setups&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12195&quot;&gt;&lt;del&gt;LU-12195&lt;/del&gt;&lt;/a&gt; tests: use sleep instead of wrapped multiop&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 82c898be49c73d983e910a2e184d5d0f5c8d6222&lt;/p&gt;</comment>
                            <comment id="246096" author="adilger" created="Fri, 19 Apr 2019 18:05:16 +0000"  >&lt;p&gt;Sanity is usually for testing cross-client operations, and as you probably saw, it is checking if the binary can be removed or truncated from a second mountpoint.&#160;&lt;/p&gt;</comment>
                            <comment id="246290" author="bzzz" created="Wed, 24 Apr 2019 14:14:57 +0000"  >&lt;p&gt;sanity: FAIL: test_118c Multiop failed to block on fsync, pid=9583&lt;br/&gt;
sanity: FAIL: test_118d Multiop failed to block on fsync, pid=9876&lt;/p&gt;

&lt;p&gt;for the same reason..&lt;/p&gt;

&lt;p&gt;and I grepped sanity:&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;&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;$ grep &apos;MULTIOP.*&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;amp;&amp;#93;&lt;/span&gt;&apos; lustre/tests/sanity.sh|wc -l&lt;br/&gt;
23&lt;br/&gt;
{code]&lt;/p&gt;

&lt;p&gt;still wondering would it make sense to disable wrapping with some configure option?&lt;/p&gt;</comment>
                            <comment id="246299" author="simmonsja" created="Wed, 24 Apr 2019 15:42:26 +0000"  >&lt;p&gt;The point of the libtool wrappers around the applications is to work with installed and uninstalled libraries. So when the rpm is installed running libtool with the application will see its a properly installed binary and look in the normal paths for the applications libraries. If working in the sandbox lustre/test/* then the libtool wrapper will properly select the uninstalled libraries in lustre/test/*/.lib. This is nice in that this ensures that if you do test out of sand box that the sandbox version of library is used instead of the installed one. Yes I have used this trick to debug. The trade off is that your working with the wrapper and not the binary directly so running things like pkill on the wrapper will not work.&lt;/p&gt;

&lt;p&gt;Normally projects that want do a sand box mode do a make DESTDIR which creates a kind of chroot environment to work in. Sadly this is not the case for Lustre which just wants to work directly in the source tree. So it makes it much more difficult to make this transparent. The source tree layout doesn&apos;t match the DESTDIR tree layout. The other option often done for sandbox mode is running ./configure --prefix=/path/to/sandbox and doing a make install. The issue still ends up being where do the binaries and libraries go. Again the source tree also doesn&apos;t match the final tree structure. The test framework would have to be reworked to setup the library paths and run ldconfig. Its also a change that the developer has to be aware of. Also we have to be careful with library collisions since a properly installed version could be installed as well. Without using the libtool wrapper that is not guaranteed the proper library would be used.&lt;/p&gt;

&lt;p&gt;The last item is when wanting to run in sandbox mode is to run ./configure --disable-shared. This avoids the whole where are the libraries and applications problem. Now the issue is the libtool wrapper still exist so doing a song and dance would be required to make it work. Requiring using the --disable-shared is of course not so transparent to the developer so you have to ask do you want to go down that road. Perhaps in that case we make disabled-shared enabled by default and then in the rpm part pass in enable-shared to configure. Then of course what do we do when enable-shared is done in sand box which would break things. The challenge again is making the test suite work with both proper installed test suite and in sandbox transparently.&lt;/p&gt;

&lt;p&gt;As you can see their is no easy solution so I picked the lesser of all evils. Using libtool execute mode. Just throwing things out their to think about what the options entail.&lt;/p&gt;</comment>
                            <comment id="246304" author="bzzz" created="Wed, 24 Apr 2019 16:46:59 +0000"  >&lt;p&gt;I&apos;m fine with --disable-shared as 1) configure is not very frequent procedure 2) I almost never type arguments for configure using command history instead.&lt;br/&gt;
for me the issue is that I can not run sanity anymore. yes, I can disable few dozen tests, but I don&apos;t think this is a good idea.&lt;/p&gt;
</comment>
                            <comment id="246325" author="bzzz" created="Wed, 24 Apr 2019 19:16:35 +0000"  >&lt;p&gt;--disable-shared (after make clean) did the trick and I got binaries back.&lt;/p&gt;</comment>
                            <comment id="246366" author="simmonsja" created="Thu, 25 Apr 2019 18:22:20 +0000"  >&lt;p&gt;Alright. I will look into making this the default when not building rpms.&lt;/p&gt;</comment>
                            <comment id="246367" author="bzzz" created="Thu, 25 Apr 2019 18:25:19 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=simmonsja&quot; class=&quot;user-hover&quot; rel=&quot;simmonsja&quot;&gt;simmonsja&lt;/a&gt; thanks in advance, but to be clear - --disable-shared worked for me and this is pretty much enough, I have no problem adding this option to configure args. not that I&apos;m against making this default, but I guess you&apos;ve got more interesting problems &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;/p&gt;</comment>
                            <comment id="246499" author="gerrit" created="Tue, 30 Apr 2019 03:38:18 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/34721/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/34721/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12195&quot; title=&quot;sanity/43 and sanityn/14 fail on local setups&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12195&quot;&gt;&lt;del&gt;LU-12195&lt;/del&gt;&lt;/a&gt; tests: use sleep instead of wrapped multiop&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 9a1f327a76f72c7713e53d8b354ff7f0e32be870&lt;/p&gt;</comment>
                            <comment id="246530" author="pjones" created="Tue, 30 Apr 2019 13:09:40 +0000"  >&lt;p&gt;Landed for 2.13&lt;/p&gt;</comment>
                            <comment id="247721" author="gerrit" created="Sat, 25 May 2019 14:49:09 +0000"  >&lt;p&gt;James Simmons (uja.ornl@yahoo.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/34955&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/34955&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12195&quot; title=&quot;sanity/43 and sanityn/14 fail on local setups&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12195&quot;&gt;&lt;del&gt;LU-12195&lt;/del&gt;&lt;/a&gt; tests: use sleep instead of wrapped multiop&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 2a1cdc610fc3146b9cc96f6b8bc1826d36d6d764&lt;/p&gt;</comment>
                            <comment id="250280" author="gerrit" created="Fri, 28 Jun 2019 16:34:04 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/34955/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/34955/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12195&quot; title=&quot;sanity/43 and sanityn/14 fail on local setups&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12195&quot;&gt;&lt;del&gt;LU-12195&lt;/del&gt;&lt;/a&gt; tests: use sleep instead of wrapped multiop&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 493ce6e49de3a9de82d5fe9fc8d7b5d9a78c68c2&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="55372">LU-12170</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="54224">LU-11742</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="55554">LU-12261</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|i00f13:</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>