<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:23:15 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-9102] Header files are missing from EL7 which needed by the posix test suite</title>
                <link>https://jira.whamcloud.com/browse/LU-9102</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This is a related issue with &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6707&quot; title=&quot;EL7 client cannot find loop device for posix test&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6707&quot;&gt;&lt;del&gt;LU-6707&lt;/del&gt;&lt;/a&gt;, in that ticket, we are going to only resolve the loop device problem. This ticket is for tracking the missing header files of EL7 which needed by our POSIX test suite.&lt;/p&gt;

&lt;p&gt;related comments from the patch &lt;a href=&quot;https://review.whamcloud.com/#/c/15130/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/15130/&lt;/a&gt;&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;The patch fixes the loop device issue, but posix test hit another issue on RHEL 7 node:

userintf.c:592:25: fatal error: sys/stropts.h: No such file or directory

Could you please update the prep() function in lustre/tests/posix/posix.cfg to make it find those header files on RHEL 7 node
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&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;Using mpss as header is definitely not the way to go because mpss might not be built in the future. The fact that this header doesn&apos;t exist in latest distro because it&apos;s outdated. posix test is very old and should be looked at and modify if it&apos;s not actively supported
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&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;The LSB-VSX POSIX test suite in http://www.opengroup.org/testing/linux-test/lsb-vsx.html has not been updated since 2004. If we still use this test suite, we have to modify the codes to remove the using of stropts.h and xtitypes.h. Or we have to evaluate other POSIX test suite.

It looks like both of the above two ways will not work in a short time. So, this patch is just a workaround to make posix test suite work on RHEL 7.1 disro right away.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&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;Are stropts.h and xtitypes.h headers that are actually needed, or are they obsolete?  It might be possible to either provide empty headers just to make the code compile (if they don&apos;t provide anything useful for a modern system), or just extract the headers from some old system (hopefully GPL?) and include them directly with the POSIX sources, instead of this hack to install MPSS.

I see from https://bugzilla.redhat.com/show_bug.cgi?id=656245 that this has been removed for RHEL 6 also, so it looks like they are obsolete and empty stubs could be used?  According to http://sourceforge.net/p/watchdog/bugs/11/ the &quot;#include &amp;lt;stropts.h&amp;gt;&quot; should be changed to &quot;#include &amp;lt;sys/ioctl.h&amp;gt;&quot;.

It looks like the right answer is to install the &quot;compat-glibc-headers&quot; package and get these headers from there.
Line 134:

(style) tabs for indentation

Is there a reason why we rebuild the POSIX test suite for every test run?  I could imagine there is some benefit if this was being built from within Lustre (even if it might take a while longer) so that we are testing the filesystem code, but otherwise it just seems better to build a .rpm file once for each distro and then install that on the test nodes as needed.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="43706">LU-9102</key>
            <summary>Header files are missing from EL7 which needed by the posix test suite</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</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="sarah">Sarah Liu</assignee>
                                    <reporter username="sarah">Sarah Liu</reporter>
                        <labels>
                    </labels>
                <created>Fri, 10 Feb 2017 00:15:06 +0000</created>
                <updated>Thu, 23 Mar 2017 05:12:52 +0000</updated>
                            <resolved>Thu, 23 Mar 2017 04:02:38 +0000</resolved>
                                    <version>Lustre 2.10.0</version>
                                    <fixVersion>Lustre 2.10.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="185989" author="gerrit" created="Thu, 23 Feb 2017 17:11:36 +0000"  >&lt;p&gt;Wei Liu (wei3.liu@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/25606&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/25606&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9102&quot; title=&quot;Header files are missing from EL7 which needed by the posix test suite&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9102&quot;&gt;&lt;del&gt;LU-9102&lt;/del&gt;&lt;/a&gt; test: Include specific headers needed by Posix suite&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 4b51b1dda28b7125726b4d63516c1368d6493261&lt;/p&gt;</comment>
                            <comment id="187388" author="mdiep" created="Tue, 7 Mar 2017 21:03:52 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=sarah&quot; class=&quot;user-hover&quot; rel=&quot;sarah&quot;&gt;sarah&lt;/a&gt; could you show me a report that posix failing because missing header file?&lt;/p&gt;</comment>
                            <comment id="187396" author="sarah" created="Tue, 7 Mar 2017 22:14:02 +0000"  >&lt;p&gt;Minh, please refer to the patch of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6707&quot; title=&quot;EL7 client cannot find loop device for posix test&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6707&quot;&gt;&lt;del&gt;LU-6707&lt;/del&gt;&lt;/a&gt;: &lt;a href=&quot;https://review.whamcloud.com/#/c/15130/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/15130/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;comment made by YuJian on June 12/2015 for patch set 1&lt;br/&gt;
She provided a hack by installing another rpm which contains the missing headers but you thought it was too risky. &lt;/p&gt;</comment>
                            <comment id="189355" author="gerrit" created="Thu, 23 Mar 2017 01:47:58 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/25606/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/25606/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9102&quot; title=&quot;Header files are missing from EL7 which needed by the posix test suite&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9102&quot;&gt;&lt;del&gt;LU-9102&lt;/del&gt;&lt;/a&gt; test: Include specific headers needed by Posix suite&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: db8699e0c9401e27f9c6018163674c7c3a0c7273&lt;/p&gt;</comment>
                            <comment id="189372" author="pjones" created="Thu, 23 Mar 2017 04:02:38 +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="28486">LU-6707</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|hzz3ef:</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>